

:root {
  --ink: #11181f; --ink2: #3d4855; --mut: #6b7683;
  --line: #e4e2dd; --line2: #efede8; --paper: #faf9f7; --blue: #2563eb;
  --good: #14857a; --warn: #d99414; --bad: #b8412a;
  --good-bg: #e7f4f2; --warn-bg: #fdf4e3; --bad-bg: #fbeee9;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Inter, -apple-system, sans-serif; color: var(--ink);
  background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 0 28px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #1b4fd0; text-decoration: underline; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; letter-spacing: -0.02em; }
.hidden { display: none !important; }

.top {
  position: sticky; top: 0; z-index: 1100;
  background: rgba(250, 249, 247, .82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 31, .07);
}
.top .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { flex-shrink: 0; }
.crumb a.here { color: var(--mut); text-decoration: none; }
.crumb a.here:hover { color: var(--ink2); text-decoration: underline; }
.crumb { margin-left: auto; font-size: 0.82rem; color: var(--mut); display: flex; gap: 7px; }

.hero { padding: 44px 0 24px; text-align: center; }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--mut); margin-bottom: 12px;
}

.eyebrow a.press { color: var(--blue); white-space: nowrap; }
.eyebrow a.press::before { content: "\00b7  "; color: var(--mut); }
@media (max-width: 480px) { .eyebrow a.press { display: block; margin-top: 3px; } .eyebrow a.press::before { content: none; } }
.eyebrow a.press:hover { color: #1b4fd0; text-decoration: none; }
.eyebrow a.press .wm { text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; font-size: 0.8rem; }
.eyebrow a.press .wm b { font-weight: 800; }
.hero h1 { font-size: 2.2rem; line-height: 1.1; font-weight: 600; }
.h1-sub { font-size: 1.35rem; font-weight: 500; color: var(--mut); white-space: nowrap; }
.has-result .lede, html.has-result .lede { display: none; }
.lede { margin: 22px auto 0; max-width: 52ch; color: var(--ink2); font-size: 0.98rem; }

.searchbar { position: relative; max-width: 620px; margin: 22px auto 0; }
#toolInput {
  width: 100%; padding: 16px 52px 16px 50px; font-size: 1.08rem; font-family: inherit;
  border: 1.5px solid #cfd4d9; border-radius: 14px; outline: none;
  box-shadow: 0 1px 2px rgba(17,24,31,.05), 0 10px 28px -18px rgba(17,24,31,.2);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%236b7683' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4.3-4.3'/></svg>") 17px center no-repeat;
}
#toolInput:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.13); }
.clr {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: none; background: none; color: var(--mut); cursor: pointer;
  padding: 8px; border-radius: 8px; display: flex;
}
.clr:hover { background: #f1f3f5; color: var(--ink); }
.clr svg { width: 16px; height: 16px; flex-shrink: 0; }
.hint { text-align: center; font-size: 0.8rem; color: var(--mut); margin-top: 10px; }


.pac-container {
  font-family: Inter, sans-serif; border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px -14px rgba(17,24,31,.28);
  background: #fff;
}
.pac-item { padding: 8px 14px; font-size: 0.9rem; border-top: 1px solid var(--line2); cursor: pointer; }
.pac-item:hover, .pac-item-selected { background: #f4f6f8; }
.pac-item-query { font-size: 0.92rem; color: var(--ink); }
.pac-icon { display: none; }


.result { margin: 6px 0 0; position: relative; }

html.has-result .result, body.has-result .result { min-height: 900px; }
@media (max-width: 640px) { html.has-result .result, body.has-result .result { min-height: 1100px; } }
html.has-result .result:has(.sheet[hidden])::before, body.has-result .result:has(.sheet[hidden])::before {
  content: ''; display: block; height: 620px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(90deg, #f4f3ef 25%, #faf9f6 50%, #f4f3ef 75%); background-size: 200% 100%; animation: svShimmer 1.2s linear infinite;
}
.result.resolved { min-height: 0 !important; }
.statusrow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.statusrow:has(.is-wait) { justify-content: center; }
.statusrow:has(.is-wait) .linkbtn { display: none; }
.statusrow[hidden] { display: none; }
.tool-status { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--ink2); }
.tool-status b { font-family: Sora, sans-serif; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.tool-status svg { width: 20px; height: 20px; max-width: 20px; flex-shrink: 0; stroke: var(--good); }
@keyframes ppSpin{to{transform:rotate(360deg)}}
@keyframes ppRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sheet,.tool-status,.viscard{animation:none!important}.tool-status.is-wait:before{animation:none!important}}
.tool-status.is-wait { color: var(--mut); }
.tool-status.is-wait:before{content:"";width:15px;height:15px;border:2.5px solid #d4d9de;border-top-color:var(--blue);border-radius:50%;flex-shrink:0;animation:ppSpin .7s linear infinite}
.sheet:not([hidden]){animation:ppRise .42s cubic-bezier(.22,.9,.32,1) both}
.tool-status{animation:ppRise .3s ease-out both}
.tool-status.is-wait svg { stroke: var(--mut); }
.tool-status.is-err { color: var(--bad); }
.tool-status.is-err svg { stroke: var(--bad); }
.linkbtn {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px;
  display: flex; cursor: pointer; color: var(--mut); flex-shrink: 0;
}
.linkbtn:hover { color: var(--blue); border-color: var(--blue); }
.linkbtn svg { width: 15px; height: 15px; max-width: 15px; flex-shrink: 0; }
.linkbtn .tool-share-ok { display: none; }
.linkbtn[hidden] { display: none; }
.linkbtn.did { color: var(--good); border-color: var(--good-bg); background: var(--good-bg); }
.linkbtn.did .tool-share-copy { display: none; }
.linkbtn.did .tool-share-ok { display: block; }


.bl-lead {
  display: flex; width: 100%; align-items: center; gap: 28px;
  background: #f7f9fd; border: none; border-bottom: 1px solid #e6e8ec;
  padding: 14px 20px; margin-top: -4px; font: inherit; text-align: left; cursor: pointer;
}
.bl-lead .cell { display: flex; flex-direction: column; }
.bl-lead .lbl { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); }
.bl-lead .num { font-family: Sora, Inter, sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.bl-lead .num.long { font-size: 1.15rem; word-break: break-all; }
.bl-lead .src { margin-left: auto; font-size: 0.78rem; color: var(--mut); text-align: right; max-width: 24ch; display: inline-flex; align-items: center; gap: 7px; }
.bl-lead:hover { background: #eef3fd; }
.bl-lead:hover .src svg { color: var(--blue); }
.bl-lead.did { background: var(--good-bg); }
.bl-lead.did .num { color: var(--good); }
@media (max-width: 620px) { .bl-lead { gap: 20px; } .bl-lead .src { max-width: 16ch; } }


.split { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 18px; align-items: start; }
.sheet {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 1px 2px rgba(17,24,31,.04); padding: 4px 0 8px;
}
.sheet[hidden] { display: none; }
.tool-sec {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mut); padding: 14px 20px 2px; font-family: Inter, sans-serif;
}
.tool-sec ~ .tool-sec { border-top: 1px solid var(--line2); margin-top: 8px; }
.tool-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 7px 20px; font-size: 0.92rem; position: relative;
}
.tool-row:hover { background: #f8f8f6; }
.tool-k { color: var(--mut); min-width: 150px; flex-shrink: 0; font-size: 0.85rem; }
.tool-v { font-weight: 500; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.tool-mailing-city { font-size: 1rem; font-weight: 500; }
.tool-mailing-city.differs { font-size: 1rem; font-weight: 500; }
.tool-v small { display: block; color: var(--mut); font-weight: 400; font-size: 0.8rem; }
.tool-code { color: var(--mut); font-weight: 500; font-variant-numeric: tabular-nums; }
.tool-copy {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  border: none; background: none; color: #b8bfc7; cursor: pointer;
  padding: 4px 8px; border-radius: 6px; font: inherit; font-size: 0.75rem;
  font-weight: 600; opacity: 0;
}
.tool-row:hover .tool-copy { opacity: 1; }
.tool-copy:hover { color: var(--blue); background: #eef3fd; }
.tool-copy.did { color: var(--good); background: var(--good-bg); opacity: 1; }
.tool-radon {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  border-radius: 999px; padding: 1px 10px;
}
.tool-radon.z1 { color: #8f2f1c; background: var(--bad-bg); }
.tool-radon.z2 { color: #8a5c04; background: var(--warn-bg); }
.tool-radon.z3 { color: #0c6259; background: var(--good-bg); }


.vis { display: grid; gap: 14px; }
.vis[hidden] { display: none; }
.vis:not([hidden]) .viscard { animation: ppRise .42s cubic-bezier(.22,.9,.32,1) both; }
.vis:not([hidden]) .viscard:nth-child(2) { animation-delay: .1s; }
.searchbar { scroll-margin-top: 76px; }
.sheet.stale, .vis.stale, .actions.stale, .next.stale { opacity: 0.4; pointer-events: none; transition: opacity .2s; }
.sheet.stale { animation: none; } .vis.stale .viscard { animation: none; }
.viscard {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #e8e6e1; display: block;
}
.tool-sv { min-height: 170px; }
.tool-sv.sv-loading { pointer-events: none; }
.tool-sv.sv-loading::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #e8e6e1 25%, #f1efea 50%, #e8e6e1 75%); background-size: 200% 100%; animation: svShimmer 1.2s linear infinite; }
@keyframes svShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.tool-sv[hidden] { display: none !important; }
.tool-sv img { display: none; width: 100%; height: 170px; object-fit: cover; }
.tool-sv img.on { display: block; }
.tool-map-wrap { height: 190px; }
.tool-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.vlabel {
  position: absolute; left: 10px; bottom: 10px; z-index: 500;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--ink2); border-radius: 6px; padding: 3px 9px;
}



.actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  position: sticky; bottom: 0; z-index: 40;
  margin-top: 18px;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom));
  background: rgba(250, 249, 247, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line2);
}
.actions[hidden] { display: none; }
.btn {
  font: inherit; font-size: 0.9rem; font-weight: 600; border-radius: 10px;
  padding: 10px 18px; cursor: pointer; border: 1px solid var(--line);
  background: #fff; color: var(--ink2); display: inline-block;
}
.btn:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: #1b4fd0; color: #fff; }

.btn.ico { display: inline-flex; align-items: center; justify-content: center; padding: 10px 13px; }
.btn.ico svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn.ico .ok { display: none; }
.btn.ico.did { color: var(--good); border-color: var(--good-bg); background: var(--good-bg); }
.btn.ico.did .cp { display: none; }
.btn.ico.did .ok { display: block; }

@media (max-width: 400px) {
  .actions { gap: 8px; }
  .actions .btn { padding-left: 13px; padding-right: 13px; }
  .actions .btn.ico { padding-left: 12px; padding-right: 12px; }
}


.next { margin: 34px auto 0; }
.next[hidden] { display: none; }
.next .eyebrow { text-align: left; margin-bottom: 6px; }
.next h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.next .sub { font-size: 0.92rem; color: var(--ink2); margin-bottom: 16px; }
.next .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ncard {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 1px 2px rgba(17,24,31,.04); color: var(--ink);
}
.ncard:hover { border-color: var(--blue); color: var(--ink); text-decoration: none; }
.ncard:hover .go { color: var(--blue); }
.ncard .ic {
  width: 36px; height: 36px; border-radius: 10px; background: #eef3fd; color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ncard .ic svg { width: 18px; height: 18px; }
.ncard .tx { min-width: 0; }
.ncard .t { display: block; font-family: Sora, Inter, sans-serif; font-weight: 600; font-size: 0.98rem; line-height: 1.25; margin-bottom: 3px; }
.ncard .d { display: block; font-size: 0.86rem; color: var(--ink2); line-height: 1.45; }
.ncard .go { margin-left: auto; align-self: center; color: #b8bfc7; flex-shrink: 0; }
.ncard .go svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .next .grid { grid-template-columns: 1fr; } }

.qsintro { margin-top: 40px; text-align: center; }
.qsintro p.qlead { font-size: 0.95rem; color: var(--ink2); margin-bottom: 14px; }
.qs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto; }
.qs span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; color: var(--ink2); }
.qs span b { color: var(--ink); font-weight: 600; }

.seo-doc { max-width: 720px; margin: 44px auto 0; }
.seo-doc h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.seo-doc p { font-size: 0.94rem; color: var(--ink2); margin-bottom: 12px; }
.seo-doc b { color: var(--ink); }

.fine {
  font-size: 0.8rem; color: var(--mut); margin: 30px 0 50px;
  padding-top: 16px; border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .tool-k { min-width: 120px; }
}


@media (hover: none) {
  .tool-row .tool-copy { display: none; }
  .tool-row { cursor: pointer; }
  .tool-row.rowdid { background: #e7f4f2; transition: background 0.15s; }
  .tool-row.rowdid .tool-k { color: #14857a; }
}



.tool-page { padding: 28px 0 64px; }
.tool-inner { max-width: 1040px; margin: 0 auto; }
.tool-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.tool-inner h1 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; line-height: 1.2; }
.tool-lede { color: var(--mut); font-size: 0.95rem; margin: 0 0 22px; line-height: 1.55; }
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(17,24,31,.04);
}
.tool-card:hover { border-color: #c9ccd1; }
.logo svg { width: 26px; height: 26px; max-width: 26px; flex-shrink: 0; }
.bl-note { font-size: 0.8rem; color: var(--mut); margin: 4px 0 10px; padding: 0 20px; line-height: 1.45; } 
.hint.sample { margin-top: 6px; }
.hint.sample a { color: var(--blue, #2563eb); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(37,99,235,.35); }
.hint.sample a:hover { border-bottom-color: currentColor; }
