/* ---------- Start my plan ---------- */
.s-intake { padding: 56px 0 96px; }
.s-narrow { max-width: 760px; }
.s-title { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -1px; margin-bottom: 12px; }
.s-lead { font-size: 19px; color: var(--muted); line-height: 1.55; margin-bottom: 24px; max-width: 720px; }
.s-resume { background: #E4EEDF; border-radius: 16px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.s-resume a { color: var(--moss); font-weight: 800; }

.s-progress { height: 10px; background: #E3DACA; border-radius: 999px; overflow: hidden; }
.s-progress span { display: block; height: 100%; width: 16%; background: var(--moss); border-radius: 999px; transition: width .3s ease; }
.s-stepcount { font-size: 15px; font-weight: 700; color: var(--muted); margin: 10px 0 24px; }

.s-step { border: 0; padding: 0; margin: 0; }
.s-step legend { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin-bottom: 20px; }
.s-q { font-weight: 800; font-size: 18px; margin: 20px 0 10px; }
.s-options { display: grid; gap: 10px; }
.s-options.s-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.s-options label { cursor: pointer; }
.s-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.s-options label > span { display: flex; align-items: center; min-height: 56px; padding: 14px 20px; background: #FFFDF8; border: 2px solid #CFC4AF; border-radius: 16px; font-weight: 700; font-size: 18px; transition: border-color .15s, background .15s; }
.s-options label:hover > span { border-color: var(--navy); }
.s-options input:checked + span { background: var(--navy); color: #F5F0E6; border-color: var(--navy); }
.s-options input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.s-field { display: grid; gap: 6px; margin: 14px 0; font-weight: 700; }
.s-field input { font: 600 18px "Figtree", system-ui, sans-serif; color: var(--navy); background: #FFFDF8; border: 2px solid #CFC4AF; border-radius: 14px; padding: 14px 16px; min-height: 52px; }
.s-field input:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--navy); }
.s-hint { color: var(--muted); font-size: 16px; }
.s-error { color: #9A3B1E; font-weight: 800; margin-top: 16px; }
.s-nav { display: flex; gap: 12px; margin-top: 32px; }
.s-nav .h-btn { border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.s-nav .h-btn-line { background: transparent; border-color: var(--navy); }

/* Plan */
.s-plan { padding: 56px 0 96px; }
.s-plan-head { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; margin-bottom: 16px; }
.s-score { text-align: center; flex: none; }
.s-ring { --pct: 0; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--moss) calc(var(--pct) * 1%), #E3DACA 0); }
.s-ring span { width: 92px; height: 92px; border-radius: 50%; background: #F5F0E6; display: grid; place-items: center; font: 700 28px "Fraunces", Georgia, serif; }
.s-score p { font-weight: 700; color: var(--muted); margin-top: 8px; font-size: 15px; }
.s-callout { background: #F7E3B5; border-radius: 18px; padding: 18px 22px; margin-bottom: 14px; font-size: 18px; line-height: 1.5; }
.s-callout.soft { background: #DCEAF0; }

.s-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 36px; }
.s-tool { display: grid; gap: 4px; background: var(--moss); color: #fff; text-decoration: none; border-radius: 20px; padding: 22px 26px; }
.s-tool:hover { background: #335A45; }
.s-tool:nth-child(2) { background: var(--navy); }
.s-tool-tag { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.s-tool b { font-family: "Fraunces", Georgia, serif; font-size: 22px; line-height: 1.2; }
.s-tool span:last-child { opacity: .9; }

.s-phase { background: #FFFDF8; border: 1px solid var(--line); border-radius: 24px; padding: 28px; margin-bottom: 18px; }
.s-phase-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.s-phase-num { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--navy); color: #F5F0E6; display: grid; place-items: center; font: 700 20px "Fraunces", Georgia, serif; }
.s-phase-head h2 { font-size: 28px; }
.s-phase-head p { color: var(--muted); }
.s-tasks { list-style: none; display: grid; gap: 10px; }
.s-tasks li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start; background: #F5F0E6; border-radius: 16px; padding: 14px 18px; }
.s-tasks label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 18px; line-height: 1.45; }
.s-tasks input { appearance: none; flex: none; width: 28px; height: 28px; margin-top: 1px; border: 2px solid var(--moss); border-radius: 8px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.s-tasks input:checked { background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/16px no-repeat; }
.s-tasks input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-tasks li.done .s-task-text { text-decoration: line-through; color: var(--muted); }
.s-due { font-size: 14px; font-weight: 800; color: var(--muted); white-space: nowrap; padding-top: 4px; }
.s-tasks li.late .s-due { color: #9A3B1E; }
.s-tasks li.done .s-due { color: var(--moss); }
.s-task-link { grid-column: 1; margin-left: 42px; font-weight: 800; color: var(--moss); text-decoration: none; }
.s-task-link:hover { text-decoration: underline; }

.s-log { background: #D5E4CF; border-radius: 24px; padding: 28px; margin: 28px 0; }
.s-log h2 { font-size: 30px; margin-bottom: 6px; }
.s-log .s-lead { color: #2E4A3C; margin-bottom: 12px; }
.s-log-form { display: grid; grid-template-columns: 170px 1fr 2fr auto; gap: 12px; align-items: end; }
.s-log-form .s-field { margin: 0; }
.s-log-form .h-btn { border: 0; cursor: pointer; font-family: inherit; }
.s-log-list { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.s-log-list li { background: #FFFDF8; border-radius: 14px; padding: 12px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.s-log-list .s-log-empty { display: block; color: var(--muted); }
.s-log-x { background: none; border: 0; color: var(--muted); font: 700 14px "Figtree", system-ui, sans-serif; cursor: pointer; text-decoration: underline; min-height: 32px; }

.s-plan-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.s-plan-actions .h-btn { background: transparent; border: 2px solid var(--navy); cursor: pointer; font-family: inherit; }
.s-fine { margin-top: 20px; color: var(--muted) !important; }

@media (max-width: 760px) {
  .s-plan-head { flex-direction: column-reverse; align-items: flex-start; }
  .s-tools { grid-template-columns: 1fr; }
  .s-log-form { grid-template-columns: 1fr; }
  .s-log-list li { grid-template-columns: 1fr; }
  .s-tasks li { grid-template-columns: 1fr; }
  .s-task-link { margin-left: 42px; }
}
@media print {
  header, footer, .s-plan-actions, .s-log-form, .s-log-x, .s-tools { display: none !important; }
  .s-phase, .s-log { break-inside: avoid; border: 1px solid #ccc; }
  body.home { background: #fff; }
}

/* Step 1: claim type, property type, item and coverage */
.s-options.s-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.s-step .s-q:first-of-type { margin-top: 0; }
.s-q-note { font-weight: 600; color: var(--muted); font-size: 16px; }
.s-checks label > span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding-left: 52px; position: relative; }
.s-checks label > span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border: 2px solid var(--moss); border-radius: 6px; background: #fff; }
.s-checks input:checked + span::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3B30' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--sun); }
.s-checks small { font-weight: 500; font-size: 15px; opacity: .85; }
.s-note { background: #DCEAF0; border-radius: 14px; padding: 12px 16px; margin-top: 12px; font-size: 16px; line-height: 1.5; }
.s-intake [hidden], .s-plan [hidden] { display: none !important; }
#q-category, #item-wrap .s-q, #cov-wrap .s-q { margin-top: 32px; }

/* Reset */
.s-nav { align-items: center; flex-wrap: wrap; }
.s-reset { margin-left: auto; background: none; border: 0; color: var(--muted); font: 700 16px "Figtree", system-ui, sans-serif; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
.s-reset:hover { color: #9A3B1E; }

/* Consider closing */
.s-review { background: #FFFDF8; border: 1px solid var(--line); border-radius: 24px; padding: 28px; margin: 28px 0; }
.s-review h2 { font-size: 30px; margin-bottom: 6px; }
.s-review h3 { font-size: 24px; margin: 20px 0 8px; }
.s-review .s-options { margin-bottom: 12px; }
.s-toggle { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 18px; margin: 16px 0; cursor: pointer; }
.s-toggle input { width: 24px; height: 24px; accent-color: var(--moss); flex: none; }
.s-letter-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.s-review textarea { font: 16px/1.6 Georgia, serif; color: var(--navy); background: #fff; border: 2px solid #CFC4AF; border-radius: 14px; padding: 16px; width: 100%; resize: vertical; }
.s-review textarea:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.s-review .s-plan-actions .h-btn-main { background: var(--sun); color: var(--navy); border-color: var(--sun); }
.s-copied { font-weight: 800; color: var(--moss); align-self: center; }
@media (max-width: 760px) { .s-letter-fields { grid-template-columns: 1fr; } .s-reset { margin-left: 0; } }
@media print { .s-review { display: none !important; } }

/* Whose property is it? */
.s-role { margin-bottom: 8px; }
.s-role label > span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.s-role small { font-weight: 500; font-size: 15px; opacity: .85; }
.s-checks small a { color: inherit; font-weight: 800; }

/* ---------- Cause boxes: one question at a time ---------- */
.s-box { margin-bottom: 8px; }
.s-box-sum { display: none; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px; margin-bottom: 14px; background: #E4EEDF; border: 2px solid #B9CEC0; border-radius: 16px; font: 700 18px "Figtree", system-ui, sans-serif; color: var(--navy); cursor: pointer; text-align: left; }
.s-box-sum:hover { border-color: var(--navy); }
.s-box-sum:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.s-box-change { font-size: 15px; color: var(--moss); text-decoration: underline; flex: none; }
.s-box.done > .s-options, .s-box.done > .s-field, .s-box.done > .s-note { display: none; }
.s-box.done > .s-box-sum { display: flex; }

/* ---------- Who may be responsible ---------- */
.s-parties { margin-top: 26px; padding-top: 22px; border-top: 2px dashed var(--line); }
.s-suggest { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.s-chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; font: 700 16px "Figtree", system-ui, sans-serif; cursor: pointer; background: #FFFDF8; color: var(--navy); border: 2px solid var(--moss); }
.s-chip:hover { background: #E4EEDF; }
.s-hits { display: grid; gap: 8px; margin-bottom: 12px; }
.s-hit { display: grid; text-align: left; gap: 2px; padding: 10px 14px; background: #FFFDF8; border: 2px solid #CFC4AF; border-radius: 12px; cursor: pointer; font: 600 16px "Figtree", system-ui, sans-serif; color: var(--navy); }
.s-hit:hover { border-color: var(--navy); }
.s-hit small { color: var(--muted); font-weight: 500; }
.s-pform { background: #FFFDF8; border: 2px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.s-plist { list-style: none; display: grid; gap: 8px; margin: 8px 0 12px; }
.s-plist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #FFFDF8; border: 2px solid #B9CEC0; border-radius: 14px; padding: 10px 14px; }
.s-plist li div { display: grid; gap: 2px; }
.s-plist small { color: var(--muted); font-size: 15px; }
.s-add { min-height: 48px; padding: 10px 20px; border-radius: 999px; font: 800 17px "Figtree", system-ui, sans-serif; cursor: pointer; background: transparent; color: var(--navy); border: 2px dashed var(--navy); }
.s-add:hover { background: #E4EEDF; }
.s-pout { background: #FFFDF8; border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; margin-bottom: 24px; }
.s-pout h2 { font-size: 26px; margin-bottom: 6px; }
.s-dgroup { margin-bottom: 14px; }
.s-dgroup-h { font-weight: 800; font-size: 17px; margin: 6px 0 10px; }

/* "Best guess" tile: one tap picks the likeliest answers */
.s-options .s-best-tile > span { border-style: dashed; border-color: var(--moss); background: #EEF3EA; }
.s-options .s-best-tile input:checked + span { border-style: solid; }

/* Your letters */
.s-letters { margin-bottom: 18px; }
.s-lcount { font-weight: 800; color: var(--moss); margin: 4px 0 8px; }
.s-lgroup { margin-top: 18px; }
.s-lgroup h3 { font-family: "Fraunces", Georgia, serif; font-size: 22px; }
.s-lcards { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.s-lcards li { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 2px solid #B9CEC0; border-radius: 16px; padding: 14px 16px; }
.s-lcards li.done { background: #EEF4EF; border-color: var(--moss); }
.s-lcard-main { display: grid; gap: 3px; }
.s-lcard-main b { font-size: 17px; }
.s-lcard-main small { color: var(--muted); font-size: 15px; }
.s-lto { display: inline-block; justify-self: start; font-size: 14px; font-weight: 800; background: var(--sun); color: var(--navy); border-radius: 999px; padding: 2px 10px; }
.s-lcard-act { display: grid; gap: 8px; justify-items: end; flex: none; }
.s-lopen { background: var(--moss); color: #fff; font-weight: 800; text-decoration: none; border-radius: 999px; padding: 10px 16px; white-space: nowrap; }
.s-lopen:hover { background: #335A45; }
.s-lsent { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; cursor: pointer; }
.s-lsent input { width: 22px; height: 22px; accent-color: var(--moss); }
@media (max-width: 640px) {
  .s-lcards li { flex-direction: column; align-items: stretch; }
  .s-lcard-act { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
  .s-lopen { text-align: center; }
}
@media print { .s-lcard-act { display: none; } }

/* Rooms (water inside) */
.s-rooms { margin: 6px 0 4px; padding: 18px; border-radius: 20px; background: #EEF4EF; border: 2px solid #B9CEC0; }
.s-rooms .s-q { margin-top: 0; }
.s-roomlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.s-roomlist li { background: var(--sun); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 6px 14px; }
@media print { .s-proom { break-inside: avoid; border: 1px solid #ccc; } .s-roomlist li { border: 1px solid #999; } }

/* How we build your plan */
.s-roadmap { background: #FFFDF8; border: 2px solid #B9CEC0; border-left-width: 8px; border-radius: 16px; padding: 16px 20px; margin: 4px 0 22px; }
.s-roadmap p { font-size: 17px; line-height: 1.5; color: var(--navy); }
.s-roadmap-h { font-weight: 800; font-size: 18px !important; margin-bottom: 4px; }
.s-roadmap-fine { color: var(--muted) !important; font-size: 15px !important; margin-top: 6px; }
.s-field select { font: 600 18px "Figtree", system-ui, sans-serif; color: var(--navy); background: #FFFDF8; border: 2px solid #CFC4AF; border-radius: 14px; padding: 14px 16px; min-height: 52px; }
.s-field select:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--navy); }
.s-sender { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--line); }
.s-check { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 14px 0; }
.s-check input { width: 22px; height: 22px; accent-color: var(--moss); }
textarea[name="what"] { font: 600 17px "Figtree", system-ui, sans-serif; color: var(--navy); background: #FFFDF8; border: 2px solid #CFC4AF; border-radius: 14px; padding: 14px 16px; }
.s-copy { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
/* Folded checklist */
.s-fold-head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; color: var(--navy); }
.s-fold-title { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 26px; }
.s-fold-sum { display: block; font-weight: 700; color: var(--muted); font-size: 16px; margin-top: 2px; }
.s-fold-btn { flex-shrink: 0; font-weight: 800; font-size: 15px; color: var(--moss); border: 2px solid var(--moss); border-radius: 999px; padding: 8px 16px; }
.s-fold-head:hover .s-fold-btn { background: #E4EEDF; }
.s-fold-next { margin: 12px 0 0; font-size: 17px; }
.s-fold-next a { font-weight: 800; color: var(--moss); }
.s-fold.open .s-fold-next { display: none; }
.s-fold #p-phases { margin-top: 18px; }
@media print { .s-fold-btn { display: none !important; } .s-fold.open .s-fold-next { display: none; } }
/* New intake: roadmap, role switch, insurance */
.s-road { list-style: none; counter-reset: road; display: grid; gap: 8px; margin: 10px 0 8px; padding: 0; }
.s-road li { counter-increment: road; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: baseline; }
.s-road li::before { content: counter(road); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--moss); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.s-road b { font-size: 17px; } .s-road span { color: var(--muted); font-size: 15px; font-weight: 600; }
.s-roleswitch { margin: 6px 0 18px; }
.s-sub { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 22px; margin: 18px 0 2px; color: var(--navy); }
.s-mini { margin-left: 8px; font: 800 13px "Figtree", system-ui, sans-serif; color: var(--moss); background: #fff; border: 1px solid var(--moss); border-radius: 999px; padding: 2px 10px; cursor: pointer; }
.s-insfind { margin: 4px 0 10px; }
.s-insrow { flex-wrap: wrap; }
.s-insnums { display: flex; gap: 8px; flex-wrap: wrap; }
.s-insnums input { font: 600 15px "Figtree", system-ui, sans-serif; border: 2px solid #CFC4AF; border-radius: 10px; padding: 8px 10px; background: #FFFDF8; width: 170px; }
@media (min-width: 760px) {
  .s-road { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .s-road li { grid-template-columns: 1fr; row-gap: 4px; align-items: start; align-content: start; }
  .s-road li::before { grid-row: auto; }
  .s-road b { font-size: 15px; } .s-road span { font-size: 13px; line-height: 1.35; }
}
/* "What was damaged?" search */
.s-dsearch { margin: 4px 0 18px; }
.s-dsearch input[type="search"] { width: 100%; font: 600 18px "Figtree", system-ui, sans-serif; color: var(--navy); background: #fff; border: 2px solid var(--moss); border-radius: 14px; padding: 14px 16px; min-height: 54px; }
.s-dsearch input[type="search"]:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.s-quick-h { font-weight: 800; font-size: 15px; color: var(--muted); margin: 14px 0 6px; }
.s-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.s-linkbtn { background: none; border: 0; padding: 0; margin-top: 12px; font: 800 15px "Figtree", system-ui, sans-serif; color: var(--moss); text-decoration: underline; cursor: pointer; }
.s-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 14px; font-weight: 700; color: var(--muted); font-size: 15px; }
.s-mini.picked { background: var(--moss); color: #fff; }
/* Recovery Kit tabs */
.s-tabs { display: flex; gap: 8px; margin: 18px 0 20px; border-bottom: 2px solid var(--line); }
.s-tab { font: 800 17px "Figtree", system-ui, sans-serif; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 12px 16px; cursor: pointer; }
.s-tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--moss); }
.s-tab-n { font-size: 14px; font-weight: 800; color: #fff; background: var(--moss); border-radius: 999px; padding: 2px 9px; margin-left: 4px; }
.s-group h3 { font-family: "Fraunces", Georgia, serif; font-size: 22px; margin: 22px 0 8px; }
.s-group:first-child h3 { margin-top: 6px; }
@media print { .s-tabs { display: none !important; } .s-panel[hidden] { display: block !important; } }

/* ---------- Plain-language help ---------- */
.s-term { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 2px; border-radius: 50%; border: 0; background: #E4EEDF; color: var(--moss); font: 800 13px "Figtree", system-ui, sans-serif; cursor: pointer; vertical-align: middle; }
.s-term:hover, .s-term:focus-visible { background: var(--moss); color: #fff; outline: none; }
.s-pop { position: absolute; z-index: 60; background: var(--navy); color: #F5F0E6; border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; box-shadow: 0 14px 32px rgba(30, 59, 48, .25); }
.s-pop b { color: #fff; }

/* ---------- Sample file banner ---------- */
.s-sample { background: var(--navy); color: #F5F0E6; padding: 10px 0; font-size: 16px; }
.s-sample .wrap { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.s-sample b { color: #fff; }
.s-sample-exit { min-height: 38px; padding: 6px 16px; font-size: 15px; border-color: #F5F0E6 !important; color: #F5F0E6 !important; background: transparent; cursor: pointer; }

/* ---------- Views, people status, report, roadmap ---------- */
.s-views { display: inline-flex; gap: 4px; background: #E9E1D2; border-radius: 999px; padding: 4px; margin: 4px 0 18px; }
.s-view { border: 0; background: transparent; border-radius: 999px; padding: 9px 18px; font: 800 16px "Figtree", system-ui, sans-serif; color: var(--muted); cursor: pointer; }
.s-view[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(30, 59, 48, .12); }
.s-pstat { font-size: 14px; font-weight: 700; color: var(--muted); }
.s-pstat.ok { color: var(--moss); }
.s-pstat.warn { color: #9A5A1F; }
.s-inswho { font: 600 15px "Figtree", system-ui, sans-serif; border: 2px solid #B9CEC0; border-radius: 10px; padding: 6px 8px; background: #fff; margin-top: 6px; max-width: 100%; }
.s-ownlink { margin-top: 18px; font-size: 15px; color: var(--muted); }
.s-ownlink a { color: var(--moss); font-weight: 800; }
.s-road li.can { cursor: pointer; }
.s-road li.can b { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.s-road li.on b { color: var(--moss); }
.s-flash { box-shadow: 0 0 0 4px var(--sun) !important; transition: box-shadow .2s ease; }

/* ---------- Dashboard ---------- */
.s-dash .s-narrow { max-width: 1340px; }
.s-dash .s-roadmap, .s-dash .s-progress, .s-dash .s-stepcount, .s-dash .s-nav #s-back, .s-dash .s-nav #s-next, .s-dash .s-error { display: none !important; }
.s-dash .s-dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.s-dash fieldset.s-step, .s-dash .s-dcard { display: block; background: #FFFDF8; border: 2px solid #E3DACA; border-radius: 20px; padding: 18px 22px 22px; margin: 0 0 18px; }
.s-dash fieldset[hidden].s-step { display: block; }
.s-dash fieldset > legend { float: left; width: 100%; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 24px; margin: 0 0 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.s-dash fieldset > legend::after { content: "Hide"; font: 800 14px "Figtree", system-ui, sans-serif; color: var(--moss); }
.s-dash fieldset > legend + * { clear: both; }
.s-dash fieldset.s-folded > legend::after { content: "Show"; }
.s-dash fieldset.s-folded > *:not(legend):not(.s-fsum) { display: none !important; }
.s-fsum { display: none; }
.s-dash fieldset.s-folded > .s-fsum { display: block; clear: both; }
.s-fsum dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 18px; }
.s-fsum dl div { min-width: 0; }
.s-fsum dt { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--moss); }
.s-fsum dd { margin: 2px 0 0; font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s-dash fieldset.s-step.s-folded { padding-bottom: 16px; }
.s-dcard { border: 0; padding: 0; margin: 0; }
.s-dcard > legend { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 24px; }
.s-dash .s-roleswitch { display: none; }
.s-dash .s-nav { margin-top: 4px; }
.s-dash .s-title { font-size: clamp(30px, 3.4vw, 42px); }

/* File bar */
.s-dbar { background: var(--navy); color: #F5F0E6; border-radius: 20px; padding: 14px 18px; margin: 0 0 20px; display: grid; gap: 12px; }
.s-dbar-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.s-dfact-other { margin-left: auto; border: 1px dashed rgba(255, 255, 255, .55); background: transparent; }
.s-dfact-other:hover, .s-dfact-other:focus-visible { background: rgba(255, 255, 255, .12); }
.s-dfact { display: grid; text-align: left; gap: 1px; border: 0; background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 7px 14px; color: #F5F0E6; cursor: pointer; font-family: inherit; }
.s-dfact small { font-size: 12px; font-weight: 700; opacity: .75; text-transform: uppercase; letter-spacing: .04em; }
.s-dfact b { font-size: 17px; }
.s-dfact.empty b { color: #F2C66D; text-decoration: underline; }
.s-dfact:hover { background: rgba(255, 255, 255, .16); }
.s-stages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.s-stages-h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .75; margin-right: 4px; }
/* Every stage box looks the same; the one the claim is in is the only colored box, so the status reads at a glance. */
.s-stages button { border: 2px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: rgba(245, 240, 230, .82); border-radius: 999px; padding: 7px 14px; font: 700 15px "Figtree", system-ui, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.s-stages button:hover { background: rgba(255, 255, 255, .16); color: #F5F0E6; }
.s-stages button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(245, 240, 230, .55); box-sizing: border-box; }
.s-stages button[aria-pressed="true"] { background: #F2C66D; color: var(--navy); border-color: #F2C66D; font-weight: 800; box-shadow: 0 2px 10px rgba(242, 198, 109, .45); }
.s-stages button[aria-pressed="true"]::before { background: var(--navy); border-color: var(--navy); }
.s-stages button[aria-pressed="true"]:hover { background: #EDB94F; border-color: #EDB94F; color: var(--navy); }
.s-dsuggest { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 8px 12px; font-weight: 600; }
.s-dsuggest .s-dbtn { background: var(--sun); border-color: var(--sun); color: var(--navy); }

/* Side panel */
.s-dpanel { position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow-y: auto; display: grid; gap: 14px; padding-bottom: 8px; }
.s-dsec { background: #fff; border: 2px solid #E3DACA; border-radius: 18px; padding: 16px 18px; display: grid; gap: 8px; }
.s-dsec h2 { font-family: "Fraunces", Georgia, serif; font-size: 21px; margin: 0; }
.s-dcount { font-size: 15px; color: var(--muted); font-weight: 600; }
.s-dgroup { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 6px 0 0; font-family: "Figtree", system-ui, sans-serif; }
.s-dgroup.now { color: var(--moss); }
.s-dletters, .s-dmiss, .s-dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s-dletters li { border: 2px solid #E3DACA; border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; }
.s-dletters li.sent { background: #F3F7F1; border-color: #CFE0C9; }
.s-dlt { display: grid; gap: 1px; }
.s-dlt b { font-size: 16px; line-height: 1.3; }
.s-dlt small { font-size: 14px; color: var(--muted); }
.s-dst { font-size: 14px; font-weight: 700; margin: 0; }
.s-dst.ok { color: var(--moss); }
.s-dst.need { color: #9A5A1F; }
.s-ddiary { font-size: 14px; font-weight: 600; margin: 0; color: var(--navy); }
.s-ddiary.late { color: #A2442A; }
.s-dacts-row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.s-dacts-row .s-lopen { font-size: 15px; }
.s-dbtn { border: 2px solid var(--navy); background: transparent; color: var(--navy); border-radius: 999px; padding: 4px 12px; font: 800 14px "Figtree", system-ui, sans-serif; cursor: pointer; }
.s-dbtn.quiet { border-color: transparent; text-decoration: underline; padding: 4px 6px; }
.s-dsentdate { font: 600 14px "Figtree", system-ui, sans-serif; border: 2px solid #CFC4AF; border-radius: 8px; padding: 3px 6px; }
.s-dmiss button { width: 100%; display: grid; text-align: left; gap: 1px; border: 2px solid #EAD9B5; background: #FFF8EA; border-radius: 12px; padding: 8px 12px; cursor: pointer; font: 700 15px "Figtree", system-ui, sans-serif; color: var(--navy); }
.s-dmiss button:hover { border-color: var(--navy); }
.s-dmiss small { font-weight: 600; color: var(--muted); }
.s-dok { color: var(--moss); font-weight: 700; }
.s-ddue { display: grid; gap: 1px; margin: 0; }
.s-ddue b { font-size: 17px; }
.s-ddue small { color: var(--muted); font-weight: 600; }
.s-ddue.warn b { color: #A2442A; }
.s-dnote { font-size: 15px; background: #FDF0E9; border-radius: 10px; padding: 8px 10px; }
.s-dnote a { color: var(--navy); font-weight: 800; }
.s-dlist li { font-size: 15px; }
.s-dfault { font-size: 15px; margin: 0; }
.s-dacts { gap: 10px; }
.s-dacts .h-btn { border: 2px solid transparent; cursor: pointer; font-family: inherit; min-height: 46px; font-size: 16px; }
.s-dacts .h-btn-line { border-color: var(--navy); background: transparent; }

/* Money */
.s-mout p { margin: 6px 0; font-size: 17px; }
.s-mout small { color: var(--muted); font-size: 15px; }
.s-moffers { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 8px; }
.s-moffers li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.s-moffers input { font: 600 15px "Figtree", system-ui, sans-serif; border: 2px solid #CFC4AF; border-radius: 10px; padding: 8px 10px; background: #fff; }
.s-moffers small { color: var(--muted); font-weight: 600; }
.s-mfault { margin-top: 14px; }
.s-msplits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-msplit { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #E3DACA; border-radius: 14px; padding: 12px; cursor: pointer; background: #fff; }
.s-msplit.on { border-color: var(--moss); background: #F3F7F1; }
.s-msplit > span { display: grid; gap: 3px; }
.s-msplit small { color: var(--muted); }

@media (max-width: 1080px) {
  .s-dash .s-dgrid { grid-template-columns: minmax(0, 1fr); }
  .s-dpanel { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 640px) { .s-msplits { grid-template-columns: 1fr; } .s-views { display: flex; } .s-view { flex: 1; padding: 9px 10px; } }
@media print { .s-dpanel, .s-dbar, .s-views, .s-sample { display: none !important; } }
.s-dmore { border-top: 1px solid #E3DACA; padding-top: 6px; }
.s-dmore summary { cursor: pointer; font-weight: 800; color: var(--moss); padding: 6px 0; }
/* Dashboard: tighter answer buttons so more of the file fits on screen */
.s-dash .s-options label > span { min-height: 44px; padding: 9px 14px; font-size: 16px; border-radius: 12px; }
.s-dash .s-options.s-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.s-dash .s-options.s-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.s-dash .s-q { font-size: 17px; margin-top: 16px; }
.s-dash .s-box-sum { min-height: 44px; padding: 8px 16px; }
.s-dash .s-field input, .s-dash .s-field select, .s-dash .s-field textarea { padding-top: 9px; padding-bottom: 9px; }
.s-step, .s-dcard { min-width: 0; }  /* fieldsets otherwise refuse to shrink on small screens */
.s-field select { max-width: 100%; min-width: 0; width: 100%; }

/* ---------- Payments and documents ---------- */
.s-paymsg { background: #E4EEDF; border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 15px; }
#pay-totals { display: grid; gap: 4px; margin: 12px 0; }
.s-ptot { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; margin: 0; padding: 4px 0; border-bottom: 1px dashed #E3DACA; }
.s-ptot.main { font-size: 19px; font-weight: 800; }
.s-ptot.ok b { color: var(--moss); }
.s-ptot.warn b { color: #9A5A1F; }
.s-pcats { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.s-pcats li { background: #F1ECE1; border-radius: 999px; padding: 3px 10px; font-size: 14px; font-weight: 600; }
.s-pays { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 10px; counter-reset: pay; }
.s-pay { border: 2px solid #E3DACA; border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; background: #fff; }
.s-pay.out { background: #FAF7F0; }
.s-prow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 130px minmax(0, 1.1fr); gap: 8px; }
.s-prow input, .s-pcat, .s-pmatch, .s-dfolder { font: 600 15px "Figtree", system-ui, sans-serif; border: 2px solid #CFC4AF; border-radius: 10px; padding: 7px 9px; background: #fff; min-width: 0; color: var(--navy); }
.s-pdesc { font-size: 14px; color: var(--muted); margin: 0; }
.s-pstatus { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.s-pflag { font-size: 14px; font-weight: 700; }
.s-pflag.warn { color: #9A5A1F; }
.s-pflag.dup { color: #A2442A; }
.s-pflag.dup .s-linkbtn { font-size: 13px; font-weight: 700; color: var(--navy); }
.s-pchip { display: inline-flex; align-items: center; background: #E4EEDF; border-radius: 999px; padding: 2px 4px 2px 10px; }
.s-pdoc { border: 0; background: transparent; color: var(--navy); font: 700 14px "Figtree", system-ui, sans-serif; cursor: pointer; text-decoration: underline; text-align: left; padding: 2px 0; }
.s-px { border: 0; background: transparent; cursor: pointer; font-size: 16px; color: var(--muted); padding: 0 6px; }
.s-pacts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.s-pinc { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; cursor: pointer; }
.s-drop { display: grid; place-items: center; text-align: center; border: 2px dashed var(--moss); border-radius: 16px; padding: 18px; background: #F3F7F1; cursor: pointer; font-weight: 700; color: var(--moss); margin: 6px 0 10px; }
.s-drop input { max-width: 100%; margin-bottom: 6px; }
.s-drop.over { background: #E4EEDF; }
.s-dfold h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 10px 0 4px; }
.s-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.s-docs li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; border: 1px solid #E3DACA; border-radius: 10px; padding: 6px 10px; background: #fff; }
.s-docs small { color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .s-prow { grid-template-columns: 1fr 1fr; } }

/* ---------- Next step, evidence, interview ---------- */
.s-dnext { border-color: var(--moss); background: #F3F7F1; }
.s-dnext-go { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 0; font: 700 15px "Figtree", system-ui, sans-serif; color: var(--navy); cursor: pointer; text-decoration: underline; text-decoration-color: #B9CEC0; text-underline-offset: 3px; line-height: 1.4; }
.s-dnext-go.main { font-size: 17px; font-weight: 800; background: #fff; border: 2px solid var(--moss); border-radius: 12px; padding: 10px 12px; text-decoration: none; }
.s-dnext-go.main.urgent { border-color: #A2442A; background: #FDF0E9; }
.s-dthen { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 4px 0 0; }
.s-dthenlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.s-evlist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.s-ev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; border: 2px solid #E3DACA; border-radius: 12px; padding: 8px 12px; background: #fff; }
.s-ev.rcv { border-color: #CFE0C9; background: #F3F7F1; }
.s-ev small { grid-column: 1 / -1; color: var(--muted); font-weight: 600; font-size: 14px; }
.s-ev small.late { color: #A2442A; }
.s-evbtns { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.s-evbtns button { border: 2px solid #CFC4AF; background: #fff; border-radius: 999px; padding: 4px 10px; font: 700 14px "Figtree", system-ui, sans-serif; color: var(--muted); cursor: pointer; }
.s-evbtns button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.s-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: 20px; padding: 22px 24px; background: #FFFDF8; color: var(--navy); box-shadow: 0 24px 60px rgba(30, 59, 48, .3); }
.s-dialog::backdrop { background: rgba(30, 59, 48, .45); }
.s-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.s-dialog h2 { font-family: "Fraunces", Georgia, serif; font-size: 26px; margin: 0; }
.s-dialog h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--moss); margin: 16px 0 6px; }
.s-ivq { display: grid; gap: 4px; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.s-ivq textarea { font: 500 15px "Figtree", system-ui, sans-serif; border: 2px solid #CFC4AF; border-radius: 10px; padding: 8px 10px; resize: vertical; }
@media (max-width: 640px) { .s-ev { grid-template-columns: 1fr; } }
.s-pays, .s-pay, .s-pacts, .s-pstatus { min-width: 0; }
.s-pcat, .s-pmatch, .s-dfolder, .s-inswho { max-width: 100%; }
@media (max-width: 760px) { .s-pmatch { width: 100%; } .s-prow input, .s-pcat { width: 100%; } }

/* Where was the damage? */
.s-room-find { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--moss); border-radius: 14px; padding: 0 16px; min-height: 54px; margin-top: 6px; }
.s-room-find:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-room-find input { border: 0; outline: none; background: transparent; font: inherit; font-size: 18px; flex: 1; min-width: 0; color: var(--navy); }
.s-room-sug-label, .s-room-picked-label { font-size: 15px; font-weight: 800; color: var(--muted); margin: 12px 0 6px; }
.s-room-sug { display: flex; flex-wrap: wrap; gap: 8px; }
.s-room-add { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px dashed var(--moss); background: var(--page); color: var(--navy); font: 700 16px "Figtree", sans-serif; cursor: pointer; }
.s-room-add:hover { background: var(--sky-soft); }
.s-room-add:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-room-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s-room-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--moss); color: #fff; font-weight: 700; cursor: pointer; position: relative; }
.s-room-chip[hidden] { display: none; }
.s-room-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.s-room-chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.s-room-x { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: 18px; line-height: 1; }

/* ---------- This file at a glance ---------- */
.s-hub { background: #EFE8DA; border-bottom: 1px solid #E0D6C2; padding: 14px 0 16px; }
.s-hub[hidden] { display: none; }
.s-hub-h { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.s-hub-h b { color: var(--navy); font-size: 16px; }
.s-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.s-hub-tile { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 34px 10px 12px; text-align: left; background: #FFFDF8; border: 2px solid #E0D6C2; border-radius: 14px; color: var(--navy); font: inherit; text-decoration: none; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.s-hub-tile:hover { border-color: var(--moss); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30, 59, 48, .1); }
.s-hub-tile:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-hub-ic { font-size: 24px; line-height: 1; flex: none; }
.s-hub-tx { display: flex; flex-direction: column; min-width: 0; }
.s-hub-tx b { font-size: 15px; font-weight: 800; }
.s-hub-tx small { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.s-hub-ck { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.s-hub-tile.done { background: #EEF5EA; border-color: #BCD3B3; }
.s-hub-tile.done .s-hub-ck { background: #3E6B52; color: #fff; }
.s-hub-tile.warn .s-hub-ck { background: #F2C66D; color: #1E3B30; }
@media (max-width: 600px) {
  .s-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .s-hub-tile { min-height: 58px; padding: 8px 26px 8px 10px; gap: 8px; }
  .s-hub-ic { font-size: 20px; }
}
@media print { .s-hub { display: none; } }
.s-begin { background: #FFF6DF; border: 1px solid #F2DBA3; border-radius: 18px; padding: 16px 18px; margin: 0 0 14px; }
.s-begin h2 { font-size: 22px; margin: 0 0 10px; }
.s-begin-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s-begin-opt { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--moss); background: #FFFDF8; color: var(--navy); font: 500 15px/1.4 "Figtree", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.s-begin-opt b { font-weight: 800; font-size: 17px; }
.s-begin-opt.main { background: var(--navy, #1E3B30); color: #F5F0E6; border-color: var(--navy, #1E3B30); }
.s-begin-opt:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30, 59, 48, .12); }
.s-begin-opt:focus-visible { outline: 3px solid #F2C66D; outline-offset: 2px; }
@media (max-width: 600px) { .s-begin-row { grid-template-columns: minmax(0, 1fr); } }
.s-hub-acts[hidden], .s-begin[hidden], .s-hub-act[hidden] { display: none; }
.s-hub-acts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 12px; }
.s-hub-act { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 2px solid var(--moss); background: #FFFDF8; color: var(--navy); font: 800 15px "Figtree", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.s-hub-act small { font-weight: 600; font-size: 13px; color: var(--muted); }
.s-hub-act.main { background: #1E3B30; border-color: #1E3B30; color: #F5F0E6; }
.s-hub-act:hover { border-color: #1E3B30; }
.s-hub-act.main:hover { background: #3E6B52; border-color: #3E6B52; }
.s-hub-act:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (max-width: 600px) { .s-hub-act { flex: 1 1 100%; justify-content: center; } }

/* ---------- File folders card (right under the dashboard bar) ---------- */
.s-docs-card { scroll-margin-top: 90px; }
.s-docs-card[hidden] { display: none !important; }
.s-docs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 6px; }
.s-docs-head h2 { font-family: "Fraunces", Georgia, serif; font-size: 24px; margin: 0; }
.s-docs-read { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 2px solid var(--moss); border-radius: 12px; background: #FFFDF8; color: var(--navy); font: 800 15px "Figtree", system-ui, sans-serif; text-decoration: none; }
.s-docs-read small { font-weight: 600; font-size: 13px; color: var(--muted); }
.s-docs-read:hover { border-color: var(--navy); }
.s-docs-card #doc-list { display: block; margin-top: 12px; }
.s-docs-card #doc-list > .s-hint { grid-column: 1 / -1; margin: 0; }
.s-docs-card .s-dfold { background: #F5F0E6; border-radius: 14px; padding: 10px 14px; }
.s-docs-card .s-dfold h4 { margin: 2px 0 6px; }
.s-docs-card .s-dfold h4::before { content: ""; }
.s-docs-card .s-drop { padding: 22px 18px; font-size: 17px; }
.s-docs-card .s-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.s-docs-card .s-drop span::before { content: ""; display: block; font-size: 26px; margin-bottom: 4px; }
.s-docs-card .s-drop:hover { background: #E4EEDF; }
.s-docs-card .s-drop:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (max-width: 600px) {
  .s-docs-read { width: 100%; justify-content: center; }
  .s-docs-read small { display: none; }
  .s-docs-card #doc-list { grid-template-columns: minmax(0, 1fr); }
}

#dash-pay { scroll-margin-top: 90px; margin-top: 4px; margin-bottom: 28px; }

/* Payments folder inside File folders */
.s-payfold { margin: 14px 0 4px; border: 2px solid #BCD3B3; border-radius: 16px; background: #F5F0E6; scroll-margin-top: 90px; }
.s-payfold > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 44px 14px 16px; position: relative; border-radius: 14px; }
.s-payfold > summary::-webkit-details-marker { display: none; }
.s-payfold > summary::after { content: "Open"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 800 14px "Figtree", system-ui, sans-serif; color: var(--moss); }
.s-payfold[open] > summary::after { content: "Close"; }
.s-payfold > summary:hover { background: #EEF5EA; }
.s-payfold > summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-payfold-name { font: 700 20px "Fraunces", Georgia, serif; color: var(--navy); }
.s-payfold-sum { font-size: 14px; font-weight: 700; color: var(--moss); }
.s-payfold-sum.warn { color: #9A4A17; }
.s-payfold-body { padding: 0 16px 16px; }
.s-docs-card .s-docs li .s-pmatch { max-width: 100%; }
@media (max-width: 600px) { .s-payfold > summary { padding-right: 16px; } .s-payfold > summary::after { position: static; transform: none; } }
.s-docs-card .s-dfold { min-width: 0; }
.s-docs-card .s-docs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; min-width: 0; }
.s-docs-card .s-docs li > .s-pdoc, .s-docs-card .s-docs li > small, .s-docs-card .s-docs li > .s-pmatch { grid-column: 1 / -1; }
.s-docs-card .s-docs li > .s-pdoc { text-align: left; overflow-wrap: anywhere; }
.s-docs-card .s-docs li > .s-dfolder, .s-docs-card .s-docs li > .s-pmatch { width: 100%; min-width: 0; }
/* Read and sort every document in the file folders */
.s-readall { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 12px; }
.s-readall .h-btn { min-height: 48px; }
.s-readall .h-btn:disabled { opacity: .75; cursor: default; }
.s-readall span { font-size: 15px; color: var(--muted, #3F5A4D); flex: 1 1 240px; }
.s-readall-out { background: #E4EEDF; border-radius: 14px; padding: 12px 16px; margin: 0 0 12px; font-size: 15px; }
.s-readall-out .s-readall-h { font-weight: 800; margin: 0 0 8px; }
.s-readall-out ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.s-readall-out li { background: #fff; border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.s-readall-out li.warn { background: #FBEFD9; }
.s-readall-out li small { color: #7A4B12; font-size: 13.5px; }

/* ---------- Claim information: its own page (#info); the claim shows a summary ---------- */
.s-dash:not(.s-info) fieldset.s-step, .s-dash:not(.s-info) .s-info-done, .s-info-bar, .s-info-done { display: none !important; }
.s-dash fieldset.s-step > legend::after { content: none; }
.s-dash fieldset.s-step > legend { cursor: default; }
.s-dash .s-workfor, .s-dash .s-proof-have { display: none !important; }
.s-dash.s-info .s-info-bar { display: flex !important; }
.s-dash.s-info .s-info-done { display: block !important; margin: 4px 0 24px; }
.s-dash.s-info #dash-info, .s-dash.s-info #dash-tasks, .s-dash.s-info #dash-ev, .s-dash.s-info #dash-money, .s-dash.s-info #dash-docs, .s-dash.s-info #dash-panel, .s-dash.s-info .s-nav, .s-dash.s-info #dash-suggest { display: none !important; }
.s-dash.s-info .s-dgrid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.s-info-bar { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #F5F0E6; border-radius: 16px; padding: 12px 16px; margin: 0 0 16px; align-items: center; gap: 12px 16px; flex-wrap: wrap; box-shadow: 0 8px 20px rgba(30, 59, 48, .18); }
.s-info-bar > div { flex: 1 1 260px; display: grid; gap: 2px; }
.s-info-bar span { font-size: 14.5px; color: #D5E4CF; }
.s-info-card { background: #FFFDF8; border: 2px solid #E3DACA; border-radius: 20px; padding: 18px 22px 20px; margin: 0 0 18px; }
.s-info-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.s-info-head h2 { font: 700 24px "Fraunces", Georgia, serif; margin: 0; }
.s-info-group { border-top: 1px dashed #E3DACA; padding-top: 12px; margin-top: 12px; }
.s-info-group h3 { font: 800 13px "Figtree", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--moss); margin: 0 0 8px; }
.s-info-group dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 18px; }
.s-info-group dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.s-info-group dd { margin: 1px 0 0; font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Evidence kept from the scene ---------- */
.s-scene { margin-bottom: 14px; }
.s-evkept { margin-bottom: 6px; }
.s-evitems { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 10px; }
.s-evitem { border: 2px solid #E3DACA; border-radius: 14px; padding: 10px 12px; background: #fff; display: grid; gap: 8px; }
.s-evitem.released, .s-evitem.discarded { background: #F3F7F1; border-color: #B9CEC0; }
.s-evrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.s-evrow input, .s-evrow select { font: 600 15px "Figtree", system-ui, sans-serif; border: 2px solid #B9CEC0; border-radius: 10px; padding: 8px 10px; min-height: 42px; background: #fff; color: var(--ink); min-width: 0; }
.s-evrow input[type=text] { flex: 1 1 180px; }
.s-evrow select { flex: 0 1 auto; max-width: 100%; }
.s-evnote { border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 15px; margin: 8px 0 0; }
.s-evnote.warn { background: #FBEFD9; color: #7A4B12; }
.s-evnote.ok { background: #E4EEDF; color: var(--moss); }

/* ---------- Settlement ---------- */
.s-settle { border-top: 2px dashed #E3DACA; margin-top: 18px; padding-top: 14px; }
.s-settle-h { font: 700 21px "Fraunces", Georgia, serif; margin: 0 0 8px; }
.s-sched { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.s-sched li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; background: #fff; border: 1px solid #E3DACA; border-radius: 10px; padding: 8px 12px; }
.s-sched li label { display: flex; gap: 10px; align-items: center; font-weight: 700; cursor: pointer; }
.s-sched li input { width: 20px; height: 20px; }
.s-sched li.got { background: #F3F7F1; }
.s-sched li.late small { color: #9A5A1F; font-weight: 700; }
.s-ded-rule { background: #E7EEF5; border-radius: 12px; padding: 10px 12px; font-size: 14.5px; line-height: 1.45; margin: 8px 0; }
.s-ded-rule small { display: block; color: var(--muted); margin-top: 4px; }
.s-settle-split { background: #E4EEDF; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.s-settle-split small { color: var(--muted); }
.s-settle-split.is-short { background: #FBEFD8; }
.s-settle textarea { width: 100%; box-sizing: border-box; font: 500 15px "Figtree", system-ui, sans-serif; border: 2px solid #B9CEC0; border-radius: 10px; padding: 8px 10px; }
.s-settle .h-btn:disabled { opacity: .55; cursor: not-allowed; }

#dash-ev .s-letter-fields, #dash-money .s-letter-fields { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
#dash-ev .s-field input, #dash-money .s-field input, #dash-money .s-field select { width: 100%; min-width: 0; box-sizing: border-box; }

/* Checkbox tiles keep room for their box on the Dashboard too (the compact padding was covering the first letters). */
.s-dash .s-checks label > span { padding-left: 46px; }
.s-dash .s-checks label > span::before { left: 13px; width: 20px; height: 20px; margin-top: -10px; }
@media print {
  .wsh-side, .ws-side, #info-bar, .s-info-done, .s-readall, .s-drop { display: none !important; }
  .s-dash .s-dgrid { display: block !important; }
  .s-dash fieldset, .s-dash .s-dcard, .s-info-card { break-inside: avoid-page; }
}

/* ---------- Documents: envelope folders ---------- */
.s-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 10px; }
.s-folder { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px 8px 10px; min-height: 112px; border: 2px solid #E3DACA; border-radius: 14px; background: #FFFDF8; cursor: pointer; font-family: inherit; color: var(--ink); }
.s-folder svg { width: 46px; height: 38px; }
.s-folder-name { font-weight: 800; font-size: 14.5px; line-height: 1.25; }
.s-folder small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.s-folder.full { border-color: #B9CEC0; background: #F3F7F1; }
.s-folder.full small { color: var(--moss); }
.s-folder:hover { border-color: var(--moss); }
.s-folder.open { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; background: #E4EEDF; }
.s-folder:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-folder-pane { border: 2px solid var(--navy); border-radius: 16px; padding: 12px 14px; background: #fff; margin: 4px 0 12px; }
.s-folder-pane-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.s-folder-pane-h h4 { font: 700 19px "Fraunces", Georgia, serif; margin: 0; }
.s-folder-pane-h small { color: var(--muted); flex: 1 1 200px; }
.s-folder-pane .s-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.s-folder-pane .s-docs li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid #E3DACA; border-radius: 12px; padding: 8px 10px; }
.s-doc-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; }
.s-doc-main .s-pdoc { text-align: left; overflow-wrap: anywhere; }
.s-doc-main small { color: var(--muted); font-size: 13px; }
.s-doc-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.s-doc-acts select { max-width: 220px; }
@media (max-width: 600px) { .s-folders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Quick boxes under the stage, and the drawer they open ---------- */
.s-qtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: -6px 0 16px; }
.s-qtabs[hidden] { display: none; }
.s-qtabs button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; min-height: 64px; border: 2px solid #E3DACA; border-radius: 16px; background: #FFFDF8; color: var(--ink); cursor: pointer; font-family: inherit; }
.s-qtabs button > span { grid-row: 1 / 3; font-size: 24px; }
.s-qtabs b { font-size: 17px; }
.s-qtabs small { font-size: 13px; color: var(--muted); font-weight: 600; }
.s-qtabs button:hover { border-color: var(--moss); }
.s-qtabs button.on { background: var(--navy); border-color: var(--navy); color: #F5F0E6; }
.s-qtabs button.on small { color: #D5E4CF; }
.s-qtabs button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-drawer { background: #FFFDF8; border: 2px solid var(--navy); border-radius: 20px; padding: 14px 18px 16px; margin: 0 0 20px; scroll-margin-top: 12px; }
.s-drawer-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.s-drawer-h h2 { font: 700 24px "Fraunces", Georgia, serif; margin: 0; }
.s-drawer-foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.s-drawer .s-docs-card { border: 0; padding: 0; margin: 0; background: none; }
.s-drawer .s-docs-card > .s-docs-head h2 { display: none; }
.s-drawer .s-payfold { margin: 0; }
.s-drawer-frame { width: 100%; height: 78vh; min-height: 520px; border: 1px solid #E3DACA; border-radius: 14px; background: #fff; }
.s-drawer .s-dsec { border: 0; padding: 0; }
@media (max-width: 760px) { .s-qtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s-drawer { padding: 12px; } }
.s-qtabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.s-qtabs button.warn:not(.on) { border-color: #D98E5C; background: #FBEFD9; }
.s-pend { background: #FBEFD9; border-radius: 16px; padding: 12px 14px; margin-bottom: 14px; }
.s-pend h3 { margin: 0 0 4px; font: 700 18px "Fraunces", Georgia, serif; }
.s-pendlist { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.s-pendlist li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 12px; }
.s-pendlist li > div:first-child { display: grid; gap: 2px; }
.s-pendlist small { color: var(--muted); }
.s-pendacts { display: flex; gap: 8px; flex-wrap: wrap; }
/* Parties: one full-width card per party, stacked. Each reads left to right: type and name, then the details. */
.s-pcards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.s-pcard { display: grid; grid-template-columns: 1fr; gap: 8px 18px; align-items: start; background: #fff; border: 1px solid #E3DACA; border-left: 6px solid var(--moss); border-radius: 14px; padding: 12px 14px; }
.s-pcard.t-ins { border-left-color: #2E6B4F; }
.s-pcard.t-client { border-left-color: #3D6E8F; }
.s-pcard.t-adverse { border-left-color: #C8642A; }
.s-pcard.t-party { border-left-color: #B0832B; }
.s-pcard.t-help { border-left-color: #8A8577; }
.s-pcard-h { display: grid; gap: 3px; min-width: 0; }
.s-pcard-type { font: 800 12px "Figtree", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.s-pcard-name { font: 700 17px "Fraunces", Georgia, serif; line-height: 1.25; overflow-wrap: anywhere; }
.s-pcard-f { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px 16px; min-width: 0; }
.s-pcard-f > div { display: grid; gap: 2px; min-width: 0; align-content: start; }
.s-pcard-f span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.s-pcard-f b { font-weight: 600; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.s-pcard-f .blank b { color: #B9B1A2; font-weight: 500; }
.s-pcard { position: relative; padding-right: 56px; }
.s-pcard-pen { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E3DACA; background: #FFFDF8; font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.s-pcard-pen:hover, .s-pcard-pen:focus-visible { background: #FBEFD9; border-color: #D98E5C; }
.s-pcard.editing { grid-template-columns: 1fr; padding-right: 14px; background: #FFFDF8; box-shadow: 0 0 0 3px #FBEFD9; }
.s-pcard-edit { display: grid; gap: 8px; max-width: 640px; }
.s-pcard-line { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 10px; }
.s-pcard-line span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.s-pcard-line input, .s-pcard-line select { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; font-size: 15px; padding: 9px 11px; border: 1.5px solid #CFC5B3; border-radius: 10px; background: #fff; }
.s-pcard-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 760px) { .s-pcard { grid-template-columns: 1fr; } .s-pcard-line { grid-template-columns: 1fr; gap: 3px; } }
.s-addparty { border-top: 1px dashed #E3DACA; margin-top: 14px; padding-top: 12px; }
.s-addparty h3 { font: 800 13px "Figtree", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--moss); margin: 0 0 8px; }
.s-modebox { display: grid; gap: 6px; border-top: 1px dashed #E3DACA; margin-top: 14px; padding-top: 12px; font-weight: 700; font-size: 14.5px; }
.s-modebox small { font-weight: 500; color: var(--muted); }
@media (max-width: 1100px) { .s-qtabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .s-qtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Pending-task badge: a small circle hanging under a box ("2 pending"). Boxes keep their size. */
.s-qtabs button, .s-hub-tile { position: relative; overflow: visible; }
.s-taskdot { position: absolute; right: 12px; bottom: 0; transform: translateY(55%); width: 50px; height: 50px; border-radius: 50%; background: #C8642A; color: #fff; border: 3px solid #FFFDF8; box-shadow: 0 3px 8px rgba(30, 59, 48, .25); display: grid; place-content: center; text-align: center; line-height: 1; pointer-events: none; z-index: 2; }
.s-taskdot b { font: 800 16px "Figtree", system-ui, sans-serif; }
.s-taskdot small { font: 700 9px "Figtree", system-ui, sans-serif; letter-spacing: .02em; margin-top: 1px; }
.s-hub-grid.has-dots { row-gap: 30px; padding-bottom: 18px; }
.s-qtabs.has-dots { margin-bottom: 34px; }

/* Payments: one card per payment, grouped by coverage and type (like the Parties). */
.s-paygrp { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 8px 2px 0; border-top: 1px dashed #E3DACA; margin-top: 4px; }
.s-paygrp:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.s-paygrp b { font: 800 13px "Figtree", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--moss); }
.s-paygrp span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.s-paycard { gap: 8px; }
.s-pay-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; }
.s-pay-amt { font: 700 19px "Fraunces", Georgia, serif; white-space: nowrap; }
.s-pay-amt.neg { color: #A3412A; }
.s-paycard.out { background: #FAF7F0; }
.s-paycard.void .s-pay-amt { text-decoration: line-through; color: var(--muted); }
.s-paycard .s-pstatus { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.s-pay.editing { box-shadow: 0 0 0 3px #FBEFD9; }
.s-prow2 { grid-template-columns: minmax(0, 1.2fr) 140px minmax(0, 1.6fr); }
@media (max-width: 760px) { .s-prow2 { grid-template-columns: 1fr; } }
/* Payment Schedule: its own section under Money. One card per schedule, with its financial summary. */
#sched-body { display: grid; gap: 12px; }
.s-dedsplit { border-top: 1px dashed #E3DACA; margin-top: 14px; padding-top: 10px; }
.s-schedform { background: #FFFDF8; border: 1px solid #E3DACA; border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 3px #FBEFD9; }
.s-schedform .s-pcard-line { grid-template-columns: 220px 1fr; }
.s-schednote { display: grid; gap: 6px; min-width: 0; }
.s-schednote small { color: var(--muted); }
.s-schedform .s-settle-split { margin: 0; }
.s-schedcard .s-sched { margin: 0; }
.s-finsum { background: #F3F7F1; border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; }
.s-finsum h4 { margin: 0; font: 800 13px "Figtree", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--moss); }
.s-finsum pre { margin: 0; white-space: pre-wrap; font: 500 14.5px/1.5 "Figtree", system-ui, sans-serif; color: var(--navy); overflow-wrap: anywhere; }
.s-finsum .s-pcard-acts { align-items: center; }
@media (max-width: 760px) { .s-schedform .s-pcard-line { grid-template-columns: 1fr; } }
/* Expense requests (under Payments): one card per request, W-9 check, status. */
.s-expreq { border-top: 2px dashed #E3DACA; margin-top: 18px; padding-top: 14px; }
.s-expreq h3 { font: 700 21px "Fraunces", Georgia, serif; margin: 0 0 4px; }
#exp-req-list { display: grid; gap: 12px; margin-top: 10px; }
.s-w9 { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; font-weight: 700; font-size: 14.5px; padding: 5px 10px; border-radius: 999px; }
.s-w9 b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 13px; }
.s-w9.ok { background: #E4F1E4; color: #1F6B3A; }
.s-w9.ok b { background: #2E8B4F; }
.s-w9.no { background: #FBE6E2; color: #A3301F; }
.s-w9.no b { background: #C8382A; }
.s-w9 .s-pdoc { font-weight: 600; }
.s-expstat { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #F1ECE2; color: var(--navy); letter-spacing: .03em; }
.s-expstat.st-submitted { background: #E2ECF3; color: #2D5876; }
.s-expstat.st-approved, .s-expstat.st-paid { background: #E4F1E4; color: #1F6B3A; }
.s-expchips { flex-wrap: wrap; gap: 6px; }
.s-expchips button { font-size: 13.5px; }
.s-expcard .s-pcard-acts { align-items: center; }
/* The estimate behind each payment, with its math. */
.s-estlink { font-size: 14px; line-height: 1.45; padding: 7px 10px; border-radius: 10px; overflow-wrap: anywhere; }
.s-estlink.ok { background: #EEF5EC; }
.s-estlink.ok b { color: #1F6B3A; }
.s-estlink.check, .s-estlink.no { background: #FBEFD9; }
.s-estlink.check b, .s-estlink.no b { color: #9A5A1F; }
.s-estlink .s-pdoc { font-weight: 700; }
/* A document link with its download button beside it. */
.s-doclink { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; }
.s-doclink .s-pdoc { min-width: 0; overflow-wrap: anywhere; text-align: left; }
.s-ddl { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #B9D3BF; background: #fff; color: #1F6B3A; font: 800 15px/1 "Figtree", system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; }
.s-ddl:hover, .s-ddl:focus-visible { background: #E4F1E4; border-color: #2E8B4F; }
.s-doctoast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: min(520px, calc(100vw - 32px)); background: #1E3B30; color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
.s-doctoast.on { opacity: 1; transform: translate(-50%, 0); }
/* Money: the coverage box, filled in from Payments. */
.s-paidcov { background: #fff; border: 1px solid #E3DACA; border-left: 6px solid #2E6B4F; border-radius: 14px; padding: 12px 14px; margin: 10px 0 14px; }
.s-paidcov-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.s-paidcov-h h3 { margin: 0; font: 700 18px "Fraunces", Georgia, serif; }
.s-paidcov-rows { display: grid; margin-top: 8px; }
.s-paidcov-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px dashed #E3DACA; }
.s-paidcov-row:first-child { border-top: 0; }
.s-paidcov-row > span { display: grid; gap: 1px; min-width: 0; }
.s-paidcov-row small { color: var(--muted); font-size: 13px; }
.s-paidcov-row > b { font-size: 16px; white-space: nowrap; }
.s-paidcov-row.off > b { color: var(--muted); }
.s-paidcov-row.tot { border-top: 2px solid #2E6B4F; margin-top: 4px; }
.s-paidcov-row.tot b { font-size: 17px; color: #1F6B3A; }
.s-paidcov .s-hint { margin: 6px 0 0; }
input.s-auto { background: #EEF5EC; border-color: #9FC5A9; }
.s-pcard-exp { justify-self: start; font-size: 14px; }
/* Someone responsible who isn't known yet. */
.s-misscard { display: grid; gap: 8px; background: #FFF8EC; border: 2px dashed #D98E5C; border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; }
.s-misscard p { margin: 0; line-height: 1.5; }
.s-misscard .s-pcard-acts { flex-wrap: wrap; gap: 8px; }
.s-misscard a.s-dbtn { text-decoration: none; display: inline-flex; align-items: center; }
.s-missform { background: #fff; border-radius: 12px; padding: 12px; }
.s-misstext { width: 100%; box-sizing: border-box; font: 500 14px/1.5 "Figtree", system-ui, sans-serif; border-radius: 10px; border: 1.5px solid #CFC5B3; padding: 10px; }
/* Supervisor approvals on team claims. */
.s-apbadge { margin: 0; padding: 7px 10px; border-radius: 10px; font-size: 14px; line-height: 1.45; color: #2B2A26; }
.s-apbadge.wait { background: #FBEFD9; } .s-apbadge.wait b { color: #9A5A1F; }
.s-apbadge.ok { background: #E4F1E4; } .s-apbadge.ok b { color: #1F6B3A; }
.s-apbadge.back { background: #FBE6E2; } .s-apbadge.back b { color: #A3301F; }
.s-relbox { display: grid; gap: 6px; border-top: 1px dashed #E3DACA; padding-top: 8px; }
.s-relbox select { font: inherit; font-size: 14px; padding: 8px 10px; border: 1.5px solid #CFC5B3; border-radius: 10px; background: #fff; max-width: 100%; }
.s-dwo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.s-dwo .s-apbadge { background: rgba(255,255,255,.92); }
.s-dlgback { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 40, 32, .55); display: grid; place-items: center; padding: 16px; }
.s-dlg { background: #FFFDF8; max-width: 520px; width: 100%; border-radius: 20px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.s-dlg h2 { margin: 0; font: 700 22px "Fraunces", Georgia, serif; }
.s-dlg p { margin: 0; line-height: 1.5; }
.s-dlg textarea, .s-dlg select { width: 100%; box-sizing: border-box; font: inherit; padding: 9px 11px; border: 1.5px solid #CFC5B3; border-radius: 10px; }

/* ---------- Tasks ---------- */
.s-tkbox { display: grid; gap: 12px; }
.s-tasks-h { font: 700 20px "Fraunces", Georgia, serif; margin: 6px 0 0; }
.s-task-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.s-docstat { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.s-docstat .ds-completed.on { background: #1E3B30; border-color: #1E3B30; color: #F5F0E6; }
.s-docstat .ds-unable.on { background: #8A3B2E; border-color: #8A3B2E; color: #FFF6F2; }
.s-docstat .ds-pending.on { background: #B9842B; border-color: #B9842B; color: #FFF9EC; }
.s-task-type { min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 2px solid #CFC4AF; background: #fff; color: var(--navy); font: 700 15px "Figtree", system-ui, sans-serif; cursor: pointer; }
.s-task-type.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.s-task-type:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.s-taskform { display: grid; gap: 10px; }
.s-taskform .s-pcard-line { grid-template-columns: 210px 1fr; align-items: start; }
.s-taskform .s-pcard-line > span:first-child { padding-top: 10px; }
.s-taskform textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 9px 11px; border: 1.5px solid #CFC5B3; border-radius: 10px; background: #fff; resize: vertical; }
.s-task-in { display: grid; gap: 4px; }
.s-task-in small { font-size: 13.5px; }
.s-task-sub { font-weight: 800; color: var(--navy); margin: 8px 0 0; border-top: 2px dashed #E3DACA; padding-top: 10px; }
.s-task-err { background: #FBE3D6; color: #8A3B12; border-radius: 10px; padding: 8px 12px; font-weight: 700; margin: 0; }
.s-taskcard { position: relative; }
.s-taskcard.is-done { opacity: .85; }
.s-task-meta { color: var(--muted); font-size: 13.5px; }
.s-task-detail { margin: 0; font-size: 15px; white-space: pre-wrap; }
.s-task-donebox { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.s-task-donebox input { flex: 1 1 240px; font: inherit; font-size: 15px; padding: 9px 11px; border: 1.5px solid #CFC5B3; border-radius: 10px; }
@media (max-width: 760px) { .s-taskform .s-pcard-line { grid-template-columns: 1fr; } .s-taskform .s-pcard-line > span:first-child { padding-top: 0; } }
.s-taskform .s-pcard-line > *, .s-task-in { min-width: 0; }
.s-taskform input, .s-taskform select, .s-taskform textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }

/* ---------- Demand package ---------- */
.s-dlg.s-dp { max-width: 680px; max-height: calc(100vh - 32px); overflow-y: auto; }
.s-dp h2 { font: 700 24px "Fraunces", Georgia, serif; margin: 0; }
.s-dp h3 { font: 800 16px "Figtree", system-ui, sans-serif; margin: 8px 0 0; }
.s-dp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.s-dp-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; font-size: 15px; }
.s-dp-checks b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; }
.s-dp-checks li.ok b { background: #E4F1E4; color: #1F6B3A; }
.s-dp-checks li.warn b { background: #FBEFD9; color: #8A5A0B; }
.s-dp-letters { display: flex; flex-wrap: wrap; gap: 8px; }
.s-dp-ex { margin: 0; padding: 0 0 0 26px; display: grid; gap: 4px; max-height: 260px; overflow-y: auto; border: 1px solid #E3DACA; border-radius: 12px; padding-block: 8px; padding-right: 10px; background: #fff; }
.s-dp-ex label { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.s-dp-ex input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--moss); flex: none; }
.s-dp-ex span { min-width: 0; overflow-wrap: anywhere; }
.s-dp-status { margin: 0; font-weight: 700; min-height: 1.4em; }

/* Recovery fee, fee invoice, settlement papers and the arbitration package */
.s-feebox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 12px; }
.s-feebox p { margin: 0; flex: 1 1 260px; }
.s-papers { margin-top: 10px; }
.s-papers a.s-dbtn, .s-relbox a.s-dbtn { text-decoration: none; display: inline-flex; align-items: center; }
.s-inv-table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 15px; }
.s-inv-table td { padding: 7px 4px; border-bottom: 1px solid #E5DFD2; }
.s-inv-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-inv-table tr.tot td { font-weight: 800; border-bottom: 0; border-top: 2px solid var(--navy); }
.s-inv-how { display: grid; gap: 6px; margin: 4px 0 12px; }
.s-inv-how label { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.s-arb-text { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; min-height: 260px; font: 14px/1.45 "Figtree", system-ui, sans-serif; padding: 10px; border: 2px solid #D9D2C3; border-radius: 10px; }
.s-dp-checks li.man input { margin: 2px 0 0; }
.s-hub-act.warn { border-color: #C2611F; background: #FFF3E8; }
.s-hub-act.warn small { color: #A34A12; font-weight: 800; }
.s-replybox { border: 2px solid var(--moss); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; background: #FFFDF8; }
.s-replybox summary { font-weight: 800; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.s-replybox textarea { width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0; font: 14px/1.4 "Figtree", system-ui, sans-serif; padding: 8px; border: 2px solid #D9D2C3; border-radius: 10px; }
.s-replyout ul { margin: 6px 0; padding-left: 20px; }
/* Phones: each package button reads as a title with its description underneath. */
@media (max-width: 600px) {
  .s-hub-act { flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 10px 16px; row-gap: 2px; }
  .s-hub-act small { flex-basis: 100%; }
  .s-hub-act.main { justify-content: center; }
}
/* The Tasks box under Claim Details: Tasks and Email tabs */
.s-tk-card .s-info-head { flex-wrap: wrap; gap: 10px; }
.s-tk-tabs { display: inline-flex; gap: 4px; background: #F1EADC; border-radius: 12px; padding: 4px; }
.s-tk-tabs button { border: 0; background: none; border-radius: 9px; padding: 8px 14px; font: 800 15px "Figtree", system-ui, sans-serif; color: var(--muted, #5b6b62); cursor: pointer; min-height: 40px; }
.s-tk-tabs button[aria-selected="true"] { background: #fff; color: var(--evergreen, #1E3B30); box-shadow: 0 1px 3px rgba(30, 59, 48, .15); }
.s-tk-n { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: #E3DACA; color: #1E3B30; font-size: 12.5px; margin-left: 4px; }
.s-tk-n.new { background: #F3C969; }
.s-tk-card .s-tkbox > .s-hint:first-child { margin-top: 0; }
.cm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.cm-top .s-add { margin: 0; }
.cm-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.cm-item { border: 1.5px solid #E3DACA; border-left: 6px solid #9DB7A6; border-radius: 14px; background: #fff; }
.cm-item.is-in { border-left-color: #3E7C5A; }
.cm-item.is-new { border-left-color: #E0A82E; background: #FFFBF0; }
.cm-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; text-align: left; background: none; border: 0; padding: 10px 14px; cursor: pointer; font: inherit; color: inherit; }
.cm-dir { font: 800 13px "Figtree", system-ui, sans-serif; color: var(--muted, #5b6b62); overflow-wrap: anywhere; }
.cm-when { font-size: 13px; color: var(--muted, #5b6b62); white-space: nowrap; }
.cm-subj { grid-column: 1 / -1; font-size: 16.5px; overflow-wrap: anywhere; }
.cm-prev { grid-column: 1 / -1; color: var(--muted, #5b6b62); overflow-wrap: anywhere; }
.cm-newtag { background: #F3C969; color: #1E3B30; border-radius: 6px; padding: 0 6px; font-size: 12px; margin-left: 4px; }
.cm-full { padding: 0 14px 12px; }
.cm-meta { margin: 0 0 6px; font-size: 14px; color: var(--muted, #5b6b62); overflow-wrap: anywhere; }
.cm-full pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 500 15px/1.55 "Figtree", system-ui, sans-serif; background: #FBF8F2; border-radius: 10px; padding: 10px 12px; margin: 0; max-height: 420px; overflow: auto; }
.cm-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cm-file { display: inline-flex; gap: 4px; align-items: center; }
.cm-file button, .cm-file:not(:has(button)) { border: 1.5px solid #CFC4AF; background: #fff; border-radius: 10px; padding: 6px 10px; font: 700 14px "Figtree", system-ui, sans-serif; color: var(--evergreen, #1E3B30); cursor: pointer; }
.cm-file .cm-save { border-style: dashed; }
.cm-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cm-form { display: grid; gap: 10px; background: #FBF8F2; border: 1.5px solid #E3DACA; border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.cm-field { display: grid; gap: 4px; font-weight: 800; }
.cm-field input, .cm-field textarea { font: 600 16px "Figtree", system-ui, sans-serif; border: 1.5px solid #CFC4AF; border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%; box-sizing: border-box; }
.cm-field textarea { line-height: 1.5; resize: vertical; min-height: 180px; }
.cm-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted, #5b6b62); }
.cm-chip { border: 1.5px solid #9DB7A6; background: #fff; border-radius: 999px; padding: 5px 10px; font: 700 13.5px "Figtree", system-ui, sans-serif; color: var(--evergreen, #1E3B30); cursor: pointer; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.cm-attach summary { font-weight: 800; cursor: pointer; }
.cm-docs { display: grid; gap: 4px; margin-top: 8px; max-height: 220px; overflow: auto; }
.cm-doc { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; overflow-wrap: anywhere; }
.cm-doc small { color: var(--muted, #5b6b62); }
.cm-copy { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.cm-fine { margin: 0; font-size: 13.5px; color: var(--muted, #5b6b62); }
.cm-warn { margin: 0; color: #A3301F; font-weight: 700; }
.cm-empty { margin: 4px 0 0; }
.cm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1E3B30; color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; z-index: 90; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100vw - 32px); }
.cm-toast[hidden] { display: none; }
@media (max-width: 760px) { .s-tk-tabs { width: 100%; } .s-tk-tabs button { flex: 1; } .cm-row { grid-template-columns: 1fr; } .cm-when { white-space: normal; } }
/* Side column: Send a letter, and tips and tools folded away */
.s-lpick h2 { margin-bottom: 8px; }
.s-lpick-rec { display: grid; gap: 4px; background: #FFF8E6; border: 2px solid #F3C969; border-radius: 16px; padding: 12px 14px; }
.s-lpick-star { font: 800 12.5px "Figtree", system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #8A5A00; }
.s-lpick-rec b { font-size: 17px; line-height: 1.3; }
.s-lpick-rec small { color: var(--muted, #5b6b62); font-weight: 600; }
.s-lpick-rec small.need { color: #8A5A00; }
.s-lpick-rec small.ok { color: #2E7D4F; }
.s-lpick-rec .h-btn { justify-self: start; margin-top: 6px; }
.s-lpick-any { display: grid; gap: 4px; margin-top: 12px; font-weight: 800; font-size: 14px; }
.s-lpick-sel { font: 600 15px "Figtree", system-ui, sans-serif; border: 1.5px solid #CFC4AF; border-radius: 10px; padding: 10px; background: #fff; width: 100%; max-width: 100%; }
.s-lpick-sent { margin-top: 10px; }
.s-tips { padding: 0; }
.s-tips > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; padding: 12px 14px; font: 800 16px "Figtree", system-ui, sans-serif; color: var(--evergreen, #1E3B30); }
.s-tips > summary::-webkit-details-marker { display: none; }
.s-tips > summary small { font-weight: 600; font-size: 13px; color: var(--muted, #5b6b62); }
.s-tips > summary::after { content: '▸'; margin-left: auto; transition: transform .15s; }
.s-tips[open] > summary::after { transform: rotate(90deg); }
.s-tips[open] > summary small { display: none; }
.s-tips > .s-dsec, .s-tips > .s-dacts { margin: 0 14px 12px; }
.s-tips > .s-dsec { padding: 0; border: 0; background: none; box-shadow: none; }
.s-hub.s-hub-slim { padding-bottom: 0; }
.s-hub.s-hub-slim .s-hub-acts { margin-bottom: 4px; }
.s-qtabs button[hidden] { display: none !important; }
.s-hub.s-hub-slim .s-hub-grid, .s-hub.s-hub-slim .s-hub-h { display: none !important; }
.s-pcard.t-us { border-left-color: #E0A82E; background: #FFFCF3; }
.s-pcard-addaddr { background: none; border: 1.5px dashed #C9A24A; border-radius: 8px; padding: 2px 8px; font: 800 13.5px "Figtree", system-ui, sans-serif; color: #8A5A00; cursor: pointer; justify-self: start; }
.s-pcard-f .noaddr span { color: #8A5A00; }
.cm-deliv { grid-column: 1 / -1; justify-self: start; font: 800 12.5px "Figtree", system-ui, sans-serif; border-radius: 999px; padding: 2px 9px; background: #EEF2EE; color: #4C5E54; }
.cm-deliv.delivered { background: #E3F2E8; color: #2E7D4F; }
.cm-deliv.bounced, .cm-deliv.complained { background: #FBE3DD; color: #A3301F; }
.cm-deliv.delayed { background: #FFF1D6; color: #8A5A00; }
.s-hub.s-hub-slim .s-hub-acts { display: none !important; }
.s-lpick-pkgs { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #E3DACA; }
.s-lpick-pkgs > span { font: 800 12.5px "Figtree", system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--muted, #5b6b62); }
.s-lpick-pkg { display: grid; gap: 1px; text-align: left; border: 1.5px solid #CFC4AF; background: #fff; border-radius: 12px; padding: 9px 12px; cursor: pointer; font: inherit; color: var(--evergreen, #1E3B30); }
.s-lpick-pkg b { font-size: 15px; } .s-lpick-pkg small { color: var(--muted, #5b6b62); font-weight: 600; font-size: 13px; }
.s-lpick-pkg:hover { border-color: var(--moss, #3E7C5A); }
/* Evidence & liability */
.s-liab { display: grid; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed #E3DACA; }
.s-liab .s-q { margin: 0; }
.s-liab-theory { font: 600 16px/1.5 "Figtree", system-ui, sans-serif; border: 1.5px solid #CFC4AF; border-radius: 12px; padding: 10px 12px; width: 100%; box-sizing: border-box; resize: vertical; background: #fff; }
.s-liab-sug { margin: -4px 0 0; }
.s-liab-row { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0; padding: 9px 12px; border-radius: 12px; background: #F5F0E6; font-weight: 600; }
.s-liab-row.ok { background: #E3F2E8; } .s-liab-row.warn { background: #FFF1D6; }
.s-liab-row b { white-space: nowrap; }
.s-liab-ex { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.s-liab-exf { margin-top: -2px; }
.s-ev-retained { margin: 0 0 6px; font: 800 18px "Figtree", system-ui, sans-serif; color: var(--evergreen, #1E3B30); }
.s-ev-water #ev-scene { background: #EEF5FB; border: 2px solid #9EC3DD; border-radius: 16px; padding: 12px 14px; margin-bottom: 14px; }

.exa{background:#FFF9EC;border:1px solid #E8D5A6;border-left:4px solid #B7791F;border-radius:10px;padding:14px 16px;margin:0 0 16px}
.exa h2{font-size:21px;margin:4px 0 6px}.exa p{margin:0 0 8px;font-size:15.5px;line-height:1.45}
.exa .exa-sub{color:#5C6B64;font-size:14px}.exa .exa-when{font-weight:800;color:#7A4B00}.exa .exa-when.is-urgent{color:#A12A1B}
.exa-tag{display:inline-block;font:800 11px "Figtree",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#7A4B00;background:#FBE3B0;border-radius:4px;padding:2px 7px}
.exa-btns{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.exa-b{font:700 14px "Figtree",system-ui,sans-serif;border:1px solid #9DB7A6;background:#fff;color:#173229;border-radius:999px;padding:8px 14px;cursor:pointer;text-decoration:none}
.exa-b.main{background:#2F6B4F;color:#fff;border-color:#2F6B4F}

.s-solp{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;font-weight:700;color:#173229}
.s-solp select{font:inherit;padding:7px 10px;border:1px solid #9DB7A6;border-radius:6px;background:#fff}

.s-solp.is-near{background:#F8DCD7;border:1px solid #E3A89E;border-radius:8px;padding:10px 12px}
.s-solp.is-ok{background:#DDEFE2;border:1px solid #A9D2B7;border-radius:8px;padding:10px 12px}
.s-solp-msg{font-weight:800;color:#A12A1B}.s-solp-msg.s-solp-ok{color:#1F6B3A}.s-solp-msg.s-solp-soft{color:#3B4A42;font-weight:600}
.s-solp-head{flex:1 1 100%;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.s-solp-basis{display:flex;gap:14px;flex-wrap:wrap;font-weight:600}.s-solp-basis label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.s-solp-basis input{width:18px;height:18px;accent-color:#2F6B4F;margin:0}
.s-solp-when{flex:1 1 100%;font-weight:600;color:#2B3B34}
.s-solp.is-repose{background:#FFF6DF;border:1px solid #F2DBA3;border-radius:8px;padding:10px 12px}
.s-solp-row{flex:1 1 100%;display:flex;gap:12px;flex-wrap:wrap}.s-solp-notice{align-items:center;padding:8px 10px;border:1px solid #9DB7A6;border-radius:8px;background:#F4F8F5;margin-bottom:6px}.s-solp-notice>b{flex:1 1 100%}.s-solp-notice input[type=number]{width:5.5em;font:inherit;padding:6px 8px;border:1px solid #9DB7A6;border-radius:6px;margin-left:6px}.s-solp-notice input[type=text]{font:inherit;padding:6px 8px;border:1px solid #9DB7A6;border-radius:6px;margin-left:6px;min-width:18em}.s-solp-row input[type=date]{font:inherit;padding:7px 10px;border:1px solid #9DB7A6;border-radius:6px;background:#fff;margin-left:6px}
.s-solp-why{flex:1 1 100%;display:grid;gap:6px}.s-solp-why textarea{font:500 15px "Figtree",system-ui,sans-serif;padding:9px 10px;border:2px solid #2F6B4F;border-radius:8px;background:#fff;resize:vertical}
.s-solp-acts{flex:1 1 100%;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.s-solp-saved{font-weight:600;color:#5C6B64}
.s-solp-flag{flex:1 1 100%;color:#7A4408}
.s-soltask{background:#F8DCD7;border:1px solid #E3A89E;border-radius:8px;padding:12px 14px;margin:8px 0}
.s-soltask b{font-size:16px}.s-soltask p{margin:4px 0 8px}.s-soltask .wait{font-weight:700;color:#7A4B00}

/* Claim screen: flat, plain cards */
body.s-dash .s-dcard,body.s-dash .s-dpanel,body.s-dash .s-drawer,body.s-dash .s-info-card{border-radius:8px;box-shadow:none;border:1px solid #D9DFD6;background:#fff}
body.s-dash .s-qtabs button{border-radius:8px;box-shadow:none;border:1px solid #D9DFD6;background:#fff}
body.s-dash .s-qtabs button b{font-size:15px}
body.s-dash .s-dbar{border-radius:8px}
body.s-dash .s-stages button,body.s-dash .s-view{border-radius:6px}
body.s-dash .s-dsec{border-radius:8px}
body.s-dash .s-qtabs{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 18px}
body.s-dash .s-qtabs[hidden]{display:none}
body.s-dash .s-qtabs button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;flex:1 1 150px;min-height:62px;padding:10px 14px}
body.s-dash .s-qtabs button[hidden]{display:none!important}
body.s-dash .s-qtabs small{font-size:13px;line-height:1.25}

.s-resrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 10px;font-weight:700;color:#173229}
.s-resrow input[type=text],.s-resrow input:not([type]){font:inherit;padding:7px 10px;border:1px solid #9DB7A6;border-radius:6px;background:#fff;width:150px}
.s-resfault{display:flex;align-items:center;gap:6px;font-weight:600;margin-left:12px}

.s-folder.sb-over { outline: 3px dashed var(--evergreen, #1E3B30); outline-offset: -3px; background: #F3F7F1; }

.s-dash.s-info input, .s-dash.s-info textarea, .s-dash.s-info select { scroll-margin-top: 130px; }
body.s-dash .s-qtabs button.on{background:var(--navy);border-color:var(--navy);color:#F5F0E6}
body.s-dash .s-qtabs button.on small{color:#D5E4CF}

/* Status strip */
.s-brief { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 18px; background: #fff; border: 1.5px solid #DCD5C3; border-radius: 14px; padding: 12px 16px 14px; margin: 0 0 12px; }
.s-brief-h { grid-column: 1 / -1; margin: 0 0 2px; font: 800 12px/1.2 "Figtree", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5E665C); }
.s-brief-f { display: grid; gap: 2px; text-align: left; border: 0; background: transparent; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; font-family: inherit; color: var(--evergreen, #1E3A2F); cursor: pointer; }
.s-brief-f:hover, .s-brief-f:focus-visible { background: #F3F7F1; }
.s-brief-f small { font-size: 12px; font-weight: 700; color: var(--muted, #5E665C); text-transform: uppercase; letter-spacing: .04em; }
.s-brief-f span { font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.s-brief-f.wide { grid-column: 1 / -1; }
.s-brief-f.wide span { font-weight: 500; }
.s-brief-f.empty span { color: #8A4B1D; text-decoration: underline; font-weight: 700; }
.s-brief-f.soft span { color: var(--muted, #5E665C); font-weight: 500; font-style: italic; }
.s-strip { display: grid; gap: 10px; margin: 0 0 14px; }
.s-strip[hidden] { display: none; }
.s-strip-next { display: grid; gap: 4px; background: #FFF7E3; border: 2px solid #E8C86B; border-radius: 14px; padding: 10px 14px; }
.s-strip-next small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7A5B00; }
.s-strip-go { font: 700 17px/1.3 inherit; text-align: left; background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.s-strip-go.urgent { color: #9A2B12; }
.s-strip-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s-chip2 { display: grid; gap: 1px; text-align: left; background: #fff; border: 1px solid #D9DFD6; border-radius: 10px; padding: 7px 12px; font: inherit; color: var(--navy); }
button.s-chip2 { cursor: pointer; } button.s-chip2:hover { border-color: var(--moss); }
.s-chip2 small { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.s-chip2 b { font-size: 15px; }
.s-chip2.bad { background: #FCE9E4; border-color: #D9674F; } .s-chip2.bad small, .s-chip2.bad b { color: #8E2410; }
.s-chip2.warn { background: #FBEFD9; border-color: #D98E5C; }
.s-chip2.good { background: #E4EFE0; border-color: #7FAE76; }

.s-pcard-1 { padding: 0 !important; }
.s-pcard-row { display: flex; align-items: baseline; gap: 12px; width: 100%; background: none; border: 0; padding: 9px 12px; font: inherit; text-align: left; cursor: pointer; flex-wrap: wrap; }
.s-pcard-row .s-pcard-type { flex: 0 0 150px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--moss); }
.s-pcard-row .s-pcard-name { flex: 1 1 200px; font-size: 16px; }
.s-pcard-brief { flex: 2 1 200px; font-size: 14px; color: #5b5a4f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-pcard-flag { font-size: 12px; font-weight: 800; background: #FFF1C9; border: 1px solid #E8C86A; border-radius: 999px; padding: 1px 9px; }
.s-pcard-chev { font-size: 13px; font-weight: 800; color: var(--moss); margin-left: auto; }

.s-dash #dash-ev.s-folded > legend::after { content: "Open"; }
.s-dash #dash-ev > .s-fsum { font-size: 16px; color: #3d3c33; margin: -4px 0 4px; }
.s-dash #dash-ev:not(.s-folded) > .s-fsum { display: none; }
.s-dash fieldset.s-slim { padding-top: 12px; padding-bottom: 12px; }
.s-dash #dash-sched.s-slim > .s-hint, .s-dash #dash-sched.s-slim #sched-body > .s-hint { display: none; }
.s-dash #dash-sched.s-slim > legend { margin-bottom: 4px; font-size: 20px; }
.s-dash #dash-tasks.s-slim .s-tkbox > .s-hint, .s-dash #dash-tasks.s-slim .s-tasks-h { display: none; }
.s-dash #dash-tasks.s-slim { padding-top: 12px; padding-bottom: 12px; }
.s-ctlrow { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; margin: 6px 0; }
.s-ctlrow > * { margin: 0 !important; }
.s-strip { padding: 0 !important; }

.s-lpanel { position: fixed; top: 0; right: 0; bottom: 0; width: min(780px, 96vw); background: #FFFDF8; border-left: 3px solid #2F4A3A; box-shadow: -12px 0 30px rgba(0,0,0,.18); z-index: 90; display: flex; flex-direction: column; }
.s-lp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #2F4A3A; color: #fff; }
.s-lp-head b { display: block; font-size: 17px; } .s-lp-head small { opacity: .85; }
.s-lp-head .s-dbtn { background: #fff; }
.s-lp-note { margin: 0; padding: 8px 16px; font-size: 15px; background: #F3EEDF; }
.s-lp-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #E3DACA; }
.s-lp-frame { flex: 1; width: 100%; border: 0; background: #fff; }
.s-strip-go { background: #F2C14E; color: #1c2a22 !important; text-decoration: none !important; border-radius: 10px; padding: 9px 14px !important; justify-self: start; }
.s-strip-go.urgent { background: #E8A598; }

.s-strip-drop { display: block; border: 2px dashed #B9AE95; border-radius: 12px; padding: 9px 14px; font-size: 15px; color: #4a493f; cursor: pointer; text-align: center; }
.s-strip-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.s-strip-drop.over { background: #FFF7E3; border-color: #C79A1B; }
.s-pastebox { margin: 8px 0; } .s-pastebox summary { cursor: pointer; font-weight: 700; color: var(--moss); } .s-pastebox textarea { width: 100%; margin: 8px 0; }
.s-askread { display: block; font-size: 15px; margin: 6px 0; }
.s-doc-sum { display: block; color: #3d3c33; font-size: 14px; }
.s-confirm { background: #FFF7E3; border: 2px solid #E8C86B; border-radius: 14px; padding: 12px 16px; }
.s-confirm-row { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; } .s-confirm-row small { display: block; }
.s-exam-ask { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; background: #EEF5FB; border: 2px solid #9EC3DD; border-radius: 12px; padding: 10px 14px; margin-top: 10px; }
.s-lp-note.warn { background: #FFF1C9; border-bottom: 1px solid #E8C86A; font-weight: 700; }
.s-drawer-own { margin: 0 0 10px; }

.exa-firms{margin:0 0 10px;padding:10px 12px;background:#fff;border:1px solid #E8D5A6;border-radius:8px}
.exa-firms-h{margin:0 0 4px!important;font-weight:800;font-size:14px!important}
.exa-firms ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.exa-firms li{font-size:14.5px;line-height:1.35}.exa-firms li small{display:block;color:#5C6B64;font-size:12.5px}
.exa-rec{margin-top:10px}.exa-rec textarea{width:100%;box-sizing:border-box;font:500 13.5px/1.45 "Figtree",system-ui,sans-serif;padding:10px 12px;border:2px solid #2F6B4F;border-radius:8px;background:#fff;margin:0 0 8px}

.s-offer-ans { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.s-offer-ans input { width: 18px; height: 18px; }
.s-noremind { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #3F5A4D; }
.s-noremind input { width: 18px; height: 18px; }
.s-reply-back { position: fixed; inset: 0; background: rgba(20,35,28,.45); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.s-reply-box { background: #fff; border-radius: 12px; max-width: 460px; width: 100%; padding: 18px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: grid; gap: 6px; }
.s-reply-box b { font-size: 19px; } .s-reply-box .s-field { margin: 6px 0; }
.s-dreply { margin: 2px 0 6px; font-size: 14px; color: #3F5A4D; font-style: italic; }

/* Calls & notes: a floating panel over the claim page. Drag by the header, resize from the corner, shrink to a pill. */
.s-cfloat{position:fixed;z-index:95;padding:0!important;margin:0;max-width:none;display:flex;flex-direction:column;background:#FFFDF8;border:2px solid var(--navy);border-radius:14px;box-shadow:0 18px 48px rgba(16,40,30,.28);overflow:hidden;resize:both;min-width:340px;min-height:320px}
.s-cfloat.is-drag{opacity:.96;cursor:grabbing}
.s-cfloat-h{display:flex;align-items:center;gap:8px;padding:8px 10px;background:var(--navy);color:#fff;cursor:grab;user-select:none;touch-action:none;flex:0 0 auto}
.s-cfloat.is-drag .s-cfloat-h{cursor:grabbing}
.s-cfloat-grip{opacity:.6;letter-spacing:-2px;font-size:14px}
.s-cfloat-h b{font:700 15px "Fraunces",Georgia,serif}
.s-cfloat-sub{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;opacity:.8}
.s-cfloat.is-away .s-cfloat-h{background:#7A4B00}.s-cfloat.is-away .s-cfloat-sub{opacity:1;font-weight:700;color:#FFE9B5}.s-cfloat.is-away .s-cfloat-pill{border-color:#F2C66D}
.s-cfloat-acts{display:flex;gap:4px;flex:0 0 auto}
.s-cfloat-b{width:30px;height:28px;border:1px solid rgba(255,255,255,.35);border-radius:7px;background:rgba(255,255,255,.08);color:#fff;font-size:15px;line-height:1;cursor:pointer}
.s-cfloat-b:hover{background:rgba(255,255,255,.2)}
.s-cfloat-body{position:relative;flex:1 1 auto;min-height:0;padding:0 0 14px}
.s-cfloat-frame{display:block;width:100%;height:100%;border:0;background:#fff}
.s-cfloat-shield{position:absolute;inset:0;background:transparent}
.s-cfloat-pill{display:none}
.s-cfloat.is-min{left:auto!important;top:auto!important;right:16px;bottom:16px;width:auto!important;height:auto!important;min-width:0;min-height:0;resize:none;border-radius:999px;box-shadow:0 10px 28px rgba(16,40,30,.25)}
.s-cfloat.is-min .s-cfloat-h,.s-cfloat.is-min .s-cfloat-body{display:none}
.s-cfloat.is-min .s-cfloat-pill{display:flex;align-items:center;gap:8px;padding:10px 16px;border:0;background:var(--navy);color:#fff;cursor:pointer;font:inherit}
.s-cfloat-pill b{font:700 15px "Fraunces",Georgia,serif}.s-cfloat-pill span:last-child{font-size:12px;opacity:.8}
.s-cfloat-dot{width:9px;height:9px;border-radius:50%;background:#F2C14E;box-shadow:0 0 0 0 rgba(242,193,78,.6);animation:s-cfloat-pulse 1.6s infinite}
@keyframes s-cfloat-pulse{0%{box-shadow:0 0 0 0 rgba(242,193,78,.6)}70%{box-shadow:0 0 0 8px rgba(242,193,78,0)}100%{box-shadow:0 0 0 0 rgba(242,193,78,0)}}
@media (max-width:819px){.s-cfloat{border-radius:0;border-width:0;resize:none;min-width:0}.s-cfloat-h{cursor:default}.s-cfloat.is-min{right:12px;bottom:12px}}

/* Letters & documents: the letter list sits on top of the folders. */
.s-docs-letters { margin: 4px 0 18px; padding: 0 0 16px; border-bottom: 1.5px solid #E6E0D0; }
.s-docs-letters .s-dsec { border: 0; padding: 0; background: transparent; }
.s-docs-sub { margin: 0 0 4px; font-family: "Fraunces", serif; font-size: 20px; color: var(--evergreen, #1E3A2F); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A description under each document's name. */
.s-doc-desc { display: none; }
.s-doc-desc.is-open { display: block; margin: 2px 0 2px; }
.s-doc-desc-in { width: 100%; max-width: 560px; min-height: 36px; padding: 6px 10px; border: 1.5px solid #D8D0BD; border-radius: 10px; background: #FFFDF8; font: 500 14.5px "Figtree", system-ui, sans-serif; color: var(--evergreen, #1E3A2F); }
.s-doc-desc-in:focus { outline: 3px solid #F2C66D; outline-offset: 1px; border-color: var(--moss, #3E6B52); }
.s-doc-desc-btn { font-size: 13.5px; justify-self: start; }

/* Correspondence: how it was sent, and to whom. */
.s-doc-sent { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 2px 0 2px; max-width: 560px; }
.s-doc-how, .s-doc-to { min-height: 36px; padding: 6px 10px; border: 1.5px solid #D8D0BD; border-radius: 10px; background: #FFFDF8; font: 500 14.5px "Figtree", system-ui, sans-serif; color: var(--evergreen, #1E3A2F); }
.s-doc-how { flex: 0 0 auto; }
.s-doc-to { flex: 1 1 220px; min-width: 0; }
.s-doc-how:focus, .s-doc-to:focus { outline: 3px solid #F2C66D; outline-offset: 1px; border-color: var(--moss, #3E6B52); }

/* Replies that came back through a letter's reply page. */
.s-replies { display: grid; gap: 10px; margin: 0 0 12px; padding: 0 !important; }
.s-reply { background: #FFF7E3; border: 2px solid #E8C86B; border-radius: 14px; padding: 12px 16px 14px; display: grid; gap: 10px; }
.s-reply-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.s-reply-tag { font: 800 12px/1 "Figtree", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #7A5B00; background: #F2C66D; border-radius: 999px; padding: 5px 9px; }
.s-reply-h b { font-size: 17px; }
.s-reply-h small { color: #6B6659; font-size: 13px; }
.s-reply-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 18px; }
.s-reply-f { display: grid; gap: 1px; }
.s-reply-f small { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #7A5B00; }
.s-reply-f span { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.s-reply-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.s-reply-acts .s-dbtn[disabled] { opacity: .7; }
/* Supervisor decisions: approved is green, sent back is honey (same shape as a reply card). */
.s-decision.ok { background: #EAF5EC; border-color: #7FB88E; }
.s-decision.ok .s-reply-tag { background: #5E9E6E; color: #fff; }
.s-decision.back { background: #FFF7E3; border-color: #E8C86B; }
.s-decision-p { margin: 0; font-size: 15px; line-height: 1.45; color: #1E3B30; }
/* Checks Accounting posted, under Recovery received. */
.s-checks { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 4px; }
.s-checks li { font-size: 13px; color: #2B2A26; padding: 6px 10px; border-radius: 8px; background: #EAF5EC; border: 1px solid #BFDCC6; }
.s-checks li b { color: #1E4D2B; }
.s-checks li small { display: block; color: #5B6B5E; }
/* Documents: find across folders; the two-step Remove. */
.s-doc-findrow { margin: 10px 0 4px; }
.s-doc-find { width: 100%; max-width: 420px; font: 500 15px "Figtree", system-ui, sans-serif; padding: 9px 12px; border: 1.5px solid #C9BFAC; border-radius: 10px; background: #fff; }
.s-doc-find:focus { outline: 2px solid #F2C66D; outline-offset: 1px; border-color: #1E3B30; }
.s-log-x.is-sure { color: #fff; background: #B3261E; border-color: #B3261E; border-radius: 8px; padding: 4px 10px; }
.s-strip-next.is-closed .s-strip-closed { font-weight: 600; color: #1E3B30; }

/* Heads up for this claim: the rule, the owner, the defense to expect. */
.s-headsup { margin: 10px 0 0; border: 1.5px solid #D9C98F; background: #FFF9E6; border-radius: 14px; padding: 0; }
.s-headsup > summary { cursor: pointer; padding: 10px 14px; font: 800 15px "Figtree", system-ui, sans-serif; color: var(--navy); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.s-headsup > summary small { font-weight: 500; color: #6B5E2E; }
.s-headsup-list { list-style: none; margin: 0; padding: 0 14px 6px; }
.s-headsup-list li { padding: 10px 0 10px 12px; border-top: 1px solid #EBDFAE; border-left: 4px solid transparent; }
.s-headsup-list li.is-new { border-left-color: #D9A84A; }
.s-headsup-list b { display: block; font-size: 15px; color: var(--navy); }
.s-headsup-list p { margin: 4px 0 6px; font-size: 14px; line-height: 1.5; color: #2F2F2F; }
.s-headsup-check { display: block; font-size: 12.5px; color: #6B5E2E; margin-bottom: 4px; }
.s-headsup-list a { font-size: 13.5px; font-weight: 700; color: var(--moss); }
.s-headsup > .s-hint { padding: 0 14px 12px; margin: 0; }
.s-task-close { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 2px; font-size: 14px; color: var(--navy); }
.s-task-close input { margin-top: 3px; }
.s-pdoc.has-desc { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.s-pdoc.has-desc small { font-weight: 500; color: #6B6B6B; font-size: 12px; }
.s-doc-desc-in.is-wanted { border-color: #D9A84A; background: #FFF9E6; }
/* Narrow screens: party rows wrap instead of pushing the page sideways; the claim number and insured are already in the title. */
.s-pcard { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.s-pcard-row > * { min-width: 0; }
@media (max-width: 600px) {
  .s-pcard-row .s-pcard-type { flex-basis: 100%; }
  .s-pcard-brief { flex-basis: 100%; white-space: normal; }
  #dash-facts .s-dfact.is-dup { display: none; }
}

/* ---------- Phone: the claim reads like an app, not a shrunken desktop ---------- */
@media (max-width: 600px) {
  .s-intake { padding-top: 14px; }
  .s-dash .s-title { font-size: 25px; line-height: 1.12; letter-spacing: -.4px; margin-bottom: 8px; }
  .s-dash .sbtr-switch { transform: scale(.88); transform-origin: left center; margin: 0 0 6px; }
  /* The file bar: one slim row. Name, then Calls and Claims. Start a claim lives in the top menu. */
  body .sbf-bar .wrap { flex-wrap: nowrap; gap: 8px; min-height: 46px; padding-top: 6px; padding-bottom: 6px; }
  body .sbf-bar .sbf-name { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
  body .sbf-bar .sbf-grow, body .sbf-bar .sbf-count, body .sbf-bar .sbf-other, body .sbf-bar button.sbf-new:not(.sbf-other) { display: none; }
  body .sbf-bar .sbf-sync:not([hidden]) { flex: 0 0 auto; font-size: 0; }
  body .sbf-bar .sbf-sync:not([hidden])::before { content: '✓'; font-size: 15px; }
  body .sbf-bar .sbf-sync[data-kind="warn"]::before { content: '⟳'; }
  body .sbf-bar a { flex: 0 0 auto; min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  /* Facts: compact tiles, three across. One window on a phone, so no "new tab". */
  #dash-other { display: none !important; }
  .s-dash .s-dbar { padding: 14px; border-radius: 16px; }
  .s-dash .s-dbar-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .s-dash .s-dbar-facts .s-dfact { min-width: 0; padding: 8px 10px; border-radius: 12px; }
  .s-dash .s-dbar-facts .s-dfact small { font-size: 10.5px; letter-spacing: .5px; line-height: 1.2; display: block; }
  .s-dash .s-dbar-facts { margin-bottom: 0; }
  .s-dash .s-dbar-facts .s-dfact b, .s-dash .s-dbar-facts .s-dfact a { font-size: 15.5px; overflow-wrap: anywhere; }
  /* Stage: one row that scrolls sideways, like tabs. */
  .s-dash .s-stages { margin-top: 10px !important; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 8px; margin: 12px -14px 0; padding: 2px 14px 4px; scroll-padding: 0 14px; }
  .s-dash .s-stages::-webkit-scrollbar { display: none; }
  .s-dash .s-stages .s-stages-h { position: sticky; left: -14px; z-index: 1; flex: 0 0 auto; padding-right: 6px; font-size: 11px; }
  .s-dash .s-stages button { flex: 0 0 auto; white-space: nowrap; min-height: 40px; padding: 0 14px; font-size: 14.5px; }
}

/* Claim details: simple facts change in place */
.s-brief-f.is-inline span::after { content: ' ✎'; font-size: 13px; font-weight: 600; color: #8A9187; opacity: 0; transition: opacity .12s; }
.s-brief-f.is-inline:hover span::after, .s-brief-f.is-inline:focus-visible span::after { opacity: 1; }
@media (hover: none) { .s-brief-f.is-inline span::after { opacity: .7; } }
.s-brief-edit { cursor: default; background: #F3F7F1; min-width: 0; }
.s-brief-row { display: flex; gap: 6px; align-items: center; min-width: 0; width: 100%; }
.s-brief-in { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 40px; padding: 6px 10px; border: 2px solid #2F4A3A; border-radius: 10px; font: 700 16px Figtree, system-ui, sans-serif; color: #1E3B30; background: #fff; }
.s-brief-ok { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #1E3B30; color: #F5F0E6; font: 800 18px Figtree, system-ui, sans-serif; cursor: pointer; }

/* Phone: the letter box (Send a letter, deadline, tips) comes first, right under Do this next. */
@media screen and (max-width: 600px) {
  .s-dash .s-dpanel.is-up { position: static; margin: 0 0 20px; }
}
/* A release without a payment schedule */
.s-relloose { margin-top: 16px; }
.s-relform { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.s-relform select, .s-relform input { flex: 1 1 180px; min-width: 0; min-height: 40px; padding: 6px 10px; border: 1.5px solid #CFC8AE; border-radius: 10px; font: 15px Figtree, system-ui, sans-serif; background: #fff; color: #1E3B30; }
.s-relform .h-btn { flex: 1 1 100%; }

/* Removed documents: kept with the claim, listed quietly under the folders */
.s-doc-removed { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #d9d2bf; }
.s-doc-removed-note { margin: 6px 0 8px; font-size: 13.5px; color: #5b6b62; }

/* Send a letter and Add documents, side by side under Tasks */
.s-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; align-items: stretch; }
.s-acts[hidden] { display: none; }
.s-acts > div { display: grid; min-width: 0; }
.s-acts > div:empty { display: none; }
.s-acts .s-dsec { align-content: start; }
.s-adddocs { cursor: pointer; position: relative; }
.s-adddocs input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.s-adddocs h2 { margin-bottom: 8px; }
.s-adddocs-btn { display: block; text-align: center; pointer-events: none; }
.s-adddocs small { color: var(--muted, #5b6b62); font-weight: 600; font-size: 14px; }
.s-adddocs.over { background: #FFF7E3; border-color: #C79A1B; border-style: dashed; }
.s-adddocs:focus-within { outline: 3px solid var(--honey, #F3C969); outline-offset: 2px; }
#dash-tasks { margin-top: 14px; }
@media (max-width: 700px) { .s-acts { grid-template-columns: minmax(0, 1fr); } }

/* Letter preview: what the letter still needs before it can go */
.s-lp-gate { background: #FFF8E6; border: 2px solid #F3C969; border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; display: grid; gap: 6px; }
.s-lp-gate p { margin: 0; font-size: 14.5px; }
.s-lp-gate-row { display: flex; gap: 8px; flex-wrap: wrap; }
.s-lp-gate-row input { flex: 1 1 180px; min-width: 0; font: 600 16px "Figtree", system-ui, sans-serif; padding: 9px 12px; border: 2px solid #C9BFAC; border-radius: 10px; }
.s-lp-dir { background: #F4F8F3; border-color: #CFE0CF; }
.s-lp-dir .h-btn { justify-self: start; }

/* Long cards folded to one line */
.s-cfold > :not(.s-info-head):not(.s-cfold-sum) { display: none !important; }
.s-cfold-sum { display: none; margin: 6px 0 0; color: var(--muted, #5b6b62); font-weight: 600; cursor: pointer; }
.s-cfold > .s-cfold-sum { display: block; }
.s-cfold-btn { margin-left: auto; }
.s-cfold #info-edit { display: none; }
