:root { --bg:#f6f6f3; --panel:#fff; --text:#1c1c1a; --muted:#6a6a64; --line:#e2e1dc; --accent:#1f5f8b; --accent-soft:#e6eff6;
  --warn:#9a5b00; --bad:#a32020; --ok:#2e6b34; --s1:#c9d9e6; --s2:#7fa9c9; --s3:#1f5f8b; }
@media (prefers-color-scheme: dark) { :root { --bg:#141413; --panel:#1e1e1c; --text:#ecebe6; --muted:#a3a29b; --line:#33332f;
  --accent:#7fb6dd; --accent-soft:#1f2c36; --warn:#e0a640; --bad:#ef7b7b; --ok:#86c38c; --s1:#2c3a45; --s2:#4c7898; --s3:#7fb6dd; } }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color:var(--accent); }
button, input, select, textarea { font:inherit; color:inherit; }
input, select, textarea { padding:6px 8px; border:1px solid var(--line); background:var(--panel); border-radius:4px; min-width:0; }
.btn { padding:6px 12px; border:1px solid var(--line); background:var(--panel); border-radius:4px; cursor:pointer; white-space:nowrap; }
.btn.primary { background:var(--accent); border-color:var(--accent); color:#fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color:#111; } }
.btn:disabled { opacity:.5; cursor:default; }
.link { background:none; border:0; padding:0; color:var(--accent); cursor:pointer; text-decoration:underline; }
.muted { color:var(--muted); } .small { font-size:12px; } .hidden { display:none !important; }
.err { color:var(--bad); } .okmsg { color:var(--ok); }

/* auth */
.auth { max-width:380px; margin:10vh auto; padding:0 16px; }
.auth h1 { font-size:22px; margin:0 0 4px; }
.auth form { display:grid; gap:10px; background:var(--panel); border:1px solid var(--line); padding:20px; border-radius:6px; margin-top:16px; }
.auth label { display:grid; gap:4px; font-size:13px; color:var(--muted); }
/* Sign in with Google: Google's branding rules (light / dark theme button), not the app's own colors. */
.auth .or { display:flex; align-items:center; gap:10px; margin:2px 0 10px; }
.auth .or::before, .auth .or::after { content:""; flex:1; border-top:1px solid var(--line); }
.gsi { display:flex; align-items:center; justify-content:center; gap:10px; height:40px; padding:0 12px; border-radius:4px;
  background:#fff; border:1px solid #747775; color:#1f1f1f; text-decoration:none; font:500 14px/20px Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.gsi:hover { background:#f8f9fa; } .gsi:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.gsi-g { flex:none; }
@media (prefers-color-scheme: dark) { .gsi { background:#131314; border-color:#8e918f; color:#e3e3e3; } .gsi:hover { background:#1f1f20; } }

/* shell */
header { display:flex; align-items:center; gap:16px; padding:10px 20px; background:var(--panel); border-bottom:1px solid var(--line); }
header h1 { font-size:17px; margin:0; } header .spacer { flex:1; }
nav { display:flex; gap:2px; padding:0 20px; background:var(--panel); border-bottom:1px solid var(--line); overflow-x:auto; }
nav button { border:0; background:none; padding:10px 12px; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; white-space:nowrap; }
nav button.active { color:var(--text); border-color:var(--accent); }
.count { display:inline-block; min-width:18px; padding:0 5px; margin-left:4px; border-radius:9px; background:var(--accent); color:#fff; font-size:11px; text-align:center; }
main { padding:16px 20px 40px; max-width:1400px; margin:0 auto; }

/* cards */
.cards { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.card { background:var(--panel); border:1px solid var(--line); padding:10px 12px; border-radius:6px; cursor:pointer; text-align:left; }
.card b { display:block; font-size:22px; font-variant-numeric:tabular-nums; } .card span { color:var(--muted); font-size:12px; }
.coverage { font-size:12px; color:var(--muted); margin-bottom:12px; }

/* filters */
.filters { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:8px; background:var(--panel); border:1px solid var(--line); padding:10px; border-radius:6px; }
.filters label { display:grid; gap:3px; font-size:12px; color:var(--muted); }
.filters .wide { grid-column:span 2; }
.filters .checks { display:flex; flex-wrap:wrap; gap:10px; align-items:end; grid-column:span 2; }
.filters .checks label { display:flex; gap:5px; align-items:center; color:var(--text); font-size:13px; }
.actions { display:flex; gap:8px; flex-wrap:wrap; margin:10px 0; align-items:center; }
.actions .spacer { flex:1; }

/* table */
.tablewrap { overflow-x:auto; border:1px solid var(--line); border-radius:6px; background:var(--panel); }
table { width:100%; border-collapse:collapse; }
th, td { text-align:left; padding:7px 9px; border-bottom:1px solid var(--line); vertical-align:top; }
th { font-size:12px; color:var(--muted); font-weight:600; white-space:nowrap; }
th.sortable { cursor:pointer; user-select:none; } th.sorted { color:var(--text); }
tbody tr.click { cursor:pointer; } tbody tr.click:hover { background:var(--accent-soft); }
.num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.score { display:inline-block; min-width:34px; padding:2px 6px; border-radius:4px; text-align:center; font-weight:600; font-variant-numeric:tabular-nums; }
.score.s0 { color:var(--muted); } .score.s1 { background:var(--s1); } .score.s2 { background:var(--s2); color:#fff; } .score.s3 { background:var(--s3); color:#fff; }
@media (prefers-color-scheme: dark) { .score.s3 { color:#111; } }
.chip { display:inline-block; font-size:11px; padding:1px 6px; margin:1px 2px 1px 0; border:1px solid var(--line); border-radius:3px; white-space:nowrap; }
.chip.ctx { color:var(--muted); border-style:dashed; }
.star { background:none; border:0; cursor:pointer; font-size:16px; color:var(--muted); padding:0 4px; } .star.on { color:var(--warn); }
.pager { display:flex; gap:8px; align-items:center; margin-top:8px; color:var(--muted); }
#map { height:380px; border:1px solid var(--line); border-radius:6px; margin-bottom:10px; }

/* drawer */
.drawer { position:fixed; inset:0 0 0 auto; width:min(640px, 100%); background:var(--panel); border-left:1px solid var(--line); overflow-y:auto; padding:18px 20px 40px; box-shadow:-8px 0 24px rgba(0,0,0,.12); z-index:1000; }
.drawer h2 { margin:0 28px 4px 0; font-size:19px; } .drawer h3 { font-size:14px; margin:20px 0 6px; }
.drawer .close { position:absolute; top:12px; right:14px; }
dl { display:grid; grid-template-columns:150px 1fr; gap:4px 12px; margin:0; } dt { color:var(--muted); } dd { margin:0; overflow-wrap:anywhere; }
.reasons li { margin-bottom:4px; } .reasons .pts { display:inline-block; width:34px; font-weight:600; font-variant-numeric:tabular-nums; }
.timeline { list-style:none; padding:0; margin:0; border-left:2px solid var(--line); }
.timeline li { padding:0 0 10px 12px; position:relative; }
.timeline li::before { content:''; position:absolute; left:-6px; top:6px; width:10px; height:10px; border-radius:50%; background:var(--line); }
.timeline li.hot::before { background:var(--accent); }
pre { background:var(--bg); border:1px solid var(--line); padding:8px; overflow:auto; max-height:240px; font-size:12px; }
.notice { border:1px solid var(--line); border-left:3px solid var(--warn); background:var(--panel); padding:8px 12px; margin:8px 0; font-size:13px; }
.badge { display:inline-block; font-size:11px; padding:1px 7px; border-radius:3px; border:1px solid var(--line); white-space:nowrap; }
.badge.implemented, .st-succeeded { color:var(--ok); } .badge.blocked, .st-failed { color:var(--bad); }
.badge.manual_only, .st-succeeded_with_rejections, .stale { color:var(--warn); }
details summary { cursor:pointer; color:var(--accent); }

@media (max-width: 800px) {
  .cards { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .filters .wide, .filters .checks { grid-column:span 1; }
  .hide-sm { display:none; }
  header, nav, main { padding-left:16px; padding-right:16px; }
  dl { grid-template-columns:1fr; }
}

/* map links beside the address */
.maplinks { white-space:nowrap; font-size:12px; margin-left:4px; }
.maplinks a { margin-right:6px; }
a.approx { opacity:.55; text-decoration-style:dotted; }

/* pipeline */
.chip.pipe { color:var(--accent); } .chip.pipe.dead { color:var(--muted); text-decoration:line-through; }
.chip.newsig { color:var(--warn); border-color:var(--warn); }

/* owners and availability */
.chip.own.person { color:var(--ok); border-color:var(--ok); }
.chip.own.bank, .chip.own.government { color:var(--muted); }
.chip.sold { color:var(--bad); border-color:var(--bad); }
.lookup { display:grid; gap:6px; background:var(--bg); border:1px solid var(--line); border-radius:6px; padding:10px; margin-top:8px; }
.lookup label { display:grid; gap:3px; }
.lookup .actions { margin:2px 0; }

.brand { line-height:0; } .brand img { display:block; }
.auth h1.brand { margin:0 0 10px; }

/* Tax snapshot: "as of" label and the live-balance button (see TAX_SNAPSHOT). */
.taxline { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:3px; }
.taxasof { font-size:12px; font-weight:600; color:var(--warn); }
.btn.verify { background:var(--warn); border-color:var(--warn); color:var(--panel); font-weight:600; text-decoration:none; }
.btn.verify.sm { padding:2px 8px; font-size:12px; }
.reasons li.notcounted { color:var(--muted); } .reasons li.notcounted .pts { text-decoration:line-through; }

/* ---------- welcome: globe + location picker (public/globe.js) ---------- */
body.welcome-open { overflow:hidden; }
.welcome { position:fixed; inset:0; z-index:2000; background:radial-gradient(ellipse at 30% 40%, #0b1a2e 0%, #04070d 60%, #000 100%); color:#e9eef6;
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif; overflow:hidden; }
.welcome .globe { position:absolute; inset:0 460px 0 0; cursor:grab; }
.globe-fallback { display:grid; place-items:center; height:100%; font-size:120px; opacity:.6; }
.globe-tip { background:rgba(8,14,24,.85); border:1px solid rgba(127,182,255,.35); padding:4px 8px; border-radius:6px; font-size:13px; color:#e9eef6; }
.globe-tip span { color:#ffc45c; }
.wtop { position:absolute; top:18px; left:24px; right:24px; display:flex; justify-content:space-between; align-items:center; pointer-events:none; }
.wtop > * { pointer-events:auto; }
.wlogo { display:block; }
.whero { position:absolute; left:40px; bottom:56px; max-width:min(560px, 48vw); pointer-events:none; animation:wfade 1.2s ease both; }
.whero h1 { font-size:clamp(28px, 4.2vw, 52px); line-height:1.05; letter-spacing:-.02em; margin:0 0 12px; font-weight:650;
  background:linear-gradient(180deg, #fff, #b9cde6); -webkit-background-clip:text; background-clip:text; color:transparent; }
.whero p { margin:0; font-size:clamp(15px, 1.5vw, 19px); color:#9fb3cc; }
.wpanel { position:absolute; top:70px; right:24px; bottom:40px; width:min(420px, calc(100vw - 48px)); display:flex; flex-direction:column; gap:10px;
  background:rgba(10,18,30,.72); backdrop-filter:blur(18px) saturate(1.3); -webkit-backdrop-filter:blur(18px) saturate(1.3);
  border:1px solid rgba(160,195,240,.18); border-radius:16px; padding:16px; box-shadow:0 20px 60px rgba(0,0,0,.45); animation:wslide .7s ease both; }
.wpanel h2 { font-size:18px; margin:4px 0 0; font-weight:600; }
#wbody { display:flex; flex-direction:column; gap:10px; min-height:0; flex:1; overflow-y:auto; }
.wfoot { position:absolute; left:40px; bottom:14px; right:470px; font-size:10.5px; color:#5d7189; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wsteps { display:flex; gap:4px; flex-wrap:wrap; }
.wstep { display:flex; gap:6px; align-items:center; background:none; border:1px solid rgba(160,195,240,.15); color:#8aa0bb; border-radius:20px; padding:3px 10px 3px 4px; font-size:12px; cursor:pointer; }
.wstep:disabled { cursor:default; opacity:.55; }
.wstep .n { display:grid; place-items:center; width:18px; height:18px; border-radius:50%; background:rgba(160,195,240,.15); font-size:11px; }
.wstep b { font-weight:600; } .wstep em { font-style:normal; color:#ffd78f; margin-left:4px; }
.wstep.on { border-color:#ffc45c; color:#fff; } .wstep.on .n { background:#ffc45c; color:#111; }
.wstep.done .n { background:rgba(255,196,92,.25); color:#ffd78f; }
.welcome input, .welcome select { background:rgba(255,255,255,.06); border:1px solid rgba(160,195,240,.22); color:#e9eef6; border-radius:10px; }
.wsearch { width:100%; padding:10px 12px; font-size:14px; } .wsearch.sm { padding:7px 10px; font-size:13px; }
.welcome input:focus, .welcome select:focus { outline:2px solid rgba(255,196,92,.6); outline-offset:0; }
.wlist { display:flex; flex-direction:column; gap:2px; overflow-y:auto; min-height:0; flex:1; }
.wlist.sm { max-height:180px; flex:none; }
.witem { display:flex; align-items:center; gap:10px; text-align:left; background:none; border:0; color:#e9eef6; padding:8px 10px; border-radius:8px; cursor:pointer; }
.witem:hover, .witem:focus-visible { background:rgba(127,182,255,.12); outline:none; }
.witem .flag, .wsum .flag, .areabar .flag { font-size:20px; line-height:1; }
.witem .nm { flex:1; display:flex; flex-direction:column; } .witem small { color:#7d93ad; font-size:11px; }
.witem .pop { color:#7d93ad; font-size:12px; font-variant-numeric:tabular-nums; }
.wbadge { font-size:10.5px; color:#ffd78f; border:1px solid rgba(255,196,92,.45); border-radius:10px; padding:1px 7px; white-space:nowrap; }
.wempty { color:#7d93ad; padding:10px; font-size:13px; }
.wjump { position:relative; }
.wjump input { width:100%; padding:9px 12px; font-size:13px; border-radius:20px; }
.wlist.jump { position:absolute; top:40px; left:0; right:0; z-index:5; background:rgba(8,14,24,.97); border-radius:12px; max-height:320px; box-shadow:0 10px 30px rgba(0,0,0,.5); }
.wlist.jump:empty { display:none; }
.wcov { border-radius:10px; padding:9px 12px; font-size:12.5px; border:1px solid; }
.wcov b { font-size:13px; } .wcov p { margin:3px 0 0; color:#b8c7da; }
.wcov.full { border-color:rgba(120,210,150,.45); background:rgba(80,180,120,.1); } .wcov.full b { color:#8fe0ad; }
.wcov.partial { border-color:rgba(255,196,92,.45); background:rgba(255,196,92,.08); } .wcov.partial b { color:#ffd78f; }
.wcov.none { border-color:rgba(160,195,240,.25); background:rgba(160,195,240,.06); }
.wtabs { display:flex; gap:2px; background:rgba(255,255,255,.05); padding:3px; border-radius:10px; }
.wtabs button { flex:1; background:none; border:0; color:#9fb3cc; padding:6px 4px; border-radius:8px; font-size:12px; cursor:pointer; }
.wtabs button.on { background:rgba(255,196,92,.18); color:#fff; }
.wpane { display:flex; flex-direction:column; gap:8px; }
.wchecks { display:grid; grid-template-columns:1fr 1fr; gap:2px 8px; max-height:150px; overflow-y:auto; font-size:13px; }
.wchecks.zips { grid-template-columns:repeat(3, 1fr); }
.wchecks label, .wradio { display:flex; gap:6px; align-items:center; cursor:pointer; } .wchecks .pop { color:#7d93ad; font-size:11px; }
.wmap { height:220px; flex:none; border-radius:10px; overflow:hidden; border:1px solid rgba(160,195,240,.2); }
.wmap.drawing, .wmap .drawing { cursor:crosshair; }
.wchips { display:flex; flex-wrap:wrap; gap:5px; align-items:center; }
.wlabel { font-size:12px; color:#7d93ad; }
.wchip { display:inline-flex; gap:4px; align-items:center; font-size:12px; background:rgba(255,196,92,.14); color:#ffe2ad; border:1px solid rgba(255,196,92,.35); border-radius:12px; padding:2px 8px; }
.wchip button { background:none; border:0; color:inherit; cursor:pointer; padding:0 0 0 2px; font-size:14px; line-height:1; }
.wrow { display:flex; gap:6px; } .wrow .wsearch { flex:1; } .wsel { padding:6px; }
.wact { display:flex; justify-content:flex-end; gap:8px; margin-top:auto; padding-top:6px; }
.wbtn { border:1px solid rgba(160,195,240,.3); background:rgba(255,255,255,.06); color:#e9eef6; border-radius:10px; padding:8px 14px; cursor:pointer; font-size:13px; }
.wbtn.primary { background:linear-gradient(180deg, #ffd27a, #f0a93a); border-color:#f0a93a; color:#1a1204; font-weight:650; }
.wbtn.ghost { background:rgba(0,0,0,.35); } .wbtn:disabled { opacity:.45; cursor:default; }
.wnote { font-size:12px; color:#8aa0bb; margin:0; } .wattr { font-size:10.5px; color:#5d7189; margin:0; }
.wsum { display:flex; gap:10px; align-items:center; background:rgba(255,255,255,.05); border-radius:10px; padding:10px; } .wsum div div { color:#8aa0bb; font-size:12px; }
.wfield { display:grid; gap:4px; font-size:12px; color:#9fb3cc; } .wfield input { padding:9px 12px; font-size:14px; }
.werr { color:#ff9a9a; font-size:13px; } .werr:empty { display:none; }
@keyframes wfade { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes wslide { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .whero, .wpanel { animation:none; } }
@media (max-width: 800px) {
  .whero { left:16px; right:16px; top:58px; bottom:auto; max-width:none; }
  .whero h1 { font-size:26px; margin-bottom:6px; } .whero p { font-size:14px; }
  .wtop { left:16px; right:16px; top:14px; }
  .wpanel { top:auto; right:16px; left:16px; bottom:16px; width:auto; height:58vh; padding:12px; }
  .wfoot { display:none; }
  .welcome .globe { inset:0 0 40vh 0; }
  .wchecks.zips { grid-template-columns:repeat(2, 1fr); }
}

/* location switcher and area bar */
.locsw { position:relative; }
.btn.loc { display:flex; gap:6px; align-items:center; max-width:260px; overflow:hidden; text-overflow:ellipsis; }
.btn.loc .caret { color:var(--muted); font-size:11px; }
.locmenu { position:absolute; top:calc(100% + 6px); left:0; z-index:1500; width:320px; max-width:calc(100vw - 32px); background:var(--panel); border:1px solid var(--line); border-radius:8px; box-shadow:0 10px 30px rgba(0,0,0,.18); padding:4px; }
.locitem { display:flex; align-items:center; border-radius:6px; } .locitem.on { background:var(--accent-soft); }
.locitem > button:first-child { flex:1; display:flex; gap:8px; align-items:center; text-align:left; background:none; border:0; padding:7px 8px; cursor:pointer; min-width:0; }
.locitem small { display:block; color:var(--muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.locitem .flag { font-size:18px; } .locitem > button:first-child > span:nth-child(2) { flex:1; min-width:0; }
.locitem .cov { font-size:10px; border:1px solid var(--line); border-radius:8px; padding:0 6px; color:var(--muted); white-space:nowrap; }
.locitem .cov.full { color:var(--ok); border-color:var(--ok); } .locitem .cov.partial { color:var(--warn); border-color:var(--warn); }
.locitem .del { background:none; border:0; color:var(--muted); cursor:pointer; font-size:16px; padding:4px 8px; }
.locadd { width:100%; text-align:left; background:none; border:0; border-top:1px solid var(--line); padding:9px 8px; margin-top:4px; cursor:pointer; color:var(--accent); }
.areabar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; background:var(--panel); border:1px solid var(--line); border-radius:6px; padding:8px 12px; margin-bottom:12px; }
.areabar .areas { color:var(--muted); } .areabar .spacer { flex:1; }
.nocov { max-width:560px; margin:8vh auto; text-align:center; } .nocov .actions { justify-content:center; }
.nocov-flag { font-size:64px; line-height:1; } .nocov h2 { margin:10px 0 2px; }
@media (max-width: 800px) { .btn.loc { max-width:170px; } }
@media (max-width: 800px) {
  header { flex-wrap:wrap; gap:8px 10px; padding-top:8px; padding-bottom:8px; }
  header .spacer { display:none; }
  #sync-status, #who { display:none; }
}

/* ---------- AI research assistant: right-side panel, full-screen sheet on phones ---------- */
.btn.sm { padding:3px 8px; font-size:12px; }
.assist-btn { color:var(--accent); border-color:var(--accent); }
.assist { position:fixed; top:0; right:0; bottom:0; width:400px; z-index:900; display:flex; flex-direction:column;
  background:var(--panel); border-left:1px solid var(--line); box-shadow:-8px 0 24px rgba(0,0,0,.10); }
body.assist-open #app { margin-right:400px; }
.assist-head { display:flex; align-items:center; gap:8px; padding:12px 14px; border-bottom:1px solid var(--line); }
.assist-head b { font-size:15px; } .assist-head .spacer { flex:1; }
.assist-log { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:12px; }
.assist-empty p { margin:0 0 10px; }
.assist-ex { display:block; width:100%; text-align:left; margin-top:6px; padding:8px 10px; background:var(--bg); border:1px solid var(--line);
  border-radius:6px; cursor:pointer; color:var(--text); }
.assist-ex:hover, .assist-ex:focus-visible { border-color:var(--accent); background:var(--accent-soft); outline:none; }
.msg { overflow-wrap:anywhere; }
.msg.user { align-self:flex-end; max-width:85%; background:var(--accent-soft); border-radius:10px 10px 2px 10px; padding:7px 11px; white-space:pre-wrap; }
.msg.bot .body p { margin:0 0 8px; } .msg.bot .body ul { margin:0 0 8px; padding-left:20px; } .msg.bot .body li { margin-bottom:3px; }
.msg.bot .body code { font-size:12px; background:var(--bg); border:1px solid var(--line); border-radius:3px; padding:0 3px; }
.msg.bot .body .link { font-variant-numeric:tabular-nums; }
.msg.bot.error .body { color:var(--bad); }
.msg .status { display:flex; align-items:center; gap:6px; }
.dots { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); animation:apulse 1s ease-in-out infinite; }
@keyframes apulse { 0%, 100% { opacity:.25; } 50% { opacity:1; } }
@media (prefers-reduced-motion: reduce) { .dots { animation:none; } }
.assist-props { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:6px; overflow:hidden; margin-top:4px; }
.assist-prop { display:flex; align-items:center; gap:10px; text-align:left; background:var(--panel); border:0; border-bottom:1px solid var(--line);
  padding:7px 10px; cursor:pointer; color:var(--text); }
.assist-prop:last-child { border-bottom:0; }
.assist-prop:hover, .assist-prop:focus-visible { background:var(--accent-soft); outline:none; }
.assist-prop .nm { flex:1; min-width:0; display:flex; flex-direction:column; }
.assist-prop .nm b { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .assist-prop small { color:var(--muted); font-size:11px; }
.assist-prop .sig { display:flex; flex-direction:column; align-items:flex-end; }
.assist-form { display:flex; gap:8px; align-items:flex-end; padding:10px 14px 6px; border-top:1px solid var(--line); }
.assist-form textarea { flex:1; resize:none; max-height:120px; }
.assist-foot { padding:0 14px 10px; }
@media (max-width: 1100px) { body.assist-open #app { margin-right:0; } }
@media (max-width: 800px) {
  .assist { width:100%; border-left:0; box-shadow:none; }
  body.assist-open { overflow:hidden; }
  .assist-prop .sig { display:none; }
}
