/* Shared workspace UX. Only structural selectors; never recolor status labels. */
.shell .workspace{grid-template-rows:auto minmax(0,1fr)}
.shell .workspace>.worktabs{padding-right:230px;position:relative}
.oc-work-tools{grid-area:1/1;align-self:center;justify-self:end;z-index:3;display:flex;gap:6px;padding:0 10px;background:var(--rn-bg);border-left:1px solid var(--rn-line)}
.oc-work-tools button,.oc-secondary,.oc-close,.oc-notify-filter{font:12px/1.35 'Segoe UI',Arial,sans-serif;background:var(--rn-surface-raised);border:1px solid var(--rn-line);border-radius:4px;padding:7px 9px;color:var(--rn-text);white-space:nowrap;cursor:pointer}
.oc-work-tools button:hover,.oc-work-tools button[aria-pressed=true],.oc-secondary:hover,.oc-notify-filter:hover{border-color:var(--rn-accent);color:var(--rn-accent-bright)}
.oc-favorites{border-bottom:1px solid var(--rn-line);padding-bottom:8px;margin-bottom:4px}.oc-favorites .navgroup{color:var(--rn-accent-bright)}
html[data-rn-focus=true] .shell>.header,html[data-rn-focus=true] .shell>.frame>.nav{display:none!important}
.oc-comfort-dialog{width:min(560px,calc(100vw - 24px));max-height:85dvh;overflow:auto;background:var(--rn-surface);color:var(--rn-text);border:1px solid var(--rn-line);border-top:3px solid var(--rn-accent);border-radius:6px;padding:20px;box-shadow:0 14px 60px #0009}.oc-comfort-dialog::backdrop{background:#000a}.oc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.oc-dialog-head h2{font-size:20px}.oc-help{font-size:12px;color:var(--rn-muted);margin-bottom:10px}.oc-setting{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 0;border-bottom:1px solid var(--rn-line)}.oc-setting span{display:grid;gap:4px}.oc-setting small{font-size:12px;color:var(--rn-muted)}.oc-setting input{width:19px;height:19px;flex:none;accent-color:var(--rn-accent)}.oc-secondary{margin-top:15px}.oc-palette input{width:100%;padding:12px;border:1px solid var(--rn-line);background:var(--rn-bg);border-radius:4px}.oc-palette-list{max-height:53dvh;overflow:auto;margin-top:10px}.oc-command{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;padding:12px;gap:12px;border-left:2px solid transparent;border-bottom:1px solid var(--rn-line)}.oc-command.selected,.oc-command:hover{background:var(--rn-active);border-left-color:var(--rn-accent)}.oc-command small{color:var(--rn-muted);text-align:right}.oc-notify-filter{margin:8px 0}.oc-notify-head strong{color:var(--rn-accent-bright)}
.department-panel .department-code{width:54px;height:54px;flex:none}.department-panel .department-code img{width:100%;height:100%;object-fit:contain}.department-panel[data-department=AB]{--dept-color:var(--rn-ab)}.department-panel[data-department=SB]{--dept-color:var(--rn-sb)}.department-panel[data-department=NIS]{--dept-color:var(--rn-nis)}.department-panel[data-department=CASU]{--dept-color:var(--rn-casu)}html[data-rn-accents=true] .department-panel[data-department]{border-top-color:var(--dept-color)!important}html[data-rn-accents=true] .department-panel .department-heading{border-bottom:1px solid var(--dept-color);padding-bottom:10px}
html[data-rn-compact=true] .shell .stagehome{padding:20px 24px 35px}html[data-rn-compact=true] .shell .nav button{padding-top:7px;padding-bottom:7px}html[data-rn-compact=true] .shell .navgroup{margin-top:10px}html[data-rn-compact=true] .shell .worktabs{min-height:39px;gap:12px}html[data-rn-compact=true].open-circle-embedded body>main{padding:14px 18px}html[data-rn-compact=true].open-circle-embedded .panel{padding:12px}html[data-rn-compact=true].open-circle-embedded .toolbar{gap:5px;margin-bottom:8px}html[data-rn-compact=true].open-circle-embedded .line{padding:7px 0}html[data-rn-compact=true][data-oc-page=board] .board-heading{margin-bottom:4px}html[data-rn-compact=true][data-oc-page=board] .board .card{padding-top:6px;padding-bottom:6px}html[data-rn-compact=true][data-oc-page=bfa] .person-top{gap:8px}
html[data-rn-motion=true] .oc-comfort-dialog[open],html[data-rn-motion=true] .oc-notify-dialog[open]{animation:rn-enter .16s ease-out}@keyframes rn-enter{from{opacity:.3;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.oc-comfort-dialog,.oc-notify-dialog{animation:none!important}}
@media(max-width:700px){.shell .workspace{grid-template-rows:auto auto minmax(0,1fr)}.shell .workspace>.worktabs{grid-area:2/1;padding-right:13px}.oc-work-tools{grid-area:1/1;justify-self:stretch;justify-content:flex-end;border-bottom:1px solid var(--rn-line);padding:5px 10px}.shell .workspace>.stagehome,.shell .workspace>.framehost{grid-area:3/1}.shell .header .end{gap:9px;max-width:100%}.shell .header #who{font-size:10px;overflow-wrap:anywhere}.shell .nav .oc-favorites{display:flex;gap:5px;border:0;margin:0;padding:0}.oc-favorites .navgroup{display:none}.oc-favorites button{flex:none}.oc-comfort-dialog{padding:14px}.oc-command{padding:10px}.oc-command small{max-width:38%}.oc-work-tools button{padding:6px 10px}.shell .dialhome{min-width:0}.shell .dialbtn{max-width:95px}.shell .dialbtn>span:last-child{font-size:9px}.shell .dialbtn .orb{width:36px;height:36px}.shell .dial{width:calc(100% - 10px)}html[data-rn-compact=true] .shell .stagehome{padding:15px 12px 25px}html[data-rn-compact=true].open-circle-embedded body>main{padding:12px}}
/* Keep every tab reachable, including the last tab in a long scroll strip. */
@media(min-width:701px){.shell .workspace{grid-template-columns:minmax(0,1fr) auto}.shell .workspace>.worktabs{grid-area:1/1;padding-right:12px}.shell .workspace>.oc-work-tools{grid-area:1/2;align-self:stretch;align-items:center}.shell .workspace>.stagehome,.shell .workspace>.framehost{grid-column:1/-1}}

.shell .workspace:has(.stageframe[data-inactive=false][data-rn-loading=true])::after{content:'';position:absolute;z-index:4;top:0;left:0;width:100%;height:2px;background:var(--rn-accent);pointer-events:none}.shell .workspace{position:relative}html[data-rn-motion=true] .shell .workspace:has(.stageframe[data-inactive=false][data-rn-loading=true])::after{width:30%;animation:rn-loading 1.15s ease-in-out infinite alternate}@keyframes rn-loading{from{left:0}to{left:70%}}@media(prefers-reduced-motion:reduce){.shell .workspace::after{animation:none!important}}
html[data-rn-compact=true][data-oc-page=board] .cardwrap:not(:has(.has-cover)) .card{padding-top:24px}

/* V1.2.4: keep communication controls above the scrolling message list. */
.oc-notify-dialog[open]{display:flex;flex-direction:column;overflow:hidden;max-height:75dvh;box-sizing:border-box}
.oc-notify-head,.oc-notify-tools{flex:none}
.oc-notify-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:9px 0;border-bottom:1px solid var(--rn-line);background:var(--rn-surface)}
.oc-notify-tools .oc-notify-filter,.oc-notify-tools .oc-notify-mark{margin:0;padding:8px 10px;border:1px solid var(--rn-line);border-radius:4px;font:12px/1.35 'Segoe UI',Arial,sans-serif;white-space:normal;text-align:center}
.oc-notify-tools .oc-notify-mark{border-color:var(--rn-accent);color:var(--rn-accent-bright);background:var(--rn-surface-raised)}
.oc-notify-tools .oc-notify-mark:hover{background:var(--rn-active)}
.oc-notify-tools .oc-notify-mark:disabled{opacity:.6;cursor:wait}
.oc-notify-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
/* Navy boot / module acquisition. Purely decorative, never intercept clicks or delay loading. */
.rn-boot{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:hidden;pointer-events:none;color:var(--rn-text);background:var(--rn-bg);animation:rn-boot-out 1.45s linear both}
.rn-boot-grid{position:absolute;inset:0;background:linear-gradient(90deg,#ffffff06 1px,transparent 1px),linear-gradient(#ffffff06 1px,transparent 1px),radial-gradient(ellipse at center,#53151b55,transparent 60%);background-size:48px 48px,48px 48px,100% 100%;mask-image:radial-gradient(ellipse,#000,transparent 85%)}
.rn-boot-content{position:relative;display:grid;justify-items:center;gap:11px;width:min(90vw,460px);text-align:center;font:12px/1.4 Consolas,monospace;letter-spacing:.18em}
.rn-boot-emblem{position:relative;width:clamp(105px,22vw,166px);aspect-ratio:1;display:grid;place-items:center;margin-bottom:14px}
.rn-boot-emblem img{width:62%;height:62%;object-fit:contain;animation:rn-emblem-in .65s ease-out both}
.rn-boot-ring{position:absolute;inset:0;border:1px dashed var(--rn-accent);border-radius:50%;animation:rn-orbit 6s linear infinite}
.rn-boot-ring.inner{inset:9%;border:2px solid #ffffff19;border-top-color:var(--rn-accent-bright);border-bottom-color:var(--rn-accent);animation:rn-orbit 2.4s linear infinite reverse}
.rn-boot-aure{color:var(--rn-accent-bright);width:min(220px,60vw);height:20px}.rn-boot-aure svg{width:100%;height:100%}
.rn-boot-content small,.rn-boot-footer{color:var(--rn-muted);font-size:10px}.rn-boot-content strong{font:600 clamp(21px,4vw,35px)/1.1 'Segoe UI',Arial,sans-serif;letter-spacing:.12em}.rn-boot-content>span{color:var(--rn-accent-bright);font-size:10px}
.rn-boot-progress{width:min(270px,75vw);height:3px;background:var(--rn-line);overflow:hidden}.rn-boot-progress i{display:block;height:100%;background:var(--rn-accent);transform-origin:left;animation:rn-boot-progress 1.05s ease-out both}
.rn-module-fx{position:absolute;z-index:3;pointer-events:none;display:grid;place-items:center;overflow:hidden;color:var(--rn-text)}
.rn-module-loading{inset:0;background:var(--rn-bg);animation:rn-module-in .16s ease-out both}
.rn-module-switch{top:12px;right:12px;max-width:calc(100% - 24px);animation:rn-module-chip .65s ease-out both}
.rn-module-card{display:flex;align-items:center;gap:16px;padding:18px 24px;background:var(--rn-surface);border:1px solid var(--rn-line);border-left:3px solid var(--rn-accent);box-shadow:0 10px 35px #0005;max-width:calc(100vw - 32px)}
.rn-module-card>div:nth-child(2){display:grid;gap:5px;min-width:0}.rn-module-card small{font:10px Consolas,monospace;color:var(--rn-accent-bright);letter-spacing:.1em}.rn-module-card strong{font-size:17px;overflow-wrap:anywhere}.rn-module-card span{font-size:11px;color:var(--rn-muted)}
.rn-sigil{position:relative;display:grid;place-items:center;width:60px;height:60px;flex:none;color:var(--rn-accent-bright)}.rn-sigil::before{content:'';position:absolute;inset:0;border:1px dashed var(--rn-accent);border-radius:50%;animation:rn-orbit 3.2s linear infinite}.rn-sigil .ico{width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.5}
.rn-signal{display:flex;gap:4px;align-items:center}.rn-signal i{width:3px;height:22px;background:var(--rn-accent);animation:rn-signal .8s ease-in-out infinite alternate}.rn-signal i:nth-child(2){animation-delay:.14s}.rn-signal i:nth-child(3){animation-delay:.28s}.rn-module-switch .rn-module-card{padding:10px 14px;gap:10px}.rn-module-switch .rn-sigil{width:36px;height:36px}.rn-module-switch .rn-sigil .ico{width:19px;height:19px}.rn-module-switch .rn-module-card strong{font-size:13px}.rn-module-switch .rn-signal{display:none}
html[data-rn-motion=true] .shell .nav button,html[data-rn-motion=true] .shell .dialbtn .orb,html[data-rn-motion=true] .shell .worktab>button{transition:color .16s ease,border-color .16s ease,background-color .16s ease,box-shadow .18s ease,transform .18s ease}
html[data-rn-motion=true] .shell .dialbtn:not(:disabled):hover .orb{transform:translateY(-2px);box-shadow:0 0 18px #e23b4838}
html[data-rn-motion=true] .shell .worktab.active::after{animation:rn-tab-line .22s ease-out both;transform-origin:left}
@keyframes rn-tab-line{from{transform:scaleX(.2)}to{transform:scaleX(1)}}
@keyframes rn-boot-out{0%,68%{opacity:1}100%{opacity:0}}@keyframes rn-emblem-in{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}@keyframes rn-orbit{to{transform:rotate(360deg)}}@keyframes rn-boot-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes rn-module-in{from{opacity:0}to{opacity:1}}@keyframes rn-module-chip{0%{opacity:0;transform:translateY(-6px)}25%,72%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-3px)}}@keyframes rn-signal{from{transform:scaleY(.35);opacity:.45}to{transform:scaleY(1);opacity:1}}
html[data-rn-motion=false] .rn-boot,html[data-rn-motion=false] .rn-module-fx{display:none!important}
@media(prefers-reduced-motion:reduce){.rn-boot,.rn-module-fx{display:none!important}.shell .nav button,.shell .dialbtn .orb,.shell .worktab>button{transition:none!important}.shell .worktab.active::after{animation:none!important}}
@media(max-width:700px){.oc-notify-dialog[open]{max-height:72dvh;inset:64px 10px auto auto;width:min(410px,calc(100vw - 20px))}.rn-module-card{padding:14px;gap:10px}.rn-module-card small{font-size:9px}.rn-signal{display:none}}

/* V1.2.5: opaque loading surfaces stay until readiness; no timed fade-out. */
html.rn-booting #app{opacity:0!important;pointer-events:none!important}.rn-boot{animation:none!important;opacity:1;pointer-events:auto;z-index:10000}.rn-boot-progress i{width:35%;animation:rn-early-progress 1.2s ease-in-out infinite alternate;transform-origin:left}.rn-module-loading{animation:none;opacity:1;pointer-events:auto;z-index:8}.rn-module-card button[hidden],#rnBootSkip[hidden]{display:none!important}.rn-boot button,.rn-module-card button{font:12px/1.4 'Segoe UI',Arial,sans-serif;padding:7px 11px;cursor:pointer;color:var(--rn-text,#eeefef);background:var(--rn-surface,#191c22);border:1px solid var(--rn-accent,#e23b48)}html[data-rn-motion=false] .rn-boot{display:grid!important} @media(prefers-reduced-motion:reduce){.rn-boot{display:grid!important}.rn-boot *{animation:none!important}}

/* V1.2.7 — command dial: decorative layers only; navigation and insignia stay fixed. */
.shell .dial > .rn-command-dial{pointer-events:none;z-index:0}
.shell .dial .center,.shell .dial .dialbtn{z-index:1}
.rn-command-dial :is(.rn-dial-outer,.rn-dial-middle,.rn-dial-inner){transform-box:view-box;transform-origin:50% 50%}
html[data-rn-motion=true] .rn-dial-outer{animation:rn-command-orbit 48s linear infinite}
html[data-rn-motion=true] .rn-dial-middle{animation:rn-command-orbit 32s linear infinite reverse}
html[data-rn-motion=true] .rn-dial-inner{animation:rn-command-orbit 20s linear infinite}
html[data-rn-motion=true] .rn-command-dial :is(.rn-dial-outer,.rn-dial-middle,.rn-dial-inner){animation-delay:var(--rn-dial-phase,0s)}
@keyframes rn-command-orbit{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.shell .dialbtn:not(:disabled):is(:hover,:focus-visible){color:var(--rn-text);z-index:2}
.shell .dialbtn:not(:disabled):is(:hover,:focus-visible) .orb{color:var(--rn-accent-bright);border-color:var(--rn-accent);background:var(--rn-active);box-shadow:0 0 0 4px #e23b481c,0 0 24px #e23b4850}
html[data-rn-motion=true] .shell .dialbtn:not(:disabled):is(:hover,:focus-visible) .orb{transform:scale(1.13)}
html[data-rn-motion=true] .shell .dialbtn:not(:disabled):active .orb{transform:scale(1.04)}
html[data-rn-motion=false] .rn-command-dial *{animation:none!important}
@media(prefers-reduced-motion:reduce){.rn-command-dial *{animation:none!important}.shell .dialbtn .orb{transform:none!important;transition:none!important}}
