.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,480px);gap:56px;align-items:center}
.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-trust p{margin:0}
.hero-flow{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);padding:30px}
.flow-kicker{margin-bottom:8px;color:var(--muted);font-size:.875rem;font-weight:700}
.hero-flow h2{margin-bottom:22px;font-size:1.65rem}
.hero-flow ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.hero-flow li{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.flow-number{display:grid;place-items:center;width:38px;height:38px;background:var(--yamabuki);color:var(--ink);font-size:.8rem;font-weight:800}
.hero-flow strong{font-size:1rem}
.hero-flow li p{margin:3px 0 0;color:var(--muted);font-size:.875rem;line-height:1.55}
.flow-note{margin:3px 0 0;color:var(--muted);font-size:.875rem;line-height:1.55;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.tool-steps li.is-active{border-color:var(--yamabuki);color:var(--ink);font-weight:800}
/* Four flat grid items (drop-zone, direct-input-fields, upload-hints,
   input-actions) auto-place into a 2x2 grid: row 1 is the drop-zone box
   next to the direct-input box, row 2 is their secondary text/actions.
   CSS Grid stretches every item in a row to that row's height by
   default, so drop-zone and direct-input-fields -- which have nothing
   else above them in their own column -- end up exactly the same height,
   bottoms included, regardless of which one's natural content is taller. */
.tool-inputs{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px}
.drop-zone small{color:var(--muted)}
.direct-input-fields{display:flex;flex-direction:column}
.direct-input-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px;font-weight:800}
.input-counter{color:var(--color-muted,var(--muted));font-size:var(--font-size-small);font-variant-numeric:tabular-nums;white-space:nowrap}
.input-counter.is-over-limit{color:var(--color-error);font-weight:700}
.direct-input-fields template{display:none}
.direct-input-rows{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;flex:1}
.direct-input-row{display:flex;align-items:flex-end;gap:8px}
.direct-input-row-fields{display:flex;gap:8px;flex:1;min-width:0}
.direct-input-field{display:flex;flex-direction:column;gap:3px;font-size:var(--font-size-small);font-weight:600;color:var(--color-muted,var(--muted))}
.direct-input-field-address{flex:1;min-width:0}
.direct-input-field:not(.direct-input-field-address){flex:0 0 9em}
.direct-input-field input{font:inherit;font-weight:400;color:inherit;color:var(--ink,inherit);padding:9px 10px;border:1px solid #aebaba;border-radius:var(--radius);width:100%}
.direct-input-remove-row{flex:0 0 auto;width:32px;height:32px;padding:0;border:1px solid var(--color-border,#aebaba);border-radius:50%;background:var(--color-surface-soft,#fff);color:var(--color-muted,var(--muted));font-size:1rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.direct-input-remove-row:hover{color:var(--color-error);border-color:var(--color-error)}
.direct-input-add-row{align-self:flex-start;margin-top:8px}
.direct-input-bulk-hint{margin:8px 0 0;color:var(--color-muted,var(--muted));font-size:var(--font-size-small)}
.upload-hints{display:flex;flex-direction:column;justify-content:flex-end;gap:4px}
.input-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px}
.tool-message{margin:18px 0 0;color:var(--muted);font-size:.9rem}
.progress-label{display:flex;justify-content:space-between;font-size:.9rem;font-weight:700}
.progress-track{height:10px;margin-top:8px;overflow:hidden;border-radius:99px;background:var(--mist)}
.progress-track span{display:block;width:0;height:100%;background:var(--yamabuki);transition:width .22s ease}
.results-area{margin-top:24px}
.result-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.result-summary div{padding:13px;background:var(--mist);border-radius:4px}
.result-summary strong{display:block;font-size:1.25rem}
.result-summary span{display:block;font-size:.75rem;color:var(--muted)}
.result-filter-row{margin:22px 0 12px}
.result-filter-row label{font-size:.9rem;font-weight:700}
.result-filter-row select{padding:7px;border:1px solid #aebaba;border-radius:4px;background:#fff}
.result-toolbar{display:flex;justify-content:flex-start;gap:12px;align-items:center;margin:14px 0 0}
/* Fixed-height, independently-scrolling result table -- a 500-row result
   must never stretch the whole page; only this container scrolls. The
   sticky header needs the SAME scroll container the rows sit in (not a
   separate one), so header pinning and horizontal overflow both work
   together as the user scrolls in either direction. */
.result-list-container{max-height:560px;overflow:auto;border:1px solid var(--line);border-radius:var(--radius)}
.result-table{width:100%;min-width:920px;border-collapse:collapse;font-size:.85rem}
.result-table thead th{position:sticky;top:0;z-index:2;background:var(--paper,#fff);text-align:left;padding:10px 12px;border-bottom:2px solid var(--line);font-size:.72rem;color:var(--muted);font-weight:700;white-space:nowrap}
.result-table tbody td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.result-table tbody tr:last-child td{border-bottom:0}
.result-table tbody tr.is-review-row td{background:#FFF6DA}
.diagnostic-text{display:inline}
.diagnostic-text--normal{color:inherit}
.diagnostic-text--problem{color:#C00000;font-weight:700}
.diagnostic-text--candidate{color:#1F4E79;font-weight:700}
.how-it-works{margin-top:56px;padding:28px;border-left:4px solid var(--yamabuki);background:var(--mist)}
.how-it-works ol{display:flex;flex-direction:column;gap:22px;margin:0;padding:0;list-style:none;counter-reset:how-it-works-step}
.how-it-works li{display:grid;grid-template-columns:40px 1fr;gap:16px;align-items:start}
.how-it-works li::before{counter-increment:how-it-works-step;content:counter(how-it-works-step);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--yamabuki);color:var(--ink);font-weight:800;font-size:1.05rem}
.how-it-works li strong{display:block;margin-bottom:6px;font-size:1.05rem}
.how-it-works li p{margin:0;color:var(--color-muted,var(--muted));font-size:var(--font-size-small);line-height:1.6}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.feature-grid span{color:var(--yamabuki-deep);font-weight:800}
.use-case-list{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:0;padding:0;list-style:none}
.use-case-list li{display:grid;place-items:center;padding:16px 12px;border:1px solid var(--line);border-radius:4px;font-weight:700;text-align:center}
.faq-list details{border-bottom:1px solid var(--line);padding:17px 0}
.faq-list summary{cursor:pointer;font-weight:800}
.faq-list p{margin:12px 0 0;color:var(--muted)}
.final-cta .shell{display:flex;justify-content:space-between;align-items:center;gap:28px}
.final-cta h2{margin-bottom:6px}
.final-cta p:last-child{margin-bottom:0;color:var(--muted)}
.tool-page{padding-block:50px 80px}
.tool-page .tool-section{padding:24px 0}
.tool-page-heading{max-width:700px}
.hero-copy{max-width:840px;margin-inline:auto}
.hero h1{margin-bottom:var(--space-4);font-size:clamp(2.25rem,5vw,3.5rem)}
.hero h1 span{display:inline;white-space:normal}
.lead{font-size:1.125rem;color:var(--muted);max-width:760px;margin-inline:auto}
.eyebrow-icon{display:inline-flex;align-items:center;gap:var(--space-2);margin-bottom:var(--space-3)}
.hero-trust{margin-top:22px;color:var(--color-muted);font-size:var(--font-size-small);margin:0;padding-top:var(--space-4);border-top:1px solid var(--color-border)}
.hero-trust ul{display:flex;gap:var(--space-6);flex-wrap:wrap;margin:0;padding:0;list-style:none;font-weight:700;color:var(--color-ink);justify-content:center}
.hero-trust li{display:flex;align-items:center;gap:var(--space-2)}
.hero-trust li:before{content:"";width:8px;height:8px;background:var(--yamabuki);border-radius:50%;display:none}
.tool-shell{border:1px solid var(--line);border-radius:var(--radius-large);background:#fff;box-shadow:var(--shadow-small);padding:26px}
.status-icon{width:14px;height:14px;stroke-width:2.4}
.final-cta{padding:62px 0;background:var(--color-surface-soft)}
.hero{padding:72px 0;background:var(--color-surface-soft)}
.hero-restored{align-items:start}
.hero-restored h1 span{display:block;white-space:nowrap}
.hero-restored .lead{margin:0}
.hero-restored .hero-side{min-width:0}
.hero-restored .hero-trust{margin-top:var(--space-8)}
.hero-restored .hero-trust ul{justify-content:flex-start;gap:var(--space-4);flex-wrap:wrap}
.drop-zone.is-dragover{border-color:var(--color-brand-hover);background:#fff7cc}
.feature-grid h3{margin-bottom:var(--space-1);font-size:1.3rem;line-height:1.35}
.feature-grid p{margin-bottom:0;color:var(--muted);font-size:1rem;max-width:230px;margin-inline:auto}
.hero-restored .hero-copy{max-width:560px;margin:var(--space-8) 0 0;text-align:left;margin-top:var(--space-4)}
.audience-line{margin:var(--space-4) 0;color:var(--color-muted);font-weight:700}
.hero-source-note{margin:0 0 var(--space-5);color:var(--color-muted);font-size:var(--font-size-small);font-weight:400}
.hero-primary-cta{min-height:52px;padding-inline:var(--space-6)}
.hero-result-preview{margin:0;padding:var(--space-8);border:1px solid var(--color-border);border-top:5px solid var(--color-black);border-radius:var(--radius-large);background:var(--color-surface);box-shadow:var(--shadow-small)}
.hero-result-preview h2{margin-bottom:var(--space-6);font-size:1.55rem}
.hero-result-preview dl{margin:0;border-top:1px solid var(--color-border)}
.hero-result-preview dl>div{display:grid;grid-template-columns:100px 1fr;gap:var(--space-4);padding:var(--space-4) 0;border-bottom:1px solid var(--color-border)}
.hero-result-preview dt{color:var(--color-muted);font-size:var(--font-size-small);font-weight:700}
.hero-result-preview dd{margin:0;font-weight:700}
.hero-result-preview>p{margin:var(--space-5) 0 0;color:var(--color-muted);font-size:var(--font-size-small)}
.status-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border:1px solid currentColor;border-radius:var(--radius-small);font-size:var(--font-size-small);line-height:1}
.trust-strip{padding:var(--space-8) 0 var(--space-6);border-block:1px solid var(--color-border);background:var(--color-surface-soft)}
.trust-strip-stack{display:flex;flex-direction:column;gap:0}
.trust-strip p{margin:0;color:var(--color-muted);font-size:var(--font-size-small)}
.trust-strip .trust-strip-lead{margin-top:12px;font-size:.8rem;line-height:1.6;color:var(--color-ink)}
.trust-strip-note{margin-top:var(--space-2)!important;font-size:.8rem!important;opacity:.85}
.trust-strip h2{font-size:clamp(1.36rem,2.4vw,2rem)}
.trust-source-block{margin-top:19px;padding:19px;border:1px solid var(--color-border);border-left:4px solid var(--color-brand);border-radius:var(--radius-medium);background:var(--color-surface)}
.trust-source-head{text-align:left;margin-bottom:16px;padding-left:20px}
.trust-strip .trust-source-statement{margin:0;font-size:1.26rem;font-weight:800;line-height:1.4;color:var(--color-ink)}
.trust-strip p.trust-source-lead{margin:5px 0 0;font-size:.7rem;line-height:1.6;color:var(--color-muted)}
.trust-source-divider{height:1px;margin:0;border:none;background:var(--color-border)}
.trust-source-list{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.trust-source-list--triple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 0}
.trust-source-item{display:flex;flex-direction:row;align-items:center;text-align:left;gap:10px;padding:0 20px;min-width:0}
.trust-source-item:first-child{margin-left:100px}
.trust-source-item:not(:first-child){border-left:1px solid var(--color-border)}
.trust-source-icon-wrap{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:rgba(253,208,0,.16)}
.trust-source-icon-wrap .hontoko-icon{width:18px;height:18px;color:var(--color-ink)}
.trust-strip .trust-source-name{margin:0;font-weight:700;font-size:.95rem;color:var(--color-ink);white-space:nowrap}
.trust-strip .trust-source-desc{margin:2px 0 0;color:var(--color-muted);font-size:.7rem;line-height:1.4;white-space:nowrap}
.trust-source-footer{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding-left:20px}
.trust-strip .trust-source-usage{margin:0;font-size:.7rem}
.trust-source-link{font-weight:700;color:var(--color-warning);text-decoration:underline;text-underline-offset:2px}
.trust-source-link:hover,.trust-source-link:focus-visible{color:var(--color-ink)}
.trust-strip .trust-source-disclaimer{margin:0;font-size:.625rem;color:var(--color-muted);opacity:.85}
.trust-strip-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:26px 0 0;padding:0;list-style:none}
.trust-strip-features li{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 var(--space-4);font-size:.7rem;font-weight:700;line-height:1.4;text-align:left}
.trust-strip-features li:not(:first-child){border-left:1px solid var(--color-border)}
@media(max-width:900px){.trust-source-head{padding-left:0}.trust-source-list--triple{display:flex;flex-direction:column;padding:var(--space-4) 0;gap:var(--space-3)}.trust-source-item{padding:0;border-left:none!important}.trust-source-item:first-child{margin-left:0}.trust-strip .trust-source-name,.trust-strip .trust-source-desc{white-space:normal}.trust-source-footer{padding-left:0}
.trust-strip-features{display:flex;flex-direction:column;align-items:flex-start;width:fit-content;margin-inline:auto;gap:var(--space-3)}.trust-strip-features li{padding:0;justify-content:flex-start;text-align:left}.trust-strip-features li:not(:first-child){border-left:none}}
.tool-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 24px;padding:0;list-style:none;counter-reset:step}
.tool-steps li{padding:var(--space-3);border-bottom:3px solid var(--line);font-size:var(--font-size-small);color:var(--muted);text-align:center}
.drop-zone{position:relative;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;border:2px dashed #aab8b8;border-radius:var(--radius);background:var(--color-surface-soft);transition:border .16s ease,background .16s ease;border-color:var(--color-border);gap:var(--space-2)}
.drop-zone-idle{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);width:100%;cursor:pointer}
.drop-zone-idle:focus-within,.selected-file-actions label:focus-within{outline:2px solid var(--color-brand-hover,var(--yamabuki-deep,var(--color-brand)));outline-offset:3px;border-radius:4px}
.drop-action{margin-top:var(--space-2);pointer-events:none}
.drop-zone-selected{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;min-width:0}
/* [hidden] has the same specificity as a class selector, so an author
   stylesheet's .drop-zone-idle/.drop-zone-selected/.selected-file-actions
   {display:...} rule (or .button{display:inline-flex} for any element
   using that class) silently wins over the UA [hidden]{display:none}
   rule and the element never actually hides no matter what JS sets
   .hidden to. Bumping specificity here (class+attribute) is what makes
   hidden win again. */
.drop-zone-idle[hidden],.drop-zone-selected[hidden],.selected-file-actions[hidden],.clear-all-button[hidden],.progress-pause-button[hidden],.progress-resume-button[hidden]{display:none}
.drop-zone-selected .hontoko-icon{color:var(--color-brand-hover,var(--yamabuki-deep,var(--color-brand)))}
.selected-file-name{margin:6px 0 0;max-width:100%;font-weight:800;color:var(--color-ink,var(--ink));word-break:break-all;overflow-wrap:anywhere}
.selected-file-meta{margin:2px 0 0;color:var(--color-muted,var(--muted));font-size:var(--font-size-small)}
.selected-file-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:var(--space-4)}
.button-clear{background:transparent;border:0;padding:6px 4px;color:var(--color-muted,var(--muted));font-size:var(--font-size-small);font-weight:700;text-decoration:underline;cursor:pointer}
.button-clear:hover{color:var(--color-ink,var(--ink))}
.upload-hint{margin:10px 0 0;color:var(--color-muted,var(--muted));font-size:var(--font-size-small)}
.result-preview-note{margin:0 0 14px;color:var(--color-muted,var(--muted));font-size:var(--font-size-small)}
.upload-hint code{padding:1px 5px;border-radius:3px;background:var(--mist,var(--color-surface-soft));font-size:.85em}
.upload-hint a{color:var(--color-ink,var(--ink));font-weight:700}
/* Format explanation and the CSV template download separated into their
   own block so the download action reads as a real, visible CTA rather
   than a small text link buried at the end of a sentence. */
.upload-format-info{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3) var(--space-5);padding:14px 16px;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--paper,#fff)}
.upload-format-heading{margin:0;font-weight:700;font-size:var(--font-size-small)}
.upload-format-detail{margin:4px 0 0;color:var(--color-muted,var(--muted));font-size:var(--font-size-small);line-height:1.6}
.upload-format-detail code{padding:1px 5px;border-radius:3px;background:var(--mist,var(--color-surface-soft));font-size:.85em}
.upload-format-info>div:first-child{flex:1;min-width:200px}
.template-download-button{gap:8px;white-space:nowrap}
.template-download-button:hover{background:#FFF6D6;border-color:var(--color-brand,var(--yamabuki))}
.template-download-button:focus-visible{outline:2px solid var(--color-brand-hover,var(--yamabuki-deep,var(--color-brand)));outline-offset:3px}
.tool-message[data-state="error"]{color:var(--color-error);font-weight:700}
.tool-message[data-state="complete"]{color:var(--color-ink,var(--ink));font-weight:700}
.progress-area{margin-top:24px;padding:var(--space-5);border-left:4px solid var(--color-brand);background:var(--color-surface-soft)}
.progress-area p{margin:0;font-weight:700}
.progress-detail{margin-top:6px !important;font-weight:400 !important;color:var(--color-muted,var(--muted));font-size:var(--font-size-small)}
.progress-elapsed{margin-top:6px !important;font-weight:400 !important;color:var(--color-muted,var(--muted));font-size:var(--font-size-small);font-variant-numeric:tabular-nums}
.progress-bar-track{margin-top:14px;height:6px;overflow:hidden;border-radius:99px;background:var(--mist,#e8e8e0)}
.progress-bar-fill{display:block;width:35%;height:100%;border-radius:99px;background:var(--yamabuki,var(--color-brand));animation:hontoko-indeterminate 1.3s ease-in-out infinite;animation-play-state:paused}
.progress-area[data-busy="true"] .progress-bar-fill{animation-play-state:running}
@keyframes hontoko-indeterminate{0%{transform:translateX(-100%)}100%{transform:translateX(285%)}}
.progress-watch-note{margin-top:12px !important;font-weight:400 !important;color:var(--color-muted,var(--muted));font-size:var(--font-size-small)}
.progress-pause-button,.progress-resume-button{margin-top:10px}
.results-heading{margin-bottom:var(--space-5)}
.results-heading h3{margin-bottom:var(--space-1);font-size:1.4rem}
.results-heading p{margin:0;color:var(--color-muted)}
.feature-grid article{padding:var(--space-6);background:transparent;border:0;border-radius:0;text-align:center;box-shadow:none}
.hontoko-icon{flex:0 0 auto;width:var(--icon-size-sm);height:var(--icon-size-sm);color:var(--color-brand);stroke-width:1.57}
.hontoko-icon--md{width:var(--icon-size-md);height:var(--icon-size-md);stroke-width:.95}
.hontoko-icon--lg{width:var(--icon-size-lg);height:var(--icon-size-lg);stroke-width:.82}
.feature-grid article>.hontoko-icon{display:block;margin:0 auto var(--space-4)}
.hontoko-illustration{display:block;width:var(--illus-size);height:var(--illus-size);margin:0 auto var(--space-4);color:var(--color-ink);stroke-width:1.45}
.section-heading-icon>.hontoko-icon{margin-top:calc((clamp(1.7rem,3vw,2.5rem) * 1.3 - var(--icon-size-md)) / 2)}
.drop-icon{width:52px;height:52px;stroke-width:.92}
.faq-list summary::marker{color:var(--color-brand)}
.result-table .status{display:inline-flex;align-items:center;width:max-content}
.result-table .review-flag{color:var(--status-review-ink);background:var(--status-review-tint);border-color:var(--status-review-edge);font-weight:700}
.status{display:inline-flex;width:max-content;padding:4px 10px;border-radius:var(--radius-small);font-size:.75rem;font-weight:800;align-items:center;gap:var(--space-1);border:1px solid transparent}
.status-ok{background:var(--status-ok-tint);color:var(--status-ok-ink);border-color:var(--status-ok-edge)}
.status-fix{background:var(--status-fix-tint);color:var(--status-fix-ink);border-color:var(--status-fix-edge)}
.status-review{background:var(--status-review-tint);color:var(--status-review-ink);border-color:var(--status-review-edge)}
.status-unknown{background:var(--status-unknown-tint);color:var(--status-unknown-ink);border-color:var(--status-unknown-edge)}
.heading-line{display:block}
.heading-line--hang{margin-left:-.64em}
.brand-logo--footer{width:225px}
:where(#address-check,#features,#use-cases,#hontoko-guides,#faq,#how-it-works,#main-content){scroll-margin-top:104px}
