/* Drone Weather marketing site — single stylesheet, no external fonts. */
:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --text: #0f172a;
  --muted: #4b5566;
  --border: #d9e0ec;
  --primary: #2846dd;
  --primary-ink: #ffffff;
  --primary-soft: #e4e9fb;
  --ok: #178a4c;
  --ok-soft: #dff5e8;
  --warn: #b07a00;
  --warn-soft: #fff1cc;
  --nok: #b42332;
  --nok-soft: #fbe1e5;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #121b2f;
    --surface-2: #182339;
    --text: #e7edf7;
    --muted: #a8b3c7;
    --border: #26324a;
    --primary: #6d8cff;
    --primary-ink: #0b1220;
    --primary-soft: #1c2a52;
    --ok: #3ad088;
    --ok-soft: #12352a;
    --warn: #f5c451;
    --warn-soft: #3a3012;
    --nok: #ff7b8a;
    --nok-soft: #3d1a20;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.list-reset { list-style: none; padding: 0; margin: 0; }
.tight { margin: 0; }
.centered { margin-left: auto; margin-right: auto; }
.brand-desc { margin-top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--primary-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* header — links in one row; nav.client.js collapses them behind .nav-toggle when narrow or when the row does not fit */
html { scroll-padding-top: 80px; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 64px; max-width: 1280px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--text); font-size: 1.05rem; white-space: nowrap; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-nav { order: 1; margin-left: auto; min-width: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.site-nav a { display: block; text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.lang { border: 1px solid var(--border); }
.lang-menu { order: 2; position: relative; flex-shrink: 0; }
.lang-menu summary { list-style: none; cursor: pointer; color: var(--muted); padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; border: 1px solid var(--border); white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu details[open] summary { color: var(--text); background: var(--surface-2); }
.lang-menu ul { list-style: none; margin: 0; position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 200px; max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: block; }
.lang-menu li { display: block; }
.lang-menu ul a { display: block; padding: 8px 10px; text-decoration: none; color: var(--muted); border-radius: 8px; font-weight: 600; }
.lang-menu ul a:hover { color: var(--text); background: var(--surface-2); }
.lang-menu ul a[aria-current="true"] { color: var(--primary); font-weight: 700; }
.nav-toggle { order: 3; margin-left: -8px; flex-shrink: 0; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.15s ease, opacity 0.15s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle { background: var(--surface-2); }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-footer .langs { margin-top: 26px; }
.site-footer .langs ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* with JavaScript: one fixed-height row; the links stay in a single line or go behind the button */
.js .site-header .wrap { flex-wrap: nowrap; }
.js .site-nav { flex: 0 1 auto; overflow: hidden; }
.js .site-nav ul { flex-wrap: nowrap; }
.js .site-header.nav-compact .site-nav { display: none; }
.js .site-header.nav-compact .nav-toggle { display: inline-flex; }
.js .site-header.nav-compact .lang-menu { margin-left: auto; }
@media (max-width: 1023px) {
  .js .site-nav { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .lang-menu { margin-left: auto; }
}
/* the open menu: a panel under the header */
.js .site-header.nav-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; margin: 0; overflow: auto; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.js .site-header.nav-open .site-nav ul { max-width: 1280px; margin: 0 auto; padding: 10px 20px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px; }
.js .site-header.nav-open .site-nav a { padding: 12px 14px; font-size: 1rem; white-space: normal; }
@media (max-width: 479px) { .brand span { display: none; } }
@media (max-width: 640px) { .lang-menu ul { position: fixed; left: 12px; right: 12px; top: 72px; max-height: 60vh; } }
@media (prefers-reduced-motion: reduce) { .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: none; } }

/* hero */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; text-decoration: none; padding: 9px 16px 9px 12px; border-radius: 12px; border: 1px solid #333; min-width: 180px; transition: transform .12s ease, box-shadow .12s ease; }
.store:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.store svg { width: 28px; height: 28px; flex: none; }
.store .l { display: flex; flex-direction: column; line-height: 1.1; }
.store .s { font-size: 0.68rem; letter-spacing: 0.03em; opacity: .85; }
.store .b { font-size: 1.15rem; font-weight: 700; }
.note { font-size: 0.95rem; color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
.stats div { min-width: 96px; }
.stats dt { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
.stats dd { margin: 2px 0 0; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 480px) { .stats { gap: 10px 22px; } .stats dt { font-size: 1.35rem; } }
.phone { justify-self: center; width: min(300px, 80vw); padding: 12px; border-radius: 44px; background: #0e1018; box-shadow: var(--shadow), inset 0 0 0 2px #2a2e3c; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1290 / 2796; object-fit: cover; border-radius: 32px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .phone { width: min(260px, 70vw); } }

/* sections */
section.block { padding: 48px 0; }
section.block + section.block { border-top: 1px solid var(--border); }
.section-head { max-width: 46rem; margin-bottom: 28px; }
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.features > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

/* verdicts */
.verdicts-title { margin: 32px 0 14px; font-size: 1.1rem; }
.verdict p { margin: 0; }
@media (max-width: 720px) { .verdict { padding: 14px 16px; } .verdict .pill { margin-bottom: 8px; } }
.verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .verdicts { grid-template-columns: 1fr; } }
.verdict { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--border); background: var(--surface); }
.verdict .pill { display: inline-block; font-weight: 800; padding: 6px 14px; border-radius: 10px; margin-bottom: 10px; }
.verdict.ok .pill { background: var(--ok-soft); color: var(--ok); }
.verdict.warn .pill { background: var(--warn-soft); color: var(--warn); }
.verdict.nok .pill { background: var(--nok-soft); color: var(--nok); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }

/* pro */
.pro { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 34px; }
.pro ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
@media (max-width: 720px) { .pro ul { grid-template-columns: 1fr; } .pro { padding: 24px; } }
.pro li { padding-left: 28px; position: relative; }
.pro li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.2-4.4 4.5a1 1 0 0 1-1.4 0L4.3 9.1a1 1 0 1 1 1.4-1.4l.9.9 3.7-3.8a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.price { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.btn { display: inline-block; text-decoration: none; background: var(--primary); color: var(--primary-ink); font-weight: 700; padding: 12px 20px; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }

/* feature page screenshot */
.article-shot { margin: 8px 0 24px; display: grid; }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot { margin: 0; }
.shot img { border-radius: 18px; border: 1px solid var(--border); background: #000; aspect-ratio: 1290 / 2796; object-fit: cover; width: 100%; }
.shot figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* home app tour (home.client.js). Without JS: a scrollable row of captioned screenshots. */
.tour-tabs { display: none; }
.tour-stage { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.tour-stage .shot { scroll-snap-align: start; }
.tour.tour-ready { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; max-width: 900px; }
.tour-ready .tour-tabs { display: flex; flex-direction: column; gap: 8px; }
.tour-tabs [role="tab"] { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; font-weight: 650; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.tour-tabs [role="tab"] .icon { margin: 0; flex: none; width: 36px; height: 36px; }
.tour-tabs [role="tab"]:hover { border-color: var(--primary); }
.tour-tabs [role="tab"][aria-selected="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.tour-tabs [role="tab"]:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.tour-ready .tour-stage { display: block; overflow: visible; padding: 12px; width: 280px; border-radius: 44px; background: #0e1018; box-shadow: var(--shadow), inset 0 0 0 2px #2a2e3c; }
.tour-ready .tour-stage .shot img { border: 0; border-radius: 32px; display: block; }
.tour-ready .tour-stage figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tour-ready .shot:not([hidden]) { animation: tour-in 0.25s ease-out; }
@keyframes tour-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .tour-ready .shot:not([hidden]) { animation: none; } .tour-tabs [role="tab"] { transition: none; } }
@media (max-width: 760px) {
  .tour.tour-ready { grid-template-columns: 1fr; gap: 20px; justify-items: center; }
  .tour-ready .tour-tabs { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; gap: 8px; }
  .tour-tabs [role="tab"] { width: auto; max-width: 100%; flex: 0 1 auto; padding: 8px 12px; font-size: 0.88rem; border-radius: 18px; text-align: center; overflow-wrap: anywhere; }
  .tour-tabs [role="tab"] .icon { display: none; }
  .tour-ready .tour-stage { width: min(260px, 72vw); }
}

/* "See all features" and the compact Pro / data source summaries of the home */
.more-features { margin-top: 18px; }
.more-features > summary { list-style: none; cursor: pointer; display: table; margin: 0 auto; font-weight: 700; color: var(--primary); border: 2px solid var(--primary); border-radius: 12px; padding: 10px 18px; }
.more-features > summary::-webkit-details-marker { display: none; }
.more-features > summary::after { content: " +"; }
.more-features[open] > summary { margin-bottom: 18px; }
.more-features[open] > summary::after { content: " –"; }
.pro ul.pro-list { grid-template-columns: repeat(3, 1fr); font-weight: 650; }
@media (max-width: 900px) { .pro ul.pro-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pro ul.pro-list { grid-template-columns: 1fr; } }
.source-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.source-chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 650; text-decoration: none; color: var(--text); }
.source-chips a:hover { border-color: var(--primary); color: var(--primary); }

/* sources */
.sources { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 720px) { .sources { grid-template-columns: 1fr; } }
.sources li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.disclaimer { margin-top: 20px; padding: 14px 18px; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: 10px; }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* pulvecast + cta */
.banner { background: linear-gradient(135deg, #14532d, #166534); color: #ecfdf5; border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.banner a.btn { background: #ecfdf5; color: #14532d; }
.banner .stores { margin: 0; }
@media (max-width: 720px) { .banner { grid-template-columns: 1fr; padding: 24px 20px; } }
/* Long words ("сельскохозяйственном") must wrap instead of widening the page at 320px. */
.banner > div { min-width: 0; }
.banner h2, .banner p { overflow-wrap: anywhere; hyphens: auto; }
.cta { text-align: center; padding: 64px 0 72px; }
.cta .stores { justify-content: center; }

/* article */
.article { padding: 44px 0 64px; }
.article .wrap { max-width: 800px; }
.article header { margin-bottom: 28px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article h2 { font-size: 1.45rem; margin-top: 2em; }
.article h3 { margin-top: 1.5em; }
.article ul, .article ol { padding-left: 1.4em; }
.article li { margin-bottom: 0.4em; }
.article blockquote { margin: 0; padding: 4px 18px; border-left: 4px solid var(--primary); background: var(--surface); border-radius: 8px; }
.breadcrumb { font-size: 0.9rem; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.table-wrap { overflow-x: auto; margin: 1em 0; border: 1px solid var(--border); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.meta { color: var(--muted); font-size: 0.9rem; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0 28px; margin-top: 24px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.err { padding: 80px 0; }
.err ul { list-style: none; padding: 0; }
.err li { margin-bottom: 8px; }

/* Calculators (/tools/<slug>): a form rendered by the build, brought to life by tools.client.js. */
.tool { margin: 0 0 36px; }
.article .tool .tool-title { font-size: 1.2rem; margin: 0 0 16px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 16px; align-items: start; }
.tool-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 650; font-size: 0.95rem; }
.tool-field small { font-weight: 400; font-size: 0.82rem; }
.tool input, .tool select { font: inherit; font-weight: 400; line-height: 1.3; color: var(--text); background-color: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%; min-width: 0; box-sizing: border-box; height: 46px; margin: 0; }
/* Native selects ignore padding (Chrome draws them ~4px shorter, Safari rounder): same box as the inputs, own chevron. */
.tool select { appearance: none; -webkit-appearance: none; padding-right: 36px; text-overflow: ellipsis; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.tool input[type="search"] { appearance: none; -webkit-appearance: none; }
.tool input[type="date"] { appearance: none; -webkit-appearance: none; display: block; }
.tool input:focus-visible, .tool select:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
.tool-field.wide, .tool-advanced.wide { grid-column: 1 / -1; }
.place-search { position: relative; }
.article .place-list, .place-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; max-height: 280px; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); font-weight: 400; }
.article .place-list li, .place-list li { margin: 0; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.place-list li:hover, .place-list li[aria-selected="true"] { background: var(--primary-soft); }
.place-status:empty { display: none; }
.place-status { font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.tool-advanced { border-top: 1px solid var(--border); padding-top: 10px; }
.tool-advanced summary { cursor: pointer; font-weight: 650; font-size: 0.92rem; color: var(--muted); padding: 4px 0; }
.tool-advanced[open] summary { margin-bottom: 12px; }
.tool-locate { align-self: end; }
.tool-locate .btn { font: inherit; font-weight: 700; padding: 9px 14px; cursor: pointer; width: 100%; }
.tool-locate .btn[disabled] { opacity: 0.6; cursor: progress; }
.tool-out { margin-top: 22px; overflow-x: auto; }
@media (max-width: 480px) { .tool { padding: 16px; } .tool-out th, .tool-out td { padding: 8px 6px; font-size: 0.9rem; } }
.tool-out table { margin: 0 0 12px; }
.tool-out th, .tool-out td { text-align: left; }
.tool-out p:last-child { margin-bottom: 0; }
.tool .pill { display: inline-block; font-weight: 800; font-size: 0.85rem; padding: 3px 10px; border-radius: 8px; background: var(--surface-2); }
.tool .pill.ok { background: var(--ok-soft); color: var(--ok); }
.tool .pill.warn { background: var(--warn-soft); color: var(--warn); }
.tool .pill.nok { background: var(--nok-soft); color: var(--nok); }
.tool-verdict { font-weight: 650; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.tool-verdict .pill { margin-right: 6px; background: var(--surface); }
.tool-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 12px; }
.tool-stat { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tool-stat strong { font-size: 1.35rem; line-height: 1.2; }
.tool-stat span { color: var(--muted); font-size: 0.88rem; }
.tool-disclaimer { font-size: 0.85rem; margin: 16px 0 0; }
