/* PEDY HUB v1.0.70 — high-impact operations visual layer */
:root{--v170-cyan:#23f0d2;--v170-blue:#47b9ff;--v170-violet:#aa8cff;--v170-amber:#ffb64c;--v170-red:#ff6d65;--v170-navy:#061322}

@media(min-width:821px){
  .command-shell,.shell{grid-template-columns:248px minmax(0,1fr)}
  .command-shell>aside,.shell>aside{width:248px;padding:24px 15px 18px}
}

/* Large module emblems */
.shell>aside nav>a,.shell>aside .nav-section>a,.command-shell nav>a,.command-shell .more-nav summary{min-height:46px;gap:11px;padding:8px 10px;font-size:12px}
.shell>aside nav a>i,.command-shell nav a>i,.command-shell .more-nav summary i{width:30px!important;height:30px;flex:0 0 30px!important;display:grid;place-items:center;border:1px solid #1d4257;border-radius:7px;background:linear-gradient(145deg,#102b3e,#091929);color:#7f9caf;box-shadow:inset 0 1px rgba(255,255,255,.035),0 4px 10px rgba(0,0,0,.14)}
.shell>aside nav a>i .pedy-glyph,.command-shell nav a>i .pedy-glyph,.command-shell .more-nav summary i .pedy-glyph{width:18px;height:18px}
.shell>aside nav a.active>i,.command-shell nav>a.active>i{border-color:#287a77;background:linear-gradient(145deg,#124a4b,#0a252f);color:var(--v170-cyan);box-shadow:inset 0 0 14px rgba(35,240,210,.11),0 0 14px rgba(35,240,210,.09)}
.shell>aside nav a.active>i .icon-ghost,.command-shell nav>a.active>i .icon-ghost{opacity:.27}
.command-shell .more-nav>div{padding-left:16px}.command-shell .more-nav>div>a{min-height:39px!important;font-size:10px}.command-shell .more-nav>div>a>i{width:26px!important;height:26px!important;flex-basis:26px!important}
.brand-core,.hub-brand-core{width:46px!important;height:46px!important;border-radius:10px!important;font-size:24px!important;box-shadow:inset 0 0 24px rgba(35,240,210,.11),0 0 27px rgba(35,240,210,.14)!important}
.brand strong,.shell>aside .brand strong{font-size:13px}.brand small,.shell>aside .brand small{font-size:8px}

/* Command screen scale */
.command-shell main{padding:0 36px 42px}.command-shell .topbar{height:72px;margin:0 -36px;padding:0 36px}.command-shell .search-wrap{width:min(590px,48vw);height:42px;padding:0 14px}.command-shell .search-wrap input{font-size:12px}.command-shell .icon-button{width:42px;height:42px}.command-shell .identity>span{width:38px;height:38px;font-size:10px}.command-shell .identity b{font-size:12px}.command-shell .identity small{font-size:8px}
.command-hero{min-height:222px;grid-template-columns:minmax(320px,1fr) 154px auto;gap:34px;margin:27px 0 14px;padding:31px 30px;border-radius:11px;background:radial-gradient(circle at 58% 54%,rgba(35,240,210,.11),transparent 17rem),linear-gradient(112deg,#061424,#0a2940 59%,#07424a);box-shadow:0 18px 38px rgba(5,21,36,.22)}
.command-hero:before{opacity:.32;background-size:36px 36px}.hero-copy>span{font-size:9px}.command-hero h1{margin:12px 0 6px;font-size:34px}.command-hero p{font-size:13px}.command-clock{right:28px;top:20px}.command-clock small{font-size:7px}.command-clock b{font-size:21px}.command-clock span{font-size:8px}
.command-radar{position:relative;z-index:2;width:142px;height:142px;display:grid;place-items:center;border:1px solid rgba(35,240,210,.25);border-radius:50%;background:radial-gradient(circle,rgba(35,240,210,.13) 0 4%,transparent 5% 22%,rgba(35,240,210,.11) 23% 24%,transparent 25% 47%,rgba(35,240,210,.11) 48% 49%,transparent 50%),conic-gradient(from 210deg,transparent 0 68%,rgba(35,240,210,.18) 75%,transparent 82%);box-shadow:inset 0 0 30px rgba(35,240,210,.05),0 0 26px rgba(35,240,210,.08)}
.command-radar:before,.command-radar:after{content:"";position:absolute;background:rgba(35,240,210,.18)}.command-radar:before{left:8px;right:8px;height:1px}.command-radar:after{top:8px;bottom:8px;width:1px}.radar-sweep{position:absolute;inset:10px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 78%,rgba(35,240,210,.28) 94%,transparent 100%);animation:radar-sweep 7s linear infinite}.radar-core{position:relative;z-index:2;width:62px;height:62px;display:grid;place-items:center;border:1px solid rgba(35,240,210,.5);border-radius:50%;background:#092738;color:var(--v170-cyan);box-shadow:0 0 22px rgba(35,240,210,.18)}.radar-core .ui-icon{width:31px;height:31px}.radar-label{position:absolute;bottom:13px;color:#76a4ae;font-size:6px;font-weight:800;letter-spacing:.18em}.radar-node{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--v170-cyan);box-shadow:0 0 9px var(--v170-cyan)}.radar-node.one{left:28px;top:39px}.radar-node.two{right:21px;bottom:44px}.radar-node.three{right:34px;top:27px;background:var(--v170-blue);box-shadow:0 0 9px var(--v170-blue)}
@keyframes radar-sweep{to{transform:rotate(360deg)}}
.quick-actions{grid-template-columns:repeat(3,145px);gap:9px;margin-top:34px}.quick-actions a{min-height:82px;grid-template-columns:44px 1fr;gap:11px;padding:12px;border-radius:8px;background:linear-gradient(145deg,rgba(17,48,66,.94),rgba(7,27,42,.9));box-shadow:inset 0 1px rgba(255,255,255,.04)}.quick-actions a>i{width:42px;height:42px!important;border:1px solid rgba(35,240,210,.32);border-radius:9px;background:linear-gradient(145deg,rgba(35,240,210,.15),rgba(35,240,210,.035));box-shadow:inset 0 0 17px rgba(35,240,210,.08)}.quick-actions a>i .ui-icon{width:25px;height:25px}.quick-actions a span{font-size:12px}.quick-actions a small{font-size:7px}.quick-actions a.primary>i{border-color:rgba(255,109,101,.42);background:linear-gradient(145deg,rgba(255,109,101,.17),rgba(255,109,101,.035))}

/* Hierarchy and operational board */
.portfolio-rail{min-height:58px;padding:9px 17px;gap:17px;border-radius:7px}.portfolio-rail small{font-size:7px}.portfolio-rail b{font-size:19px}.portfolio-rail>strong,.portfolio-rail>a{font-size:8px}
.live-board{margin-bottom:13px;border-radius:10px}.live-board>header{min-height:68px;padding:13px 19px}.live-board>header span{font-size:7px}.live-board>header h2{font-size:16px}.live-board>header p{font-size:9px}.ops-sector{min-height:168px;padding:18px;background:linear-gradient(145deg,#0c2033,#081827)}.ops-sector:hover{background:linear-gradient(145deg,#12344a,#0a1f30)}.sector-head{grid-template-columns:50px minmax(0,1fr);gap:13px}.sector-head>span{position:relative;width:48px;height:48px;border-radius:50%;border:1px solid color-mix(in srgb,var(--sector) 55%,#27465a);background:radial-gradient(circle,color-mix(in srgb,var(--sector) 20%,#0b1c2e),#091a2b 67%);box-shadow:inset 0 0 18px color-mix(in srgb,var(--sector) 9%,transparent),0 0 15px color-mix(in srgb,var(--sector) 8%,transparent)}.sector-head>span:before{content:"";position:absolute;inset:-5px;border:1px dashed color-mix(in srgb,var(--sector) 35%,transparent);border-radius:50%;opacity:.55}.sector-head>span .ui-icon{width:24px;height:24px}.sector-head small{font-size:7px}.sector-head b{font-size:30px}.sector-head em{grid-column:2;margin-top:4px;font-size:8px}.sector-feed{margin-top:15px}.sector-feed>span{padding:9px 0}.sector-feed b{font-size:9px}.sector-feed small{font-size:8px}

/* Graphic control cards */
.pulse-grid{gap:11px;margin-bottom:14px}.pulse-grid a{min-height:116px;grid-template-columns:55px minmax(0,1fr) 58px;gap:14px;padding:16px 17px;border-radius:9px;background:linear-gradient(135deg,#fff,#f4f8fa);box-shadow:0 6px 16px rgba(10,32,51,.06)}.metric-icon{position:relative;width:54px;height:54px;border-width:1px;border-radius:13px;background:radial-gradient(circle at 35% 28%,#fff,color-mix(in srgb,var(--accent) 15%,#eef4f7));box-shadow:inset 0 0 18px color-mix(in srgb,var(--accent) 9%,transparent),0 7px 16px color-mix(in srgb,var(--accent) 10%,transparent)}.metric-icon:after{content:"";position:absolute;inset:5px;border:1px dashed color-mix(in srgb,var(--accent) 32%,transparent);border-radius:9px}.metric-icon .ui-icon{width:27px;height:27px}.pulse-grid small{font-size:8px}.pulse-grid b{font-size:34px}.pulse-grid em{font-size:9px}.metric-trend{height:42px}
.panel{border-radius:10px}.panel-head{min-height:76px;padding:16px 20px}.panel-kicker{font-size:8px}.panel-head h2{font-size:17px}.panel-head>a{font-size:8px}.action-list,.site-list{padding:5px 15px 10px}.action-row,.site-row{min-height:67px;grid-template-columns:42px minmax(0,1fr) auto;gap:12px}.site-row{grid-template-columns:42px minmax(0,1fr) auto 18px}.action-symbol,.site-avatar{width:40px;height:40px;border-radius:9px}.action-symbol .ui-icon,.site-avatar .ui-icon{width:21px}.action-row b,.site-row b{font-size:11px}.action-row small,.site-row small{font-size:9px}.action-row em,.site-row em{font-size:8px}.flow-strip{min-height:68px;border-radius:9px}.flow-title{padding:17px 20px}.flow-title span{font-size:8px}.flow-title small{font-size:9px}.flow-strip>a{gap:12px;padding:14px 17px}.flow-strip>a>i{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(35,240,210,.28);border-radius:9px;background:rgba(35,240,210,.055)}.flow-strip>a>i .ui-icon{width:21px;height:21px}.flow-strip b{font-size:12px}.flow-strip small{font-size:7px}

/* Main Hub receives the same emblem language */
.shell:not(.command-shell)>main{padding:28px 36px 42px}.shell:not(.command-shell)>main>header{margin:-28px -36px 20px;padding:19px 36px}.shell:not(.command-shell)>aside .nav-section>a{font-size:11px}.shell:not(.command-shell) .site-card-link>span,.shell:not(.command-shell) .contract-card header>span{width:52px;height:52px;border:1px solid color-mix(in srgb,var(--accent) 35%,#dbe6ed);border-radius:14px;background:radial-gradient(circle at 35% 30%,#fff,color-mix(in srgb,var(--accent) 17%,#edf4f7));box-shadow:0 7px 17px color-mix(in srgb,var(--accent) 10%,transparent)}.shell:not(.command-shell) .site-card-link>span .pedy-glyph,.shell:not(.command-shell) .contract-card header>span .pedy-glyph{width:27px;height:27px}.shell:not(.command-shell) .site-card-link,.shell:not(.command-shell) .contract-card header{grid-template-columns:54px minmax(0,1fr) auto;gap:13px}

@media(max-width:1320px){.command-hero{grid-template-columns:minmax(260px,1fr) auto}.command-radar{display:none}.quick-actions{grid-template-columns:repeat(3,126px)}.quick-actions a{grid-template-columns:38px 1fr}.quick-actions a>i{width:38px;height:38px!important}}
@media(max-width:1120px){.quick-actions{grid-template-columns:repeat(3,1fr)}.ops-sector{min-height:150px}}
@media(max-width:820px){.command-shell main{padding:0 15px 28px}.command-shell .topbar{margin:0 -15px;padding:0 15px}.command-hero{min-height:260px;grid-template-columns:1fr;padding:25px}.quick-actions{margin-top:0}.shell:not(.command-shell)>main{padding:18px}.shell:not(.command-shell)>main>header{margin:-18px -18px 15px;padding:15px 18px}}
@media(max-width:600px){.command-hero h1{font-size:28px}.quick-actions a{min-height:66px;grid-template-columns:32px 1fr}.quick-actions a>i{width:32px;height:32px!important}.pulse-grid a{min-height:104px;grid-template-columns:44px 1fr}.metric-icon{width:44px;height:44px}.live-board-grid{grid-template-columns:1fr}.ops-sector{min-height:142px}}
@media(prefers-reduced-motion:reduce){.radar-sweep{animation:none}}
