* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font: 14px/1.4 var(--font-body, Roboto, "Helvetica Neue", Arial, sans-serif); color: var(--text, #202124); }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--link, #1a73e8); }
h2, h3, h4, h5 { margin: 0; font-family: var(--font-head, inherit); }
.mut { color: var(--muted, #5f6368); font-size: 12.5px; }
.sp { flex: 1; }
.ic { flex: none; vertical-align: middle; }
.iconbtn { border: 0; background: none; padding: 6px; border-radius: 50%; color: var(--muted, #5f6368); display: inline-flex; line-height: 0; }
.iconbtn:hover { background: var(--hover, #f1f3f4); }
.iconbtn[hidden] { display: none; }
#map { position: absolute; inset: 0; }

/* top: search and chips */
#top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1200; display: flex; gap: 10px; align-items: flex-start; pointer-events: none; }
#top > * { pointer-events: auto; }
#searchbox { position: relative; width: 416px; background: var(--surface, #fff); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 2px 6px rgba(60,64,67,.35)); display: flex; align-items: center; padding: 0 8px 0 14px; height: 48px; flex: none; }
#searchbox .lead { color: var(--muted, #6b7280); display: inline-flex; }
#searchbox input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 15px; padding: 0 10px; height: 100%; background: transparent; }
.vdiv { width: 1px; height: 24px; background: var(--border, #dadce0); margin: 0 6px; }
#advbtn { color: var(--link, #1a56db); padding: 8px; }
#advbtn:hover { background: var(--accent-soft, #eef3fd); }
#suggest { position: absolute; top: 52px; left: 0; right: 0; background: var(--surface, #fff); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 2px 6px rgba(60,64,67,.35)); overflow: hidden; z-index: 5; }
#suggest div { padding: 9px 14px; cursor: pointer; font-size: 14px; }
#suggest .sgh { padding: 8px 14px 2px; cursor: default; font-size: 12px; font-weight: 600; color: var(--muted, #5f6368); text-transform: uppercase; letter-spacing: .04em; }
#suggest .nopin { cursor: default; color: var(--muted, #5f6368); }
#suggest .rec { display: flex; align-items: center; gap: 14px; }
#suggest .rec .ic { color: var(--muted, #70757a); flex: none; }
#suggest .rec .t { line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#suggest div:hover { background: var(--hover, #f1f3f4); }
#suggest small { color: var(--muted, #5f6368); }
#suggest .advrow { color: var(--link, #1a56db); border-top: 1px solid var(--divider, #e8eaed); font-weight: 500; display: flex; align-items: center; gap: 8px; }
#chips { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 4px 2px; scrollbar-width: none; }
.chip { background: var(--surface, #fff); border: 1px solid var(--border, #dadce0); border-radius: var(--btn-radius, 18px); padding: 7px 14px; font-size: 13px; white-space: nowrap; box-shadow: var(--shadow, 0 1px 3px rgba(60,64,67,.25)); display: flex; align-items: center; gap: 6px; user-select: none; }
.chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.chip.on { background: var(--accent, #1a73e8); border-color: var(--accent, #1a73e8); color: var(--on-accent, #fff); }
.chip.on i { box-shadow: 0 0 0 2px var(--surface, #fff); }
.chip .cx { display: inline-flex; margin-right: -4px; }
@media (max-width: 1400px) { #chips { gap: 6px; } .chip { padding: 6px 10px; font-size: 12.5px; gap: 5px; } }

/* sample note */
#note { position: fixed; bottom: 6px; left: 50%; transform: translateX(-50%); z-index: 99999; background: rgba(255,255,255,.85); color: var(--muted, #4b5563); padding: 2px 8px; border-radius: 4px; font-size: 11px; pointer-events: none; white-space: nowrap; }

/* panel */
#panel { position: absolute; top: 0; left: 0; bottom: 0; width: var(--pw, 440px); max-width: 100%; background: var(--surface, #fff); z-index: 1100; box-shadow: 2px 0 12px rgba(0,0,0,.3); display: flex; flex-direction: column; transition: transform .25s; padding-top: 68px; }
#panel.closed { transform: translateX(-105%); }
#p-list, #p-detail { display: none; flex: 1; min-height: 0; flex-direction: column; position: relative; }
#panel.mode-list #p-list, #panel.mode-detail #p-detail { display: flex; }
.lh { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 14px 6px 18px; }
.lh h2 { font-size: 20px; font-weight: 500; font-family: var(--font-head, inherit); }
#lsearch { padding: 0 18px 6px; display: flex; gap: 12px; align-items: center; }
.pillb { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft, #e8f0fe); color: var(--accent-strong, #174ea6); border: 0; border-radius: var(--btn-radius, 12px); padding: 3px 4px 3px 10px; font-size: 12px; white-space: nowrap; }
.pillb button { border: 0; background: none; padding: 1px; line-height: 0; border-radius: 50%; color: inherit; }
.pillb button:hover { background: var(--accent-soft, #c6dafc); }
.pillb.big { background: var(--accent, #1a73e8); color: var(--on-accent, #fff); padding: 4px 12px; font-size: 13px; font-weight: 500; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 14px 10px 18px; align-items: center; border-bottom: 1px solid var(--divider, #e8eaed); scrollbar-width: none; }
.qb { border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); border-radius: var(--btn-radius, 16px); padding: 5px 12px; font-size: 13px; white-space: nowrap; }
.qb.on { background: var(--accent-soft, #e8f0fe); border-color: var(--accent, #1a73e8); color: var(--accent-strong, #174ea6); }
.quick a { white-space: nowrap; font-size: 13px; font-weight: 500; }
#sortmenu { position: absolute; top: 112px; left: 18px; background: var(--surface, #fff); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 2px 10px rgba(60,64,67,.4)); z-index: 10; padding: 4px 0; min-width: 200px; }
#sortmenu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 14px; }
#sortmenu button:hover { background: var(--hover, #f1f3f4); } #sortmenu button.on { color: var(--link, #1a56db); font-weight: 500; }
#rows { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.row { display: flex; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--divider, #e8eaed); cursor: pointer; transition: background .3s; }
.row.hover { background: var(--hover, #f1f3f4); } .row.flash { background: var(--accent-soft, #e8f0fe); }
.row .rt { flex: 1; min-width: 0; }
.r1 { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r2 { font-size: 13px; } .r2 span { color: var(--muted, #5f6368); }
.r3, .r4 { font-size: 13px; color: var(--text, #3c4043); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r5 { font-size: 12.5px; color: var(--muted, #70757a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { padding: 24px 18px; color: var(--muted, #5f6368); }
.lf { display: flex; justify-content: space-between; padding: 10px 18px; border-top: 1px solid var(--divider, #e8eaed); font-size: 13px; background: var(--surface, #fff); gap: 8px; }
.thumb { position: relative; overflow: hidden; border-radius: 8px; background: var(--border, #cfd4d9); flex: none; }
.thumb img { position: absolute; width: 256px; height: 256px; max-width: none; }
.thumb.fill { width: 100% !important; height: 100% !important; border-radius: 0; }
.thumb.fill img { width: 100%; height: 100%; left: 0 !important; top: 0 !important; object-fit: cover; }
.stars { color: #f9ab00; letter-spacing: 1px; }
.pill { font-size: 11px; padding: 1px 8px; border-radius: 10px; background: var(--accent-soft, #e8f0fe); color: var(--accent-strong, #174ea6); white-space: nowrap; }
.pill.reit { background: #f3e8fd; color: #6f2da8; font-weight: 600; } .pill.warn { background: #fce8e6; color: #b3261e; }

/* pins */
.pm { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface, #fff); box-shadow: 0 1px 4px rgba(0,0,0,.5); transition: transform .12s; }
/* Small dots when zoomed out, as the real pins (Christian, Dec 1): 4 px at zoom 8 and less, 6 px at 9 to 11. */
#map.zlo .pm { width: 4px; height: 4px; margin: 6px; border-width: 0; box-shadow: none; }
#map.zmid .pm { width: 6px; height: 6px; margin: 5px; border-width: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
body.sat #map.zlo .pm, body.sat #map.zmid .pm { border-width: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.45); }
.pm.hl { transform: scale(1.45); box-shadow: 0 0 0 2px var(--text, #202124), 0 2px 6px rgba(0,0,0,.5); }
body.sat .pm { border-width: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 2px 5px rgba(0,0,0,.8); }
.pinsel { filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.ptip { font-weight: 500; }

/* detail */
#dscroll { overflow-y: auto; overflow-x: hidden; flex: 1; position: relative; }
/* a zero-height sticky anchor; its inner bar slides in once the big title scrolls away */
.dbar { position: sticky; top: 0; z-index: 6; height: 0; }
.dbar-in { position: absolute; left: 0; right: 0; top: 0; height: 44px; background: var(--surface, #fff); display: flex; align-items: center; gap: 4px; padding: 0 14px 0 6px; border-bottom: 1px solid var(--divider, #e8eaed); box-shadow: var(--shadow, 0 1px 3px rgba(60,64,67,.15)); transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .18s ease, opacity .18s ease; }
.titled .dbar-in { transform: none; opacity: 1; pointer-events: auto; }
.dbar-in .dt { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 12px; }
.dback-row { padding: 6px 6px 0; }
.backb { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--link, #1a56db); font-weight: 500; padding: 6px 10px; border-radius: 6px; }
.backb:hover { background: var(--accent-soft, #eef3fd); }
.sec { padding: 16px 18px 12px; border-bottom: 8px solid var(--hover, #f1f3f4); }
.sec.head { padding-top: 0; }
.sec h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-head, inherit); }
.sec h2 { font-size: 22px; font-weight: 500; margin-top: 12px; font-family: var(--font-head, inherit); }
.sec p { margin: 0 0 8px; font-size: 13.5px; }
.photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 100px 100px; gap: 3px; margin: 0 -18px; }
.photos.one { grid-template-columns: 1fr; grid-template-rows: 200px; }
.photos .big { grid-row: 1 / 3; position: relative; overflow: hidden; background: var(--border, #cfd4d9); }
.photos .sm, .ph { position: relative; background: var(--divider, #e3e6ea); overflow: hidden; }
.cap { position: absolute; left: 6px; bottom: 5px; color: #fff; font-size: 11px; background: rgba(0,0,0,.55); border-radius: 3px; padding: 0 5px; }
.grayph { display: grid; place-items: center; width: 100%; height: 100%; color: #9aa0a6; }
.ratingline { margin-top: 2px; font-size: 14px; } .addr { color: var(--muted, #5f6368); margin: 2px 0 10px; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns button { border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); border-radius: var(--btn-radius, 16px); padding: 6px 14px; font-size: 13px; color: var(--link, #1a56db); font-weight: 500; }
.pills { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.jump { position: sticky; top: 0; z-index: 5; background: var(--surface, #fff); border-bottom: 1px solid var(--divider, #e8eaed); display: flex; justify-content: space-between; padding: 0 6px; transition: top .18s ease; }
.titled .jump { top: 44px; }
.jump { overflow-x: auto; scrollbar-width: none; } .jump::-webkit-scrollbar { display: none; }
.jump a { flex: 1 1 auto; text-align: center; padding: 11px 4px 9px; text-decoration: none; font-size: 12.5px; font-weight: 500; white-space: nowrap; color: var(--text, #3c4043); border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.jump a:hover { color: var(--link, #1a56db); }
.jump a.on { color: var(--link, #1a56db); border-bottom-color: var(--accent, #1a56db); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--divider, #e8eaed); border-radius: 8px; overflow: hidden; }
.tiles > div { padding: 10px 12px; border-right: 1px solid var(--divider, #e8eaed); border-bottom: 1px solid var(--divider, #e8eaed); }
.tiles > div:nth-child(3n) { border-right: 0; } .tiles > div:nth-child(n+4) { border-bottom: 0; }
.tl { font-size: 12px; color: var(--muted, #5f6368); } .tv { font-size: 18px; font-weight: 500; margin-top: 2px; }
.grp { margin: 0 0 18px; }
.gh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.gh h4 { font-size: 13px; font-weight: 500; color: var(--muted, #5f6368); font-family: var(--font-head, inherit); }
.som, .som2 { font-size: 12px; font-weight: 500; text-decoration: none; } .som:hover, .som2:hover { text-decoration: underline; }
.som.on { color: #188038; }
dl.kv { display: grid; grid-template-columns: 42% 58%; margin: 0; }
dl.kv dt, dl.kv dd { padding: 6px 0; border-top: 1px solid var(--hover, #f1f3f4); font-size: 13px; margin: 0; }
dl.kv dt { color: var(--muted, #5f6368); padding-right: 8px; } dl.kv dd { word-break: break-word; }
table.t { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 2px 0; }
table.t th { text-align: left; color: var(--muted, #5f6368); font-weight: 500; border-bottom: 1px solid var(--border, #dadce0); padding: 4px 5px; }
/* wide tables scroll sideways inside their box; the panel itself never scrolls sideways */
.tbox { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin: 2px 0; }
.tbox > table.t { width: max-content; min-width: 100%; margin: 0; }
table.t th { white-space: nowrap; } table.t td { max-width: 260px; overflow-wrap: break-word; }
table.t td { padding: 5px; border-bottom: 1px solid var(--hover, #f1f3f4); vertical-align: top; }
table.t.limited tr.extra { display: none; }
table.src td:first-child { color: var(--muted, #5f6368); width: 38%; }
.seeall, .more { display: inline-block; font-size: 12.5px; font-weight: 500; margin-top: 4px; }
h5 { margin: 12px 0 2px; font-size: 12px; color: var(--text, #3c4043); font-family: var(--font-head, inherit); }
.bars .bar { display: grid; grid-template-columns: 110px 1fr 42px; align-items: center; gap: 6px; font-size: 12px; margin: 2px 0; }
.bars i { display: block; height: 8px; background: #8ab4f8; border-radius: 4px; } .bars b { font-weight: 400; text-align: right; }
.spark { display: block; margin-bottom: 6px; }
.chart svg { display: block; } .chart .ax { font-size: 10px; fill: var(--muted, #5f6368); }
.legend2 { display: flex; gap: 12px; font-size: 12px; color: var(--text, #3c4043); } .legend2 i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.satrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; } .satrow > div { position: relative; } .satrow .thumb { width: 100% !important; height: auto !important; aspect-ratio: 1; } .satrow .thumb img { width: 100%; height: 100%; left: 0 !important; top: 0 !important; object-fit: cover; }
.yr { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; padding: 0 6px; border-radius: 3px; }
/* property sentiment */
.ratebox { display: flex; gap: 14px; align-items: center; } .ratebox .big { font-size: 44px; font-weight: 400; }
.rbars { flex: 1; } .rb { display: grid; grid-template-columns: 12px 1fr 34px; gap: 6px; align-items: center; font-size: 12px; } .rb i { height: 8px; background: var(--divider, #e8eaed); border-radius: 4px; overflow: hidden; } .rb b { display: block; height: 100%; background: #f9ab00; } .rb em { font-style: normal; color: var(--muted, #5f6368); text-align: right; }
.tps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; } .tp { border: 1px solid var(--border, #dadce0); border-radius: 14px; padding: 2px 10px; font-size: 12.5px; } .tp b { font-weight: 500; color: var(--muted, #5f6368); }
.rev { border-top: 1px solid var(--hover, #f1f3f4); padding: 10px 0; } .rev p { margin: 4px 0 0; font-size: 13px; } .rh { display: flex; gap: 8px; align-items: center; } .av { width: 28px; height: 28px; border-radius: 50%; background: var(--accent, #1a73e8); color: var(--on-accent, #fff); display: grid; place-items: center; font-size: 11px; font-weight: 500; } .rm { font-size: 12.5px; color: var(--muted, #5f6368); margin-top: 2px; }
.reply { margin: 6px 0 0 14px; padding-left: 10px; border-left: 3px solid var(--divider, #e8eaed); font-size: 12.5px; }
.cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; } .cat, .day { border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); border-radius: 14px; padding: 3px 11px; font-size: 12.5px; } .cat.on, .day.on { background: var(--accent-soft, #e8f0fe); border-color: var(--accent, #1a73e8); color: var(--accent-strong, #174ea6); }
.phg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .phg .ph { aspect-ratio: 1; border-radius: 6px; } .phg .ph .thumb { width: 100% !important; height: 100% !important; border-radius: 0; } .phg .ph .thumb img { width: 100%; height: 100%; left: 0 !important; top: 0 !important; object-fit: cover; }
.nowline { margin-bottom: 4px; font-size: 13.5px; } .isopen { color: #188038; font-weight: 500; } .shut { color: #b3261e; font-weight: 500; }
table.hrs { font-size: 13px; border-collapse: collapse; } table.hrs td { padding: 2px 18px 2px 0; } table.hrs tr.today { font-weight: 500; }
.days { display: flex; gap: 4px; margin-bottom: 6px; flex-wrap: wrap; } .pt { font-size: 12.5px; color: var(--text, #3c4043); margin-top: 2px; }
.qa { margin-bottom: 8px; } .qa b { font-size: 13px; } .qa p { margin: 2px 0 0; }
.also { display: block; padding: 6px 0; border-top: 1px solid var(--hover, #f1f3f4); text-decoration: none; color: inherit; } .also b { display: block; color: var(--link, #1a56db); font-size: 13.5px; } .also span { font-size: 12.5px; color: var(--muted, #5f6368); }

/* layers button, card, legend, time bar */
#lstack { position: absolute; left: 12px; bottom: 52px; z-index: 1000; display: flex; align-items: flex-end; gap: 10px; transition: left .25s; }
body.panel-open #lstack { left: calc(var(--pw, 440px) + 12px); }
body.panel-open #note { left: calc(var(--pw, 440px) + (100vw - var(--pw, 440px)) / 2); }
#lbtn { width: 64px; height: 64px; background: var(--surface, #fff); border-radius: 8px; box-shadow: var(--shadow, 0 2px 6px rgba(60,64,67,.45)); overflow: hidden; display: flex; flex-direction: column; border: 2px solid var(--surface, #fff); }
#lbtn .mini { flex: 1; cursor: pointer; } .bt { width: 100%; height: 100%; background-size: cover; background-position: center; } .bt.map { background: linear-gradient(135deg, #e8eef5 25%, #cfe3c8 25% 50%, #e8eef5 50% 75%, #f3e3b3 75%); }
#lbtn .lbl { border: 0; background: var(--surface, #fff); font-size: 11px; font-weight: 500; padding: 1px 0 2px; display: flex; gap: 3px; align-items: center; justify-content: center; }
#lcard { position: absolute; bottom: 72px; left: 0; width: 360px; max-height: calc(100vh - 200px); overflow-y: auto; background: var(--surface, #fff); border-radius: 8px; box-shadow: var(--shadow, 0 2px 12px rgba(60,64,67,.5)); transform-origin: 0 100%; opacity: 0; transform: translateY(10px) scale(.92); visibility: hidden; pointer-events: none; transition: opacity .16s ease, transform .18s cubic-bezier(.2,.8,.2,1), visibility 0s linear .18s; }
#lcard.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.lc-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 0 14px; position: sticky; top: 0; background: var(--surface, #fff); z-index: 2; } .lc-h button { border: 0; background: none; padding: 4px; border-radius: 50%; line-height: 0; }
.lc-b { padding: 4px 14px 14px; } .lc-b h5 { font-size: 13px; font-weight: 500; margin: 14px 0 6px; color: var(--text, #202124); font-family: var(--font-head, inherit); } .lc-b h5 small { color: var(--muted, #5f6368); font-weight: 400; margin-left: 4px; font-family: var(--font-head, inherit); }
.bases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .base { border: 2px solid var(--divider, #e8eaed); background: var(--surface, #fff); border-radius: 8px; padding: 0; overflow: hidden; font-size: 12px; } .base.on { border-color: var(--accent, #1a73e8); } .base .bt { height: 52px; } .base span { display: block; padding: 4px 2px; }
.sw-row, #lcard .row { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 13px; } .sw-row { justify-content: space-between; margin-top: 6px; }
#lcard .row span { flex: 1; } #lcard .row.dim { opacity: .45; }
.sw { width: 34px; height: 12px; border-radius: 3px; border: 1px solid var(--border, #dadce0); display: inline-block; } .sw.none { background: var(--surface, #fff); }
.ls { width: 34px; display: inline-block; height: 0; }
#lfind2 { width: 100%; padding: 6px 9px; border: 1px solid var(--border, #dadce0); border-radius: 6px; font: inherit; margin-bottom: 4px; }
.cgh { font-size: 11.5px; text-transform: none; color: var(--muted, #5f6368); margin-top: 8px; font-weight: 500; }
.clear { margin-top: 12px; width: 100%; border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); border-radius: 6px; padding: 7px; font-weight: 500; color: #b3261e; }
#legend2 { display: flex; flex-direction: column; gap: 6px; width: 250px; }
#legend2 { transition: opacity .16s ease; }
#lstack.lopen #legend2, #lstack.lopen #thbtn { opacity: 0; pointer-events: none; }
.lg { background: var(--surface, #fff); border-radius: 8px; box-shadow: var(--shadow, 0 2px 6px rgba(60,64,67,.45)); padding: 8px 10px; font-size: 12.5px; } .lg.line { display: flex; align-items: center; gap: 8px; padding: 6px 10px; } .lg.line span { flex: 1; }
.lg-h { display: flex; justify-content: space-between; align-items: center; } .lg button, .lg-h button { border: 0; background: none; line-height: 0; padding: 2px; border-radius: 50%; }
.lg-ramp { display: grid; grid-template-columns: repeat(5, 1fr); margin: 6px 0 2px; } .lg-ramp i { display: block; height: 10px; } .lg-ramp small { display: block; text-align: center; font-size: 10.5px; color: var(--text, #3c4043); white-space: nowrap; }
.lg-one { display: flex; align-items: center; gap: 6px; margin: 4px 0; } .lg-one i { width: 18px; height: 12px; display: inline-block; border-radius: 2px; }
.subs { display: flex; gap: 4px; margin: 4px 0; } .subs button { border: 1px solid var(--border, #dadce0); border-radius: var(--btn-radius, 10px); padding: 1px 9px; font-size: 12px; line-height: 1.4; } .subs button.on { background: var(--accent-soft, #e8f0fe); border-color: var(--accent, #1a73e8); }
.op { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; } .op input { flex: 1; }
#tip { position: fixed; z-index: 5000; background: var(--text, #202124); color: #fff; padding: 4px 9px; border-radius: 5px; font-size: 12.5px; pointer-events: none; }
.mlabel { font: 600 11px Roboto, Arial; text-shadow: 0 0 3px var(--surface, #fff), 0 0 3px var(--surface, #fff); white-space: nowrap; transform: translate(-50%, -50%); }
body.sat .mlabel { text-shadow: 0 0 3px var(--text, #000), 0 0 3px var(--text, #000); color: #fff !important; }
.tcount { font: 600 10.5px Roboto, Arial; background: var(--surface, #fff); border: 1px solid var(--text, #202124); border-radius: 3px; padding: 0 3px; transform: translate(-50%, -50%); white-space: nowrap; }
.leaflet-bottom.leaflet-right { margin-bottom: 28px; }
.leaflet-control-attribution { font-size: 10.5px; }

/* advanced search page */
#adv { position: fixed; inset: 0; z-index: 3000; background: var(--surface, #fff); display: flex; flex-direction: column; }
#adv[hidden] { display: none; }
.adv-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--divider, #e8eaed); } .adv-top h2 { font-size: 20px; font-weight: 500; margin-right: 8px; font-family: var(--font-head, inherit); }
#advq { border: 1px solid var(--border, #dadce0); border-radius: 6px; padding: 7px 10px; font: inherit; width: 280px; }
.btn { border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; } .btn:hover { background: var(--hover, #f8f9fa); } .btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent, #1a73e8); border-color: var(--accent, #1a73e8); color: var(--on-accent, #fff); } .btn.primary:hover { background: var(--accent, #1765cc); }
.adv-pills { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 16px; align-items: center; border-bottom: 1px solid var(--divider, #e8eaed); min-height: 44px; font-size: 13px; }
.adv-main { flex: 1; min-height: 0; display: flex; }
.adv-side { width: 320px; flex: none; overflow-y: auto; border-right: 1px solid var(--divider, #e8eaed); padding: 10px 0 40px; }
#advfind { width: calc(100% - 28px); margin: 0 14px 8px; border: 1px solid var(--border, #dadce0); border-radius: 6px; padding: 7px 10px; font: inherit; }
.fgh { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; border-top: 1px solid var(--divider, #e8eaed); background: var(--surface, #fff); padding: 11px 14px; font-weight: 500; font-size: 14px; text-align: left; } .fgh span { flex: 1; } .fgh .ic.up { transform: rotate(180deg); }
.cnt { background: var(--accent, #1a73e8); color: var(--on-accent, #fff); border-radius: 10px; font-size: 11px; padding: 0 7px; font-weight: 500; }
.fgb { padding: 0 14px 10px; } .fld { padding: 6px 0 8px; border-left: 3px solid transparent; padding-left: 8px; margin-left: -8px; } .fld.act { border-left-color: var(--accent, #1a73e8); }
.fl { display: block; font-size: 12.5px; color: var(--text, #3c4043); margin-bottom: 3px; }
.rng { display: flex; align-items: center; gap: 6px; } .rng input, .fld > input[type=text], .advmenu input[type=text], input.addr { width: 100%; border: 1px solid var(--border, #dadce0); border-radius: 5px; padding: 5px 7px; font: inherit; font-size: 13px; min-width: 0; } .rng span, .rng em { color: var(--muted, #5f6368); font-size: 12px; font-style: normal; white-space: nowrap; }
input.addr { margin-top: 4px; }
.ms .mss { width: 100%; border: 1px solid var(--border, #dadce0); border-radius: 5px; padding: 4px 7px; font: inherit; font-size: 12.5px; margin-bottom: 4px; } .msl { max-height: 150px; overflow-y: auto; } .msl label { display: flex; gap: 6px; font-size: 13px; padding: 1px 0; }
.seg { display: inline-flex; border: 1px solid var(--border, #dadce0); border-radius: 6px; overflow: hidden; } .seg label { cursor: pointer; } .seg input { display: none; } .seg span { display: block; padding: 3px 12px; font-size: 12.5px; } .seg input:checked + span { background: var(--accent-soft, #e8f0fe); color: var(--accent-strong, #174ea6); font-weight: 500; }
.adv-table { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tscroll { flex: 1; overflow: auto; min-height: 0; }
#advtable { border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 100%; }
#advtable th { position: sticky; top: 0; z-index: 3; background: var(--hover, #f8f9fa); text-align: left; vertical-align: top; padding: 6px 10px 6px; border-bottom: 1px solid var(--border, #dadce0); min-width: 150px; font-weight: 500; }
#advtable td { padding: 7px 10px; border-bottom: 1px solid var(--hover, #f1f3f4); white-space: nowrap; background: var(--surface, #fff); max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
#advtable tbody tr { cursor: pointer; } #advtable tbody tr:hover td { background: var(--accent-soft, #f1f6fe); }
#advtable .stick { position: sticky; left: 0; z-index: 2; border-right: 1px solid var(--divider, #e8eaed); } #advtable th.stick { z-index: 4; }
#advtable .num { text-align: right; } .th { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.sortb { border: 0; background: none; padding: 0; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; text-align: left; } .arr { display: inline-flex; color: var(--link, #1a73e8); } .arr sup { font-size: 9px; }
.fbtn { border: 0; background: none; padding: 3px; border-radius: 4px; color: #9aa0a6; line-height: 0; } .fbtn:hover { background: var(--divider, #e8eaed); } .fbtn.on { color: var(--link, #1a73e8); background: var(--accent-soft, #e8f0fe); }
.cs { width: 100%; margin-top: 5px; border: 1px solid var(--border, #dadce0); border-radius: 4px; padding: 3px 6px; font: inherit; font-size: 12px; font-weight: 400; }
td.empty { text-align: center; padding: 40px; white-space: normal; }
.pager { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--divider, #e8eaed); font-size: 13px; }
.advmenu { position: fixed; z-index: 3500; background: var(--surface, #fff); border-radius: 8px; box-shadow: var(--shadow, 0 4px 16px rgba(60,64,67,.45)); padding: 10px 12px; width: 290px; }
.advmenu .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .advmenu .mh button { border: 0; background: none; color: var(--link, #1a56db); font-size: 12.5px; }
.advmenu.cols { max-height: 60vh; overflow-y: auto; } .advmenu.cols input[type=search] { width: 100%; border: 1px solid var(--border, #dadce0); border-radius: 5px; padding: 5px 8px; font: inherit; margin-bottom: 4px; } .advmenu.cols label { display: flex; gap: 6px; font-size: 13px; padding: 1px 0; }
.leaflet-container { font: inherit; }
@media (max-width: 800px) { #searchbox { width: 100%; } #top { flex-direction: column; } #panel { width: 100%; } }
/* narrow screens: an open panel (list or property) covers the map, so the category chips hide until it closes */
@media (max-width: 800px) { body.panel-open #chips { display: none; } }

.est { font-size: 10px; font-weight: 500; color: var(--muted, #5f6368); border: 1px solid var(--border, #dadce0); border-radius: 3px; padding: 0 3px; margin-left: 3px; vertical-align: 1px; white-space: nowrap; }
.estnote { font-size: 11.5px; color: var(--muted, #5f6368); margin-top: 2px; font-weight: 400; white-space: normal; }
.estnote.per { color: var(--text, #3c4043); }
.r6 { font-size: 12.5px; color: var(--text, #3c4043); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#advtable td .est { margin-left: 4px; }

/* resizable panel */
#phandle { position: absolute; top: 0; bottom: 0; right: -5px; width: 10px; cursor: col-resize; z-index: 20; touch-action: none; }
#phandle::after { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .15s; }
#phandle:hover::after, body.resizing #phandle::after { background: var(--accent, #1a73e8); }
#panel.closed #phandle { display: none; }
body.panel-open #chips { margin-left: calc(var(--pw, 440px) - 434px); }
#chips { transition: margin-left .25s; }
body.resizing, body.resizing * { cursor: col-resize !important; user-select: none; }
body.resizing #map { pointer-events: none; }
body.resizing #lstack, body.resizing #chips, body.resizing #panel { transition: none !important; }
.srcline { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--hover, #f1f3f4); font-size: 11.5px; color: var(--muted, #5f6368); }
.srcline a { color: var(--muted, #5f6368); text-decoration: underline; } .srcline a:hover { color: var(--link, #1a56db); }
.sec a[target=_blank] { word-break: break-word; }
/* advanced search slides in from the top */
#adv { transform: translateY(-100%); transition: transform .28s cubic-bezier(.22, .61, .36, 1); }
#adv.show { transform: none; }
@media (prefers-reduced-motion: reduce) { #adv { transform: none; opacity: 0; transition: opacity .2s linear; } #adv.show { opacity: 1; } #panel, #lstack, #chips { transition: none; } }

/* media tabs, 3D, street view */
.media { position: relative; margin: 0 -18px; }
.media .photos { margin: 0; }
.mtabs { position: absolute; left: 8px; top: 8px; z-index: 4; display: flex; gap: 4px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.mtabs button { border: 0; background: none; border-radius: var(--btn-radius, 12px); padding: 3px 11px; font-size: 12.5px; font-weight: 500; } .mtabs button.on { background: var(--accent, #1a73e8); color: var(--on-accent, #fff); }
.mpane { height: 203px; position: relative; overflow: hidden; background: #eaf1f7; } .mpane[hidden] { display: none; }
.v3d { position: absolute; inset: 0; } .v3d canvas { display: block; width: 100% !important; height: 100% !important; }
.v3dnote, .v3dmsg { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: var(--muted, #5f6368); background: rgba(255,255,255,.85); padding: 0 6px; border-radius: 3px; pointer-events: none; }
.street { position: absolute; inset: 0; } .street svg { display: block; }
.streetbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 6px 10px; background: rgba(255,255,255,.93); font-size: 12px; } .streetbar span { color: var(--muted, #5f6368); flex: 1 1 100%; }
.ts { font-size: 11.5px; color: var(--muted, #5f6368); margin-top: 1px; }
.r7 { font-size: 12.5px; color: var(--accent-strong, #174ea6); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lock { display: inline-flex; vertical-align: -2px; margin-left: 4px; color: var(--muted, #5f6368); }
.lockline { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted, #5f6368); background: var(--hover, #f8f9fa); border-radius: 6px; padding: 5px 8px; }

/* unlock panel: Tailwind UI "centered with single action" modal, in plain CSS */
#gate { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; display: none; }
#gate[open] { display: flex; align-items: center; justify-content: center; }
#gate::backdrop { background: rgba(107, 114, 128, .75); }
.gate-panel { position: relative; width: calc(100% - 32px); max-width: 400px; background: var(--surface, #fff); border-radius: 12px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); padding: 24px; text-align: center; animation: gate-in .2s ease-out; }
@keyframes gate-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.gate-x { position: absolute; top: 10px; right: 10px; }
.gate-icon { margin: 0 auto 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft, #e8f0fe); color: var(--link, #1a73e8); display: flex; align-items: center; justify-content: center; }
.gate-icon.done { background: #e6f4ea; color: #188038; }
#gate h3 { font-size: 18px; font-weight: 600; color: var(--text, #202124); font-family: var(--font-head, inherit); }
.gate-why { margin: 8px 0 0; font-weight: 500; color: var(--text, #3c4043); }
.gate-text { margin: 8px 0 0; color: var(--muted, #5f6368); font-size: 14px; }
#gate-form { margin-top: 20px; text-align: left; }
.gate-label { display: block; font-size: 13px; font-weight: 500; color: var(--text, #3c4043); margin-bottom: 6px; }
.gate-input { display: block; width: 100%; font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid var(--border, #dadce0); border-radius: 8px; outline: none; }
.gate-input:focus { border-color: var(--accent, #1a73e8); box-shadow: 0 0 0 2px var(--accent-soft, #c6dafc); }
.gate-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gate-err { margin: 8px 0 0; color: #d93025; font-size: 13px; }
.gate-btn { display: flex; width: 100%; margin-top: 16px; justify-content: center; align-items: center; gap: 6px; border: 0; border-radius: 8px; padding: 10px 14px; background: var(--accent, #1a73e8); color: var(--on-accent, #fff); font-weight: 600; font-size: 14px; text-decoration: none; box-sizing: border-box; }
.gate-btn:hover { background: var(--accent, #1765cc); }
.gate-btn:disabled { opacity: .6; cursor: default; }
.gate-btn[hidden] { display: none; }
.gate-privacy { margin: 12px 0 0; font-size: 12px; color: var(--muted, #5f6368); line-height: 1.45; }
.gate-link { margin-top: 12px; border: 0; background: none; color: var(--link, #1a73e8); font-weight: 500; font-size: 13.5px; padding: 6px; }
.gate-link:hover { text-decoration: underline; }
#suggest .advrow span small { font-weight: 400; }

/* credits box (opened from the attribution bar) and the drawn satellite thumbnail */
#credits { position: fixed; right: 8px; bottom: 26px; z-index: 1200; width: 300px; max-width: calc(100% - 16px); background: var(--surface, #fff); border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.2); padding: 10px 12px; font-size: 12.5px; color: var(--text, #3c4043); }
#credits[hidden], #credits [hidden] { display: none; }
#credits .cr-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
#credits .cr-h .iconbtn { font-size: 18px; line-height: 1; padding: 2px 6px; }
#credits p { margin: 4px 0; }
.bt.sat { background: radial-gradient(circle at 30% 35%, #8a9a6b 0 18%, transparent 19%), radial-gradient(circle at 70% 65%, #6f7f57 0 22%, transparent 23%), linear-gradient(135deg, #5d6b4a, #a39b7d 55%, #7b8466); }

/* "Sample data" label on every section, list and layer that shows invented data (public tier). */
.sample-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 10px; background: #fef7e0; color: #8a5a00; border: 1px solid #f9d77e; font-size: 11px; font-weight: 600; vertical-align: middle; letter-spacing: .01em; white-space: nowrap; }
.sec.head h2 + .sample-tag { margin: 2px 0 4px; margin-left: 0; font-family: var(--font-head, inherit); }

/* Staff chip (signed in). */
#who { pointer-events: auto; margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; background: var(--surface, #fff); border-radius: 8px; box-shadow: var(--shadow, 0 2px 6px rgba(60,64,67,.35)); padding: 6px 6px 6px 10px; margin: 0 0 0 auto; font-size: 13px; }
#who .who-tier { background: var(--accent-soft, #e8f0fe); color: var(--link, #1a56c4); border-radius: 10px; padding: 1px 8px; font-size: 11px; font-weight: 600; }
#who .who-name { color: var(--text, #3c4043); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#who button { border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); border-radius: 6px; padding: 4px 10px; font: inherit; cursor: pointer; }
@media (max-width: 640px) { body.panel-open #who { display: none; } #who .who-name { display: none; } }
/* saved lists (lists.js): the save bar in the open panel and the My lists card */
#savebar { margin: 12px 0 4px; padding: 10px 12px; border: 1px solid var(--divider, #e8eaed); border-radius: var(--radius, 8px); }
#savebar .svh { font-size: 12px; font-weight: 600; color: var(--muted, #5f6368); margin-bottom: 6px; }
#savebar .svchips { display: flex; flex-wrap: wrap; gap: 6px; }
#savebar .qb { cursor: pointer; font: inherit; font-size: 13px; }
#savebar .svn { display: block; margin-top: 10px; }
#savebar textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; font: inherit; padding: 6px 8px; border: 1px solid var(--border, #dadce0); border-radius: 6px; resize: vertical; background: var(--surface, #fff); color: var(--text, #202124); }
#savebar .svb { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
#mylists { position: absolute; top: 68px; right: 12px; width: 360px; max-width: calc(100% - 24px); max-height: calc(100% - 96px); overflow: auto; background: var(--surface, #fff); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 2px 10px rgba(60,64,67,.4)); z-index: 1150; }
#mylists .mlh { display: flex; align-items: center; gap: 6px; padding: 10px 8px 10px 14px; border-bottom: 1px solid var(--divider, #e8eaed); position: sticky; top: 0; background: var(--surface, #fff); }
#mylists .mlh b { flex: 1; }
#mylists .mlr { display: block; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--divider, #f1f3f4); }
#mylists .mlr:hover { background: var(--hover, #f1f3f4); }
#mylists .mln { white-space: normal; color: var(--muted, #5f6368); margin-top: 2px; }
#mylists .qb { cursor: pointer; font: inherit; font-size: 13px; }

/* Staff page (html[data-tier=staff], set by the server): no sample chips, notes or sample search. */
#chips[hidden] { display: none; }
html[data-tier=staff] #note, html[data-tier=staff] #advbtn, html[data-tier=staff] #searchbox .vdiv { display: none; }
.real-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 10px; background: #e6f4ea; color: #137333; border: 1px solid #a8dab5; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.grp.real .gh { display: flex; align-items: center; gap: 4px; }
.grp.real .srcline { overflow-wrap: anywhere; }
.addrsrc { font-size: 11.5px; color: var(--muted, #5f6368); margin: -2px 0 4px; }
.grp.nodata { padding: 6px 0; }
.grp.nodata .gh { margin: 0; }
.grp.nodata h4 { font-weight: 500; color: var(--text, #3c4043); font-family: var(--font-head, inherit); }
.grp.nodata p.blank { margin: 2px 0 0; font-size: 12.5px; color: var(--muted, #70757a); }

/* the assistant's chat and call buttons sit at the bottom right (16 to 72 px up): keep the zoom buttons and the map credits above them */
html[data-webchat] body .leaflet-bottom.leaflet-right { margin-bottom: 84px; }
@media (max-width: 800px) {
  /* the chat and call buttons and the sample note cover the bottom of the panel: let the last lines scroll above them */
  html[data-webchat] body #dscroll { padding-bottom: 90px; }
  html[data-webchat] body #p-list .lf { padding-bottom: 84px; }
  html[data-webchat] body #note, html[data-webchat] body.panel-open #note { left: 12px; transform: none; white-space: normal; max-width: calc(100vw - 160px); }
}
.lg-credit { display: block; font-size: 11px; margin-top: 2px; }

/* Themes (themes.js): the picker next to the Layers button, frosted panels, and dark-theme touches */
#thbtn { position: absolute; left: 12px; bottom: 72px; width: 40px; height: 40px; border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); color: var(--text, #3c4043); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 2px 6px rgba(60,64,67,.35)); display: inline-flex; align-items: center; justify-content: center; }
#thbtn:hover { background: var(--hover, #f1f3f4); }
#thcard { position: fixed; left: 12px; bottom: 124px; z-index: 1300; width: 260px; max-height: calc(100vh - 180px); overflow-y: auto; background: var(--surface, #fff); color: var(--text, #202124); border: 1px solid var(--border, #dadce0); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 2px 12px rgba(60,64,67,.5)); padding: 6px 8px 10px; -webkit-backdrop-filter: blur(var(--blur, 0px)); backdrop-filter: blur(var(--blur, 0px)); }
body.panel-open #thcard { left: calc(var(--pw, 440px) + 12px); }
#thcard .thh { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; font-size: 14px; }
#thcard .thh button { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muted, #5f6368); padding: 2px 6px; }
#thcard .thf { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #5f6368); margin: 8px 4px 2px; }
#thcard .tho { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid transparent; background: none; border-radius: var(--radius, 6px); padding: 5px 6px; font-size: 14px; text-align: left; color: inherit; }
#thcard .tho:hover { background: var(--hover, #f1f3f4); }
#thcard .tho.on { border-color: var(--accent, #1a73e8); background: var(--accent-soft, #e8f0fe); }
.thsw { display: inline-flex; border-radius: 4px; overflow: hidden; border: 1px solid rgba(0,0,0,.15); flex: none; }
.thsw i { width: 12px; height: 18px; display: block; }
#panel, #searchbox, #suggest, #lcard, .lg, #lbtn, .chip { -webkit-backdrop-filter: blur(var(--blur, 0px)); backdrop-filter: blur(var(--blur, 0px)); }
html.theme-dark .leaflet-bar a, html.theme-dark .leaflet-control-attribution { background: var(--surface); color: var(--muted); border-color: var(--border); }
html.theme-dark .leaflet-control-attribution a { color: var(--link); }
html.theme-dark #note { background: var(--surface); color: var(--muted); }
html.theme-dark input, html.theme-dark select { color: var(--text); background: transparent; }
html[data-theme] .num, html[data-theme] td.n { font-family: var(--font-mono, inherit); }
@media (max-width: 800px) { #thcard { left: 12px; right: 12px; width: auto; bottom: 180px; } }

/* real Texas pins: the chips the pins do not have stay hidden */
.chip[hidden] { display: none; }
#pinsnote { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 1000; background: var(--surface, #fff); color: var(--text, #202124); border: 1px solid var(--border, #dadce0); border-radius: 8px; padding: 6px 12px; font-size: 13px; box-shadow: var(--shadow, 0 1px 3px rgba(60,64,67,.25)); }
#pinsnote[hidden] { display: none; }
/* scroll_to_section: the part the agent talks about lights up for a moment */
.toolflash { animation: toolflash 2.6s ease-out; border-radius: 6px; }
@keyframes toolflash { 0%, 55% { background: var(--accent-soft, #e8f0fe); box-shadow: 0 0 0 2px var(--accent, #1a56db); } 100% { background: transparent; box-shadow: 0 0 0 0 transparent; } }
/* Webchat dock="push" (contract-hosts 6d): on wide windows the open chat sets margin-right and position: relative on
   <html>, so the map (absolute, inset 0) narrows to the left of the chat. Fixed boxes would stay as wide as the window and sit
   under the chat; the page never scrolls, so these are absolute against <html> instead, and 100% replaces 100vw. */
html[data-gxb-webchat-dock="push"] #note, html[data-gxb-webchat-dock="push"] #credits, html[data-gxb-webchat-dock="push"] #adv,
html[data-gxb-webchat-dock="push"] #thcard, html[data-gxb-webchat-dock="push"] #pinsnote, html[data-gxb-webchat-dock="push"] #smfollow { position: absolute; }
html[data-gxb-webchat-dock="push"] body.panel-open #note { left: calc(var(--pw, 440px) + (100% - var(--pw, 440px)) / 2); }

/* the map follows the property panel (scrollmap.js, project 8): the on and off switch next to the panel, and the circle label */
#smfollow { position: fixed; top: 64px; left: calc(var(--pw, 440px) + 12px); z-index: 1000; border: 1px solid var(--border, #dadce0); background: var(--surface, #fff); color: var(--text, #3c4043); border-radius: 16px; padding: 5px 12px; font-size: 12.5px; box-shadow: var(--shadow, 0 1px 3px rgba(60,64,67,.25)); }
#smfollow[aria-pressed="true"] { border-color: var(--accent, #1a73e8); color: var(--accent, #1a73e8); }
#smfollow[hidden] { display: none; }
.smtip { font-size: 12px; font-weight: 600; padding: 3px 8px; text-align: center; }
.smtip .smcredit { font-weight: 400; font-size: 11px; color: var(--muted, #5f6368); }

/* Project 8 on phones: "Show on map" hides the panel and shows that part of it on the map; the bar brings it back */
.smshow { display: none; }
#smback { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1300; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; background: var(--surface, #fff); color: var(--text, #202124); border-radius: 10px; box-shadow: var(--shadow, 0 2px 10px rgba(60,64,67,.35)); font-size: 13.5px; }
#smback[hidden] { display: none; }
#smback .smwhat { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
#smback button { border: 0; border-radius: 6px; padding: 8px 12px; background: var(--accent, #1a73e8); color: #fff; font: inherit; font-weight: 500; white-space: nowrap; }
@media (max-width: 800px) {
  .smshow { display: inline-flex; align-items: center; margin: 2px 0 8px; padding: 4px 10px; border: 1px solid var(--border, #dadce0); border-radius: 14px; background: var(--surface, #fff); color: var(--link, #1a73e8); font: inherit; font-size: 12.5px; font-weight: 500; }
  body.smpeek #panel { transform: translateY(105%); }
  body.smpeek .leaflet-bottom.leaflet-right { margin-bottom: 72px; }
  body.smpeek #note, html[data-webchat] body.smpeek #note { left: 12px; right: auto; transform: none; bottom: 70px; max-width: calc(100vw - 24px); }
  html[data-webchat] body #smback { right: 84px; }
}
/* geo step 5: a section's window after its name */
h4 .win { font-weight: 400; }
