:root {
  color-scheme: light;
  --ink: #17221e;
  --forest: #0d2119;
  --forest-2: #18382b;
  --forest-3: #2d5945;
  --cream: #f3e8d6;
  --paper: #fff8eb;
  --line: #cdb58e;
  --muted: #6f675d;
  --gold: #b8802c;
  --gold-light: #e3bd6b;
  --rust: #974a35;
  --ochre: #bf8634;
  --sky: #88a9b3;
  --brick: #824632;
  --shadow: 0 18px 45px rgba(19, 34, 31, .13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--forest); font-size: 16px; }
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.site-shell { min-height: 100vh; background: var(--cream); }
.cover-page { position: fixed; inset: 0; z-index: 40; display: block; overflow: hidden; color: var(--cream); background: #07140e; transition: opacity .35s ease, visibility .35s ease; }
.cover-page[hidden] { display: none; }
.cover-page-copy { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; display: flex; width: min(52vw, 600px); max-width: 100%; box-sizing: border-box; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(34px, 6vh, 78px) clamp(28px, 6vw, 88px); background: radial-gradient(circle at 12% 7%, rgba(227, 189, 107, .16), transparent 26%), radial-gradient(circle at 92% 84%, rgba(151, 74, 53, .18), transparent 30%), linear-gradient(135deg, rgba(5, 20, 13, .98) 0%, rgba(10, 34, 23, .94) 53%, rgba(15, 45, 32, .28) 100%); }
.cover-page-copy::before { position: absolute; inset: 17px; content: ""; border: 1px solid rgba(227, 189, 107, .22); pointer-events: none; }
.cover-page-copy::after { position: absolute; inset: 0; content: ""; opacity: .3; background-image: repeating-linear-gradient(0deg, rgba(255, 248, 235, .03) 0, rgba(255, 248, 235, .03) 1px, transparent 1px, transparent 5px); pointer-events: none; }
.cover-brandline, .cover-kicker, .cover-page-copy h1, .cover-lede, .cover-actions, .cover-auth-note, .cover-index { position: relative; z-index: 1; }
.cover-brandline { display: flex; align-items: center; gap: 11px; margin-bottom: clamp(28px, 5vh, 58px); }
.cover-brandline img { width: 40px; height: 40px; border: 1px solid rgba(227, 189, 107, .8); border-radius: 11px; box-shadow: 0 6px 15px rgba(0, 0, 0, .25); }
.cover-brand-name { color: var(--gold-light); font-family: Georgia, serif; font-size: .92rem; letter-spacing: .19em; }
.cover-location { margin-left: auto; color: #8fa99a; font-size: .59rem; font-weight: 800; letter-spacing: .11em; }
.cover-kicker { display: flex; align-items: center; gap: 9px; color: var(--gold-light); font-size: .66rem; font-weight: 800; letter-spacing: .17em; }
.cover-page h1 { max-width: 650px; margin: 18px 0 18px; color: #fff6e8; font-size: clamp(3.25rem, 5.8vw, 6.8rem); letter-spacing: -.075em; line-height: .88; }
.cover-page h1 em { color: var(--gold-light); font-style: normal; }
.cover-lede { max-width: 480px; margin-bottom: 28px; color: #c0d0c4; font-size: clamp(.96rem, 1.4vw, 1.16rem); line-height: 1.55; }
.cover-actions { position: relative; display: flex; flex-direction: column; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin-top: 5px; padding: 9px 0 2px 22px; }
.cover-actions::before { position: absolute; top: -7px; bottom: -7px; left: 10px; width: 2px; content: ""; background: linear-gradient(var(--gold-light), rgba(227, 189, 107, .18)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.cover-primary, .cover-google { position: relative; min-height: 48px; padding: 0 18px; border: 2px solid #d6a45e; border-radius: 4px 5px 3px 4px; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 9px 0 rgba(70, 37, 21, .75), 0 15px 22px rgba(0, 0, 0, .25); transform: rotate(-1deg); }
.cover-primary::before, .cover-google::before { position: absolute; top: -13px; left: 21px; width: 7px; height: 7px; content: ""; border: 1px solid var(--gold-light); border-radius: 50%; background: #172d21; box-shadow: 0 0 0 2px rgba(23, 45, 33, .7); }
.cover-primary::after, .cover-google::after { position: absolute; top: -7px; left: 24px; width: 1px; height: 8px; content: ""; background: rgba(227, 189, 107, .85); }
.cover-primary { color: #fff7e7; background: linear-gradient(180deg, #9a6639 0%, #704322 100%); border-color: #f0c679; }
.cover-primary:hover { color: #fff8e9; background: linear-gradient(180deg, #b47942 0%, #82502b 100%); }
.cover-primary span { padding-left: 8px; font-size: 1rem; }
.cover-google { display: inline-flex; align-items: center; gap: 10px; color: #f5ede2; background: linear-gradient(180deg, #4f5f49 0%, #304735 100%); transform: translateX(19px) rotate(1.4deg); }
.cover-google:hover { background: linear-gradient(180deg, #64775b 0%, #3c5740 100%); border-color: #f0c679; }
.google-mark { display: grid; place-items: center; width: 22px; height: 22px; color: #4285f4; background: #fff; border-radius: 50%; font-family: Arial, sans-serif; font-size: .95rem; font-weight: 700; text-transform: none; }
.cover-auth-note { max-width: 500px; margin: 17px 0 0; color: #8fa99a; font-size: .65rem; line-height: 1.45; }
.cover-auth-note strong { margin-right: 8px; color: var(--gold-light); font-size: .58rem; letter-spacing: .12em; }
.cover-index { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 42px; color: #9eb4a8; font-size: .6rem; font-weight: 800; letter-spacing: .15em; }
.cover-index span::after { margin-left: 16px; color: rgba(227, 189, 107, .5); content: "✦"; }
.cover-index span:last-child::after { display: none; }
.cover-page-art { position: absolute; inset: 0; z-index: 0; display: grid; box-sizing: border-box; min-width: 0; padding: clamp(18px, 3vw, 48px); place-items: center end; overflow: hidden; background: radial-gradient(circle at 65% 34%, rgba(112, 135, 94, .2), transparent 34%), #12281e; }
.cover-page-art img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: right center; filter: saturate(.88) sepia(.08) contrast(1.06); }
.cover-art-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 20, 13, .9) 0%, rgba(5, 20, 13, .52) 28%, rgba(5, 20, 13, 0) 60%), linear-gradient(0deg, rgba(5, 20, 13, .72), transparent 44%); }
.cover-art-note { position: absolute; right: clamp(20px, 5vw, 70px); bottom: clamp(22px, 6vw, 68px); display: grid; gap: 6px; max-width: 220px; padding: 15px 17px; color: var(--cream); background: rgba(13, 33, 25, .78); border-left: 2px solid var(--gold-light); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.cover-art-note span { color: var(--gold-light); font-size: .58rem; font-weight: 800; letter-spacing: .14em; }
.cover-art-note strong { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.cover-art-note small { color: #b6c9bc; font-size: .68rem; line-height: 1.35; }
.cover-skip { position: relative; z-index: 1; align-self: flex-start; margin-top: 17px; padding: 9px 0; color: #d9e2d9; background: transparent; border: 0; border-bottom: 1px dotted rgba(227, 189, 107, .7); font-size: .68rem; letter-spacing: .04em; }
.cover-skip:hover { color: var(--gold-light); border-bottom-style: solid; }
.cover-skip span { padding-left: 8px; color: var(--gold-light); }
.cover-active { overflow: hidden; }
.topbar { height: 70px; display: flex; align-items: center; gap: 20px; padding: 0 30px; color: var(--cream); background: linear-gradient(90deg, #091811, var(--forest), #10291e); border-bottom: 1px solid rgba(227, 189, 107, .62); box-shadow: 0 4px 18px rgba(0, 0, 0, .18); }
.topbar-wordmark { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: .16em; text-decoration: none; }
.topbar-context { display: flex; align-items: center; gap: 8px; margin-left: auto; color: #b7c9bf; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.topbar-monty { display: flex; align-items: center; gap: 8px; padding: 9px 13px; color: var(--cream); background: transparent; border: 1px solid rgba(226, 192, 120, .6); border-radius: 999px; font-size: .86rem; }
.topbar-monty:hover { background: var(--forest-2); }
.pulse-rail { display: grid; grid-template-columns: minmax(210px, 23%) minmax(0, 1fr); min-height: 92px; color: var(--cream); background: #091811; border-bottom: 1px solid rgba(227, 189, 107, .55); box-shadow: 0 5px 18px rgba(0, 0, 0, .12); }
.pulse-rail-heading { display: grid; align-content: center; gap: 6px; padding: 14px 18px; border-right: 1px solid rgba(227, 189, 107, .25); }
.pulse-rail-title { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: .65rem; font-weight: 800; letter-spacing: .15em; }
.pulse-rail-title .live-dot { flex: none; }
.pulse-rail-status { color: #91a99b; font-size: .63rem; line-height: 1.35; }
.postal-context-form { display: grid; gap: 5px; }
.postal-context-form label { color: #91a99b; font-size: .55rem; font-weight: 800; letter-spacing: .1em; }
.postal-context-control { display: grid; grid-template-columns: minmax(0, 1fr) 42px auto; gap: 5px; }
.postal-context-control input { min-width: 0; width: 100%; padding: 7px 8px; color: #fff4e3; background: rgba(255, 248, 235, .08); border: 1px solid rgba(227, 189, 107, .4); border-radius: 5px; font: inherit; font-size: .74rem; }
.postal-context-control input::placeholder { color: #91a99b; }
.postal-context-control input:focus { outline: 2px solid var(--gold-light); outline-offset: 1px; }
.postal-context-control button { padding: 7px 8px; color: #10241f; background: var(--gold-light); border: 1px solid var(--gold-light); border-radius: 5px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.postal-context-control button:hover { background: #fff0c4; }
.pulse-rail-track { display: flex; min-width: 0; margin: 0; padding: 0; overflow-x: auto; scrollbar-color: rgba(227, 189, 107, .45) transparent; scrollbar-width: thin; list-style: none; }
.pulse-card { display: grid; flex: 0 0 208px; align-content: center; gap: 5px; min-width: 0; padding: 12px 18px; border-right: 1px solid rgba(227, 189, 107, .2); }
.pulse-card-baseline { flex-basis: 250px; }
.pulse-card-clock { flex-basis: 245px; }
.pulse-card-weather, .pulse-card-fed { flex-basis: 208px; }
.pulse-card-label { color: var(--gold-light); font-size: .56rem; font-weight: 800; letter-spacing: .12em; line-height: 1.25; white-space: nowrap; }
.pulse-card strong { overflow-wrap: anywhere; color: #fff4e3; font-family: Georgia, serif; font-size: 1.12rem; font-weight: 400; line-height: 1.08; }
.pulse-card-weather strong, .pulse-card-fed strong { white-space: nowrap; }
.pulse-card small { color: #9ab0a1; font-size: .65rem; line-height: 1.3; }
.pulse-card-weather small, .pulse-card-fed small { white-space: nowrap; }
.pulse-card-market { flex-basis: min(780px, 76vw); overflow: hidden; }
.pulse-card-market-empty { flex-basis: 330px; }
.pulse-market-list { display: grid; grid-template-columns: repeat(8, minmax(76px, 1fr)); gap: 12px; min-width: 720px; }
.pulse-market-quote { display: grid; grid-template-columns: auto 1fr; column-gap: 5px; row-gap: 2px; min-width: 0; padding-left: 10px; border-left: 1px solid rgba(227, 189, 107, .18); }
.pulse-market-symbol { color: #fff4e3; font-family: Georgia, serif; font-size: .86rem; font-weight: 600; }
.pulse-market-name { overflow: hidden; color: #9ab0a1; font-size: .55rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.pulse-market-quote strong { grid-column: 1 / -1; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.pulse-market-quote small { grid-column: 1 / -1; font-size: .61rem; font-weight: 700; white-space: nowrap; }
.pulse-market-quote em { grid-column: 1 / -1; overflow: hidden; color: #718c7d; font-size: .48rem; font-style: normal; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.pulse-market-source { display: block; margin-top: 2px; color: #718c7d; font-size: .57rem; }
.pulse-market-quote .is-up { color: #a7c88c; }
.pulse-market-quote .is-down { color: #e6a48c; }
.pulse-market-quote .is-flat { color: #b9c5bb; }
.mini-snake { font-size: 1.15rem; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #a7c88c; box-shadow: 0 0 0 4px rgba(167, 200, 140, .12); }
.menu-toggle { display: none; color: var(--cream); background: transparent; border: 0; font-size: 1.4rem; }

.app-grid { display: grid; grid-template-columns: 225px minmax(0, 1fr) 310px; min-height: calc(100vh - 70px); }
.sidebar { position: relative; display: flex; flex-direction: column; padding: 25px 20px 20px; color: #dce8de; background: var(--forest); }
.sign-lockup { display: flex; align-items: center; justify-content: center; min-height: 148px; margin-bottom: 27px; overflow: hidden; border: 1px solid rgba(226, 192, 120, .45); background: #f1e9dc; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.sign-lockup img { width: 100%; height: 148px; object-fit: cover; object-position: center 47%; }
.primary-nav { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 13px; color: #b7c9bf; background: transparent; border: 1px solid transparent; border-radius: 3px; text-align: left; }
.nav-item:hover, .nav-item.is-active { color: var(--cream); background: var(--forest-2); border-color: rgba(226, 192, 120, .25); }
.nav-item.is-active { box-shadow: inset 3px 0 var(--gold); }
.nav-glyph { width: 20px; color: var(--gold-light); font-size: 1.1rem; text-align: center; }
.sidebar-note { margin-top: auto; padding: 17px 4px 18px; border-top: 1px solid rgba(226, 192, 120, .22); border-bottom: 1px solid rgba(226, 192, 120, .22); }
.sidebar-note p { margin: 9px 0 0; color: #a9bdb3; font-family: Georgia, serif; font-size: 1rem; line-height: 1.45; }
.sidebar-footer { display: flex; align-items: center; gap: 9px; padding-top: 17px; color: #779188; font-size: .76rem; }
.footer-mark { display: grid; place-items: center; width: 25px; height: 25px; color: var(--forest); background: var(--gold-light); border-radius: 50%; font-size: .63rem; font-weight: 800; }

.main-content { min-width: 0; padding: 48px clamp(25px, 4vw, 62px) 70px; background: radial-gradient(circle at 100% 0, rgba(190, 137, 76, .19), transparent 28%), linear-gradient(180deg, #f4eadb 0%, #ebddc9 100%); }
.view { display: none; max-width: 920px; margin: 0 auto; }
.view.is-visible { display: block; }
.content-heading, .place-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.eyebrow, .section-label { color: var(--rust); font-size: .68rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 730px; margin: 10px 0 12px; color: var(--ink); font-size: clamp(2.25rem, 4.1vw, 4.1rem); letter-spacing: -.055em; line-height: .98; }
h2 { color: var(--ink); font-size: clamp(1.55rem, 2.5vw, 2.1rem); letter-spacing: -.035em; }
h3 { font-size: 1.65rem; line-height: 1.03; }
.lede { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.place-search { max-width: 700px; margin-top: 24px; }
.place-search label { display: block; margin-bottom: 8px; color: var(--rust); font-size: .64rem; font-weight: 800; letter-spacing: .16em; }
.search-control { display: flex; align-items: center; min-height: 48px; background: rgba(255, 248, 235, .9); border: 1px solid var(--gold); box-shadow: inset 0 0 0 3px rgba(184, 128, 44, .08), 0 7px 18px rgba(19, 34, 31, .06); }
.search-mark { padding-left: 14px; color: var(--rust); font-size: 1.35rem; line-height: 1; }
.search-control input { min-width: 0; flex: 1; padding: 13px 11px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: .9rem; }
.search-control input::placeholder { color: #918675; }
.search-control button { align-self: stretch; padding: 0 16px; color: var(--cream); background: var(--forest); border: 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.search-control button:hover { background: var(--forest-3); color: var(--gold-light); }
.search-control button span { padding-left: 7px; color: var(--gold-light); font-size: 1rem; }
.search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 9px; color: #8c7d6a; font-size: .7rem; }
.search-hints button { padding: 0; color: var(--forest-3); background: transparent; border: 0; border-bottom: 1px dotted var(--gold); font-size: .7rem; }
.search-hints button:hover { color: var(--rust); border-bottom-style: solid; }
.discovery-hint-label { color: var(--rust); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.search-hints .discovery-trigger { padding: 3px 7px; color: var(--forest); background: rgba(227, 189, 107, .2); border: 1px solid rgba(184, 128, 44, .62); border-radius: 4px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; }
.search-hints .discovery-trigger:hover, .search-hints .discovery-trigger:focus-visible { color: var(--forest); background: var(--gold-light); border-bottom-style: solid; }
.discovery-trigger span { padding-left: 3px; font-size: .82rem; }
.resolver-status { margin: 9px 0 0; color: #8c7d6a; font-size: .64rem; letter-spacing: .04em; }
.search-results { display: grid; gap: 7px; margin-top: 13px; }
.search-results:empty { display: none; }
.search-result { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 13px; color: var(--ink); background: rgba(255, 248, 235, .72); border: 1px solid rgba(184, 128, 44, .45); text-align: left; }
.search-result:hover { border-color: var(--rust); background: var(--paper); box-shadow: 0 5px 14px rgba(19, 34, 31, .08); }
.search-result-copy { min-width: 0; }
.search-result strong, .search-result small { display: block; overflow-wrap: anywhere; }
.search-result strong { font-family: Georgia, serif; font-size: .98rem; font-weight: 400; }
.search-result small { margin-top: 4px; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.search-result-arrow { flex: none; color: var(--rust); font-size: 1.05rem; }
.search-results-note { margin: 2px 0 0; padding: 11px 13px; color: var(--muted); background: rgba(255, 248, 235, .46); border-left: 2px solid var(--gold); font-size: .7rem; line-height: 1.4; }
.world-viewer { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr); min-height: 330px; margin: 29px 0 30px; overflow: hidden; color: var(--cream); background: var(--forest); border: 1px solid rgba(227, 189, 107, .72); box-shadow: 0 15px 35px rgba(19, 34, 31, .14); }
.viewer-copy { display: flex; flex-direction: column; padding: 25px 24px 22px; background: radial-gradient(circle at 0 100%, rgba(151, 74, 53, .18), transparent 38%), linear-gradient(150deg, #102a20, #18382b); }
.viewer-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.viewer-topline .eyebrow { color: var(--gold-light); }
.viewer-adapter { color: #9eb4a8; font-size: .63rem; letter-spacing: .04em; white-space: nowrap; }
.viewer-adapter .live-dot { margin-right: 5px; }
.viewer-heading { margin: 31px 0 24px; }
.viewer-heading h2 { margin: 0 0 10px; color: var(--cream); font-family: Georgia, serif; font-size: 2.05rem; font-weight: 400; line-height: 1; }
.viewer-heading p { margin: 0; color: #b7c9bf; font-size: .86rem; line-height: 1.45; }
.discovery-banner { display: grid; gap: 6px; margin: 0 0 19px; padding: 12px 13px; background: rgba(9, 24, 17, .34); border: 1px solid rgba(227, 189, 107, .46); border-left: 3px solid var(--gold); }
.discovery-banner .section-label { color: var(--gold-light); font-size: .58rem; }
.discovery-banner strong { color: var(--cream); font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; }
.discovery-banner p { margin: 0; color: #a6b9ad; font-size: .7rem; line-height: 1.4; }
.viewer-context { display: grid; gap: 6px; margin-top: auto; padding: 13px 14px; background: rgba(9, 24, 17, .28); border-left: 2px solid var(--gold); }
.viewer-context .section-label { color: var(--gold-light); }
.viewer-context strong { color: var(--cream); font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; }
.viewer-context span:last-child { color: #9eb4a8; font-size: .7rem; line-height: 1.35; }
.viewer-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.viewer-primary { padding: 10px 12px; color: var(--forest); background: var(--gold-light); border: 1px solid var(--gold-light); font-size: .71rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.viewer-primary:hover { color: var(--cream); background: transparent; }
.viewer-primary span { padding-left: 7px; font-size: 1rem; }
.viewer-note { color: #89a499; font-size: .63rem; line-height: 1.3; }
.world-canvas { position: relative; min-height: 330px; overflow: hidden; isolation: isolate; cursor: grab; touch-action: none; background: radial-gradient(circle at 70% 20%, rgba(136, 169, 179, .38), transparent 18%), linear-gradient(135deg, #a9c0bb, #748d85 44%, #5d7469); }
.world-canvas.is-dragging { cursor: grabbing; }
.world-canvas::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .55; background-image: linear-gradient(30deg, rgba(255, 248, 235, .2) 12%, transparent 12.5%, transparent 87%, rgba(255, 248, 235, .2) 87.5%, rgba(255, 248, 235, .2)), linear-gradient(150deg, rgba(255, 248, 235, .16) 12%, transparent 12.5%, transparent 87%, rgba(255, 248, 235, .16) 87.5%, rgba(255, 248, 235, .16)); background-size: 74px 74px; }
.world-canvas::after { position: absolute; inset: 13px; z-index: 4; content: ""; border: 1px solid rgba(255, 248, 235, .45); pointer-events: none; }
.map-layer { position: absolute; inset: 0; z-index: 1; transform-origin: center; transition: transform .18s ease-out; will-change: transform; }
.world-canvas.is-dragging .map-layer { transition: none; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; }
.map-lines path { fill: none; stroke: rgba(255, 248, 235, .68); stroke-width: .85; vector-effect: non-scaling-stroke; }
.map-lines path:nth-child(-n + 4) { stroke: rgba(60, 84, 73, .62); stroke-width: 1.8; }
.map-water { position: absolute; top: -20%; left: 42%; width: 12%; height: 145%; background: rgba(90, 153, 166, .34); border-left: 1px solid rgba(235, 250, 245, .35); border-right: 1px solid rgba(235, 250, 245, .2); transform: rotate(16deg); }
.map-label { position: absolute; color: rgba(19, 51, 40, .62); font-size: .57rem; font-weight: 800; letter-spacing: .14em; pointer-events: none; }
.map-label-downtown { top: 35%; left: 44%; color: rgba(255, 248, 235, .8); }
.map-label-east { top: 72%; right: 8%; }
.map-label-oak { bottom: 21%; left: 9%; }
.map-label-junius { top: 18%; right: 10%; }
.map-compass { position: absolute; top: 22px; right: 28px; z-index: 2; display: grid; justify-items: center; gap: 4px; color: rgba(255, 248, 235, .9); font-family: Georgia, serif; font-size: .8rem; }
.map-compass i { display: block; width: 0; height: 0; border-right: 5px solid transparent; border-bottom: 15px solid var(--rust); border-left: 5px solid transparent; }
.map-pin { position: absolute; top: var(--pin-y); left: var(--pin-x); z-index: 3; display: grid; grid-template-columns: 12px auto; gap: 6px; align-items: center; padding: 0; color: var(--forest); background: transparent; border: 0; transform: translate(-6px, -6px); transition: transform .2s ease, filter .2s ease; }
.map-pin:hover, .map-pin:focus-visible, .map-pin.is-active { z-index: 5; transform: translate(-6px, -6px) scale(1.06); }
.map-pin:focus-visible { outline: 2px solid var(--cream); outline-offset: 5px; }
.pin-dot { display: block; width: 12px; height: 12px; background: var(--rust); border: 2px solid var(--cream); border-radius: 50%; box-shadow: 0 0 0 4px rgba(151, 74, 53, .25), 0 3px 9px rgba(19, 34, 31, .25); }
.map-pin.is-active .pin-dot { background: var(--gold-light); box-shadow: 0 0 0 6px rgba(227, 189, 107, .28), 0 3px 12px rgba(19, 34, 31, .3); }
.pin-label { padding: 5px 7px; color: var(--cream); background: rgba(13, 33, 25, .83); border: 1px solid rgba(227, 189, 107, .45); font-size: .62rem; letter-spacing: .03em; white-space: nowrap; }
.map-focus { position: absolute; top: var(--focus-y); left: var(--focus-x); z-index: 2; width: 42px; height: 42px; border: 1px solid rgba(255, 248, 235, .72); border-radius: 50%; transform: translate(-21px, -21px); box-shadow: 0 0 0 9px rgba(255, 248, 235, .11), inset 0 0 0 1px rgba(151, 74, 53, .35); pointer-events: none; }
.viewer-legend { position: absolute; right: 23px; bottom: 21px; z-index: 4; display: flex; gap: 12px; padding: 7px 9px; color: rgba(255, 248, 235, .88); background: rgba(13, 33, 25, .78); font-size: .6rem; letter-spacing: .04em; }
.viewer-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; background: var(--gold-light); border: 1px solid var(--cream); border-radius: 50%; }
.legend-line { width: 13px; border-top: 1px solid rgba(255, 248, 235, .72); }
.map-controls { position: absolute; top: 22px; left: 22px; z-index: 6; display: flex; align-items: center; gap: 4px; padding: 5px; color: var(--cream); background: rgba(13, 33, 25, .83); border: 1px solid rgba(227, 189, 107, .5); box-shadow: 0 4px 12px rgba(19, 34, 31, .18); }
.map-control { min-width: 30px; height: 30px; padding: 0 7px; color: var(--cream); background: transparent; border: 1px solid rgba(255, 248, 235, .28); font-size: .95rem; line-height: 1; }
.map-control:hover, .map-control:focus-visible { color: var(--forest); background: var(--gold-light); border-color: var(--gold-light); }
.map-control-reset { font-size: .61rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.map-scale { min-width: 40px; color: #b7c9bf; font-size: .61rem; letter-spacing: .05em; text-align: center; }
.map-hint { position: absolute; bottom: 21px; left: 23px; z-index: 5; padding: 7px 9px; color: rgba(255, 248, 235, .88); background: rgba(13, 33, 25, .78); font-size: .6rem; letter-spacing: .04em; }
/* Map interaction + atlas palette */
.world-canvas {
  background:
    radial-gradient(circle at 76% 22%, rgba(239, 194, 130, .42), transparent 20%),
    radial-gradient(circle at 22% 76%, rgba(139, 169, 143, .38), transparent 28%),
    linear-gradient(135deg, #d9e0d4 0%, #b9c9bb 48%, #93adb0 100%);
  box-shadow: inset 0 0 0 1px rgba(61, 88, 74, .2), inset 0 -32px 70px rgba(57, 86, 76, .12);
}
.world-canvas::before {
  opacity: .42;
  background-image:
    linear-gradient(30deg, rgba(255, 250, 240, .4) 12%, transparent 12.5%, transparent 87%, rgba(255, 250, 240, .4) 87.5%, rgba(255, 250, 240, .4)),
    linear-gradient(150deg, rgba(255, 250, 240, .28) 12%, transparent 12.5%, transparent 87%, rgba(255, 250, 240, .28) 87.5%, rgba(255, 250, 240, .28));
  mix-blend-mode: multiply;
}
.map-layer {
  inset: -8%;
  background:
    radial-gradient(ellipse at 72% 22%, rgba(232, 188, 116, .32) 0 12%, transparent 12.5%),
    radial-gradient(ellipse at 20% 76%, rgba(126, 163, 139, .28) 0 16%, transparent 16.5%),
    linear-gradient(132deg, transparent 0 35%, rgba(182, 121, 83, .13) 35% 58%, transparent 58%),
    rgba(231, 225, 205, .2);
  border: 1px solid rgba(74, 104, 87, .16);
  border-radius: 48% 38% 44% 35%;
  transform-origin: center;
}
.map-layer::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .24;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(78, 105, 91, .22) 58px 59px),
    repeating-linear-gradient(0deg, transparent 0 48px, rgba(78, 105, 91, .18) 48px 49px);
}
.map-lines { opacity: .76; }
.map-lines path { stroke: rgba(255, 250, 240, .82); }
.map-lines path:nth-child(-n + 4) { stroke: rgba(63, 90, 76, .62); }
.map-lines path:nth-child(n + 5) { stroke: rgba(145, 98, 64, .48); stroke-width: .65; }
.map-water {
  background: rgba(76, 139, 153, .34);
  border-left-color: rgba(235, 250, 245, .46);
  border-right-color: rgba(235, 250, 245, .3);
}
.map-label { color: rgba(44, 74, 60, .72); }
.map-label-downtown { color: rgba(101, 75, 46, .86); }
.map-pin.is-active .pin-dot {
  background: #4f7a70;
  box-shadow: 0 0 0 6px rgba(79, 122, 112, .25), 0 3px 12px rgba(19, 34, 31, .3);
}
.pin-label {
  color: #fff6e7;
  background: rgba(47, 73, 62, .88);
  border-color: rgba(244, 208, 139, .72);
}
.map-focus {
  border-color: rgba(187, 103, 75, .82);
  box-shadow: 0 0 0 9px rgba(187, 103, 75, .14), inset 0 0 0 1px rgba(187, 103, 75, .38);
}
.viewer-legend, .map-hint {
  color: rgba(38, 66, 53, .86);
  background: rgba(246, 239, 220, .84);
  border: 1px solid rgba(74, 104, 87, .3);
  box-shadow: 0 4px 14px rgba(54, 78, 67, .12);
}
.legend-dot { background: #4f7a70; border-color: #f6efdc; }
.legend-line { border-top-color: rgba(63, 90, 76, .72); }
.map-controls {
  color: #315345;
  background: rgba(246, 239, 220, .9);
  border-color: rgba(74, 104, 87, .42);
  box-shadow: 0 5px 15px rgba(54, 78, 67, .16);
}
.map-control { color: #315345; border-color: rgba(74, 104, 87, .3); }
.map-control:hover, .map-control:focus-visible { color: #fff6e7; background: #bb674b; border-color: #bb674b; }
.map-scale { color: #527464; }
.map-layer::before {
  position: absolute;
  inset: 9% 6%;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(74, 104, 87, .2);
  border-radius: 47% 38% 42% 34%;
  background:
    radial-gradient(ellipse at 76% 18%, rgba(239, 194, 130, .34) 0 10%, transparent 10.5%),
    radial-gradient(ellipse at 18% 78%, rgba(105, 151, 128, .2) 0 18%, transparent 18.5%),
    linear-gradient(148deg, transparent 0 43%, rgba(187, 103, 75, .1) 43% 44%, transparent 44% 66%, rgba(81, 127, 113, .11) 66% 67%, transparent 67%),
    rgba(245, 239, 220, .24);
  box-shadow: 0 0 0 16px rgba(246, 239, 220, .12), inset 0 0 34px rgba(58, 92, 76, .1);
}
.map-lines .map-route-primary { stroke: rgba(177, 91, 72, .72); stroke-width: 2.4; }
.map-lines .map-route-secondary { stroke: rgba(67, 120, 110, .76); stroke-width: 1.25; stroke-dasharray: 4 2; }
.map-lines .map-route-node { fill: #f6efdc; stroke: #bb674b; stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-surface-stamp {
  position: absolute;
  top: 64px;
  right: 21px;
  z-index: 4;
  display: grid;
  gap: 2px;
  padding: 7px 9px 6px;
  color: #315345;
  background: rgba(246, 239, 220, .74);
  border: 1px solid rgba(74, 104, 87, .28);
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(54, 78, 67, .1);
  text-align: right;
}
.map-surface-stamp strong { font-size: .55rem; letter-spacing: .13em; }
.map-surface-stamp small { color: #718272; font-size: .55rem; letter-spacing: .05em; }
.map-label { text-shadow: 0 1px 0 rgba(246, 239, 220, .6); }
.map-label::after { display: block; width: 22px; margin-top: 4px; border-top: 1px solid rgba(74, 104, 87, .34); content: ""; }
.map-pin { gap: 8px; }
.pin-dot { position: relative; }
.pin-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(187, 103, 75, .34);
  border-radius: 50%;
  content: "";
}
.map-pin.is-active .pin-dot::after { border-color: rgba(79, 122, 112, .56); }
.pin-label {
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(47, 73, 62, .16);
  backdrop-filter: blur(5px);
}
.map-pin:hover .pin-label, .map-pin:focus-visible .pin-label { background: #315345; border-color: #f0c987; }
.map-focus {
  background: radial-gradient(circle, rgba(246, 239, 220, .12) 0 34%, transparent 36%);
  animation: map-focus-pulse 3.2s ease-in-out infinite;
}
@keyframes map-focus-pulse {
  0%, 100% { opacity: .72; transform: translate(-21px, -21px) scale(.96); }
  50% { opacity: 1; transform: translate(-21px, -21px) scale(1.04); }
}
.live-map-layer { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #d5ded8; }
.world-canvas.has-live-map .map-layer { visibility: hidden; }
.live-map-viewport { position: absolute; inset: 0; transform-origin: center; transition: transform .18s ease-out; will-change: transform; }
.world-canvas.is-dragging .live-map-viewport { transition: none; }
.live-map-image { display: block; width: 100%; height: 100%; object-fit: cover; background: #d5ded8; }
.live-map-frame { display: block; width: 100%; height: 100%; border: 0; background: #d5ded8; }
.live-map-3d { position: absolute; inset: 0; overflow: hidden; background: #d5ded8; }
.live-map-3d > gmp-map-3d { display: block; width: 100%; height: 100%; }
.live-map-message { position: absolute; top: 50%; left: 50%; z-index: 3; width: min(31rem, calc(100% - 42px)); padding: 14px 16px; color: var(--cream); background: rgba(13, 33, 25, .86); border: 1px solid rgba(227, 189, 107, .58); font-size: .78rem; line-height: 1.45; text-align: center; transform: translate(-50%, -50%); }
.map-retry { position: absolute; top: calc(50% + 45px); left: 50%; z-index: 4; padding: 8px 12px; color: var(--cream); background: var(--rust); border: 1px solid var(--gold-light); font-size: .72rem; transform: translateX(-50%); }
.live-map-credit { position: absolute; right: 22px; bottom: 20px; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 7px 9px; color: rgba(255, 248, 235, .92); background: rgba(13, 33, 25, .82); font-size: .6rem; letter-spacing: .03em; }
.live-map-credit a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.live-map-credit a:hover { color: var(--cream); }
.source-network { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); margin: 0 0 30px; overflow: hidden; color: var(--cream); background: linear-gradient(135deg, #162f25, #0d2119); border: 1px solid rgba(227, 189, 107, .55); }
.source-network-copy { padding: 23px 24px 22px; }
.source-network-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-network-topline .eyebrow { color: var(--gold-light); }
.source-health { color: #9eb4a8; font-size: .64rem; letter-spacing: .04em; white-space: nowrap; }
.source-health .live-dot { margin-right: 5px; }
.source-network h2 { margin: 24px 0 8px; color: var(--cream); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.source-network p { max-width: 580px; margin: 0; color: #b7c9bf; font-size: .83rem; line-height: 1.45; }
.source-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.source-actions .viewer-primary:disabled { cursor: not-allowed; opacity: .55; }
.source-status { color: #9eb4a8; font-size: .66rem; line-height: 1.35; }
.source-network-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 17px 20px; background: rgba(255, 248, 235, .06); border-left: 1px solid rgba(227, 189, 107, .25); }
.source-network-metrics > div { display: flex; flex-direction: column; justify-content: center; padding: 11px 13px; border-bottom: 1px solid rgba(226, 192, 120, .18); }
.source-network-metrics > div:first-child { grid-column: 1 / -1; }
.source-network-metrics > div:nth-last-child(-n + 2) { border-bottom: 0; }
.source-network-metrics strong { color: var(--cream); font-family: Georgia, serif; font-size: 1.08rem; font-weight: 400; }
.source-network-metrics small { margin-top: 4px; color: #9eb4a8; font-size: .64rem; line-height: 1.3; }
.heading-stamp, .story-seal { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px; flex: none; color: var(--forest); border: 1px solid var(--gold); padding: 10px 12px; background: rgba(255, 248, 235, .35); box-shadow: inset 0 0 0 3px rgba(184, 128, 44, .09); }
.heading-stamp span, .story-seal span { font-family: Georgia, serif; font-size: 1.5rem; }
.heading-stamp small, .story-seal small { color: var(--rust); font-size: .58rem; font-weight: 800; letter-spacing: .13em; line-height: 1.25; }
.brand-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(280px, .87fr); min-height: 390px; margin: 32px 0 30px; overflow: hidden; color: var(--cream); background: var(--forest); border: 1px solid rgba(227, 189, 107, .88); box-shadow: 0 20px 46px rgba(19, 34, 31, .2); }
.brand-hero::after { position: absolute; inset: 10px; content: ""; border: 1px solid rgba(226, 192, 120, .28); pointer-events: none; }
.brand-hero-art { min-height: 390px; overflow: hidden; background: #1d352b; border-right: 1px solid rgba(227, 189, 107, .55); }
.brand-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; filter: saturate(.9) contrast(1.03); }
.brand-hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 38px 36px 34px; background: radial-gradient(circle at 100% 0, rgba(136, 169, 179, .16), transparent 34%), linear-gradient(135deg, rgba(13, 33, 25, .98), rgba(24, 56, 43, .96)); }
.brand-hero-copy .eyebrow { color: var(--gold-light); }
.brand-hero-copy h2 { margin: 18px 0 12px; color: #fff4e3; font-size: clamp(2rem, 3.3vw, 3rem); line-height: .98; }
.brand-hero-copy p { max-width: 370px; margin-bottom: 23px; color: #c3d0c4; font-size: .95rem; line-height: 1.5; }
.brand-hero-index { display: flex; flex-wrap: wrap; gap: 7px 13px; color: var(--gold-light); font-size: .6rem; font-weight: 800; letter-spacing: .12em; }
.brand-hero-index span::after { margin-left: 13px; color: rgba(226, 192, 120, .42); content: "✦"; }
.brand-hero-index span:last-child::after { display: none; }
.brand-hero-index-muted { margin-top: 9px; color: #a4b9a9; }
.signal-strip { display: flex; gap: 0; margin: 36px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-strip div { display: flex; align-items: baseline; gap: 8px; flex: 1; padding: 13px 15px 13px 0; }
.signal-strip strong { color: var(--forest); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.signal-strip span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

.feature-card { position: relative; display: grid; grid-template-columns: 38% 1fr; min-height: 300px; overflow: hidden; color: var(--cream); background: linear-gradient(135deg, #0d2119, #1b3d2e); border: 1px solid rgba(227, 189, 107, .76); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card::after { position: absolute; inset: 9px; content: ""; border: 1px solid rgba(227, 189, 107, .22); pointer-events: none; }
.feature-card:hover, .feature-card:focus-visible { transform: translateY(-3px); box-shadow: 0 23px 55px rgba(19, 34, 31, .14); }
.feature-image { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 35%, #5f7a55 0, #294a3a 23%, #17342c 50%, #10241f 100%); }
.feature-image::before, .feature-image::after { position: absolute; content: ""; border: 1px solid rgba(226, 192, 120, .5); border-radius: 50%; transform: rotate(-24deg); }
.feature-image::before { width: 220px; height: 95px; top: 35%; left: -12%; }
.feature-image::after { width: 255px; height: 120px; top: 40%; left: 20%; border-color: rgba(167, 200, 140, .4); }
.feature-ornament { position: absolute; top: 34%; left: 42%; color: var(--gold-light); font-family: Georgia, serif; font-size: 4.8rem; transform: rotate(-15deg); }
.feature-number { position: absolute; bottom: 18px; left: 20px; color: rgba(247, 240, 228, .55); font-family: Georgia, serif; font-size: 3rem; }
.feature-copy { display: flex; flex-direction: column; padding: 31px 34px 26px; }
.card-kicker, .feed-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #9cb3a9; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.story-tag { color: var(--rust); font-size: .64rem; font-weight: 800; letter-spacing: .13em; }
.tag-gold { color: var(--gold-light); }
.feature-copy h2 { max-width: 500px; margin: 34px 0 12px; color: #fbf4e7; font-size: clamp(2rem, 3.4vw, 3rem); line-height: .98; }
.feature-copy p { max-width: 460px; color: #bdd0c2; font-size: 1rem; line-height: 1.5; }
.feature-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 27px; color: #83a095; font-size: .67rem; font-weight: 800; letter-spacing: .14em; }
.text-button, .quiet-button { padding: 0; color: var(--gold-light); background: transparent; border: 0; font-size: .82rem; letter-spacing: .03em; }
.text-button span, .quiet-button span { padding-left: 6px; font-size: 1.1rem; }
.text-button:hover, .quiet-button:hover { color: white; }

.section-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 48px 0 18px; }
.section-row h2 { margin: 7px 0 0; }
.quiet-button { color: var(--rust); }
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.nearby-card footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: .7rem; }
.nearby-card footer a { color: var(--forest-3); }
.feed-card { display: flex; flex-direction: column; min-height: 235px; padding: 20px; background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid rgba(184, 128, 44, .4); border-top: 3px solid var(--ochre); box-shadow: 0 5px 18px rgba(19, 34, 31, .08); transition: transform .2s ease, box-shadow .2s ease; }
.feed-card:hover, .feed-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); }
.feed-card.accent-rust { border-top-color: var(--rust); }
.feed-card.accent-forest { border-top-color: var(--forest-3); }
.feed-card-top { color: var(--muted); }
.feed-arrow { color: var(--rust); font-size: 1.25rem; }
.feed-card h3 { margin: 40px 0 9px; color: var(--ink); }
.feed-card p { margin-bottom: 20px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.feed-card footer { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: #978c7d; font-size: .61rem; letter-spacing: .1em; }

.place-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.back-button { padding: 8px 11px; color: var(--forest); background: transparent; border: 1px solid var(--line); font-size: .74rem; letter-spacing: .04em; text-transform: none; }
.back-button:hover { border-color: var(--gold); background: var(--paper); }
.place-heading { margin-bottom: 35px; }
.place-heading h1 { max-width: 630px; }
.place-heading .lede { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.identity-strip { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1fr; gap: 0; margin: -10px 0 16px; background: var(--forest); border: 1px solid var(--gold); box-shadow: 0 7px 21px rgba(19, 34, 31, .08); }
.identity-strip > div { min-width: 0; padding: 14px 15px; border-right: 1px solid rgba(227, 189, 107, .25); }
.identity-strip > div:last-child { border-right: 0; }
.identity-label { display: block; margin-bottom: 7px; color: var(--gold-light); font-size: .59rem; font-weight: 800; letter-spacing: .12em; line-height: 1.25; }
.identity-strip strong { display: block; overflow: hidden; color: var(--cream); font-family: Georgia, serif; font-size: .93rem; font-weight: 400; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.place-world-card { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 14px; padding: 22px 24px; color: var(--cream); background: linear-gradient(115deg, #18382b, #244c3c); border: 1px solid rgba(227, 189, 107, .42); }
.place-world-card h2 { margin: 8px 0 7px; color: var(--cream); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.place-world-card p { max-width: 620px; margin: 0; color: #b7c9bf; font-size: .83rem; line-height: 1.45; }
.place-world-card .outline-button { width: auto; min-width: 175px; flex: none; }
.property-media-card { margin-top: 14px; padding: 27px 29px 29px; background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid var(--line); box-shadow: 0 7px 21px rgba(19, 34, 31, .06); }
.property-media-heading { align-items: baseline; margin: 0; }
.property-media-heading h2 { margin: 8px 0 0; }
.property-media-note { color: var(--muted); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.property-media-intro { max-width: 680px; margin: 11px 0 18px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.property-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.property-media-attribution { margin: 11px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.35; }
.history-context-card { margin-top: 14px; padding: 27px 29px 29px; background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid var(--line); box-shadow: 0 7px 21px rgba(19, 34, 31, .06); }
.history-context-heading { align-items: baseline; margin: 0; }
.history-context-heading h2 { margin: 8px 0 0; }
.history-context-heading .quiet-button { width: auto; flex: none; }
.history-context-intro { max-width: 720px; margin: 11px 0 8px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.history-context-card > .property-brief-note { display: block; margin-bottom: 18px; }
.history-context-item { min-height: 255px; }
.history-context-item h3 { margin-top: 30px; }
.history-context-item p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.history-context-item footer { align-items: flex-start; font-size: .61rem; letter-spacing: .04em; }
.history-context-item footer a { color: var(--forest-3); font-size: .68rem; letter-spacing: 0; text-transform: none; }
.history-context-card button:disabled { cursor: default; opacity: .62; }
.safety-context-card { margin-top: 14px; padding: 27px 29px 29px; color: var(--cream); background: linear-gradient(115deg, #18382b, #244c3c); border: 1px solid rgba(227, 189, 107, .5); box-shadow: 0 7px 21px rgba(19, 34, 31, .08); }
.safety-context-heading { align-items: baseline; margin: 0; }
.safety-context-heading h2 { margin: 8px 0 0; color: var(--cream); }
.safety-context-heading .quiet-button { width: auto; color: var(--gold-light); flex: none; }
.safety-context-intro { max-width: 720px; margin: 11px 0 8px; color: #b7c9bf; font-size: .82rem; line-height: 1.45; }
.safety-context-card > .property-brief-note { display: block; margin-bottom: 18px; color: #b7c9bf; }
.safety-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.safety-context-stat { min-height: 135px; padding: 20px; background: rgba(255, 248, 235, .08); border: 1px solid rgba(226, 192, 120, .28); }
.safety-context-stat .brief-label { color: var(--gold-light); }
.safety-context-stat strong { display: block; margin: 25px 0 8px; color: var(--cream); font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.safety-context-stat small { display: block; color: #b7c9bf; font-size: .68rem; line-height: 1.4; }
.safety-context-boundary { grid-column: 1 / -1; padding: 16px 19px; background: rgba(255, 248, 235, .06); border-left: 2px solid var(--gold-light); }
.safety-context-boundary strong { display: block; margin-bottom: 5px; color: var(--cream); font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; }
.safety-context-boundary p { max-width: 700px; margin: 0 0 9px; color: #b7c9bf; font-size: .72rem; line-height: 1.45; }
.safety-context-boundary a { color: var(--gold-light); font-size: .7rem; }
.safety-context-card button:disabled { cursor: default; opacity: .62; }
.property-photo { position: relative; min-width: 0; min-height: 145px; overflow: hidden; background: linear-gradient(145deg, #314f45, #9aaea2); border: 1px solid rgba(184, 128, 44, .48); }
.property-photo img { display: block; width: 100%; height: 175px; object-fit: cover; }
.property-photo figcaption { position: absolute; right: 7px; bottom: 7px; left: 7px; display: flex; justify-content: space-between; gap: 5px; padding: 6px 7px; color: var(--cream); background: rgba(13, 33, 25, .78); font-size: .58rem; letter-spacing: .04em; }
.property-photo-empty { grid-column: 1 / -1; padding: 17px; color: var(--muted); background: rgba(255, 248, 235, .58); border-left: 2px solid var(--gold); font-size: .76rem; line-height: 1.45; }
.property-photo-empty strong { display: block; margin-bottom: 5px; color: var(--ink); font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; }
.property-photo-empty a { color: var(--forest-3); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 14px; }
.story-card, .evidence-card { padding: 29px; background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid var(--line); box-shadow: 0 7px 21px rgba(19, 34, 31, .06); }
.story-card { min-height: 320px; }
.story-lead { max-width: 600px; margin: 24px 0 31px; color: var(--ink); font-family: Georgia, serif; font-size: 1.8rem; letter-spacing: -.025em; line-height: 1.12; }
.story-quote { padding: 19px 20px; color: #4c5d54; background: #eaf0e8; border-left: 3px solid var(--forest-3); font-family: Georgia, serif; font-size: 1.06rem; line-height: 1.45; }
.story-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 29px; color: var(--muted); font-size: .66rem; letter-spacing: .1em; }
.story-footer strong { color: var(--forest-3); font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.evidence-card { background: radial-gradient(circle at 100% 0, rgba(136, 169, 179, .13), transparent 32%), var(--forest); border-color: var(--gold); color: var(--cream); }
.evidence-card.is-focused { animation: evidence-focus 1.2s ease both; }
.evidence-card .section-label { color: var(--gold-light); }
.evidence-contract { display: grid; gap: 13px; margin-top: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(226, 192, 120, .22); }
.evidence-contract .identity-label { margin-bottom: 4px; }
.evidence-contract strong { color: var(--cream); font-family: Georgia, serif; font-size: .93rem; font-weight: 400; }
.state-key { display: flex; flex-wrap: wrap; gap: 6px 9px; }
.state-chip { display: inline-flex; align-items: center; gap: 5px; color: #b7c9bf; font-size: .64rem; letter-spacing: .03em; }
.state-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.state-known { background: #a7c88c; }
.state-derived { background: var(--gold-light); }
.state-conflicting { background: #d88962; }
.state-unknown { background: #9eb4a8; }
.state-recommended { background: var(--rust); }
.state-badge { display: inline-block; width: fit-content; padding: 3px 5px; color: var(--forest); background: #a7c88c; font-size: .54rem; font-weight: 800; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.state-badge.state-derived { color: #513914; background: var(--gold-light); }
.state-badge.state-conflicting { color: #fff4e3; background: var(--rust); }
.state-badge.state-unknown { color: var(--forest); background: #9eb4a8; }
.state-badge.state-monty-read { color: #513914; background: #e8c878; }
.state-badge.state-recommended { color: #fff4e3; background: var(--rust); }
.evidence-list { margin: 21px 0 19px; }
.evidence-item { display: grid; grid-template-columns: 64px 1fr; gap: 11px; padding: 14px 0; border-top: 1px solid rgba(226, 192, 120, .22); }
.evidence-date-wrap { display: grid; align-content: start; gap: 7px; }
.evidence-date { color: var(--gold-light); font-family: Georgia, serif; font-size: .9rem; }
.evidence-item strong { display: block; margin-bottom: 4px; color: var(--cream); font-size: .85rem; font-weight: 600; line-height: 1.3; }
.evidence-item small { color: #9eb4a8; font-size: .7rem; line-height: 1.35; }
.evidence-item p { margin: 6px 0 0; color: #b7c9bf; font-size: .7rem; line-height: 1.35; }
.evidence-next { display: grid; gap: 6px; margin: 0 0 18px; padding: 12px; background: rgba(255, 248, 235, .07); border-left: 2px solid var(--rust); }
.evidence-next strong { color: var(--cream); font-size: .78rem; line-height: 1.3; }
.evidence-next small { color: #9eb4a8; font-size: .68rem; line-height: 1.35; }
.outline-button { width: 100%; padding: 11px 12px; color: var(--gold-light); background: transparent; border: 1px solid rgba(226, 192, 120, .6); text-align: left; }
.outline-button span { float: right; font-size: 1.1rem; }
.outline-button:hover { color: var(--cream); background: var(--forest-2); }
.trajectory-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 14px; padding: 27px 29px; color: var(--cream); background: var(--forest-2); }
.trajectory-card .section-label { color: var(--gold-light); }
.trajectory-card h2 { margin: 10px 0 9px; color: var(--cream); }
.trajectory-card p { margin: 0; color: #b7c9bf; line-height: 1.48; }
.trajectory-lines { display: grid; align-content: center; gap: 14px; }
.trajectory-line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; color: #b7c9bf; font-size: .8rem; }
.trajectory-line span:first-child { color: var(--gold-light); font-family: Georgia, serif; font-size: 1rem; }
.trajectory-bar { height: 7px; overflow: hidden; background: rgba(247, 240, 228, .12); border-radius: 99px; }
.trajectory-bar i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.trajectory-signal-line { align-items: start; }
.trajectory-signal-copy { min-width: 0; display: grid; gap: 3px; }
.trajectory-signal-copy strong { font-family: Georgia, serif; font-size: .98rem; font-weight: 400; }
.trajectory-signal-copy a { color: var(--cream); text-decoration-color: rgba(227, 189, 107, .55); text-underline-offset: 3px; }
.trajectory-signal-copy a:hover { color: var(--gold-light); }
.trajectory-signal-copy small { color: #9db3a8; font-size: .68rem; line-height: 1.35; }
.walkaround-card { margin-top: 14px; padding: 27px 29px; background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid var(--line); box-shadow: 0 7px 21px rgba(19, 34, 31, .06); }
.walkaround-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.walkaround-heading h2 { margin: 8px 0 9px; }
.walkaround-heading p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.48; }
.walkaround-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; color: var(--cream); background: var(--forest); border: 1px solid var(--gold-light); font-size: 1.35rem; }
.walkaround-stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 25px; }
.walkaround-stop { display: grid; grid-template-columns: auto 1fr; gap: 12px; min-width: 0; padding: 16px; background: rgba(255, 248, 235, .62); border-top: 2px solid var(--gold); }
.walkaround-stop:nth-child(2) { border-top-color: var(--forest-3); }
.walkaround-stop:nth-child(3) { border-top-color: var(--rust); }
.walkaround-index { color: var(--gold); font-family: Georgia, serif; font-size: 1.25rem; }
.walkaround-label { color: var(--rust); font-size: .6rem; font-weight: 800; letter-spacing: .13em; }
.walkaround-stop h3 { margin: 8px 0 7px; font-size: 1.24rem; }
.walkaround-stop p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.42; }
.agent-lead-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 28px; margin-top: 34px; padding: 28px 29px 29px; color: var(--cream); background: linear-gradient(135deg, #17372b, #23473b); border: 1px solid rgba(227, 189, 107, .42); box-shadow: 0 10px 26px rgba(19, 34, 31, .11); }
.agent-lead-copy h2 { margin: 9px 0 10px; color: var(--cream); }
.agent-lead-copy p { max-width: 360px; margin: 0; color: #b7c9bf; font-size: .82rem; line-height: 1.48; }
.agent-lead-copy .eyebrow { color: var(--gold-light); }
.agent-lead-boundary { display: flex; align-items: center; gap: 8px; margin-top: 25px; color: #9eb4a8; font-size: .67rem; line-height: 1.35; }
.agent-lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-content: start; }
.agent-lead-form label { display: grid; gap: 6px; color: var(--gold-light); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.agent-lead-form label:nth-of-type(4), .agent-lead-form .consent-line, .agent-lead-form button, .agent-lead-status { grid-column: 1 / -1; }
.agent-lead-form label small { color: #9eb4a8; font-size: .58rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.agent-lead-form input, .agent-lead-form select { width: 100%; min-height: 42px; padding: 9px 10px; color: var(--cream); background: rgba(255, 248, 235, .08); border: 1px solid rgba(226, 192, 120, .35); outline: 0; font-size: .82rem; }
.agent-lead-form input:focus, .agent-lead-form select:focus { border-color: var(--gold-light); box-shadow: 0 0 0 2px rgba(227, 189, 107, .15); }
.agent-lead-form select option { color: var(--ink); }
.agent-lead-form .consent-line { display: flex; grid-template-columns: none; align-items: flex-start; gap: 9px; color: #b7c9bf; font-size: .68rem; font-weight: 400; letter-spacing: 0; line-height: 1.35; text-transform: none; }
.agent-lead-form .consent-line input { width: 17px; min-height: 17px; margin: 0; accent-color: var(--gold-light); }
.agent-lead-privacy { grid-column: 1 / -1; margin: -3px 0 0; color: #9eb4a8; font-size: .64rem; line-height: 1.4; }
.agent-lead-form button { width: fit-content; }
.agent-lead-status { min-height: 17px; margin: -2px 0 0; color: #9eb4a8; font-size: .68rem; line-height: 1.35; }
.finding-board { margin-top: 14px; }
.finding-board-heading { margin: 31px 0 9px; }
.finding-board-heading h2 { margin: 7px 0 0; }
.finding-board-note { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.finding-board-intro { max-width: 650px; margin: 0 0 17px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.finding-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.finding-panel { min-width: 0; min-height: 224px; padding: 17px 16px 16px; background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 7px 21px rgba(19, 34, 31, .06); }
.finding-panel-signals { border-top-color: var(--forest-3); }
.finding-panel-trends { border-top-color: var(--gold); }
.finding-panel-risks { border-top-color: var(--rust); }
.finding-panel-opportunities { border-top-color: var(--sky); }
.finding-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.finding-icon { display: grid; place-items: center; width: 25px; height: 25px; color: var(--cream); background: var(--forest); border-radius: 50%; font-family: Georgia, serif; font-size: .85rem; }
.finding-panel-trends .finding-icon { color: var(--forest); background: var(--gold-light); }
.finding-panel-risks .finding-icon { background: var(--rust); }
.finding-panel-opportunities .finding-icon { color: var(--forest); background: #a9c0bb; }
.finding-state { color: var(--muted); font-size: .56rem; font-weight: 800; letter-spacing: .1em; }
.finding-panel h3 { margin: 18px 0 13px; color: var(--ink); font-size: 1.38rem; }
.finding-list { display: grid; gap: 10px; }
.finding-item { padding-top: 10px; border-top: 1px solid rgba(184, 128, 44, .27); }
.finding-item:first-child { padding-top: 0; border-top: 0; }
.finding-item strong { display: block; color: var(--ink); font-size: .78rem; line-height: 1.3; }
.finding-item p { margin: 4px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.finding-item .state-badge { margin-top: 6px; }
.property-brief { margin-top: 34px; padding: 26px 28px 28px; color: var(--cream); background: linear-gradient(135deg, #17372b, #23473b); box-shadow: 0 10px 26px rgba(19, 34, 31, .11); }
.property-brief-heading { align-items: baseline; }
.property-brief-heading h2 { margin: 7px 0 0; color: var(--cream); }
.property-brief-note { color: var(--gold-light); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.property-brief-intro { max-width: 680px; margin: 10px 0 19px; color: #b7c9bf; font-size: .82rem; line-height: 1.45; }
.brief-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.brief-item { min-width: 0; min-height: 126px; padding: 16px; background: rgba(255, 248, 235, .08); border: 1px solid rgba(226, 192, 120, .27); border-top: 2px solid var(--gold); }
.brief-item-change { border-top-color: var(--sky); }
.brief-item-uncertain { border-top-color: var(--rust); }
.brief-item-next { border-top-color: #a9c0bb; }
.brief-label { display: block; margin-bottom: 14px; color: var(--gold-light); font-size: .57rem; font-weight: 800; letter-spacing: .1em; }
.brief-item strong { display: block; color: var(--cream); font-size: .77rem; font-weight: 500; line-height: 1.42; }
.brief-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.brief-item-top .brief-label { margin-bottom: 0; }
.location-rating-card { display: flex; flex-direction: column; gap: 11px; }
.location-rating-card strong { min-height: 2.2em; font-family: Georgia, serif; font-size: 1.02rem; }
.location-rating-card small { display: block; margin-top: auto; color: #b7c9bf; font-size: .66rem; line-height: 1.42; }
.rating-meter { height: 5px; overflow: hidden; background: rgba(247, 240, 228, .14); border-radius: 99px; }
.rating-meter i { display: block; width: var(--rating-width, 0%); height: 100%; background: var(--gold); border-radius: inherit; transition: width .35s ease; }
.location-rating-card .state-badge.state-unknown { color: var(--forest); background: #9eb4a8; }
.location-rating-card .state-badge.state-monty-read { color: #513914; background: #e8c878; }
.trajectory-card .property-brief-note { display: block; margin-top: 14px; }
.trajectory-empty { align-self: center; padding: 18px; color: #b7c9bf; border: 1px dashed rgba(226, 192, 120, .35); font-size: .78rem; line-height: 1.5; }
.monty-search-trail { display: grid; gap: 7px; margin-top: 14px; padding: 12px 14px; color: #b7c9bf; border: 1px solid rgba(226, 192, 120, .28); background: rgba(0, 0, 0, .12); font-size: .75rem; line-height: 1.4; }
.monty-search-trail strong { color: var(--gold-light); font-family: Georgia, serif; font-size: .9rem; font-weight: 400; }
.monty-search-trail a { color: var(--cream); text-decoration-color: rgba(227, 189, 107, .55); text-underline-offset: 3px; }
.monty-search-trail a:hover { color: var(--gold-light); }
.connections-section { padding-bottom: 20px; }
.connection-count { color: var(--muted); font-size: .7rem; letter-spacing: .11em; }
.connection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.connection-card { min-height: 142px; padding: 17px; color: var(--ink); background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid var(--line); text-align: left; }
.connection-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.connection-card .story-tag { display: block; margin-bottom: 15px; }
.connection-card h3 { margin: 0 0 9px; font-size: 1.25rem; }
.connection-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.opening-intelligence { margin-top: 34px; }
.opening-heading { align-items: baseline; margin-top: 0; }
.opening-note { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.opening-intro { max-width: 680px; margin: -5px 0 17px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.opening-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opening-signal { min-width: 0; min-height: 168px; padding: 17px 16px 16px; background: linear-gradient(180deg, rgba(255, 248, 235, .98), rgba(248, 236, 215, .96)); border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 7px 21px rgba(19, 34, 31, .06); }
.opening-signal-derived { border-top-color: var(--gold); }
.opening-signal-known { border-top-color: var(--forest-3); }
.opening-signal-unknown { border-top-color: var(--sky); }
.opening-signal-recommended { border-top-color: var(--rust); }
.opening-signal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.opening-signal-label { color: var(--rust); font-size: .6rem; font-weight: 800; letter-spacing: .13em; }
.opening-signal h3 { margin: 22px 0 9px; font-size: 1.33rem; }
.opening-signal p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.42; }

.monty-panel { position: relative; padding: 35px 25px 25px; color: var(--cream); background: radial-gradient(circle at 10% 0, rgba(136, 169, 179, .16), transparent 28%), linear-gradient(180deg, #1b3d2e, #102a20); border-left: 1px solid rgba(227, 189, 107, .52); overflow: hidden; }
.monty-panel::before { position: absolute; top: -150px; right: -100px; width: 290px; height: 290px; content: ""; border: 1px solid rgba(226, 192, 120, .18); border-radius: 50%; box-shadow: 0 0 0 25px rgba(226, 192, 120, .035), 0 0 0 50px rgba(226, 192, 120, .025); }
.monty-panel-top { position: relative; display: flex; justify-content: space-between; gap: 10px; }
.monty-panel-top .eyebrow { color: var(--gold-light); }
.monty-status { color: #9eb4a8; font-size: .67rem; }
.monty-status .live-dot { margin-right: 5px; }
.monty-portrait { position: relative; display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; margin: 55px auto 20px; background: radial-gradient(circle at 40% 30%, #6f8e68, #315746 52%, #17342c); border: 1px solid rgba(227, 189, 107, .76); border-radius: 50%; box-shadow: 0 0 0 10px rgba(227, 189, 107, .06), inset 0 0 0 4px rgba(227, 189, 107, .09); }
.monty-snake { font-size: 3.9rem; filter: saturate(.85); transform: rotate(-14deg); }
.monty-hat { position: absolute; top: 7px; right: 13px; font-size: 1.65rem; transform: rotate(12deg); }
.portrait-spark { position: absolute; bottom: 11px; left: 10px; color: var(--gold-light); font-size: 1rem; }
.monty-panel h2 { position: relative; margin: 0 0 7px; color: var(--cream); font-size: 2.2rem; text-align: center; }
.monty-intro { position: relative; max-width: 230px; margin: 0 auto; color: #b7c9bf; font-family: Georgia, serif; line-height: 1.45; text-align: center; }
.monty-note { position: relative; margin: 30px 0 19px; padding: 18px 18px 16px; background: #23473b; border: 1px solid rgba(226, 192, 120, .25); }
.note-mark { float: left; margin: -7px 8px 0 0; color: var(--gold-light); font-family: Georgia, serif; font-size: 2.8rem; line-height: 1; }
.monty-note p { min-height: 44px; margin: 0; color: var(--cream); font-family: Georgia, serif; font-size: 1.13rem; line-height: 1.25; }
.monty-note small { display: block; clear: both; padding-top: 13px; color: #9eb4a8; font-size: .68rem; line-height: 1.35; }
.monty-actions { position: relative; display: grid; gap: 7px; }
.monty-actions button { display: flex; justify-content: space-between; padding: 12px 13px; color: var(--cream); background: transparent; border: 1px solid rgba(226, 192, 120, .33); text-align: left; }
.monty-actions button:hover { color: var(--gold-light); border-color: var(--gold-light); background: rgba(16, 36, 31, .35); }
.monty-actions span { color: var(--gold-light); }
.monty-footnote { position: absolute; right: 25px; bottom: 24px; left: 25px; color: #779188; font-size: .68rem; line-height: 1.4; }
.toast { position: fixed; right: 25px; bottom: 22px; z-index: 4; max-width: 330px; padding: 12px 15px; color: var(--cream); background: var(--forest); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
@keyframes evidence-focus { 0%, 100% { box-shadow: 0 7px 21px rgba(19, 34, 31, .08); } 35% { box-shadow: 0 0 0 5px rgba(227, 189, 107, .22), 0 16px 34px rgba(19, 34, 31, .2); } }

@media (max-width: 1120px) {
  .app-grid { grid-template-columns: 195px minmax(0, 1fr); }
  .finding-grid { grid-template-columns: repeat(2, 1fr); }
  .brief-grid { grid-template-columns: repeat(2, 1fr); }
  .monty-panel { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.35fr auto; gap: 25px; align-items: center; padding: 22px 30px; border-top: 1px solid rgba(226, 192, 120, .25); border-left: 0; }
  .monty-panel::before { top: -190px; right: 10%; }
  .monty-panel-top { display: block; }
  .monty-status { display: block; margin-top: 7px; }
  .monty-portrait { width: 75px; height: 75px; margin: 0; }
  .monty-snake { font-size: 2.8rem; }
  .monty-hat { font-size: 1.3rem; }
  .monty-panel h2 { text-align: left; }
  .monty-intro { margin: 0; text-align: left; }
  .monty-note { margin: 0; }
  .monty-footnote { position: static; }
}
@media (max-width: 790px) {
  .cover-page { overflow-y: auto; }
  .cover-page-copy { position: relative; top: auto; bottom: auto; left: auto; width: 100%; min-height: 100svh; padding: 28px 24px 42px; background: linear-gradient(180deg, rgba(5, 20, 13, .95) 0%, rgba(8, 27, 18, .84) 47%, rgba(8, 27, 18, .45) 100%); }
  .cover-page-copy::before { inset: 11px; }
  .cover-page-art { position: fixed; inset: 0; padding: 14px; place-items: center; }
  .cover-page-art img { object-fit: contain; object-position: center center; opacity: .72; }
  .cover-brandline { margin-bottom: 46px; }
  .cover-location { display: none; }
  .cover-page h1 { font-size: clamp(3.2rem, 16vw, 5.3rem); }
  .cover-art-note { right: 20px; bottom: 22px; }
  .cover-skip { position: relative; right: auto; bottom: auto; margin-top: 16px; }
  .topbar { height: 60px; padding: 0 17px; }
  .menu-toggle { display: block; }
  .topbar-context { display: none; }
  .topbar-monty { margin-left: auto; padding: 7px 10px; font-size: .78rem; }
  .pulse-rail { display: block; }
  .pulse-rail-heading { display: grid; align-items: center; gap: 7px; padding: 11px 16px; border-right: 0; border-bottom: 1px solid rgba(227, 189, 107, .2); }
  .pulse-rail-status { text-align: left; }
  .pulse-rail-track { min-height: 92px; }
  .pulse-card { flex-basis: 218px; padding: 12px 14px; }
  .pulse-card-clock { flex-basis: 250px; }
  .pulse-card-market { flex-basis: 710px; }
  .app-grid { display: block; min-height: calc(100vh - 60px); }
  .sidebar { position: fixed; top: 60px; bottom: 0; left: -225px; z-index: 5; width: 225px; transition: left .2s ease; box-shadow: 12px 0 30px rgba(0,0,0,.2); }
  .sidebar.is-open { left: 0; }
  .main-content { padding: 34px 18px 50px; }
  .content-heading, .place-heading { gap: 15px; }
  .content-heading > div, .place-heading > div { min-width: 0; }
  .search-control { min-width: 0; }
  .heading-stamp { display: none; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
  .brand-hero { grid-template-columns: 1fr; }
  .brand-hero-art { min-height: 310px; }
  .brand-hero-copy { padding: 30px 25px 28px; }
  .world-viewer { grid-template-columns: 1fr; }
  .viewer-copy { min-height: 286px; }
  .world-canvas { min-height: 300px; }
  .viewer-topline { align-items: flex-start; flex-direction: column; gap: 7px; }
  .viewer-heading { margin: 23px 0 20px; }
  .viewer-actions { align-items: flex-start; flex-direction: column; }
  .source-network { grid-template-columns: 1fr; }
  .source-network-metrics { border-top: 1px solid rgba(227, 189, 107, .25); border-left: 0; }
  .source-network-topline { align-items: flex-start; flex-direction: column; gap: 7px; }
  .source-actions { align-items: flex-start; flex-direction: column; }
  .place-world-card { align-items: flex-start; flex-direction: column; gap: 16px; }
  .place-world-card .outline-button { width: 100%; }
  .property-media-card { padding: 22px 20px 23px; }
  .property-media-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .history-context-card { padding: 22px 20px 23px; }
  .history-context-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .history-context-heading .quiet-button { width: auto; }
  .safety-context-card { padding: 22px 20px 23px; }
  .safety-context-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .safety-context-heading .quiet-button { width: auto; }
  .safety-context-grid { grid-template-columns: 1fr; }
  .safety-context-boundary { grid-column: auto; }
  .property-photos { grid-template-columns: repeat(2, 1fr); }
  .agent-lead-card { grid-template-columns: 1fr; gap: 23px; padding: 23px 20px 24px; }
  .agent-lead-copy p { max-width: 520px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-image { min-height: 115px; }
  .feature-copy { padding: 25px 22px 22px; }
  .feature-copy h2 { margin-top: 28px; font-size: 2.25rem; }
  .feed-grid, .connection-grid, .finding-grid, .brief-grid { grid-template-columns: 1fr; }
  .feed-card { min-height: 200px; }
  .identity-strip { grid-template-columns: repeat(2, 1fr); }
  .identity-strip > div:nth-child(2) { border-right: 0; }
  .identity-strip > div:nth-child(-n + 2) { border-bottom: 1px solid rgba(227, 189, 107, .25); }
  .story-grid, .trajectory-card { grid-template-columns: 1fr; }
  .story-card, .evidence-card { padding: 22px; }
  .story-lead { font-size: 1.55rem; }
  .place-toolbar { align-items: flex-start; flex-direction: column-reverse; gap: 11px; }
  .place-heading .story-seal { display: none; }
  .monty-panel { grid-template-columns: auto 1fr; gap: 15px; padding: 22px 18px 85px; }
  .monty-panel-top { grid-column: 1 / -1; }
  .monty-portrait { width: 68px; height: 68px; }
  .monty-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .monty-actions button { padding: 10px 8px; font-size: .78rem; }
  .monty-actions span { display: none; }
  .monty-footnote { position: absolute; right: 18px; bottom: 22px; left: 18px; }
}
@media (max-width: 920px) and (min-width: 791px) {
  .brand-hero { grid-template-columns: 1fr; }
  .brand-hero-art { min-height: 315px; }
  .brand-hero-copy { padding: 30px 30px 28px; }
}
@media (max-width: 470px) {
  .cover-page-copy { min-height: 100svh; padding: 24px 18px 34px; }
  .cover-brandline { margin-bottom: 48px; }
  .cover-page h1 { font-size: clamp(2.9rem, 16vw, 4.8rem); }
  .cover-lede { font-size: .92rem; }
  .cover-actions { align-items: stretch; flex-direction: column; }
  .cover-primary, .cover-google { width: calc(100% - 20px); justify-content: center; }
  .cover-skip { right: auto; bottom: auto; }
  .topbar-wordmark { font-size: .88rem; }
  .topbar-monty { font-size: 0; }
  .topbar-monty .mini-snake { font-size: 1.2rem; }
  .signal-strip div { display: block; }
  .signal-strip strong, .signal-strip span { display: block; }
  .signal-strip span { margin-top: 4px; font-size: .61rem; line-height: 1.2; }
  .brand-hero-art { min-height: 255px; }
  .brand-hero-copy { padding: 26px 21px 24px; }
  .brand-hero-index { gap: 7px 9px; font-size: .55rem; }
  .brand-hero-index span::after { margin-left: 9px; }
  .section-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .quiet-button { align-self: flex-start; }
  .search-control button { padding: 0 11px; font-size: .63rem; }
  .identity-strip { grid-template-columns: 1fr; }
  .identity-strip > div, .identity-strip > div:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(227, 189, 107, .25); }
  .identity-strip > div:last-child { border-bottom: 0; }
}

/* Phone-first refinements: keep the story legible and the controls thumb-ready. */
body { overflow-x: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
.topbar { position: sticky; top: 0; z-index: 10; }
.menu-toggle { min-width: 44px; min-height: 44px; }
.topbar-monty { min-height: 44px; white-space: nowrap; }
.search-control button, .viewer-primary, .outline-button, .quiet-button, .text-button { min-height: 44px; }
.drawer-backdrop { display: none; }

@media (max-width: 790px) {
  body.nav-open { overflow: hidden; }
  .sidebar { width: min(82vw, 300px); left: calc(-1 * min(82vw, 300px) - 18px); padding: 22px 18px 20px; }
  .sidebar.is-open { left: 0; }
  .sidebar .nav-item { min-height: 48px; }
  .drawer-backdrop:not([hidden]) { position: fixed; inset: 60px 0 0; z-index: 4; display: block; width: 100%; padding: 0; background: rgba(9, 24, 17, .58); border: 0; }
  .main-content { padding-right: 16px; padding-left: 16px; }
  .main-content > *, .identity-strip > div, .brief-item, .finding-item, .connection-card { min-width: 0; }
  .identity-strip strong, .brief-item strong, .finding-item p, .connection-card strong { overflow-wrap: anywhere; }
  .place-search { width: 100%; }
  .search-control { min-height: 0; }
  .search-control input { min-height: 44px; font-size: 1rem; }
  .world-viewer { margin-top: 24px; }
  .viewer-copy { min-height: 0; padding: 23px 20px 21px; }
  .viewer-heading h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); line-height: 1.02; }
  .viewer-actions { margin-top: 20px; }
  .viewer-primary { width: 100%; }
  .viewer-note { max-width: 27rem; }
  .world-canvas { height: clamp(300px, 86vw, 390px); min-height: 0; }
  .map-controls { top: 16px; left: 16px; }
  .map-control { min-width: 44px; height: 44px; }
  .map-control-reset { min-width: 58px; }
  .map-compass { top: 17px; right: 19px; }
  .map-hint { right: 16px; bottom: 16px; left: 16px; max-width: calc(100% - 32px); text-align: center; }
  .viewer-legend { top: 72px; right: 16px; bottom: auto; left: 16px; justify-content: center; flex-wrap: wrap; max-width: calc(100% - 32px); }
  .live-map-credit { right: 16px; bottom: 16px; left: 16px; justify-content: center; flex-wrap: wrap; }
  .source-actions .viewer-primary { width: auto; }
  .source-status { max-width: 30rem; }
  .story-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .walkaround-card { padding: 22px 20px 23px; }
  .walkaround-heading { flex-direction: column; gap: 12px; }
  .walkaround-mark { width: 38px; height: 38px; }
  .walkaround-stops, .opening-grid { grid-template-columns: 1fr; }
  .walkaround-stop { padding: 15px; }
  .opening-intelligence { margin-top: 27px; }
  .opening-heading { margin-top: 0; }
  .opening-intro { margin-top: 0; }
  .property-brief { margin-top: 26px; padding: 22px 20px 23px; }
  .brief-grid { gap: 8px; }
  .brief-item { min-height: 0; padding: 15px; }
  .brief-label { margin-bottom: 9px; }
  .monty-actions button { min-height: 48px; }
}

@media (max-width: 430px) {
  .topbar { gap: 8px; padding: 0 10px; }
  .topbar-wordmark { font-size: .8rem; letter-spacing: .12em; }
  .topbar-monty { padding: 6px 8px; }
  .main-content { padding-top: 25px; }
  h1 { font-size: clamp(2.2rem, 13vw, 3.3rem); }
  .search-control { align-items: stretch; flex-wrap: wrap; gap: 4px; padding: 6px; }
  .search-mark { align-self: center; padding-left: 4px; }
  .search-control input { flex-basis: calc(100% - 31px); padding: 9px 6px; }
  .search-control button { flex-basis: 100%; width: 100%; }
  .search-hints { gap: 9px; line-height: 1.4; }
  .source-network-metrics { padding: 13px 12px; }
  .source-network-metrics > div { padding: 10px 8px; }
  .source-network-metrics strong { font-size: .98rem; }
  .brand-hero-copy h2 { font-size: 2rem; }
  .identity-strip > div { padding: 13px 14px; }
  .trajectory-card { padding: 22px 20px; }
  .walkaround-card { padding-right: 16px; padding-left: 16px; }
  .trajectory-line { grid-template-columns: 55px 1fr; gap: 10px; }
  .monty-panel { padding-right: 16px; padding-left: 16px; }
  .monty-actions { grid-template-columns: 1fr; }
  .monty-actions button { padding: 11px 13px; }
  .monty-actions span { display: inline; }
  .monty-footnote { right: 16px; bottom: 20px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Professional welcome pass: keep the civic-sign character, add clarity and ease. */
:root {
  --ink: #18241f;
  --forest: #102a20;
  --forest-2: #1b4534;
  --forest-3: #2f6a4e;
  --cream: #f5ecdc;
  --paper: #fffdf7;
  --line: #d5bd91;
  --muted: #665f56;
  --gold: #b77d28;
  --gold-light: #edc979;
  --rust: #984d36;
  --shadow: 0 18px 44px rgba(16, 42, 32, .14);
}

body { background: var(--forest); }
.topbar { height: 76px; padding-right: clamp(20px, 3.5vw, 52px); padding-left: clamp(20px, 3.5vw, 52px); background: linear-gradient(105deg, #0a1e17, #102a20 54%, #1d4935); box-shadow: 0 6px 22px rgba(6, 19, 14, .24); }
.topbar-wordmark { font-size: 1.1rem; letter-spacing: .2em; }
.topbar-context { color: #c3d2c7; font-size: .75rem; }
.topbar-monty { min-height: 44px; padding: 10px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(237, 201, 121, .12); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.topbar-monty:hover { border-color: var(--gold-light); transform: translateY(-1px); }

.app-grid { grid-template-columns: 236px minmax(0, 1fr) 326px; }
.sidebar { padding: 28px 21px 22px; background: linear-gradient(180deg, #102a20, #0c241b); }
.sign-lockup { min-height: 154px; margin-bottom: 30px; border-radius: 12px; border-color: rgba(237, 201, 121, .58); box-shadow: 0 12px 26px rgba(0, 0, 0, .26); }
.sign-lockup img { height: 154px; }
.nav-item { border-radius: 8px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.nav-item:hover { transform: translateX(2px); }
.sidebar-note { padding-top: 20px; padding-bottom: 20px; }

.main-content { position: relative; padding-top: 56px; padding-bottom: 90px; background: radial-gradient(circle at 92% 0, rgba(196, 141, 72, .2), transparent 30%), radial-gradient(circle at 4% 46%, rgba(136, 169, 179, .1), transparent 24%), linear-gradient(180deg, #f6eddf 0%, #eadbc6 100%); }
.main-content::before { position: absolute; inset: 0; content: ""; opacity: .18; pointer-events: none; background-image: radial-gradient(rgba(113, 78, 38, .16) .7px, transparent .7px); background-size: 19px 19px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 46%); }
.main-content > * { position: relative; }
.view { max-width: 980px; }
h1 { max-width: 760px; font-size: clamp(2.5rem, 4vw, 3.8rem); letter-spacing: -.048em; line-height: .99; }
.lede { max-width: 650px; font-size: 1.06rem; line-height: 1.6; }
.place-search { margin-top: 29px; }
.place-search label { margin-bottom: 10px; }
.search-control { min-height: 56px; border-radius: 10px; box-shadow: inset 0 0 0 3px rgba(183, 125, 40, .08), 0 9px 22px rgba(16, 42, 32, .08); }
.search-control input { padding: 15px 12px; font-size: .96rem; }
.search-control button { padding-right: 20px; padding-left: 20px; border-radius: 0 9px 9px 0; transition: background .2s ease, color .2s ease; }
.search-hints { margin-top: 11px; font-size: .74rem; }
.search-hints button { font-size: .74rem; }
.resolver-status { color: #756b5e; font-size: .7rem; }

.heading-stamp, .story-seal { border-radius: 10px; }
.world-viewer { min-height: 352px; margin-top: 36px; margin-bottom: 34px; border-radius: 16px; box-shadow: 0 22px 48px rgba(16, 42, 32, .17); }
.viewer-copy { padding: 29px 27px 25px; }
.viewer-heading { margin-top: 35px; }
.viewer-primary { padding: 11px 15px; border-radius: 8px; box-shadow: 0 6px 14px rgba(0,0,0,.13); transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.viewer-primary:hover { transform: translateY(-1px); box-shadow: 0 9px 18px rgba(0,0,0,.18); }
.world-canvas { min-height: 352px; }
.world-canvas::after { inset: 12px; border-radius: 11px; }
.map-controls { border-radius: 10px; }
.map-control { border-radius: 6px; }
.pin-label, .viewer-legend, .map-hint { border-radius: 7px; }
.source-network { margin-bottom: 34px; border-radius: 16px; box-shadow: 0 17px 36px rgba(16, 42, 32, .14); }
.source-network-copy { padding: 26px 27px 24px; }
.source-network-metrics { padding: 19px 21px; }

.brand-hero { min-height: 410px; margin-top: 36px; border-radius: 16px; box-shadow: 0 23px 52px rgba(16, 42, 32, .21); }
.brand-hero::after { inset: 11px; border-radius: 11px; }
.brand-hero-art { min-height: 410px; }
.brand-hero-copy { padding: 42px 40px 38px; }
.brand-hero-copy h2 { font-size: clamp(2.1rem, 3.25vw, 3.1rem); }
.signal-strip { margin-top: 39px; margin-bottom: 34px; }
.signal-strip div + div { padding-left: 18px; border-left: 1px solid rgba(184, 128, 44, .32); }
.feature-card { border-radius: 16px; box-shadow: 0 18px 42px rgba(16, 42, 32, .16); }
.feature-card::after { inset: 10px; border-radius: 10px; }
.feed-card, .connection-card, .walkaround-card, .finding-panel, .opening-signal { border-radius: 12px; }
.feed-card:hover, .connection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feed-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-footer, .card-kicker, .feed-card-top { position: relative; z-index: 1; }

.place-world-card, .story-card, .evidence-card, .trajectory-card, .walkaround-card, .property-brief, .connection-card, .opening-signal { box-shadow: 0 10px 26px rgba(16, 42, 32, .08); }
.place-world-card { border-radius: 14px; }
.story-card, .evidence-card { border-radius: 14px; }
.trajectory-card, .property-brief, .monty-panel { border-radius: 14px; }
.walkaround-stop, .finding-panel, .brief-item, .opening-signal { border-radius: 9px; }
.outline-button, .quiet-button, .text-button, .back-button { border-radius: 8px; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.outline-button:hover, .quiet-button:hover, .text-button:hover { transform: translateY(-1px); }

.monty-panel { padding: 39px 27px 28px; border-left-color: rgba(237, 201, 121, .62); }
.monty-portrait { box-shadow: 0 0 0 10px rgba(237, 201, 121, .08), inset 0 0 0 4px rgba(237, 201, 121, .12), 0 14px 28px rgba(0,0,0,.14); }
.monty-note { border-radius: 12px; box-shadow: 0 9px 20px rgba(0,0,0,.1); }
.monty-actions button { border-radius: 8px; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.monty-actions button:hover { transform: translateX(2px); }
.toast { border-radius: 10px; }

.pulse-rail.is-idle .pulse-rail-title .live-dot { background: var(--gold-light); box-shadow: none; opacity: .7; }
.pulse-rail.is-idle .pulse-rail-track { overflow: hidden; }

/* World Viewer: cooler atlas palette and an intentional high-contrast fallback. */
.world-canvas,
.world-canvas *,
.world-canvas::before,
.world-canvas::after {
  forced-color-adjust: none;
}

.world-canvas {
  background:
    radial-gradient(circle at 78% 18%, rgba(213, 126, 91, .34), transparent 21%),
    radial-gradient(circle at 18% 78%, rgba(92, 157, 153, .4), transparent 29%),
    linear-gradient(135deg, #d4e1dd 0%, #9eb9b9 46%, #638b9a 100%);
}

.map-layer {
  background:
    radial-gradient(ellipse at 72% 22%, rgba(212, 126, 91, .3) 0 12%, transparent 12.5%),
    radial-gradient(ellipse at 20% 76%, rgba(70, 132, 124, .34) 0 16%, transparent 16.5%),
    radial-gradient(ellipse at 47% 48%, rgba(221, 232, 224, .5) 0 19%, transparent 19.5%),
    linear-gradient(140deg, #b4cbc5 0%, #84aaa9 48%, #628b9c 100%);
  border-color: rgba(37, 76, 83, .45);
  box-shadow: inset 0 0 0 1px rgba(239, 247, 241, .35), 0 14px 30px rgba(35, 72, 78, .22);
}

.map-layer::after {
  background: linear-gradient(115deg, rgba(239, 247, 241, .12), transparent 42%, rgba(33, 72, 80, .13));
}

.map-layer::before {
  background:
    linear-gradient(28deg, transparent 0 21%, rgba(239, 247, 241, .22) 21.5% 22%, transparent 22.5% 100%),
    linear-gradient(153deg, transparent 0 37%, rgba(48, 103, 104, .22) 37.5% 38%, transparent 38.5% 100%);
}

.map-lines path { stroke: rgba(239, 247, 241, .72); }
.map-lines path:nth-child(-n + 4) { stroke: rgba(39, 87, 91, .68); }
.map-lines path:nth-child(n + 5) { stroke: rgba(193, 102, 77, .66); }
.map-water { background: rgba(51, 123, 143, .36); border-left-color: rgba(228, 245, 242, .54); border-right-color: rgba(228, 245, 242, .34); }
.map-label { color: rgba(29, 72, 78, .78); text-shadow: 0 1px 0 rgba(224, 238, 232, .66); }
.map-label-downtown { color: rgba(132, 67, 57, .9); }
.map-compass { color: rgba(232, 244, 239, .94); }
.map-compass i { border-bottom-color: #d5795a; }
.map-pin .pin-dot { background: #d5795a; border-color: #e8f2eb; box-shadow: 0 0 0 4px rgba(213, 121, 90, .28), 0 3px 9px rgba(26, 60, 66, .3); }
.map-pin.is-active .pin-dot { background: #2f756f; box-shadow: 0 0 0 6px rgba(47, 117, 111, .3), 0 3px 12px rgba(26, 60, 66, .34); }
.pin-label { color: #eaf3ef; background: rgba(31, 69, 78, .88); border-color: rgba(231, 170, 130, .68); box-shadow: 0 5px 12px rgba(31, 69, 78, .2); }
.map-pin:hover .pin-label, .map-pin:focus-visible .pin-label { background: #285d64; border-color: #e3a27c; }
.map-focus { border-color: rgba(232, 244, 239, .82); background: radial-gradient(circle, rgba(232, 244, 239, .14) 0 34%, transparent 36%); box-shadow: 0 0 0 9px rgba(232, 244, 239, .13), inset 0 0 0 1px rgba(213, 121, 90, .4); }
.map-surface-stamp { color: #e8f2ed; background: rgba(33, 75, 82, .78); border-color: rgba(226, 169, 129, .55); }
.map-surface-stamp small { color: #b8d2cd; }
.map-label::after { border-top-color: rgba(39, 87, 91, .44); }
.map-lines .map-route-primary { stroke: rgba(213, 121, 90, .88); }
.map-lines .map-route-secondary { stroke: rgba(44, 126, 119, .9); }
.map-lines .map-route-node { fill: #e8f2ed; stroke: #d5795a; }
.viewer-legend, .map-hint { color: rgba(235, 245, 240, .92); background: rgba(31, 69, 78, .8); }
.legend-line { border-top-color: rgba(225, 239, 234, .78); }
.map-controls { color: #285d64; background: rgba(232, 242, 237, .92); border-color: rgba(39, 101, 103, .42); box-shadow: 0 5px 15px rgba(35, 72, 78, .2); }
.map-control { color: #285d64; border-color: rgba(39, 101, 103, .3); }
.map-control:hover, .map-control:focus-visible { color: #f4eee3; background: #c96f55; border-color: #c96f55; }
.map-control-3d, .map-control-earth { min-width: 50px; color: #8a493f; font-size: .64rem; font-weight: 800; letter-spacing: .05em; }
.map-control-3d.is-active { color: #f4eee3; background: #315d5e; border-color: #315d5e; }
.map-control-earth span { font-size: .76rem; }
.map-scale { color: #3c7778; }

@media (prefers-reduced-motion: reduce) {
  .map-focus { animation: none; }
}
.pulse-rail.is-idle .pulse-card-clock { flex-basis: 270px; border-right: 0; }
[hidden] { display: none !important; }

/* Editorial finish: give the welcome surface one clear action and a quieter secondary path. */
html { scroll-padding-top: 84px; }
.cover-actions { gap: 12px; padding-left: 18px; }
.cover-primary { min-width: 214px; border-radius: 8px; }
.cover-google { min-height: 43px; min-width: 214px; color: #d8e3da; background: rgba(255, 248, 235, .045); border: 1px solid rgba(227, 189, 107, .52); border-radius: 8px; box-shadow: none; transform: none; }
.cover-google::before, .cover-google::after { display: none; }
.cover-google:hover { background: rgba(227, 189, 107, .1); transform: translateX(2px); }
.cover-auth-note { max-width: 450px; color: #9fb4a5; }
.topbar, .pulse-rail { backdrop-filter: blur(12px); }
.pulse-rail-status { max-width: 22ch; }
.search-hints button { padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.search-hints button:hover, .search-hints button:focus-visible { border-bottom-color: var(--rust); }
.section-row { padding-top: 2px; border-top: 1px solid rgba(184, 128, 44, .3); }

@media (max-width: 1120px) {
  .app-grid { grid-template-columns: 202px minmax(0, 1fr); }
  .monty-panel { border-radius: 0; }
}

@media (max-width: 790px) {
  .main-content { padding-top: 36px; padding-bottom: 56px; }
  .world-viewer, .source-network, .brand-hero, .feature-card { border-radius: 14px; }
  .viewer-copy { padding: 24px 21px 22px; }
  .brand-hero-copy { padding: 31px 25px 29px; }
  .monty-panel { border-radius: 0; }
}

/* Account access: optional identity with a calm, explicit handoff. */
.topbar-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 8px 13px;
  color: var(--cream);
  background: rgba(227, 189, 107, .1);
  border: 1px solid rgba(226, 192, 120, .58);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.topbar-account:hover { color: #fff8e9; background: rgba(227, 189, 107, .2); }
.cover-email {
  align-self: flex-start;
  padding: 7px 0;
  color: #a9c0b0;
  background: transparent;
  border: 0;
  border-bottom: 1px dotted rgba(227, 189, 107, .56);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cover-email:hover { color: var(--gold-light); border-bottom-style: solid; }
.cover-email span { padding-left: 7px; color: var(--gold-light); }
.auth-dialog {
  width: min(480px, calc(100% - 32px));
  max-width: 480px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}
.auth-dialog::backdrop { background: rgba(4, 18, 12, .72); backdrop-filter: blur(5px); }
.auth-dialog-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(150deg, #fff8eb 0%, #efe0ca 100%);
  border: 1px solid rgba(184, 128, 44, .72);
  box-shadow: 0 28px 80px rgba(5, 20, 13, .42);
}
.auth-dialog-card h2 { margin: 9px 0 10px; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.auth-dialog-intro { max-width: 38ch; margin-bottom: 25px; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.auth-dialog-close { position: absolute; top: 11px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; color: var(--forest); background: transparent; border: 1px solid transparent; border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.auth-dialog-close:hover { background: rgba(184, 128, 44, .12); border-color: rgba(184, 128, 44, .35); }
.auth-method { padding: 17px; background: rgba(255, 248, 235, .64); border: 1px solid rgba(184, 128, 44, .3); }
.auth-method h3 { margin: 0 0 13px; color: var(--ink); font-family: inherit; font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.auth-google-start { display: inline-flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 16px; color: #24342c; background: #fffdf8; border: 1px solid rgba(68, 87, 74, .42); border-radius: 5px; font-size: .82rem; font-weight: 700; }
.auth-google-start:hover { background: #fff; border-color: var(--rust); }
.auth-google-start:disabled { cursor: not-allowed; opacity: .55; }
#googleAuthRender { min-height: 43px; }
.auth-status { min-height: 1.25em; margin: 10px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--rust); font-size: .62rem; font-weight: 800; letter-spacing: .15em; }
.auth-divider::before, .auth-divider::after { flex: 1; height: 1px; content: ""; background: rgba(184, 128, 44, .34); }
.auth-email-form label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.auth-email-row { display: flex; gap: 8px; }
.auth-email-row input { min-width: 0; flex: 1; padding: 11px 12px; color: var(--ink); background: #fffdf8; border: 1px solid rgba(111, 103, 93, .42); border-radius: 4px; font-size: .9rem; }
.auth-email-row input:focus { outline: 3px solid rgba(184, 128, 44, .28); border-color: var(--rust); }
.auth-email-row button, .auth-signout { flex: none; padding: 0 13px; color: #fff8eb; background: var(--forest-2); border: 1px solid var(--forest-3); border-radius: 4px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.auth-email-row button:hover, .auth-signout:hover { background: var(--forest-3); }
.auth-email-row button span { padding-left: 5px; color: var(--gold-light); }
.auth-signed-in { padding: 18px; background: rgba(24, 56, 43, .09); border: 1px solid rgba(45, 89, 69, .28); }
.auth-signed-in p { margin: 0 0 16px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.auth-signed-in strong { color: var(--ink); }
.auth-signed-in span { font-size: .78rem; }
.auth-dialog-footnote { margin: 22px 0 0; color: #7b7165; font-size: .72rem; line-height: 1.45; }

@media (max-width: 790px) {
  .topbar { gap: 11px; padding: 0 17px; }
  .topbar-account { min-width: 62px; padding: 7px 10px; font-size: .72rem; }
  .topbar-monty { padding: 8px 10px; }
}

@media (max-width: 480px) {
  .auth-dialog-card { padding: 28px 20px 22px; }
  .auth-email-row { display: grid; }
  .auth-email-row button { min-height: 42px; }
}
