:root { --ink:#1d2433; --muted:#667085; --line:#d9dee7; --bg:#f5f7fa; --card:#fff; --acc:#1f5f8b; --ok:#1e7a46; --bad:#b42318; --warn:#b54708; }
* { box-sizing: border-box; }
body { margin:0; font:15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color:var(--ink); background:var(--bg); }
header.top { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.7rem 1.4rem; background:var(--acc); color:#fff; flex-wrap:wrap; }
header.top a { color:#fff; text-decoration:none; }
.brand { font-weight:700; font-size:1.05rem; }
header nav { display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }
header nav .who { opacity:.8; font-size:.9rem; }
main { max-width:1280px; margin:1.2rem auto; padding:0 1rem; }
footer { max-width:1280px; margin:2rem auto; padding:0 1rem 2rem; color:var(--muted); font-size:.8rem; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:1.1rem 1.3rem; margin-bottom:1rem; }
.card.narrow { display:block; width:100%; max-width:1280px; margin:1.2rem auto; }
h1 { font-size:1.35rem; margin:.2rem 0 .8rem; } h2 { font-size:1.08rem; margin:1.1rem 0 .5rem; }
label { display:block; margin:.45rem 0; font-size:.9rem; color:#344054; }
label input:not([type=checkbox]), label select { display:block; width:100%; margin-top:.2rem; padding:.45rem .55rem; border:1px solid #c4ccd8; border-radius:6px; font:inherit; background:#fff; }
label.check { display:flex; gap:.5rem; align-items:flex-start; }
label small { color:var(--muted); }
fieldset { border:1px solid var(--line); border-radius:8px; margin:0 0 1rem; padding:.4rem 1rem .8rem; }
legend { font-weight:600; padding:0 .3rem; }
.btn { display:inline-block; padding:.5rem .9rem; border:1px solid #b8c2d0; border-radius:6px; background:#fff; color:var(--ink); text-decoration:none; font:inherit; cursor:pointer; margin:.15rem 0; }
.btn.primary { background:var(--acc); color:#fff; border-color:var(--acc); }
button.link { background:none; border:none; color:var(--acc); cursor:pointer; padding:0; font:inherit; }
.danger { color:var(--bad) !important; }
form.inline { display:inline; }
.flash { padding:.6rem .9rem; border-radius:6px; margin-bottom:1rem; background:#ecfdf3; border:1px solid #abefc6; }
.flash.err { background:#fef3f2; border-color:#fecdca; }
table.grid { width:100%; border-collapse:collapse; font-size:.88rem; margin:.4rem 0; }
table.grid th, table.grid td { border:1px solid var(--line); padding:.35rem .5rem; vertical-align:top; text-align:left; }
table.grid th { background:#eef2f7; font-weight:600; }
table.grid td.r { text-align:right; white-space:nowrap; }
table.grid tr.tot td { font-weight:700; background:#f8fafc; }
table.grid tr.fail td { background:#fef3f2; }
table.grid tr.info td { color:var(--muted); }
table.grid.small { font-size:.82rem; }
input.num { width:6.5rem; text-align:right; padding:.3rem .4rem; border:1px solid #c4ccd8; border-radius:5px; font:inherit; }
.nowrap { white-space:nowrap; }
.muted { color:var(--muted); }
.total { font-weight:600; background:#f8fafc; border:1px solid var(--line); padding:.5rem .7rem; border-radius:6px; }
.verdict { font-weight:700; padding:.6rem .8rem; border-radius:6px; }
.verdict.pass { background:#ecfdf3; color:var(--ok); } .verdict.fail { background:#fef3f2; color:var(--bad); }
.row-between { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; }
.cols { display:grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap:1rem; align-items:start; }
.layout { display:grid; grid-template-columns: 260px minmax(0, 1fr); gap:1rem; align-items:start; }
.years ol { list-style:none; padding:0; margin:0; }
.years li a { display:block; padding:.45rem .5rem; border-radius:6px; color:var(--ink); text-decoration:none; }
.years li.cur a { background:#e8f1f8; }
.tag { display:inline-block; font-size:.7rem; padding:0 .35rem; border-radius:4px; background:#eef2f7; color:#344054; margin-left:.2rem; }
.tag.warn { background:#fef0c7; color:var(--warn); }
.tabs { display:flex; gap:.3rem; border-bottom:1px solid var(--line); margin:.6rem 0 .8rem; }
.tabs a { padding:.45rem .9rem; border:1px solid var(--line); border-bottom:none; border-radius:6px 6px 0 0; text-decoration:none; color:var(--ink); background:#f8fafc; }
.tabs a.on { background:#fff; font-weight:600; position:relative; top:1px; }
form.entry { background:#f8fafc; border:1px solid var(--line); border-radius:8px; padding:.6rem .9rem; margin-bottom:.8rem; }
.inline-fields { display:flex; flex-wrap:wrap; gap:.4rem 1.2rem; align-items:flex-end; }
.inline-fields label { margin:.2rem 0; }
.inline-fields label input.num { display:block; }
.note { color:var(--warn); cursor:help; }
dl.kv { display:grid; grid-template-columns: 180px 1fr; gap:.2rem .8rem; margin:0; }
dl.kv dt { font-weight:600; } dl.kv dd { margin:0; }
.prose li { margin:.25rem 0; }
@media (max-width: 1280px) { .cols, .layout { grid-template-columns: 1fr; } }


/* New CAS case: use the full 1280px content area rather than a half-width card. */
main > .card.narrow,
main .card.narrow {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Keep form controls fluid inside the expanded card. */
.card.narrow form,
.card.narrow fieldset {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 700px) {
    main { padding-left: .75rem; padding-right: .75rem; }
    .card.narrow { padding: 1rem; margin: .75rem auto; }
}


/* New-case page: when there is no preview panel, do not leave an empty grid column. */
form.case-form {
    display: block;
    width: 100%;
    max-width: 100%;
}
form.case-form > section.card {
    display: block;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
form.case-form fieldset {
    width: 100%;
    max-width: 100%;
}

/* ===== CAS Calculator: refreshed visual system ===== */
:root {
  --ink:#17243b; --muted:#65748b; --line:#dce5f1; --bg:#f2f6fc; --card:#ffffff;
  --acc:#3157d5; --ok:#16845b; --bad:#c43850; --warn:#a85b12;
  --purple:#7653d6; --cyan:#1b9aaa; --shadow:0 12px 34px rgba(31,55,99,.09);
}
body { color:var(--ink); background:linear-gradient(135deg,#f3f7ff 0%,#f7f5ff 48%,#f1fbfc 100%); }
header.top { min-height:64px; padding:.75rem clamp(1rem,3vw,2.5rem); background:linear-gradient(105deg,#173b83 0%,#3157d5 52%,#6549b8 100%); box-shadow:0 5px 18px rgba(30,57,120,.18); }
header.top .brand { font-size:1.08rem; letter-spacing:.1px; }
header nav { gap:.45rem; }
header nav a { padding:.48rem .72rem; border-radius:9px; transition:background .2s,transform .2s; }
header nav a:hover { background:rgba(255,255,255,.16); transform:translateY(-1px); }
header nav .who { padding:.45rem .65rem; border-left:1px solid rgba(255,255,255,.25); }
main { max-width:1280px; margin:1.6rem auto 2.5rem; padding:0 clamp(.8rem,2vw,1.4rem); }
footer { color:#71809a; line-height:1.7; }
.card { background:rgba(255,255,255,.96); border:1px solid #e0e8f4; border-radius:18px; padding:clamp(1rem,2vw,1.65rem); box-shadow:var(--shadow); }
h1 { color:#172b52; font-size:clamp(1.45rem,2vw,1.85rem); letter-spacing:-.035em; }
h2 { color:#243c70; }
.flash { border-radius:12px; padding:.85rem 1rem; box-shadow:0 5px 15px rgba(25,70,50,.05); }
.flash.err { color:#982d42; }
.cas-entry-form { width:100%; align-items:start; }
form.case-form { max-width:100%; }
form.case-form > section.card { max-width:1280px; }
.cas-main-card { overflow:hidden; }
.cas-hero { display:flex; align-items:center; gap:1rem; margin:-.15rem 0 1.25rem; padding:.25rem 0 .4rem; }
.cas-hero-icon { display:grid; place-items:center; flex:0 0 58px; height:58px; border-radius:17px; color:#fff; font-size:1.65rem; background:linear-gradient(145deg,#4778f5,#8055d9); box-shadow:0 8px 18px rgba(78,93,210,.25); }
.cas-hero .eyebrow { display:block; color:#6377ad; font-size:.7rem; font-weight:800; letter-spacing:.13em; margin-bottom:.2rem; }
.cas-hero h1 { margin:.05rem 0 .22rem; }
.cas-hero p { margin:0; color:var(--muted); font-size:.9rem; }
.cas-step-pill { margin-left:auto; flex:0 0 auto; display:flex; align-items:center; gap:.5rem; padding:.5rem .8rem; border:1px solid #dfe5ff; border-radius:999px; background:#f5f6ff; color:#5365a8; font-size:.8rem; font-weight:700; }
.cas-step-pill span { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; color:#fff; background:linear-gradient(135deg,#4268e8,#8056d5); }
.cas-progress { height:5px; border-radius:10px; overflow:hidden; background:#edf0fa; margin:0 0 1.35rem; }
.cas-progress span { display:block; width:34%; height:100%; border-radius:10px; background:linear-gradient(90deg,#3e71ee,#8b5ad9,#28a6b5); }
.cas-fieldset { border:1px solid #e1e8f4; border-radius:15px; margin:0 0 1.15rem; padding:1rem 1.1rem 1.15rem; background:linear-gradient(180deg,#fff 0%,#fbfcff 100%); box-shadow:0 3px 12px rgba(40,65,110,.035); }
.cas-fieldset legend { padding:0 .65rem; color:#29477f; font-weight:800; font-size:.96rem; }
.legend-icon { display:inline-grid; place-items:center; width:28px; height:28px; margin-right:.3rem; border-radius:9px; background:#edf2ff; }
label { color:#344766; font-size:.88rem; font-weight:650; margin:.65rem 0 .75rem; }
label input:not([type=checkbox]), label select,
.cas-entry-form input:not([type=checkbox]), .cas-entry-form select { min-height:43px; width:100%; margin-top:.35rem; padding:.62rem .78rem; color:#1c2b45; border:1px solid #cfd9e9; border-radius:10px; background:#fff; font:500 .92rem/1.35 system-ui,-apple-system,"Segoe UI",sans-serif; box-shadow:0 1px 2px rgba(20,40,80,.025); transition:border-color .18s,box-shadow .18s,background .18s; }
label input:hover, label select:hover { border-color:#9aadd0; }
label input:focus, label select:focus { outline:0; border-color:#5578e8; box-shadow:0 0 0 4px rgba(73,111,225,.13); background:#fff; }
label input[required], label select[required] { background-image:linear-gradient(90deg,#fff 0%,#fff 100%); }
.required-mark { color:#d33d5a; font-weight:900; margin-left:.12rem; }
.field-hint { display:block; color:#8491a7; font-size:.76rem; font-weight:450; margin-top:.28rem; }
label.check { display:flex; align-items:center; gap:.65rem; padding:.65rem .75rem; border:1px solid #e5eafb; border-radius:10px; background:#f7f9ff; font-weight:550; }
label.check input { accent-color:#4569dc; width:17px; height:17px; margin:0; }
.field-error { display:block; color:#bd304b; font-size:.78rem; font-weight:650; margin:.32rem 0 0; }
.is-invalid { border-color:#d64b62 !important; background:#fff8f9 !important; box-shadow:0 0 0 3px rgba(214,75,98,.1) !important; }
.cas-form-actions { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding:1rem 0 .15rem; }
.cas-submit-note { color:#73819a; font-size:.8rem; }
.cas-submit { display:inline-flex; align-items:center; gap:1rem; padding:.78rem 1.2rem; border:0; border-radius:11px; color:#fff; background:linear-gradient(105deg,#315fdc,#7651d1); box-shadow:0 8px 18px rgba(70,83,195,.24); font-weight:750; transition:transform .18s,box-shadow .18s; }
.cas-submit:hover { transform:translateY(-2px); box-shadow:0 11px 22px rgba(70,83,195,.3); }
.cas-submit b { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:rgba(255,255,255,.18); font-size:1.05rem; }
.btn.primary { background:linear-gradient(105deg,#315fdc,#7651d1); border-color:transparent; }
.cas-preview-card { border-top:4px solid #7653d6; }
.cas-preview-card h2 { margin-top:.2rem; }
.cas-preview-card table.grid th { background:#eef2ff; color:#354d87; }
.cas-preview-card .verdict.pass { border-radius:10px; }
.cols { grid-template-columns:minmax(0,1.45fr) minmax(320px,.8fr); gap:1.2rem; }
table.grid { border-radius:10px; overflow:hidden; }
table.grid th, table.grid td { padding:.55rem .65rem; }
input.num { border-radius:8px; }
@media (min-width:900px) {
  .cas-fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:1.25rem; align-items:start; }
  .cas-fieldset legend { grid-column:1/-1; }
  .cas-fieldset label.check { align-self:center; }
}
@media (max-width:899px) {
  .cols { grid-template-columns:1fr; }
  .cas-step-pill { display:none; }
}
@media (max-width:600px) {
  header.top { align-items:flex-start; }
  header nav { width:100%; gap:.15rem; }
  header nav a { padding:.4rem .5rem; font-size:.83rem; }
  header nav .who { display:none; }
  .cas-hero { align-items:flex-start; }
  .cas-hero-icon { flex-basis:44px; height:44px; border-radius:13px; }
  .cas-hero p { font-size:.82rem; }
  .cas-fieldset { padding:.8rem .85rem 1rem; }
  .cas-form-actions { align-items:stretch; }
  .cas-submit { justify-content:center; width:100%; }
}

/* Guided CAS wizard */
.cas-wizard-summary { margin:.25rem 0 1rem; }
.cas-progress { height:9px; background:#edf1fb; border-radius:999px; margin:0; }
.cas-progress span { width:0; background:linear-gradient(90deg,#3568ed 0%,#8354d6 55%,#17a6a0 100%); transition:width .3s ease; }
.cas-progress-meta { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:.45rem; color:#64748b; font-size:.78rem; }
.cas-progress-meta strong { color:#344b7c; }
.cas-progress-meta span { color:#5d59c9; font-weight:800; font-variant-numeric:tabular-nums; }
.cas-wizard-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; margin:0 0 1.25rem; }
.wizard-tab { position:relative; display:grid; grid-template-columns:36px 1fr; grid-template-rows:auto auto; align-items:center; column-gap:.65rem; text-align:left; padding:.75rem .85rem; border:1px solid #e0e7f4; border-radius:13px; background:linear-gradient(145deg,#fff,#f8faff); color:#53627c; cursor:pointer; transition:.18s ease; font:inherit; }
.wizard-tab span { grid-row:1 / 3; display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:#edf1fb; color:#60739b; font-weight:850; }
.wizard-tab b { color:#344766; font-size:.86rem; }
.wizard-tab small { color:#8a96aa; font-size:.72rem; }
.wizard-tab.active { border-color:#7189ed; background:linear-gradient(135deg,#f1f4ff,#f8f3ff); box-shadow:0 5px 16px rgba(76,91,190,.1); }
.wizard-tab.active span { color:white; background:linear-gradient(135deg,#416eea,#8054d5); }
.wizard-tab.done { border-color:#9bd9c5; background:linear-gradient(135deg,#f0fbf6,#f8fffc); }
.wizard-tab.done span { color:#fff; background:linear-gradient(135deg,#15966e,#36b78b); }
.wizard-panel { display:none; animation:wizardIn .22s ease both; }
.wizard-panel.active { display:block; }
@keyframes wizardIn { from { opacity:.35; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
.wizard-controls { display:flex; align-items:center; justify-content:space-between; gap:.8rem; flex-wrap:wrap; padding:.1rem 0 .35rem; }
.wizard-tip { color:#8290a8; font-size:.78rem; }
.wizard-next { display:inline-flex; align-items:center; gap:.7rem; border:0; border-radius:10px; padding:.7rem 1rem; box-shadow:0 6px 15px rgba(70,83,195,.16); }
.wizard-next b { font-size:1.05rem; }
.wizard-back { border-color:#d7deeb; color:#435675; background:#fff; border-radius:10px; padding:.65rem .95rem; }
.wizard-back:hover { background:#f4f6fb; }
@media(max-width:700px) {
  .cas-wizard-nav { gap:.4rem; }
  .wizard-tab { grid-template-columns:1fr; justify-items:center; text-align:center; padding:.55rem .25rem; row-gap:.2rem; }
  .wizard-tab span { grid-row:auto; width:30px; height:30px; border-radius:10px; }
  .wizard-tab b { font-size:.72rem; }
  .wizard-tab small { display:none; }
  .wizard-controls { align-items:stretch; }
  .wizard-controls .wizard-next { justify-content:center; }
  .wizard-tip { order:3; width:100%; text-align:center; }
}

/* CAS Management Dashboard */
.dash-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.7rem 1.9rem;margin:0 0 1.15rem;border-radius:18px;color:#fff;background:radial-gradient(circle at 82% 12%,rgba(255,255,255,.2),transparent 25%),linear-gradient(115deg,#174e86 0%,#356bd4 54%,#7654ce 100%);box-shadow:0 12px 30px rgba(42,82,160,.17)}
.dash-hero-copy{max-width:720px}.dash-eyebrow,.dash-kicker{font-size:.68rem;letter-spacing:.13em;font-weight:850;opacity:.82}.dash-hero h1{font-size:1.65rem;margin:.35rem 0 .35rem;color:#fff}.dash-hero p{margin:0;color:rgba(255,255,255,.86);font-size:.92rem}.dash-new-btn{display:inline-flex;align-items:center;gap:.6rem;white-space:nowrap;padding:.78rem 1rem;border-radius:11px;background:#fff;color:#3159a8;text-decoration:none;font-weight:800;box-shadow:0 7px 18px rgba(13,34,81,.18)}.dash-new-btn span{font-size:1.35rem;line-height:1}
.dash-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin-bottom:1rem}.dash-stat{position:relative;overflow:hidden;padding:1rem 1.1rem;border:1px solid #e5eaf4;border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(29,50,90,.045)}.dash-stat:after{content:"";position:absolute;width:80px;height:80px;border-radius:50%;right:-22px;bottom:-35px;background:var(--tint);opacity:.65}.dash-stat-top{display:flex;align-items:center;justify-content:space-between;color:#61708a;font-size:.78rem;font-weight:750}.dash-stat-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--tint);color:var(--tone);font-size:1rem;font-weight:900}.dash-stat strong{display:block;margin:.25rem 0 .1rem;color:#1d2b45;font-size:1.85rem;line-height:1.2;font-variant-numeric:tabular-nums}.dash-stat small{color:#8792a5;font-size:.72rem}.stat-blue{--tone:#3268d8;--tint:#edf3ff}.stat-green{--tone:#16845e;--tint:#e9f8f1}.stat-amber{--tone:#b87916;--tint:#fff5df}.stat-violet{--tone:#7853c7;--tint:#f2edff}
.dash-panel{padding:1.25rem 1.3rem;margin-bottom:1rem;border:1px solid #e3e9f3;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(28,48,85,.04)}.dash-section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.dash-section-head h2{margin:.15rem 0 .2rem;color:#243653;font-size:1.12rem}.dash-section-head p{margin:0;color:#8792a5;font-size:.78rem}.dash-kicker{color:#6177b5;opacity:1}.dash-alert-count{padding:.35rem .65rem;border-radius:999px;background:#fff3e9;color:#b55c21;font-size:.72rem;font-weight:800;white-space:nowrap}.dash-alert-panel{border-color:#f2dfc9;background:linear-gradient(120deg,#fff 0%,#fffaf5 100%)}.dash-alert-list{display:grid;gap:.5rem}.dash-alert-item{display:flex;align-items:center;gap:.75rem;padding:.7rem .8rem;border:1px solid #f1e5d8;border-radius:11px;background:#fff;text-decoration:none;color:#34435d}.dash-alert-symbol{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:#fff1e5;color:#b9662a;font-weight:900}.dash-alert-item.overdue .dash-alert-symbol{background:#fff0f0;color:#c43d4c}.dash-alert-text{display:grid;gap:.12rem;flex:1}.dash-alert-text strong{font-size:.83rem}.dash-alert-text small{font-size:.72rem;color:#8792a5}.dash-alert-item>b{font-size:.76rem;color:#a85d28}.dash-alert-item.overdue>b{color:#bd3b4b}
.dash-case-head{align-items:flex-end}.dash-tools{display:flex;gap:.55rem;flex-wrap:wrap}.dash-tools input,.dash-tools select{min-height:38px;border:1px solid #dce3ef;border-radius:9px;padding:.48rem .7rem;background:#fbfcff;color:#33435d;font:inherit;font-size:.78rem}.dash-tools input{width:260px}.dash-table-wrap{overflow-x:auto}.dash-table{min-width:1050px}.dash-table th{font-size:.72rem;white-space:nowrap;color:#536581;background:#f2f5fc!important}.dash-table td{font-size:.78rem;vertical-align:middle!important}.dash-table td small{display:block;margin-top:.2rem;color:#8994a7;font-size:.69rem;line-height:1.4}.dash-person{font-weight:800;color:#2d5fc0;text-decoration:none}.dash-person:hover{text-decoration:underline}.dash-status,.dash-due{display:inline-flex;align-items:center;padding:.3rem .52rem;border-radius:999px;font-size:.68rem;font-weight:800;white-space:nowrap}.dash-status.ready{background:#e8f8ef;color:#16764f}.dash-status.pending{background:#fff4df;color:#a66b12}.dash-status.review{background:#f1edff;color:#7150b7}.dash-due.upcoming{background:#fff3e7;color:#ad6424}.dash-due.overdue{background:#fff0f0;color:#bd3d4b}.dash-due.neutral{background:#f0f3f8;color:#68768d}.dash-status-reason{max-width:190px}.dash-mini-progress{display:flex;align-items:center;gap:.45rem;min-width:90px}.dash-mini-progress>span{display:block;width:62px;height:6px;border-radius:20px;background:#edf0f6;overflow:hidden}.dash-mini-progress i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#3c70df,#24a887)}.dash-mini-progress b{font-size:.68rem;color:#61708a}.dash-actions{min-width:160px}.dash-actions>a{display:inline-block;margin:0 .35rem .25rem 0;color:#3766c4;font-size:.7rem;font-weight:750;text-decoration:none}.dash-actions>a:hover{text-decoration:underline}.dash-empty{text-align:center;padding:2.5rem 1rem}.dash-empty-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto .8rem;border-radius:17px;background:#eef3ff;color:#4269c9;font-size:2rem}.dash-empty h3{margin:.2rem 0;color:#30415e}.dash-empty p{max-width:460px;margin:.4rem auto 1rem;color:#8390a5;font-size:.85rem}.dash-no-results{padding:1.2rem;text-align:center;color:#8390a5;font-size:.85rem}
@media(max-width:900px){.dash-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-hero{align-items:flex-start;flex-direction:column}.dash-new-btn{align-self:flex-start}}
@media(max-width:650px){.dash-hero{padding:1.25rem;border-radius:14px}.dash-hero h1{font-size:1.35rem}.dash-stat-grid{gap:.55rem}.dash-stat{padding:.8rem}.dash-stat strong{font-size:1.5rem}.dash-stat small{font-size:.66rem}.dash-panel{padding:.9rem}.dash-section-head,.dash-case-head{align-items:flex-start;flex-direction:column}.dash-tools{width:100%}.dash-tools input{width:100%;flex:1}.dash-tools select{width:100%}.dash-alert-item{align-items:flex-start}.dash-alert-item>b{font-size:.68rem;text-align:right}}
