*{box-sizing:border-box}:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#e8ecf3;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--header-height: calc(56px + env(safe-area-inset-top)) ;--landing-bottom-bar-height: calc(64px + env(safe-area-inset-bottom)) ;--side-padding: 20px}body{margin:0;padding:0;min-width:320px;min-height:100vh;overflow-x:hidden}body.landing-scroll-locked{overflow:hidden;position:fixed;width:100%;height:100vh;overscroll-behavior:contain}@media(max-width:720px){:root{--side-padding: 16px}body{-ms-overflow-style:none;scrollbar-width:none}body::-webkit-scrollbar{display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}}h1,h2,h3,h4,h5,h6,p{margin:0}button{font-family:inherit}.app{min-height:100dvh;display:flex;flex-direction:column;max-width:1080px;margin:0 auto;padding:var(--header-height) var(--side-padding) calc(80px + env(safe-area-inset-bottom));background:#fff}.app--landing{padding-top:var(--header-height);padding-bottom:var(--landing-bottom-bar-height)}.app--landing main{flex:1;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;width:100%}header{position:fixed;top:0;left:0;right:0;width:100vw;z-index:50;margin:0;padding:calc(16px + env(safe-area-inset-top)) var(--side-padding) 16px;background:#000;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;box-shadow:0 1px 3px #0000001a;box-sizing:border-box}header .logo{font-size:1.5rem;font-weight:700;color:#fff;margin:0;padding:0;letter-spacing:.02em}header .logo-button{background:none;border:none;color:inherit;font:inherit;padding:0;cursor:pointer}header .logo-button:focus-visible{outline:2px solid #2563eb;outline-offset:4px}.header-help{margin-left:auto;color:#e5e7eb;opacity:.9;text-decoration:none;font-size:.95rem;font-weight:600;padding:6px 10px;border-radius:8px}.header-help:hover{opacity:1;background:#ffffff14}.header-help:focus-visible{outline:2px solid #2563eb;outline-offset:4px}main{flex:1}.tool-section{display:flex;flex-direction:column;gap:20px}.tool-section--landing{min-height:calc(100vh - var(--header-height) - var(--landing-bottom-bar-height));width:100%;justify-content:flex-start;align-items:flex-start;gap:16px;padding-top:0}.hero-image-container{position:relative;width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);margin-top:calc(-1 * var(--header-height));margin-bottom:20px;overflow:hidden}.hero-image{width:100%;height:auto;display:block;object-fit:cover;max-height:min(48vh,420px);object-position:center top}.hero-sample-button{position:absolute;bottom:16px;right:16px;background:#000;color:#fff;border:none;padding:10px 20px;font-size:.95rem;font-weight:600;border-radius:8px;cursor:pointer;transition:background-color .15s ease,transform .1s ease;z-index:10;box-shadow:0 4px 12px #0000004d}.hero-sample-button:hover{background:#1a1a1a;transform:translateY(-1px)}.hero-sample-button:active{transform:translateY(0)}.hero-section{text-align:left;max-width:720px;margin-top:0;margin-bottom:24px}.app--landing .hero-section{text-align:left;align-self:stretch;padding:0 var(--side-padding)}.hero-title{font-size:clamp(2.5rem,5vw,3.5rem);font-weight:700;line-height:1.15;color:#111827;margin:0 0 12px;letter-spacing:-.025em}.hero-description{font-size:1.05rem;line-height:1.55;color:#374151;margin:0 0 10px}.hero-pill-list{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:16px 0 0}.hero-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#2563eb14;color:#1d4ed8;font-size:.85rem;font-weight:600;letter-spacing:.01em;border:1px solid rgba(37,99,235,.16);box-shadow:inset 0 0 0 1px #ffffff59}.hero-pill__glyph{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#1d4ed829}.hero-pill__svg{width:12px;height:12px}.hero-pill__label{color:inherit;white-space:nowrap}@media(max-width:720px){.hero-pill-list{gap:8px;margin-top:14px}.hero-pill{padding:6px 10px;font-size:.75rem}.hero-pill__glyph{width:16px;height:16px}.hero-pill__svg{width:10px;height:10px}}.hero-pill:nth-child(1){background:#2563eb14;border-color:#2563eb29;color:#1d4ed8}.hero-pill:nth-child(1) .hero-pill__glyph{background:#1d4ed829}.hero-pill:nth-child(2){background:#7c3aed14;border-color:#7c3aed29;color:#7c3aed}.hero-pill:nth-child(2) .hero-pill__glyph{background:#6d28d929}.hero-pill:nth-child(3){background:#05966914;border-color:#05966929;color:#059669}.hero-pill:nth-child(3) .hero-pill__glyph{background:#04785729}.hero-pill:nth-child(4){background:#d9770614;border-color:#d9770629;color:#d97706}.hero-pill:nth-child(4) .hero-pill__glyph{background:#b4530929}.hero-pill:nth-child(5){background:#e11d4814;border-color:#e11d4829;color:#e11d48}.hero-pill:nth-child(5) .hero-pill__glyph{background:#be123c29}.hero-pill:nth-child(6){background:#33415514;border-color:#33415529;color:#334155}.hero-pill:nth-child(6) .hero-pill__glyph{background:#1e293b29}.hero-pill:nth-child(7){background:#0d948814;border-color:#0d948829;color:#0d9488}.hero-pill:nth-child(7) .hero-pill__glyph{background:#0f766e29}.hero-cta{font-size:1.1rem;padding:14px 32px;margin-top:8px}.inline-error{background:#fee2e2;color:#7f1d1d;border:1px solid #fca5a5;padding:10px 14px;font-size:.95rem;margin:0}.primary-button,.secondary-button,.modal .primary-button,.modal .secondary-button{border-radius:0;font-weight:600;font-size:.95rem;padding:12px 28px;border:1px solid transparent;cursor:pointer;transition:background-color .15s ease}.primary-button{background:#111827;color:#fff;align-self:flex-start}.primary-button:hover{background:#1f2937}.secondary-button{background:transparent;border-color:#1f2937;color:#1f2937}.secondary-button:hover{background:#1f2937;color:#fff}.results{display:flex;flex-direction:column;gap:20px}.verdict-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:1px solid rgba(15,23,42,.08);background:#fff;box-shadow:0 2px 8px #0000000d}.verdict-card--clean{border-color:#10b98140;box-shadow:0 2px 10px #10b98114}.verdict-card--alert{border-color:#ef444440;box-shadow:0 2px 10px #ef444414}.verdict-card__icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:currentColor}.verdict-card--clean .verdict-card__icon{color:#10b981}.verdict-card--alert .verdict-card__icon{color:#ef4444}.verdict-card__icon svg{width:24px;height:24px}.verdict-card__content{display:flex;flex-direction:column;gap:2px}.verdict-card__title{font-size:.98rem;color:#0f172a}.verdict-card__subtitle{font-size:.85rem;color:#475569}.verdict-card__actions button{white-space:nowrap}@media(max-width:720px){.verdict-card{grid-template-columns:auto 1fr;grid-auto-rows:auto;gap:10px}.verdict-card__actions{grid-column:1 / -1}}.results-header{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.results-header .image-container{grid-column:1 / -1;width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);margin-top:calc(-1 * var(--header-height) - 8px);padding-top:var(--header-height);padding-left:0;padding-right:0}.image-container{display:flex;justify-content:center;align-items:center;min-height:260px}.thumbnail{width:100%;height:auto;max-height:520px;object-fit:contain;display:block}@media(max-width:720px){.results-header .image-container{padding-left:0;padding-right:0;padding-top:var(--header-height)}.image-container{padding:0}.thumbnail{width:100vw;height:auto;max-height:none;object-fit:cover}}.panel,.stats-section,.analysis-summary,.location-panel,.insights-deep-dive,.raw-metadata{border-top:1px solid #d1d5db;padding-top:14px}.collapsible.is-collapsed .section-heading{margin-bottom:0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-heading h3{margin:0;font-size:1.1rem;font-weight:600}.section-toggle{appearance:none;border:none;background:none;display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;cursor:pointer;padding:0;color:inherit}.section-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:4px}.section-toggle__text{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:calc(100% - 26px)}.section-toggle__icon{display:inline-flex;align-items:center;gap:8px}.section-status-dot{width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 2px #0f172a14}.section-status-dot--alert{background:#ef4444}.section-status-dot--clean{background:#10b981}.section-title{font-size:1.1rem;font-weight:600}.section-subtitle{font-size:.85rem;color:#4b5563;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-chevron{width:18px;height:18px;transition:transform .2s ease}.section-toggle.is-collapsed .section-chevron{transform:rotate(-90deg)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));column-gap:24px;row-gap:0}.stat-item{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e5e7eb}.stat-item:last-of-type{border-bottom:none}.stat-label{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#6b7280;flex-shrink:0;min-width:100px}.stat-value{font-size:.98rem;color:#0f172a;font-weight:600;text-align:right;flex:1;word-break:break-word;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.metadata-section{display:flex;flex-direction:column;gap:12px}.metadata-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0;border-bottom:1px solid #e5e7eb}.metadata-item:last-of-type{border-bottom:none}.metadata-label{font-weight:600;color:#0f172a}.metadata-description{margin:4px 0 0;font-size:.85rem;color:#4b5563}.metadata-indicator{flex-shrink:0;width:12px;height:12px;border-radius:50%;box-shadow:0 0 0 2px #0f172a14}.metadata-indicator--present{background:#ef4444}.metadata-indicator--clean{background:#10b981}.metadata-item.is-empty{color:#6b7280}.metadata-indicator--unknown{background:#9ca3af}.location-grid{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:20px}.location-grid{margin-bottom:80px}.location-map{display:flex;justify-content:center;align-items:center;padding:12px;background:#f8fafc;border-radius:16px}.map-wrapper{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}.map-canvas-wrapper{position:relative;width:100%;max-width:360px;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px #0f172a2e;background:#0b1220}.map-canvas-wrapper,.leaflet-map{z-index:0}.leaflet-map,.map-placeholder{width:100%;height:220px}.leaflet-map{pointer-events:none}.map-placeholder{display:flex;align-items:center;justify-content:center;font-size:.9rem;color:#94a3b8}.map-crosshair{pointer-events:none;position:absolute;inset:0}.map-crosshair:before,.map-crosshair:after{content:"";position:absolute;background:#0f172a40}.map-crosshair:before{top:50%;left:0;width:100%;height:1px;transform:translateY(-.5px)}.map-crosshair:after{left:50%;top:0;width:1px;height:100%;transform:translate(-.5px)}.map-overlay{position:absolute;bottom:14px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:6px 12px;background:#111827d9;color:#f8fafc;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 8px 16px #0f172a59;border-radius:999px}.map-overlay span:last-child{font-size:.7rem;opacity:.85}.map-footnote{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}.map-marker circle:last-child{fill:#dc2626}.location-details{display:flex;flex-direction:column;gap:12px}.location-item{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #e5e7eb;padding:8px 0}.location-item:last-of-type{border-bottom:none}.location-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#475569}.location-value{font-size:1rem;font-weight:600;color:#0f172a;word-break:break-word}.location-value--emphasis{font-size:1.05rem}.location-subvalue{font-size:.85rem;color:#475569;font-weight:500}.location-note{font-size:.85rem;color:#64748b;line-height:1.5}.insights-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.insight-card{border-radius:12px;padding:12px 14px;background:#0f172a0a;box-shadow:inset 0 1px #ffffffbf}.insight-card h4{margin:0 0 10px;font-size:1.08rem;font-weight:600;color:#0f172a}.insight-card ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}.insight-card li{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #e5e7eb;padding-bottom:6px}.insight-card li:last-of-type{border-bottom:none;padding-bottom:0}.field-name{font-size:.72rem;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.field-value{font-size:.98rem;color:#0f172a;word-break:break-word}.field-subvalue{display:block;margin-top:.3rem;font-size:.78rem;font-weight:500;color:#64748b}.binary-warning{background:#fef3c7;color:#92400e;border:1px solid #fcd34d;border-radius:12px;padding:12px 16px;margin-bottom:12px;box-shadow:inset 0 0 0 1px #92400e1f}.binary-warning strong{display:block;font-size:.95rem;margin-bottom:4px}.binary-warning p{margin:0 0 6px;font-size:.85rem;color:inherit}.binary-warning ul{margin:0;padding-left:18px;font-size:.85rem}.binary-warning li{margin-bottom:4px}.binary-warning li:last-child{margin-bottom:0}.raw-metadata-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.raw-metadata-toggle{border:1px solid #1f2937;background:#111827;color:#e5e7eb;padding:6px 12px;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.raw-metadata-toggle:hover:not(:disabled){background:#1f2937}.raw-metadata-toggle:disabled{opacity:.4;cursor:not-allowed}.raw-metadata-toggle.is-active{background:#2563eb;border-color:#2563eb;color:#fff}.raw-metadata-content{padding:14px;max-height:320px;overflow:auto;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;line-height:1.5;color:#e5e7eb;background:#0b1220;border-radius:12px;box-shadow:inset 0 0 0 1px #ffffff14}.raw-metadata-content pre{margin:0}.raw-metadata-placeholder{font-size:.95rem;color:#9ca3af}.raw-metadata-empty{font-size:.95rem;color:#6b7280}.raw-metadata-footnote{margin-top:8px;font-size:.8rem;color:#6b7280}.bottom-bar{position:fixed;left:0;right:0;bottom:0;background:#fff;color:#111827;border-top:1px solid #e5e7eb;padding:14px 20px calc(14px + env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:2000;box-shadow:0 -2px 8px #0000000a}.landing-bottom-bar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e5e7eb;padding:14px 20px calc(14px + env(safe-area-inset-bottom));display:flex;justify-content:center;align-items:center;z-index:2000;box-shadow:0 -2px 8px #0000000a}.landing-bottom-bar__cta{display:inline-flex;align-items:center;justify-content:center;width:min(420px,100%)}.bottom-bar__actions{display:flex;gap:10px}.tool-button{background:#000;color:#fff;border-color:transparent;padding:10px 20px;font-weight:600;border-radius:8px;transition:background-color .15s ease,transform .1s ease;font-size:.95rem}.tool-button:hover{background:#1a1a1a;transform:translateY(-1px)}.tool-button:active{transform:translateY(0)}.bottom-bar__status{font-size:.85rem;color:#6b7280;font-weight:500}.modal-backdrop{position:fixed;inset:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;padding:24px;z-index:60}.modal{width:min(440px,100%);background:#fff;border:1px solid #d1d5db;padding:20px;display:flex;flex-direction:column;gap:14px}.modal h3{margin:0;font-size:1.1rem;font-weight:600}.modal p{margin:0;font-size:.95rem;line-height:1.6;color:#4b5563}.modal-error{padding:10px 12px;font-size:.9rem;color:#7f1d1d;background:#fee2e2;border:1px solid #fca5a5}.modal-actions{display:flex;gap:10px}.modal-primary{flex:1}.modal-check{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;color:#374151}.modal-check input{width:16px;height:16px}.toast{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;padding:16px 20px;background:#ffffffeb;-webkit-backdrop-filter:saturate(160%) blur(8px);backdrop-filter:saturate(160%) blur(8px);border:1px solid rgba(0,0,0,.06);border-radius:14px;box-shadow:0 12px 32px #0000002e;z-index:100;max-width:520px;width:calc(100% - 40px);animation:slideUp .28s ease-out}@keyframes slideUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.toast-warning{border-left:4px solid #dc2626}.toast-warning .toast-icon{color:#dc2626;width:20px;height:20px;flex-shrink:0}.toast-success{border-left:4px solid #16a34a}.toast-success .toast-icon{color:#16a34a;width:20px;height:20px;flex-shrink:0}.toast-content{flex:1;display:flex;flex-direction:column;gap:2px}.toast-content strong{font-size:1rem;font-weight:600;color:#111827}.toast-content span{font-size:.9rem;color:#6b7280;line-height:1.4}.toast-close{background:none;border:none;padding:4px;cursor:pointer;color:#9ca3af;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:color .15s ease}.toast-close:hover{color:#374151}.toast-close svg{width:16px;height:16px}@media(max-width:960px){.results-header,.location-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){.toast{bottom:calc(72px + env(safe-area-inset-bottom));padding:14px 16px;max-width:none;width:calc(100% - 32px)}.toast-icon{width:18px;height:18px}.toast-content strong{font-size:.96rem}.toast-content span{font-size:.86rem}header{padding:calc(14px + env(safe-area-inset-top)) var(--side-padding) 14px;justify-content:flex-start;gap:8px}.header-help{font-size:.9rem;padding:6px 8px}header .logo{font-size:1.3rem}.app{padding:calc(62px + env(safe-area-inset-top)) var(--side-padding) calc(110px + env(safe-area-inset-bottom))}.app--landing main{align-items:stretch}.tool-section--landing{gap:14px}.hero-sample-button{bottom:12px;right:12px;padding:8px 16px;font-size:.88rem}.hero-title{font-size:2.2rem;line-height:1.15}.hero-description{font-size:.98rem}.results,.results-header{gap:16px}.image-container{padding:10px}.location-map{padding:8px}.bottom-bar{flex-direction:column;align-items:stretch;padding:12px 16px;gap:10px;box-shadow:0 -2px 12px #0000000f}.bottom-bar__actions{justify-content:stretch}.tool-button{width:100%}.stats-grid{grid-template-columns:minmax(0,1fr);column-gap:0}}.stat-item.name-row{grid-column:1 / -1;display:flex;justify-content:space-between;gap:12px;padding:8px 0}.stat-item.name-row .stat-label{min-width:100px;flex-shrink:0}.stat-item.name-row .stat-value{text-align:left}@media(max-width:720px){.stat-item.name-row{flex-direction:column;gap:4px}.stat-item.name-row .stat-label{margin-bottom:0}.stat-item.name-row .stat-value{text-align:left}}.help-page{--help-bg: #ffffff;--help-card: #ffffff;--help-muted: #4b5563;--help-text: #0f172a;--help-accent: #2563eb;background:var(--help-bg);color:var(--help-text);min-height:100dvh}.help-page a{color:var(--help-accent);text-decoration:none}.help-page header .header-help{color:#fff;opacity:.95}.help-page header .header-help:hover{opacity:1;background:#ffffff14;text-decoration:none}.help-page header .breadcrumb{margin-left:12px;display:inline-flex;align-items:center;gap:8px;color:#e5e7eb;opacity:.9;font-size:.95rem;font-weight:600}.help-page header .breadcrumb-link{color:#e5e7eb}.help-page header .breadcrumb-link:hover{opacity:1;text-decoration:underline}.help-page header .breadcrumb-sep{opacity:.8}.help-page header .breadcrumb-current{opacity:1}.help-page a:hover{text-decoration:underline}.help-wrap{max-width:1080px;margin:0 auto;padding:var(--header-height) var(--side-padding) var(--landing-bottom-bar-height)}.help-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px}.help-back{display:inline-flex;align-items:center;gap:8px;color:#374151;text-decoration:none;font-weight:600}.help-back:hover{text-decoration:underline}.help-back__chevron{display:inline-block}.help-brand{font-weight:800;letter-spacing:.2px;color:#0f172a}.help-brand:hover{text-decoration:none}.help-title{font-size:clamp(2.2rem,4.5vw,3rem);line-height:1.15;margin:18px 0 10px;font-weight:800;letter-spacing:-.02em}.help-subtitle{color:#374151;margin:0 0 18px}.help-grid{display:grid;grid-template-columns:1fr;gap:14px}.help-card{background:var(--help-card);border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:16px;box-shadow:0 2px 8px #0000000d}.help-card h2{margin:0 0 8px;font-size:1.08rem}.help-card p,.help-card li{color:var(--help-muted);margin:6px 0}.help-card ul{margin:8px 0 0 18px;padding:0}.help-note{font-size:.9rem;color:#6b7280}.help-footer{margin-top:26px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--help-muted);font-size:.95rem;flex-wrap:wrap}.help-cta{display:inline-flex;align-items:center;gap:8px;background:#000;color:#fff;padding:10px 14px;border-radius:10px;border:1px solid rgba(15,23,42,.08)}.help-cta:hover{background:#1a1a1a;text-decoration:none}.help-card--wide{grid-column:1 / -1}.help-section-title{margin:10px 0 6px;font-size:.98rem}@media(min-width:880px){.help-grid{grid-template-columns:1fr 1fr}}
