    *, *::before, *::after { box-sizing: border-box; }
    .sh-shell { max-width: 1140px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }

    .sh-card { background: #ffffff; border: 1px solid #d0d8e0; border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; box-shadow: 0 1px 4px rgba(15,25,35,.07); }
    .sh-section-title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; font-size: .95rem; font-weight: 700; color: #0f1923; margin: 0 0 1.1rem; padding-bottom: .55rem; border-bottom: 2px solid #b8d9f0; }

    .sh-field { display: flex; flex-direction: column; gap: .3rem; }
    .sh-field label { font-size: .8rem; font-weight: 700; color: #0f1923; }
    .sh-field input, .sh-field select { padding: .65rem .9rem; font-size: .9rem; border: 2px solid #d0d8e0; border-radius: 8px; background: #ffffff; color: #0f1923; transition: border-color .15s, box-shadow .15s; }
    .sh-field input:focus, .sh-field select:focus { outline: none; border-color: #005fa3; box-shadow: 0 0 0 3px rgba(0,95,163,.15); }
    .sh-row { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: .85rem; }
    .f-xs { width: 90px; } .f-sm { width: 150px; } .f-md { width: 190px; } .f-lg { flex: 1; min-width: 180px; }

    /* ── Table ───────────────────────────────────────────── */
    .sh-table { width: 100%; border-collapse: collapse; font-size: .855rem; margin-bottom: .85rem; }
    .sh-table th { background: #2d3f52; color: #ffffff; padding: .6rem .6rem; text-align: left; font-size: .76rem; font-weight: 700; white-space: nowrap; }
    .sh-table th:first-child { border-radius: 8px 0 0 0; } .sh-table th:last-child { border-radius: 0 8px 0 0; }
    .sh-table td { padding: .45rem .5rem; border-bottom: 1px solid #d0d8e0; vertical-align: middle; color: #0f1923; background: #ffffff; }
    .sh-table tr:last-child td { border-bottom: none; }
    .sh-table tr:nth-child(even) td { background: #f0f4f8; }
    .sh-table input, .sh-table select { padding: .4rem .5rem; font-size: .8rem; border: 1.5px solid #b0bcc8; border-radius: 6px; background: #ffffff; color: #0f1923; width: 100%; transition: border-color .15s; }
    .sh-table input:focus, .sh-table select:focus { outline: none; border-color: #005fa3; }
    .col-name    { min-width: 140px; }
    .col-num     { width: 95px; }
    .col-calc    { width: 95px; text-align: right; }
    .col-date    { width: 145px; }
    .col-status  { width: 190px; }
    .col-notes   { min-width: 150px; }
    .col-del     { width: 38px; text-align: center; }
    .sh-calc-cell { font-weight: 700; color: #0f1923; font-variant-numeric: tabular-nums; padding-right: .75rem !important; }
    .sh-calc-cell.warn { color: #b03030 !important; }

    /* ── Status toggle ───────────────────────────────────── */
    .sh-status-group { display: flex; gap: .35rem; flex-wrap: nowrap; }
    .sh-status-btn { padding: .35rem .55rem; font-size: .7rem; font-weight: 700; border: 2px solid #b0bcc8; border-radius: 999px; background: #ffffff; color: #0f1923; cursor: pointer; transition: border-color .15s, background .15s, color .15s; white-space: nowrap; }
    .sh-status-btn:hover { border-color: #005fa3; }
    .sh-status-btn[data-s="approved"].active { background: #3d9a5a; border-color: #2b7a42; color: #ffffff; }
    .sh-status-btn[data-s="pending"].active  { background: #b07800; border-color: #8c5f00; color: #ffffff; }
    .sh-status-btn[data-s="declined"].active { background: #b03030; border-color: #8c2424; color: #ffffff; }

    /* ── Toggle / buttons ────────────────────────────────── */
    .sh-toggle { display: flex; gap: .5rem; flex-wrap: wrap; }
    .sh-toggle-btn { padding: .4rem .9rem; font-size: .8rem; font-weight: 700; border: 2px solid #b0bcc8; border-radius: 999px; background: #ffffff; color: #0f1923; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
    .sh-toggle-btn:hover:not(.active) { border-color: #005fa3; background: #e8f4fb; }
    .sh-toggle-btn.active { background: #2d3f52; border-color: #2d3f52; color: #ffffff; }
    .sh-add-btn { padding: .55rem 1.1rem; font-size: .85rem; font-weight: 700; background: #b8d9f0; color: #0f1923; border: 2px solid #7ec8f0; border-radius: 8px; cursor: pointer; transition: background .15s; }
    .sh-add-btn:hover { background: #90c5e8; }
    .sh-run-btn { padding: .75rem 1.5rem; font-size: .95rem; font-weight: 700; background: #b8d9f0; color: #0f1923; border: 2px solid #7ec8f0; border-radius: 10px; cursor: pointer; transition: background .15s, transform .1s; box-shadow: 0 1px 4px rgba(15,25,35,.08); }
    .sh-run-btn:hover { background: #90c5e8; } .sh-run-btn:active { transform: scale(.97); }
    .sh-print-btn { margin-top: 1rem; }
    .sh-del-btn { padding: .4rem .6rem; font-size: .8rem; font-weight: 700; background: #f5c0c0; color: #0f1923; border: 2px solid #d08080; border-radius: 6px; cursor: pointer; transition: background .15s; }
    .sh-del-btn:hover { background: #f0a0a0; }
    .sh-nav-btn { padding: .5rem .8rem; font-size: .9rem; font-weight: 700; background: #ffffff; color: #0f1923; border: 2px solid #b0bcc8; border-radius: 8px; cursor: pointer; transition: background .15s, border-color .15s; }
    .sh-nav-btn:hover { background: #e8f4fb; border-color: #005fa3; }

    /* ── Results ─────────────────────────────────────────── */
    .sh-results-header { background: #2d3f52; border-radius: 16px; padding: 1.5rem 1.75rem; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; box-shadow: 0 4px 16px rgba(15,25,35,.12); }
    .sh-results-header h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 .2rem; color: #ffffff; }
    .sh-results-header p  { margin: 0; font-size: .875rem; color: #b8d0e8; }

    .results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: .85rem; }
    .result-card { border-radius: 8px; padding: .9rem 1rem; background: #b8d9f0; border: 1px solid #5da8d8; }
    .result-card .result-label { color: #0f1923; font-size: .75rem; font-weight: 700; margin: 0 0 .25rem; }
    .result-card .result-value { color: #0f1923; font-size: 1.35rem; font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
    .result-card.dark { background: #2d3f52; border-color: #1e2d3d; }
    .result-card.dark .result-label { color: #b8d0e8; }
    .result-card.dark .result-value { color: #ffffff; }
    .result-card.good { background: #a8d8b8; border-color: #3d9a5a; }
    .result-card.warn { background: #f0d080; border-color: #b07800; }
    .result-card.bad  { background: #f5c0c0; border-color: #b03030; }
    .result-card.good .result-label, .result-card.good .result-value,
    .result-card.warn .result-label, .result-card.warn .result-value,
    .result-card.bad  .result-label, .result-card.bad  .result-value { color: #0f1923; }

    .sh-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; flex-shrink: 0; white-space: nowrap; }
    .badge-ok   { background: #a8d8b8; color: #0f1923; border: 1px solid #3d9a5a; }
    .badge-warn { background: #f0d080; color: #0f1923; border: 1px solid #b07800; }
    .badge-crit { background: #f5c0c0; color: #0f1923; border: 1px solid #b03030; }
    .badge-info { background: #b8d9f0; color: #0f1923; border: 1px solid #5da8d8; }

    .sh-divider { border: none; border-top: 1px solid #d0d8e0; margin: 1rem 0; }
    .sh-note { font-size: .8rem; font-weight: 700; color: #0f1923 !important; margin: .5rem 0 0; line-height: 1.5; }

    /* ── Results / overlap table ─────────────────────────── */
    .sh-res-table { width: 100%; border-collapse: collapse; font-size: .855rem; margin-bottom: 1.25rem; }
    .sh-res-table th { background: #2d3f52; color: #ffffff; padding: .55rem .7rem; text-align: left; font-size: .78rem; font-weight: 700; }
    .sh-res-table th:first-child { border-radius: 6px 0 0 0; } .sh-res-table th:last-child { border-radius: 0 6px 0 0; }
    .sh-res-table td { padding: .5rem .7rem; border-bottom: 1px solid #d0d8e0; color: #0f1923; font-weight: 600; background: #ffffff; }
    .sh-res-table tr:last-child td { border-bottom: none; }
    .sh-res-table tr:nth-child(even) td { background: #f0f4f8; }

    /* ── Calendar ────────────────────────────────────────── */
    .sh-cal-nav { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
    .sh-cal-label { font-size: 1.05rem; font-weight: 800; color: #0f1923; min-width: 160px; text-align: center; }
    .sh-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
    .sh-cal-dow { font-size: .72rem; font-weight: 700; color: #0f1923; text-align: center; padding: .3rem 0; text-transform: uppercase; }
    .sh-cal-cell { min-height: 78px; border: 1px solid #d0d8e0; border-radius: 6px; padding: .3rem; background: #ffffff; display: flex; flex-direction: column; gap: 2px; }
    .sh-cal-cell.sh-cal-blank { background: #f0f4f8; border-color: #e0e6ec; }
    .sh-cal-daynum { font-size: .72rem; font-weight: 700; color: #0f1923; margin-bottom: .15rem; }
    .sh-cal-cell.sh-cal-over { border-color: #b03030; box-shadow: inset 0 0 0 1px #b03030; }
    .sh-cal-chip { font-size: .65rem; font-weight: 700; padding: .12rem .4rem; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .sh-cal-chip.approved { background: #a8d8b8; color: #0f1923; border: 1px solid #3d9a5a; }
    .sh-cal-chip.pending  { background: #f0d080; color: #0f1923; border: 1px dashed #b07800; }

    /* ── Explainer ───────────────────────────────────────── */
    .sh-explainer { border: 1px solid #d0d8e0; border-radius: 10px; margin-top: 1.5rem; background: #ffffff; overflow: hidden; }
    .sh-explainer-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .9rem 1.25rem; background: #ffffff; border: none; cursor: pointer; font-size: .95rem; font-weight: 700; color: #0f1923; text-align: left; transition: background .15s; }
    .sh-explainer-head:hover { background: #f0f4f8; }
    .sh-explainer-head svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
    .sh-explainer-head[aria-expanded="true"] svg { transform: rotate(180deg); }
    .sh-explainer-body { display: none; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid #d0d8e0; }
    .sh-explainer-body h3 { font-size: .9rem; font-weight: 700; margin: 1rem 0 .25rem; color: #0f1923; }
    .sh-explainer-body h3:first-child { margin-top: 0; }
    .sh-explainer-body p  { font-size: .875rem; margin: 0 0 .3rem; line-height: 1.55; color: #0f1923; }

    .hc-disclaimer { margin-top: 1.5rem; padding: .9rem 1.1rem; background: #b8d9f0; border: 1px solid #5da8d8; border-radius: 10px; font-size: .8rem; line-height: 1.5; }
    .hc-disclaimer p { color: #0f1923; margin: 0; font-weight: 600; }

    /* ── Overrides ───────────────────────────────────────── */
    .sh-card label, .sh-card .sh-section-title, .sh-card input, .sh-card select, .sh-table td, .sh-calc-cell,
    .sh-res-table td, .sh-explainer-body p, .sh-explainer-body h3, .sh-explainer-head,
    .hc-disclaimer p, .sh-cal-label, .sh-cal-daynum { color: #0f1923 !important; }
    .sh-results-header h2 { color: #ffffff !important; }
    .sh-results-header p  { color: #b8d0e8 !important; }
    .sh-toggle-btn.active { color: #ffffff !important; }
    .result-card .result-label, .result-card .result-value { color: #0f1923 !important; }
    .result-card.dark .result-label { color: #b8d0e8 !important; }
    .result-card.dark .result-value { color: #ffffff !important; }

    @media (max-width: 640px) {
        .sh-row { flex-direction: column; align-items: stretch; }
        .results-grid { grid-template-columns: 1fr 1fr; }
        .sh-cal-grid { grid-template-columns: repeat(7, 1fr); gap: 2px; }
        .sh-cal-cell { min-height: 54px; padding: .2rem; }
        .sh-cal-chip { font-size: .58rem; }
    }
    @media print { nav, header, footer, .sh-add-btn, .sh-run-btn, .sh-del-btn, .sh-nav-btn, .sh-explainer, .hc-disclaimer { display: none !important; } .sh-results-header { background: #2d3f52 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
