/* =========================================================================
   Staff Hub interactive demonstration (November 2026), /platform.
   Driven by assets/js/cco-staffhub.js. Shares the navy stage, square grid,
   surfaces and gold accents of the Residence / Organization Health showcases
   (cco-health.css) so the three hubs read as one product. Fictional data only.
   ========================================================================= */
.sh-mount { --sh-text: #EEF2F8; --sh-muted: #A9B6CB; --sh-faint: #8494AF; --sh-line: rgba(160,190,230,.12); --sh-gold: #D9BE80; --sh-ease: cubic-bezier(.22,.61,.36,1); --sh-r: 14px; --sh-surface: linear-gradient(170deg, rgba(27,50,88,.96) 0%, rgba(18,36,66,.97) 100%); display: grid; gap: 12px; }
.sh-mount.is-live > .product-shot { display: none; }
.sh-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sh-i { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Invitation above the stage */
.sh-invite { display: block; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted, #5E6878); }
.sh-invite strong { color: var(--navy, #13294B); font-weight: 600; }
.sh-invite__dot { display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px 2px; vertical-align: middle; border-radius: 50%; background: var(--gold, #C8A14A); box-shadow: 0 0 0 4px rgba(200,161,74,.16); }
.on-dark .sh-invite, .section--navy .sh-invite, .section--deep .sh-invite { color: rgba(255,255,255,.72); }
.on-dark .sh-invite strong, .section--navy .sh-invite strong, .section--deep .sh-invite strong { color: #fff; }

/* ---------- Stage ---------- */
.sh, .sh-dlg {
  position: relative; border-radius: 20px; border: 1px solid rgba(200,161,74,.22); color: var(--sh-text); font-family: var(--sans); text-align: left;
  background:
    linear-gradient(90deg, var(--grid-line, rgba(134,168,214,.05)) var(--grid-weight, 1px), transparent var(--grid-weight, 1px)) 0 0 / var(--grid-size, 80px) var(--grid-size, 80px),
    linear-gradient(180deg, var(--grid-line, rgba(134,168,214,.05)) var(--grid-weight, 1px), transparent var(--grid-weight, 1px)) 0 0 / var(--grid-size, 80px) var(--grid-size, 80px),
    radial-gradient(110% 80% at 0% 0%, rgba(200,161,74,.06), transparent 55%),
    linear-gradient(165deg, #12274A 0%, #0D1E3A 60%, #0A1830 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px -30px rgba(3,9,22,.55), 0 2px 4px rgba(3,9,22,.12);
}
.sh { display: grid; gap: clamp(12px, 1.4vw, 16px); padding: clamp(14px, 2vw, 22px); }
.on-dark .sh, .section--navy .sh, .section--deep .sh { border-color: rgba(200,161,74,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(255,255,255,.03); }
.sh p, .sh-dlg p { margin: 0; }
.sh button, .sh-dlg button, .sh-dlg input, .sh-dlg select, .sh-dlg textarea { font: inherit; margin: 0; -webkit-tap-highlight-color: transparent; }
.sh button, .sh-dlg button { cursor: pointer; }
.sh :focus-visible, .sh-dlg :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.sh-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 2px 2px 4px; }
.sh-bar__env { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #F2C66D; }
.sh-bar__env::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(242,198,109,.14); }
.sh-bar__res { font-size: 13px; color: var(--sh-muted); }
.sh-bar__end { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.sh-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 1px solid rgba(160,190,230,.18); border-radius: 999px; background: transparent; color: var(--sh-muted); font-size: 12px !important; font-weight: 600; transition: color .25s var(--sh-ease), border-color .25s var(--sh-ease); }
.sh-reset .sh-i { width: 14px; height: 14px; }
.sh-reset:hover { color: #fff; border-color: rgba(200,161,74,.5); }

.sh-chip { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid rgba(160,190,230,.2); border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sh-muted); white-space: nowrap; line-height: 1.6; }
.sh-chip--ok { color: #8FE3C8; border-color: rgba(119,222,191,.32); background: rgba(119,222,191,.07); }
.sh-chip--warn { color: #F5C77E; border-color: rgba(245,199,126,.36); background: rgba(245,199,126,.08); }
.sh-chip--gold { color: #F0DCAA; border-color: rgba(200,161,74,.45); background: rgba(200,161,74,.1); }
.sh-chip--info { color: #B9D4F8; border-color: rgba(158,196,246,.34); background: rgba(158,196,246,.08); }

/* Cards: every card is one button */
.sh-card { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; min-width: 0; padding: 18px 20px; border-radius: var(--sh-r); border: 1px solid rgba(160,190,230,.14); background: var(--sh-surface); color: inherit; text-align: left; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .3s var(--sh-ease), box-shadow .3s var(--sh-ease), transform .3s var(--sh-ease), background-color .3s var(--sh-ease); }
.sh-card:hover { border-color: rgba(200,161,74,.42); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 28px -22px rgba(0,0,0,.9); }
.sh-card:active { transform: translateY(1px); }
.sh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 14px); }
.sh-kicker { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.sh-stat__v { margin-top: 8px; font-family: var(--serif); font-size: clamp(30px, 2.8vw, 38px); font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.sh-stat__s { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--sh-muted); }
.sh-more, .sh-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold-light); }
.sh-more { margin-top: auto; padding-top: 14px; opacity: .78; transition: opacity .3s var(--sh-ease); }
.sh-more .sh-i, .sh-link .sh-i { width: 15px; height: 15px; transition: transform .3s var(--sh-ease); }
.sh-card:hover .sh-more, .sh-card:focus-visible .sh-more { opacity: 1; }
.sh-card:hover .sh-more .sh-i, .sh-card:hover .sh-link .sh-i { transform: translateX(3px); }

.sh-panel { padding: 0; }
.sh-panel__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--sh-line); }
.sh-panel__t { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; color: #fff; }
.sh-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(200,161,74,.18); box-shadow: inset 0 0 0 1px rgba(200,161,74,.45); font-family: var(--sans); font-size: 12px; font-weight: 700; color: #F0DCAA; font-variant-numeric: tabular-nums; }
.sh-panel__b { display: grid; gap: 2px; padding: 10px 20px 16px; }
.sh-row { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 14px; color: #DCE4F0; border-top: 1px solid rgba(160,190,230,.07); }
.sh-row:first-child { border-top: 0; }
.sh-row__t { min-width: 0; }
.sh-row__m { color: var(--sh-faint); }
.sh-row__time { flex: 0 0 52px; font-size: 13px; font-weight: 600; color: var(--sh-muted); font-variant-numeric: tabular-nums; }
.sh-row__k { flex: 0 0 150px; min-width: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-muted); }
.sh-row__k::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.sh-row__k--alert { color: #F5C77E; }
.sh-row__k--ack { color: #B9D4F8; }
.sh-row__k--follow { color: #D9BE80; }
.sh-row__k--review { color: #9EC4F6; }
.sh-empty { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14.5px; color: #C9D3E2; }
.sh-empty .sh-i { width: 22px; height: 22px; color: #8FE3C8; }

.sh-prog { display: grid; gap: 7px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--sh-line); }
.sh-prog__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #DCE4F0; }
.sh-prog__h b { font-size: 14px; color: #F0DCAA; font-variant-numeric: tabular-nums; }
.sh-prog__bar { position: relative; display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.sh-prog__bar > span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #B8913E, #E2C788); transition: width .5s var(--sh-ease); }
.sh-prog__s { font-size: 12px; color: var(--sh-faint); }
.sh-prog--lg { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--sh-line); border-radius: 12px; background: rgba(5,12,26,.28); }

.sh-tools { padding-top: 6px; }
.sh-tools__h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sh-tools__t { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.1; color: #fff; }
.sh-tools__s { margin-top: 4px !important; font-size: 13.5px; color: var(--sh-muted); }
.sh-tools__g { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.sh-tools__g li { display: flex; }
.sh-tool { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; width: 100%; min-height: 128px; padding: 14px 14px 12px; border-radius: 12px; border: 1px solid rgba(160,190,230,.14); background: linear-gradient(170deg, rgba(27,50,88,.9), rgba(18,36,66,.94)); color: #EEF2F8; text-align: left; transition: border-color .3s var(--sh-ease), background-color .3s var(--sh-ease), transform .3s var(--sh-ease), box-shadow .3s var(--sh-ease); }
.sh-tool:hover { border-color: rgba(200,161,74,.5); box-shadow: 0 14px 26px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); transform: translateY(-1px); }
.sh-tool__i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(200,161,74,.1); box-shadow: inset 0 0 0 1px rgba(200,161,74,.26); color: var(--gold-light); }
.sh-tool__n { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sh-tool__m { padding-right: 18px; font-size: 11.5px; line-height: 1.35; color: var(--sh-faint); }
.sh-tool__go { position: absolute; right: 12px; bottom: 11px; color: var(--gold-light); opacity: 0; transform: translateX(-3px); transition: opacity .3s var(--sh-ease), transform .3s var(--sh-ease); }
.sh-tool__go .sh-i { width: 14px; height: 14px; }
.sh-tool:hover .sh-tool__go, .sh-tool:focus-visible .sh-tool__go { opacity: 1; transform: none; }

.sh-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; line-height: 1.6; color: var(--muted, #5E6878); }
.on-dark .sh-foot, .section--navy .sh-foot { color: rgba(255,255,255,.6); }

/* ---------- Dialog ---------- */
html.sh-lock { overflow: hidden; }
.sh-dialog { width: min(1000px, calc(100vw - 32px)); max-width: none; max-height: min(90vh, 900px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--sh-text); overflow: visible; }
.sh-dialog::backdrop { background: rgba(5,12,26,.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sh-dialog.is-in .sh-dlg { animation: sh-in .26s var(--sh-ease) both; }
.sh-dialog.is-in::backdrop { animation: sh-fade .26s ease both; }
@keyframes sh-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes sh-fade { from { opacity: 0; } to { opacity: 1; } }
.sh-dlg { display: flex; flex-direction: column; max-height: min(90vh, 900px); overflow: hidden; }
.sh-dlg__head { position: relative; padding: 18px clamp(18px, 2.4vw, 28px) 16px; border-bottom: 1px solid var(--sh-line); background: linear-gradient(180deg, rgba(10,24,48,.4), rgba(10,24,48,0)); }
.sh-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-right: 48px; font-size: 12px; color: var(--sh-faint); }
.sh-crumbs button { padding: 2px 0; border: 0; background: none; color: var(--gold-light); font-size: 12px; font-weight: 600; }
.sh-crumbs button:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-crumbs [aria-current] { color: var(--sh-muted); }
.sh-x { position: absolute; top: 14px; right: 14px; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(160,190,230,.18); border-radius: 10px; background: rgba(5,12,26,.3); color: var(--sh-muted); transition: color .25s var(--sh-ease), border-color .25s var(--sh-ease); }
.sh-x:hover { color: #fff; border-color: rgba(200,161,74,.5); }
.sh-dlg__title { display: flex; align-items: flex-start; gap: 14px; margin-top: 12px; }
.sh-dlg__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; background: rgba(200,161,74,.1); box-shadow: inset 0 0 0 1px rgba(200,161,74,.3); color: var(--gold-light); }
.sh-dlg__icon .sh-i { width: 20px; height: 20px; }
.sh-dlg .sh-dlg__h { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: 0; color: #fff; }
.sh-dlg__h:focus { outline: none; }
.sh-dlg__d { margin-top: 5px !important; font-size: 14px; line-height: 1.5; color: var(--sh-muted); }
.sh-dlg__body { flex: 1 1 auto; min-height: 0; padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px); overflow: auto; overscroll-behavior: contain; scrollbar-color: rgba(160,190,230,.25) transparent; }
.sh-view { animation: sh-view .22s var(--sh-ease) both; }
@keyframes sh-view { from { opacity: .4; } to { opacity: 1; } }
.sh-dlg__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 12px clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--sh-line); background: rgba(5,12,26,.28); }
.sh-dlg__demo { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--sh-faint); }
.sh-dlg__demo .sh-i { width: 13px; height: 13px; }

/* Buttons */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(160,190,230,.2); background: transparent; color: #E6ECF5; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2; text-align: center; transition: color .25s var(--sh-ease), background-color .25s var(--sh-ease), border-color .25s var(--sh-ease); }
.sh-btn .sh-i { width: 16px; height: 16px; }
.sh-btn--gold { border-color: rgba(200,161,74,.6); background: linear-gradient(180deg, rgba(200,161,74,.28), rgba(200,161,74,.16)); color: #F7E8C4; }
.sh-btn--gold:hover { background: linear-gradient(180deg, rgba(200,161,74,.4), rgba(200,161,74,.24)); border-color: rgba(226,199,136,.85); color: #fff; }
.sh-btn--gold[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.sh-btn--ghost:hover { color: #fff; border-color: rgba(200,161,74,.5); background: rgba(255,255,255,.03); }
.sh-btn--text { min-height: 28px; padding: 0; border: 0; color: var(--gold-light); font-size: 12.5px !important; }
.sh-btn--text:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sh-btn--sm { min-height: 34px; padding: 0 12px; font-size: 13px !important; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Layout and content */
.sh-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: start; }
.sh-cols--form { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.sh-cols--log { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.sh-sec { min-width: 0; padding: 18px; border: 1px solid rgba(160,190,230,.12); border-radius: var(--sh-r); background: var(--sh-surface); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.sh-sec > .sh-actions:last-child { margin-bottom: 0; }
.sh-aside { background: rgba(5,12,26,.24); }
.sh-aside__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sh-aside__h .sh-h { margin: 0; }
.sh-dlg .sh-h { margin: 0 0 12px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); line-height: 1.4; }
.sh-muted { font-size: 13px; line-height: 1.55; color: var(--sh-faint); }
.sh-sec .sh-muted + .sh-actions { margin-top: 14px; }
.sh-sum { margin-bottom: 14px !important; font-size: 14.5px; color: #DCE4F0; }

.sh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px; border: 1px solid var(--sh-line); border-radius: 12px; overflow: hidden; background: var(--sh-line); }
.sh-facts > div { padding: 12px 14px; background: #10233F; }
.sh-facts dt { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-faint); }
.sh-facts dd { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: #EEF2F8; }
.sh-facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0; }

.sh-list { display: grid; margin: 0; padding: 0; list-style: none; }
.sh-li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(160,190,230,.08); font-size: 14px; }
.sh-li:first-child { border-top: 0; padding-top: 0; }
.sh-li__time { flex: 0 0 auto; min-width: 54px; font-size: 12.5px; font-weight: 600; color: var(--sh-muted); font-variant-numeric: tabular-nums; }
.sh-li__t { flex: 1 1 auto; min-width: 0; color: #E6ECF5; }
.sh-li__s { display: block; font-size: 12.5px; color: var(--sh-faint); }

.sh-pri { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sh-pri li { display: flex; gap: 12px; }
.sh-pri__n { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(200,161,74,.45); font-size: 12px; font-weight: 700; color: #F0DCAA; }
.sh-pri b { font-size: 14px; color: #fff; }
.sh-pri p { font-size: 13.5px; line-height: 1.5; color: #C9D3E2; }
.sh-pri--plain { margin-bottom: 4px; }

/* Residents */
.sh-res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sh-res li { display: flex; }
.sh-rcard { display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: 100%; padding: 16px 18px; border-radius: var(--sh-r); border: 1px solid rgba(160,190,230,.14); background: var(--sh-surface); color: inherit; text-align: left; transition: border-color .3s var(--sh-ease), box-shadow .3s var(--sh-ease); }
.sh-rcard:hover { border-color: rgba(200,161,74,.45); box-shadow: 0 14px 28px -22px rgba(0,0,0,.9); }
.sh-rcard.is-selected { border-color: rgba(200,161,74,.6); box-shadow: 0 0 0 1px rgba(200,161,74,.14); }
.sh-rcard__top { display: flex; align-items: center; gap: 12px; }
.sh-rcard__top .sh-state { margin-left: auto; }
.sh-rcard__n { display: block; font-size: 16px; font-weight: 600; color: #fff; }
.sh-rcard__r { display: block; font-size: 12.5px; color: var(--sh-faint); }
.sh-rcard__ind { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-rcard__ind > span { display: flex; align-items: baseline; gap: 6px; padding: 8px 10px; border-radius: 9px; background: rgba(5,12,26,.3); font-size: 12px; color: var(--sh-muted); }
.sh-rcard__ind b { font-size: 16px; font-weight: 700; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.sh-rcard__next { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #C9D3E2; }
.sh-rcard__next .sh-i { width: 15px; height: 15px; color: var(--sh-faint); }
.sh-rcard .sh-more { padding-top: 0; }
.sh-rcard:hover .sh-more { opacity: 1; }
.sh-av { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(160deg, #2A4775, #1A3156); box-shadow: inset 0 0 0 1px rgba(160,190,230,.25); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #E6ECF5; }
.sh-av--lg { width: 52px; height: 52px; font-size: 16px; }
.sh-state { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #DCE6F4; white-space: nowrap; }
.sh-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #77DEBF; box-shadow: 0 0 0 3px rgba(119,222,191,.14); }
.sh-state--warn::before { background: #F5C77E; box-shadow: 0 0 0 3px rgba(245,199,126,.16); }
.sh-state--info::before { background: #9EC4F6; box-shadow: 0 0 0 3px rgba(158,196,246,.16); }
.sh-rhead { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sh-rhead > .sh-state { margin-left: auto; }
.sh-rhead__n { font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; line-height: 1.1; }
.sh-rhead__r { font-size: 13px; color: var(--sh-faint); }

/* Timeline */
.sh-tl { display: grid; margin: 0; padding: 0; list-style: none; }
.sh-tl__i { position: relative; display: grid; grid-template-columns: 50px 14px minmax(0, 1fr); gap: 0 10px; padding-bottom: 14px; }
.sh-tl__i::before { content: ""; position: absolute; left: 66px; top: 16px; bottom: -2px; width: 1px; background: rgba(160,190,230,.14); }
.sh-tl__i:last-child::before { display: none; }
.sh-tl__t { padding-top: 1px; font-size: 12.5px; font-weight: 600; color: var(--sh-muted); font-variant-numeric: tabular-nums; }
.sh-tl__dot { width: 9px; height: 9px; margin: 5px 0 0 2px; border-radius: 50%; background: #9EC4F6; box-shadow: 0 0 0 3px rgba(158,196,246,.12); }
.sh-tl__dot--system, .sh-tl__dot--checkin { background: #8494AF; box-shadow: 0 0 0 3px rgba(132,148,175,.14); }
.sh-tl__dot--incident { background: #F5C77E; box-shadow: 0 0 0 3px rgba(245,199,126,.16); }
.sh-tl__dot--activity, .sh-tl__dot--outing { background: #77DEBF; box-shadow: 0 0 0 3px rgba(119,222,191,.12); }
.sh-tl__c { min-width: 0; }
.sh-tl__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13.5px; color: #fff; }
.sh-tl__x { margin-top: 3px !important; font-size: 13.5px; line-height: 1.5; color: #C9D3E2; overflow-wrap: anywhere; }
.sh-tl__by { margin-top: 2px !important; font-size: 11.5px; color: var(--sh-faint); }
.sh-tl__i.is-new .sh-tl__c { margin: -6px -8px 0; padding: 6px 8px; border-radius: 8px; background: rgba(200,161,74,.08); box-shadow: inset 0 0 0 1px rgba(200,161,74,.26); }
.sh-tl--compact .sh-tl__x { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Checklists */
.sh-checks, .sh-req { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sh-check, .sh-toggle, .sh-req__auto { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(160,190,230,.1); background: rgba(5,12,26,.22); cursor: pointer; transition: border-color .25s var(--sh-ease), background-color .25s var(--sh-ease); }
.sh-check:hover, .sh-toggle:hover { border-color: rgba(200,161,74,.42); }
.sh-check input, .sh-toggle input, .sh-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sh-check__box { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; border-radius: 6px; border: 1.5px solid rgba(160,190,230,.4); color: transparent; transition: background-color .2s var(--sh-ease), border-color .2s var(--sh-ease), color .2s var(--sh-ease); }
.sh-check__box .sh-i { width: 13px; height: 13px; stroke-width: 2.6; }
input:checked + .sh-check__box, .sh-req__auto.is-done > .sh-check__box { border-color: #C8A14A; background: #C8A14A; color: #0D1E3A; }
input:focus-visible + .sh-check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.sh-check__c { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.sh-check__t { font-size: 14px; line-height: 1.4; color: #EEF2F8; }
.sh-check__s { font-size: 12.5px; line-height: 1.4; color: var(--sh-faint); }
.sh-check.is-done .sh-check__t { color: var(--sh-muted); text-decoration: line-through; text-decoration-color: rgba(169,182,203,.5); }
.sh-req__auto { align-items: center; cursor: default; }
.sh-req__auto .sh-btn, .sh-req__auto .sh-chip { flex: 0 0 auto; }
.sh-close { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sh-line); }
.sh-close .sh-muted { flex: 1 1 280px; }

/* Attention */
.sh-atts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sh-att { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--sh-r); border: 1px solid rgba(160,190,230,.14); background: var(--sh-surface); transition: border-color .3s var(--sh-ease), opacity .3s var(--sh-ease); }
.sh-att.is-done { border-color: rgba(119,222,191,.22); }
.sh-att.is-done .sh-att__c { opacity: .7; }
.sh-att__c { flex: 1 1 auto; min-width: 0; }
.sh-att__h { display: flex; align-items: center; gap: 10px; }
.sh-att__r { font-size: 12.5px; color: var(--sh-faint); }
.sh-att__t { margin-top: 6px !important; font-size: 15.5px; font-weight: 600; color: #fff; }
.sh-att__x { margin-top: 3px !important; font-size: 13.5px; line-height: 1.5; color: #C9D3E2; }
.sh-att__a { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 12px; flex: 0 0 auto; }
.sh-atts + .sh-sec { margin-top: 16px; }
.sh-att__a .sh-chip, .sh-li .sh-chip { text-transform: none; letter-spacing: .02em; font-size: 12px; }

/* MAR */
.sh-notice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(200,161,74,.35); background: rgba(200,161,74,.07); font-size: 13.5px; line-height: 1.5; color: #E8DDC2; }
.sh-notice .sh-i { margin-top: 1px; color: var(--gold-light); }
.sh-notice b { color: #F7E8C4; }
.sh-mar__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 12px; }
.sh-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid rgba(160,190,230,.14); background: rgba(5,12,26,.4); }
.sh-seg__b { min-height: 34px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--sh-muted); font-size: 13px !important; font-weight: 600 !important; white-space: nowrap; transition: color .25s var(--sh-ease), background-color .25s var(--sh-ease), box-shadow .25s var(--sh-ease); }
.sh-seg__b:hover { color: #fff; background: rgba(255,255,255,.05); }
.sh-seg__b[aria-pressed="true"] { color: #F4E6C4; background: linear-gradient(180deg, rgba(200,161,74,.24), rgba(200,161,74,.12)); box-shadow: inset 0 0 0 1px rgba(200,161,74,.45); }
.sh-mar__sum { display: flex; gap: 14px; font-size: 12.5px; color: var(--sh-muted); }
.sh-mar__sum b { color: #fff; font-variant-numeric: tabular-nums; }
.sh-table { margin-bottom: 14px; border: 1px solid var(--sh-line); border-radius: 12px; overflow: auto; background: rgba(5,12,26,.2); }
.sh-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.sh-table th { padding: 10px 14px; border-bottom: 1px solid var(--sh-line); background: rgba(5,12,26,.3); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-faint); text-align: left; white-space: nowrap; }
.sh-table td { padding: 11px 14px; border-top: 1px solid rgba(160,190,230,.07); color: #DCE4F0; vertical-align: middle; }
.sh-table tbody tr:first-child td { border-top: 0; }
.sh-table td:first-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-table tbody tr:hover td { background: rgba(255,255,255,.02); }

/* Forms */
.sh-form { display: block; }
.sh-field { position: relative; display: block; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.sh-label { display: grid; gap: 7px; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sh-muted); }
.sh-label__t { padding-right: 150px; }
.sh-field:not(.sh-field--hint) .sh-label__t { padding-right: 0; }
.sh-hint { position: absolute; top: -5px; right: 0; }
legend.sh-label { margin-bottom: 8px; }
.sh-dlg .sh-input { width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(160,190,230,.22); background: rgba(5,12,26,.42); color: #EEF2F8; font-size: 14.5px !important; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.5; transition: border-color .25s var(--sh-ease), box-shadow .25s var(--sh-ease); color-scheme: dark; }
.sh-input::placeholder { color: rgba(169,182,203,.55); }
.sh-input:hover { border-color: rgba(160,190,230,.34); }
.sh-input:focus { outline: none; border-color: rgba(200,161,74,.75); box-shadow: 0 0 0 3px rgba(200,161,74,.18); }
.sh-input[readonly] { color: var(--sh-muted); background: rgba(5,12,26,.2); }
.sh-dlg .sh-input--sm { width: auto; min-height: 34px; padding: 4px 10px; font-size: 13px !important; }
textarea.sh-input { resize: vertical; min-height: 104px; }
select.sh-input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2C788' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
select.sh-input option { background: #0F2140; color: #EEF2F8; }
.was-checked .sh-input:invalid { border-color: rgba(245,199,126,.75); }
.sh-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-pick { position: relative; cursor: pointer; }
.sh-pick span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(160,190,230,.22); background: rgba(5,12,26,.3); font-size: 13.5px; color: #C9D3E2; transition: color .2s var(--sh-ease), border-color .2s var(--sh-ease), background-color .2s var(--sh-ease); }
.sh-pick:hover span { border-color: rgba(200,161,74,.5); color: #fff; }
.sh-pick input:checked + span { border-color: rgba(200,161,74,.75); background: rgba(200,161,74,.16); color: #F7E8C4; }
.sh-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.was-checked .sh-picks:has(input:invalid) span { border-color: rgba(245,199,126,.55); }
.sh-boxes { display: grid; gap: 6px; }
.sh-toggle { align-items: center; font-size: 14px; color: #E6ECF5; }
.sh-toggle__n { margin-left: 4px; font-size: 12px; color: var(--sh-faint); font-variant-numeric: tabular-nums; }
.sh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sh-err { margin: 0 0 4px !important; padding: 8px 12px; border-radius: 9px; background: rgba(245,199,126,.1); font-size: 13px; color: #F5D9A8; }
.sh-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px !important; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sh-faint); }
.sh-steps .is-on { color: var(--gold-light); }
.sh-steps .is-done { color: #8FE3C8; }

/* Previews and confirmations */
.sh-doc { padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(226,199,136,.3); background: linear-gradient(180deg, rgba(247,243,234,.06), rgba(247,243,234,.02)); }
.sh-doc__k { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.sh-doc__title { margin-top: 6px !important; font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; line-height: 1.15; }
.sh-doc__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px !important; font-size: 15px; color: #fff; }
.sh-doc__x { margin-top: 10px !important; font-size: 15px; line-height: 1.6; color: #E6ECF5; white-space: pre-wrap; overflow-wrap: anywhere; }
.sh-doc__by { margin-top: 10px !important; font-size: 12.5px; color: var(--sh-faint); }
.sh-doc__pri { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(200,161,74,.08); }
.sh-doc__pri b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #F0DCAA; }
.sh-doc__pri p { margin-top: 4px !important; font-size: 14px; line-height: 1.55; color: #EEF2F8; white-space: pre-wrap; overflow-wrap: anywhere; }
.sh-doc__sec { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sh-line); }
.sh-doc .sh-doc__sec h4 { margin: 0 0 8px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.sh-doc__sec ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sh-doc__sec li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: #DCE4F0; }
.sh-doc__sec li > span:first-child { flex: 0 0 78px; font-size: 12px; font-weight: 600; color: var(--sh-faint); }
.sh-doc__sec li b { margin-right: 4px; color: #fff; }

.sh-ok { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(119,222,191,.3); background: rgba(119,222,191,.07); }
.sh-ok__i { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: rgba(119,222,191,.18); color: #8FE3C8; }
.sh-ok__i .sh-i { width: 15px; height: 15px; stroke-width: 2.4; }
.sh-ok__t { font-size: 15px; font-weight: 600; color: #fff; }
.sh-ok__x { margin-top: 3px !important; font-size: 13.5px; line-height: 1.55; color: #C9D3E2; }

.sh-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 6px 0 0; padding: 0; list-style: none; counter-reset: sh; }
.sh-flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-flow li { position: relative; display: grid; gap: 4px; padding: 0 12px 0 0; }
.sh-flow li::before { content: ""; position: absolute; left: 22px; right: 0; top: 10px; height: 1px; background: rgba(160,190,230,.2); }
.sh-flow li:last-child::before { display: none; }
.sh-flow li.is-done::before { background: linear-gradient(90deg, #C8A14A, rgba(200,161,74,.35)); }
.sh-flow__d { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; border: 1.5px solid rgba(160,190,230,.35); background: #0E1F3A; color: #0D1E3A; }
.sh-flow__d .sh-i { width: 12px; height: 12px; stroke-width: 2.8; }
.sh-flow li.is-done .sh-flow__d { border-color: #C8A14A; background: #C8A14A; }
.sh-flow li.is-on .sh-flow__d { border-color: #E2C788; box-shadow: 0 0 0 4px rgba(200,161,74,.16); }
.sh-flow li.is-on .sh-flow__d::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E2C788; }
.sh-flow__t { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #fff; }
.sh-flow li:not(.is-done):not(.is-on) .sh-flow__t { color: var(--sh-muted); }
.sh-flow__s { font-size: 12px; line-height: 1.45; color: var(--sh-faint); }

.sh-mgr { margin-top: 20px; padding: 16px 18px; border-radius: var(--sh-r); border: 1px solid rgba(158,196,246,.24); background: linear-gradient(170deg, rgba(24,46,82,.95), rgba(15,32,60,.97)); }
.sh-mgr__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 14px !important; padding-bottom: 12px; border-bottom: 1px solid var(--sh-line); font-size: 12.5px; color: var(--sh-muted); }
.sh-mgr__env { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8EC1FF; }
.sh-mgr__env::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sh-mgr__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.sh-mgr__ref { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #F0DCAA; }
.sh-mgr__t { margin-top: 4px !important; font-size: 16px; font-weight: 600; color: #fff; }
.sh-mgr__x { margin-top: 4px !important; font-size: 13.5px; line-height: 1.55; color: #C9D3E2; overflow-wrap: anywhere; }
.sh-mgr__chips { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; }
.sh-mgr > .sh-h { margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sh-tools__g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-tool { min-height: 112px; }
}
@media (max-width: 860px) {
  .sh-cols, .sh-cols--form, .sh-cols--log { grid-template-columns: minmax(0, 1fr); }
  .sh-facts, .sh-facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-flow, .sh-flow--3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sh-flow li { grid-template-columns: 21px minmax(0, 1fr); column-gap: 12px; }
  .sh-flow li::before { left: 10px; right: auto; top: 22px; bottom: -14px; width: 1px; height: auto; }
  .sh-flow__d { grid-row: 1 / 3; }
  .sh-flow__t { margin-top: 1px; }
}
@media (max-width: 720px) {
  .sh { padding: 12px; border-radius: 16px; }
  .sh-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sh-stats > :first-child { grid-column: 1 / -1; }
  .sh-card { padding: 16px; }
  .sh-panel { padding: 0; }
  .sh-panel__h { padding: 14px 16px; }
  .sh-panel__b { padding: 8px 16px 14px; }
  .sh-row:has(.sh-row__k) { flex-wrap: wrap; gap: 2px 10px; }
  .sh-row__k { flex-basis: 100%; }
  .sh-row__time { flex-basis: 46px; }
  .sh-tools__g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sh-tool { min-height: 104px; padding: 12px; }
  .sh-bar__end { margin-left: 0; width: 100%; justify-content: space-between; }
  .sh-res { grid-template-columns: minmax(0, 1fr); }
  .sh-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .sh-dlg { height: 100%; max-height: 100dvh; border-radius: 0; border-width: 0; }
  .sh-att { flex-direction: column; align-items: stretch; }
  .sh-att__a { justify-content: flex-start; }
  .sh-mgr__row { flex-direction: column; }
  .sh-mgr__chips { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .sh-grid2 { grid-template-columns: minmax(0, 1fr); }
  .sh-label__t { padding-right: 0; }
  .sh-hint { position: static; display: block; margin-top: 4px; }
  .sh-dlg__foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .sh-dlg__demo { display: none; }
  .sh-actions .sh-btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .sh-stats { grid-template-columns: minmax(0, 1fr); }
  .sh-facts, .sh-facts--4 { grid-template-columns: minmax(0, 1fr); }
  .sh-tool__m { display: none; }
  .sh-tool { min-height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .sh *, .sh-dialog, .sh-dialog *, .sh-dialog::backdrop { animation: none !important; transition: none !important; }
}
