:root{--ink:#102a43;--muted:#52677d;--line:#dce5ec;--paper:#fff;--canvas:#f4f7f8;--teal:#087f78;--teal-dark:#06635e;--lime:#dff4d8;--warm:#f5efe6;--shadow:0 18px 50px rgba(16,42,67,.09);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:320px}.skip-link{position:fixed;left:12px;top:-60px;background:#fff;padding:12px;z-index:20}.skip-link:focus{top:12px}.topbar{height:76px;padding:0 max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(10px)}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--ink);color:#fff;font-weight:800;letter-spacing:.04em}.brand span:last-child{display:grid}.brand small{color:var(--muted);font-size:12px;margin-top:2px}.staff-link{color:var(--ink);text-decoration:none;font-weight:650;border-bottom:1px solid transparent}.staff-link:hover{border-color:var(--teal)}main{max-width:1180px;margin:auto;padding:0 24px 64px}.hero{min-height:480px;display:grid;grid-template-columns:1.5fr .65fr;gap:70px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;color:var(--teal);margin:0 0 12px}.hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(44px,6vw,78px);line-height:.98;letter-spacing:-.04em;max-width:850px;margin:0}.lead{font-size:20px;line-height:1.55;color:var(--muted);max-width:760px;margin:28px 0}.trust-row{display:flex;flex-wrap:wrap;gap:10px}.trust-row span{padding:8px 12px;background:var(--lime);border-radius:99px;font-size:13px;font-weight:650}.hero-note{background:var(--ink);color:#fff;padding:32px;border-radius:28px;box-shadow:var(--shadow)}.hero-note .note-number{display:block;font-family:Georgia,serif;font-size:78px;color:#9ee2cf;line-height:1}.hero-note strong{font-size:18px}.hero-note p{color:#c7d7e5;line-height:1.5;margin-bottom:0}.workspace,.results,.history{background:var(--paper);border:1px solid var(--line);border-radius:28px;padding:32px;box-shadow:var(--shadow);margin-bottom:28px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.section-heading h2,.progress-card h2{font-family:Georgia,serif;font-size:34px;font-weight:500;margin:0}.privacy-status,.count-chip{padding:8px 12px;border-radius:99px;background:#edf7f5;color:var(--teal-dark);font-size:13px;font-weight:700}.source-switch{display:flex;gap:8px;margin:28px 0 18px}.source-tab{border:0;background:transparent;padding:11px 16px;border-radius:99px;color:var(--muted);font:inherit;font-weight:700;cursor:pointer}.source-tab.is-active{background:var(--ink);color:#fff}.drop-zone{min-height:190px;border:1.5px dashed #9bb0c0;background:#f8fafb;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;cursor:pointer}.drop-zone:hover,.drop-zone.is-dragging{border-color:var(--teal);background:#f0faf7}.drop-zone input{position:absolute;opacity:0;pointer-events:none}.upload-glyph{font-size:34px;color:var(--teal)}.drop-zone small{color:var(--muted)}.selection-grid{grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:end;margin-top:18px}.selection-grid label,.text-field{display:grid;gap:7px;font-size:13px;font-weight:700}.selection-grid select,textarea{width:100%;border:1px solid #b9c8d3;border-radius:12px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit}.secondary-button,.primary-button,.text-button{min-height:44px;border-radius:12px;padding:0 18px;font:inherit;font-weight:750;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.secondary-button{border:1px solid var(--ink);background:#fff;color:var(--ink)}.primary-button{border:0;background:var(--teal);color:#fff}.primary-button:hover{background:var(--teal-dark)}.primary-button:disabled{opacity:.45;cursor:not-allowed}.text-button{border:0;background:transparent;color:var(--teal)}.text-field textarea{margin-top:4px;resize:vertical;line-height:1.5}.preview{margin-top:24px;border-top:1px solid var(--line);padding-top:22px}.preview-head{display:flex;justify-content:space-between;align-items:center}.preview h3{margin:0;font-size:20px}.preview p{margin:4px 0;color:var(--muted)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;margin-top:14px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:12px;text-align:left;border-bottom:1px solid var(--line)}th{background:#f7f9fa;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em}tr:last-child td{border-bottom:0}.mode-card{border:1px solid var(--line);border-radius:18px;padding:18px;margin:24px 0 0}.mode-card legend{font-weight:800;padding:0 8px}.mode-option{display:flex;gap:12px;padding:14px;border-radius:13px;cursor:pointer}.mode-option:has(input:checked){background:#edf7f5}.mode-option input{margin-top:3px;accent-color:var(--teal)}.mode-option span{display:grid;gap:3px}.mode-option small,.mode-note{color:var(--muted);line-height:1.4}.mode-note{font-size:13px;margin:10px 14px 0}.submit-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px}.submit-row p{color:var(--muted);margin:0}.progress-card{background:var(--warm);border-radius:28px;padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-bottom:28px}.progress-card p:last-child{color:var(--muted)}.progress-value{align-self:center}.progress-value strong{font-size:28px}.progress-track{height:11px;background:#d9d4cb;border-radius:20px;overflow:hidden;margin-top:9px}.progress-track span{display:block;height:100%;width:0;background:var(--teal);transition:width .3s}.result-list{display:grid;gap:14px;margin-top:24px}.result-card{border:1px solid var(--line);border-radius:18px;padding:20px}.result-top{display:flex;justify-content:space-between;gap:18px}.result-top h3{margin:3px 0;font-size:18px}.result-top small{color:var(--muted)}.status-pill{white-space:nowrap;background:#edf7f5;color:var(--teal-dark);border-radius:99px;padding:7px 10px;height:max-content;font-size:12px;font-weight:800}.result-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:16px}.result-grid div{background:#f7f9fa;padding:13px;border-radius:12px}.result-grid span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.result-grid strong{font-size:14px}.proposal{margin:14px 0 0;padding:14px;border-left:3px solid var(--teal);background:#f0faf7;border-radius:0 12px 12px 0}.proposal.unavailable{border-color:#bd7b2c;background:#fff8ed}.proposal span{display:block;color:var(--muted);font-size:12px}.history-list{display:grid;gap:8px;margin-top:18px}.history-item{border-top:1px solid var(--line);padding:12px 0;display:flex;justify-content:space-between;gap:20px}.history-item button{border:0;background:none;color:var(--teal);font:inherit;font-weight:700;cursor:pointer}footer{max-width:1180px;margin:auto;padding:32px 24px 50px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted)}.toast{position:fixed;right:22px;bottom:22px;max-width:390px;background:var(--ink);color:#fff;padding:15px 18px;border-radius:12px;box-shadow:var(--shadow);z-index:30}:focus-visible{outline:3px solid #e6b95c;outline-offset:3px}@media(max-width:850px){.hero{grid-template-columns:1fr;gap:26px;padding:70px 0}.hero-note{max-width:430px}.selection-grid{grid-template-columns:1fr 1fr}.result-grid{grid-template-columns:1fr}.progress-card{grid-template-columns:1fr}}@media(max-width:560px){.topbar{height:68px;padding:0 16px}.brand small{display:none}.staff-link{font-size:13px}main{padding:0 12px 42px}.hero{min-height:0;padding:52px 4px}.hero h1{font-size:44px}.lead{font-size:17px}.workspace,.results,.history{padding:20px;border-radius:20px}.section-heading,.submit-row,.result-top,footer{flex-direction:column;align-items:stretch}.selection-grid{grid-template-columns:1fr}.primary-button{width:100%}.source-switch{overflow:auto}.source-tab{white-space:nowrap}.hero-note{padding:24px}.table-wrap{margin-left:-10px;margin-right:-10px}.result-top .status-pill{align-self:flex-start}}

.drop-zone:has(input:focus-visible){outline:3px solid #e6b95c;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:0s!important}}
