:root {
  --ink: #122b29;
  --muted: #4f655f;
  --paper: #f7f8f3;
  --card: #fff;
  --line: #dce4dd;
  --green: #176d5d;
  --green-dark: #0e4b43;
  --lime: #cbe65b;
  --tax: #e2a744;
  --record: #176d5d;
  --land: #b27a3b;
  --health: #4aa88c;
  --risk: #7187c4;
  --imagery: #7667aa;
  --services: #9a6aad;
  --danger: #a44236;
  --shadow: 0 20px 60px rgba(28, 59, 53, .11);
  --radius: 22px;
  --site-header-height: 68px;
}
.sr-only { 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; }
.button:disabled { cursor: not-allowed; opacity: .58; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-header { height: var(--site-header-height); padding: 0 clamp(1.2rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; background: rgba(247,248,243,.93); border-bottom: 1px solid rgba(18,43,41,.08); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 30; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 1.14rem; font-weight: 760; letter-spacing: -.03em; }
.brand-logo { width: 50px; height: auto; display: block; flex: 0 0 auto; }
.brand-name { white-space: nowrap; }
.empty-state > .empty-prism { width: 112px; height: auto; display: block; margin: 0 auto 2rem; transform: none; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; font-size: .91rem; font-weight: 650; }
.site-nav a:not(.button) { text-decoration: none; }
.site-nav form { margin: 0; }
.nav-button { border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: .5rem 0; font-weight: 650; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 999px; padding: .88rem 1.35rem; background: var(--ink); color: white; text-decoration: none; font-weight: 720; cursor: pointer; box-shadow: 0 8px 24px rgba(18,43,41,.16); transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-1px); background: var(--green-dark); }
.button-small { padding: .62rem 1rem; }
.button-full { width: 100%; }
.button-light { background: white; color: var(--ink); box-shadow: 0 8px 26px rgba(18,43,41,.09); }
.button-danger { background: var(--danger); }
.text-link, .back-link { font-weight: 700; text-underline-offset: 4px; }
.eyebrow { display: block; margin-bottom: .7rem; color: var(--green); font-size: .73rem; font-weight: 820; letter-spacing: .16em; text-transform: uppercase; }
.message-stack { position: fixed; right: 1.5rem; top: 90px; z-index: 40; display: grid; gap: .6rem; max-width: 390px; }
.message { padding: .9rem 1.05rem; background: white; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; box-shadow: var(--shadow); }
.message-error, .message-warning { border-left-color: var(--tax); }
.site-footer { min-height: 90px; padding: 2rem clamp(1.2rem,4vw,4.5rem); display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .86rem; }
.hero { min-height: calc(100vh - var(--site-header-height)); padding: clamp(4rem,9vw,8rem) clamp(1.2rem,7vw,8rem); display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); align-items: center; gap: clamp(3rem,8vw,9rem); overflow: hidden; background: radial-gradient(circle at 77% 44%,#d8e8d8 0,rgba(216,232,216,.25) 31%,transparent 52%); }
.hero-copy > .eyebrow { margin-bottom: .15rem; }
.hero h1 { max-width: 760px; font-size: clamp(3.5rem,7vw,7.8rem); margin-bottom: 1.5rem; }
.hero h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 400; }
.hero-copy > p { max-width: 610px; color: var(--muted); font-size: clamp(1.05rem,1.6vw,1.3rem); }
.hero-copy > p em { color: var(--green); font-family: Georgia, serif; font-size: 1.08em; font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.hero-prism { min-height: 560px; position: relative; }
.prism-map { position: absolute; inset: 7% 1% 5% 5%; border-radius: 48% 52% 45% 55% / 48% 42% 58% 52%; background: linear-gradient(135deg,#d7e0d3,#edf1e8); box-shadow: inset 0 0 0 1px rgba(18,43,41,.05),var(--shadow); transform: rotate(-5deg); }
.map-road { position: absolute; display: block; height: 12px; background: rgba(255,255,255,.86); border: 1px solid rgba(18,43,41,.05); border-radius: 20px; }
.road-one { width: 115%; left: -8%; top: 47%; transform: rotate(28deg); }.road-two { width: 90%; left: 10%; top: 55%; transform: rotate(-38deg); }
.map-pin, .large-map-pin { position: absolute; left: 48%; top: 41%; width: 46px; height: 46px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--ink); box-shadow: 0 12px 26px rgba(18,43,41,.28); }
.map-pin b, .large-map-pin i { position: absolute; inset: 13px; border-radius: 50%; background: var(--lime); }
.float-card { position: absolute; width: 190px; padding: 1rem 1.1rem; background: rgba(255,255,255,.94); border: 1px solid rgba(18,43,41,.08); border-radius: 14px; box-shadow: 0 15px 45px rgba(18,43,41,.14); transform: rotate(5deg); }
.float-card span { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }.float-card strong { display: block; margin-top: .3rem; }
.card-tax { top: 4%; right: -6%; border-top: 4px solid var(--tax); }.card-health { left: -7%; bottom: 17%; border-top: 4px solid var(--health); }.card-risk { right: 1%; bottom: 1%; border-top: 4px solid var(--risk); }
.layer-intro { padding: 7rem clamp(1.2rem,7vw,8rem); background: var(--ink); color: white; }.section-heading { max-width: 740px; margin-bottom: 3.5rem; }.section-heading h2 { font-size: clamp(2.4rem,5vw,4.8rem); }.section-heading p { color: #b7c9c3; font-size: 1.1rem; }.layer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }.layer-teaser { min-height: 280px; padding: 1.5rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); }.layer-teaser h3 { margin-top: 2rem; font-size: 2rem; }.layer-teaser p { color: #b7c9c3; }.layer-number { font: italic 1.2rem Georgia,serif; }.record-accent { border-top: 4px solid #45b39c; }.land-accent { border-top: 4px solid var(--land); }.health-accent { border-top: 4px solid var(--health); }.risk-accent { border-top: 4px solid var(--risk); }.imagery-accent { border-top: 4px solid var(--imagery); }.services-accent { border-top: 4px solid var(--services); }

.stewardship { padding: clamp(5rem,8vw,8rem) clamp(1.2rem,7vw,8rem); display: grid; grid-template-columns: minmax(0,.9fr) minmax(500px,1.1fr); align-items: start; gap: clamp(3rem,8vw,8rem); background: radial-gradient(circle at 85% 8%,rgba(203,230,91,.18),transparent 27%),var(--paper); }
.stewardship-heading { max-width: 690px; }
.stewardship-heading h2 { margin-bottom: 1.35rem; font-size: clamp(2.8rem,4.7vw,5.4rem); }
.stewardship-heading h2 i { display: block; margin-top: .4em; color: var(--muted); font-size: .46em; font-weight: 400; line-height: 1.22; letter-spacing: -.01em; }
.stewardship-heading > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.stewardship-grid { display: grid; gap: 1rem; }
.stewardship-card { min-height: 230px; padding: clamp(1.6rem,3vw,2.4rem); position: relative; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 44px rgba(18,43,41,.08); }
.stewardship-card::after { content: ""; width: 130px; height: 130px; position: absolute; right: -55px; bottom: -65px; border: 18px solid rgba(18,43,41,.035); border-radius: 50%; }
.family-visibility-card { border-top: 4px solid var(--health); }
.ai-workflow-card { border-top: 4px solid var(--risk); }
.transaction-card { border-top: 4px solid var(--tax); }
.stewardship-label { display: block; color: var(--green); font-size: .7rem; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.stewardship-card h3 { max-width: 650px; margin: .8rem 0 .85rem; font-size: clamp(1.7rem,2.6vw,2.45rem); }
.stewardship-card p { max-width: 680px; margin: 0; position: relative; z-index: 1; color: var(--muted); }
.auth-shell { min-height: calc(100vh - var(--site-header-height)); display: grid; grid-template-columns: 1fr 1fr; }.auth-aside { padding: clamp(4rem,9vw,9rem); display: flex; flex-direction: column; justify-content: flex-end; color: white; background: radial-gradient(circle at 70% 20%,#376b62,transparent 35%),var(--ink); }.auth-aside h1 { max-width: 650px; font-size: clamp(3rem,6vw,6rem); }.auth-aside p { max-width: 530px; color: #b7c9c3; font-size: 1.1rem; }.auth-card { width: min(520px,calc(100% - 3rem)); margin: auto; padding: 3rem; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }.auth-card h2 { font-size: 2.25rem; }
.field-group { display: grid; gap: .42rem; margin-bottom: 1.1rem; }.field-group label { font-size: .82rem; font-weight: 750; }.field-group small { color: var(--muted); }.form-control { width: 100%; min-height: 48px; padding: .8rem .9rem; color: var(--ink); background: #fbfcf9; border: 1px solid #cad6ce; border-radius: 10px; outline: none; }.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,109,93,.12); }.errorlist { margin: 0; padding: 0; list-style: none; color: var(--danger); font-size: .82rem; }.form-errors,.notice { margin-bottom: 1.2rem; padding: .9rem 1rem; border-radius: 10px; background: #fff3df; color: #704b12; }.auth-switch { margin: 1.3rem 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.page-shell { width: min(1320px,calc(100% - 2.4rem)); margin: 0 auto; padding: 4rem 0 7rem; }.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }.page-header h1 { margin-bottom: .5rem; font-size: clamp(2.8rem,5vw,5rem); }.page-header p { color: var(--muted); }.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.3rem; }.property-card { overflow: hidden; text-decoration: none; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(18,43,41,.06); transition: transform .2s,box-shadow .2s; }.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }.mini-map { height: 150px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 46%,rgba(255,255,255,.86),rgba(255,255,255,0) 38%),linear-gradient(135deg,#dbe4d9,#edf0e8); }.property-card-prism { width: 96px; max-width: 42%; height: auto; filter: drop-shadow(0 9px 16px rgba(18,43,41,.12)); }.property-card-body { padding: 1.35rem; }.property-card-body h2 { margin: .55rem 0; font-size: 1.45rem; }.property-card-body p { min-height: 48px; color: var(--muted); font-size: .9rem; }.status-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #c2cac5; }.status-dot.ready { background: var(--health); box-shadow: 0 0 0 5px rgba(74,168,140,.13); }.card-layer-row { display: flex; gap: .45rem; margin: 1.2rem 0; }.card-layer-row span { padding: .28rem .55rem; background: var(--paper); border-radius: 999px; color: var(--muted); font-size: .74rem; font-weight: 750; }.card-link { display: flex; justify-content: space-between; font-weight: 750; font-size: .88rem; }.empty-state { max-width: 760px; margin: 4rem auto; padding: 4rem; text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }.empty-state h2 { font-size: 2.4rem; }.empty-state p { color: var(--muted); }
.onboarding-shell { min-height: calc(100vh - var(--site-header-height)); padding: 4rem 1.2rem 7rem; background: radial-gradient(circle at 50% 0,#e1ece1,transparent 45%); }.onboarding-progress { width: min(460px,90%); margin: 0 auto 2rem; display: grid; grid-template-columns: 28px 1fr 28px 1fr 28px; align-items: center; text-align: center; color: var(--muted); font-size: .68rem; }.onboarding-progress span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #dce4dd; font-weight: 800; }.onboarding-progress span.active { background: var(--ink); color: white; }.onboarding-progress i { height: 1px; background: #cbd6ce; }.onboarding-progress p { margin: .4rem -1rem 0; grid-row: 2; }.onboarding-progress p:nth-of-type(1){grid-column:1}.onboarding-progress p:nth-of-type(2){grid-column:3}.onboarding-progress p:nth-of-type(3){grid-column:5}.onboarding-card { width: min(760px,100%); margin: auto; padding: clamp(1.5rem,5vw,4rem); background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }.onboarding-card h1 { font-size: clamp(2.6rem,5vw,4.5rem); }.lede { color: var(--muted); font-size: 1.06rem; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }.compact-row { display: grid; grid-template-columns: .65fr 1.35fr; gap: .7rem; }.form-consent { display: flex; gap: .9rem; padding: 1rem; background: #f1f6f1; border-radius: 12px; }.form-consent p { margin: 0; color: var(--muted); font-size: .85rem; }.pin-mini { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50% 50% 50% 3px; transform: rotate(-45deg); background: var(--green); }.form-actions { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.property-workspace { background: #eff3ed; min-height: 100vh; }.property-heading { padding: 2.3rem clamp(1.2rem,4vw,4.5rem) 1.8rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; background: var(--paper); }.property-heading h1 { margin: .2rem 0 .35rem; font-size: clamp(2.5rem,5vw,4.8rem); }.property-heading p { margin: 0; color: var(--muted); }.property-identity,.property-heading-evidence { min-width: 0; }.back-link { display: block; margin-bottom: 1.5rem; color: var(--muted); font-size: .85rem; text-decoration: none; }.property-actions { display: flex; align-items: center; gap: 1rem; }.run-status { display: inline-flex; gap: .45rem; align-items: center; padding: .55rem .8rem; background: #e5ebe5; border-radius: 999px; font-size: .78rem; font-weight: 750; }.run-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }.status-succeeded i { background: var(--health); }.status-failed i { background: var(--danger); }.status-partial i { background: var(--tax); }
.tracked-recommendations { width: min(1360px,calc(100% - 2.4rem)); margin: 1.4rem auto 0; padding: 1rem 1.15rem; background: white; border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: 18px; box-shadow: 0 10px 34px rgba(18,43,41,.07); scroll-margin-top: calc(var(--site-header-height) + 1.25rem); }
.tracked-recommendations > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.tracked-recommendations .eyebrow { margin-bottom: .15rem; }
.tracked-recommendations h2 { margin: 0; font-size: 1.3rem; }
.tracked-recommendations header p { margin: .25rem 0 0; color: var(--muted); font-size: .75rem; }
.tracked-count { padding: .38rem .58rem; color: var(--green-dark); background: #edf5e7; border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.tracked-recommendation-list { margin-top: .8rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.tracked-recommendation { min-width: 0; padding: .7rem .8rem; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem .8rem; align-items: center; background: #f7f9f5; border: 1px solid var(--line); border-radius: 10px; }
.tracked-recommendation > div > span { display: block; color: var(--green); font-size: .61rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tracked-recommendation > div > button,.tracked-recommendation > div > strong { display: block; margin-top: .15rem; padding: 0; color: var(--ink); text-align: left; background: transparent; border: 0; font-size: .8rem; font-weight: 780; }
.tracked-recommendation > div > button { cursor: pointer; text-decoration: underline; text-decoration-color: #9eb4aa; text-underline-offset: 3px; }
.tracked-recommendation > form button { padding: .25rem 0; color: var(--danger); background: transparent; border: 0; cursor: pointer; font-size: .66rem; font-weight: 760; }
.tracked-recommendation > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .7rem; }
.tracked-recommendation-stale { background: #fff8ed; border-color: #ead4ac; }
.map-stage { width: min(1320px,calc(100% - 2.4rem)); margin: 1.4rem auto 0; position: relative; padding: clamp(1.2rem,3vw,2.2rem); overflow: hidden; background: radial-gradient(circle at 12% 12%,rgba(203,230,91,.16),transparent 27%),#dfe8dc; border: 1px solid rgba(18,43,41,.1); border-radius: 24px; }
.map-stage-empty { min-height: 330px; display: grid; place-items: center; }
.property-map-heading { margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.property-map-heading h2 { max-width: 760px; margin: 0 0 .45rem; font-size: clamp(1.65rem,3vw,2.8rem); }
.property-map-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.property-map-extent { min-width: 310px; margin: 0; padding: .75rem .9rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; background: rgba(255,255,255,.78); border: 1px solid rgba(18,43,41,.1); border-radius: 12px; }
.property-map-extent dt { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.property-map-extent dd { margin: .12rem 0 0; font-size: .68rem; font-weight: 730; }
.property-map-frame { min-height: 340px; position: relative; overflow: hidden; background: #eaf0e7; border: 1px solid rgba(18,43,41,.14); border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.38),0 18px 46px rgba(18,43,41,.1); }
.property-map-interactive,.property-map-svg { width: 100%; height: clamp(340px,38vw,430px); display: block; }
.property-map-interactive { z-index: 0; background: #dfe7dd; font-family: inherit; }
.property-map-interactive[hidden],.property-map-fallback[hidden] { display: none; }
.property-map-svg { color: rgba(18,43,41,.11); }
.property-map-background { fill: #e9f0e6; }
.property-map-grid { color: rgba(18,43,41,.11); }
.property-map-compass { color: var(--ink); fill: currentColor; }
.property-map-compass text { font-size: 18px; font-weight: 820; letter-spacing: .08em; }
.property-map-layer[hidden] { display: none; }
.property-map-basin-hatch { stroke: rgba(74,168,140,.3); }
.map-layer-basin { color: rgba(74,168,140,.3); fill: url(#property-map-basin-fill); stroke: #317d6a; stroke-width: 3; vector-effect: non-scaling-stroke; }
.map-layer-mined-area { fill: rgba(113,135,196,.2); stroke: #4b61a5; stroke-width: 4; stroke-dasharray: 10 5; vector-effect: non-scaling-stroke; }
.map-layer-parcel { fill: rgba(203,230,91,.22); stroke: var(--ink); stroke-width: 4; vector-effect: non-scaling-stroke; }
.map-layer-hydrography { fill: none; stroke: #2d79a6; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 2px rgba(18,43,41,.16)); }
.map-layer-soil path { fill: rgba(226,167,68,.2); stroke: #a56d16; stroke-width: 4; stroke-dasharray: 8 5; vector-effect: non-scaling-stroke; }
.map-layer-soil text { fill: #65430d; paint-order: stroke; stroke: #f7f8f3; stroke-width: 5; stroke-linejoin: round; font-size: 17px; font-weight: 820; letter-spacing: .04em; }
.map-layer-property path { fill: none; stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.property-map-property-halo { fill: rgba(203,230,91,.35); stroke: rgba(18,43,41,.2); stroke-width: 2; }
.property-map-property-point { fill: var(--ink); stroke: white; stroke-width: 3; }
.map-runtime-status { max-width: calc(100% - 120px); position: absolute; z-index: 1002; right: .8rem; top: 3.15rem; margin: 0; padding: .42rem .62rem; color: var(--ink); text-align: right; background: rgba(255,255,255,.92); border: 1px solid rgba(18,43,41,.12); border-radius: 8px; box-shadow: 0 4px 18px rgba(18,43,41,.1); font-size: .68rem; font-weight: 720; pointer-events: none; }
.map-runtime-error { color: #704b12; background: rgba(255,243,223,.96); }
.property-map-interactive .leaflet-control-zoom a { color: var(--ink); }
.property-map-interactive .leaflet-control-attribution { color: #52645e; background: rgba(255,255,255,.88); font-size: 9px; }
.property-map-interactive .leaflet-control-attribution a { color: var(--green-dark); }
.property-map-interactive .leaflet-control-scale-line { color: var(--ink); background: rgba(255,255,255,.78); border-color: var(--ink); }
.map-toolbar { width: fit-content; max-width: 100%; margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem; padding: .5rem; background: rgba(255,255,255,.94); border: 1px solid rgba(18,43,41,.1); border-radius: 18px; box-shadow: var(--shadow); }
.map-toolbar > span { padding: 0 .55rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.layer-toggle { padding: .55rem .8rem; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .8rem; font-weight: 750; }
.layer-toggle i { width: 10px; height: 10px; display: inline-block; margin-right: .35rem; border-radius: 50%; background: currentColor; }
.layer-toggle.active { color: var(--ink); background: #edf1eb; }
.layer-toggle:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 2px; border-color: var(--green); }
.map-toggle-property i { color: var(--ink); }
.map-toggle-basemap i { color: #7a8d7b; border: 1px solid #52645e; background: linear-gradient(135deg,#cbdcbd 50%,#e2c987 50%); }
.map-toggle-parcel i { color: var(--ink); border: 2px solid var(--ink); background: rgba(203,230,91,.45); }
.map-toggle-hydrography i { color: #2d79a6; border-radius: 2px; }
.map-toggle-basin i { color: var(--health); border: 2px solid #317d6a; background: rgba(74,168,140,.3); }
.map-toggle-mined-area i { color: var(--risk); border: 2px dashed #4b61a5; background: rgba(113,135,196,.25); }
.map-toggle-soil i { color: var(--tax); border: 2px dashed #a56d16; background: rgba(226,167,68,.2); }
.map-reset { margin-left: .2rem; color: var(--green-dark); border-color: rgba(23,109,93,.2); }
.layer-tax i { color: var(--tax); }.layer-health i { color: var(--health); }.layer-risk i { color: var(--risk); }
.map-disclosure { max-width: 850px; margin: .75rem 0 0 auto; color: var(--muted); text-align: right; font-size: .7rem; }
.property-map-unavailable { width: min(720px,100%); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; }
.property-map-unavailable h2 { margin: 0 0 .45rem; font-size: clamp(1.7rem,3vw,2.7rem); }
.property-map-unavailable p { margin: 0; color: var(--muted); }
.property-content { width: min(1500px,calc(100% - 2.4rem)); margin: 0 auto; padding: 3rem 0 7rem; display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 2rem; }.property-summary { position: sticky; top: 100px; height: fit-content; padding: 1.2rem; }.property-summary dl { margin: 1.5rem 0; }.property-summary dl div { padding: .9rem 0; border-bottom: 1px solid var(--line); }.property-summary dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }.property-summary dd { margin: .25rem 0 0; font-weight: 750; }.danger-link { color: var(--danger); font-size: .78rem; font-weight: 700; }.layer-feed { min-width: 0; display: grid; gap: 1.2rem; }.layer-panel { min-width: 0; padding: clamp(1.2rem,3vw,2.2rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(18,43,41,.05); }.layer-panel[hidden] { display: none; }.layer-panel > header { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 1rem; align-items: start; }.layer-panel > header h2 { max-width: 730px; margin: 0; overflow-wrap: anywhere; font-size: clamp(1.5rem,3vw,2.5rem); }.layer-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #f3f5f0; }.layer-icon i { width: 16px; height: 16px; border-radius: 5px; transform: rotate(45deg); }.panel-tax .layer-icon i { background: var(--tax); }.panel-health .layer-icon i { background: var(--health); }.panel-risk .layer-icon i { background: var(--risk); }.layer-state,.status-badge { display: inline-block; padding: .35rem .58rem; border-radius: 999px; background: #eef2ec; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 820; }.state-sourced { color: var(--green); background: #e1f1e9; }.facts-label { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 .9rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 820; }.facts-label i { height: 1px; flex: 1; background: var(--line); }.guidance-label { margin-top: 2.5rem; }.observation-list { display: grid; gap: .8rem; }.observation-card { padding: 1.15rem; border: 1px solid var(--line); border-left: 4px solid #ccd5ce; border-radius: 14px; }.observation-card.status-current { border-left-color: var(--health); }.observation-card.status-provisional { border-left-color: var(--tax); }.observation-card.status-review_required { border-left-color: #d16e4b; }.observation-top { display: flex; justify-content: space-between; gap: 1rem; }.observation-top h3 { margin: .5rem 0 0; font-size: 1.12rem; }.metric { text-align: right; }.metric strong { display: block; font-size: 1.8rem; }.metric span { color: var(--muted); font-size: .75rem; }.source-strip { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .69rem; }.source-strip b { color: var(--ink); }.source-strip a { margin-left: auto; color: var(--green); font-weight: 750; }.limitation,.review-issue { margin: .7rem 0 0; color: var(--muted); font-size: .75rem; }.rate-components { margin-top: 1rem; }.rate-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }.rate-row strong,.rate-row span,.rate-row b { display: block; }.rate-row span { color: var(--muted); font-size: .72rem; }.rate-row > div:last-child { text-align: right; }.warning-list { color: #734521; }.payment-note { margin-top: 1rem; padding: .8rem; background: #f5f1e5; border-radius: 10px; }.payment-note p { margin: .3rem 0 0; font-size: .82rem; }.payment-record { margin-top: .8rem; padding: .9rem; background: #fafbf8; border: 1px solid var(--line); border-radius: 10px; }.payment-record-head { display: flex; justify-content: space-between; gap: 1rem; }.payment-record-head span { color: var(--muted); font-size: .72rem; }.boundary-warning { padding: .7rem; color: #75431c; background: #fff0d8; border-radius: 8px; }.term-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-top: .7rem; }.term-grid > div { padding: .7rem; background: white; border-radius: 8px; }.term-grid span,.term-grid strong,.term-grid small { display: block; }.term-grid span,.term-grid small { color: var(--muted); font-size: .68rem; }.payment-sources { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; color: var(--muted); font-size: .7rem; }.layer-empty { margin-top: 1.5rem; padding: 2.4rem; text-align: center; background: #f8faf6; border: 1px dashed #c9d3cb; border-radius: 14px; }.layer-empty h3 { margin: 1rem 0 .5rem; }.layer-empty p { max-width: 620px; margin: auto; color: var(--muted); }.empty-signal { width: 38px; height: 38px; display: inline-block; border: 2px solid #b9c6bc; border-radius: 50%; box-shadow: 0 0 0 9px #edf1ec,0 0 0 10px #d8e0d9; }.finding { padding: 1.2rem; display: flex; justify-content: space-between; gap: 2rem; background: #eff5ef; border-radius: 14px; }.finding h3 { margin: .25rem 0 .4rem; }.finding p { margin: 0; color: var(--muted); }.finding-kicker { color: var(--green); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 820; }.finding-source { min-width: 170px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; color: var(--muted); font-size: .7rem; }.finding-source a { color: var(--green); font-weight: 750; }.coverage-boundaries { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: 1.5rem; }.coverage-boundaries > div { padding: .9rem; background: #f8faf6; border: 1px solid var(--line); border-radius: 10px; }.coverage-boundaries strong,.coverage-boundaries span { display: block; }.coverage-boundaries span { margin: .25rem 0; color: var(--danger); font-size: .72rem; font-weight: 750; }.coverage-boundaries p { margin: 0; color: var(--muted); font-size: .72rem; }
.environment-observation { margin-top: 1rem; padding: 1rem; background: #f6f9f4; border: 1px solid var(--line); border-radius: 12px; }
.environment-observation-kicker { display: block; color: var(--green-dark); font-size: .66rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.environment-observation h4 { margin: .35rem 0 .45rem; line-height: 1.25; font-size: 1.05rem; }
.environment-observation > p { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; }
.observation-meaning { margin-top: 1rem; padding: 1rem; background: linear-gradient(135deg,#edf6f0,#f8faf5); border: 1px solid #cbded1; border-radius: 12px; }
.observation-meaning-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.observation-meaning-heading span,.observation-next-step > span { color: var(--green-dark); font-size: .66rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.observation-meaning-heading small { color: var(--muted); font-size: .7rem; }
.observation-meaning h4,.observation-next-step h4 { margin: .35rem 0 .4rem; line-height: 1.3; font-size: 1.05rem; }
.observation-meaning p,.observation-next-step p { margin: 0; color: var(--muted); font-size: .82rem; }
.observation-next-step { margin-top: .7rem; padding: .85rem 1rem; border-left: 3px solid var(--health); background: #f8faf6; border-radius: 0 10px 10px 0; }
.guidance-action { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; color: var(--green-dark); font-size: .78rem; font-weight: 800; text-decoration: none; }
.guidance-action:hover,.guidance-action:focus-visible { text-decoration: underline; }
.observation-source-details { margin-top: .7rem; }
.observation-source-details > summary { align-items: baseline; }
.observation-source-body { padding: 0 1rem 1rem; }
.observation-top { align-items: flex-start; }
.observation-badges,.observation-top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.observation-layer-badge { display: inline-flex; align-items: center; min-height: 28px; padding: .32rem .58rem; border-radius: 999px; font-size: .65rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.observation-layer-badge { color: #60420f; background: #f9e9c9; }
.panel-tax .observation-layer-badge { color: #0e594d; background: #e2f1e9; }
.panel-land .observation-layer-badge { color: #684312; background: #f6e8d4; }
.panel-health .observation-layer-badge { color: #0b5448; background: #dff1e9; }
.panel-risk .observation-layer-badge { color: #344b8b; background: #e5eafa; }
.panel-imagery .observation-layer-badge { color: #51436f; background: #eee9f6; }
.observation-card-details > summary:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 3px; }
.observation-top-actions { justify-content: flex-end; }
.observation-card-details { margin-top: .8rem; overflow: clip; border-top: 1px solid var(--line); }
.observation-card-details > summary { padding: .72rem 0 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--green-dark); cursor: pointer; font-size: .74rem; font-weight: 780; }
.observation-card-details > summary small { color: var(--muted); font-weight: 550; }
.observation-card-details[open] > summary { padding-bottom: .72rem; border-bottom: 1px solid var(--line); }
.observation-card-body { padding-top: .1rem; }
.compact-recommendation-list { display: grid; gap: .55rem; }
.compact-recommendation { width: 100%; padding: .75rem .9rem; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .8rem; color: var(--ink); text-align: left; background: #f8faf6; border: 1px solid var(--line); border-left: 4px solid var(--health); border-radius: 11px; cursor: pointer; }
.compact-recommendation > span { color: var(--green); font-size: .62rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.compact-recommendation > strong { font-size: .82rem; }
.compact-recommendation > i { color: var(--green-dark); font-size: .7rem; font-style: normal; font-weight: 780; }
.compact-recommendation:hover { background: #f1f7f1; }
.compact-recommendation:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 3px; }
@media (max-width: 650px) { .observation-meaning-heading { align-items: flex-start; flex-direction: column; gap: .2rem; } }
.soil-unit-list { margin-top: .8rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.soil-unit-list > section { min-width: 0; padding: .85rem; background: white; border: 1px solid var(--line); border-radius: 10px; }
.soil-unit-list > section > div { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.soil-unit-list > section > div span { color: var(--muted); font-size: .65rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.soil-unit-list > section > div strong { color: #65430d; font-size: 1.05rem; }
.soil-unit-list h5 { margin: .55rem 0; line-height: 1.25; font-size: .9rem; }
.soil-unit-list dl { margin: 0; display: grid; gap: .3rem; }
.soil-unit-list dl div { display: grid; grid-template-columns: minmax(90px,.7fr) minmax(0,1.3fr); gap: .5rem; padding-top: .3rem; border-top: 1px solid var(--line); }
.soil-unit-list dt { color: var(--muted); font-size: .65rem; }
.soil-unit-list dd { margin: 0; overflow-wrap: anywhere; font-size: .68rem; font-weight: 730; }
.normalized-source-list > section { align-content: start; }
.normalized-source-note { margin: .65rem 0 0; overflow-wrap: anywhere; color: var(--muted); font-size: .7rem; }
.normalized-source-note strong { display: block; margin-bottom: .15rem; color: var(--ink); font-size: .65rem; letter-spacing: .05em; text-transform: uppercase; }
.refresh-dialog { width: min(620px,calc(100% - 2rem)); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 100px rgba(18,43,41,.28); }.refresh-dialog::backdrop { background: rgba(12,31,29,.56); backdrop-filter: blur(4px); }.refresh-dialog form { padding: 2rem; }.dialog-close { float: right; border: 0; background: #edf1ec; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }.refresh-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-right: .5rem; }.refresh-dialog-heading h2 { margin: .2rem 0 0; }.ai-summary-switch { flex: 0 0 auto; display: inline-flex; cursor: pointer; }.ai-summary-switch > input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }.ai-summary-switch > span { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .65rem; color: var(--muted); background: #edf1ec; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }.ai-summary-switch i { width: 1.55rem; height: .9rem; position: relative; display: inline-block; background: #a9b5ac; border-radius: 999px; transition: background .15s ease; }.ai-summary-switch i::after { content: ""; width: .62rem; height: .62rem; position: absolute; top: .14rem; left: .14rem; background: white; border-radius: 50%; transition: transform .15s ease; }.ai-summary-switch input:checked + span { color: #205d4d; background: #e4f2eb; border-color: #afd2bf; }.ai-summary-switch input:checked + span i { background: var(--green); }.ai-summary-switch input:checked + span i::after { transform: translateX(.65rem); }.ai-summary-switch input:focus-visible + span { outline: 3px solid rgba(23,109,93,.28); outline-offset: 3px; }.ai-summary-privacy { margin: .7rem 0 1rem; padding: .75rem .85rem; color: var(--muted); background: #f5f7f3; border: 1px solid var(--line); border-radius: 10px; font-size: .72rem; }.check-row { display: flex; gap: .8rem; align-items: flex-start; margin: .7rem 0; padding: .85rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }.check-row input { margin-top: .25rem; accent-color: var(--green); }.check-row strong,.check-row small { display: block; }.check-row small { color: var(--muted); }.confirm-shell { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 3rem 1rem; }.confirm-card { width: min(620px,100%); padding: 3rem; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }.confirm-card h1 { font-size: 2.7rem; }.confirm-card > p { color: var(--muted); }.address-chip { margin: 1.5rem 0; padding: 1rem; background: #f5f6f2; border-radius: 10px; }.confirm-card form { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }.eyebrow.danger { color: var(--danger); }
.recommendation-dialog { width: min(620px,calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 20px; box-shadow: 0 30px 100px rgba(18,43,41,.3); }
.recommendation-dialog::backdrop { background: rgba(12,31,29,.62); backdrop-filter: blur(5px); }
.recommendation-dialog-card { padding: clamp(1.35rem,4vw,2rem); overflow-y: auto; background: white; border-top: 5px solid var(--record); border-radius: 20px; }
.recommendation-dialog.panel-land .recommendation-dialog-card { border-top-color: var(--land); }
.recommendation-dialog.panel-health .recommendation-dialog-card { border-top-color: var(--health); }
.recommendation-dialog.panel-risk .recommendation-dialog-card { border-top-color: var(--risk); }
.recommendation-dialog.panel-imagery .recommendation-dialog-card { border-top-color: var(--imagery); }
.recommendation-layer-label { display: inline-flex; margin-bottom: .7rem; padding: .32rem .55rem; color: #60420f; background: #f9e9c9; border-radius: 999px; font-size: .65rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.recommendation-dialog.panel-tax .recommendation-layer-label { color: #0e594d; background: #e2f1e9; }
.recommendation-dialog.panel-land .recommendation-layer-label { color: #684312; background: #f6e8d4; }
.recommendation-dialog.panel-health .recommendation-layer-label { color: #0b5448; background: #dff1e9; }
.recommendation-dialog.panel-risk .recommendation-layer-label { color: #344b8b; background: #e5eafa; }
.recommendation-dialog.panel-imagery .recommendation-layer-label { color: #51436f; background: #eee9f6; }
.recommendation-dialog h2 { max-width: 520px; margin: 0 0 .65rem; font-size: clamp(1.65rem,4vw,2.5rem); }
.recommendation-description { color: var(--muted); }
.recommendation-source-restriction { margin: 1rem 0; padding: .85rem .95rem; color: #654313; background: #fff5e3; border: 1px solid #ead5ae; border-radius: 10px; }
.recommendation-source-restriction p { margin: .25rem 0 0; font-size: .77rem; }
.recommendation-source-restriction a { color: #5b3b0f; font-weight: 780; text-underline-offset: 3px; }
.recommendation-provenance { margin: 1rem 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }
.recommendation-provenance > div { padding: .65rem .7rem; background: #f6f8f4; border: 1px solid var(--line); border-radius: 9px; }
.recommendation-provenance dt { color: var(--muted); font-size: .61rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.recommendation-provenance dd { margin: .2rem 0 0; overflow-wrap: anywhere; font-size: .74rem; font-weight: 720; }
.recommendation-dialog-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.recommendation-dialog-actions form { margin: 0; }
.recommendation-track-button,.recommendation-source-action { min-height: 44px; padding: .68rem 1rem; font-size: .78rem; }
.recommendation-action-boundary { margin: .75rem 0 0; color: var(--muted); font-size: .7rem; }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; }.hero-prism { min-height: 450px; }.layer-grid,.property-grid { grid-template-columns: 1fr 1fr; }.auth-shell { grid-template-columns: 1fr; }.auth-aside { min-height: 360px; padding: 3rem; }.property-content { grid-template-columns: 1fr; }.property-summary { position: static; }.property-heading { align-items: flex-start; flex-direction: column; }.property-actions { width: 100%; justify-content: space-between; }.coverage-boundaries { grid-template-columns: 1fr; } }
@media (max-width: 650px) { :root { --site-header-height: 58px; }.site-nav { gap: .8rem; }.site-nav > a:not(.button) { display: none; }.hero { padding-top: 3rem; }.hero h1 { font-size: 3.15rem; }.hero-prism { min-height: 360px; }.float-card { width: 150px; padding: .75rem; }.layer-grid,.property-grid,.form-grid { grid-template-columns: 1fr; }.auth-card { padding: 1.5rem; }.page-header { align-items: flex-start; flex-direction: column; }.map-toolbar { width: calc(100% - 1rem); justify-content: center; }.map-toolbar > span { display: none; }.layer-toggle { padding: .5rem .62rem; }.map-disclosure { max-width: calc(100% - 2rem); }.property-content { width: calc(100% - 1rem); }.layer-panel > header { grid-template-columns: 40px 1fr; }.layer-state { grid-column: 2; width: fit-content; }.observation-top,.finding,.rate-row { flex-direction: column; }.finding-source { align-items: flex-start; }.term-grid { grid-template-columns: 1fr; }.source-strip a { margin-left: 0; }.property-actions { align-items: flex-start; flex-direction: column; }.confirm-card form { align-items: stretch; flex-direction: column; }.site-footer { flex-direction: column; }.message-stack { left: 1rem; right: 1rem; } }
@media (max-width: 980px) { .property-map-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }.property-map-extent { width: 100%; }.property-map-frame { min-height: 320px; } }
@media (max-width: 650px) { .map-stage { width: calc(100% - 1rem); padding: 1.2rem .5rem; border-radius: 16px; }.property-map-heading { padding-inline: .5rem; }.property-map-heading h2 { font-size: 1.65rem; }.property-map-extent { grid-template-columns: 1fr; gap: .45rem; }.property-map-extent div { display: flex; justify-content: space-between; gap: 1rem; }.property-map-frame { min-height: 300px; border-radius: 14px; }.property-map-interactive,.property-map-svg { height: 340px; }.map-runtime-status { max-width: calc(100% - 88px); }.map-layer-soil text { font-size: 28px; }.map-toolbar { width: 100%; margin-top: .75rem; border-radius: 14px; }.map-toolbar > span { width: 100%; text-align: center; }.map-disclosure { max-width: none; margin-inline: .5rem; text-align: left; }.property-map-unavailable { padding: 1rem; grid-template-columns: 1fr; text-align: center; }.soil-unit-list { grid-template-columns: 1fr; } }

/* Permission-gated operations workspace. */
.operations-shell { width: min(1420px,calc(100% - 2.4rem)); margin: 0 auto; padding: 2.4rem 0 7rem; }
.operations-narrow { max-width: 900px; }
.operations-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.1rem; }
.operations-heading h1 { margin: .18rem 0 .45rem; font-size: clamp(2rem,4vw,4rem); line-height: 1; }
.operations-heading p { max-width: 780px; margin: 0; color: var(--muted); }
.operations-nav { display: flex; gap: .35rem; margin-bottom: 1.1rem; padding: .3rem; width: fit-content; border: 1px solid var(--line); border-radius: 999px; background: white; }
.operations-nav a { padding: .48rem .8rem; color: var(--muted); border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 780; }
.operations-nav a[aria-current="page"] { color: white; background: var(--ink); }
.operations-metrics,.dataset-fact-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; margin: 1rem 0 1.6rem; }
.operations-metrics > div,.dataset-fact-grid > div { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.operations-metrics span,.dataset-fact-grid span,.operations-control-card > span { display: block; color: var(--muted); font-size: .66rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.operations-metrics strong { display: block; margin-top: .2rem; font-size: 1.8rem; }
.dataset-fact-grid strong { display: block; margin-top: .25rem; overflow-wrap: anywhere; }
.operations-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 1.5rem 0 .7rem; }
.operations-section-heading h2 { margin: 0; font-size: 1.28rem; }
.operations-section-heading p { margin: .2rem 0 0; color: var(--muted); font-size: .78rem; }
.operations-section-heading a { color: var(--green); font-size: .78rem; font-weight: 780; }
.operations-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.operations-card { display: block; padding: 1.15rem; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; background: white; text-decoration: none; box-shadow: 0 8px 24px rgba(18,43,41,.04); }
.operations-card:hover { border-color: #9fbbb0; transform: translateY(-1px); }
.operations-card h3 { margin: .8rem 0 .2rem; }
.operations-card p { margin: 0; color: var(--muted); }
.operations-card dl { display: grid; grid-template-columns: repeat(2,1fr); gap: .5rem; margin: 1rem 0 0; }
.operations-card dl div { padding: .65rem; border-radius: 10px; background: #f5f7f2; }
.operations-card dt { color: var(--muted); font-size: .65rem; }
.operations-card dd { margin: .15rem 0 0; font-weight: 800; }
.operations-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; border: 1px dashed #b8c8bd; border-radius: 16px; }
.operations-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
.operations-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.operations-table th,.operations-table td { padding: .82rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.operations-table th { color: var(--muted); font-size: .63rem; letter-spacing: .07em; text-transform: uppercase; }
.operations-table tr:last-child td { border-bottom: 0; }
.operations-table a { color: var(--ink); text-decoration: none; }
.operations-table strong,.operations-table small { display: block; }
.operations-table small { margin-top: .16rem; color: var(--muted); }
.operations-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .45rem; }
.operations-tags span { padding: .18rem .34rem; color: #416158; border-radius: 999px; background: #edf3ee; font-size: .58rem; }
.operations-history { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: #f8faf8; }
.operations-history > summary { cursor: pointer; }
.operations-history > summary span { margin-left: .6rem; }
.operations-history > summary span,.operations-history > p { color: var(--muted); font-size: .72rem; }
.operations-history > p { margin: .55rem 0 .8rem; }
.operations-status { display: inline-flex; align-items: center; width: fit-content; padding: .3rem .48rem; color: #53625d; border-radius: 999px; background: #edf0ec; font-size: .62rem; font-weight: 820; letter-spacing: .045em; text-transform: uppercase; }
.operations-status.status-ready,.operations-status.status-certified,.operations-status.status-succeeded { color: #17614c; background: #dff1e8; }
.operations-status.status-error,.operations-status.status-failed,.operations-status.status-expired { color: #8a3d24; background: #ffe8dd; }
.operations-status.status-processing,.operations-status.status-queued,.operations-status.status-dispatch_pending { color: #72541b; background: #fff1cf; }
.operations-form,.operations-raw { padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.operations-form > label,.dataset-field-list label { display: grid; gap: .32rem; margin-bottom: .85rem; font-size: .75rem; font-weight: 760; }
.operations-form label small { color: var(--muted); font-weight: 500; }
.operations-form .errorlist { margin: 0; color: var(--danger); font-size: .7rem; }
.operations-secret-note { margin: .6rem 0 1rem; padding: .9rem; color: #325249; border-radius: 12px; background: #edf5ef; }
.operations-secret-note p { margin: .25rem 0 0; font-size: .76rem; }
.operations-secret-note code,.operations-control-card code { overflow-wrap: anywhere; }
.connection-control-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; }
.operations-control-card { display: flex; min-height: 190px; padding: 1rem; flex-direction: column; align-items: flex-start; gap: .35rem; border: 1px solid var(--line); border-radius: 15px; background: white; }
.operations-control-card strong { font-size: 1rem; }
.operations-control-card small { color: var(--muted); font-size: .69rem; }
.operations-control-card form { margin-top: auto; }
.operations-two-column { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(320px,.8fr); gap: 1rem; align-items: start; }
.operations-stack { display: grid; gap: 1rem; }
.dataset-field-list { display: grid; gap: .75rem; }
.dataset-field-list fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .7rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; }
.dataset-field-list legend { padding: 0 .3rem; color: var(--muted); font-size: .68rem; font-weight: 800; }
.operations-certify,.operations-certified { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; color: white; border-radius: 16px; background: var(--ink); }
.operations-certify p { margin: .2rem 0 0; color: #b9ccc5; font-size: .75rem; }
.operations-certified span { color: #b9ccc5; font-size: .72rem; }
.operations-runtime-warning { margin: 0 0 1rem; padding: .85rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #d7aa5d; border-left: 4px solid #bd7923; border-radius: 12px; background: #fff8e9; }
.operations-runtime-warning strong,.operations-runtime-warning p { display: block; }
.operations-runtime-warning p { margin: .2rem 0 0; color: var(--muted); font-size: .78rem; }
.operations-raw .operations-section-heading { margin-top: 0; }
.operations-raw dl { margin: 0; }
.operations-raw dl div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.operations-raw dt { color: var(--muted); font-size: .65rem; }
.operations-raw dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.query-row { display: grid; grid-template-columns: auto 1fr; gap: .25rem .5rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.query-row small { grid-column: 2; color: var(--muted); }
.button-danger-subtle { color: #8b3d2e; background: #fff1ec; border-color: #e5b8aa; }
.button-danger-subtle:hover { color: #783225; background: #ffe4db; border-color: #d89a88; }
@media (max-width: 950px) { .operations-metrics,.dataset-fact-grid,.connection-control-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.operations-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.operations-two-column { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .operations-shell { width: calc(100% - 1rem); padding-top: 1.2rem; }.operations-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }.operations-heading h1 { font-size: 2.25rem; }.operations-nav { width: 100%; }.operations-nav a { flex: 1; text-align: center; }.operations-metrics,.dataset-fact-grid,.connection-control-grid,.operations-card-grid { grid-template-columns: 1fr; }.operations-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.operations-control-card { min-height: 0; }.operations-control-card form { margin-top: .5rem; }.dataset-field-list fieldset { grid-template-columns: 1fr; }.operations-certify,.operations-certified,.operations-runtime-warning { align-items: flex-start; flex-direction: column; }.operations-table th,.operations-table td { padding: .7rem; white-space: nowrap; } }

.auth-fallback { margin: 1rem 0; text-align: center; font-size: .88rem; }
.auth-fallback a { color: var(--green-dark); font-weight: 720; text-underline-offset: 4px; }

/* Accessibility and disclosure refinements. */
.form-control { border-color: #71877f; }
.checkbox-control { width: 1.05rem; height: 1.05rem; margin-top: .25rem; accent-color: var(--green); }
.form-errors:focus { outline: 3px solid rgba(164,66,54,.35); outline-offset: 2px; }
.passkey-card > p { color: var(--muted); }
.passkey-card .button[disabled] { cursor: wait; opacity: .68; }
.passkey-status { min-height: 1.2rem; text-align: center; }
.passkey-trust-list { display: grid; gap: .65rem; margin-top: 1.4rem; }
.passkey-trust-list > div { display: grid; grid-template-columns: 2rem 1fr; gap: .65rem; align-items: center; padding: .7rem .8rem; background: var(--paper); border-radius: 10px; }
.passkey-trust-list strong { width: 2rem; height: 2rem; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: .75rem; }
.passkey-trust-list span { color: var(--ink); font-size: .82rem; font-weight: 700; }
.check-row { border-color: #8da098; }
.check-row:has(input:disabled) { opacity: .68; cursor: not-allowed; }
.confirm-card form:has(.field-group) { display: block; }
.prose-page { max-width: 820px; }
.prose-page h1 { font-size: clamp(2.6rem,5vw,4.8rem); }
.prose-page h2 { margin-top: 2.2rem; }
.prose-page p { color: var(--muted); }
.button-secondary { margin-top: .7rem; background: white; color: var(--ink); border: 1px solid #71877f; box-shadow: none; }
.places-control { display: block; width: 100%; min-height: 52px; margin-bottom: 1rem; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.data-table th,.data-table td { padding: .8rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { color: var(--muted); background: #f6f8f4; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.data-table tbody tr:last-child th,.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table th small,.data-table td small { display: block; margin-top: .2rem; color: var(--muted); font-weight: 500; }
.data-table .authority-total { background: #f4f8f3; font-weight: 720; }
@media (max-width: 650px) {
  .site-nav { gap: .55rem; }
  .site-nav > a:not(.button) { display: inline-flex; }
  .site-nav .button-small { padding: .55rem .72rem; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: .75rem; }
  .brand { gap: .35rem; font-size: 1rem; }
  .brand-logo { width: 44px; }
  .site-nav { gap: .35rem; font-size: .82rem; }
  .site-nav .button-small { padding: .5rem .6rem; }
}

/* Property onboarding and review. */
.onboarding-shell-refreshed { padding: clamp(2rem,5vw,4.5rem) 1.2rem 7rem; background: radial-gradient(circle at 16% 8%,rgba(203,230,91,.2),transparent 26%),radial-gradient(circle at 84% 18%,rgba(74,168,140,.18),transparent 29%),#edf2eb; }
.onboarding-frame,.review-frame { width: min(1320px,100%); margin: 0 auto; }
.setup-progress { width: min(760px,100%); margin: 0 auto 2.1rem; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; }
.setup-progress li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: .7rem; align-items: center; color: #71827c; }
.setup-progress li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; left: 36px; right: .75rem; top: 17px; height: 1px; background: #bdc9c1; }
.setup-progress li > span { position: relative; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; color: #61736c; background: #dce4dd; border: 1px solid #c7d2ca; border-radius: 50%; font-size: .78rem; font-weight: 820; }
.setup-progress li > div { position: relative; z-index: 1; width: fit-content; padding-right: .75rem; background: #edf2eb; }
.setup-progress strong,.setup-progress small { display: block; }
.setup-progress strong { color: inherit; font-size: .78rem; }
.setup-progress small { color: inherit; font-size: .68rem; }
.setup-progress li.active { color: var(--ink); }
.setup-progress li.active > span { color: white; background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(18,43,41,.08); }
.setup-progress li.complete { color: var(--green); }
.setup-progress li.complete > span { color: white; background: var(--green); border-color: var(--green); }
.onboarding-layout { display: grid; grid-template-columns: minmax(0,.88fr) minmax(520px,1.12fr); align-items: stretch; gap: clamp(1rem,2.4vw,2rem); }
.onboarding-layout > * { min-width: 0; }
.onboarding-story { min-height: 680px; padding: clamp(2rem,4vw,4.2rem); display: flex; flex-direction: column; color: white; overflow: hidden; border-radius: 30px; background: radial-gradient(circle at 88% 6%,rgba(203,230,91,.2),transparent 28%),linear-gradient(150deg,#163e39,#0d2927 70%); box-shadow: 0 22px 70px rgba(18,43,41,.2); }
.onboarding-story .eyebrow { color: var(--lime); }
.onboarding-story h1 { max-width: 650px; margin-bottom: 1.2rem; font-size: clamp(2.6rem,4.3vw,5rem); }
.onboarding-story > p { max-width: 640px; color: #c3d3cd; }
.onboarding-layer-list { margin-top: auto; display: grid; gap: .65rem; }
.onboarding-layer-list article { padding: .9rem; display: grid; grid-template-columns: 12px minmax(0,1fr); gap: .8rem; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; }
.onboarding-layer-list strong,.onboarding-layer-list small { display: block; }
.onboarding-layer-list small { margin-top: .1rem; color: #b8cbc4; font-size: .72rem; }
.layer-swatch { width: 10px; height: 28px; border-radius: 999px; }
.swatch-tax { background: var(--tax); }.swatch-land { background: var(--health); }.swatch-action { background: var(--risk); }
.workspace-promise { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.workspace-promise strong { color: white; }
.property-search-card { width: 100%; margin: 0; padding: clamp(1.6rem,4vw,3.4rem); border-radius: 30px; box-shadow: 0 18px 60px rgba(18,43,41,.1); }
.property-search-card h2 { margin-bottom: .85rem; font-size: clamp(2.2rem,4vw,3.8rem); }
.property-search-card .lede { max-width: 680px; margin-bottom: 1.8rem; }
.property-search-field { margin-bottom: 1.3rem; }
.property-search-field[hidden] { display: none; }
.places-control { margin: .15rem 0 .55rem; min-height: 54px; }
.places-control[hidden] { display: none; }
.places-control gmp-place-autocomplete { width: 100%; min-width: 0; max-width: 100%; }
.place-status { min-height: 1.35rem; display: block; color: var(--muted); font-size: .76rem; }
.selected-property { min-height: 82px; padding: .9rem; display: grid; grid-template-columns: 36px 1fr auto; gap: .8rem; align-items: center; background: #eef6f0; border: 1px solid #a9c9b8; border-radius: 14px; }
.selected-property[hidden] { display: none; }
.selected-property-mark { width: 30px; height: 30px; display: block; position: relative; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--green); box-shadow: 0 7px 18px rgba(23,109,93,.22); }
.selected-property-mark::after { content: ""; position: absolute; inset: 9px; background: var(--lime); border-radius: 50%; }
.selected-property div > small,.selected-property div > strong,.selected-property div > span { display: block; }
.selected-property div > small { color: var(--green); font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 820; }
.selected-property div > strong { margin: .12rem 0; font-size: .94rem; }
.selected-property div > span { color: var(--muted); font-size: .7rem; }
.selected-property-change { padding: .45rem .7rem; color: var(--green-dark); background: white; border: 1px solid #9cb8aa; border-radius: 999px; cursor: pointer; font-size: .72rem; font-weight: 760; }
.secondary-property-fields { padding-top: .3rem; }
.hidden-field-errors:empty { display: none; }
.hidden-field-errors { margin: -.2rem 0 1rem; }
.coordinate-mode-toggle { width: fit-content; padding: 0; color: var(--green-dark); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 760; }
.coordinate-mode-toggle:hover { color: var(--ink); }
.coordinate-mode-toggle:focus-visible { outline: 3px solid rgba(23,109,93,.18); outline-offset: 4px; }
.manual-location { min-width: 0; margin: 0 0 1.2rem; padding: 1rem; background: #f5f7f2; border: 1px solid var(--line); border-radius: 15px; }
.manual-location[hidden] { display: none; }
.manual-location legend { padding: 0 .35rem; font-size: .82rem; font-weight: 800; }
.manual-location > p { margin: 0 0 1rem; color: var(--muted); font-size: .76rem; }
.manual-location .field-wide { grid-column: 1/-1; }
.tax-data-callout { margin: .35rem 0 0; padding: .65rem .75rem; display: flex; gap: .55rem; align-items: flex-start; color: var(--muted); background: #f5f7f2; border: 1px solid var(--line); border-radius: 10px; font-size: .7rem; }
.tax-data-callout > span { width: 18px; height: 18px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: .65rem; font-weight: 850; }
.initial-refresh-notice { margin: 1rem 0; font-size: .82rem; line-height: 1.5; }
.initial-refresh-notice p { margin: 0; }
.initial-refresh-notice p + p { margin-top: .5rem; }
.property-form-actions { margin-top: 1.2rem; }
.property-submit { min-width: 185px; }
.property-submit [data-submit-loading]::before { content: ""; width: 13px; height: 13px; margin-right: .5rem; display: inline-block; vertical-align: -2px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: pp-spin .8s linear infinite; }
.partner-referral-callout { margin: 0 0 1.4rem; padding: 1rem 1.1rem; border: 1px solid #b8cbc0; border-left: 4px solid var(--green); border-radius: 13px; background: #f2f7f1; }
.partner-referral-callout span,.partner-referral-callout strong,.partner-referral-callout b { display: block; }
.partner-referral-callout span { color: var(--green-dark); font-size: .68rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.partner-referral-callout strong { margin-top: .25rem; font-size: 1.08rem; }
.partner-referral-callout b { color: var(--muted); font-size: .78rem; }
.partner-referral-callout p { margin: .55rem 0 0; color: var(--muted); font-size: .76rem; }
.partner-contact-preview { margin-top: .55rem; display: flex; flex-wrap: wrap; gap: .35rem .8rem; color: var(--green-dark); font-size: .76rem; }
.partner-contact-preview span,.partner-contact-preview a,.partner-referral-callout .partner-contact-preview span { display: inline; color: inherit; font-size: inherit; font-weight: 700; letter-spacing: 0; text-transform: none; }
.partner-referral-callout form { margin-top: .65rem; }
.partner-referral-landing form { margin: 1.25rem 0 .85rem; }
.partner-referral-landing .partner-referral-decline { margin-top: .25rem; }
.partner-referral-decline button { padding: 0; color: var(--green-dark); background: transparent; border: 0; font: inherit; font-weight: 760; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.partner-referral-callout form button,.property-connection-hide button,.property-contact-actions button { padding: 0; color: var(--green-dark); background: transparent; border: 0; font: inherit; font-size: .72rem; font-weight: 780; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.partner-referral-choice { margin: 0 0 1rem; padding: .75rem .8rem; display: flex; align-items: flex-start; gap: .7rem; background: #f7faf5; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.partner-referral-choice input { width: 17px; height: 17px; margin-top: .08rem; accent-color: var(--green); }
.partner-referral-choice span,.partner-referral-choice strong,.partner-referral-choice small { display: block; }
.partner-referral-choice strong { font-size: .76rem; }
.partner-referral-choice small { margin-top: .12rem; color: var(--muted); font-size: .68rem; }
.review-referral-callout { width: min(760px,100%); margin: 1rem auto 1.5rem; }
.property-connections { padding: clamp(1.2rem,3vw,2.2rem); background: #f8fbf6; border: 1px solid #cbd8ce; border-radius: var(--radius); box-shadow: 0 8px 28px rgba(18,43,41,.05); }
.property-connections > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.property-connections > header h2 { max-width: 760px; margin: .2rem 0 0; font-size: clamp(1.45rem,3vw,2.2rem); }
.property-connections > header > span { min-width: 34px; height: 34px; display: grid; place-items: center; color: var(--green-dark); background: #dfede4; border-radius: 50%; font-weight: 820; }
.property-connection-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: 1.2rem; }
.property-connection-card { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 13px; }
.property-connection-card > div:first-child > span { color: var(--green-dark); font-size: .7rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.property-connection-card h3 { margin: .3rem 0 .1rem; font-size: 1.15rem; }
.property-connection-card p { margin: 0; color: var(--muted); font-size: .78rem; }
.property-connection-card dl { margin: .9rem 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.property-connection-card dl div { padding-top: .5rem; border-top: 1px solid var(--line); }
.property-connection-card dt { color: var(--muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.property-connection-card dd { margin: .15rem 0 0; font-size: .74rem; font-weight: 730; }
.property-contact-methods { margin-top: .85rem; display: grid; gap: .4rem; }
.property-contact-methods a,.property-contact-methods span { display: block; color: var(--ink); font-size: .76rem; font-weight: 720; overflow-wrap: anywhere; }
.property-contact-methods small { display: block; margin-bottom: .08rem; color: var(--muted); font-size: .68rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.property-connection-card.contact-ignored { background: #f3f4f1; border-style: dashed; }
.property-connection-card.contact-ignored > :not(.property-contact-actions) { opacity: .72; }
.property-contact-actions { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.property-contact-actions form { margin: 0; }
.property-connection-hide { margin-top: .9rem; }
.connection-boundary { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; }
.layer-services i { color: var(--services); }
.swatch-record,.swatch-tax { background: var(--record); }
.swatch-land { background: var(--land); }
.swatch-health { background: var(--health); }
.swatch-risk,.swatch-action { background: var(--risk); }
.swatch-imagery { background: var(--imagery); }
.swatch-services { background: var(--services); }
.panel-services .layer-icon i { background: var(--services); }
.state-pilot { color: #674074; background: #f0e5f3; }
.services-pilot-boundary { margin-top: 1.5rem; padding: .9rem 1rem; color: #5a3a65; background: #f6eff8; border: 1px solid #dbc8e1; border-radius: 12px; }
.services-pilot-boundary strong,.services-pilot-boundary p { display: block; }
.services-pilot-boundary p { margin: .25rem 0 0; font-size: .76rem; }
.services-filter { margin-top: 1rem; padding: 1rem; display: grid; grid-template-columns: minmax(220px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto; gap: .75rem; align-items: end; background: #fafbf8; border: 1px solid var(--line); border-radius: 14px; }
.services-filter label span { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.services-filter input,.services-filter select { width: 100%; min-height: 44px; padding: .62rem .72rem; color: var(--ink); background: white; border: 1px solid #cbd5cd; border-radius: 9px; }
.services-filter > div { display: flex; align-items: center; gap: .75rem; }
.services-filter .button { min-height: 44px; white-space: nowrap; }
.services-result-summary { margin-top: .8rem; color: var(--muted); font-size: .76rem; }
.services-filter-error { margin: .75rem 0 0; padding: .65rem .75rem; color: #75431c; background: #fff0d8; border-radius: 8px; font-size: .76rem; font-weight: 720; }
.services-result-summary strong { color: var(--ink); }
.service-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.service-directory-card { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 13px; }
.service-directory-card.synthetic-record { border-style: dashed; border-color: #b99bc4; }
.service-card-top { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.service-card-top span,.service-card-top b { color: #674074; font-size: .64rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.service-card-top b { padding: .24rem .42rem; background: #f0e5f3; border-radius: 999px; }
.service-directory-card h3 { margin: .7rem 0 .25rem; font-size: 1.2rem; }
.service-directory-card > p { margin: 0; color: var(--muted); font-size: .78rem; }
.service-directory-card .service-contact-name { margin-bottom: .35rem; color: var(--ink); font-weight: 730; }
.service-directory-card dl { margin: .9rem 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.service-directory-card dl div { padding-top: .5rem; border-top: 1px solid var(--line); }
.service-directory-card dt { color: var(--muted); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.service-directory-card dd { margin: .15rem 0 0; font-size: .74rem; font-weight: 730; }
.service-provider-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.service-provider-card { min-width: 0; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 13px; }
.service-provider-card.synthetic-record { border-style: dashed; border-color: #b99bc4; }
.service-provider-card h3 { margin: .7rem 0 .25rem; font-size: 1.2rem; }
.service-provider-card .service-contact-name { margin: 0 0 .35rem; color: var(--ink); font-size: .78rem; font-weight: 730; }
.service-card-top > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; }
.service-offering-list { margin-top: .85rem; display: grid; gap: .65rem; }
.service-offering-list > section { padding: .75rem; background: #fafbf8; border: 1px solid var(--line); border-radius: 10px; }
.service-offering-list > section > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.service-offering-list > section > div:first-child strong { font-size: .8rem; }
.service-offering-list > section > div:first-child small { color: #5e3f70; font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.service-offering-list p { margin: .4rem 0 0; color: var(--muted); font-size: .75rem; }
.service-offering-list dl { margin: .65rem 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.service-offering-list dl div { padding-top: .45rem; border-top: 1px solid var(--line); }
.service-offering-list dt { color: var(--muted); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; }
.service-offering-list dd { margin: .12rem 0 0; font-size: .7rem; font-weight: 710; }
.service-devices-empty { margin-top: 1.25rem; padding: .85rem 1rem; background: #f8f5fa; border: 1px dashed #cfbdd7; border-radius: 12px; }
.service-devices-empty > div { display: flex; align-items: center; gap: .55rem; }
.service-devices-empty h3 { margin: 0; font-size: .95rem; }
.service-devices-empty p { margin: .4rem 0 0; color: var(--muted); font-size: .75rem; }
.services-contact-list { margin-top: 0; }
.services-empty { margin-bottom: 0; }
@media (max-width: 650px) { .property-connection-list,.property-connection-card dl { grid-template-columns: 1fr; }.property-connections > header { flex-direction: column; } }
@media (max-width: 980px) { .services-filter { grid-template-columns: 1fr 1fr; }.services-filter > label:first-child { grid-column: 1 / -1; } }
@media (max-width: 650px) { .map-toolbar { flex-wrap: wrap; justify-content: center; }.map-toolbar .layer-toggle { flex: 1 1 calc(50% - .45rem); white-space: nowrap; }.services-filter,.service-card-grid,.service-provider-grid,.service-directory-card dl,.service-offering-list dl { grid-template-columns: 1fr; }.services-filter > label:first-child { grid-column: auto; }.services-filter > div { align-items: flex-start; flex-direction: column; } }
@keyframes pp-spin { to { transform: rotate(360deg); } }

.review-shell { padding: clamp(2rem,5vw,4.5rem) 1.2rem 7rem; background: radial-gradient(circle at 85% 3%,rgba(226,167,68,.13),transparent 23%),#edf2eb; }
.review-heading { margin: 1rem 0 1.6rem; display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; }
.review-heading h1 { max-width: 850px; margin-bottom: .65rem; font-size: clamp(2.8rem,5.5vw,5.6rem); }
.review-heading p { max-width: 720px; margin: 0; color: var(--muted); }
.preview-expiry { min-width: 230px; padding: .8rem 1rem; background: white; border: 1px solid var(--line); border-radius: 12px; }
.preview-expiry span,.preview-expiry strong,.preview-expiry small { display: block; }
.preview-expiry span { color: var(--green); font-size: .65rem; font-weight: 820; text-transform: uppercase; letter-spacing: .08em; }
.preview-expiry strong { margin: .12rem 0; font-size: .82rem; }
.preview-expiry small { color: var(--muted); font-size: .68rem; }
.review-address-card { padding: 1.25rem; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 1.1rem; color: white; background: linear-gradient(130deg,#173f3a,#102c2a); border-radius: 18px; box-shadow: 0 15px 45px rgba(18,43,41,.16); }
.review-address-card .selected-property-mark { width: 38px; height: 38px; background: var(--lime); }
.review-address-card .selected-property-mark::after { inset: 11px; background: var(--ink); }
.review-address-card .eyebrow { margin-bottom: .2rem; color: var(--lime); }
.review-address-card h2 { margin: 0 0 .2rem; font-size: clamp(1.35rem,3vw,2.2rem); }
.review-address-card p { margin: 0; color: #bfd0ca; font-size: .78rem; }
.review-coordinate-chip { padding: .45rem .65rem; color: #d5e2dc; background: rgba(255,255,255,.09); border-radius: 999px; font-size: .7rem; }
.jurisdiction-grid { margin: .9rem 0; display: grid; grid-template-columns: repeat(4,1fr); gap: .7rem; }
.jurisdiction-grid article { min-width: 0; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 13px; }
.jurisdiction-grid span,.jurisdiction-grid strong,.jurisdiction-grid small { display: block; }
.jurisdiction-grid span { color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.jurisdiction-grid strong { margin: .35rem 0; overflow-wrap: anywhere; font-size: 1.02rem; }
.jurisdiction-grid small { color: var(--muted); font-size: .7rem; }
.tax-review-panel { padding: clamp(1.2rem,3vw,2.2rem); background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 42px rgba(18,43,41,.07); }
.tax-review-panel > header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.tax-review-panel h2 { margin: 0; font-size: clamp(1.7rem,3vw,2.8rem); }
.tax-review-state { padding: .4rem .65rem; border-radius: 999px; font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 820; white-space: nowrap; }
.tax-review-state.state-ready { color: var(--green-dark); background: #dff1e7; }
.tax-review-state.state-review { color: #75431c; background: #fff0d8; }
.tax-summary-callout { margin: 1.25rem 0; padding: 1rem; display: flex; align-items: center; gap: 1rem; border-radius: 13px; }
.summary-ready { background: #eef6f0; border: 1px solid #bdd8ca; }
.summary-review { background: #fff7e9; border: 1px solid #ead5ae; }
.tax-summary-callout > div:first-child { min-width: 118px; text-align: center; }
.tax-summary-callout strong,.tax-summary-callout span { display: block; }
.tax-summary-callout strong { font-size: 1.7rem; }
.tax-summary-callout span { color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.tax-summary-callout p { margin: 0; color: var(--muted); font-size: .82rem; }
.tax-summary-review-mark { width: 36px; min-width: 36px !important; height: 36px; display: grid; place-items: center; color: #75431c; background: #f6d99e; border-radius: 50%; font-weight: 850; }
.authority-review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.authority-review-grid article { padding: 1rem; background: #f8faf6; border: 1px solid var(--line); border-radius: 12px; }
.authority-review-grid article > div { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.authority-review-grid article > div > span:first-child { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.authority-review-grid h3 { margin: .65rem 0; font-size: 1.08rem; }
.authority-review-grid small { display: block; color: var(--muted); font-size: .68rem; }
.rate-status { padding: .25rem .42rem; border-radius: 999px; background: #e7ede7; color: var(--muted); font-size: .6rem; font-weight: 780; }
.rate-current { color: var(--green-dark); background: #dff1e7; }
.rate-provisional,.rate-review_required { color: #75431c; background: #fff0d8; }
.authority-rate { margin: 0 0 .2rem; color: var(--ink); font-size: .78rem; }
.authority-rate strong { font-size: 1.55rem; }
.authority-rate-review strong { color: #75431c; font-size: .98rem; }
.tax-estimate-card { min-width: 0; max-width: 100%; margin-top: 1.25rem; overflow: hidden; background: #fbfcf9; border: 1px solid #cfdacf; border-top: 4px solid var(--tax); border-radius: 15px; }
.tax-estimate-card.estimate-complete { border-top-color: var(--health); }
.tax-estimate-card.estimate-partial,.tax-estimate-card.estimate-provisional,.tax-estimate-card.estimate-assessment_unavailable,.tax-estimate-card.estimate-user_input_estimate,.tax-estimate-card.estimate-user_input_partial { border-top-color: #d3923c; }
.tax-estimate-overview { padding: clamp(1rem,2.5vw,1.5rem); display: grid; grid-template-columns: minmax(210px,.75fr) minmax(380px,1.25fr); gap: 1.5rem; align-items: center; background: linear-gradient(120deg,rgba(241,247,239,.92),rgba(255,255,255,.96)); }
.tax-estimate-overview > div > small { display: block; margin-top: .25rem; color: var(--muted); font-size: .72rem; }
.tax-estimate-amount,.tax-estimate-withheld { display: block; margin-top: .35rem; color: var(--ink); line-height: 1; }
.tax-estimate-amount { font-family: Georgia,serif; font-size: clamp(1.95rem,2.5vw,2.75rem); letter-spacing: -.035em; }
.tax-estimate-amount span { margin-right: .12em; color: var(--green); font-family: Inter,ui-sans-serif,system-ui,sans-serif; font-size: .45em; vertical-align: top; }
.tax-estimate-withheld { color: #75431c; font-family: Georgia,serif; font-size: clamp(1.7rem,3vw,2.65rem); }
.tax-estimate-meta { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.tax-estimate-meta div { min-width: 0; padding: .7rem .8rem; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 10px; }
.tax-estimate-meta dt { color: var(--muted); font-size: .61rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tax-estimate-meta dd { margin: .2rem 0 0; overflow-wrap: anywhere; font-size: .78rem; font-weight: 750; }
.tax-estimate-table-wrap { min-width: 0; max-width: calc(100% - 2rem); margin: 0 1rem 1rem; overflow-x: auto; border-radius: 10px; }
.tax-estimate-table { min-width: 880px; }
.tax-estimate-table td:nth-child(3),.tax-estimate-table td:nth-child(4),.tax-estimate-table td:nth-child(5),.tax-estimate-table tfoot td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tax-estimate-table tbody td:nth-child(5),.tax-estimate-table tfoot td:first-of-type { font-weight: 780; }
.tax-estimate-table tfoot th,.tax-estimate-table tfoot td { padding: .85rem .9rem; color: var(--ink); text-align: left; background: #eaf3eb; border-top: 1px solid #bdd8ca; font-size: .78rem; }
.tax-estimate-table a { color: var(--green-dark); font-weight: 750; }
.tax-estimate-table-wrap:focus-visible { outline: 3px solid rgba(23,109,93,.35); outline-offset: 2px; }
.value-withheld { color: #75431c; font-size: .76rem; }
.tax-estimate-boundary { margin: 0 1rem 1rem; padding: .85rem 1rem; color: #5e421d; background: #fff5e3; border: 1px solid #ead5ae; border-radius: 10px; }
.tax-estimate-boundary strong { font-size: .7rem; letter-spacing: .075em; text-transform: uppercase; }
.tax-estimate-boundary p { margin: .28rem 0 0; font-size: .75rem; }
.tax-estimate-disclosures { margin: 0 1rem 1rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.tax-estimate-disclosures > div { padding: .8rem .9rem; background: white; border: 1px solid var(--line); border-radius: 10px; }
.tax-estimate-disclosures strong { font-size: .72rem; }
.tax-estimate-disclosures p,.tax-estimate-disclosures ul { margin: .35rem 0 0; color: var(--muted); font-size: .72rem; }
.tax-estimate-disclosures ul { padding-left: 1.1rem; }
.tax-estimate-card > .source-strip { margin: 0 1rem 1rem; }
.evidence-details { margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.evidence-details summary { padding: .9rem 1rem; display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; background: #f7f9f5; font-weight: 760; list-style-position: inside; }
.evidence-details summary small { color: var(--muted); font-weight: 500; }
.evidence-details[open] summary { border-bottom: 1px solid var(--line); }
.evidence-details .table-wrap { border: 0; border-radius: 0; }
.review-source-note { margin-top: 1rem; padding-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; border-top: 1px solid var(--line); }
.review-source-note strong,.review-source-note span { display: block; }
.review-source-note strong { color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.review-source-note span { font-size: .78rem; }
.review-source-note p { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: .72rem; }
.review-actions { margin-top: 1rem; padding: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: white; border: 1px solid var(--line); border-radius: 15px; }
.review-actions > div { display: flex; align-items: center; gap: 1rem; }
.review-actions > div > small { color: var(--muted); }
.review-actions .partner-referral-choice { max-width: 330px; margin: 0; }
.review-change-button { border: 1px solid #8da098; box-shadow: none; }

@media (min-width: 981px) {
  .hero { padding-block: clamp(1.75rem,2vw,2.25rem); }
  .hero-copy { align-self: start; }
}

@media (min-width: 981px) and (max-height: 850px) {
  .hero h1 { font-size: clamp(3.5rem,min(7vw,10vh),7.8rem); }
}

@media (max-width: 1050px) {
  .stewardship { grid-template-columns: 1fr; }
  .onboarding-layout { grid-template-columns: 1fr; }
  .property-search-card { order: -1; }
  .onboarding-story { min-height: auto; }
  .onboarding-layer-list { margin-top: 2rem; }
  .jurisdiction-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .tax-estimate-overview,.tax-estimate-meta,.tax-estimate-disclosures { grid-template-columns: minmax(0,1fr); }
  .tax-estimate-overview { gap: 1rem; }
}

@media (max-width: 700px) {
  .hero-copy > .eyebrow { margin-bottom: .7rem; }
  .stewardship { padding-block: 4.5rem; }
  .stewardship-heading h2 { font-size: 2.8rem; }
  .stewardship-card { min-height: 0; padding: 1.5rem; }
  .onboarding-shell-refreshed,.review-shell { padding: 1.3rem .6rem 4rem; }
  .setup-progress { margin-bottom: 1.3rem; }
  .setup-progress li { grid-template-columns: 28px 1fr; gap: .4rem; }
  .setup-progress li:not(:last-child)::after { left: 28px; top: 13px; right: .3rem; }
  .setup-progress li > span { width: 28px; height: 28px; font-size: .68rem; }
  .setup-progress li > div { padding-right: .3rem; }
  .setup-progress small { display: none; }
  .setup-progress strong { font-size: .68rem; }
  .property-search-card,.onboarding-story { padding: 1.35rem; border-radius: 20px; }
  .property-search-card h2 { font-size: 2.35rem; }
  .selected-property { grid-template-columns: 30px 1fr; }
  .selected-property-change { grid-column: 2; width: fit-content; }
  .property-form-actions { align-items: stretch; flex-direction: column; }
  .property-form-actions .text-link { text-align: center; }
  .review-heading { align-items: stretch; flex-direction: column; }
  .review-heading h1 { font-size: 3rem; }
  .preview-expiry { min-width: 0; }
  .review-address-card { grid-template-columns: 38px 1fr; }
  .review-coordinate-chip { grid-column: 2; width: fit-content; }
  .jurisdiction-grid,.authority-review-grid { grid-template-columns: 1fr; }
  .tax-review-panel > header { flex-direction: column; }
  .tax-estimate-overview,.tax-estimate-meta,.tax-estimate-disclosures { grid-template-columns: 1fr; }
  .tax-estimate-overview { gap: 1rem; }
  .tax-estimate-table-wrap { max-width: calc(100% - 1.3rem); margin-inline: .65rem; }
  .tax-estimate-boundary,.tax-estimate-disclosures,.tax-estimate-card > .source-strip { margin-inline: .65rem; }
  .tax-summary-callout { align-items: flex-start; flex-direction: column; }
  .tax-summary-callout > div:first-child { min-width: 0; text-align: left; }
  .evidence-details summary { flex-direction: column; }
  .review-source-note { grid-template-columns: 1fr; }
  .review-source-note p { grid-column: 1; }
  .review-actions,.review-actions > div { align-items: stretch; flex-direction: column; }
  .review-actions > div > small { text-align: center; }
  .review-actions .button { width: 100%; }
}

/* Property workspace: compact map rail and browsable evidence layers. */
@media (min-width: 981px) {
  .property-intelligence-heading h1 { font-size: clamp(1.9rem,2.8vw,2.7rem); }
}

@media (min-width: 1101px) {
  .property-workspace {
    display: grid;
    grid-template-columns: minmax(360px,420px) minmax(0,940px);
    grid-template-rows: auto 1fr;
    justify-content: center;
    align-items: start;
    column-gap: 1.4rem;
    padding-inline: 1rem;
  }
  .property-intelligence-panel {
    width: 100%;
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--site-header-height) + 1rem);
    align-self: start;
    margin: 1rem 0 0;
  }
  .property-heading-evidence {
    width: 100%;
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: var(--site-header-height);
    z-index: 26;
    margin: 0;
    padding: .68rem .8rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(18,43,41,.08);
  }
  .property-intelligence-heading .eyebrow { margin-bottom: .08rem; font-size: .63rem; }
  .property-intelligence-heading h1 { margin: .05rem 0 .15rem; font-size: clamp(1.7rem,2vw,2.1rem); line-height: 1.04; }
  .property-intelligence-heading .property-identity > p { overflow: hidden; color: var(--muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
  .property-intelligence-heading .property-actions { margin-top: .6rem; flex-wrap: wrap; gap: .45rem; }
  .property-intelligence-heading .property-actions .button { padding: .55rem .78rem; font-size: .7rem; box-shadow: 0 6px 18px rgba(18,43,41,.08); }
  .property-heading-evidence .text-control { padding: .4rem .45rem; font-size: .65rem; }
  .property-content {
    width: 100%;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }
  .property-workspace.property-map-is-expanded { grid-template-columns: minmax(500px,42vw) minmax(0,1fr); }
  .property-workspace.property-map-is-expanded .property-map-interactive,
  .property-workspace.property-map-is-expanded .property-map-svg { height: min(48vh,460px); }
  .layer-panel,.tax-estimate-card[id],.tax-supporting-detail[id],.authority-total[id],.observation-card,.finding {
    scroll-margin-top: calc(var(--site-header-height) + var(--property-workspace-header-height,170px) + 1rem);
  }
}

.map-stage { padding: 1rem; border-radius: 18px; }
.map-stage-empty { min-height: 250px; }
.property-intelligence-panel.map-stage-empty { display: block; }
.property-intelligence-heading { margin-bottom: .75rem; }
.property-intelligence-heading h1 { margin: .08rem 0 .2rem; font-size: clamp(1.7rem,3vw,2.4rem); }
.property-intelligence-heading .property-identity > p { margin: 0; color: var(--muted); font-size: .78rem; }
.property-intelligence-heading .property-actions { margin-top: .65rem; flex-wrap: wrap; gap: .45rem; }
.property-intelligence-heading .property-actions .button { padding: .58rem .78rem; font-size: .72rem; }
.property-map-overlay-control { position: absolute; z-index: 1001; color: var(--ink); background: rgba(255,255,255,.68); border: 1px solid rgba(18,43,41,.12); box-shadow: 0 4px 16px rgba(18,43,41,.1); backdrop-filter: blur(7px); transition: opacity .18s,background .18s,border-color .18s,transform .18s; }
.property-map-overlay-control:hover { color: var(--green-dark); background: rgba(255,255,255,.92); border-color: rgba(23,109,93,.26); opacity: 1; }
.property-map-overlay-control:focus-visible { opacity: 1; outline: 3px solid rgba(23,109,93,.28); outline-offset: 2px; }
.property-map-details-control { top: .55rem; right: .55rem; padding: .38rem .52rem; border-radius: 8px; font-size: .64rem; font-weight: 760; text-decoration: none; }
.property-map-expand { width: 36px; height: 36px; right: .55rem; bottom: 1.55rem; padding: 0; display: grid; place-items: center; border-radius: 8px; cursor: pointer; opacity: .72; }
.property-map-expand svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.property-map-expand[aria-expanded="true"] { color: white; background: rgba(18,43,41,.84); border-color: rgba(18,43,41,.42); opacity: 1; }
.property-map-shell { min-width: 0; }
.property-map-frame { min-height: 0; border-radius: 14px; }
.property-map-interactive,.property-map-svg { height: clamp(220px,28vh,270px); transition: height .2s ease; }
.map-toolbar { width: 100%; margin-top: .7rem; justify-content: flex-start; padding: .4rem; gap: .25rem; border-radius: 13px; box-shadow: none; }
.map-toolbar > span { width: 100%; padding: .15rem .4rem; }
.layer-toggle { padding: .45rem .55rem; font-size: .72rem; }
.map-details-dialog { width: min(720px,calc(100% - 2rem)); }
.map-details-dialog .property-map-extent { min-width: 0; width: 100%; margin: 0; grid-template-columns: repeat(2,minmax(0,1fr)); background: #f5f7f3; }
.map-details-dialog .property-map-extent dd { overflow-wrap: anywhere; }
.map-details-dialog .map-disclosure { max-width: none; margin: 1rem 0 0; padding: .9rem; color: var(--muted); background: #f7f9f5; border: 1px solid var(--line); border-radius: 10px; text-align: left; }

.property-content { padding-top: 1.4rem; display: block; }
.property-heading-evidence { width: min(1320px,calc(100% - 2.4rem)); margin: 1rem auto 0; }
.property-identity-heading { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.property-identity-heading > div { min-width: 0; }
.property-remove-link { flex: 0 0 auto; margin-top: .08rem; padding: .08rem 0; color: var(--danger); font-size: .65rem; font-weight: 720; text-align: right; text-underline-offset: 3px; white-space: nowrap; }
.refresh-layers-button { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .08rem; line-height: 1.15; }
.refresh-layers-button > small { color: var(--muted); font-size: .68rem; font-weight: 680; }
.refresh-layers-button:disabled > small { color: inherit; opacity: .72; }

.property-header-glance { display: block; }
.property-header-glance > .eyebrow { display: block; margin: 0 0 .38rem; color: #526b63; font-size: .65rem; font-weight: 780; letter-spacing: .08em; }
.property-header-glance-grid { min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .42rem; background: transparent; }
.property-header-glance-grid > a,.property-header-recommendations { min-width: 0; min-height: 60px; padding: .4rem .62rem; color: var(--muted); background: rgba(255,255,255,.78); border: 1px solid rgba(18,43,41,.1); border-radius: 10px; box-shadow: 0 4px 14px rgba(18,43,41,.035); }
.property-header-glance-grid > a { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .6rem; text-decoration: none; }
.property-header-glance-grid > a strong { grid-column: 2; grid-row: 1; color: #1f6254; font-size: 1.28rem; font-variant-numeric: tabular-nums; line-height: 1; }
.property-header-glance-grid > a span,.property-header-recommendations > span { overflow-wrap: normal; color: #526b63; font-size: .72rem; font-weight: 720; line-height: 1.2; }
.property-header-recommendations { display: grid; grid-template-columns: minmax(0,1fr) minmax(132px,auto); gap: .45rem; align-items: center; }
.property-header-recommendations > div { min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(44px,1fr)); gap: 0; }
.property-header-recommendations a { min-width: 44px; min-height: 44px; padding: .22rem .3rem; display: grid; place-content: center; color: var(--muted); border-left: 1px solid rgba(18,43,41,.1); text-align: center; text-decoration: none; }
.property-header-recommendations strong,.property-header-recommendations small { display: block; }
.property-header-recommendations strong { color: #1f6254; font-size: .9rem; font-variant-numeric: tabular-nums; line-height: 1; }
.property-header-recommendations small { margin-top: .14rem; color: #60766f; font-size: .65rem; font-weight: 680; line-height: 1.05; }
.property-header-glance-grid a:hover { background: white; border-color: rgba(23,109,93,.25); }
.property-header-glance-grid a:focus-visible { background: white; outline: 3px solid rgba(23,109,93,.24); outline-offset: 2px; }
.property-header-divider { height: 1px; margin: .55rem 0; background: rgba(18,43,41,.13); }

.property-source-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.property-source-group { min-width: 0; scroll-margin-top: 1rem; }
.property-source-group + .property-source-group { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.property-source-group > header { margin-bottom: .55rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.property-source-group > header .eyebrow { color: var(--green); }
.property-source-group > header h3 { margin: .08rem 0 0; font-size: 1rem; }
.property-source-list article { min-width: 0; padding: .85rem; background: #f7f9f5; border: 1px solid var(--line); border-radius: 11px; }
.property-source-list article > div:first-child span,.property-source-list article > div:first-child strong,.property-source-list article > div:first-child small { display: block; }
.property-source-list article > div:first-child span { color: var(--green); font-size: .61rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.property-source-list article > div:first-child strong { margin-top: .15rem; font-size: .85rem; }
.property-source-list article > div:first-child small { margin-top: .12rem; color: var(--muted); font-size: .63rem; overflow-wrap: anywhere; }
.property-source-list dl { margin: .7rem 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; }
.property-source-list dl div { min-width: 0; padding-top: .45rem; border-top: 1px solid var(--line); }
.property-source-list dt { color: var(--muted); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.property-source-list dd { margin: .12rem 0 0; font-size: .68rem; font-weight: 730; overflow-wrap: anywhere; }
.property-source-actions { margin-top: .7rem; display: flex; flex-wrap: wrap; gap: .45rem .8rem; }
.property-source-actions a { color: var(--green-dark); font-size: .68rem; font-weight: 780; text-underline-offset: 3px; }
.glance-empty { padding: .8rem .9rem; color: var(--muted); background: #f7f9f5; border: 1px dashed #c8d3ca; border-radius: 10px; }
.glance-empty p { margin: 0; font-size: .74rem; }
.glance-empty strong + p { margin-top: .2rem; }
.recommendation-workspace { display: grid; gap: .8rem; }
.recommendation-group { padding: .85rem; border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: calc(var(--site-header-height) + var(--property-workspace-header-height,170px) + 1rem); }
.recommendation-group > header { margin-bottom: .65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.recommendation-group > header h3 { margin: .08rem 0 0; font-size: 1rem; }
.recommendation-group > header > strong { min-width: 30px; height: 30px; display: grid; place-items: center; color: var(--green-dark); background: #e2eee5; border-radius: 50%; font-size: .76rem; }
.recommendation-group .tracked-recommendation-list { margin-top: 0; }
.recommendation-group:target { outline: 3px solid rgba(23,109,93,.24); outline-offset: 3px; }

.property-contact-create-grid { margin-bottom: 1rem; display: grid; grid-template-columns: 1.45fr .85fr; gap: .7rem; }
.property-contact-create { overflow: clip; background: #f7f9f5; border: 1px solid var(--line); border-radius: 11px; }
.property-contact-create > summary { padding: .75rem .85rem; color: var(--green-dark); cursor: pointer; font-size: .76rem; font-weight: 800; }
.property-contact-create[open] > summary { border-bottom: 1px solid var(--line); }
.property-contact-create form { padding: .85rem; }
.property-contact-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.property-contact-form-grid .contact-name-field { grid-column: 1 / -1; }
.property-contact-create label > span,.property-contact-create label > small { display: block; }
.property-contact-create label > span { margin-bottom: .25rem; font-size: .72rem; font-weight: 760; }
.property-contact-create label > small { margin-top: .25rem; color: var(--muted); font-size: .7rem; }
.property-contact-create .form-control { min-height: 42px; padding: .6rem .7rem; font-size: .76rem; }
.property-contact-create input[type="file"].form-control { min-height: 0; padding: .55rem; background: white; }
.property-contact-create .button { margin-top: .75rem; padding: .62rem .85rem; font-size: .72rem; }
.property-contact-manager-list { margin-top: 0; }
.service-pin-action { margin-top: .75rem; }
.service-pin-action .button { padding: .55rem .7rem; font-size: .68rem; }

.text-control:focus-visible,.layer-panel-summary:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 3px; }
.text-control { padding: .55rem .65rem; color: var(--green-dark); background: transparent; border: 0; border-radius: 8px; cursor: pointer; font-size: .72rem; font-weight: 780; }

.layer-feed { grid-template-columns: minmax(0,1fr); align-items: start; }
.layer-panel { align-self: stretch; padding: 0; overflow: clip; }
.panel-tax .layer-icon i { background: var(--record); }
.panel-government .layer-icon i { background: #426c98; }
.government-details { display: grid; gap: .45rem; }
.government-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 1rem; }
.government-section { min-width: 0; padding: .65rem 0; border-top: 1px solid var(--line); }
.government-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.government-section-heading h3 { margin: 0; font-size: .9rem; }
.government-status { color: var(--muted); font-size: .68rem; }
.government-name { margin: .6rem 0 .3rem; font-size: 1rem; font-weight: 700; }
.government-facts { margin: .6rem 0; display: grid; gap: .55rem; }
.government-fact { display: grid; grid-template-columns: minmax(80px, .65fr) minmax(0, 1.35fr); gap: .6rem; font-size: .82rem; }
.government-fact dt { color: var(--muted); }
.government-fact dd { margin: 0; overflow-wrap: anywhere; }
.government-fact dd > span { display: block; font-size: .74rem; margin-top: .2rem; color: var(--muted); }
.government-fact-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; color: #315a83; font-weight: 700; }
.government-fact-link:focus-visible { outline: 3px solid #426c98; outline-offset: 3px; }
.government-detail { margin: .4rem 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.government-actions { display: flex; flex-wrap: wrap; gap: 0 .8rem; }
.government-action { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; max-width: 100%; color: #315a83; overflow-wrap: anywhere; font-size: .78rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.government-action:hover { color: var(--ink); }
.government-action:focus-visible,.government-source:focus-visible { outline: 3px solid #426c98; outline-offset: 3px; }
.government-source { display: inline-flex; align-items: center; min-height: 44px; color: #315a83; font-size: .72rem; }
.government-contact-note,.government-checked { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.panel-land .layer-icon i { background: var(--land); }
.panel-health .layer-icon i { background: var(--health); }
.panel-risk .layer-icon i { background: var(--risk); }
.panel-imagery .layer-icon i { background: var(--imagery); }
.panel-tax .observation-card.status-current { border-left-color: var(--record); }
.panel-land .observation-card.status-current { border-left-color: var(--land); }
.panel-risk .observation-card.status-current { border-left-color: var(--risk); }
.panel-imagery .observation-card.status-current { border-left-color: var(--imagery); }
.layer-panel-summary { display: grid; grid-template-columns: 44px minmax(0,1fr) auto 22px; gap: .9rem; align-items: start; padding: 1.15rem 1.25rem; cursor: pointer; list-style: none; }
.layer-panel-summary::-webkit-details-marker { display: none; }
.layer-panel-summary::after { content: "+"; margin-top: .1rem; color: var(--green-dark); font-size: 1.25rem; font-weight: 500; text-align: center; }
.layer-panel[open] > .layer-panel-summary::after { content: "−"; }
.layer-panel[open] > .layer-panel-summary { border-bottom: 1px solid var(--line); background: #fbfcf9; }
.layer-panel-heading { min-width: 0; }
.layer-panel-title-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .45rem .65rem; }
.layer-panel-summary .layer-panel-title { margin: 0; font-size: 1.12rem; letter-spacing: -.015em; }
.layer-panel-summary .layer-panel-meta { margin: .25rem 0 0; color: var(--muted); font-size: .72rem; }
.layer-state.state-no_record { color: #526b63; background: #edf1ec; }
.layer-state.state-source_unavailable { color: #7a3d1d; background: #fff0df; }
.layer-panel-body { padding: .3rem clamp(1.1rem,2.5vw,2rem) clamp(1.2rem,2.5vw,2rem); }
.layer-content-focus { width: 100%; height: 1px; overflow: hidden; outline: 0; }
.layer-panel-body > .facts-label:first-child { margin-top: 1.4rem; }
.layer-prismai-summary { max-width: 980px; margin-top: .7rem; padding-top: .62rem; border-top: 1px solid rgba(18,43,41,.12); }
.layer-prismai-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.layer-prismai-summary > div > span { color: var(--green-dark); font-size: .65rem; font-weight: 830; letter-spacing: .08em; text-transform: uppercase; }
.layer-prismai-summary > div > small { color: var(--muted); font-size: .64rem; font-weight: 680; }
.layer-prismai-summary > p { margin: .28rem 0 0; color: var(--ink); font-size: .8rem; line-height: 1.45; }
.layer-prismai-summary > .layer-prismai-summary-empty { color: var(--muted); }
.layer-header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.layer-header-action { min-height: 30px; padding: .28rem .42rem .28rem .55rem; display: inline-flex; align-items: center; gap: .48rem; color: var(--green-dark); background: #f7faf5; border: 1px solid rgba(18,43,41,.13); border-radius: 999px; font-size: .65rem; font-weight: 790; text-decoration: none; }
.layer-header-action strong { min-width: 20px; height: 20px; padding-inline: .25rem; display: grid; place-items: center; color: white; background: var(--green); border-radius: 999px; font-size: .63rem; font-variant-numeric: tabular-nums; }
.panel-tax .layer-recommendations-action { border-left: 3px solid var(--record); }
.panel-land .layer-recommendations-action { border-left: 3px solid var(--land); }
.panel-health .layer-recommendations-action { border-left: 3px solid var(--health); }
.panel-risk .layer-recommendations-action { border-left: 3px solid var(--risk); }
.panel-imagery .layer-recommendations-action { border-left: 3px solid var(--imagery); }
.layer-snapshots-action { color: var(--muted); background: white; }
.layer-snapshots-action strong { color: var(--green-dark); background: #e2eee5; }
.layer-header-action:hover,.layer-header-action:focus-visible { color: var(--ink); background: white; border-color: rgba(23,109,93,.3); }
.layer-header-action.is-disabled { opacity: .66; }
[data-workspace-layer-item][hidden] { display: none !important; }
.layer-feature-nav { min-width: 0; grid-column: 1 / -1; display: flex; align-items: flex-start; gap: .42rem; }
.layer-feature-nav-label { flex: 0 0 auto; color: var(--muted); font-size: .59rem; font-weight: 820; letter-spacing: .055em; text-transform: uppercase; }
.layer-feature-pills-shell { min-width: 0; flex: 1; }
.layer-feature-pills { min-width: 0; display: flex; flex-wrap: wrap; gap: .28rem; }
.layer-feature-pill,.layer-feature-more { flex: 0 0 auto; max-width: 100%; min-height: 27px; padding: .26rem .48rem; display: inline-flex; align-items: center; overflow: hidden; color: var(--green-dark); background: #e5f1ea; border: 1px solid rgba(23,109,93,.18); border-radius: 999px; font: inherit; font-size: .6rem; font-weight: 760; line-height: 1.15; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.layer-feature-pill[hidden],.layer-feature-more[hidden] { display: none !important; }
.layer-feature-more { color: var(--green-dark); background: transparent; border-style: dashed; cursor: pointer; }
.layer-feature-more:hover,.layer-feature-more:focus-visible { color: var(--ink); background: white; border-color: rgba(23,109,93,.42); }
button.layer-feature-pill { cursor: pointer; }
button.layer-feature-pill:hover,button.layer-feature-pill:focus-visible { color: var(--ink); background: white; border-color: rgba(23,109,93,.42); }
.layer-feature-pill.is-disabled { color: #6d7d77; background: #edf1ec; border-color: rgba(18,43,41,.1); opacity: .72; }
.layer-feed:not(.is-layer-focus-mode) .layer-feature-nav { align-items: flex-start; flex-direction: column; gap: .28rem; }
.layer-feed:not(.is-layer-focus-mode) .layer-feature-pills-shell,.layer-feed:not(.is-layer-focus-mode) .layer-feature-pills { width: 100%; }
.panel-land .layer-feature-pill:not(.is-disabled) { color: #684312; background: #f6e8d4; border-color: rgba(165,109,22,.2); }
.panel-health .layer-feature-pill:not(.is-disabled) { color: #0b5448; background: #dff1e9; border-color: rgba(42,139,116,.2); }
.panel-risk .layer-feature-pill:not(.is-disabled) { color: #344b8b; background: #e5eafa; border-color: rgba(76,107,179,.2); }
.panel-imagery .layer-feature-pill:not(.is-disabled) { color: #51436f; background: #eee9f6; border-color: rgba(126,98,151,.2); }
.panel-services .layer-feature-pill:not(.is-disabled) { color: #603b6d; background: #f1e6f4; border-color: rgba(139,93,153,.2); }
.imagery-catalog { margin-top: 1.15rem; padding: clamp(1rem,2vw,1.4rem); background: #f7f5fb; border: 1px solid #dcd5e9; border-radius: 15px; }
.imagery-catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.imagery-catalog-heading h3 { margin: .15rem 0 0; font-size: clamp(1.25rem,2.2vw,1.75rem); }
.imagery-catalog-heading > small { flex: 0 0 auto; color: var(--muted); font-size: .7rem; font-weight: 720; }
.imagery-catalog-intro { max-width: 850px; margin: .55rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.imagery-catalog-boundary { margin-top: .85rem; padding: .7rem .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; color: #51436f; background: white; border: 1px solid #d9d0e8; border-radius: 10px; font-size: .7rem; }
.imagery-catalog-boundary strong { text-transform: uppercase; letter-spacing: .07em; }
.imagery-catalog-boundary span { padding-left: .8rem; position: relative; }
.imagery-catalog-boundary span::before { content: ""; width: 4px; height: 4px; position: absolute; left: 0; top: .48em; background: var(--imagery); border-radius: 50%; }
.imagery-offering-grid { margin-top: .85rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.imagery-offering-card { min-width: 0; padding: .9rem; display: flex; flex-direction: column; overflow-wrap: anywhere; background: white; border: 1px solid #dcd5e9; border-top: 4px solid var(--imagery); border-radius: 12px; box-shadow: 0 7px 20px rgba(52,39,76,.06); }
.imagery-offering-badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.imagery-offering-badges span { padding: .22rem .4rem; color: #51436f; background: #eee9f6; border-radius: 999px; font-size: .61rem; font-weight: 790; }
.imagery-offering-badges .pricing-free { color: #176352; background: #e2f2eb; }
.imagery-offering-badges .pricing-paid { color: #6a4914; background: #f7ebca; }
.imagery-offering-badges .pricing-contact { color: #69401f; background: #f8e6d7; }
.imagery-offering-badges .pricing-unknown { color: var(--muted); background: #edf0eb; }
.imagery-offering-title { margin-top: .7rem; }
.imagery-offering-title > span { color: var(--imagery); font-size: .61rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.imagery-offering-title h3 { margin: .2rem 0 0; font-size: 1.05rem; line-height: 1.25; }
.imagery-offering-title p { margin: .2rem 0 0; color: var(--muted); font-size: .7rem; font-weight: 720; }
.imagery-offering-summary { margin: .65rem 0 0; color: var(--ink); font-size: .76rem; line-height: 1.5; }
.imagery-offering-facts { margin: .75rem 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; }
.imagery-offering-facts div { min-width: 0; padding: .45rem; background: #f8f7fb; border-radius: 7px; }
.imagery-offering-facts dt,.imagery-offering-facts dd { margin: 0; }
.imagery-offering-facts dt { color: var(--muted); font-size: .58rem; font-weight: 760; letter-spacing: .05em; text-transform: uppercase; }
.imagery-offering-facts dd { margin-top: .12rem; color: var(--ink); font-size: .69rem; font-weight: 720; }
.imagery-offering-details { margin-top: .75rem; border-top: 1px solid #e3ddeb; border-bottom: 1px solid #e3ddeb; }
.imagery-offering-details > summary { padding: .55rem 0; color: #51436f; cursor: pointer; font-size: .68rem; font-weight: 780; }
.imagery-offering-details > p { margin: 0 0 .6rem; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.imagery-offering-details dl { margin: 0 0 .6rem; display: grid; gap: .28rem; }
.imagery-offering-details dl div { display: flex; justify-content: space-between; gap: .7rem; font-size: .66rem; }
.imagery-offering-details dt { color: var(--muted); }
.imagery-offering-details dd { margin: 0; text-align: right; }
.imagery-offering-evidence { margin: .6rem 0; display: grid; gap: .25rem; color: var(--muted); font-size: .65rem; }
.imagery-offering-evidence strong { color: var(--ink); }
.imagery-offering-links { margin: .6rem 0; display: flex; flex-wrap: wrap; gap: .35rem .65rem; }
.imagery-offering-links a,.imagery-offering-evidence a { color: #51436f; font-weight: 750; }
.imagery-offering-actions { margin-top: auto; padding-top: .75rem; display: grid; gap: .4rem; }
.imagery-offering-actions > a,.imagery-offering-actions > button { min-height: 38px; padding: .55rem .65rem; display: grid; place-items: center; border-radius: 8px; font: inherit; font-size: .68rem; font-weight: 780; text-align: center; }
.imagery-offering-actions > a { color: white; background: #5e4c80; text-decoration: none; }
.imagery-offering-actions > a:hover,.imagery-offering-actions > a:focus-visible { background: #493a68; }
.imagery-offering-actions > button { color: #746c7e; background: #efedf2; border: 1px solid #ded9e5; cursor: not-allowed; }
.restricted-provider-note { margin: .75rem 0 .35rem; overflow: clip; background: #fff8ec; border: 1px solid #ead5ae; border-radius: 11px; }
.restricted-provider-note > summary { padding: .72rem .85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #654313; cursor: pointer; font-size: .72rem; }
.restricted-provider-note > summary span { font-weight: 800; }
.restricted-provider-note > summary strong { padding: .25rem .45rem; background: #f5e4c5; border-radius: 999px; font-size: .62rem; text-transform: uppercase; white-space: nowrap; }
.restricted-provider-note > div { padding: .85rem; border-top: 1px solid #ead5ae; }
.restricted-provider-note p { margin: 0; color: #654313; font-size: .76rem; }
.restricted-provider-note p + p { margin-top: .5rem; }
.restricted-provider-note > div > div { margin-top: .65rem; display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.restricted-provider-note a { color: #5b3b0f; font-size: .7rem; font-weight: 780; text-underline-offset: 3px; }

.workspace-dialog { width: min(1040px,calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 20px; box-shadow: 0 30px 100px rgba(18,43,41,.3); }
.workspace-dialog::backdrop { background: rgba(12,31,29,.62); backdrop-filter: blur(5px); }
.workspace-dialog-card { max-height: calc(100dvh - 2rem); display: flex; flex-direction: column; overflow: hidden; background: white; border-top: 5px solid var(--green); border-radius: 20px; }
.workspace-dialog-header { flex: 0 0 auto; padding: 1.25rem 1.35rem 1rem; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.workspace-dialog-header h2 { margin: .12rem 0 0; font-size: clamp(1.55rem,3vw,2.25rem); }
.workspace-dialog-header p { margin: .3rem 0 0; color: var(--muted); font-size: .76rem; }
.workspace-dialog-header .dialog-close { flex: 0 0 auto; }
.workspace-dialog-body { min-height: 0; padding: 1.1rem 1.25rem 1.35rem; overflow-y: auto; overscroll-behavior: contain; }
.workspace-dialog-tabs { flex: 0 0 auto; padding: .65rem 1.25rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; background: #f5f7f3; border-bottom: 1px solid var(--line); }
.workspace-dialog-tabs button { min-width: 0; padding: .55rem .7rem; display: flex; justify-content: center; gap: .4rem; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 760; }
.workspace-dialog-tabs button strong { color: inherit; }
.workspace-dialog-tabs button[aria-selected="true"] { color: white; background: var(--ink); }
.workspace-dialog-tabs button:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 2px; }
.workspace-tab-panel[hidden] { display: none; }
.workspace-dialog .recommendation-group { border: 0; padding: .25rem 0 0; }
.workspace-dialog .recommendation-group:target { outline: 0; }

.workspace-contact-toolbar { flex: 0 0 auto; padding: .7rem 1.25rem; display: flex; align-items: end; gap: 1rem; background: #f5f7f3; border-bottom: 1px solid var(--line); }
.workspace-contact-toolbar label { min-width: 0; flex: 1; }
.workspace-contact-toolbar label > span { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .7rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.workspace-contact-toolbar input { width: 100%; padding: .62rem .75rem; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: .78rem; }
.workspace-contact-toolbar output { padding-bottom: .62rem; color: var(--muted); font-size: .7rem; white-space: nowrap; }
.contact-import-hub { margin-bottom: 1rem; background: #f7f9f5; }
.contact-import-hub > summary { display: inline-flex; align-items: center; gap: .45rem; }
.contact-import-hub > summary > span { width: 20px; height: 20px; display: grid; place-items: center; color: white; background: var(--green-dark); border-radius: 50%; }
.contact-import-hub .property-contact-create-grid { margin: 0; padding: .9rem; grid-template-columns: 1.4fr .8fr; border-top: 1px solid var(--line); }
.contact-import-hub section { min-width: 0; padding: .85rem; background: white; border: 1px solid var(--line); border-radius: 10px; }
.contact-import-hub section > h3 { margin: 0 0 .7rem; font-size: .9rem; }
.contact-import-hub section form { padding: 0; }
.workspace-dialog-header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: .45rem; }
.contact-editor-launcher { width: 40px; height: 40px; display: grid; place-items: center; color: white; background: var(--green-dark); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.45rem; font-weight: 500; line-height: 1; box-shadow: 0 7px 18px rgba(18,43,41,.16); }
.contact-editor-launcher:hover { background: var(--green); }
.contact-editor-launcher:focus-visible { outline: 3px solid rgba(23,109,93,.3); outline-offset: 3px; }
.workspace-contact-editor-dialog { width: min(820px,calc(100% - 2rem)); }
.contact-editor-hub { margin: 0; }
.contact-editor-hub .property-contact-create-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.phone-contact-picker,.phone-contact-fallback { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.phone-contact-picker > p,.phone-contact-fallback { color: var(--muted); font-size: .72rem; }
.phone-contact-picker > p { margin: .45rem 0 0; }
.phone-contact-review { margin: .65rem 0; display: grid; gap: .35rem; }
.phone-contact-review article { padding: .5rem .6rem; background: #f3f6f1; border-radius: 8px; font-size: .74rem; }
.phone-contact-review strong,.phone-contact-review span { display: block; overflow-wrap: anywhere; }
.phone-contact-review span { margin-top: .08rem; color: var(--muted); font-size: .7rem; }
.phone-contact-picker form > div:last-child { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.contact-search-empty { padding: 1rem; color: var(--muted); text-align: center; background: #f7f9f5; border: 1px dashed var(--line); border-radius: 10px; }
.contact-enrollment-history { margin-top: 1rem; border-top: 1px solid var(--line); }
.contact-enrollment-history > summary { padding: 1rem 0 .25rem; color: var(--green-dark); cursor: pointer; font-size: .76rem; font-weight: 800; }
.contact-enrollment-history > summary span { margin-left: .3rem; padding: .15rem .38rem; color: white; background: var(--green-dark); border-radius: 999px; font-size: .68rem; }

.tax-line-details { margin: 0 1rem 1rem; }
.tax-supporting-detail { margin-top: 1rem; }
.tax-supporting-limit { padding: 0 1rem 1rem; }

@media (max-width: 1100px) {
  .map-stage { position: static; }
  .property-map-interactive,.property-map-svg { height: 270px; }
  .property-workspace.property-map-is-expanded .property-map-interactive,
  .property-workspace.property-map-is-expanded .property-map-svg { height: min(55vh,460px); }
  .property-content { padding-top: 1.2rem; }
}

@media (min-width: 1101px) {
  .property-workspace > .property-heading-evidence { width: 100%; margin: 0; }
}

@media (max-width: 980px) {
  .property-heading-evidence { width: 100%; }
  .imagery-offering-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .property-header-glance-grid { grid-template-columns: 1fr; gap: .35rem; }
  .property-header-glance-grid > a,.property-header-recommendations { min-height: 58px; padding: .34rem .58rem; }
  .property-source-list { grid-template-columns: 1fr; }
  .property-contact-create-grid { grid-template-columns: 1fr; }
  .contact-import-hub .property-contact-create-grid { grid-template-columns: 1fr; }
  .contact-editor-hub .property-contact-create-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .property-intelligence-panel.map-stage-empty { display: block; }
  .property-intelligence-heading h1 { font-size: 1.65rem; }
  .property-map-interactive,.property-map-svg { height: 235px; }
  .map-toolbar > span { display: block; }
  .map-details-dialog .property-map-extent { grid-template-columns: 1fr; gap: .45rem; }
  .map-details-dialog .property-map-extent div { display: flex; justify-content: space-between; gap: 1rem; }
  .map-details-dialog .property-map-extent dd { text-align: right; }
  .tax-estimate-amount { font-size: 2.35rem; }
  .property-header-recommendations { grid-template-columns: minmax(0,1fr) auto; gap: .35rem; }
  .layer-panel-summary { grid-template-columns: 38px minmax(0,1fr) 20px; padding: 1rem; }
  .layer-panel-summary .layer-state { grid-column: 2; }
  .layer-panel-summary::after { grid-column: 3; grid-row: 1 / span 2; }
  .layer-panel-body { padding-inline: .8rem; }
  .layer-header-actions { width: 100%; }
  .layer-header-action { min-height: 44px; padding: .45rem .6rem; }
  .layer-prismai-summary > div { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .layer-panel-title-row { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .tax-line-details { margin-inline: .65rem; }
  .workspace-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .workspace-dialog-card { max-height: calc(100dvh - 1rem); border-radius: 14px; }
  .workspace-dialog-header { padding: 1rem; }
  .workspace-dialog-header h2 { font-size: 1.45rem; }
  .workspace-dialog-header-actions { gap: .35rem; }
  .contact-editor-launcher,.workspace-dialog-header .dialog-close { width: 44px; height: 44px; }
  .workspace-contact-editor-dialog .button,
  .workspace-contact-editor-dialog .text-control,
  .workspace-contact-editor-dialog input[type="file"].form-control { min-height: 44px; }
  .workspace-contact-editor-dialog .button,
  .workspace-contact-editor-dialog input[type="file"].form-control { width: 100%; }
  .workspace-dialog-tabs { padding: .55rem; gap: .25rem; }
  .workspace-dialog-tabs button { padding: .5rem .3rem; flex-direction: column; gap: .05rem; font-size: .7rem; }
  .workspace-dialog-body { padding: .8rem; }
  .workspace-contact-toolbar { padding: .65rem .8rem; align-items: stretch; flex-direction: column; gap: .35rem; }
  .workspace-contact-toolbar input,.workspace-contact-editor-dialog .form-control { font-size: 1rem; }
  .workspace-contact-toolbar output { padding: 0; }
  .imagery-catalog { padding: .8rem; }
  .imagery-catalog-heading { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .imagery-catalog-boundary { align-items: flex-start; flex-direction: column; }
  .imagery-catalog-boundary span { padding-left: .7rem; }
  .imagery-offering-grid { grid-template-columns: 1fr; }
  .imagery-offering-actions > a,.imagery-offering-actions > button { min-height: 44px; }
}

/* Property workspace: combined intelligence header and focused layer cards. */
.property-workspace { --property-workspace-header-height: 0px; display: block; padding-inline: 0; }
.property-intelligence-panel {
  width: min(1500px,calc(100% - 2.4rem));
  margin: 1rem auto 0;
  position: relative;
  top: auto;
}
.property-intelligence-layout { min-width: 0; display: grid; grid-template-columns: minmax(520px,1.25fr) minmax(360px,.85fr); column-gap: .8rem; row-gap: .65rem; align-items: stretch; }
.property-intelligence-summary { min-width: 0; grid-column: 1; grid-row: 1; padding: .15rem; display: flex; flex-direction: column; }
.property-intelligence-summary .property-header-glance { margin-top: .5rem; }
.property-intelligence-summary .property-header-glance-grid { grid-template-columns: minmax(0,.72fr) minmax(260px,1.55fr) minmax(0,.72fr); }
.property-intelligence-summary .property-header-recommendations { grid-column: auto; grid-row: auto; }
.property-identity-facts { margin-top: .45rem; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .3rem; }
.property-identity-fact { min-width: 0; min-height: 40px; padding: .34rem .45rem; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.62); border: 1px solid rgba(18,43,41,.09); border-radius: 8px; }
.property-identity-fact-jurisdiction { grid-column: span 2; }
.property-identity-fact-parcel { grid-column: span 2; }
.property-identity-fact-coordinates { grid-column: span 4; }
.property-identity-fact > span { color: #60766f; font-size: .59rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.property-identity-fact > strong { min-width: 0; margin-top: .08rem; overflow-wrap: anywhere; font-size: .69rem; line-height: 1.2; }
.property-identity-fact-copy { position: relative; padding-right: 2.15rem; }
.property-copy-control { width: 28px; height: 28px; position: absolute; top: 50%; right: .3rem; display: grid; place-items: center; transform: translateY(-50%); color: var(--green-dark); background: white; border: 1px solid rgba(18,43,41,.12); border-radius: 8px; cursor: pointer; }
.property-copy-control svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.property-copy-control:hover { background: #f6faf5; border-color: rgba(23,109,93,.3); }
.property-copy-control:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 2px; }
.property-map-area { min-width: 0; grid-column: 2; grid-row: 1 / span 2; position: relative; display: flex; flex-direction: column; }
.property-map-area .property-map-shell { min-height: 0; flex: 0 0 auto; display: flex; flex-direction: column; }
.property-map-area .property-map-frame { flex: 0 0 auto; }
.property-map-area .property-map-interactive,.property-map-area .property-map-svg { height: clamp(155px,17vh,190px); }
.property-map-area .map-toolbar { width: 100%; margin: .35rem 0 0; padding: .22rem; justify-content: flex-start; gap: .18rem; background: rgba(255,255,255,.56); border-color: rgba(18,43,41,.08); border-radius: 10px; }
.property-map-area .map-toolbar .layer-toggle { padding: .28rem .4rem; font-size: .62rem; }
.property-map-area .map-toolbar .layer-toggle i { width: 8px; height: 8px; margin-right: .25rem; }
.property-map-mobile-open,.property-map-widget-close { display: none; }
.property-map-mobile-open svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.property-workspace.property-map-is-expanded .property-intelligence-layout { grid-template-columns: minmax(300px,.6fr) minmax(0,1.8fr); }
.property-workspace.property-map-is-expanded .property-map-interactive,
.property-workspace.property-map-is-expanded .property-map-svg { height: min(52vh,480px); }

.property-heading-evidence,.property-content { width: min(1500px,calc(100% - 2.4rem)); margin-inline: auto; }
.property-heading-evidence { position: sticky; top: var(--site-header-height); z-index: 26; margin-top: .2rem; padding: .48rem .62rem; display: flex; align-items: center; gap: .65rem; border-radius: 13px; box-shadow: 0 8px 24px rgba(18,43,41,.08); }
.property-content { margin-top: 0; padding: .5rem 0 7rem; }
.layer-feed { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .75rem; align-items: stretch; }
.layer-feed:not(.is-layer-focus-mode) { --layer-card-min-height: 370px; }
.layer-panel { min-width: 0; align-self: stretch; }
.layer-feed:not(.is-layer-focus-mode) .layer-panel:not([open]),
.layer-feed:not(.is-layer-focus-mode) .layer-panel:not([open]) > .layer-panel-summary { min-height: var(--layer-card-min-height); }
.layer-feed:not(.is-layer-focus-mode) .layer-panel:not([open]) > .layer-panel-summary { height: 100%; align-content: start; }
.layer-panel-summary { position: relative; grid-template-columns: 40px minmax(0,1fr) 18px; gap: .52rem .72rem; padding: 1rem; }
.layer-panel-summary::after { grid-column: 3; grid-row: 1; }
.layer-panel-summary > .layer-state { grid-column: 2; grid-row: 2; width: fit-content; justify-self: start; }
.layer-panel-title-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .5rem; }
.layer-panel-title-row > .layer-panel-title { grid-column: 1; grid-row: 1; }
.layer-panel-title-row > .layer-header-actions { grid-column: 2; grid-row: 1; }
.layer-panel-title-row > .layer-feature-nav { grid-column: 1 / -1; grid-row: 2; }
.layer-panel-summary .layer-panel-title { font-size: 1.05rem; }
.layer-panel-summary .layer-panel-meta { font-size: .67rem; }
.layer-panel:not([open]) .layer-prismai-summary > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.layer-panel:not([open]) .layer-prismai-summary { margin-top: .62rem; }
.layer-header-actions { gap: .28rem; }
.layer-header-action { width: 34px; height: 34px; min-height: 0; padding: 0; position: relative; display: grid; place-items: center; gap: 0; border-left-width: 1px !important; border-radius: 10px; }
.layer-header-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.layer-header-action strong { min-width: 17px; height: 17px; padding: 0 .22rem; position: absolute; top: -6px; right: -6px; font-size: .55rem; box-shadow: 0 0 0 2px white; }
.layer-header-action.is-disabled { opacity: .55; }

.layer-focus-bar { position: sticky; top: calc(var(--site-header-height) + var(--property-workspace-header-height,0px) + .4rem); z-index: 25; margin-bottom: .7rem; padding: .45rem; display: flex; align-items: stretch; gap: .45rem; overflow: hidden; background: rgba(246,249,244,.97); border: 1px solid rgba(18,43,41,.12); border-radius: 13px; box-shadow: 0 10px 28px rgba(18,43,41,.1); backdrop-filter: blur(10px); }
.layer-card-view { width: 42px; min-width: 42px; display: grid; place-items: center; color: white; background: var(--ink); border: 0; border-radius: 9px; cursor: pointer; }
.layer-card-view svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.layer-card-view:focus-visible,.layer-focus-switch:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 2px; }
.layer-focus-switcher { min-width: 0; flex: 1; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: thin; }
.layer-focus-switch { min-width: 135px; min-height: 42px; padding: .42rem .58rem; display: grid; grid-template-columns: 8px minmax(0,1fr); align-items: center; gap: .48rem; color: var(--muted); background: white; border: 1px solid rgba(18,43,41,.1); border-radius: 9px; cursor: pointer; font: inherit; font-size: .68rem; font-weight: 760; text-align: left; white-space: normal; }
.layer-focus-switch i { width: 6px; height: 24px; border-radius: 999px; background: var(--green); }
.layer-focus-switch.panel-tax i { background: var(--record); }
.layer-focus-switch.panel-land i { background: var(--land); }
.layer-focus-switch.panel-health i { background: var(--health); }
.layer-focus-switch.panel-risk i { background: var(--risk); }
.layer-focus-switch.panel-imagery i { background: var(--imagery); }
.layer-focus-switch.panel-services i { background: var(--services); }
.layer-focus-switch[aria-pressed="true"] { color: var(--ink); background: #e6efe3; border-color: rgba(23,109,93,.3); }
.layer-feed.is-layer-focus-mode { display: grid; grid-template-columns: minmax(0,1fr); overflow: visible; scroll-snap-type: none; }
.layer-feed.is-layer-focus-mode .layer-panel:not(.is-focused) { display: none; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused { min-height: calc(100dvh - var(--site-header-height) - var(--property-workspace-header-height,0px) - 4rem); grid-column: 1 / -1; overflow: visible; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused > .layer-panel-summary { min-height: 0; position: sticky; top: var(--site-header-height); z-index: 24; background: #fbfcf9; box-shadow: 0 10px 24px rgba(18,43,41,.1); }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row { grid-template-columns: auto minmax(0,1fr) auto; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row > .layer-panel-title { grid-column: 1; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row > .layer-feature-nav { grid-column: 2; grid-row: 1; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row > .layer-header-actions { grid-column: 3; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-feature-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-feature-more { display: none !important; }
.layer-feed.is-layer-focus-mode .layer-panel.is-focused > .layer-panel-summary > .layer-state { inset-inline: 0; }
.layer-feed.is-layer-focus-mode [data-layer-feature-section] { scroll-margin-top: calc(var(--site-header-height) + var(--layer-sticky-summary-height,150px) + 1rem); }
.layer-feature-section-list { display: grid; gap: .8rem; }
.layer-feature-section-list > .layer-feature-section { margin-top: 0; }
.layer-feature-section-body { padding: .85rem; }
.layer-feature-section-body > .observation-list { margin: 0; }
.layer-feature-empty { margin: 0; padding: 1.5rem; }

/* Property Record: compact totals, authority provenance, and status help. */
.property-record-overview {
  --property-record-accent: var(--record,#176d5d);
  margin-top: .8rem;
  padding: .9rem;
  background: #f8faf6;
  border: 1px solid rgba(18,43,41,.12);
  border-left: 4px solid var(--property-record-accent);
  border-radius: 14px;
}
.property-record-overview.has-active-payment-phase.active-phase-discount {
  --property-record-accent: #27845f;
  border-color: rgba(39,132,95,.38);
  box-shadow: 0 8px 24px rgba(39,132,95,.08);
}
.property-record-overview.has-active-payment-phase.active-phase-penalty {
  --property-record-accent: #bd6338;
  border-color: rgba(189,99,56,.42);
  box-shadow: 0 8px 24px rgba(189,99,56,.09);
}
.property-record-primary {
  display: grid;
  grid-template-columns: minmax(220px,.72fr) minmax(280px,1.28fr);
  gap: .7rem;
}
.property-record-total,
.property-record-assessments {
  min-width: 0;
  padding: .72rem .78rem;
  background: white;
  border: 1px solid rgba(18,43,41,.1);
  border-radius: 11px;
}
.property-record-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.property-record-total > span,
.property-record-assessments > span {
  color: #60766f;
  font-size: .62rem;
  font-weight: 820;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.property-record-total > strong,
.property-record-total .tax-estimate-amount {
  margin-top: .18rem;
  font-size: clamp(1.5rem,2.25vw,2.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.property-record-total small,
.property-record-assessments small {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.35;
}
.property-assessment-values {
  margin-top: .42rem;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: .38rem;
}
.property-assessment-values > div {
  min-width: 0;
  padding: .42rem .5rem;
  background: #f1f5ef;
  border-radius: 8px;
}
.property-assessment-values small,
.property-assessment-values strong { display: block; }
.property-assessment-values small { color: var(--muted); font-size: .62rem; }
.property-assessment-values strong { margin-top: .08rem; font-size: .88rem; overflow-wrap: anywhere; }

.tax-authority-grid {
  margin-top: .7rem;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .58rem;
}
.tax-authority-summary {
  min-width: 0;
  padding: .7rem;
  background: white;
  border: 1px solid rgba(18,43,41,.11);
  border-radius: 11px;
}
.tax-authority-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .45rem;
}
.tax-authority-heading h3 { min-width: 0; margin: .18rem 0 0; font-size: .87rem; line-height: 1.2; overflow-wrap: anywhere; }
.tax-authority-type {
  flex: 0 0 auto;
  padding: .2rem .38rem;
  color: var(--green-dark);
  background: #e8f0e6;
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 820;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tax-authority-status {
  margin-top: .42rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--muted);
  font-size: .63rem;
  line-height: 1.25;
}
.tax-authority-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #8aa099;
  border-radius: 50%;
}
.tax-authority-values {
  margin-top: .55rem;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .35rem;
}
.tax-authority-values > div { min-width: 0; }
.tax-authority-values dt,
.tax-authority-values dd { display: block; margin: 0; }
.tax-authority-values dt { color: var(--muted); font-size: .59rem; }
.tax-authority-values dd { margin-top: .08rem; font-size: .82rem; font-weight: 780; overflow-wrap: anywhere; }
.tax-authority-source {
  margin-top: .52rem;
  padding-top: .45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .24rem .45rem;
  border-top: 1px solid rgba(18,43,41,.08);
  color: var(--muted);
  font-size: .61rem;
}
.tax-authority-source a { color: var(--green-dark); font-weight: 760; overflow-wrap: anywhere; }

.tax-payment-links {
  margin-top: .7rem;
  padding: .6rem .68rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  background: white;
  border: 1px solid rgba(18,43,41,.1);
  border-radius: 11px;
}
.tax-payment-link {
  min-height: 34px;
  padding: .4rem .58rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--green-dark);
  background: #edf3eb;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 780;
  text-decoration: none;
}
.tax-payment-link:hover { text-decoration: underline; }
.tax-payment-link:focus-visible { outline: 3px solid rgba(23,109,93,.25); outline-offset: 2px; }
.active-phase-discount .tax-payment-link.is-active,
.active-phase-discount .tax-payment-link[aria-current="true"] {
  color: #145d42;
  background: #ddf1e5;
  border-color: rgba(39,132,95,.42);
}
.active-phase-penalty .tax-payment-link.is-active,
.active-phase-penalty .tax-payment-link[aria-current="true"] {
  color: #8b3d24;
  background: #fbe7dd;
  border-color: rgba(189,99,56,.46);
}
.tax-payment-window-grid {
  margin-top: .55rem;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .45rem;
}
.tax-payment-window {
  min-width: 0;
  padding: .58rem .62rem;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(18,43,41,.09);
  border-radius: 9px;
}
.tax-payment-window-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; }
.tax-payment-window-heading strong { font-size: .72rem; }
.tax-payment-window-heading span { color: var(--muted); font-size: .6rem; }
.tax-payment-window p { margin: .24rem 0 0; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.tax-payment-window > small { display: block; margin-top: .24rem; color: var(--muted); font-size: .6rem; }
.tax-payment-window > a { display: inline-flex; margin-top: .35rem; color: var(--green-dark); font-size: .62rem; font-weight: 760; }
.tax-payment-window.is-active.phase-discount { border-color: rgba(39,132,95,.42); }
.tax-payment-window.is-active.phase-penalty { border-color: rgba(189,99,56,.46); }

.property-record-status-grid {
  margin-top: .7rem;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .5rem;
}
.property-status-help {
  min-width: 0;
  position: relative;
  background: white;
  border: 1px solid rgba(18,43,41,.1);
  border-radius: 10px;
}
.property-status-help-summary {
  min-height: 44px;
  padding: .55rem .62rem;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto 24px;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font-size: .69rem;
  font-weight: 780;
  list-style: none;
}
.property-status-help-summary > strong { color: #526b63; font-size: .62rem; text-align: right; }
.property-status-help-summary::-webkit-details-marker { display: none; }
.property-status-help-summary:focus-visible { outline: 3px solid rgba(23,109,93,.25); outline-offset: 2px; }
.property-status-help-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: #e8f0e6;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 850;
}
.property-status-help-content {
  width: min(290px,calc(100vw - 2rem));
  padding: .68rem .72rem;
  position: absolute;
  left: 0;
  top: calc(100% + .32rem);
  z-index: 12;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(18,43,41,.15);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(18,43,41,.17);
  font-size: .68rem;
  line-height: 1.45;
}
.property-status-help:not([open]) .property-status-help-content { display: none; }
.property-status-help:hover .property-status-help-content,
.property-status-help:focus-within .property-status-help-content,
.property-status-help[open] .property-status-help-content { display: block; }
.property-status-help-content > :first-child { margin-top: 0; }
.property-status-help-content > :last-child { margin-bottom: 0; }

@media (min-width: 901px) {
  .property-heading-evidence { width: min(1470px,calc(100% - 3.2rem)); margin-top: -.42rem; }
}

@media (max-width: 1280px) {
  .layer-feed { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 1150px) {
  .property-intelligence-layout { grid-template-columns: minmax(460px,1.1fr) minmax(340px,.9fr); }
  .tax-authority-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1050px) {
  .layer-feed { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 840px) {
  .layer-feed { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .property-intelligence-layout { grid-template-columns: 1fr; }
  .property-intelligence-summary { grid-column: 1; grid-row: 1; }
  .property-map-area { grid-column: 1; grid-row: 2; }
  .property-intelligence-summary .property-header-glance { margin-top: .65rem; }
  .property-map-area .property-map-interactive,.property-map-area .property-map-svg { height: 205px; }
  .property-map-area .map-toolbar { display: none; }
  .property-map-area .property-map-expand { display: none; }
  .property-map-mobile-open { min-height: 44px; padding: .58rem .75rem; position: absolute; left: 50%; bottom: .7rem; z-index: 4; display: inline-flex; align-items: center; gap: .45rem; transform: translateX(-50%); color: white; background: rgba(18,43,41,.92); border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 800; box-shadow: 0 8px 24px rgba(18,43,41,.24); white-space: nowrap; }
  .property-workspace.property-map-widget-is-open .property-map-area { position: fixed; inset: var(--site-header-height) .5rem .5rem; z-index: 60; padding: .75rem; overflow-y: auto; background: #e7eee3; border: 1px solid rgba(18,43,41,.16); border-radius: 16px; box-shadow: 0 28px 90px rgba(18,43,41,.36); }
  .property-workspace.property-map-widget-is-open .property-map-widget-close { width: 44px; height: 44px; position: absolute; top: .45rem; right: .45rem; z-index: 8; display: grid; place-items: center; color: white; background: var(--ink); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.5rem; }
  .property-workspace.property-map-widget-is-open .property-map-details-control { right: 3.65rem; }
  .property-workspace.property-map-widget-is-open .property-map-shell { min-height: calc(100dvh - 170px); }
  .property-workspace.property-map-widget-is-open .property-map-frame { min-height: 52dvh; }
  .property-workspace.property-map-widget-is-open .property-map-interactive,
  .property-workspace.property-map-widget-is-open .property-map-svg { height: 52dvh; }
  .property-workspace.property-map-widget-is-open .map-toolbar { display: flex; }
  .property-workspace.property-map-widget-is-open .property-map-mobile-open { display: none; }
}

@media (max-width: 700px) {
  .property-intelligence-panel,.property-heading-evidence,.property-content { width: calc(100% - 1rem); }
  .property-intelligence-summary .property-header-glance-grid { grid-template-columns: 1fr; }
  .property-intelligence-summary .property-header-recommendations { grid-column: auto; grid-row: auto; }
  .property-identity-facts { grid-template-columns: 1fr; }
  .property-identity-fact,
  .property-identity-fact-jurisdiction,
  .property-identity-fact-parcel,
  .property-identity-fact-coordinates { grid-column: auto; }
  .property-heading-evidence { top: var(--site-header-height); overflow-x: auto; }
  .layer-feed:not(.is-layer-focus-mode) { display: flex; gap: .7rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: .35rem; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .layer-feed:not(.is-layer-focus-mode) .layer-panel { flex: 0 0 calc(100% - 1.5rem); scroll-snap-align: center; }
  .layer-feed:not(.is-layer-focus-mode) { --layer-card-min-height: 340px; }
  .layer-focus-bar { top: calc(var(--site-header-height) + var(--property-workspace-header-height,0px) + .3rem); }
  .layer-focus-switch { min-width: 120px; }
  .layer-header-action { width: 44px; height: 44px; }
  .property-record-overview { padding: .65rem; }
  .property-record-primary,
  .tax-authority-grid,
  .tax-payment-window-grid,
  .property-record-status-grid { grid-template-columns: 1fr; }
  .tax-authority-summary { padding: .65rem; }
  .tax-payment-link { min-height: 44px; }
  .property-status-help-content { position: static; width: auto; margin: 0 .62rem .62rem; box-shadow: none; }
  .property-status-help:not([open]) .property-status-help-content { display: none; }
  .property-status-help[open] .property-status-help-content { display: block; }
}

/* Property assistant: bounded, cited, and explicitly read-only. */
.property-assistant {
  width: min(1360px,calc(100% - 2.4rem));
  margin: 1.4rem auto 0;
  padding: clamp(1.25rem,3vw,2.25rem);
  color: white;
  background:
    radial-gradient(circle at 86% -18%,rgba(203,230,91,.18),transparent 31%),
    linear-gradient(135deg,#0a3733 0%,#102f2e 52%,#102826 100%);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(18,43,41,.13);
}
.property-assistant-heading { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 1.1rem; align-items: center; }
.property-assistant-heading .eyebrow { color: var(--lime); }
.property-assistant-heading h2 { max-width: 770px; margin: .2rem 0 .45rem; font-size: clamp(1.85rem,3.4vw,3.2rem); }
.property-assistant-heading p { max-width: 760px; margin: 0; color: rgba(255,255,255,.72); }
.assistant-prism { width: 54px; height: 54px; display: block; object-fit: contain; }
.assistant-trust-labels { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.assistant-trust-labels span,.assistant-generated-label,.assistant-session-status { padding: .38rem .62rem; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; font-size: .68rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.assistant-fixed-boundary { margin: 1.25rem 0 0; padding: .8rem 1rem; color: rgba(255,255,255,.78); background: rgba(255,255,255,.06); border-left: 3px solid var(--lime); border-radius: 0 10px 10px 0; font-size: .8rem; }
.assistant-fixed-boundary strong { color: white; }

.assistant-saved-review { margin-top: 1.1rem; padding: clamp(1rem,2.5vw,1.7rem); color: var(--ink); background: #fbfcf9; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; }
.assistant-saved-review.review-stale { border-color: #e4ae59; box-shadow: inset 4px 0 0 #e4ae59; }
.assistant-review-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.assistant-review-heading h3 { margin: .5rem 0 .2rem; font-size: clamp(1.35rem,2.6vw,2rem); }
.assistant-review-heading p { margin: 0; color: var(--muted); font-size: .74rem; }
.assistant-generated-label { display: inline-flex; color: var(--green-dark); background: #e0eee5; border-color: #c9ddd0; }
.assistant-coverage { display: inline-flex; padding: .5rem .72rem; color: var(--green-dark); background: #e8eee7; border-radius: 999px; font-size: .72rem; font-weight: 780; }
.assistant-stale-notice { margin-top: 1rem; padding: .85rem 1rem; color: #674016; background: #fff2dc; border: 1px solid #edc987; border-radius: 12px; }
.assistant-stale-notice p { margin: .25rem 0 0; font-size: .79rem; }
.assistant-review-summary { margin-top: 1rem; padding: 1rem 1.1rem; background: #eef4ec; border-radius: 12px; }
.assistant-review-summary > span,.assistant-section-heading > span,.assistant-unresolved > span { color: var(--green); font-size: .67rem; font-weight: 830; letter-spacing: .09em; text-transform: uppercase; }
.assistant-review-summary p { max-width: 1000px; margin: .3rem 0 0; font-size: 1rem; }
.assistant-review-grid { margin-top: 1.2rem; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.2rem; }
.assistant-review-grid > section { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.assistant-section-heading h3,.assistant-section-heading h4,.assistant-unresolved h4 { margin: .18rem 0 .65rem; }
.assistant-key-points,.assistant-action-items { margin: 0; padding: 0; list-style: none; counter-reset: assistant-items; }
.assistant-key-points > li,.assistant-action-items > li { position: relative; padding: .8rem 0 .8rem 2rem; border-top: 1px solid var(--line); counter-increment: assistant-items; }
.assistant-key-points > li:first-child,.assistant-action-items > li:first-child { border-top: 0; }
.assistant-key-points > li::before,.assistant-action-items > li::before { content: counter(assistant-items); position: absolute; left: 0; top: .82rem; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: .65rem; font-weight: 820; }
.assistant-key-points p,.assistant-action-items p { margin: 0; overflow-wrap: anywhere; }
.assistant-key-points small,.assistant-action-items small { display: block; margin-top: .3rem; color: var(--muted); }
.assistant-action-items > li > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.assistant-action-items > li > div:first-child span { flex: 0 0 auto; color: var(--green); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.assistant-action-items.actions-stale { color: #5c675f; }
.assistant-citations,.assistant-answer-citations { margin-top: .45rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.assistant-citations + .assistant-citations { margin-top: .28rem; }
.assistant-citations a,.assistant-answer-citations a { padding: .25rem .45rem; color: var(--green-dark); background: #e3efe7; border-radius: 6px; font-size: .67rem; font-weight: 760; text-decoration: none; }
.assistant-citations a:hover,.assistant-answer-citations a:hover { text-decoration: underline; }
.assistant-empty-state { margin: .7rem 0 0; color: var(--muted); font-size: .8rem; }
.assistant-unresolved { margin-top: 1.2rem; padding: 1rem 1.1rem; background: #f3f1e8; border-radius: 12px; }
.assistant-unresolved ul,.assistant-answer-unresolved ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.assistant-unresolved li,.assistant-answer-unresolved li { margin-top: .2rem; }
.assistant-review-sources { margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.assistant-review-sources > summary { padding: .8rem 1rem; cursor: pointer; color: var(--green-dark); background: #eef4ec; font-size: .78rem; font-weight: 800; }
.assistant-review-sources > p { margin: .8rem 1rem; color: var(--muted); font-size: .75rem; }
.assistant-review-source { margin: 0 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.assistant-review-source > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; }
.assistant-review-source > div span,.assistant-review-source > p,.assistant-review-source li { color: var(--muted); font-size: .72rem; }
.assistant-review-source > a { display: inline-block; margin-top: .35rem; font-size: .72rem; font-weight: 760; }
.assistant-review-source > p { margin: .5rem 0 0; }
.assistant-review-source ul { margin: .55rem 0 0; padding-left: 1.1rem; }
.assistant-review-source:target,.assistant-review-source :target { color: var(--green-dark); background: #e1f1e9; outline: 3px solid rgba(70,166,125,.22); }
.assistant-review-delete { margin-top: 1rem; display: flex; align-items: center; gap: .7rem; }
.assistant-review-delete button,.assistant-revoke { padding: .25rem 0; color: var(--danger); background: transparent; border: 0; cursor: pointer; font: inherit; font-size: .73rem; font-weight: 780; text-decoration: underline; }
.assistant-review-delete small { color: var(--muted); }

.assistant-grant,.assistant-unavailable { margin-top: 1.1rem; padding: 1.2rem; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); border-radius: 16px; }
.assistant-grant { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1.2rem; align-items: end; }
.assistant-grant h3 { margin: .25rem 0 .45rem; font-size: clamp(1.3rem,2.5vw,1.9rem); }
.assistant-grant p,.assistant-unavailable p { margin: 0; color: rgba(255,255,255,.72); font-size: .84rem; }
.assistant-grant .eyebrow { color: var(--lime); }
.assistant-consent-row { margin-top: 1rem; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: .7rem; align-items: start; cursor: pointer; }
.assistant-consent-row input,.assistant-save-row input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--lime); }
.assistant-consent-row strong,.assistant-consent-row small { display: block; }
.assistant-consent-row small { margin-top: .15rem; color: rgba(255,255,255,.68); }
.assistant-grant > .button { color: var(--ink); background: var(--lime); }

.assistant-session { margin-top: 1.1rem; }
.assistant-session > header { padding: .75rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.13); }
.assistant-session > header > div { display: flex; align-items: center; gap: .7rem; }
.assistant-session > header p { margin: 0; color: rgba(255,255,255,.68); font-size: .75rem; }
.assistant-session-status { display: inline-flex; align-items: center; gap: .42rem; color: #e8f4b6; }
.assistant-session-status i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(203,230,91,.12); }
.assistant-revoke { color: #ffd8d0; }
.assistant-session-tools { display: grid; grid-template-columns: minmax(250px,.85fr) minmax(320px,1.15fr); gap: .8rem; }
.assistant-review-form,.assistant-question-form { padding: 1.1rem; border-radius: 15px; }
.assistant-review-form { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); }
.assistant-review-form .eyebrow { color: var(--lime); }
.assistant-review-form h3 { margin: .25rem 0 .45rem; }
.assistant-review-form p { margin: 0; color: rgba(255,255,255,.7); font-size: .8rem; }
.assistant-save-row { margin: .85rem 0; display: grid; grid-template-columns: 22px 1fr; gap: .55rem; align-items: start; font-size: .76rem; cursor: pointer; }
.assistant-question-form { color: var(--ink); background: #fbfcf9; }
.assistant-question-form-full { max-width: 900px; margin: 0 auto; }
.assistant-question-form .eyebrow { color: var(--green); }
.assistant-question-form label { display: block; margin: .3rem 0 .5rem; }
.assistant-question-form textarea { width: 100%; min-height: 96px; resize: vertical; padding: .75rem .85rem; color: var(--ink); background: white; border: 1px solid #bdcbc1; border-radius: 10px; font: inherit; }
.assistant-summary-delete { margin: .85rem 0 0; padding: .65rem .8rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; font-size: .72rem; }
.assistant-summary-delete button { padding: .3rem .45rem; color: white; background: transparent; border: 0; border-radius: 6px; cursor: pointer; font: inherit; font-weight: 760; text-decoration: underline; text-underline-offset: 3px; }
.assistant-question-submit { margin-top: .65rem; display: flex; align-items: center; gap: .7rem; }
.assistant-question-submit small { color: var(--muted); }
.assistant-live-status { min-height: 1.35rem; margin: .55rem 0 0; color: var(--green-dark); font-size: .75rem; }
.assistant-noscript { margin: .5rem 0 0; color: var(--danger); font-size: .75rem; }
.assistant-answer { margin-top: .8rem; padding: 1.1rem; color: var(--ink); background: #fbfcf9; border: 2px solid var(--lime); border-radius: 15px; }
.assistant-answer[hidden] { display: none; }
.assistant-answer-text { max-width: 1000px; margin: 0; white-space: pre-wrap; }
.assistant-answer-coverage { width: fit-content; margin: .7rem 0 0; padding: .35rem .55rem; color: var(--green-dark); background: #e7efe7; border-radius: 7px; font-size: .72rem; font-weight: 780; text-transform: capitalize; }
.assistant-answer-source-block,.assistant-answer-unresolved { margin-top: .85rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.assistant-answer-source-block > strong,.assistant-answer-unresolved > strong { font-size: .78rem; }
.assistant-question-form textarea:focus-visible,.assistant-consent-row input:focus-visible,.assistant-save-row input:focus-visible,.assistant-revoke:focus-visible,.assistant-review-delete button:focus-visible,.assistant-citations a:focus-visible,.assistant-answer-citations a:focus-visible { outline: 3px solid rgba(203,230,91,.55); outline-offset: 3px; }

/* prisma: a compact, time-boxed property chat that stays available without occupying the workspace. */
.prism-chat-widget {
  position: fixed;
  right: max(1rem,env(safe-area-inset-right));
  bottom: max(1rem,env(safe-area-inset-bottom));
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
  pointer-events: none;
}
.prism-chat-widget > * { pointer-events: auto; }
.prism-chat-panel {
  width: min(390px,calc(100vw - 2rem));
  max-height: min(650px,calc(100dvh - 6.6rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 92% -10%,rgba(203,230,91,.18),transparent 34%),
    linear-gradient(145deg,#0c423b 0%,#102f2e 62%,#102826 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(7,31,29,.28);
}
.prism-chat-panel[hidden] { display: none; }
.prism-chat-heading { flex: 0 0 auto; padding: .85rem 1rem; display: grid; grid-template-columns: 42px minmax(0,1fr) 34px; gap: .7rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.prism-chat-mark,.prism-chat-launcher-mark,.prism-disclosure-mark { display: grid; place-items: center; background: #f8fbf7; border-radius: 12px; box-shadow: 0 7px 18px rgba(5,27,25,.2); }
.prism-chat-mark { width: 42px; height: 42px; }
.prism-chat-mark img { width: 38px; height: 38px; }
.prism-chat-heading span:not(.prism-chat-mark) { display: block; color: var(--lime); font-size: .63rem; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
.prism-chat-heading h2 { margin: .05rem 0 0; color: white; font-size: 1.15rem; }
.prism-chat-minimize { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; cursor: pointer; font: inherit; font-size: 1.25rem; line-height: 1; }
.prism-chat-minimize:hover { background: rgba(255,255,255,.14); }
.prism-chat-body { min-height: 0; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; }
.prism-session-form { padding: 1rem; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; }
.prism-session-form p { margin: .75rem 0 0; color: rgba(255,255,255,.76); font-size: .78rem; }
.prism-session-form p button { padding: 0; color: var(--lime); background: transparent; border: 0; cursor: pointer; font: inherit; font-weight: 780; text-decoration: underline; text-underline-offset: 3px; }
.prism-session-toggle { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: .7rem; align-items: center; cursor: pointer; }
.prism-session-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.prism-switch { position: relative; width: 42px; height: 24px; display: block; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; transition: background .18s,border-color .18s; }
.prism-switch i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: white; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,.22); transition: transform .18s; }
.prism-session-toggle input:checked + .prism-switch { background: var(--lime); border-color: var(--lime); }
.prism-session-toggle input:checked + .prism-switch i { transform: translateX(18px); background: var(--ink); }
.prism-session-toggle input:focus-visible + .prism-switch { outline: 3px solid rgba(203,230,91,.58); outline-offset: 3px; }
.prism-session-toggle strong { color: white; font-size: .92rem; }
.prism-session-form[aria-busy="true"] { opacity: .72; }
.prism-session-form-status { min-height: 1.1rem; }
.prism-chat-body .assistant-summary-delete { margin: 0 0 .8rem; color: rgba(255,255,255,.74); }
.prism-chat-body .assistant-unavailable { margin: .8rem 0 0; padding: .9rem; }
.prism-chat-body .assistant-question-form { margin-top: .8rem; padding: .9rem; border-radius: 14px; }
.prism-chat-body .assistant-question-form label { margin-top: 0; }
.prism-chat-body .assistant-question-form textarea { min-height: 84px; }
.prism-chat-body .assistant-question-meta { margin-top: .45rem; display: flex; justify-content: space-between; gap: .75rem; color: var(--muted); }
.prism-chat-body .assistant-question-submit { align-items: flex-start; flex-direction: column; }
.prism-chat-body .assistant-question-submit .button { width: 100%; padding-block: .72rem; }
.prism-chat-body .assistant-answer { margin-top: .8rem; padding: .9rem; max-height: 280px; overflow-y: auto; border-width: 1px; }
.prism-chat-body .assistant-section-heading h3 { margin-bottom: .45rem; }
.prism-chat-launcher { width: 62px; min-width: 62px; min-height: 62px; position: relative; padding: 6px; display: flex; gap: 0; align-items: center; overflow: hidden; color: white; white-space: nowrap; background: linear-gradient(135deg,var(--green) 0%,var(--green-dark) 100%); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; box-shadow: 0 16px 38px rgba(10,55,51,.28); cursor: pointer; font: inherit; text-align: left; transition: width .2s ease,transform .16s ease,box-shadow .16s ease; }
.prism-chat-launcher:hover { transform: translateY(-1px); box-shadow: 0 19px 44px rgba(10,55,51,.32); }
.prism-chat-launcher-mark { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; }
.prism-chat-launcher-mark img { width: 44px; height: 44px; }
.prism-chat-launcher-copy { max-width: 0; margin-left: 0; overflow: hidden; opacity: 0; transform: translateX(5px); transition: max-width .2s ease,margin-left .2s ease,opacity .15s ease,transform .2s ease; }
.prism-chat-launcher strong,.prism-chat-launcher small { display: block; }
.prism-chat-launcher strong { font-size: .9rem; }
.prism-chat-launcher small { margin-top: .05rem; color: rgba(255,255,255,.72); font-size: .67rem; }
.prism-chat-active-dot { width: 9px; height: 9px; position: absolute; top: 5px; right: 5px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(203,230,91,.16); }
.prism-chat-launcher:focus-visible { width: 190px; padding-right: .8rem; }
.prism-chat-launcher:focus-visible .prism-chat-launcher-copy { max-width: 110px; margin-left: .65rem; opacity: 1; transform: translateX(0); }
.prism-chat-launcher:focus-visible,.prism-chat-minimize:focus-visible,.prism-session-form p button:focus-visible { outline: 3px solid rgba(23,109,93,.35); outline-offset: 3px; }

@media (hover: hover) {
  .prism-chat-launcher:hover { width: 190px; padding-right: .8rem; }
  .prism-chat-launcher:hover .prism-chat-launcher-copy { max-width: 110px; margin-left: .65rem; opacity: 1; transform: translateX(0); }
}

.prism-disclosure-dialog { width: min(620px,calc(100% - 2rem)); padding: 0; color: var(--ink); background: transparent; border: 0; }
.prism-disclosure-dialog::backdrop { background: rgba(8,28,27,.62); backdrop-filter: blur(3px); }
.prism-disclosure-card { position: relative; padding: clamp(1.25rem,4vw,2.1rem); background: #fbfcf9; border: 1px solid rgba(18,43,41,.13); border-radius: 22px; box-shadow: 0 28px 80px rgba(5,27,25,.3); }
.prism-disclosure-mark { width: 58px; height: 58px; margin-bottom: 1rem; }
.prism-disclosure-mark img { width: 52px; height: 52px; }
.prism-disclosure-card .eyebrow { margin-bottom: .35rem; }
.prism-disclosure-card h2 { margin: 0; font-size: clamp(1.55rem,4vw,2.25rem); }
.prism-disclosure-card > p { margin: .8rem 0 0; color: var(--muted); }
.prism-disclosure-boundaries { margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.prism-disclosure-boundaries span { padding: .35rem .55rem; color: var(--green-dark); background: #e1efe7; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.tax-estimate-card[id],.tax-supporting-detail[id],.authority-total[id],.observation-card,.finding { scroll-margin-top: calc(var(--site-header-height) + 1.25rem); }
.tax-estimate-card:target,.tax-supporting-detail:target,.observation-card:target,.finding:target { outline: 3px solid rgba(23,109,93,.35); outline-offset: 4px; }
.authority-total:target > th,.authority-total:target > td { background: #e1f1e9; box-shadow: inset 0 2px 0 rgba(23,109,93,.3),inset 0 -2px 0 rgba(23,109,93,.3); }

@media (max-width: 900px) {
  .property-assistant-heading { grid-template-columns: 48px minmax(0,1fr); }
  .assistant-trust-labels { grid-column: 2; justify-content: flex-start; }
  .assistant-review-grid,.assistant-session-tools { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .tracked-recommendations { width: calc(100% - 1rem); padding: .9rem; border-radius: 14px; }
  .tracked-recommendations > header { align-items: flex-start; flex-direction: column; }
  .tracked-recommendation-list { grid-template-columns: 1fr; }
  .property-contact-form-grid,.property-source-list dl { grid-template-columns: 1fr; }
  .property-contact-form-grid .contact-name-field { grid-column: auto; }
  .assistant-summary-delete,.refresh-dialog-heading { align-items: flex-start; flex-direction: column; }
  .ai-summary-switch { align-self: flex-start; }
  .prism-chat-widget { right: max(.5rem,env(safe-area-inset-right)); bottom: max(.5rem,env(safe-area-inset-bottom)); }
  .prism-chat-panel { width: calc(100vw - 1rem); max-height: calc(100dvh - 5.7rem); border-radius: 17px; }
  .prism-chat-body { padding: .8rem; }
  .prism-chat-launcher { width: 60px; min-width: 60px; min-height: 60px; padding: 6px; }
  .prism-chat-launcher:focus-visible { width: 190px; padding-right: .7rem; }
  .prism-chat-launcher-mark { width: 46px; height: 46px; flex-basis: 46px; }
  .prism-chat-launcher-mark img { width: 42px; height: 42px; }
  .prism-disclosure-dialog { width: calc(100% - 1rem); }
}

.property-card-refreshing {
  border-color: rgba(74,168,140,.48);
  cursor: progress;
  box-shadow: 0 10px 34px rgba(18,43,41,.1);
}
.property-card-refreshing:hover {
  transform: none;
  box-shadow: 0 10px 34px rgba(18,43,41,.1);
}
.property-card-refreshing .mini-map {
  background: linear-gradient(135deg,#d4e6df,#eef5f1);
}
.property-refresh-state {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .62rem;
  border-radius: 999px;
  background: rgba(74,168,140,.13);
  color: #245f50;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.property-refresh-state i {
  width: .7rem;
  height: .7rem;
  border: 2px solid rgba(36,95,80,.25);
  border-top-color: #245f50;
  border-radius: 50%;
  animation: property-refresh-spin .9s linear infinite;
}
.property-refresh-state-incomplete {
  background: rgba(227,160,47,.14);
  color: #815714;
}
.property-refresh-state-failed {
  background: rgba(179,74,66,.12);
  color: #8c3933;
}
.property-card-refreshing .card-link { color: #245f50; }
.property-card-map-preview {
  height: 158px;
  position: relative;
  display: block;
  color: rgba(18,43,41,.12);
  background: #e9f0e6;
}
.property-card-map-svg { width: 100%; height: 100%; display: block; }
.property-card-map-preview .property-map-grid { color: rgba(18,43,41,.12); }
.property-card-map-preview .map-layer-parcel { color: #234c43; fill: rgba(203,230,91,.3); stroke-width: 4; }
.property-card-map-preview .map-layer-hydrography { color: #2d79a6; stroke-width: 6; }
.property-card-map-basin { color: rgba(49,125,106,.55); stroke: #317d6a; stroke-width: 3; }
.property-card-map-soil { fill: rgba(226,167,68,.22); stroke: #a56d16; stroke-width: 4; stroke-dasharray: 7 5; }
.property-card-map-north { color: var(--ink); fill: currentColor; }
.property-card-map-north text { font-size: 19px; font-weight: 820; letter-spacing: .08em; }
.property-card-map-label {
  position: absolute;
  left: .7rem;
  bottom: .55rem;
  padding: .24rem .48rem;
  color: #31534c;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(18,43,41,.1);
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(18,43,41,.08);
  font-size: .62rem;
  font-weight: 780;
  letter-spacing: .02em;
}
.property-card-map-pending { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(155deg,#e1e9df,#f1f4ed); }
.property-card-map-pending::before,.property-card-map-pending::after,.property-card-map-pending i,.property-card-map-pending span,.property-card-map-pending b { content: ""; position: absolute; display: block; background: rgba(49,83,76,.1); transform: rotate(-19deg); }
.property-card-map-pending::before { width: 120%; height: 2px; left: -8%; top: 38%; }
.property-card-map-pending::after { width: 120%; height: 2px; left: -5%; top: 72%; }
.property-card-map-pending i { width: 2px; height: 150%; left: 33%; top: -25%; }
.property-card-map-pending span { width: 2px; height: 150%; left: 70%; top: -25%; }
.property-card-map-pending b { width: 13px; height: 13px; left: calc(50% - 6px); top: calc(50% - 6px); background: var(--green); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 5px rgba(74,168,140,.17); transform: none; }
.property-card-snapshot { margin: .85rem 0 .55rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem; }
.property-card-snapshot > div { min-width: 0; padding: .48rem .42rem; background: #f4f7f1; border: 1px solid rgba(18,43,41,.08); border-radius: 9px; text-align: center; }
.property-card-snapshot dt { overflow: hidden; color: #526b63; font-size: .57rem; font-weight: 740; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.property-card-snapshot-label-compact { display: none; }
.property-card-snapshot dd { margin: .15rem 0 0; color: #1f6254; font-size: 1rem; font-weight: 820; font-variant-numeric: tabular-nums; line-height: 1; }
.property-card-body .property-card-last-check { min-height: 0; margin: 0 0 .7rem; color: #526b63; font-size: .65rem; }
@keyframes property-refresh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .property-refresh-state i { animation: none; }
}
@media (max-width: 650px) {
  .property-card-snapshot > div { padding-inline: .28rem; }
  .property-card-snapshot dt { font-size: .53rem; letter-spacing: -.01em; }
}
@media (max-width: 360px) {
  .property-card-snapshot-label-wide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .property-card-snapshot-label-compact { display: inline; }
}

/* Property workspace hierarchy: identity first, one persistent layer navigator, and compact cards. */
.property-intelligence-layout { align-items: stretch; }
.property-intelligence-summary { height: 100%; }
.property-intelligence-heading { margin-bottom: 0; }
.property-identity-heading { align-items: flex-start; }
.property-identity-copy { min-width: 0; }
.property-identity-copy > p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.property-intelligence-actions { min-width: 210px; display: flex; flex-direction: column; align-items: flex-end; gap: .38rem; }
.property-intelligence-actions .property-remove-link { margin: 0; }
.refresh-layers-button {
  min-width: 205px;
  padding: .48rem .58rem;
  align-items: stretch;
  gap: .22rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: none;
  text-align: left;
  transition: color .18s,background .18s,border-color .18s,transform .18s;
}
.refresh-layers-button:not(:disabled):hover {
  color: var(--green-dark);
  background: rgba(255,255,255,.5);
  border-color: rgba(23,109,93,.2);
  box-shadow: none;
}
.refresh-layers-button:focus-visible {
  color: var(--green-dark);
  background: rgba(255,255,255,.5);
  border-color: rgba(23,109,93,.24);
  outline: 3px solid rgba(23,109,93,.24);
  outline-offset: 2px;
}
.refresh-layers-button:disabled { color: var(--muted); background: transparent; border-color: transparent; box-shadow: none; cursor: not-allowed; }
.refresh-control-main { display: flex; align-items: center; justify-content: flex-end; gap: .42rem; }
.refresh-control-main svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.refresh-control-main strong { font-size: .7rem; font-weight: 790; }
.refresh-layers-button > small { display: flex; align-items: center; justify-content: flex-end; gap: .28rem; font-size: .6rem; text-align: right; }
.refresh-layers-button > small i { width: 14px; height: 14px; display: inline-grid; place-items: center; flex: 0 0 auto; color: white; background: var(--green); border-radius: 50%; font-size: .56rem; font-style: normal; font-weight: 900; }
.refresh-layers-button.has-source-warnings > small i { background: #b87025; }
.refresh-layers-button.has-refresh-failure > small i { background: var(--danger); }
.refresh-layers-button.is-refreshing .refresh-control-main svg { animation: property-refresh-spin .9s linear infinite; }
.property-coordinate-action { min-width: 205px; padding: .42rem .58rem !important; text-align: center; }
.property-identity-facts { grid-template-columns: repeat(6,minmax(0,1fr)); }
.property-identity-fact-parcel { grid-column: span 2; }
.property-identity-fact-coordinates { grid-column: span 4; }
.property-identity-fact-jurisdiction { grid-column: span 2; }

@media (min-width: 901px) {
  .property-map-area { height: 100%; }
  .property-map-area .property-map-shell { min-height: 0; flex: 1 1 auto; }
  .property-map-area .property-map-frame { min-height: 250px; flex: 1 1 auto; }
  .property-map-area .property-map-fallback { height: 100%; }
  .property-map-area .property-map-interactive,
  .property-map-area .property-map-svg { min-height: 250px; height: 100%; }
}

.layer-focus-bar.property-intelligence-layer-nav {
  width: 100%;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  position: static;
  top: auto;
  z-index: auto;
  padding: .42rem;
  display: flex;
  overflow: hidden;
  background: rgba(255,255,255,.42);
  border-color: rgba(18,43,41,.09);
  box-shadow: none;
  backdrop-filter: none;
}
.property-intelligence-layer-nav .layer-focus-switch { min-width: 110px; min-height: 40px; padding: .36rem .48rem; font-size: .64rem; }
.layer-card-view { width: auto; min-width: 92px; padding: .4rem .58rem; grid-template-columns: 19px auto; gap: .42rem; font: inherit; font-size: .65rem; font-weight: 790; }
.layer-card-view.is-active { background: var(--green-dark); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.layer-focus-switch.panel-tax[aria-pressed="true"] { color: white; background: var(--record); border-color: var(--record); }
.layer-focus-switch.panel-land[aria-pressed="true"] { color: #5b390c; background: #f3e4cf; border-color: var(--land); box-shadow: inset 0 -3px 0 var(--land); }
.layer-focus-switch.panel-health[aria-pressed="true"] { color: #0b5146; background: #dff1e9; border-color: var(--health); box-shadow: inset 0 -3px 0 var(--health); }
.layer-focus-switch.panel-risk[aria-pressed="true"] { color: #2e427d; background: #e5eafa; border-color: var(--risk); box-shadow: inset 0 -3px 0 var(--risk); }
.layer-focus-switch.panel-imagery[aria-pressed="true"] { color: #51436f; background: #eee9f6; border-color: var(--imagery); box-shadow: inset 0 -3px 0 var(--imagery); }
.layer-focus-switch.panel-services[aria-pressed="true"] { color: #603b6d; background: #f1e6f4; border-color: var(--services); box-shadow: inset 0 -3px 0 var(--services); }
.property-content { padding-top: .5rem; }

.layer-panel { overflow: hidden; }
.layer-panel-summary { padding-bottom: 2.05rem; }
.layer-prismai-summary > div > span { font-size: .7rem; letter-spacing: .01em; text-transform: none; }
.layer-prismai-summary-empty.is-generating { color: var(--green-dark); font-style: italic; }
.layer-panel-summary > .layer-state {
  width: auto;
  height: 19px;
  padding: 0 .7rem;
  position: absolute;
  inset: auto -1rem 0;
  display: grid;
  place-items: center;
  grid-column: 1 / -1;
  border: 0;
  border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px);
  font-size: .54rem;
  letter-spacing: .06em;
  line-height: 1;
  justify-self: stretch;
  text-align: center;
  text-transform: none;
}
.layer-state.state-sourced { color: white; background: var(--green); }
.layer-state.state-not_checked,.layer-state.state-planned { color: #43554f; background: #dfe6df; }
.layer-state.state-pilot { color: white; background: var(--services); }
.layer-state.state-catalog_available,.layer-state.state-optional { color: white; background: var(--imagery); }
.layer-state.state-no_record { color: #38544b; background: #dfe8e1; }
.layer-state.state-source_unavailable,.layer-state.state-restricted { color: white; background: #a85a35; }
.layer-panel.is-refreshing { border-color: rgba(23,109,93,.34); box-shadow: 0 10px 30px rgba(23,109,93,.09); }
.layer-state.state-refreshing { display: flex; align-items: center; justify-content: center; gap: .34rem; color: #174e43; background: #dcece6; }
.layer-state.state-refreshing i,.layer-focus-switch.is-refreshing::after { width: .58rem; height: .58rem; border: 2px solid rgba(23,78,67,.22); border-top-color: #174e43; border-radius: 50%; animation: property-refresh-spin .9s linear infinite; }
.layer-focus-switch.is-refreshing { grid-template-columns: 8px minmax(0,1fr) auto; }
.layer-focus-switch.is-refreshing::after { content: ""; margin-left: .15rem; }

.property-record-overview { padding: 0; }
.property-record-overview > summary { margin: 0; padding: .78rem .9rem; background: #f5f8f3; }
.property-record-overview-body { padding: .9rem; }
.property-record-overview[open] > summary { border-bottom-color: rgba(18,43,41,.12); }

.observation-card { padding: 0; overflow: hidden; }
.observation-card-details { margin: 0; border-top: 0; overflow: hidden; }
.observation-card-details > summary.observation-top { min-height: 72px; padding: .82rem .95rem; align-items: center; color: var(--ink); background: #fbfcf9; list-style: none; }
.observation-card-details > summary.observation-top::-webkit-details-marker { display: none; }
.observation-card-details > summary.observation-top::after { content: "+"; width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; color: var(--green-dark); background: white; border: 1px solid rgba(18,43,41,.12); border-radius: 50%; font-size: 1rem; line-height: 1; }
.observation-card-details[open] > summary.observation-top { padding-bottom: .82rem; background: #f6f9f4; border-bottom: 1px solid var(--line); }
.observation-card-details[open] > summary.observation-top::after { content: "\2212"; }
.observation-title-block { min-width: 0; display: block; flex: 1; }
.observation-title { margin-top: .38rem; display: block; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.3; }
.observation-title-block > small { margin-top: .16rem; display: block; color: var(--muted); font-size: .66rem; font-weight: 560; }
.observation-top-actions { flex: 0 0 auto; }
.observation-card-body { padding: .95rem; }

/* Keep findings visible; only detailed source records need a disclosure. */
.layer-section-heading { margin: 0; padding: .85rem 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1rem; background: #f5f8f3; border-bottom: 1px solid var(--line); }
.layer-section-heading h3 { margin: 0; color: var(--ink); font-size: 1rem; }
.layer-section-heading small { color: var(--muted); font-size: .72rem; }
section[data-layer-subsection]:focus-visible,.mitigation-resource-card:focus-visible { outline: 3px solid rgba(23,109,93,.28); outline-offset: 4px; }
.layer-feature-pill[aria-current="location"] { outline: 2px solid currentColor; outline-offset: 2px; }
.observation-card-details > header.observation-top { min-height: 72px; padding: .82rem .95rem; align-items: center; background: #fbfcf9; border-bottom: 1px solid var(--line); }
.observation-card-body > .observation-meaning { margin-top: 0; }
.observation-card-body > .observation-next-step { margin-top: .8rem; }
.observation-next-step > .text-link { margin-top: .45rem; display: inline-block; font-size: .8rem; }
.observation-source-details > summary { min-height: 44px; align-items: center; font-size: .78rem; }
.observation-source-body { padding: 0 1rem 1rem; }
.observation-source-link { margin-top: .8rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem .8rem; color: var(--muted); font-size: .72rem; }
.observation-source-link a { color: var(--green-dark); font-weight: 760; }
article.property-status-help { overflow: hidden; }
article.property-status-help .property-status-help-summary { cursor: default; grid-template-columns: minmax(0,1fr) auto; }
article.property-status-help .property-status-help-content { position: static; display: block !important; width: auto; margin: 0; padding: .1rem .7rem .7rem; background: transparent; border: 0; box-shadow: none; }
.property-mitigation-resources { margin: 1.1rem 0; }
.property-mitigation-resources > .layer-section-heading { padding-inline: 0; background: transparent; }
.mitigation-resource-grid { margin-top: .9rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.mitigation-resource-card { min-width: 0; padding: 1rem; background: #fbfcf9; border: 1px solid var(--line); border-radius: 13px; scroll-margin-top: calc(var(--site-header-height) + var(--layer-sticky-summary-height,150px) + 1rem); }
.mitigation-resource-card.is-complete { background: #f0f7ef; border-color: #b5cfbc; }
.mitigation-resource-card h4 { margin: 0; font-size: 1rem; }
.mitigation-resource-card > p { color: var(--muted); font-size: .82rem; }
.mitigation-resource-card > a { font-size: .8rem; }
.mitigation-resource-card form { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.mitigation-completion { display: flex; align-items: flex-start; gap: .55rem; cursor: pointer; font-size: .8rem; }
.mitigation-completion input { width: 18px; height: 18px; flex: 0 0 auto; margin: .05rem 0 0; accent-color: var(--green); }
.mitigation-progress { margin-top: .7rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.mitigation-progress small { color: var(--muted); font-size: .7rem; }
.mitigation-progress button { min-height: 38px; padding: .45rem .7rem; color: white; background: var(--green); border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 760; }
.mitigation-progress button:focus-visible,.mitigation-completion input:focus-visible { outline: 3px solid rgba(23,109,93,.3); outline-offset: 3px; }

@media (max-width: 700px) {
  .mitigation-resource-grid { grid-template-columns: 1fr; }
  .observation-source-details > summary { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .layer-feed.is-layer-focus-mode .layer-feature-pill { min-height: 38px; }
  .mitigation-progress button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .refresh-layers-button.is-refreshing .refresh-control-main svg { animation: none; }
}

@media (max-width: 900px) {
  .property-intelligence-actions { min-width: 190px; }
  .refresh-layers-button,.property-coordinate-action { min-width: 190px; }
  .layer-focus-bar.property-intelligence-layer-nav { grid-column: 1; grid-row: 3; align-self: stretch; }
  .property-intelligence-layer-nav .layer-focus-switch { min-width: 120px; }
  .layer-card-view { min-width: 48px; width: 48px; padding: .4rem; grid-template-columns: 1fr; }
  .layer-card-view span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .property-map-area .property-map-frame { min-height: 205px; }
  .property-map-area .property-map-interactive,.property-map-area .property-map-svg { min-height: 205px; height: 205px; }
}

@media (max-width: 700px) {
  .property-identity-heading { flex-direction: column; }
  .property-intelligence-actions { width: 100%; min-width: 0; align-items: stretch; }
  .property-intelligence-actions .property-remove-link { align-self: flex-end; }
  .refresh-layers-button,.property-coordinate-action { width: 100%; min-width: 0; }
  .property-identity-fact-parcel,.property-identity-fact-coordinates,.property-identity-fact-jurisdiction { grid-column: 1 / -1; }
  .layer-feature-nav { align-items: flex-start; }
  .layer-feature-pills-shell,.layer-feature-pills { width: 100%; }
  .layer-feed.is-layer-focus-mode .layer-feature-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: thin; }
  .layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row { grid-template-columns: minmax(0,1fr) auto; }
  .layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row > .layer-panel-title { grid-column: 1; grid-row: 1; }
  .layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row > .layer-header-actions { grid-column: 2; grid-row: 1; }
  .layer-feed.is-layer-focus-mode .layer-panel.is-focused .layer-panel-title-row > .layer-feature-nav { grid-column: 1 / -1; grid-row: 2; }
  .observation-card-details > summary.observation-top { align-items: flex-start; flex-direction: row; }
  .observation-top-actions { margin-left: auto; }
}

.refresh-source-warnings { grid-column: 1 / -1; width: 100%; margin: .5rem 0 0; padding-left: 1.1rem; color: #73521d; font-size: .78rem; line-height: 1.45; }
.refresh-source-warnings[hidden] { display: none; }
