    :root{--bg:#f4f6f5;--paper:#fff;--ink:#172a2c;--muted:#748284;--line:#e6ecea;--teal:#087f73;--teal-dark:#07695f;--teal-soft:#e5f4f1;--orange:#e69b4a;--red:#ca685e;--navy:#183638;--shadow:0 12px 34px rgba(22,51,48,.055);--radius:18px}
    *{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:var(--navy);color:#d4e1de;padding:25px 16px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:11px;padding:0 11px 32px;color:#fff;font-family:Manrope,sans-serif;font-weight:800;font-size:17px;letter-spacing:-.5px}.brand-mark{width:34px;height:34px;background:#15a08e;border-radius:11px;display:grid;place-items:center;color:#fff}.brand-mark svg{width:19px}.brand span small{display:block;color:#89aaa4;font-family:'DM Sans';font-size:10px;font-weight:500;letter-spacing:1px;text-transform:uppercase;margin-top:1px}.nav-label{padding:0 12px;color:#7e9a96;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;font-weight:700;margin:0 0 10px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 12px;color:#a9bfbb;text-decoration:none;border-radius:10px;margin:2px 0;font-weight:500}.nav-item svg{width:18px;height:18px;opacity:.8}.nav-item.active{background:rgba(33,172,151,.17);color:#79ddcb}.side-bottom{margin-top:auto}.side-help{padding:14px;background:#204346;border:1px solid #315456;border-radius:13px;color:#d4e2df;font-size:12px;line-height:1.6}.side-help b{display:block;color:#fff;font-size:12px;margin-bottom:4px}.side-help a{color:#81d6c8;text-decoration:none}.profile{display:flex;align-items:center;gap:10px;margin:20px 8px 0;padding-top:18px;border-top:1px solid #365153}.avatar{height:33px;width:33px;border-radius:50%;display:grid;place-items:center;background:#d6e9e4;color:#176c61;font-weight:700}.profile b{display:block;color:#fff;font-size:12px}.profile small{display:block;color:#8ea7a2;font-size:11px;margin-top:3px}.main{margin-left:242px;padding:28px 36px 50px;max-width:1600px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.crumb{color:var(--muted);font-size:12px}.crumb b{color:var(--ink);font-weight:600}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{border:1px solid var(--line);background:#fff;width:38px;height:38px;border-radius:11px;color:#627371;display:grid;place-items:center;position:relative}.icon-btn svg{width:17px}.dot{position:absolute;width:6px;height:6px;background:#e79555;border-radius:50%;top:8px;right:8px;border:1px solid white}.top-avatar{height:36px;width:36px;border-radius:50%;display:grid;place-items:center;background:#d8ebe5;color:#176c61;font-weight:700;margin-left:3px}.heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:23px}.eyebrow{color:var(--teal);font-size:11px;text-transform:uppercase;letter-spacing:1px;font-weight:700;margin-bottom:7px}.heading h1{font:800 28px/1.2 Manrope,sans-serif;letter-spacing:-1px;margin:0}.heading p{color:var(--muted);margin:8px 0 0;font-size:13px}.month-control{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);padding:7px 10px;border-radius:12px;box-shadow:0 2px 4px #173b3610}.month-control button{border:0;background:transparent;color:#82918f;display:grid;place-items:center;padding:4px}.month-control button svg{width:16px}.month-control span{font-weight:700;font-size:13px;min-width:125px;text-align:center}.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.card{background:var(--paper);border:1px solid #e9efed;border-radius:var(--radius);box-shadow:var(--shadow)}.summary{grid-column:span 3;padding:18px 19px 17px;position:relative;overflow:hidden}.summary:after{content:"";position:absolute;width:80px;height:80px;border-radius:50%;background:#f0f7f5;right:-24px;top:-28px}.summary-head{display:flex;align-items:center;justify-content:space-between;color:#758583;font-size:12px;position:relative;z-index:1}.metric-icon{width:31px;height:31px;border-radius:9px;background:var(--teal-soft);color:var(--teal);display:grid;place-items:center}.metric-icon svg{width:16px}.metric{font:800 25px Manrope,sans-serif;letter-spacing:-.8px;margin:14px 0 5px}.metric-caption{color:#84918f;font-size:11px}.trend{display:inline-flex;align-items:center;gap:3px;color:var(--teal);font-size:10px;font-weight:700;margin-top:12px}.summary.highlight{background:#0b796e;color:white;border-color:#0b796e}.summary.highlight:after{background:rgba(255,255,255,.06)}.summary.highlight .summary-head,.summary.highlight .metric-caption{color:#c4e5df}.summary.highlight .metric-icon{background:#299286;color:#fff}.summary.highlight .trend{color:#c6eee7}.summary.highlight .metric{font-size:27px}.content-left{grid-column:span 8}.content-right{grid-column:span 4}.section-card{padding:20px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-head h2{font:700 15px Manrope,sans-serif;margin:0;letter-spacing:-.2px}.section-head p{color:var(--muted);font-size:11px;margin:5px 0 0}.subtle-button{border:1px solid var(--line);background:#fff;color:#506461;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:7px}.subtle-button svg{width:14px}.chart-top{display:flex;gap:17px;color:#7b8987;font-size:10px}.legend{display:flex;gap:14px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:2px;background:#168779}.legend span:nth-child(2) i{background:#84c9bc}.legend span:nth-child(3) i{background:#edb76e}.chart{height:171px;display:flex;align-items:stretch;gap:7px;padding:12px 2px 0;border-bottom:1px solid var(--line)}.day-column{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.bar-stack{height:132px;width:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:2px}.bar{width:min(19px,72%);min-height:0;border-radius:4px 4px 2px 2px;background:#168779;position:relative;transition:height .25s}.bar.afternoon{background:#84c9bc;border-radius:2px}.bar.night{background:#edb76e;border-radius:2px 2px 4px 4px}.day-label{color:#94a09e;font-size:9px;margin:7px 0 10px}.day-column.today .day-label{color:var(--teal);font-weight:700}.stats-list{display:flex;flex-direction:column;gap:13px}.stat-row{display:flex;align-items:center;justify-content:space-between;font-size:12px}.stat-name{display:flex;align-items:center;gap:8px;color:#637370}.stat-dot{width:8px;height:8px;border-radius:3px;background:#168779}.stat-row:nth-child(2) .stat-dot{background:#84c9bc}.stat-row:nth-child(3) .stat-dot{background:#edb76e}.stat-row:nth-child(4) .stat-dot{background:#7e91c6}.stat-row strong{font-size:12px}.mini-progress{height:5px;background:#eef2f1;border-radius:8px;margin-top:7px;overflow:hidden}.mini-progress span{height:100%;display:block;background:#168779;border-radius:8px}.info-box{padding:11px 12px;background:#f5f8f7;color:#75827f;border-radius:10px;font-size:10px;line-height:1.5;margin-top:17px}.lower-left{grid-column:span 8}.lower-right{grid-column:span 4}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#98a3a1;text-transform:uppercase;letter-spacing:.6px;font-size:9px;font-weight:700;padding:0 10px 11px;border-bottom:1px solid var(--line)}td{padding:11px 10px;border-bottom:1px solid #f0f3f2;font-size:11px;color:#536360}tr:last-child td{border-bottom:0}.date-cell{display:flex;align-items:center;gap:9px;color:#213634;font-weight:600}.date-badge{width:29px;height:31px;border-radius:8px;background:#f1f5f4;text-align:center;padding-top:4px;font-size:11px;line-height:1.1}.date-badge small{display:block;color:#8b9997;font-size:8px;text-transform:uppercase}.pill{display:inline-flex;padding:4px 7px;border-radius:6px;background:#e9f5f1;color:#087b6c;font-size:9px;font-weight:700}.pill.leave{background:#f0eef9;color:#7466a7}.pill.holiday{background:#fff2e4;color:#b8742d}.pill.rest{background:#f2f4f4;color:#7d8987}.action-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.text-button{border:0;background:none;color:var(--teal);font-size:11px;font-weight:700;padding:5px 0}.small-muted{font-size:10px;color:#8b9997}.right-card{padding:20px}.pay-total{padding:14px;background:#f2f8f6;border:1px solid #e3f0ec;border-radius:13px;margin:10px 0 15px}.pay-total small{color:#71817e;font-size:10px}.pay-total strong{display:block;font:800 24px Manrope,sans-serif;letter-spacing:-.8px;margin-top:5px;color:#087568}.pay-lines{display:flex;flex-direction:column;gap:12px}.pay-line{display:flex;justify-content:space-between;font-size:11px;color:#697875}.pay-line strong{font-size:11px;color:#273b39}.pay-line.total{padding-top:11px;border-top:1px solid var(--line);font-weight:700;color:#30423f}.divider{border:0;border-top:1px solid var(--line);margin:14px 0}.settings-link{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:15px;padding:10px;border:1px solid #dce8e4;border-radius:9px;background:#fff;color:var(--teal);font-size:11px;font-weight:700}.settings-link svg{width:14px}.settings-note{color:#98a3a1;font-size:9px;line-height:1.45;margin-top:10px}.import-strip{grid-column:span 12;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff}.import-text{display:flex;align-items:center;gap:12px}.import-icon{width:40px;height:40px;border-radius:12px;background:#eaf5f2;color:var(--teal);display:grid;place-items:center}.import-icon svg{width:20px}.import-text b{font-size:12px}.import-text p{margin:4px 0 0;color:#82908d;font-size:10px}.import-actions{display:flex;gap:8px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;background:var(--teal);color:#fff;padding:10px 14px;font-size:11px;font-weight:700}.primary-button:hover{background:var(--teal-dark)}.primary-button svg{width:15px}.ghost-button{border:1px solid var(--line);background:#fff;border-radius:9px;color:#4e625f;padding:9px 12px;font-size:11px;font-weight:600}.mobile-menu{display:none}.toast{position:fixed;right:24px;bottom:24px;z-index:10;background:#183638;color:white;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow);font-size:12px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}
    dialog{border:0;padding:0;width:min(700px,calc(100vw - 30px));border-radius:18px;box-shadow:0 24px 90px #102b2a40;color:var(--ink)}dialog::backdrop{background:#102b2a88;backdrop-filter:blur(3px)}.modal-head{padding:22px 24px 16px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between}.modal-head h2{font:800 19px Manrope;margin:0}.modal-head p{font-size:11px;color:var(--muted);margin:7px 0 0}.close-btn{border:0;background:#f1f5f4;width:30px;height:30px;border-radius:8px;color:#687673}.modal-body{padding:21px 24px;max-height:65vh;overflow:auto}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.field label{display:block;font-size:10px;font-weight:700;color:#657572;margin-bottom:6px}.field input,.field select{width:100%;height:39px;border:1px solid #dfe7e4;border-radius:8px;padding:0 10px;background:white;color:#263b38;outline:0}.field input:focus,.field select:focus{border-color:#54aa9d;box-shadow:0 0 0 3px #54aa9d20}.field small{display:block;color:#9aa5a3;font-size:9px;margin-top:5px;line-height:1.35}.form-section{font:700 12px Manrope;margin:19px 0 11px}.modal-foot{border-top:1px solid var(--line);padding:14px 24px;display:flex;justify-content:space-between;align-items:center}.modal-foot p{margin:0;color:#8b9997;font-size:9px}.modal-actions{display:flex;gap:8px}.schedule-dialog{width:min(870px,calc(100vw - 30px))}.editor-hint{padding:12px;background:#f4f8f7;border-radius:9px;color:#6c7c79;font-size:10px;line-height:1.55;margin-bottom:14px}.editor-controls{display:flex;gap:8px;align-items:center;margin-bottom:12px}.editor-controls input[type=month]{border:1px solid var(--line);border-radius:8px;padding:8px}.editor-table input,.editor-table select{border:1px solid #e1e8e6;border-radius:6px;padding:6px;font-size:10px;background:white}.editor-table input[type=date]{width:125px}.editor-table input[type=time]{width:87px}.editor-table input[type=number]{width:65px}.editor-table select{width:118px}.editor-table .rest-check{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#506461;font-size:10px}.editor-table .rest-check input{width:14px;height:14px;margin:0;padding:0;accent-color:var(--teal)}.delete-row{border:0;background:#fff0ef;color:#ba6259;border-radius:6px;width:26px;height:26px}.file-drop{border:1px dashed #b8ceca;background:#f7faf9;border-radius:11px;padding:20px;text-align:center;color:#637572;font-size:11px;margin-bottom:12px}.file-drop b{color:#234440}.file-drop input{display:block;margin:10px auto 0;font-size:10px;max-width:240px}.toast.error{background:#a74840}
    @media(max-width:1120px){.sidebar{width:205px}.main{margin-left:205px;padding:25px 23px}.summary{grid-column:span 6}.content-left,.lower-left{grid-column:span 7}.content-right,.lower-right{grid-column:span 5}}
    @media(max-width:760px){.topbar{margin-bottom:22px}.heading{align-items:flex-start;flex-direction:column;gap:15px}.heading h1{font-size:24px}.month-control{align-self:stretch;justify-content:space-between}.content-left,.content-right,.lower-left,.lower-right{grid-column:span 12}.summary{grid-column:span 6}.summary .metric{font-size:22px}.summary.highlight .metric{font-size:23px}.import-strip{align-items:flex-start;flex-direction:column}.import-actions{width:100%}.import-actions button{flex:1}.top-actions .icon-btn:first-child{display:none}}
    @media(max-width:480px){.main{padding:16px 12px 26px}.grid{gap:11px}.summary{padding:14px 13px;border-radius:14px}.summary-head{font-size:10px}.metric{font-size:20px!important;margin:11px 0 4px}.metric-caption{font-size:9px}.trend{font-size:9px;margin-top:9px}.section-card,.right-card{padding:15px}.section-head h2{font-size:14px}.chart-top{gap:8px}.legend{gap:8px}.legend span{gap:3px}.chart{gap:3px}.day-label{font-size:8px}.heading p{font-size:11px}.crumb{font-size:11px}.form-grid{grid-template-columns:1fr}.modal-body{padding:17px}.modal-head,.modal-foot{padding-left:17px;padding-right:17px}.modal-foot p{max-width:130px}.editor-controls{flex-wrap:wrap}.table-wrap{margin:0 -5px}.import-text p{line-height:1.4}}

    /* Portal shell: views, router state and mobile tab bar */
    [hidden]{display:none!important}
    a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #54aa9d;outline-offset:2px}
    .heading h1:focus{outline:0}
    .nav-item[aria-current=page]{background:rgba(33,172,151,.17);color:#79ddcb}
    .nav-item[aria-current=page] svg{opacity:1}
    [data-view=schedule] .lower-left{grid-column:span 12}
    [data-view=pay] .lower-right{grid-column:span 6}
    .placeholder{grid-column:span 12}
    .placeholder h2{font:700 15px Manrope,sans-serif;margin:0 0 6px}
    .placeholder p{margin:0;color:var(--muted);font-size:13px}
    .tabbar{display:none}
    @media(max-width:1120px){[data-view=pay] .lower-right{grid-column:span 12}}
    @media(max-width:760px){
      .sidebar{display:none}
      .main{margin-left:0;padding-bottom:calc(92px + env(safe-area-inset-bottom))}
      .tabbar{position:fixed;inset:auto 0 0 0;z-index:5;display:grid;grid-template-columns:repeat(5,1fr);background:var(--navy);padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px rgba(16,43,42,.18)}
      .tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;border-radius:10px;color:#a9bfbb;text-decoration:none;font-size:10px;font-weight:600}
      .tab svg{width:22px;height:22px}
      .tab[aria-current=page]{color:#79ddcb;background:rgba(33,172,151,.17)}
      .toast{right:12px;left:12px;bottom:calc(84px + env(safe-area-inset-bottom))}
    }
    .bkv-import{margin:0 0 16px}
    .bkv-paste{display:block;width:100%;height:110px;margin:8px 0;border:1px solid #dfe7e4;border-radius:8px;padding:10px;font:11px monospace}
    .bkv-report{white-space:pre-line;margin-top:10px;font-size:11px;color:#506461}
    .bkv-report.error{color:#a74840}
    .bkv-bookmarklet{display:inline-block;padding:4px 10px;border-radius:8px;background:var(--navy);color:#fff;font-weight:700;text-decoration:none;cursor:grab}

    /* Design: navy sidebar, crimson accent */
    :root{--bg:#f3f5f9;--ink:#172036;--muted:#68748a;--line:#e3e8f0;--teal:#a81f3b;--teal-dark:#8a1830;--teal-soft:#fbe8ec;--navy:#14284b;--accent:#a81f3b;--shadow:0 10px 30px rgba(20,40,75,.07)}
    .sidebar{background:var(--navy);color:#cfd8e8}
    .brand-mark{background:var(--accent)}
    .brand span small,.nav-label{color:#8fa0bd}
    .nav-item{color:#b7c3d9}
    .nav-item:hover{background:rgba(255,255,255,.07);color:#fff}
    .nav-item[aria-current=page]{background:var(--accent);color:#fff}
    .side-help{background:#1b3560;border-color:#2c4878;color:#d3dcec}
    .side-help a{color:#f2b6c2}
    .profile{border-top-color:#2c4878}
    .avatar,.top-avatar{background:#e6ebf5;color:var(--navy)}
    .profile small{color:#9fb0cc}
    .dot{background:var(--accent)}
    .toast{background:var(--navy)}
    a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline-color:var(--accent)}
    .summary.highlight{background:var(--navy);border-color:var(--navy)}
    .summary.highlight .summary-head,.summary.highlight .metric-caption,.summary.highlight .trend{color:#c9d4e8}
    .summary.highlight .metric-icon{background:#2a4676}
    .summary:after{background:#f1f4f9}
    .bar,.legend i,.stat-dot,.mini-progress span{background:var(--navy)}
    .bar.afternoon,.legend span:nth-child(2) i{background:#8da2c7}
    .bar.night,.legend span:nth-child(3) i{background:var(--accent)}
    .pill{background:#e8edf7;color:#1d3a6e}
    .pay-total{background:#f3f6fb;border-color:#e0e7f2}
    .pay-total strong{color:var(--navy)}
    .tabbar{background:var(--navy)}
    .tab{color:#b7c3d9}
    .tab[aria-current=page]{background:var(--accent);color:#fff}
    .field input:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #a81f3b22}

    /* Overview */
    [data-view=overview] .next-duty{grid-column:span 6}
    [data-view=overview] .hours-card{grid-column:span 6}
    [data-view=overview] .calendar-card{grid-column:span 12}
    .duty-time{font:800 30px Manrope,sans-serif;letter-spacing:-1px;color:var(--navy)}
    .duty-date{color:var(--muted);margin:2px 0 14px;text-transform:capitalize}
    .duty-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px 16px;margin:0}
    .duty-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);font-weight:700}
    .duty-facts dd{margin:2px 0 0;font-weight:600;color:var(--ink)}
    .hours-figure{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}
    .hours-figure strong{font:800 34px Manrope,sans-serif;letter-spacing:-1px;color:var(--navy)}
    .hours-figure span{color:var(--muted);font-weight:600}
    .progress{height:9px;background:#e8edf5;border-radius:9px;overflow:hidden}
    .progress span{display:block;height:100%;background:var(--accent);border-radius:9px;transition:width .3s}
    .hours-card .small-muted{margin:10px 0 0}
    .cal-week,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
    .cal-week span{text-align:center;font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;padding-bottom:4px}
    .cal-cell{min-height:64px;border:1px solid var(--line);border-radius:10px;padding:6px;display:flex;flex-direction:column;gap:4px;align-items:flex-start;background:#fff}
    .cal-cell.empty{border:0;background:none}
    .cal-cell.today{border-color:var(--accent);box-shadow:0 0 0 2px #a81f3b25}
    .cal-day{font-size:11px;font-weight:700;color:var(--ink)}
    .cal-cell.today .cal-day{color:var(--accent)}
    .chip{display:inline-block;padding:2px 7px;border-radius:6px;font-size:10px;font-weight:700;line-height:1.4}
    i.chip{width:12px;height:12px;padding:0;border-radius:4px;vertical-align:-1px;margin-right:6px}
    .chip.de{background:#fdecc8;color:#7a4b00}
    .chip.du{background:#dbe5f7;color:#16366b}
    .chip.ej{background:var(--navy);color:#fff}
    .chip.pih{background:#e9ecf1;color:#46526a}
    .chip.fsz{background:#dff1e6;color:#1d5a37}
    .cal-legend{display:flex;flex-wrap:wrap;gap:14px;list-style:none;margin:14px 0 0;padding:0;font-size:11px;color:var(--muted)}
    #scheduleBody tr.today td{background:#fbe8ec}
    #scheduleBody tr.today td:first-child{border-radius:10px 0 0 10px}
    #scheduleBody tr.today td:last-child{border-radius:0 10px 10px 0}
    .muted-line{color:var(--muted);font-size:10px}
    .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
    .day-body>*+*{margin-top:14px}
    .day-times{grid-template-columns:repeat(3,1fr)}
    .day-details summary{cursor:pointer;font-weight:700;font-size:12px;color:var(--navy);margin-bottom:12px}
    .form-error{color:#a74840;font-size:12px;margin:0;min-height:1em}
    .danger-button{color:#a74840;border-color:#ecc5c1}
    #scheduleBody td.row-action{text-align:right}
    .cal-cell.weekend{background:#eef2f9;border-color:#d3dcec}
    .cal-cell.weekend .cal-day{color:#3b5382}
    .cal-cell.holiday{background:#fdeaea;border-color:#e3a3a0}
    .cal-cell.holiday .cal-day{color:#b3261e}
    .chip.wknd{background:#eef2f9;box-shadow:inset 0 0 0 1px #c3cfe6}
    .chip.hol{background:#fdeaea;box-shadow:inset 0 0 0 1px #e3a3a0}
    #scheduleBody tr.weekend-day .date-badge{background:#e3eaf6;color:#3b5382}
    #scheduleBody tr.holiday-day .date-badge{background:#fdeaea;color:#b3261e;box-shadow:inset 0 0 0 1px #e3a3a0}
    #scheduleBody tr.holiday-day .date-badge small{color:#b3261e}
    .row-actions{display:flex;gap:18px}
    .text-button.danger{color:#a74840}
    .type-select{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:11px;font-weight:600;padding:5px 6px;max-width:130px}
    @media(max-width:760px){
      [data-view=schedule] table,[data-view=schedule] tbody{display:block;white-space:normal}
      [data-view=schedule] thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
      #scheduleBody tr{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;padding:12px;margin-bottom:10px;border:1px solid var(--line);border-radius:12px}
      #scheduleBody tr.today{border-color:var(--accent);background:#fbe8ec}
      #scheduleBody td{display:block;padding:0;border:0;background:none!important;border-radius:0!important}
      #scheduleBody td::before{content:attr(data-label);display:block;font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);font-weight:700;margin-bottom:2px}
      #scheduleBody td[data-label=Nap]{grid-column:1/-1}
      #scheduleBody td[data-label=Nap]::before,#scheduleBody td.row-action::before{display:none}
      #scheduleBody td.row-action{grid-column:1/-1;text-align:left}
      #scheduleBody td[colspan]{grid-column:1/-1}
    }
    @media(max-width:1120px){[data-view=overview] .next-duty,[data-view=overview] .hours-card{grid-column:span 12}}
    @media(max-width:760px){.cal-grid,.cal-week{gap:3px}.cal-cell{min-height:52px;padding:4px;border-radius:8px}.chip{font-size:9px;padding:1px 4px}.duty-time{font-size:26px}}
