:root { --navy:#0f2c49; --ink:#102944; --teal:#62cbd5; --sky:#eaf8fa; --line:#a8dde3; --paper:#fffdf9; --muted:#557084; --peach:#ffe0d6; --yellow:#fff1b7; --lilac:#e9dcff; --shadow:6px 7px 0 var(--navy); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); font-family:"Avenir Next",Avenir,"Nunito Sans",system-ui,sans-serif; background-color:var(--sky); background-image:radial-gradient(var(--line) 1.2px, transparent 1.2px); background-size:22px 22px; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
.skip-link { position:absolute; left:1rem; top:-3rem; background:var(--navy); color:white; padding:.6rem; z-index:20; }.skip-link:focus { top:1rem; }
.page-shell { max-width:1120px; margin:auto; padding:32px 28px 52px; min-height:100vh; }
.topbar { height:72px; display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:10px; color:var(--navy); text-decoration:none; }.brand strong { display:block; font-size:1.35rem; letter-spacing:-.05em; }.brand small { display:block; font-size:.59rem; letter-spacing:.18em; font-weight:800; }.brand-mark { display:grid; place-items:center; height:50px; width:50px; border:3px solid var(--navy); border-radius:17px 16px 19px 15px; background:var(--teal); box-shadow:3px 3px 0 var(--navy); transform:rotate(-4deg); font-size:1.16rem; font-weight:900; }.brand-mark span { font-size:.75em; }
.top-actions { display:flex; align-items:center; gap:16px; }.week-pill { min-width:190px; border:3px solid var(--navy); box-shadow:5px 5px 0 var(--navy); border-radius:17px 17px 19px 15px; background:var(--teal); padding:8px 18px; text-align:center; line-height:1.05; }.week-pill small { display:block; letter-spacing:.17em; font-size:.55rem; font-weight:900; }.week-pill strong { font-size:.73rem; }.avatar { height:42px;width:42px;border:3px solid var(--navy);border-radius:50%;background:var(--paper);color:var(--navy);font-weight:900; }
.hero { min-height:350px; padding-top:76px; display:grid; grid-template-columns:1.45fr .85fr; gap:58px; align-items:center; }.eyebrow { margin:0 0 10px; color:#397d93; font-size:.68rem; font-weight:900; letter-spacing:.17em; }.hero h1 { font-size:clamp(2.55rem,5.3vw,4.6rem); line-height:.94; letter-spacing:-.075em; margin:0; }.lede { max-width:565px; font-size:1rem; line-height:1.7; color:var(--muted); font-weight:600; }.hero-actions { display:flex; gap:12px; margin-top:22px; }.button { border:2.5px solid var(--navy); border-radius:12px 15px 12px 16px; padding:12px 18px; font-weight:850; color:var(--navy); background:var(--paper); }.button.primary { background:var(--teal); box-shadow:4px 4px 0 var(--navy); }.button.primary span { margin-left:14px; font-size:1.2rem; }.button.quiet { background:rgba(255,255,255,.75); }.button:hover,.summary-card:hover { transform:translate(-1px,-1px); }.button:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid #f49063; outline-offset:3px; }
.mission-card { position:relative; color:white; background:var(--navy); border:3px solid var(--navy); border-radius:25px 25px 22px 30px; padding:35px 28px 18px; box-shadow:8px 9px 0 #3d8d98; transform:rotate(1.1deg); overflow:visible; }.mission-card::before { content:""; position:absolute; inset:10px; border:2px dashed #71869c; border-radius:18px 17px 19px 23px; }.mission-pin { position:absolute; right:22px; top:-29px; height:70px;width:70px;display:grid;place-items:center;background:var(--teal);color:var(--navy);border:3px solid var(--navy);border-radius:23px 25px 18px 20px;font-size:1.7rem;font-weight:900;transform:rotate(9deg); }.mission-card>* { position:relative; }.mission-label { font-size:.62rem; font-weight:900; letter-spacing:.15em; margin:0 0 13px; }.mission-card h2 { max-width:220px; font-size:1.55rem; line-height:1.05; margin:0 0 20px; letter-spacing:-.04em; }.mission-card ol { list-style:none; padding:0; margin:0; }.mission-card li { display:flex; align-items:center; gap:12px; padding:11px 0; border-top:2px solid #52677c; font-size:.87rem; font-weight:800; }.mission-card li b { display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--teal);color:var(--navy); }
.preview-note { margin:34px 0 0; border:2px solid var(--navy); border-radius:12px; padding:12px 16px; background:#fff6ca; font-size:.85rem; font-weight:700; }.preview-note.live { background:#dbf6ef; }
.summary-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:46px 0 55px; }.summary-card { min-height:153px; display:flex; flex-direction:column; align-items:flex-start; padding:18px; border:2.5px solid var(--navy); border-radius:17px 13px 19px 15px; color:var(--navy); box-shadow:4px 5px 0 var(--navy); text-align:left; }.summary-card.peach { background:var(--peach); }.summary-card.aqua { background:#c9f4f5; }.summary-card.yellow { background:var(--yellow); }.summary-card.lilac { background:var(--lilac); }.metric { display:block; font-size:2.3rem; font-weight:900; letter-spacing:-.07em; line-height:1; }.summary-card>span:not(.metric) { font-weight:850; font-size:.92rem; margin-top:8px; }.summary-card i { font-style:normal; font-size:.74rem; font-weight:850; margin-top:auto; }
.workspace-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; }.workspace h2 { margin:0; font-size:2rem; letter-spacing:-.055em; }.tablist { display:flex; gap:4px; padding:4px; background:rgba(255,255,255,.7); border:2px solid var(--navy); border-radius:14px; }.tablist button { border:0; padding:9px 11px; background:transparent; color:var(--muted); border-radius:9px; font-size:.8rem; font-weight:850; }.tablist button[aria-selected="true"] { background:var(--navy); color:white; }
.board { margin-top:20px; border:3px solid var(--navy); background:var(--paper); border-radius:22px 17px 20px 19px; box-shadow:7px 7px 0 var(--navy); overflow:hidden; }.board-heading { display:flex; justify-content:space-between; align-items:center; padding:18px 21px; border-bottom:2px solid #cde3e6; }.board-heading h3 { margin:0; font-size:1rem; }.board-heading span { font-size:.74rem; color:var(--muted); font-weight:750; }.record-list { list-style:none; padding:0; margin:0; }.record { display:grid; grid-template-columns:1.2fr .86fr .9fr auto; gap:14px; align-items:center; padding:17px 21px; border-bottom:1.5px solid #d7e8e9; }.record:last-child { border-bottom:0; }.record-name { font-weight:900; }.record-id { display:block; margin-top:2px; color:var(--muted); font-size:.7rem; font-weight:700; }.record-copy { color:var(--muted); font-size:.81rem; font-weight:650; }.badge { display:inline-block; justify-self:start; border:1.5px solid var(--navy); padding:5px 8px; border-radius:8px 10px 8px 11px; color:var(--navy); background:#d6f4f4; font-size:.68rem; font-weight:900; }.badge.waiting { background:#ffe0d6; }.badge.review { background:#fff1b7; }.badge.active { background:#e9dcff; }.record-action { border:0; background:transparent; color:var(--navy); font-weight:900; font-size:.82rem; }.empty { padding:40px 21px; color:var(--muted); font-weight:700; text-align:center; }
footer { color:#477387; margin-top:62px; text-align:center; font-size:.72rem; font-weight:650; } footer span { font-weight:900; color:var(--navy); }
dialog { width:min(720px,calc(100% - 28px)); padding:0; border:3px solid var(--navy); border-radius:22px; background:var(--paper); color:var(--navy); box-shadow:10px 10px 0 var(--navy); }dialog::backdrop { background:rgba(10,37,61,.52); backdrop-filter:blur(2px); } dialog form { padding:28px; }.dialog-heading { display:flex; justify-content:space-between; gap:20px; align-items:start; }.dialog-heading h2 { font-size:1.9rem; letter-spacing:-.055em; margin:0; }.icon-button { border:2px solid var(--navy); border-radius:10px; height:34px; width:34px; color:var(--navy); background:var(--teal); font-size:1.5rem; line-height:1; }.form-intro { padding:12px 14px; border-left:4px solid var(--teal); background:#edfafa; font-size:.82rem; line-height:1.5; color:var(--muted); }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin-top:21px; }.form-grid label { display:grid; gap:6px; color:var(--navy); font-size:.78rem; font-weight:850; }.form-grid .wide { grid-column:span 2; } input,select,textarea { width:100%; border:2px solid #9fc4cb; border-radius:9px; padding:10px; background:#fff; color:var(--navy); }textarea { resize:vertical; }.dialog-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:20px; }.form-feedback { min-height:1.25em; margin:15px 0 0; color:#9b3b2f; font-size:.83rem; font-weight:750; }.form-feedback.success { color:#147264; }.access-label { display:grid; gap:6px; margin-top:20px; color:var(--navy); font-size:.78rem; font-weight:850; }.record-detail { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:23px 0 0; }.record-detail div { padding:13px; border:2px solid #cfe7e9; border-radius:11px; background:#f8ffff; }.record-detail .wide { grid-column:span 2; }.record-detail dt { color:var(--muted); font-size:.68rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }.record-detail dd { margin:5px 0 0; font-weight:800; line-height:1.45; }
.case-journey { list-style:none; display:grid; grid-template-columns:repeat(5,1fr); gap:5px; padding:0; margin:24px 0 14px; }.case-journey li { display:grid; gap:5px; color:var(--muted); font-size:.65rem; font-weight:800; text-align:center; line-height:1.2; }.case-journey span { display:grid; place-items:center; width:25px; height:25px; margin:auto; background:#e2f1f2; border:2px solid #9fc4cb; border-radius:50%; color:var(--muted); }.case-journey li.done,.case-journey li.current { color:var(--navy); }.case-journey li.done span { background:var(--teal); border-color:var(--navy); }.case-journey li.current span { background:var(--yellow); border-color:var(--navy); box-shadow:2px 2px 0 var(--navy); }.case-counts { display:flex; gap:9px; flex-wrap:wrap; margin-bottom:17px; }.case-counts span { padding:6px 9px; border:1.5px solid #b8dfe3; border-radius:9px; background:#f3fcfc; font-size:.72rem; font-weight:700; }.case-counts b { color:var(--navy); font-size:.9rem; }.case-actions { display:flex; gap:8px; flex-wrap:wrap; padding:14px; background:#edfafa; border:2px solid #cde7e9; border-radius:12px; }.case-actions .button { padding:8px 10px; font-size:.73rem; box-shadow:none; }.case-section { margin-top:17px; border-top:2px solid #d7e8e9; padding-top:15px; }.case-section h3 { margin:0 0 9px; font-size:.84rem; }.compact-records { list-style:none; padding:0; margin:0; }.compact-records li { display:grid; grid-template-columns:1fr auto; gap:4px 14px; padding:9px 0; border-top:1px solid #e2eeee; }.compact-records li:first-child { border-top:0; }.compact-records strong { font-size:.78rem; }.compact-records span { color:var(--muted); font-size:.71rem; line-height:1.35; }.compact-records em { grid-column:2; grid-row:1 / span 2; align-self:center; font-style:normal; }.case-empty { margin:0; color:var(--muted); font-size:.74rem; font-weight:650; }.linked-case { margin:18px 0 0; color:var(--muted); font-size:.79rem; }.linked-case strong { color:var(--navy); }.workflow-label { display:grid; gap:6px; margin-top:16px; color:var(--navy); font-size:.78rem; font-weight:850; }.workflow-grid { margin-top:15px; }
@media (max-width:780px) { .page-shell { padding:20px 16px 36px; }.week-pill { display:none; }.hero { grid-template-columns:1fr; padding-top:50px; gap:54px; }.mission-card { max-width:370px; margin:0 auto; }.summary-grid { grid-template-columns:1fr 1fr; }.workspace-heading { align-items:start; flex-direction:column; }.tablist { width:100%; overflow:auto; }.tablist button { flex:1; white-space:nowrap; }.record { grid-template-columns:1fr auto; }.record-copy { grid-column:1; }.badge { grid-row:1; grid-column:2; }.record-action { grid-column:2; }.form-grid { grid-template-columns:1fr; }.form-grid .wide { grid-column:auto; } }
@media (max-width:440px) { .summary-grid { grid-template-columns:1fr; }.hero h1 { font-size:2.7rem; }.hero-actions { flex-direction:column; align-items:stretch; }.button { text-align:center; }.topbar { height:56px; }.brand strong { font-size:1.15rem; }.brand-mark { height:42px;width:42px; } dialog form { padding:20px; } }
