/*
Theme Name: Cyberdyne Command Center
Version: 1.0.0
Description: Editable Cyberdyne dashboard with live ZimaBoard telemetry and the existing protected service registry.
Text Domain: cyberdyne
*/
:root{color-scheme:dark;--bg:#0b0c0e;--panel:#111215;--border:#26272b;--text:#eeedef;--muted:#95969f;--red:#f05a55;--green:#98c5a5;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--red);outline-offset:5px}button:disabled{cursor:wait;opacity:.65}.skip{position:fixed;top:-80px;z-index:1000;background:var(--red);color:#000;padding:12px}.skip:focus{top:12px}.site-header{height:92px;padding:0 4%;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:14px;font-size:17px;letter-spacing:.1em;font-weight:750}.brand-symbol{position:relative;width:39px;height:39px;background:var(--red);color:#171012;display:grid;place-items:center;font-size:29px;line-height:1;letter-spacing:-3px}.brand-symbol span{font-size:18px;position:absolute;right:3px;top:1px}.brand-sub{display:block;font:8px/1.6 var(--mono);letter-spacing:.17em;color:var(--muted)}nav{display:flex;gap:34px;font-size:12px;color:var(--muted)}nav a:hover,nav .nav-dashboard{color:#fff}nav span{color:var(--red);margin-left:5px}.connection{display:flex;align-items:center;gap:8px;font:10px var(--mono);padding:8px 12px;border:1px solid var(--border);border-radius:30px;white-space:nowrap}.connection i{width:6px;height:6px;border-radius:50%;background:var(--muted)}.connection.online i{background:var(--green);box-shadow:0 0 9px #98c5a544}main{max-width:1600px;margin:auto;padding:44px 4% 0}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:36px}.eyebrow{font:9px/1.8 var(--mono);letter-spacing:.13em;color:var(--muted);margin:0 0 10px}.intro .eyebrow{display:flex;align-items:center;gap:10px;color:var(--red)}.red-line{width:24px;height:1px;background:var(--red)}h1{font-size:clamp(28px,3.1vw,47px);line-height:1.13;font-weight:500;letter-spacing:-.055em;margin:0 0 13px}h2{font-size:17px;font-weight:500;letter-spacing:-.025em;margin:3px 0 0}.intro-copy{margin:0;color:var(--muted);font-size:13px}.date-block{display:flex;flex-direction:column;text-align:right;min-width:145px}.date-block .eyebrow{justify-content:flex-end;color:var(--muted);font-size:8px}.date-block time{font:25px/1.4 var(--mono);letter-spacing:-.04em}.date-block .muted{font-size:10px}.muted{color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(245px,1fr) minmax(290px,1.56fr) minmax(255px,1fr);gap:18px;align-items:stretch}.panel{background:var(--panel);border:1px solid var(--border);border-radius:8px;min-width:0;overflow:hidden}.panel-heading{padding:23px 23px 18px;display:flex;justify-content:space-between;align-items:center}.panel-heading .eyebrow{font-size:8px;margin:0}.small-icon{color:var(--red);font-size:24px}.registry{display:flex;flex-direction:column;min-height:490px}#service-registry{padding:8px 23px 20px;flex:1}.registry-lead{font-size:12px;color:var(--muted);margin:2px 0 23px;line-height:1.8}.access-badge{font:9px var(--mono);display:inline-flex;gap:7px;align-items:center;color:var(--red);margin-bottom:16px}.registry-form{display:grid;gap:16px}.registry-label{display:block;font-size:11px;color:#bfc0c7;margin-bottom:7px}.registry-input{border:1px solid #34353b;border-radius:4px;background:#0c0d0f;color:var(--text);padding:11px 12px;min-height:44px;width:100%;font-size:13px}.registry-input::placeholder{color:#6b6d77}.registry-button{min-height:44px;border:0;border-radius:4px;background:var(--red);color:#190c0b;font-size:12px;font-weight:650;padding:10px 14px;width:100%}.registry-button:hover{background:#ff746d}.registry-message{font-size:11px;color:var(--red);margin:0;min-height:18px}.registry-status{font:10px/1.7 var(--mono);color:var(--muted)}.registry-foot{padding:16px 23px;border-top:1px solid var(--border);display:flex;gap:12px;align-items:center;font-size:10px;line-height:1.6;color:var(--muted)}.lock-icon{font-size:25px;color:#c9b0ac}.registry-authenticated{font:10px var(--mono);color:var(--green);margin:5px 0 18px}.registry-group{color:var(--muted);font:9px var(--mono);letter-spacing:.1em;margin:22px 0 10px}.registry-link{display:block;padding:12px;border:1px solid var(--border);margin-bottom:8px;border-radius:4px}.registry-link:hover{background:#1b1b20;border-color:#69504c}.registry-service-name{display:block;font-size:13px}.registry-service-state{display:block;font:8px/1.7 var(--mono);margin-top:3px;color:var(--muted)}.state-online{color:var(--green)}.state-offline{color:var(--red)}.registry-logout{background:transparent;border:1px solid #6d3d3b;color:var(--red);margin-top:20px}.registry-logout:hover{background:#33201f}.registry-search{margin:4px 0 8px}.neural{position:relative;background:radial-gradient(ellipse at 50% 43%,#421c1a33,transparent 70%),#0f1012;display:flex;flex-direction:column;align-items:center;min-height:490px}.neural:before{content:"";position:absolute;inset:0;opacity:.16;background-image:linear-gradient(#4b303033 1px,transparent 1px),linear-gradient(90deg,#4b303033 1px,transparent 1px);background-size:32px 32px;pointer-events:none}.neural-top{position:relative;width:100%;display:flex;justify-content:space-between;align-items:center;padding:23px 24px}.neural-top .eyebrow{font-size:8px;margin:0}.red-dot{width:6px;height:6px;border-radius:50%;background:var(--red);box-shadow:0 0 12px #f05a5577}.skull-stage{position:relative;width:100%;height:320px;display:grid;place-items:center;margin:auto}.skull-stage img{height:285px;width:auto;max-width:70%;object-fit:contain;z-index:2;filter:drop-shadow(0 0 24px #bc332738)}.orbit{position:absolute;border:1px solid #6e393144;border-radius:50%;width:275px;height:275px}.orbit-two{width:320px;height:320px;border-style:dashed;border-color:#633c3033}.crosshair{position:absolute;width:100%;height:1px;background:#5a2e2e33}.crosshair:after{content:"";height:320px;width:1px;position:absolute;left:50%;top:-160px;background:#5a2e2e33}.stage-label{position:absolute;font:7px/1.9 var(--mono);color:#9e7771;letter-spacing:.05em;top:52%;z-index:3}.stage-label.left{left:15px}.stage-label.right{right:15px;text-align:right}.neural-bottom{position:relative;text-align:center;padding:22px 12px 27px}.neural-bottom .eyebrow{color:var(--red);font-size:8px;margin:0}.neural-bottom h2{font-size:21px;margin:6px 0 12px;letter-spacing:-.035em}.interface-tag{font:7px var(--mono);letter-spacing:.12em;color:var(--muted)}.interface-tag span{color:var(--red);padding:0 7px}.diagnostics{display:flex;flex-direction:column}.telemetry-state{margin:0 23px 24px;padding:9px 10px;font:9px var(--mono);border:1px solid #363a36;border-radius:3px;background:#16211a55;color:var(--green)}.telemetry-state.error{color:var(--red);background:#34201f55;border-color:#613430}.metrics{padding:0 23px}.metric{margin-bottom:22px}.metric>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:11px;color:var(--muted)}.metric strong{font:15px var(--mono);color:var(--text)}.meter{height:4px;background:#2a292d;border-radius:5px;overflow:hidden}.meter span{height:100%;display:block;background:var(--red);width:0;transition:width .6s}.system-detail{margin:0 23px;padding:9px 0;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #242529;font-size:10px;color:var(--muted);gap:10px}.system-detail strong{font:9px var(--mono);color:#c9c9cf;text-align:right}.telemetry-foot{display:flex;justify-content:space-between;align-items:center;padding:12px 23px;margin-top:auto;font:8px var(--mono);color:var(--muted)}.telemetry-foot button{background:transparent;color:var(--muted);border:1px solid var(--border);border-radius:4px;font-size:18px;min-height:30px;min-width:32px}.world-clocks{margin:24px 0 40px;display:grid;grid-template-columns:1.3fr repeat(5,1fr);border:1px solid var(--border);border-radius:6px;overflow:hidden;background:#0e0f11;padding:20px 0}.world-label,.world-clock{padding:0 24px;border-right:1px solid var(--border);display:flex;flex-direction:column;justify-content:center}.world-label .eyebrow{font-size:7px;margin:0}.world-label>span:last-child{font-size:11px;color:#b6b5bb}.world-clock:last-child{border:0}.world-clock>span{font:8px var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.09em;margin-bottom:7px}.world-clock time{font:16px var(--mono);letter-spacing:-.04em}.site-footer{max-width:1600px;margin:auto;padding:23px 4%;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:20px;font:8px/1.5 var(--mono);letter-spacing:.04em;color:#b1b0b7}.site-footer a{color:var(--muted)}.site-footer a:hover{color:var(--red)}.content-main{min-height:70vh}.page-content{max-width:900px;margin:0 auto 50px}.page-content a{text-decoration:underline;color:var(--red)}.page-content p{color:#bfc0c7}.dashboard-note{margin:0 0 30px;font-size:12px}.dashboard-note p{margin:0}body:not(.home) .nav-dashboard{color:var(--muted)}
@media(min-width:1450px){.skull-stage{height:365px}.skull-stage img{height:325px}.panel{min-height:550px}.metrics .metric{margin-bottom:28px}}
@media(max-width:1100px){.site-header{padding:0 3%;gap:16px}nav{gap:20px}main{padding:32px 3% 0}.dashboard-grid{gap:12px;grid-template-columns:minmax(220px,1fr) minmax(240px,1.2fr) minmax(220px,1fr)}.panel-heading{padding:20px 17px 18px}#service-registry,.metrics{padding-left:17px;padding-right:17px}.telemetry-state,.system-detail{margin-left:17px;margin-right:17px}.stage-label{display:none}.orbit-two{width:240px;height:240px}.orbit-one{width:210px;height:210px}.world-label,.world-clock{padding:0 16px}.world-clock time{font-size:14px}}
@media(max-width:800px){.site-header{height:76px}.brand{font-size:14px}.brand-sub{font-size:6px}nav{display:none}.connection{font-size:8px}.intro{margin-bottom:26px}.date-block{display:none}.dashboard-grid{grid-template-columns:1fr 1fr}.neural{grid-column:1/-1;grid-row:1;min-height:430px}.skull-stage{height:250px}.skull-stage img{height:235px}.neural-bottom{padding:16px}.registry{min-height:480px}.world-clocks{grid-template-columns:repeat(3,1fr);row-gap:24px}.world-label,.world-clock{padding:0 20px}.world-clock:nth-child(3){border:0}.site-footer{flex-wrap:wrap}.site-footer>.muted{display:none}}
@media(max-width:520px){main{padding:28px 18px 0}.site-header{padding:0 18px}.brand{gap:10px}.brand-symbol{width:32px;height:32px;font-size:24px}.connection{padding:7px 9px}.intro-copy{font-size:12px;max-width:300px}h1{font-size:35px;max-width:320px}.intro .eyebrow{font-size:8px}.dashboard-grid{grid-template-columns:1fr;gap:16px}.neural{min-height:415px}.registry{min-height:0}.registry-foot{margin-top:15px}.panel-heading{padding:23px}.metrics,#service-registry{padding-left:23px;padding-right:23px}.telemetry-state,.system-detail{margin-left:23px;margin-right:23px}.world-clocks{margin:20px 0 30px}.world-label,.world-clock{padding:0 12px}.world-clock time{font-size:13px}.world-label .eyebrow{font-size:6px}.world-label>span:last-child{font-size:10px}.site-footer{padding:20px 18px;font-size:7px}.registry-input{font-size:16px}.telemetry-foot button{min-height:44px;min-width:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Original Skynet motion timings, restored from the saved source bundle. */
@keyframes cyberdyne-orbit{to{transform:rotate(360deg)}}
@keyframes cyberdyne-red-pulse{0%,100%{opacity:.6}50%{opacity:1}}
@keyframes cyberdyne-eye-pulse{0%,100%{opacity:.7}50%{opacity:1}}
@keyframes cyberdyne-screen-scan{0%{transform:translateY(-100%)}100%{transform:translateY(100vh)}}
@keyframes cyberdyne-skull-scan{0%{top:0}100%{top:100%}}
@keyframes cyberdyne-materialize{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
.home .orbit-one{animation:cyberdyne-orbit 20s linear infinite}
.home .orbit-two{animation:cyberdyne-orbit 35s linear infinite reverse}
.home .red-dot{animation:cyberdyne-red-pulse 2s ease infinite}
.home .interface-tag span{display:inline-block;animation:cyberdyne-red-pulse 1.5s ease infinite}
.skull-portrait{position:relative;height:285px;aspect-ratio:1064/1600;max-width:70%;z-index:2;animation:cyberdyne-materialize 1.2s cubic-bezier(0,0,.58,1) both}
.skull-stage .skull-portrait img{display:block;width:100%;height:100%;max-width:100%;filter:drop-shadow(0 0 30px rgba(234,83,83,.6)) drop-shadow(0 0 80px rgba(234,83,83,.25))}
.eye-glow{position:absolute;top:43%;width:14%;height:7%;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(255,26,26,.9),rgba(204,0,0,.5) 50%,transparent 100%);filter:blur(4px);box-shadow:0 0 20px 8px rgba(255,0,0,.4);animation:cyberdyne-eye-pulse 1.5s ease-in-out infinite}
.eye-left{left:24.5%}.eye-right{right:22.5%;animation-delay:.2s}
.skull-scan{position:absolute;left:0;right:0;top:0;height:2px;opacity:.2;background:linear-gradient(90deg,transparent,rgba(234,83,83,.8),transparent);pointer-events:none;animation:cyberdyne-skull-scan 3s linear infinite}
.screen-effects{position:fixed;inset:0;z-index:9990;pointer-events:none;overflow:hidden}
.screen-effects:before{content:"";position:absolute;inset:0;opacity:.03;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,255,255,.05) 2px,rgba(255,255,255,.05) 4px)}
.screen-scan{position:absolute;top:0;left:0;right:0;height:2px;opacity:.1;background:linear-gradient(90deg,transparent,rgba(234,83,83,.8),transparent);animation:cyberdyne-screen-scan 4s linear infinite}
#cursor-dot,#cursor-glow{display:none;position:fixed;left:0;top:0;pointer-events:none;border-radius:50%;opacity:0}
#cursor-dot{width:12px;height:12px;z-index:9999;background:#ea5353;box-shadow:0 0 8px 2px rgba(234,83,83,.8)}
#cursor-glow{width:128px;height:128px;z-index:9998;background:radial-gradient(circle,rgba(234,83,83,.6),transparent 70%)}
@media(min-width:768px) and (hover:hover) and (pointer:fine){.home #cursor-dot,.home #cursor-glow{display:block}.home.cursor-active #cursor-dot{opacity:1}.home.cursor-active #cursor-glow{opacity:.2}}
.motion-readable{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.motion-paused .orbit,.motion-paused .red-dot,.motion-paused .interface-tag span,.motion-paused .skull-portrait,.motion-paused .eye-glow,.motion-paused .skull-scan,.motion-paused .screen-scan{animation-play-state:paused}
@media(min-width:1450px){.skull-portrait{height:325px}}
@media(max-width:800px){.skull-portrait{height:235px}}
@media(prefers-reduced-motion:reduce){.screen-effects,.skull-scan,#cursor-dot,#cursor-glow{display:none!important}.skull-portrait{opacity:1;transform:none}}
.motion-toggle{padding:5px 8px;color:#c9b5b3;background:#1b1414;border:1px solid #5e3432;border-radius:4px;font:9px var(--mono);min-height:32px;white-space:nowrap}
.neural-top .red-dot{margin-left:auto;margin-right:10px}
body.motion-enabled .orbit-one{animation:cyberdyne-orbit 20s linear infinite!important}
body.motion-enabled .orbit-two{animation:cyberdyne-orbit 35s linear infinite reverse!important}
body.motion-enabled .red-dot{animation:cyberdyne-red-pulse 2s ease infinite!important}
body.motion-enabled .interface-tag span{animation:cyberdyne-red-pulse 1.5s ease infinite!important}
body.motion-enabled .skull-portrait{animation:cyberdyne-materialize 1.2s cubic-bezier(0,0,.58,1) both!important}
body.motion-enabled .eye-glow{animation:cyberdyne-eye-pulse 1.5s ease-in-out infinite!important}
body.motion-enabled .eye-right{animation-delay:.2s!important}
body.motion-enabled .skull-scan{animation:cyberdyne-skull-scan 3s linear infinite!important;display:block!important}
body.motion-enabled .screen-effects{display:block!important}
body.motion-enabled .screen-scan{animation:cyberdyne-screen-scan 4s linear infinite!important}
body.motion-disabled .orbit,body.motion-disabled .red-dot,body.motion-disabled .interface-tag span,body.motion-disabled .skull-portrait,body.motion-disabled .eye-glow{animation:none!important}
body.motion-disabled .screen-effects,body.motion-disabled .skull-scan,body.motion-disabled #cursor-dot,body.motion-disabled #cursor-glow{display:none!important}
@media(min-width:768px) and (hover:hover) and (pointer:fine){body.motion-enabled #cursor-dot,body.motion-enabled #cursor-glow{display:block!important}}
body.motion-paused .orbit,body.motion-paused .red-dot,body.motion-paused .interface-tag span,body.motion-paused .skull-portrait,body.motion-paused .eye-glow,body.motion-paused .skull-scan,body.motion-paused .screen-scan{animation-play-state:paused!important}

/* Compact protected directory: scroll links without stretching all panels. */
.service-list{max-height:320px;overflow-y:auto;overflow-x:hidden;padding-right:5px;scrollbar-width:thin;scrollbar-color:#69403d #17171b;overscroll-behavior:contain}
.service-list .registry-group{margin:12px 0 5px;font-size:8px;line-height:1.5}
.service-list .registry-group:first-child{margin-top:4px}
.service-list .registry-link{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:36px;padding:6px 8px;margin-bottom:4px;border-radius:3px}
.service-list .registry-service-name{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.service-list .registry-service-state{font-size:7px;line-height:1.5;margin:0;text-align:right;max-width:70px}
.registry-authenticated{margin:5px 0 10px}
.registry-search{margin:0 0 10px}
.registry-logout{margin-top:10px}
#service-registry>.registry-message:empty{display:none}
@media(max-width:800px){.service-list .registry-link{min-height:44px}.service-list{max-height:360px}}
/* Detailed diagnostics */
.diagnostics-link{display:block;margin-top:20px;color:var(--accent,#ff504f)}
.diagnostics-page{max-width:1500px;margin:auto;padding:0 36px 40px}.diagnostics-page [hidden]{display:none!important}
.diagnostics-access{max-width:440px;padding:24px;margin-bottom:24px}.diagnostics-signed-in .diagnostics-access{max-width:none;padding:16px 22px}.diagnostics-signed-in .diagnostics-access .panel-heading,.diagnostics-signed-in .diagnostics-access .service-list,.diagnostics-signed-in .diagnostics-access .registry-search{display:none}.diagnostics-signed-in #service-registry{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.diagnostics-signed-in .registry-logout{width:auto;margin:0;padding:10px 24px}.diagnostics-signed-in .registry-message:empty{display:none}
.diag-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.diag-toolbar button{width:auto;white-space:nowrap}.diag-toolbar p{color:#adb1b8;font-size:13px}
.diag-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.diag-card{padding:22px;min-width:0}.diag-card h2{font-size:13px;color:#adb1b8;font-weight:400;margin:0 0 16px}.diag-card strong{font-size:23px;overflow-wrap:anywhere}.diag-card p{font-size:12px;line-height:1.6;margin-top:12px}
.diag-section{padding:26px;margin-top:20px}.diag-section h2{margin:8px 0 18px}.diag-section .muted{font-size:12px;line-height:1.7}.diag-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.diag-chart{min-width:0}.diag-chart h3{font-size:14px}.diag-chart svg{display:block;width:100%;height:120px;background:linear-gradient(transparent 49%,#ffffff0b 50%,transparent 51%)}
.diag-table-wrap{overflow:auto;margin-top:18px}.diag-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.diag-table th{color:#adb1b8;font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.08em}.diag-table td,.diag-table th{padding:15px 12px;border-bottom:1px solid #292b30}.diag-table small{display:block;margin-top:5px;max-width:340px}.diag-table td:first-child{min-width:220px}.diag-table td:last-child{white-space:nowrap}.diag-badge{font-size:11px;font-family:monospace;display:inline-block;padding:4px 7px;border:1px solid currentColor;border-radius:4px}.state-disabled{color:#adb1b8}.diag-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px}.diag-incident{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #292b30}.diag-section label{display:block;font-size:12px;margin-bottom:8px}.diag-section .registry-input{max-width:440px}
@media(max-width:1000px){.diag-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.diag-charts{grid-template-columns:1fr}.diag-chart svg{height:130px}}@media(max-width:600px){.diagnostics-page{padding:0 16px 24px}.diag-cards,.diag-bottom{grid-template-columns:1fr}.diag-section{padding:18px}.diag-toolbar{align-items:flex-start;flex-direction:column}.diagnostics-page .intro{align-items:flex-start}.diag-section .panel-heading{display:block}}

.diagnostics-page{padding-top:36px}.diagnostics-page .panel{min-height:0}.diagnostics-page .panel-heading{padding:0 0 18px}.diagnostics-page #service-registry{padding:0}.diagnostics-signed-in .registry-authenticated{margin:0}@media(max-width:600px){.diagnostics-page{padding-top:28px}}
/* History controls, sorting, disk health and access activity */
.live-switch{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px}.live-switch input{accent-color:var(--red);width:21px;height:21px}.history-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.history-controls label{margin:0}.diagnostics-page select,.diagnostics-page button:not(.registry-button){background:#16171b;color:var(--text);border:1px solid var(--border);border-radius:5px;padding:10px 14px;font:inherit}.diag-table th button{white-space:nowrap}.diag-table th[aria-sort=ascending] button,.diag-table th[aria-sort=descending] button{border-color:var(--red);color:var(--red)}.diagnostics-page summary{cursor:pointer;font-size:16px;font-weight:500}.diagnostics-page details[open]>summary{margin-bottom:20px}.diag-disk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.diag-drive{border:1px solid var(--border);border-radius:6px;padding:22px;min-width:0}.diag-drive h3{margin-top:0}.diag-drive .system-detail{margin:0;padding:10px 0}.diag-chart-stats{font:11px/1.7 var(--mono);color:var(--text)}.diag-chart svg{height:155px}.diag-chart circle:hover{r:5;fill:#fff}.diag-table-wrap{max-height:650px;overflow:auto}.diag-table thead{position:sticky;top:0;background:var(--panel);z-index:1}.diagnostics-page a:hover{color:var(--red)}#diag-security-events td:last-child{white-space:normal;min-width:210px;max-width:380px;font-size:11px}#diag-security-events td:nth-child(3){font-family:var(--mono)}.diagnostics-page .panel-heading{flex-wrap:wrap;gap:15px}#diag-speed-more{margin-top:16px}@media(max-width:720px){.diag-disk-grid{grid-template-columns:1fr}.history-controls{align-items:flex-start}.diag-drive{padding:16px}.diag-chart svg{height:140px}}

/* Diagnostics section preferences and tap-friendly help. */
#diagnostics-content [hidden]{display:none!important}
.diag-section-picker{margin-bottom:20px;padding:18px}
.diag-section-picker summary,.diag-info summary{cursor:pointer;min-height:32px}
.diag-section-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;padding:16px 0}
.diag-section-choices label{display:flex;align-items:center;gap:9px;min-height:36px}
.diag-section-choices input{width:18px;height:18px;accent-color:#ff504f}
.diag-info{margin-top:16px;border-top:1px solid #292a2d;padding-top:12px;font-size:14px}
.diag-info summary{color:#c7c7cc;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:5px}
.diag-info summary:focus-visible{outline:2px solid #ff504f;outline-offset:3px}
.diag-info p{line-height:1.65;margin:10px 0}
.registry-message.security-warning{padding:14px;border:1px solid #ff504f;background:#ff504f12;line-height:1.6}

.diag-live-explanation{flex-basis:100%;margin:0;line-height:1.6}
#diag-display-live[aria-pressed="true"]{border-color:#ff504f;color:#ff807b}

/* Authenticated, dated port audit. Keep long observations readable on phones. */
.diag-ports-table{min-width:640px}
.diag-ports-table td:first-child{min-width:125px;font-family:var(--mono);font-size:12px}
.diag-ports-table td:last-child{min-width:260px;white-space:normal;color:var(--muted);font-size:12px}
.diag-ports-table td:nth-child(2){min-width:180px}
.ports-page [hidden]{display:none!important}
.ports-page .diag-info{margin:0 0 20px}
.ports-page .diag-section label{display:block;font-size:12px;margin:18px 0 8px}
.ports-page #port-count{margin:12px 0 0}
.ports-page .diag-ports-table td:last-child{min-width:300px}
.port-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px 18px}
.port-controls>div:first-child{flex:1 1 280px}
.port-controls>div:last-child{flex:0 1 220px}
.port-controls .registry-input{max-width:none}
.port-controls select{width:100%;min-height:44px}
.ports-page .diag-table th button{white-space:nowrap}
.ports-page .diag-table th[aria-sort="ascending"] button,.ports-page .diag-table th[aria-sort="descending"] button{border-color:var(--red);color:var(--red)}

/* Skynet identity, closer navigation, and six world clocks. */
.site-header{height:80px;justify-content:flex-start;gap:0}
.brand{flex:none}
.brand-symbol{width:46px;height:34px;background:none;display:grid;place-items:center;overflow:visible;letter-spacing:normal}
.brand-symbol img{display:block;width:44px;height:27px;object-fit:contain}
.site-header nav{margin-left:clamp(28px,5vw,80px)}
.site-header .connection{margin-left:auto}
main{padding-top:30px}
.intro{margin-bottom:27px}
.intro .eyebrow{line-height:1.1;margin-bottom:0}
.intro h1{line-height:1.02;margin-bottom:0}
.intro-copy{line-height:1.35}
.world-clocks{grid-template-columns:1.15fr repeat(6,minmax(0,1fr))}
.world-label,.world-clock{min-width:0;padding:0 16px}
.world-clock time{font-size:15px}
@media(max-width:1100px){.site-header nav{margin-left:26px}.world-label,.world-clock{padding:0 10px}.world-clock time{font-size:13px}}
@media(max-width:800px){.site-header{height:76px}.brand-symbol{width:42px;height:32px}.brand-symbol img{width:40px;height:25px}.world-clocks{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:0;padding:0}.world-label{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--border);padding:14px 20px}.world-clock{padding:14px 20px;border-bottom:1px solid var(--border)}.world-clock:nth-child(3){border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.world-clock:nth-child(4){border-right:0}.world-clock:nth-last-child(-n+3){border-bottom:0}}
@media(max-width:520px){.brand-symbol{width:39px;height:30px}.brand-symbol img{width:37px;height:23px}.site-header{gap:8px}.world-clocks{grid-template-columns:repeat(2,minmax(0,1fr))}.world-label{padding:12px 16px}.world-clock{padding:12px 16px}.world-clock:nth-child(3),.world-clock:nth-child(5){border-right:0}.world-clock:nth-last-child(3){border-bottom:1px solid var(--border)}.world-clock:nth-last-child(2){border-right:1px solid var(--border)}}
@media(max-width:800px){.site-header{height:auto;min-height:76px;flex-wrap:wrap;padding:12px 3%}.site-header nav{order:3;display:flex;width:100%;gap:16px;margin-left:0;overflow-x:auto;padding-bottom:3px}.site-header .connection{margin-left:auto}}
