:root {
    --ink: #202923;
    --muted: #68716c;
    --paper: #f4f2ec;
    --surface: #fffefa;
    --line: #e5e4dc;
    --green: #c9f1dc;
    --green-strong: #37785e;
    --orange: #ef775e;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 78% 7%, rgb(201 241 220 / 42%), transparent 28rem), var(--paper); color: var(--ink); }
a { color: #464feb; text-decoration: none; }
.suite-header { position: sticky; z-index: 2; top: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 10px clamp(18px, 5vw, 72px); border-bottom: 1px solid rgb(32 41 35 / 8%); background: rgb(250 249 244 / 92%); backdrop-filter: blur(16px); }
.suite-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.suite-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 14px; background: var(--green); color: var(--green-strong); font-size: 24px; }
.suite-brand strong, .suite-brand small { display: block; }
.suite-brand strong { font-size: 14px; letter-spacing: -.04em; }
.suite-brand small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.suite-header nav { display: flex; align-items: center; gap: 10px; }
.suite-header nav a { padding: 9px 12px; border-radius: 10px; color: #58635c; font-size: 12px; font-weight: 600; text-decoration: none; }
.suite-header nav a:hover, .suite-header nav a.current { background: #e8f3eb; color: var(--green-strong); }
.page-shell { width: min(900px, calc(100% - 36px)); margin: clamp(32px, 7vh, 72px) auto; }
.prep-card, .product-report { border: 1px solid rgb(32 41 35 / 7%); border-radius: 24px; background: var(--surface); box-shadow: 0 22px 60px rgb(32 41 35 / 8%); }
.prep-card { max-width: 730px; margin: auto; padding: clamp(24px, 6vw, 52px); }
.eyebrow { margin: 0; color: var(--green-strong); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { margin: 11px 0 12px; font-size: clamp(32px, 6vw, 48px); line-height: 1.08; }
h1 span { color: var(--green-strong); }
.lead { max-width: 590px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.product-tags { display: flex; flex-wrap: wrap; margin: 24px 0; gap: 8px; }
.product-tags span { padding: 7px 11px; border: 1px solid #e3e7df; border-radius: 999px; background: #f7f8f2; color: #59645c; font-size: 11px; font-weight: 600; }
.upload-form { display: grid; margin-top: 30px; padding: 21px; border: 1px dashed #b9cabc; border-radius: 17px; background: #f8faf6; gap: 10px; }
.upload-form label { font-size: 13px; font-weight: 700; }
.upload-form input { width: 100%; padding: 12px; border: 1px solid #dfe4dc; border-radius: 10px; background: white; color: var(--ink); }
.prep-options { display: grid; padding: 14px; border: 1px solid #e3e7df; border-radius: 12px; background: white; gap: 12px; }
.prep-options summary { color: var(--green-strong); font-size: 12px; font-weight: 700; cursor: pointer; }
.option-row { display: flex; align-items: flex-start; gap: 9px; }
.option-row input { width: auto; margin: 2px 0 0; accent-color: var(--green-strong); }
.option-row span, .option-row strong, .option-row small { display: block; }
.option-row strong { font-size: 11px; }
.option-row small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.area-input { display: grid; color: var(--muted); font-size: 10px; gap: 5px; }
.area-input input { max-width: 160px; padding: 8px; }
.form-hint, .fine-print { margin: 0; color: #858d86; font-size: 10px; line-height: 1.6; }
.upload-form button, .primary-button { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border: 0; border-radius: 11px; background: var(--ink); color: white; font: inherit; font-size: 12px; font-weight: 700; gap: 15px; text-decoration: none; cursor: pointer; }
.upload-form button:hover, .primary-button:hover { background: var(--green-strong); }
.upload-form button span, .primary-button span { color: var(--green); font-size: 16px; }
.fine-print { margin-top: 18px; }
.error-message { margin-top: 18px; padding: 12px 14px; border: 1px solid #efc8bc; border-radius: 11px; background: #fff2ed; color: #8d3f30; font-size: 12px; }

.report-heading { max-width: 640px; margin-bottom: 25px; }
.overall-status, .product-status { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; font-size: 10px; }
.prep-summary { margin-top: 16px; padding: 14px 16px; border: 1px solid #e6e6e6; border-radius: 12px; background: #f5f5f5; }
.prep-summary h2 { margin: 0 0 8px; font-size: 12px; }
.prep-summary ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; gap: 7px; }
.prep-summary li { padding: 5px 8px; border: 1px solid #e6e6e6; border-radius: 999px; background: white; color: #59645c; font-size: 10px; }
.report-heading > .form-hint { margin-top: 10px; }
.is-ready { background: #e6f4e9; color: #327350; }
.needs-attention { background: #fff1e9; color: #a65137; }
.product-reports { display: grid; gap: 14px; }
.batch-reports { display: grid; gap: 14px; }
.batch-product-list { display: grid; margin-top: 14px; }
.batch-product { display: grid; padding: 9px 0; border-top: 1px solid #e6e6e6; color: #68716c; font-size: 10px; gap: 5px; grid-template-columns: 0.8fr 1.5fr 1fr; }
.batch-product strong { color: var(--ink); }
.batch-product small { grid-column: 1 / -1; line-height: 1.5; }
.is-ready-text { color: #327350; }
.needs-attention-text { color: #a65137; }
.product-report { padding: clamp(18px, 3vw, 25px); box-shadow: 0 10px 30px rgb(32 41 35 / 4%); }
.product-heading { display: flex; align-items: center; gap: 12px; }
.product-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: var(--green); color: var(--green-strong); font-size: 18px; }
.product-heading h2 { margin: 3px 0 0; font-size: 19px; }
.product-heading .product-status { margin-left: auto; }
.metrics { display: grid; margin: 20px 0 0; padding: 15px 0; border-block: 1px solid #efeee8; gap: 13px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics dt { color: #89908a; font-size: 9px; }
.metrics dd { margin: 4px 0 0; font-size: 11px; font-weight: 600; }
tr th, tr td { border: 1px solid #e6e6e6; }
tr th { background-color: #f5f5f5; }
.report-notes { display: grid; padding-top: 16px; gap: 14px; grid-template-columns: 1fr 1fr; }
.report-notes h3 { margin: 0 0 7px; font-size: 11px; }
.report-notes ul { margin: 0; padding-left: 16px; color: #677169; font-size: 10px; line-height: 1.7; }
.all-clear { margin: 14px 0 0; color: var(--green-strong); font-size: 11px; }
.report-actions { display: flex; align-items: center; margin-top: 20px; gap: 10px; }
.secondary-button { padding: 12px; color: #59645c; font-size: 11px; font-weight: 600; text-decoration: none; }
.secondary-button:hover { color: var(--green-strong); }
.suite-footer { display: flex; max-width: 900px; justify-content: space-between; margin: 0 auto; padding: 0 18px 28px; color: #89908a; font-size: 10px; }
.suite-footer a { color: var(--green-strong); text-decoration: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (max-width: 600px) {
    .suite-header { min-height: 62px; padding: 8px 12px; }
    .suite-mark { width: 34px; height: 34px; border-radius: 11px; }
    .suite-brand small { display: none; }
    .suite-header nav { gap: 2px; }
    .suite-header nav a { padding: 8px; font-size: 10px; }
    .page-shell { width: calc(100% - 24px); margin: 28px auto; }
    .prep-card { padding: 24px 18px; border-radius: 19px; }
    .metrics { gap: 14px 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .batch-product { grid-template-columns: 1fr 1fr; }
    .batch-product span:nth-of-type(2) { grid-column: 1 / -1; }
    .report-notes { grid-template-columns: 1fr; }
    .report-actions { align-items: stretch; flex-direction: column; }
    .primary-button { width: 100%; }
    .secondary-button { text-align: center; }
}
