:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #19302c; background: #f6f8f5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.site-header { height: 66px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e1e9e3; }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 750; letter-spacing: -.02em; }
.scail-home { display: flex; align-items: center; }
.scail-home:focus-visible { outline: 2px solid #087768; outline-offset: 4px; border-radius: 2px; }
.scail-wordmark { display: block; width: auto; height: 29px; }
.environment { font-size: 13px; color: #60746d; }
.layout { max-width: 1120px; margin: 0 auto; padding: 48px 24px 96px; }
.intro { margin-bottom: 30px; }
.eyebrow { margin: 0 0 10px; color: #087768; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.app-home { display: inline-flex; align-items: center; width: fit-content; padding: 6px 9px; border-radius: 6px; text-decoration: none; }
.app-home:hover { background: #e8f7f5; color: #065f54; }
.app-home:focus-visible { outline: 2px solid #087768; outline-offset: 2px; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); letter-spacing: -.045em; line-height: 1.1; }
.hero-subhead { max-width: 780px; margin: 17px 0 0; color: #40564e; font-size: 18px; line-height: 1.5; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 18px; border: 1px solid #5ce1e6; border-radius: 8px; background: #5ce1e6; color: #000; font-size: 15px; font-weight: 700; text-decoration: none; }
.hero-cta:hover { background: #43cdd3; border-color: #43cdd3; }
.hero-cta:focus-visible { outline: 2px solid #087768; outline-offset: 3px; }
.intro-copy { max-width: 850px; color: #586b65; font-size: 16px; line-height: 1.55; }
.intro-copy p { margin: 14px 0 0; }
.lookup, .summary-card, .card, .dossier-block, .stat { background: #fff; border: 1px solid #dfe9e2; border-radius: 14px; box-shadow: 0 4px 20px rgb(23 58 45 / 3%); }
.lookup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; padding: 24px; }
.lookup label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.lookup input { min-width: 0; width: 100%; padding: 12px 14px; border: 1px solid #cbd9d1; border-radius: 8px; font: inherit; color: #19302c; }
.lookup input:focus { outline: 2px solid #087768; outline-offset: 1px; }
.upload-section { margin-top: 0; margin-bottom: 34px; }
.upload-form { row-gap: 16px; }
.upload-form .field { min-width: 0; display: flex; flex-direction: column; }
.upload-form .field label { display: block; margin-bottom: 8px; }
.upload-form .field small { display: block; margin-top: 7px; color: #64766e; line-height: 1.45; }
.upload-form .field .optional { color: #7a8a81; font-weight: 400; }
.upload-form select { min-height: 45px; padding: 10px 12px; border: 1px solid #cbd9d1; border-radius: 8px; color: #19302c; background: white; font: inherit; }
.upload-form input[type="file"] { font-size: 13px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
button { border: 1px solid #5ce1e6; background: #5ce1e6; color: #000; border-radius: 8px; padding: 10px 15px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
button:hover:not(:disabled) { background: #43cdd3; border-color: #43cdd3; }
button:disabled { opacity: .48; cursor: not-allowed; }
.data-use-note { grid-column: 1 / -1; margin: 0; color: #40564e; font-size: 13px; line-height: 1.5; }
.policy-link, .policy-link:visited { color: #6a7a73; font-weight: 700; text-decoration: none; }
.policy-link:hover { color: #40564e; }
.privacy-note { grid-column: 1 / -1; margin: 16px 0 0; color: #6a7a73; font-size: 12px; line-height: 1.5; }
.message { min-height: 20px; margin: 20px 0; color: #566b63; font-size: 14px; }
.message.error { color: #a02d2b; }
.summary-card { padding: 22px 24px; border-left: 4px solid #087768; }
.result-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 14px 2px 0; }
.copy-results-button { padding: 4px 2px; border: 0; border-radius: 3px; background: transparent; color: #087768; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.copy-results-button:hover:not(:disabled) { border-color: transparent; background: transparent; color: #065f54; }
.copy-results-button:focus-visible { outline: 2px solid #087768; outline-offset: 3px; }
.copy-results-status { min-height: 18px; color: #60746d; font-size: 12px; }
.summary-line, .section-heading, .card-head { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.summary-line h2, .section-heading h2 { margin: 0; letter-spacing: -.025em; }
.summary-line h2 { font-size: 20px; overflow-wrap: anywhere; }
.meta { margin: 10px 0 0; color: #687a72; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.status-pill, .count, .tag { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #e5f3ed; color: #087768; font-size: 12px; font-weight: 700; }
.status-pill.failed { background: #fbe8e6; color: #9d3230; }
.status-pill.running, .status-pill.queued { background: #fff1dc; color: #936011; }
.job-error { color: #a02d2b; overflow-wrap: anywhere; }
.overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.stat { padding: 17px 20px; }
.stat strong { display: block; font-size: 27px; letter-spacing: -.03em; }
.stat span { color: #677a71; font-size: 12px; }
.content-section { margin-top: 38px; }
.recommendations-panel { padding: 26px; background: #fff; border: 1px solid #dfe9e2; border-radius: 16px; box-shadow: 0 6px 26px rgb(23 58 45 / 6%); }
.recommendations-panel .card { background: #f9fcfa; box-shadow: none; }
.recommendations-panel .section-summary { margin: 0 0 18px; }
.recommendation-summary { padding-left: 22px; }
.recommendation-summary li { margin: 6px 0; }
.section-heading { align-items: center; margin-bottom: 14px; }
.section-heading h2 { font-size: 23px; }
.section-summary { color: #586b65; line-height: 1.55; white-space: pre-wrap; }
.cards { display: grid; gap: 12px; }
.card, .dossier-block { padding: 20px 22px; }
.card h3, .dossier-block h3 { margin: 0 0 9px; font-size: 17px; line-height: 1.35; }
.card p, .dossier-block p { color: #40564e; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.card p:last-child, .dossier-block p:last-child { margin-bottom: 0; }
.card-head { margin-bottom: 5px; }
.card-head h3 { flex: 1 1 300px; }
.signal-title { font-weight: 700; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: #eff3ef; color: #51665d; }
.insight-status { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #e5f3ed; color: #087768; font-size: 12px; font-weight: 700; }
.insight-status.rejected { background: #fbe8e6; color: #9d3230; }
.insight-status.needs_investigation, .insight-status.not_investigated { background: #fff1dc; color: #936011; }
.detail-label { margin: 14px 0 4px; color: #667a71; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.detail-value { margin: 0; }
.dossier-block { margin-bottom: 12px; }
.dossier-block ul { padding-left: 20px; color: #40564e; line-height: 1.55; }
.workflow-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.workflow-comparison .dossier-block { min-width: 0; }
.workflow-diagram { overflow-x: auto; padding: 8px; border: 1px solid #e1ece6; border-radius: 9px; background: #fbfdfb; }
.workflow-diagram svg { display: block; max-width: none; font-family: inherit; }
.workflow-node-name { fill: #19302c; font-size: 12px; font-weight: 700; }
.workflow-node-type { fill: #60746d; font-size: 11px; }
details { margin-top: 15px; border-top: 1px solid #e6ede7; padding-top: 12px; }
summary { color: #087768; font-size: 13px; font-weight: 700; cursor: pointer; }
pre { padding: 14px; overflow: auto; border-radius: 8px; background: #f3f6f2; color: #344d42; font-size: 12px; line-height: 1.5; }
.empty { padding: 18px 22px; color: #64776e; background: #fff; border: 1px dashed #cbd9d1; border-radius: 10px; }
@media (max-width: 680px) { .layout { padding-top: 30px; } .lookup { display: block; } .lookup label { display: block; margin-top: 14px; } .lookup label:first-child { margin-top: 0; } .overview, .workflow-comparison { grid-template-columns: 1fr; } }
