/* This stylesheet is loaded only by private Finder pages. Immediate focus
   scrolling keeps validation targets and sticky edit actions in view. */
html {scroll-behavior:auto;scroll-padding-top:calc(var(--nav-height,72px) + 1rem);scroll-padding-bottom:8rem}
.fw-shell,.fw-topbar,.fw-footer {
  --fw-bg:var(--slms-background,var(--color-bg-alt));
  --fw-paper:var(--slms-surface,var(--color-bg));
  --fw-ink:var(--slms-text,var(--color-text));
  --fw-muted:var(--slms-muted,var(--color-text-secondary));
  --fw-accent:var(--slms-accent,var(--color-accent));
  --fw-line:color-mix(in srgb,var(--fw-ink) 18%,transparent);
  color:var(--fw-ink);
}
.fw-shell {padding:calc(var(--nav-height,72px) + 1.5rem) 0 3rem;background:var(--fw-bg);min-height:calc(100svh - 90px)}
.fw-container {width:min(1180px,calc(100% - 3rem));margin:auto}
.fw-topbar .nav-inner {max-width:1180px;padding-inline:0;width:calc(100% - 3rem)}
.fw-topbar .nav-brand {gap:.6rem}
.fw-topbar .nav-brand img {object-fit:contain}
.fw-topbar a {color:var(--fw-ink)}
.fw-topbar .nav-inner>a:last-child {display:inline-flex;align-items:center;min-height:44px}
.fw-topbar-label {font-size:.8rem;border-left:1px solid var(--fw-line);padding-left:.8rem;margin-left:.3rem;font-weight:500}
.fw-footer {padding:1.5rem;display:flex;justify-content:space-between;gap:1rem;max-width:1228px;margin:auto;font-size:.8rem;color:var(--fw-muted)}
.fw-footer div {display:flex;gap:1.2rem}
.fw-footer a {color:inherit}
.fw-back {display:inline-block;margin-bottom:1.25rem;color:var(--fw-muted);font-size:.85rem}
.fw-hero {padding:1rem 0 2rem;border-bottom:1px solid var(--fw-line);margin-bottom:1.5rem}
.fw-eyebrow {font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--fw-muted);display:block;margin-bottom:.7rem}
.fw-hero h1 {font-family:var(--slms-font-heading,var(--font-display));font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.04em;line-height:1.12;margin:0 0 1rem;max-width:24ch;overflow-wrap:anywhere}
.fw-hero p {font-size:1.05rem;max-width:64ch;line-height:1.55;margin:0}
.fw-workspace-hero {display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem 0 1.4rem;margin-bottom:0;border:0}
.fw-workspace-hero h1 {font-size:clamp(1.65rem,3vw,2.5rem);margin-bottom:.45rem}
.fw-workspace-hero p {color:var(--fw-muted);font-size:.9rem}
.fw-header-actions {display:flex;align-items:center;gap:1.4rem;flex-shrink:0}
.fw-text-link,.fw-text-button {color:var(--fw-ink);font-size:.87rem;font-weight:600;text-underline-offset:4px}
.fw-text-button {background:none;border:0;padding:.7rem 0;min-height:44px;cursor:pointer;font-family:inherit}
.fw-layout,.fw-editor-layout {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:2rem;align-items:start}
.fw-dashboard-grid {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:2rem;align-items:start}
.fw-panel {background:var(--fw-paper);border:1px solid var(--fw-line);padding:clamp(1.2rem,2.4vw,1.75rem);margin-bottom:1.5rem}
.fw-shell h2 {font-family:var(--slms-font-heading,var(--font-display));font-size:1.4rem;letter-spacing:-.03em;line-height:1.25;margin:0 0 .7rem}
.fw-shell h3 {font-size:1rem;margin:0 0 .3rem}
.fw-shell p {line-height:1.55}
.fw-panel p,.fw-next p {margin:.6rem 0 1rem}
.fw-muted,.fw-form small {color:var(--fw-muted);font-size:.85rem}
.fw-form {display:grid;gap:1.25rem;margin-top:1.5rem}
.fw-form label {display:grid;gap:.45rem;font-weight:600;font-size:.88rem}
.fw-form small {font-weight:400;line-height:1.5}
.fw-fields {display:grid;grid-template-columns:1fr 1fr;gap:1.15rem}
.fw-shell input,.fw-shell select,.fw-shell textarea {width:100%;min-width:0;min-height:44px;background:var(--fw-paper);color:var(--fw-ink);border:1px solid var(--fw-line);border-radius:var(--slms-button-radius,4px);padding:.7rem;font:inherit}
.fw-shell textarea {resize:vertical}
.fw-shell :focus-visible,.fw-topbar :focus-visible,.fw-footer :focus-visible {outline:3px solid var(--fw-accent);outline-offset:3px}
.fw-button {display:inline-flex;justify-content:center;align-items:center;gap:.5rem;min-height:44px;padding:.75rem 1rem;border:1px solid var(--fw-ink);background:var(--fw-ink);color:var(--fw-paper);font:inherit;font-size:.88rem;font-weight:700;text-decoration:none;cursor:pointer;border-radius:var(--slms-button-radius,4px);text-align:center}
.fw-button:hover {background:var(--fw-accent);border-color:var(--fw-accent);color:var(--fw-paper)}
.fw-button.fw-secondary {background:transparent;color:var(--fw-ink);border-color:var(--fw-line)}
.fw-button.fw-secondary:hover {border-color:var(--fw-ink)}
.fw-button:disabled,.fw-goal-choice:disabled {opacity:.55;cursor:not-allowed}
.fw-form .fw-check {display:flex;align-items:flex-start;gap:.7rem;font-weight:400;line-height:1.5}
.fw-check input {width:18px;min-height:18px;height:18px;flex:0 0 auto;margin-top:.18rem;accent-color:var(--fw-accent)}
.fw-check small {display:block;margin-top:.3rem}
.fw-actions {display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
.fw-actions select {width:auto}
.fw-side {display:grid;gap:1.5rem}
.fw-steps {list-style:none;counter-reset:steps;padding:0}
.fw-steps li {counter-increment:steps;border-top:1px solid var(--fw-line);padding:1.2rem 0}
.fw-steps strong:before {content:'0' counter(steps) ' / ';color:var(--fw-accent)}
.fw-steps p {margin:.5rem 0 0}
.fw-results {list-style:none;padding:0}
.fw-results li {padding:1rem 0;border-bottom:1px solid var(--fw-line)}
.fw-results a {display:grid;gap:.4rem;text-decoration:none;color:var(--fw-ink)}
.fw-results span {color:var(--fw-muted)}
.fw-notice {padding:1rem 1.2rem;border-left:3px solid var(--fw-accent);background:var(--fw-paper);margin-bottom:1.25rem;line-height:1.5;font-size:.9rem}
.fw-notice p {margin:.5rem 0}
.fw-error {border:2px solid var(--fw-accent)}
.fw-tabs {display:flex;gap:1.5rem;border-bottom:1px solid var(--fw-line);margin-bottom:1.5rem}
.fw-tabs a {display:flex;align-items:center;gap:.5rem;font-size:.87rem;color:var(--fw-muted);text-decoration:none;padding:.8rem 0;min-height:48px;border-bottom:3px solid transparent;margin-bottom:-1px}
.fw-tabs a[aria-current] {border-color:var(--fw-accent);color:var(--fw-ink);font-weight:700}
.fw-count,.fw-status-pill {display:inline-block;border:1px solid var(--fw-line);padding:.15rem .45rem;font-size:.72rem;font-weight:600;white-space:nowrap}
.fw-verification {border-left:3px solid var(--fw-accent);padding:1rem 1.25rem;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;background:var(--fw-paper)}
.fw-verification h2 {font-size:1.05rem;margin-bottom:.4rem}
.fw-verification p {font-size:.87rem;max-width:76ch;margin:0}
.fw-verification form {flex-shrink:0}
.fw-progress {display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;list-style:none;counter-reset:progress;padding:0;margin:.9rem 0 0;font-size:.74rem;color:var(--fw-muted)}
.fw-progress li {counter-increment:progress}
.fw-progress li:before {content:counter(progress) '.';margin-right:.4rem}
.fw-progress [aria-current] {color:var(--fw-ink);font-weight:700}
.fw-progress .is-complete:before {content:'✓'}
.fw-listing-state {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0 1.5rem;margin-bottom:1.5rem;border-bottom:1px solid var(--fw-line)}
.fw-state-label {font-size:.92rem;font-weight:700;display:block}
.fw-listing-state p {margin:.35rem 0 0;font-size:.84rem;color:var(--fw-muted)}
.fw-listing-state .fw-button {flex-shrink:0}
.fw-listing-state .fw-eyebrow {margin-bottom:.45rem;font-size:.65rem}
.fw-preview {padding:1.5rem;background:var(--fw-paper);border-top:3px solid var(--fw-accent);position:sticky;top:calc(var(--nav-height,72px) + 1.25rem)}
.fw-preview dl {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:.65rem;margin:1.2rem 0;font-size:.85rem}
.fw-preview dt {color:var(--fw-muted)}
.fw-preview dd {margin:0;text-align:right;overflow-wrap:anywhere}
.fw-preview [data-preview="short_description"] {white-space:pre-wrap;overflow-wrap:anywhere}
.fw-preview-back {display:none}
.fw-next {padding:1.5rem;border-top:3px solid var(--fw-accent);background:var(--fw-paper)}
.fw-prefill {padding:.9rem 0;border-block:1px solid var(--fw-line);margin:1rem 0}
.fw-prefill strong,.fw-prefill>span {display:block;font-size:.85rem;overflow-wrap:anywhere}
.fw-prefill .fw-eyebrow {font-size:.65rem;margin-bottom:.45rem}
.fw-prefill>span:not(.fw-eyebrow),.fw-prefill p {font-size:.8rem;color:var(--fw-muted)}
.fw-prefill p {margin:.5rem 0 0}
.fw-goal-choices {display:grid;gap:.6rem}
.fw-goal-choice {display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.9rem 1rem;border:1px solid var(--fw-line);background:var(--fw-paper);color:var(--fw-ink);cursor:pointer;font:inherit;text-align:left;border-radius:var(--slms-button-radius,4px)}
.fw-goal-choice:not(:disabled):hover {border-color:var(--fw-accent);background:var(--fw-bg)}
.fw-goal-choice strong {display:block;font-size:.88rem;line-height:1.4}
.fw-goal-choice small {display:block;color:var(--fw-muted);font-size:.78rem;line-height:1.4;margin-top:.25rem}
.fw-section-heading {display:flex;align-items:center;justify-content:space-between;gap:.7rem 1rem;flex-wrap:wrap}
.fw-section-heading h2 {margin-bottom:0}
.fw-section-heading a {font-size:.85rem;color:var(--fw-ink);text-underline-offset:4px}
.fw-interest {margin:0 0 2rem}
.fw-metrics {display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:1.1rem 0 .5rem}
.fw-metrics div {padding:1rem 0;border-top:1px solid var(--fw-line)}
.fw-metrics strong {display:block;font-size:2.5rem;font-weight:700;letter-spacing:-.04em;line-height:1.15;margin-bottom:.45rem;font-variant-numeric:tabular-nums}
.fw-metrics span {font-size:.8rem;color:var(--fw-muted)}
.fw-measurement {font-size:.8rem;color:var(--fw-muted)}
.fw-measurement p {max-width:90ch}
.fw-table-wrap {overflow:auto}
.fw-shell table {width:100%;border-collapse:collapse;margin-top:1rem;font-variant-numeric:tabular-nums}
.fw-shell th,.fw-shell td {padding:.7rem;text-align:left;border-bottom:1px solid var(--fw-line)}
.fw-shell summary {cursor:pointer;padding:.5rem 0;font-weight:600;min-height:36px}
.fw-inquiry {padding:1.25rem 0;border-top:1px solid var(--fw-line)}
.fw-inquiry:last-of-type {padding-bottom:0}
.fw-inquiry p {white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}
.fw-dashboard-grid .fw-inquiry p {display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fw-inquiry-actions {display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}
.fw-inquiry-actions select,.fw-inquiry-actions button {font-size:.8rem}
.fw-empty {padding:1.2rem 0 .2rem;border-top:1px solid var(--fw-line);margin-top:1rem;line-height:1.6}
.fw-empty p {font-size:.88rem;color:var(--fw-muted)}
.fw-pagination {margin-top:1.5rem}
.fw-message {max-width:720px;margin:1.5rem auto}
.fw-message h1 {font-size:clamp(1.7rem,4vw,2.1rem);line-height:1.2;margin-bottom:1rem}
.fw-return {margin-top:1rem}
.fw-fieldset {border:1px solid var(--fw-line);background:var(--fw-paper);padding:1.25rem;display:grid;gap:1.15rem;min-width:0;margin:0}
.fw-fieldset legend {padding:0 .4rem;font-weight:700;font-size:1rem}
.fw-fieldset p {margin:0}
.fw-dates {border-top:1px solid var(--fw-line)}
.fw-dates summary {display:list-item;font-size:.87rem}
.fw-dates summary span {font-size:.75rem;margin-left:.5rem}
.fw-dates .fw-fields {padding-top:1rem}
.fw-savebar {position:sticky;bottom:0;z-index:5;background:var(--fw-paper);border-top:2px solid var(--fw-ink);padding:.85rem 1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;box-shadow:0 -4px 18px color-mix(in srgb,var(--fw-ink) 7%,transparent)}
.fw-savebar-status {display:grid;gap:.3rem;font-size:.78rem}
.fw-savebar-status>span {font-weight:600}
.fw-savebar-status a {color:var(--fw-muted);text-underline-offset:3px}
.fw-savebar.is-dirty {border-top-color:var(--fw-accent)}
.fw-trap {position:absolute;left:-9999px;height:0;overflow:hidden}
.fw-sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.fw-shell [id] {scroll-margin-top:calc(var(--nav-height,72px) + 1rem)}
@media(max-width:850px) {
  .fw-layout,.fw-editor-layout,.fw-dashboard-grid {grid-template-columns:1fr}
  .fw-side {grid-template-columns:1fr 1fr}
  .fw-header-actions {gap:1rem}
  .fw-workspace-hero {align-items:start}
  .fw-preview {position:static}
  .fw-preview-back {display:block;margin-top:1rem;color:var(--fw-ink)}
  .fw-verification {align-items:start;flex-direction:column;gap:1rem}
}
@media(max-width:580px) {
  .fw-container {width:calc(100% - 2rem)}
  .fw-shell {padding-top:calc(var(--nav-height,72px) + 1rem);padding-bottom:2rem}
  .fw-topbar .nav-inner {width:calc(100% - 2rem)}
  .fw-topbar-label {font-size:.7rem;padding-left:.6rem;margin-left:.1rem}
  .fw-topbar>a {font-size:.8rem}
  .fw-fields,.fw-side {grid-template-columns:1fr}
  .fw-fee-fields {grid-template-columns:1fr 1fr}
  .fw-workspace-hero {display:block}
  .fw-header-actions {margin-top:.6rem;justify-content:space-between}
  .fw-tabs {gap:1.15rem}
  .fw-tabs a {font-size:.8rem;gap:.35rem}
  .fw-count {font-size:.65rem;padding:.1rem .25rem}
  .fw-panel,.fw-next,.fw-preview {padding:1.15rem}
  .fw-listing-state {align-items:start;flex-direction:column}
  .fw-listing-state .fw-button {width:100%}
  .fw-metrics {grid-template-columns:1fr 1fr;gap:0 1rem}
  .fw-metrics strong {font-size:2rem}
  .fw-metrics div {padding:.8rem 0}
  .fw-dashboard-grid {gap:1rem}
  .fw-savebar {gap:.65rem;flex-direction:column;align-items:stretch;padding:.75rem .8rem calc(.75rem + env(safe-area-inset-bottom,0px))}
  .fw-savebar-status {display:flex;justify-content:space-between;gap:.5rem}
  .fw-savebar .fw-actions {flex-wrap:nowrap}
  .fw-savebar .fw-button {flex:1;padding:.7rem .6rem;font-size:.85rem}
  .fw-form input:not([type="checkbox"]),.fw-form select,.fw-form textarea {font-size:1rem}
  .fw-fieldset {padding:1rem}
  .fw-inquiry-actions {align-items:stretch}
  .fw-inquiry-actions .fw-actions {width:100%;flex-wrap:nowrap}
  .fw-inquiry-actions select {flex:1}
  .fw-footer {flex-direction:column;padding:1.25rem 1rem;gap:.8rem}
  .fw-hero br {display:none}
}
