:root {
    color-scheme: light;
    --navy-950: #07162d;
    --navy-900: #0b1d38;
    --navy-800: #17365f;
    --blue-700: #0759b8;
    --blue-600: #0875e1;
    --blue-500: #1990f1;
    --blue-100: #e7f3ff;
    --blue-50: #f4f9ff;
    --green-700: #18784b;
    --green-600: #249b5c;
    --green-500: #59c96c;
    --green-100: #e9f8ee;
    --gold-500: #f4ad18;
    --purple-500: #7657df;
    --rose-500: #e64c70;
    --teal-500: #1b9d86;
    --orange-500: #e77922;
    --ink: #10213b;
    --muted: #5b6c84;
    --line: #dce5ef;
    --surface: #ffffff;
    --surface-soft: #f5f8fc;
    --shadow-sm: 0 5px 18px rgba(10, 35, 70, .08);
    --shadow-md: 0 18px 50px rgba(8, 37, 75, .13);
    --shadow-lg: 0 28px 80px rgba(4, 24, 50, .22);
    --radius-sm: .65rem;
    --radius-md: 1rem;
    --radius-lg: 1.35rem;
    --shell: 1180px;
    --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; min-width: 320px; background: #fff; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #bee2ff; color: var(--navy-950); }
:focus-visible { outline: 3px solid #6fc2ff; outline-offset: 3px; }

.shell { width: min(calc(100% - 2rem), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: .6rem; inset-inline-start: .6rem; z-index: 9999; transform: translateY(-160%); padding: .7rem 1rem; border-radius: .5rem; background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.skip-link:focus { transform: translateY(0); }
.sr-only, .icon-sprite { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 .45rem; color: var(--blue-700); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 1.05rem; border: 1px solid transparent; border-radius: .78rem; font-weight: 750; line-height: 1.1; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: linear-gradient(135deg, var(--blue-600), #0966c9); color: #fff; box-shadow: 0 8px 20px rgba(6, 100, 202, .22); }
.button-primary:hover { box-shadow: 0 11px 26px rgba(6, 100, 202, .3); }
.button-outline { border-color: #9fc7e9; background: #fff; color: var(--blue-700); }
.button-outline:hover { border-color: var(--blue-600); background: var(--blue-50); }
.button-light { border-color: rgba(255, 255, 255, .74); background: rgba(255, 255, 255, .95); color: var(--blue-700); box-shadow: var(--shadow-sm); }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; }

.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-height); border-bottom: 1px solid rgba(205, 219, 235, .75); background: rgba(255, 255, 255, .93); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.35rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .7rem; color: var(--navy-950); }
.brand-mark { width: 50px; height: 37px; }
.brand-mark path { stroke: var(--navy-900); stroke-width: 1.2; stroke-linejoin: round; }
.brand-mark .brand-back { fill: #7fd96d; }
.brand-mark .brand-front { fill: #178ae4; }
.brand-mark .brand-snow { fill: #fff; stroke: none; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 1.35rem; letter-spacing: -.04em; }
.brand small { margin-top: .3rem; color: var(--muted); font-size: .59rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { margin-inline: auto; display: flex; align-items: center; gap: .2rem; }
.primary-nav a { padding: .55rem .62rem; border-radius: .55rem; color: #243653; font-size: .86rem; font-weight: 650; }
.primary-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: .75rem; background: #fff; color: var(--ink); }
.nav-toggle svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nojs-menu { display: none; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--blue-700); font-size: .78rem; font-weight: 800; }
.nojs-banner { margin: 0; padding: .55rem 1rem; background: #fff5cf; color: #664c00; text-align: center; font-size: .78rem; }
.language-menu { position: relative; flex: 0 0 auto; }
.language-menu summary { min-width: 66px; display: flex; align-items: center; justify-content: center; gap: .38rem; padding: .58rem .72rem; border: 1px solid var(--line); border-radius: .7rem; list-style: none; color: var(--navy-900); font-size: .82rem; font-weight: 800; cursor: pointer; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-list { position: absolute; top: calc(100% + .5rem); inset-inline-end: 0; min-width: 145px; padding: .45rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; box-shadow: var(--shadow-md); }
.language-list a { display: block; padding: .55rem .65rem; border-radius: .5rem; font-size: .9rem; }
.language-list a:hover, .language-list a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }

.hero { position: relative; min-height: 520px; isolation: isolate; color: #fff; background-color: #173b63; background-image: url('../images/hero-fallback.jpg'); background-image: url('../images/hero-1600.webp'); background-position: center 52%; background-size: cover; background-repeat: no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 22, 44, .67) 0%, rgba(4, 37, 65, .38) 52%, rgba(1, 28, 51, .18) 100%), linear-gradient(0deg, rgba(2, 20, 38, .5), transparent 52%); }
.hero-content { position: relative; display: flex; min-height: 520px; flex-direction: column; align-items: center; justify-content: center; padding-block: 3.1rem 5.4rem; text-align: center; }
.hero-eyebrow { color: #b9ecff; }
.hero h1 { margin: 0; display: grid; text-shadow: 0 3px 18px rgba(0, 0, 0, .27); }
.hero h1 span { font-size: clamp(3.2rem, 8vw, 5.6rem); line-height: .96; letter-spacing: -.065em; }
.hero h1 span::after { content: ''; display: inline-block; width: .7ch; height: .14em; margin-inline-start: .08em; border-radius: 100px; background: var(--green-500); vertical-align: .13em; }
.hero h1 strong { margin-top: .5rem; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.02; letter-spacing: -.045em; }
.hero-subtitle { max-width: 740px; margin: 1rem auto 1.4rem; color: rgba(255, 255, 255, .93); font-size: 1.06rem; font-weight: 540; text-shadow: 0 2px 10px rgba(0, 0, 0, .28); }
.search-module { position: relative; z-index: 12; width: min(100%, 790px); }
.place-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .45rem; min-height: 62px; padding: .4rem; border: 1px solid rgba(255, 255, 255, .76); border-radius: 1.08rem; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 46px rgba(0, 18, 43, .28); }
.place-search > svg { width: 1.3rem; height: 1.3rem; margin-inline-start: .65rem; fill: none; stroke: #51667d; stroke-width: 2; stroke-linecap: round; }
.place-search input { min-width: 0; height: 48px; padding: 0 .35rem; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }
.place-search input::placeholder { color: #718197; }
.place-search .button { min-width: 132px; min-height: 50px; }
.search-status { min-height: 0; margin-top: .4rem; color: inherit; font-size: .86rem; }
.search-results-popover { position: absolute; top: calc(100% + .45rem); inset-inline: 0; z-index: 100; max-height: 390px; overflow-y: auto; padding: .45rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-lg); color: var(--ink); text-align: initial; }
.search-result { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: .7rem; padding: .72rem; border: 0; border-radius: .7rem; background: #fff; color: var(--ink); text-align: initial; }
.search-result:hover, .search-result:focus-visible { background: var(--blue-50); }
.search-result > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); }
.search-result svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.search-result strong, .search-result small { display: block; }
.search-result small { margin-top: .15rem; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-empty { padding: 1.1rem; color: var(--muted); text-align: center; }
.hero-actions { width: min(100%, 790px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; }
.locate-button { flex: 0 0 auto; min-height: 42px; padding-block: .55rem; }
.example-links { min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem .85rem; font-size: .8rem; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.example-links span { color: #d9e8f5; }
.example-links a { font-weight: 700; }
.example-links a:hover { text-decoration: underline; }
.hero-note { position: absolute; inset-inline-start: 0; bottom: 2.6rem; padding: .7rem .9rem; border-inline-start: 3px solid var(--green-500); border-radius: 0 .7rem .7rem 0; background: rgba(2, 20, 38, .7); text-align: initial; font-size: .78rem; font-weight: 650; line-height: 1.35; }
.hero-location { position: absolute; inset-inline-end: 0; bottom: 2.6rem; display: flex; align-items: center; gap: .45rem; padding: .55rem .8rem; border-radius: 999px; background: rgba(2, 20, 38, .7); font-size: .82rem; font-weight: 700; }
.hero-location svg { width: 1rem; height: 1rem; fill: none; stroke: #ffc127; stroke-width: 2; }

.map-overlap { position: relative; z-index: 20; margin-top: -1.75rem; }
.map-frame { position: relative; padding: .72rem; border: 1px solid #d9e4ee; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .97); box-shadow: var(--shadow-md); overflow: hidden; }
.map-canvas { height: 390px; min-height: 350px; border-radius: calc(var(--radius-lg) - .45rem); background: linear-gradient(145deg, #d6edfa, #a2d6e7); overflow: hidden; }
.map-canvas .leaflet-control-attribution { font-size: .66rem; }
.map-pin { background: transparent; border: 0; }
.map-pin span { position: relative; width: 28px; height: 28px; display: block; border: 3px solid #fff; border-radius: 50% 50% 50% 7px; background: var(--blue-600); box-shadow: 0 5px 14px rgba(4, 33, 67, .28); transform: rotate(-45deg); }
.map-pin span::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.map-pin-poi span { width: 22px; height: 22px; background: var(--green-600); }
.map-pin-poi span::after { inset: 6px; }
.map-point-popup { min-width: 180px; display: grid; gap: .25rem; }
.map-point-popup strong { color: var(--navy-900); font-size: .85rem; }
.map-point-popup small { max-width: 240px; color: var(--muted); font-size: .7rem; }
.map-point-popup a { margin-top: .3rem; color: var(--blue-700); font-size: .72rem; font-weight: 800; }
.map-loading { height: 100%; min-height: inherit; display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--navy-800); font-size: .9rem; font-weight: 700; }
.map-loading span, .loading-card span { width: 1rem; height: 1rem; border: 2px solid rgba(7, 89, 184, .25); border-top-color: var(--blue-700); border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-callout { position: absolute; z-index: 500; inset-inline-start: 1.45rem; bottom: 1.45rem; display: grid; max-width: 230px; padding: .75rem .85rem; border: 1px solid rgba(255, 255, 255, .75); border-radius: .75rem; background: rgba(255, 255, 255, .91); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); pointer-events: none; }
.map-callout strong { font-size: .9rem; }
.map-callout span { color: var(--muted); font-size: .76rem; }
.map-provider { position: absolute; z-index: 500; inset-inline-end: 1.35rem; bottom: 1.35rem; padding: .48rem .7rem; border-radius: .55rem; background: rgba(255, 255, 255, .92); color: var(--navy-800); font-size: .72rem; font-weight: 800; pointer-events: none; }

.feature-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: .8rem; padding-block: 2.3rem 2.7rem; }
.feature-item { min-width: 0; text-align: center; }
.feature-icon { width: 50px; height: 50px; display: inline-grid; place-items: center; border-radius: 50%; }
.feature-icon svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tone-blue { background: #e2f1ff; color: var(--blue-600); }
.tone-gold { background: #fff4ce; color: #dd9200; }
.tone-green { background: var(--green-100); color: var(--green-700); }
.tone-purple { background: #eee9ff; color: var(--purple-500); }
.tone-rose { background: #ffe6ec; color: var(--rose-500); }
.tone-teal { background: #e0f7f1; color: var(--teal-500); }
.tone-orange { background: #fff0df; color: var(--orange-500); }
.feature-item h2 { margin: .65rem 0 .28rem; font-size: .92rem; letter-spacing: -.02em; }
.feature-item p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.discover-section { position: relative; padding: 2.5rem 0 3.2rem; background: radial-gradient(circle at 10% 30%, rgba(42, 153, 220, .11), transparent 28%), radial-gradient(circle at 92% 70%, rgba(74, 192, 102, .12), transparent 30%), #f4f8fc; border-block: 1px solid #e4ebf2; }
.section-heading { max-width: 680px; margin: 0 auto 1.7rem; text-align: center; }
.section-heading h2 { margin: 0; color: var(--navy-950); font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.045em; }
.section-heading > p:last-child { margin: .5rem 0 0; color: var(--muted); }
.demo-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 1rem; }
.demo-card { min-width: 0; display: flex; flex-direction: column; padding: .65rem; border: 1px solid #dce5ef; border-radius: 1.15rem; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm); }
.demo-card .demo-body { flex: 1; padding: 1rem; }
.demo-card h3 { margin: .25rem 0 .8rem; font-size: 1.22rem; letter-spacing: -.025em; }
.card-label { color: var(--blue-700); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.demo-visual { min-height: 108px; display: grid; place-items: center; border-radius: .8rem; overflow: hidden; }
.demo-visual-map { background: linear-gradient(135deg, #b9e3ff, #d9f6d6 50%, #8fb4ca); color: rgba(8, 94, 100, .72); }
.demo-visual-map svg { width: 120px; height: 80px; fill: rgba(255, 255, 255, .52); stroke: currentColor; stroke-width: .8; }
.fact-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.fact-list li { display: flex; align-items: center; gap: .55rem; color: #40526a; font-size: .84rem; }
.fact-list svg { width: 1rem; height: 1rem; fill: none; stroke: var(--blue-700); stroke-width: 2; }
.category-preview { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .65rem; }
.category-preview > span { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: .35rem; padding: .3rem 0; color: #3c4e65; font-size: .78rem; }
.category-preview svg { width: .9rem; height: .9rem; fill: none; stroke: var(--green-700); stroke-width: 2; }
.category-preview b { color: var(--blue-700); font-size: .65rem; text-transform: uppercase; }
.radius-preview { display: flex; gap: .35rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.radius-preview > * { flex: 1; padding: .35rem; border-radius: .45rem; background: #f0f5fa; color: #607188; font-size: .7rem; text-align: center; }
.radius-preview b { background: var(--blue-600); color: #fff; }
.score-demo-card .demo-body { position: relative; }
.score-pending { position: absolute; top: 3.2rem; inset-inline-end: 1rem; width: 70px; height: 70px; display: grid; place-content: center; border: 7px solid #dceae2; border-top-color: var(--green-500); border-radius: 50%; color: var(--navy-900); text-align: center; }
.score-pending span { font-size: 1.35rem; font-weight: 900; line-height: 1; }
.score-pending small { font-size: .6rem; }
.score-demo-card p { max-width: 70%; color: var(--muted); font-size: .8rem; }
.metric-placeholder { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: .5rem; margin-top: .5rem; color: #53657d; font-size: .73rem; }
.metric-placeholder i { height: 7px; border-radius: 99px; background: linear-gradient(90deg, var(--green-500) 62%, #e3eaf0 62%); }
.cta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: 1.1rem; }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: .8rem; min-height: 126px; padding: 1.1rem; border: 1px solid rgba(91, 117, 147, .16); border-radius: 1rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.cta-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cta-card > span { font-size: 1.65rem; line-height: 1; }
.cta-card > svg { width: 1rem; height: 1rem; margin-top: .2rem; fill: none; stroke: currentColor; stroke-width: 2; }
.cta-card h3 { margin: 0 0 .3rem; font-size: 1rem; }
.cta-card p { margin: 0; color: #52657b; font-size: .78rem; line-height: 1.45; }
.cta-green { background: #eaf8ec; color: #137846; }.cta-blue { background: #eaf5ff; color: #0866c5; }.cta-purple { background: #f1edff; color: #6243ca; }.cta-gold { background: #fff7dc; color: #aa7200; }
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 96px; padding: 1rem; border-inline-end: 1px solid var(--line); }
.trust-grid > div:last-child { border-inline-end: 0; }
.trust-grid svg { width: 1.75rem; height: 1.75rem; flex: 0 0 auto; fill: none; stroke: var(--blue-600); stroke-width: 1.8; }
.trust-grid p { display: grid; margin: 0; }
.trust-grid strong { font-size: .95rem; }
.trust-grid span { color: var(--muted); font-size: .72rem; }

.site-footer { padding: 3rem 0 1rem; background: var(--navy-950); color: #d9e7f7; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.brand-footer { color: #fff; }
.brand-footer + p { color: #90a8c3; font-size: .86rem; }
.footer-grid h2 { margin: .1rem 0 .75rem; color: #fff; font-size: .83rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a:not(.brand) { margin-bottom: .45rem; color: #aebfd4; font-size: .8rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); color: #849bb8; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

.page-hero { padding: 4.5rem 0 4rem; background: radial-gradient(circle at 80% 15%, rgba(89, 201, 108, .22), transparent 28%), linear-gradient(135deg, var(--navy-950), #0a559b); color: #fff; }
.page-hero .eyebrow { color: #93dfff; }
.page-hero h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
.page-hero p:last-child { max-width: 720px; margin: .9rem 0 0; color: #d6e7f6; font-size: 1.05rem; }
.compact-hero { padding-block: 3.2rem; }
.compact-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.place-hero { padding: 2.1rem 0 4.5rem; background: radial-gradient(circle at 90% 20%, rgba(68, 201, 104, .23), transparent 28%), linear-gradient(125deg, #071b34, #075da7); color: #fff; }
.breadcrumbs { display: flex; align-items: center; gap: .4rem; margin-bottom: 1.4rem; color: #bcd3e8; font-size: .78rem; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs svg { width: .8rem; height: .8rem; fill: none; stroke: currentColor; stroke-width: 2; }
.place-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.place-heading .eyebrow { color: #8edcfb; }
.place-heading h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.055em; }
.place-heading h1 span { color: #b9d2e8; font-weight: 500; }
.place-heading > div:first-child > p:last-child { max-width: 760px; margin: .8rem 0 0; color: #d3e3f1; }
.place-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.place-actions .button { min-height: 42px; padding: .55rem .72rem; font-size: .78rem; }
.place-report { position: relative; z-index: 20; margin-top: -2.5rem; padding-bottom: 3.5rem; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(270px, .7fr); gap: 1rem; }
.place-map-frame { padding: .58rem; }
.place-map { min-height: 460px; }
.facts-card, .panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.facts-card { padding: 1.2rem; }
.facts-card-title { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.facts-card-title small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.facts-card-title h2 { margin: .12rem 0 0; font-size: 1.2rem; line-height: 1.15; }
.facts-list { margin: .35rem 0 0; }
.facts-list > div { display: grid; grid-template-columns: 105px 1fr; gap: .8rem; padding: .69rem 0; border-bottom: 1px solid #edf1f5; }
.facts-list > div:last-child { border-bottom: 0; }
.facts-list dt { color: var(--muted); font-size: .75rem; font-weight: 650; }
.facts-list dd { margin: 0; color: var(--navy-900); font-size: .82rem; font-weight: 750; text-align: end; overflow-wrap: anywhere; }
.source-note { margin: .9rem 0 0; color: #75869b; font-size: .68rem; }
.live-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-top: 1rem; }
.panel { padding: 1.3rem; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.panel-heading h2, .nearby-heading h2, .download-panel h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.035em; }
.weather-symbol { font-size: 2.3rem; line-height: 1; }
.weather-current { min-height: 90px; margin-top: .7rem; }
.weather-main { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.weather-temp { font-size: 3.3rem; font-weight: 850; line-height: 1; letter-spacing: -.06em; }
.weather-detail { color: var(--muted); font-size: .8rem; }
.weather-detail strong { display: block; margin-bottom: .2rem; color: var(--ink); font-size: .95rem; }
.weather-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.weather-meta span { padding: .55rem; border-radius: .6rem; background: var(--surface-soft); color: #53657c; font-size: .72rem; }
.forecast-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: .42rem; margin-top: .9rem; }
.forecast-day { padding: .62rem .35rem; border-radius: .65rem; background: var(--blue-50); text-align: center; }
.forecast-day strong, .forecast-day span, .forecast-day small { display: block; }
.forecast-day strong { font-size: .72rem; }
.forecast-day span { margin: .25rem 0; font-size: 1.15rem; }
.forecast-day small { color: var(--muted); font-size: .64rem; }
.knowledge-content { display: grid; grid-template-columns: 108px 1fr; gap: 1rem; margin-top: .8rem; }
.knowledge-content img { width: 108px; height: 108px; border-radius: .75rem; object-fit: cover; }
.knowledge-content p { margin: 0; color: #4d6078; font-size: .86rem; }
.knowledge-content a { display: inline-block; margin-top: .65rem; color: var(--blue-700); font-size: .8rem; font-weight: 800; }
.skeleton { display: inline-block; border-radius: .35rem; background: linear-gradient(100deg, #e9eef3 20%, #f7f9fb 40%, #e9eef3 60%); background-size: 200% 100%; animation: shimmer 1.35s infinite linear; }
.skeleton-text { width: 82px; height: .85rem; }
.weather-skeleton { width: 100%; height: 82px; }
@keyframes shimmer { to { background-position-x: -200%; } }
.nearby-section { margin-top: 1rem; }
.nearby-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.nearby-heading p:last-child { margin: .4rem 0 0; color: var(--muted); font-size: .85rem; }
.radius-control, .category-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.radius-control { justify-content: flex-end; }
.radius-control button, .category-chips button { min-height: 36px; padding: .42rem .65rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; color: #506178; font-size: .72rem; font-weight: 750; }
.radius-control button.active, .radius-control button[aria-pressed="true"], .category-chips button[aria-pressed="true"] { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }
.category-chips { margin-top: 1rem; }
.nearby-summary { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.nearby-summary span { padding: .38rem .58rem; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-size: .7rem; font-weight: 750; }
.nearby-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: 1rem; }
.poi-card { position: relative; min-width: 0; padding: .85rem; border: 1px solid #e2e9f0; border-radius: .82rem; background: #fbfdff; }
.poi-card:hover { border-color: #a9cae8; box-shadow: var(--shadow-sm); }
.poi-card h3 { margin: 0; padding-inline-end: 4.2rem; font-size: .9rem; line-height: 1.3; }
.poi-card > span { position: absolute; top: .85rem; inset-inline-end: .8rem; color: var(--blue-700); font-size: .7rem; font-weight: 800; }
.poi-card small { display: block; margin-top: .35rem; color: var(--muted); font-size: .69rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poi-card footer { display: flex; gap: .65rem; margin-top: .65rem; color: #60728a; font-size: .65rem; }
.poi-card footer a { color: var(--blue-700); font-weight: 800; }
.loading-card { grid-column: 1 / -1; min-height: 100px; display: flex; align-items: center; justify-content: center; gap: .65rem; color: var(--muted); }
.load-more { display: flex; margin: 1rem auto 0; }
.data-notice { display: flex; align-items: flex-start; gap: .5rem; margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); color: #6b7c90; font-size: .7rem; }
.data-notice svg { width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; background: linear-gradient(135deg, #fff, #f2f9ff); }
.download-panel p:last-child { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; }
.download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.qr-dialog { width: min(92vw, 390px); padding: 1.5rem; border: 0; border-radius: 1.2rem; box-shadow: var(--shadow-lg); text-align: center; }
.qr-dialog::backdrop { background: rgba(2, 17, 35, .65); backdrop-filter: blur(3px); }
.qr-dialog h2 { margin: .3rem 0; }
.qr-dialog p { margin: 0 0 1rem; color: var(--muted); }
.dialog-close { position: absolute; top: .7rem; inset-inline-end: .7rem; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-soft); }
.dialog-close svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.qr-output { min-height: 230px; display: grid; place-items: center; margin-bottom: 1rem; }
.qr-output img { width: 220px; height: 220px; image-rendering: pixelated; }
.toast { position: fixed; inset-inline: 50%; bottom: 1.3rem; z-index: 4000; width: min(90vw, 440px); padding: .8rem 1rem; border-radius: .75rem; background: var(--navy-950); color: #fff; box-shadow: var(--shadow-lg); text-align: center; font-size: .82rem; transform: translateX(-50%); }
[dir="rtl"] .toast { transform: translateX(50%); }

.tools-hero { background: radial-gradient(circle at 15% 20%, rgba(79, 216, 122, .24), transparent 26%), linear-gradient(135deg, var(--navy-950), #0759a8); }
.tools-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1rem; align-items: start; padding-block: 2rem 3.5rem; }
.tools-nav { position: sticky; top: calc(var(--header-height) + 1rem); display: grid; gap: .35rem; padding: .55rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm); }
.tools-nav a { padding: .7rem .75rem; border-radius: .7rem; }
.tools-nav a:hover, .tools-nav a.active { background: var(--blue-50); color: var(--blue-700); }
.tools-nav strong, .tools-nav span { display: block; }
.tools-nav strong { font-size: .83rem; }
.tools-nav span { margin-top: .12rem; color: var(--muted); font-size: .67rem; }
.tools-workspace { min-width: 0; }
.tool-panel { min-height: 430px; }
.tool-heading { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.tool-heading h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.035em; }
.tool-heading p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.tool-form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.tool-form label { display: grid; gap: .35rem; color: #41536b; font-size: .78rem; font-weight: 750; }
.tool-form input { width: 100%; min-height: 48px; padding: .65rem .75rem; border: 1px solid #cbd8e5; border-radius: .7rem; background: #fff; color: var(--ink); font-size: .95rem; }
.tool-form input:focus { border-color: var(--blue-500); outline: 3px solid #d9efff; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.input-action { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.tool-form fieldset { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.tool-form legend { padding: 0 .35rem; color: var(--navy-800); font-size: .78rem; font-weight: 850; }
.tool-divider { display: flex; align-items: center; gap: .7rem; margin: 1.25rem 0 -.25rem; color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.tool-divider::before, .tool-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.tool-result { margin-top: 1.2rem; }
.tool-result-card { padding: 1rem; border: 1px solid #b9d7ef; border-radius: .8rem; background: var(--blue-50); }
.tool-result-card h3 { margin: 0; font-size: 1rem; }
.tool-result-card p { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; }
.tool-result-card strong.result-number { display: block; margin: .4rem 0; color: var(--blue-700); font-size: 2rem; letter-spacing: -.04em; }
.tool-result-card a { display: inline-flex; margin-top: .7rem; color: var(--blue-700); font-size: .78rem; font-weight: 800; }
.tool-error { padding: .85rem; border: 1px solid #f3bdc9; border-radius: .7rem; background: #fff1f4; color: #96314a; font-size: .82rem; }
.tools-privacy { display: flex; gap: .7rem; margin-top: .8rem; padding: .9rem 1rem; border-radius: .8rem; background: var(--green-100); color: #276246; }
.tools-privacy svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin-top: .15rem; fill: none; stroke: currentColor; stroke-width: 2; }
.tools-privacy p { margin: 0; font-size: .76rem; }

.results-page { min-height: 470px; padding-block: 2rem 4rem; }
.results-page .search-module { margin-bottom: 1.2rem; }
.results-page .place-search { border-color: var(--line); box-shadow: var(--shadow-sm); }
.results-page .search-status { color: var(--muted); }
.server-results-list, .results-page .search-results-popover { color: var(--ink); }
.empty-state { padding: 3rem 1rem; text-align: center; }
.empty-state h2 { font-size: 1.25rem; }
.server-results-list { display: grid; gap: .45rem; }
.server-results-list > a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .8rem; padding: .85rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.server-results-list > a:hover { border-color: #a8cae8; background: var(--blue-50); }
.server-results-list small { display: block; color: var(--muted); font-size: .76rem; }
.result-pin { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); }
.result-pin svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.result-arrow { width: 1rem; height: 1rem; fill: none; stroke: var(--blue-700); stroke-width: 2; }
.prose-page { max-width: 820px; padding-block: 2.6rem 4rem; }
.prose-page > h2 { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 4vw, 2.35rem); letter-spacing: -.04em; }
.prose-page section { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.prose-page h3 { margin: 0 0 .45rem; font-size: 1.08rem; }
.prose-page p { margin: 0; color: #4e6076; line-height: 1.75; }
.prose-page > .button { margin-top: 1.4rem; }
.attribution-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.attribution-links a { padding: .45rem .65rem; border-radius: .55rem; background: var(--blue-50); color: var(--blue-700); font-size: .75rem; font-weight: 750; }
.state-page { min-height: 68vh; display: grid; grid-template-columns: minmax(120px, .5fr) 1.5fr; align-items: center; gap: 2rem; padding-block: 4rem; }
.state-code { color: #dbeeff; font-size: clamp(6rem, 18vw, 13rem); font-weight: 950; line-height: .8; letter-spacing: -.09em; }
.state-page h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.05em; }
.state-page p { color: var(--muted); }
.state-page .search-module { margin: 1.2rem 0; }
.state-page .place-search { border-color: var(--line); box-shadow: var(--shadow-sm); }

@media (max-width: 1040px) {
    .hero { background-image: url('../images/hero-960.webp'); }
    .primary-nav { gap: 0; }
    .primary-nav a { padding-inline: .42rem; font-size: .78rem; }
    .feature-strip { grid-template-columns: repeat(4, 1fr); row-gap: 1.4rem; }
    .demo-grid { grid-template-columns: 1fr 1fr; }
    .score-demo-card { grid-column: span 2; }
    .score-demo-card p { max-width: 82%; }
    .cta-grid { grid-template-columns: 1fr 1fr; }
    .nearby-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    :root { --header-height: 68px; }
    .header-inner { gap: .7rem; }
    .brand-mark { width: 43px; }
    .brand strong { font-size: 1.18rem; }
    .brand small { font-size: .5rem; }
    .nav-toggle { display: inline-flex; margin-inline-start: auto; }
    .nojs-menu { display: inline-flex; margin-inline-start: auto; }
    .primary-nav { position: fixed; inset: var(--header-height) 0 0; z-index: 990; display: none; align-content: start; margin: 0; padding: 1rem; background: rgba(255, 255, 255, .98); overflow-y: auto; }
    .primary-nav.open { display: grid; }
    .primary-nav a { padding: .85rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .language-menu { order: 3; }
    .hero, .hero-content { min-height: 560px; }
    .hero-content { padding-top: 2.4rem; }
    .hero-actions { flex-direction: column; }
    .example-links { justify-content: center; }
    .hero-note { display: none; }
    .hero-location { inset-inline: auto; bottom: 3.2rem; }
    .map-overlap { margin-top: -1.4rem; }
    .map-canvas { height: 340px; min-height: 310px; }
    .feature-strip { grid-template-columns: repeat(3, 1fr); }
    .report-grid { grid-template-columns: 1fr; }
    .place-map { min-height: 380px; }
    .live-grid { grid-template-columns: 1fr; }
    .place-heading { align-items: flex-start; flex-direction: column; }
    .place-actions { justify-content: flex-start; }
    .nearby-heading { align-items: flex-start; flex-direction: column; }
    .radius-control { justify-content: flex-start; }
    .download-panel { align-items: flex-start; flex-direction: column; }
    .download-actions { justify-content: flex-start; }
    .tools-layout { grid-template-columns: 1fr; }
    .tools-nav { position: static; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .tools-nav a { min-width: 170px; scroll-snap-align: start; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid > div:nth-child(2) { border-inline-end: 0; }
    .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
    .shell { width: min(calc(100% - 1.2rem), var(--shell)); }
    .site-header .shell { width: min(calc(100% - 1rem), var(--shell)); }
    .brand small { display: none; }
    .language-menu summary { min-width: 56px; padding-inline: .55rem; }
    .hero { background-image: linear-gradient(90deg, rgba(3, 22, 44, .67), rgba(4, 37, 65, .3)), url('../images/hero-640.webp'); background-position: 45% center; }
    .hero h1 span { font-size: clamp(3rem, 15vw, 4.2rem); }
    .hero h1 span::after { width: .45ch; }
    .hero-subtitle { font-size: .94rem; }
    .place-search { grid-template-columns: auto 1fr; min-height: 58px; }
    .place-search .button { grid-column: 1 / -1; width: 100%; min-height: 46px; }
    .hero .place-search .button { grid-column: auto; width: auto; min-width: 96px; }
    .hero .place-search { grid-template-columns: auto 1fr auto; }
    .hero .place-search .button { min-width: 88px; padding-inline: .75rem; }
    .example-links a:nth-of-type(n+5) { display: none; }
    .map-frame { padding: .45rem; border-radius: 1rem; }
    .map-canvas { height: 320px; min-height: 300px; border-radius: .72rem; }
    .map-callout { inset-inline-start: .8rem; bottom: .8rem; max-width: 190px; }
    .map-provider { top: .75rem; bottom: auto; inset-inline-end: .75rem; }
    .feature-strip { grid-template-columns: 1fr 1fr; gap: 1.35rem .75rem; padding-block: 2rem; }
    .feature-item:last-child { grid-column: 1 / -1; max-width: 50%; margin-inline: auto; }
    .feature-item p { font-size: .73rem; }
    .demo-grid { grid-template-columns: 1fr; }
    .score-demo-card { grid-column: auto; }
    .cta-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div { justify-content: flex-start; border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .trust-grid > div:last-child { border-bottom: 0; }
    .place-hero { padding-bottom: 4rem; }
    .place-heading h1 { font-size: 2.65rem; }
    .place-actions .button { flex: 1; }
    .place-report { margin-top: -2rem; }
    .place-map { min-height: 330px; }
    .panel, .facts-card { padding: 1rem; border-radius: 1rem; }
    .forecast-row { grid-template-columns: repeat(5, minmax(72px, 1fr)); overflow-x: auto; }
    .knowledge-content { grid-template-columns: 80px 1fr; }
    .knowledge-content img { width: 80px; height: 80px; }
    .nearby-list { grid-template-columns: 1fr; }
    .category-chips { max-height: 128px; overflow-y: auto; }
    .download-actions { width: 100%; display: grid; }
    .field-grid, .input-action { grid-template-columns: 1fr; }
    .tool-panel { min-height: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .state-page { grid-template-columns: 1fr; gap: .8rem; }
    .state-code { font-size: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
    .site-header, .site-footer, .place-actions, .download-panel, .category-chips, .radius-control, .map-provider { display: none !important; }
    .place-hero { padding: 1rem 0; background: #fff; color: #000; }
    .place-report { margin-top: 0; }
    .panel, .facts-card, .map-frame { box-shadow: none; break-inside: avoid; }
}

/* Map layout is bounded even when a library or tile request fails. */
.map-canvas.leaflet-container { font-family: inherit; background: #aad3df; }
.map-canvas .leaflet-tile, .map-canvas .leaflet-marker-icon { max-width: none !important; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem .4rem .8rem; }
.map-toolbar strong { display: block; font-size: .95rem; }
.map-toolbar small { display: block; color: var(--muted); font-size: .75rem; }
.map-toolbar .button { min-height: 38px; padding: .5rem .7rem; font-size: .75rem; white-space: nowrap; }
.map-status { margin: .5rem; color: #92400e; font-size: .8rem; }
.map-tools button { display: block; border: 0; border-radius: 3px; min-height: 36px; padding: .35rem .65rem; background: #fff; color: #17334c; font-family: inherit; font-weight: 700; font-size: 12px; line-height: 1.3; cursor: pointer; }
.map-tools button:hover { background: #edf6ff; }
.map-error { min-height: inherit; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; padding: 1rem; text-align: center; }
.map-error p { margin: 0; }
.map-canvas .leaflet-control-attribution { max-width: min(100%, 330px); white-space: normal; }
.place-map-frame { align-self: start; }
.place-map { height: 430px; }
.poi-card button { padding: .25rem 0; color: var(--blue-700); background: none; border: none; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.nearby-status { margin: .75rem 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) {
  .place-map { height: 350px; }
  .map-toolbar { align-items: flex-start; gap: .5rem; }
  .map-toolbar small { max-width: 180px; }
}
.live-grid > *, .report-grid > *, .weather-main > * { min-width: 0; }
.knowledge-content { grid-template-columns: minmax(0, 1fr); }
.knowledge-content p, .source-note, .poi-card footer { overflow-wrap: anywhere; }
.poi-card footer { flex-wrap: wrap; }
.map-continent { text-align: center; color: #334f64; font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; text-shadow: 0 1px 2px white, 0 -1px 2px white; }
@media (max-width: 600px) {
    .forecast-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .weather-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phase 2: utility workspaces; no extra fonts or image downloads. */
.p2-workspace{padding-block:3rem 4rem;min-width:0}.p2-heading{max-width:780px;margin-block-end:2rem}.p2-heading h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1;margin-block:.6rem 1rem}.p2-lead{font-size:1.4rem;font-weight:650;color:var(--navy,#10253e)}.p2-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block-end:1rem}.p2-picker{border-block-start:4px solid #0868c9;min-width:0}.p2-picker:nth-child(2){border-block-start-color:#168452}.p2-picker h2{font-size:1.2rem;margin-block:0 1rem}.p2-workspace label,.p2-filter-grid label{display:grid;gap:.5rem;font-weight:600}.p2-workspace input[type=search],.p2-filter-grid input[type=search],.p2-workspace select,.p2-filter-grid select{width:100%;min-width:0;border:1px solid #bdcddd;background:#fff;border-radius:9px;padding:.8rem;color:#172f48;font:inherit}.p2-search-row{display:flex;gap:.5rem}.p2-search-row input{flex:1;min-width:0}.p2-result{display:block;text-align:start;width:100%;border:1px solid #d6e2ed;background:#f7fbfe;border-radius:9px;padding:.8rem;margin-block:.5rem;color:#173650;cursor:pointer}.p2-result strong,.p2-result small{display:block;overflow-wrap:anywhere}.p2-result small{margin-block-start:.3rem}.p2-selected{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin-block-start:1rem;overflow-wrap:anywhere}.p2-selected h3,.p2-selected p,.p2-selected small{flex-basis:100%;margin:0}.p2-selected:empty{display:none}.p2-compare-actions{display:flex;gap:1rem;align-items:end;flex-wrap:wrap}.p2-compare-actions label{min-width:180px}.p2-table-wrap{padding:0;overflow:hidden}.p2-table{width:100%;border-collapse:collapse;table-layout:fixed}.p2-table th,.p2-table td{padding:1rem;text-align:start;border-block-end:1px solid #dce6ef;vertical-align:top;overflow-wrap:anywhere}.p2-table th{width:32%;font-weight:650}.p2-table thead{background:#eff6fd}.p2-table thead th:nth-child(2){color:#095cb0}.p2-table thead th:nth-child(3){color:#117747}.p2-section-row{background:#edf4f9}.p2-section-row th{padding-block:.65rem;font-size:.9rem}.p2-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1rem}.p2-source{display:grid;gap:.5rem;align-content:start;overflow-wrap:anywhere}.p2-source small{color:#445f77}.p2-method{margin-block:1.5rem}.p2-method summary{font-weight:700;cursor:pointer;padding-block:.5rem}.p2-method p{line-height:1.7}.p2-saved-section{margin-block:2rem}.p2-saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.p2-saved-card{display:flex;flex-wrap:wrap;align-content:start;gap:.6rem;min-width:0;overflow-wrap:anywhere}.p2-saved-card h3,.p2-saved-card p,.p2-saved-card small{flex-basis:100%;margin:0}.p2-saved-card .button{margin-block-start:.5rem}.p2-check{display:flex!important;align-items:center;gap:.6rem!important}.p2-check input{width:20px;height:20px;flex-shrink:0;accent-color:#0964bf}.p2-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:end}.p2-workspace [hidden]{display:none}.knowledge-copy a{overflow-wrap:anywhere}
@media(max-width:1100px){.primary-nav{gap:.7rem}.primary-nav a{font-size:.8rem}.p2-saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.p2-workspace{padding-block:1.5rem 2.5rem}.p2-pickers,.p2-saved-grid,.p2-filter-grid,.p2-sources{grid-template-columns:minmax(0,1fr)}.p2-table th,.p2-table td{padding:.65rem .45rem;font-size:.82rem}.p2-table th{width:30%}.p2-compare-actions{align-items:stretch}.p2-compare-actions>*{flex:1 1 100%}.p2-heading h1{font-size:2rem}.p2-search-row .button{padding-inline:1rem}}
