:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#343642;background:#f7f5f5}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{min-height:100svh;display:grid;grid-template-columns:46% 54%}.brand{padding:64px clamp(32px,6vw,90px);background:#962d3e;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:60px}.wordmark{font-size:38px;font-weight:800;letter-spacing:7px}.wordmark span{font-size:11px;display:block;letter-spacing:5px;margin-top:5px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700}h1{font-size:clamp(42px,5vw,72px);line-height:1.06;font-weight:600;letter-spacing:-2px;margin:22px 0}.tagline{font-size:19px;line-height:1.6}.foot{font-size:13px;opacity:.8}.panel{padding:60px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center}.card{width:100%;max-width:430px;background:white;border:1px solid #e7e0e1;border-radius:20px;padding:40px;box-shadow:0 20px 60px #34364208}h2{font-size:29px;letter-spacing:-.8px;margin:20px 0 10px}#intro,.help,.privacy{font-size:14px;color:#696a73;line-height:1.6}label{display:block;font-size:13px;font-weight:600;margin-top:22px}input{display:block;width:100%;margin-top:8px;padding:13px;border:1px solid #c8c6cc;border-radius:8px;font:inherit;font-size:16px}button{font:inherit;cursor:pointer;border:0}#submit{background:#962d3e;color:white;padding:14px;width:100%;border-radius:8px;margin-top:26px;font-weight:600}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d7a1ac;outline-offset:3px}.links{margin:22px 0}.text{background:none;color:#962d3e;padding:3px 0;text-align:left;font-size:14px}.help{border-top:1px solid #eee6e8;padding-top:22px;margin-bottom:0}a{color:#962d3e}.privacy{max-width:380px;text-align:center;font-size:12px;margin-top:24px}#message:empty{display:none}#message{padding:12px;background:#f7ecef;border-radius:7px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}#message.error{background:#fff0ee;color:#8b2630}@media(max-width:700px){main{grid-template-columns:1fr}.brand{padding:28px;gap:24px}.wordmark{font-size:25px}.brand h1{font-size:36px;margin:10px 0;letter-spacing:-1px}.brand .eyebrow,.foot{display:none}.tagline{font-size:14px;margin-bottom:0}.panel{padding:28px 18px}.card{padding:28px}}
.wordmark img{display:block;background:white;border-radius:8px;object-fit:contain;padding:8px}
.signed main{grid-template-columns:28% 72%}.signed .card{max-width:850px}.signed .panel{justify-content:flex-start}.signed .brand{padding:40px 28px}.signed h1{font-size:44px}#workspace{background:#fff;border:1px solid #e7e0e1;border-radius:20px;padding:28px;width:100%;max-width:850px;margin-top:20px}.notice{padding:14px;background:#f7ecef;border-radius:8px;font-size:14px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left;white-space:nowrap}caption{text-align:left;font-size:12px;color:#696a73;padding:16px 0}td,th{padding:14px 10px;border-bottom:1px solid #eee}th{font-size:12px;color:#696a73}.badge{border-left:5px solid;padding:5px 9px;background:#f7f5f5;border-radius:4px;display:inline-block}#workspace>.text{margin-top:20px}@media(max-width:700px){.signed main{grid-template-columns:1fr}.signed .brand{padding:24px}.signed .brand h1{font-size:32px}#workspace{padding:20px}.signed .panel{padding:20px 14px}}
.decision{padding:8px 12px;border-radius:6px;font-size:13px;margin:3px}.approve{background:#962d3e;color:white}.decline{background:#f5eeee;color:#962d3e}
.employee-nav{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid #eee;padding:16px 0}.employee-nav button{padding:9px 12px;border-radius:7px}.employee-nav [aria-current=page]{background:#962d3e;color:#fff}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.summary-card{background:#f7f5f5;border:1px solid #eee;border-radius:12px;padding:18px}.summary-card p{font-size:13px;margin:0 0 12px}.summary-card strong{font-size:24px}@media(max-width:700px){.employee-nav{position:sticky;top:0;background:white;z-index:1}.employee-nav button{font-size:12px;padding:8px}.summary-grid{grid-template-columns:1fr}}
/* Live portal layout, adapted from the original Kilele demo. */
.signed main{display:grid;grid-template-columns:224px minmax(0,1fr)}.signed .brand{position:sticky;top:0;height:100svh;background:#fff;color:#343642;border-right:1px solid #e7e5e8;padding:24px 18px;gap:12px;justify-content:flex-start}.signed .brand .wordmark img{width:156px;height:106px;margin:auto}.signed .brand h1{font-size:19px;letter-spacing:-.4px;text-align:center;margin:8px 0}.signed .brand .eyebrow,.signed .brand>.foot{display:none}.signed .tagline{font-size:10px;text-align:center;margin:0 0 24px}.signed .panel{display:block;padding:0 36px 36px;min-width:0}.signed .panel>.card{max-width:none;border:0;border-bottom:1px solid #e7e5e8;border-radius:0;box-shadow:none;padding:20px 0;background:transparent;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.signed .panel>.card>.eyebrow,.signed #intro,.signed .panel>.card>.help,.signed .privacy{display:none}.signed #heading{font-size:20px;margin:0;letter-spacing:-.5px}.signed .links{margin:0 0 0 auto}.signed #message{order:3;width:100%;margin:0}.signed #workspace{max-width:none;padding:0;border:0;border-radius:0;background:transparent;margin:0}.workspace-bar{display:flex;align-items:center;gap:16px;padding:20px 0}.workspace-bar>.eyebrow{margin-right:auto;font-size:10px;color:#73747c}.bell,.refresh-button{background:white;border:1px solid #e7e5e8;border-radius:8px;color:#962d3e;padding:9px 12px}.portal-nav{display:flex;flex-direction:column;gap:8px;width:100%}.portal-nav button{padding:12px 14px;border-radius:7px;color:#73747c;font-size:13px}.portal-nav [aria-current=page]{color:#962d3e;background:#f5e8eb;box-shadow:inset 3px 0 #962d3e;font-weight:600}.welcome-hero{background:linear-gradient(115deg,#343642 55%,#632c39);color:white;border-radius:13px;padding:28px 30px;margin-bottom:24px}.welcome-hero .eyebrow{color:#efbcc6}.welcome-hero h2{font-size:27px;font-weight:500}.welcome-hero p{font-size:13px;line-height:1.65;color:#e0dde2}.welcome-hero strong{font-size:12px;font-weight:500}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.summary-card{background:white;border:1px solid #e7e5e8;border-radius:10px;padding:20px}.summary-card p{color:#73747c;font-size:12px}.summary-card strong{display:block;font-size:32px;font-weight:500;margin:14px 0}.summary-card small{font-size:11px;color:#73747c}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:24px}.portal-card{background:white;border:1px solid #e7e5e8;border-radius:11px;padding:22px;margin-bottom:24px;min-width:0}.portal-card h3{font-size:16px;margin:0 0 22px;font-weight:600}.muted{font-size:12px;color:#73747c;line-height:1.7}.trip-date{font-size:18px;line-height:1.6}.calendar-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:13px}.calendar-controls button{padding:8px 14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.weekday{font-size:10px;color:#73747c;padding:8px 0}.calendar-day{min-height:46px;background:#faf9fa;color:#343642;border-radius:6px;font-size:12px}.calendar-day.today{outline:1px solid #962d3e;font-weight:bold}.calendar-dot{display:inline-block;width:5px;height:5px;border-radius:50%;margin-left:2px}.legend{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.badge{border:0;font-size:11px;padding:5px 9px}.Planned{background:#6A849B;color:white}.Approved{background:#199A27;color:white}.In-Process{background:#FFB938;color:#493000}.Taken{background:#00B3FA;color:#123342}.Declined{background:#F1273F;color:white}.Cancelled{background:#D7D7DB;color:#343642}.document-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.expiry-date{font-size:24px}.document-state{font-size:12px;color:#962d3e}.empty{padding:24px;color:#73747c}.signed th{font-size:10px;text-transform:uppercase;letter-spacing:.5px;background:#faf9fa}.signed td{font-size:13px;padding:18px 12px}.signed table{white-space:normal}dialog{border:1px solid #e7e5e8;border-radius:14px;max-width:90vw;padding:28px;color:#343642}dialog::backdrop{background:#34364266}
@media(max-width:1100px){.signed main{grid-template-columns:190px minmax(0,1fr)}.signed .panel{padding:0 22px 28px}.dashboard-grid{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.signed main{display:block}.signed .brand{position:static;height:auto;padding:12px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.signed .brand .wordmark img{width:90px;height:62px;padding:0}.signed .brand h1{font-size:18px;text-align:right}.signed .tagline{margin:0;font-size:9px}.signed .panel{padding:0 16px 100px}.portal-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;flex-direction:row;background:white;border-top:1px solid #e7e5e8;overflow:auto;padding:8px 8px max(8px,env(safe-area-inset-bottom));gap:3px}.portal-nav button{white-space:nowrap;font-size:11px;padding:12px 9px}.portal-nav [aria-current=page]{box-shadow:inset 0 -3px #962d3e}.welcome-hero{padding:23px}.welcome-hero h2{font-size:24px}.summary-grid{gap:10px}.summary-card{padding:15px}.summary-card strong{font-size:28px}.portal-card{padding:18px}.signed .panel>.card{padding:16px 0}.signed #heading{font-size:18px}.workspace-bar{gap:8px}.workspace-bar>.eyebrow{font-size:9px}.signed .table-scroll{overflow:auto}.signed table{min-width:380px}}
.approver-bell{display:block;margin:0 0 20px auto}.signed #workspace>h2{font-size:25px}.signed #workspace>.table-scroll{background:white;border:1px solid #e7e5e8;border-radius:11px;padding:16px}.signed #workspace>section>h2{font-size:25px;font-weight:550;margin:0 0 24px}
.primary-button{background:#962d3e;color:white;border-radius:8px;padding:12px 18px;margin-bottom:18px}.rotation-actions{display:flex;flex-direction:column;gap:12px;min-width:130px}.rotation-form{width:min(520px,calc(100vw - 24px));max-height:90svh;overflow:auto}.rotation-form select,.rotation-form textarea{display:block;width:100%;font:inherit;border:1px solid #c8c6cc;border-radius:8px;padding:12px;margin-top:8px;background:white;color:#343642}.rotation-form input[type=checkbox]{display:inline-block;width:auto;margin-left:16px}.rotation-form textarea{min-height:95px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:20px}.form-actions button{margin-bottom:0}.form-status{font-size:13px;line-height:1.6;color:#962d3e}.request-item{padding:18px 0;border-top:1px solid #eee}.request-item p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.request-item h4{margin:8px 0}.request-review{scroll-margin-top:20px}

/* News feed */
.news-section{margin-top:24px}.news-card{margin-top:16px}.news-card.unread{border-left:4px solid #922d40}.news-meta{display:flex;gap:16px;justify-content:space-between;align-items:center;font-size:.85rem;color:#666}.news-unread{color:#922d40;font-weight:700}.news-card h4{font-size:1.2rem;margin:18px 0 10px}.news-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.news-feedback:empty{display:none}.news-dialog{width:min(560px,calc(100vw - 32px));max-height:85vh;overflow:auto;box-sizing:border-box}.news-dialog label{display:block;margin:16px 0}.news-dialog input,.news-dialog textarea{width:100%;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #ccc;border-radius:8px;margin-top:8px}.news-dialog button,.news-card button{margin:8px 12px 0 0}.notification-summary{margin-top:16px}.news-preview h3{overflow-wrap:anywhere}

/* Full-day rotation highlights */
.calendar-day.rotation-filled.Planned{background:#6A849B;color:#fff}
.calendar-day.rotation-filled.Approved{background:#199A27;color:#fff}
.calendar-day.rotation-filled.In-Process{background:#FFB938;color:#493000}
.calendar-day.rotation-filled.Taken{background:#00B3FA;color:#123342}
.calendar-day.rotation-filled{font-weight:650}
.calendar-day.today{outline:2px solid #962d3e;outline-offset:2px}
.calendar-day:hover{box-shadow:inset 0 0 0 2px #34364255}
.welcome-hero .next-rotation-summary{font-size:15px;color:#fff}

.employee-code{font-size:12px;color:#73747c;overflow-wrap:anywhere}.workspace-bar{flex-wrap:wrap}

/* Rotation summary: compact hierarchy, scoped away from Overview */
.rotation-summary .rotation-contract-grid,.rotation-summary .rotation-balance-grid,.rotation-summary .rotation-totals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.rotation-summary .rotation-metric{min-width:0;padding:18px;border:1px solid #e7e5e8;border-radius:10px;background:#fff;display:flex;flex-direction:column;align-items:flex-start}
.rotation-summary .rotation-metric-label{font-size:12px;font-weight:500;color:#73747c;line-height:1.45;margin:0 0 12px}
.rotation-summary .rotation-metric-value{display:block;font-size:26px;font-weight:600;line-height:1.3;letter-spacing:-.4px;overflow-wrap:anywhere}
.rotation-summary .rotation-metric-note{display:block;margin-top:7px;font-size:12px;line-height:1.5;color:#73747c;letter-spacing:0}
.rotation-summary .rotation-contract-grid .rotation-metric{background:#faf9fa;border-color:transparent}
.rotation-summary .contract-date .rotation-metric-value{font-size:19px;letter-spacing:0}
.rotation-summary .contract-schedule .rotation-metric-value{font-size:24px}
.rotation-summary .contract-schedule .rotation-metric-note{font-size:13px}
.rotation-summary .balance-main{background:#f7ecef;border-color:#e8cdd3}
.rotation-summary .balance-main .rotation-metric-value{color:#922d40;font-size:32px}
.rotation-summary .balance-projection{background:#faf9fa}
.rotation-summary .rotation-totals-grid .rotation-metric-value{font-size:23px}
.rotation-summary details{border-top:1px solid #e7e5e8;padding-top:18px;margin-top:18px}
.rotation-summary summary{cursor:pointer;font-size:14px;font-weight:600;color:#922d40}
.rotation-summary details[open] summary{margin-bottom:16px}
@media(max-width:1000px){.rotation-summary .rotation-balance-grid{grid-template-columns:1fr}.rotation-summary .rotation-balance-grid .rotation-metric{padding:16px}.rotation-summary .rotation-metric-value{font-size:23px}}
@media(max-width:600px){.rotation-summary .rotation-contract-grid{grid-template-columns:1fr 1fr}.rotation-summary .contract-schedule{grid-column:1/-1;grid-row:1}.rotation-summary .rotation-totals-grid{grid-template-columns:1fr}.rotation-summary .rotation-contract-grid,.rotation-summary .rotation-totals-grid{gap:10px}.rotation-summary .rotation-metric{padding:14px}.rotation-summary .contract-date .rotation-metric-value{font-size:17px}}

.badge.Adjusted{border-left-color:#673DB6;color:#673DB6;background:#f1ebf8}.calendar-day.rotation-filled.Adjusted{background:#673DB6;color:white}

.rotation-summary{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;margin-bottom:20px!important}.compact-contract{font-size:13px;color:#707078;margin:0 0 14px;line-height:1.7}.compact-contract strong{color:#33343c;font-size:16px}.compact-balance{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid #e6e3e4;border-bottom:1px solid #e6e3e4}.compact-label{font-size:14px;font-weight:600}.compact-value{font-size:28px;color:#922d40;letter-spacing:-.5px}.compact-components{margin-left:auto;font-size:13px;color:#707078}.compact-forecasts{display:flex;gap:32px;padding:12px 0}.compact-forecasts .rotation-metric{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}.compact-forecasts .rotation-metric-value{font-size:17px!important}.compact-forecasts .rotation-metric-label{font-size:12px!important;margin:0 0 4px}.compact-forecasts .rotation-metric-note{font-size:11px!important}.balance-details{margin:16px 0;padding:14px 0;border-top:1px solid #e6e3e4;font-size:13px}.balance-details summary{cursor:pointer;font-weight:600}.compact-roster{padding:14px 0!important;border:0!important;box-shadow:none!important}.compact-roster td,.compact-roster th{padding:12px 10px}.rotation-summary .notice{font-size:12px;padding:9px 12px;margin:6px 0}@media(max-width:600px){.compact-contract span{display:block}.compact-balance{gap:8px}.compact-components{margin-left:0;flex-basis:100%}.compact-value{font-size:25px}.compact-forecasts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.compact-roster .table-scroll{overflow-x:auto}.compact-roster td,.compact-roster th{padding:10px 6px;font-size:12px}}
