/* SeedLens tool screen. Design B, chosen by Eugen on 16 Nov 2026
   (docs/mockups/screen/B.html). Brand: docs/brand.md. Decisions: docs/ADR-006-tool-screen.md.
   No framework, no outside request: the two font files are served from this folder. */

@font-face{font-family:"Open Sans";font-weight:400;font-style:normal;font-display:swap;src:local("Open Sans"),local("OpenSans-Regular"),url("fonts/open-sans-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Open Sans";font-weight:700;font-style:normal;font-display:swap;src:local("Open Sans Bold"),local("OpenSans-Bold"),url("fonts/open-sans-latin-700-normal.woff2") format("woff2")}

:root{--ink:#101215;--text:#50586B;--muted:#6B7180;--line:#ECEBE6;--paper:#F7F6F2;--warm:#EFEEE8;--coral:#F1574D;--accent:#D2562C;--accent-ink:#B8441F;--orange:#F39A19;--sun:#FED366;--sun-soft:#FFF4D1;--lime:#D1E990;--lime-ink:#3D560B;--teal:#80BDBE;--font:"Open Sans","Segoe UI",Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--text);font:16px/1.5 var(--font)}
.tool :focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.tool{position:relative;overflow:hidden;background:var(--paper);border-bottom:1px solid var(--line)}
.tool:before{content:"";position:absolute;right:-140px;top:-160px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(254,211,102,.55) 0 34%,rgba(243,154,25,.16) 34% 62%,rgba(241,87,77,.08) 62% 100%)}
.inner{position:relative;max-width:1040px;margin:0 auto;padding:36px 24px 30px}
.top{display:flex;align-items:center;gap:14px;margin-bottom:26px}
.top img{height:48px;width:auto;padding:6px 10px;border-radius:12px;background:#fff}
.top span{padding:5px 10px;border-radius:999px;background:var(--sun);color:var(--ink);font:700 12px/1 var(--font);letter-spacing:.08em;text-transform:uppercase}
h1{max-width:16ch;margin:0;color:var(--ink);font:700 44px/1.06 var(--font);letter-spacing:-.028em}
.bar{width:104px;height:7px;border-radius:7px;margin:20px 0 16px;background:linear-gradient(90deg,var(--coral),var(--orange))}
.lead{margin:0 0 24px;font-size:18px;color:var(--text)}
form{max-width:820px}
.lbl{display:block;margin:0 0 6px 4px;color:var(--ink);font-weight:600;font-size:14px}
.search{display:flex;gap:10px;padding:8px;border:1.5px solid #868B97;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(16,18,21,.05),0 12px 30px rgba(16,18,21,.08)}
.search.bad{border-color:var(--coral);background:#FFF6F5}
.search:focus-within{border-color:var(--accent);outline:3px solid var(--accent);outline-offset:2px}
.search input{flex:1;min-width:0;height:56px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:18px var(--font)}
.search input:focus-visible{outline:0}
.search input::placeholder{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:12px 28px;border:0;border-radius:10px;background:var(--lime);color:var(--lime-ink);font:700 17px/1.2 var(--font);letter-spacing:.05em;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover{background:#C5E079}
.btn[aria-disabled=true]{background:var(--warm);color:var(--muted);cursor:default}
.btn svg{width:20px;height:20px;flex:none}
.hint{display:none;margin:8px 4px 0;font-size:14px;font-weight:600;color:var(--accent-ink)}
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
fieldset{margin:16px 0 0;padding:0;border:0}
legend{float:left;margin:9px 12px 0 4px;padding:0;color:var(--ink);font-weight:600;font-size:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips input{position:absolute;opacity:0;pointer-events:none}
.chips span{display:block;padding:8px 14px;border:1.5px solid #868B97;border-radius:999px;background:#fff;color:var(--text);font-size:14px;cursor:pointer}
.chips input:checked+span{background:var(--sun);border-color:var(--accent-ink);color:var(--ink);font-weight:600}
.chips input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.ts{max-width:820px}
.ts:not(:empty){margin-top:14px}
.banner{display:none;max-width:820px;margin-top:22px;padding:18px 20px;border-radius:14px;background:#fff;border:1px solid var(--line);border-left:6px solid var(--teal)}
.banner .row{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.banner h2{margin:0 0 4px;color:var(--ink);font:700 20px/1.25 var(--font)}
.banner p{margin:0}
.banner.good{border-left-color:var(--sun);background:var(--sun-soft);border-color:var(--sun)}
.banner.warn{border-left-color:var(--orange)}
.banner.stop{border-left-color:var(--coral)}
.file{display:block;margin-top:4px;font-size:13px;word-break:break-all}
/* The progress of the request: one part of the bar for each step that has really happened. */
.progress{height:10px;margin-top:12px;border-radius:10px;background:var(--warm);overflow:hidden}
.progress i{display:block;height:100%;width:0;border-radius:10px;background:linear-gradient(90deg,var(--coral),var(--orange));transition:width .35s ease-out}
.progress[data-step="1"] i{width:25%}
.progress[data-step="2"] i{width:50%}
.progress[data-step="3"] i{width:75%}
.progress[data-step="4"] i{width:100%}
@media (prefers-reduced-motion:reduce){.progress i{transition:none}}
[data-state=generating] .s-generating,[data-state=download] .s-download,[data-state=limit] .s-limit,[data-state=daily] .s-daily,[data-state=check] .s-check,[data-state=error] .s-error,[data-state=noresults] .s-noresults,[data-state=notries] .s-notries{display:block}
[data-state=invalid] .hint{display:block}
.privacy{max-width:820px;margin:22px 4px 0;font-size:13px;color:var(--muted)}
/* Spec A22: after Generate the banner has the focus. It is a text, not a control: it shows no ring of its own. */
.tool .banner:focus,.tool .banner:focus-visible{outline:0}
/* Opened inside another page (spec A17): no logo and no large heading; the page has its own. */
.embedded .only-standalone{display:none}
@media (max-width:640px){
  .inner{padding:22px 16px 24px}
  .tool:before{right:-220px;top:-240px}
  h1{font-size:30px}
  .lead{font-size:16px}
  .search{flex-direction:column;padding:8px}
  .btn{width:100%}
  legend{float:none;margin:0 0 8px 2px}
  .banner .row{display:block}
  .banner .btn{margin-top:14px}
}
/* Opened inside another page (spec A21): the tool area of the page mockup Eugen picked
   (docs/mockups/page/option-B.html). The page's band shows through; the screen draws no
   background and no circle. Centered, at most 820 pixels wide. Top to bottom: the label and
   the field with Generate, the country, the state banner, the line about the free report,
   the privacy line. The 16 pixels at each side are the room the shadow and the focus rings
   need, so nothing is cut at the frame's edge (docs/ADR-006-tool-screen.md, section 11). */
html.embedded,.embedded body{background:transparent}
.embedded .tool{overflow:visible;background:transparent;border-bottom:0}
.embedded .tool:before{content:none}
.embedded .inner{display:flex;flex-direction:column;max-width:852px;padding:6px 16px 10px}
.embedded form,.embedded .ts,.embedded .banner{max-width:none}
/* Turnstile's place keeps its 14 pixels whether its widget is there yet or not, so nothing
   moves when it arrives; the banner and the line take the rest of the mockup's spacing. */
.embedded .ts{margin-top:14px}
.embedded .banner{margin:8px 0 14px}
.embedded .search{flex-flow:row wrap;box-shadow:0 1px 2px rgba(16,18,21,.05),0 8px 16px rgba(16,18,21,.08)}
.embedded .search input{flex:999 1 200px}
.embedded .search .btn{flex:1 0 auto;width:auto}
.embedded fieldset{margin-top:18px}
.embedded legend{float:none;width:100%;margin:0 0 8px;text-align:center}
.embedded .chips{justify-content:center}
.embedded .lead{order:1;margin:4px 0 0;color:var(--ink);font-weight:600;font-size:15px;text-align:center}
.embedded .privacy{order:2;max-width:none;margin:4px 0 0;color:var(--text);text-align:center}
@media (max-width:420px){
  /* The mockup shows the line on one row at 390. The screen's Bold is wider than the mockup's
     SemiBold (spec A24): at 15 pixels the line is 359 pixels wide, one more than there is. */
  .embedded .lead{font-size:14.5px}
}
@media (min-width:900px){
  /* Room for the mockup's full shadow: 30 pixels and more at each side of the 820. */
  .embedded .search{box-shadow:0 1px 2px rgba(16,18,21,.05),0 12px 30px rgba(16,18,21,.08)}
}
