:root{--ink:#074b48;--muted:#52706d;--paper:#f7f5ed;--line:#dbe5df;--gold:#c9a353}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 'DM Sans',system-ui,sans-serif}h1,h2{font-family:Fraunces,Georgia,serif;line-height:1.14;margin:.3em 0 .6em;font-weight:600}h1{font-size:clamp(38px,5vw,64px);letter-spacing:-.025em}h2{font-size:28px}p{margin:0 0 1em}a{color:inherit;text-underline-offset:4px}.app-header{padding:26px max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{font-size:13px;font-weight:750;letter-spacing:.18em;text-decoration:none;line-height:1.7}.brand span{display:block;font:21px Georgia,serif;letter-spacing:.12em}.header-label,.eyebrow{font-size:12px;letter-spacing:.17em;font-weight:700}.header-label{color:var(--muted)}.eyebrow{color:#805f21;margin-bottom:18px}.workspace{max-width:1200px;margin:48px auto;padding:0 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.page-heading h1{margin-bottom:.2em}.panel{background:white;border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:0 10px 28px #074b4805}.login-layout{max-width:1200px;margin:90px auto;display:grid;grid-template-columns:1.25fr 1fr;gap:80px;padding:0 24px;align-items:center}.lead{font-size:22px}.muted{color:var(--muted)}.small{font-size:14px}.seal{display:grid;place-items:center;border:1px solid var(--gold);color:#805f21;font:24px Georgia,serif;width:64px;height:64px;border-radius:50%;margin-bottom:24px}.button{appearance:none;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:650;padding:13px 23px;min-height:48px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:white;text-decoration:none;cursor:pointer;line-height:1.3}.button.secondary{background:transparent;color:var(--ink)}button:disabled{opacity:.55;cursor:default}.text-link{display:inline-block;margin:16px 0}.notice{padding:16px 20px;border-left:3px solid var(--gold);background:#f1ede0;border-radius:4px;margin:24px 0;font-size:15px}.tabs{display:flex;gap:12px;padding:12px 0 24px;flex-wrap:wrap}.tabs button{font:inherit;min-height:48px;border:1px solid var(--line);border-radius:12px;padding:10px 18px;background:white;color:var(--ink);cursor:pointer}.tabs button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.tabs span{display:inline-block;margin-left:12px;font-size:14px;font-weight:700}.records{display:grid;gap:18px}.record-heading{display:flex;gap:24px;align-items:start;justify-content:space-between}.record-heading h2{overflow-wrap:anywhere}.badge{font-size:12px;border:1px solid var(--line);border-radius:999px;padding:5px 12px;white-space:nowrap;background:#eef8f5}.phone{font-size:20px;margin-bottom:.2em}.question{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.actions{display:flex;gap:12px;flex-wrap:wrap}.pagination{display:flex;align-items:center;gap:20px;justify-content:space-between;margin:24px 0}.app-footer{max-width:1200px;margin:70px auto 24px;padding:24px;border-top:1px solid var(--line);font-size:13px;display:flex;justify-content:space-between;gap:16px;color:var(--muted)}.narrow{max-width:680px;margin:56px auto}label{display:block;font-weight:600;margin:22px 0 8px}small,.field-help{font-size:14px;color:var(--muted);font-weight:400}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #9bb0a8;background:white;border-radius:10px;padding:13px 14px;font:inherit;color:var(--ink);min-height:50px}textarea{resize:vertical}.field-help{margin:6px 0 16px}.consent{display:flex;align-items:flex-start;gap:12px;font-size:15px;margin:24px 0}.consent input{width:22px;height:22px;flex:0 0 22px;accent-color:var(--ink);margin-top:3px}details{margin:24px 0;font-size:15px}summary{cursor:pointer;font-weight:650;min-height:44px;padding:8px 0}details p{margin:8px 0 16px}:focus-visible{outline:3px solid #966815;outline-offset:4px}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:20px;padding:12px;background:white;z-index:2}.skip:focus{top:8px}.test-banner{text-align:center;background:#ffe79d;padding:8px;font-size:14px;color:#4e3c13}.empty{padding:48px 32px}#dashboard-alert:not(:empty){padding:16px;background:#e2eee7;border-radius:10px;margin-bottom:20px}
@media(max-width:700px){.app-header{padding:20px;align-items:flex-start}.header-label{max-width:110px;font-size:10px;text-align:right}.workspace{margin:32px auto;padding:0 18px}.login-layout{grid-template-columns:1fr;gap:32px;margin:40px auto;padding:0 18px}.panel{padding:24px;border-radius:18px}.page-heading{align-items:flex-start}.page-heading .button{font-size:14px;padding:11px 15px}.record-heading{flex-direction:column;gap:4px;margin-bottom:18px}.record-heading h2{margin-bottom:8px}.tabs{gap:8px}.tabs button{padding:10px 12px;font-size:15px}.tabs span{margin-left:7px}.narrow{margin:32px 16px}.app-footer{flex-direction:column;margin-top:40px}.pagination{gap:12px;font-size:14px}.pagination .button{padding:12px 16px}.badge{white-space:normal}.actions .button{font-size:15px}}
