:root {
  --ink: #0b0d10;
  --muted: #5a6169;
  --bg: #f6f7f8;
  --white: #ffffff;
  --line: #eceeef;
  --line-strong: #d9dcde;
  --accent: #0e7c73;
  --accent-2: #0b6b63;
  --accent-soft: #e8f6f4;
  --sidebar: #f3f4f5;
  --sidebar-w: 228px;
  --top-h: 56px;
  --sat: #15803d;
  --marg: #b45309;
  --rep: #c2410c;
  --feval: #1d4ed8;
  --haz: #b91c1c;
  --ni: #64748b;
  --font: "Inter", system-ui, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(11,13,16,.04), 0 8px 24px rgba(11,13,16,.05);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.45; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); }
.app { display: flex; min-height: 100%; }

.sidebar {
  width: var(--sidebar-w); background: var(--sidebar); color: var(--ink);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex: 0 0 var(--sidebar-w);
  z-index: 20; border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; }
.brand b { display: block; font-family: var(--display); font-weight: 750; font-size: 1.05rem; letter-spacing: -.03em; }
.brand small { color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; }
.side-nav { padding: 8px 10px; overflow: auto; flex: 1; }
.side-nav a, .side-nav button.nav-link {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: 0; color: #3c4349; text-align: left;
  padding: 8px 10px; border-radius: 8px; cursor: pointer; text-decoration: none; font-weight: 550; font-size: .875rem;
}
.side-nav a:hover, .side-nav button.nav-link:hover { background: #e8eaec; color: var(--ink); }
.side-nav a.active, .side-nav button.nav-link.active { background: var(--ink); color: #fff; }
.nav-ico { width: 16px; text-align: center; opacity: .7; font-size: .8rem; }
.side-foot { padding: 14px 16px 18px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.side-foot a { color: var(--accent); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--top-h); background: rgba(246,247,248,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; position: sticky; top: 0; z-index: 10; gap: 12px;
}
.topbar h1 { font-size: 1rem; margin: 0; font-weight: 650; color: var(--ink); letter-spacing: -0.02em; }
.top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hamburger { display: none; background: none; border: 0; font-size: 1.25rem; cursor: pointer; color: var(--ink); }
.content { padding: 22px 24px 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer; border-radius: 9px; padding: .48rem .95rem;
  font-weight: 600; text-decoration: none; background: var(--ink); color: #fff; letter-spacing: -0.01em;
}
.btn:hover { background: #1a1d22; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-teal { background: var(--accent); }
.btn-teal:hover { background: var(--accent-2); }
.btn-brass { background: var(--accent); color: #fff; }
.btn-brass:hover { background: var(--accent-2); color: #fff; }
.btn-sm { padding: .32rem .7rem; font-size: .78rem; }
.btn-danger { background: var(--haz); }

.pill, .badge {
  display: inline-flex; align-items: center; border-radius: 999px; padding: .12rem .5rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.badge.sat, .st-paid, .st-confirmed { background: #ecfdf3; color: var(--sat); }
.badge.marg, .st-scheduled, .st-report_ready { background: #fff7ed; color: var(--marg); }
.badge.rep, .st-invoiced { background: #fff4ed; color: var(--rep); }
.badge.feval, .st-in_progress { background: #eff6ff; color: var(--feval); }
.badge.haz { background: #fef2f2; color: var(--haz); }
.badge.ni, .st-intake { background: #f1f5f9; color: var(--ni); }
.st-cancelled { background: #f1f5f9; color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.kpi span { display: block; color: var(--muted); font-size: .7rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.kpi b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--ink); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0 6px; }
.kpi em { display: block; font-style: normal; color: var(--muted); font-size: .78rem; }

.grid-2 { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.card h2, .card h3 { margin: 0 0 12px; color: var(--ink); font-size: .95rem; font-weight: 650; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.fine { font-size: .8rem; color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
tr.clickable { cursor: pointer; }
tr.clickable:hover { background: var(--bg); }
.linkish { color: var(--accent); font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; }

.pipeline { display: flex; gap: 8px; overflow: auto; margin-bottom: 20px; }
.pipe { flex: 1; min-width: 118px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.pipe h3 { margin: 0 0 8px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.pipe-job { background: var(--bg); border-radius: 8px; padding: 8px; margin-bottom: 6px; cursor: pointer; font-size: .8rem; }
.pipe-job:hover { outline: 1px solid var(--accent); }
.pipe-job b { display: block; color: var(--ink); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 650; color: var(--muted); }
.field input, .field select, .field textarea, .search {
  border: 1px solid var(--line-strong); border-radius: 9px; padding: .5rem .65rem; background: #fff; color: var(--ink);
}
.search { min-width: 180px; }
input::placeholder, textarea::placeholder { color: #8b9298; }
.alert { border-radius: 10px; padding: 10px 12px; font-size: .875rem; margin: 8px 0; }
.alert.warn { background: #fff7ed; color: #9a3412; }
.alert.ok { background: #ecfdf3; color: #166534; }
.alert.info { background: #eff6ff; color: #1e40af; }
.alert.bad { background: #fef2f2; color: #991b1b; }

.offline-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: .25rem .7rem; font-size: .75rem; font-weight: 650; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.offline-pill.on { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.offline-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sat); }
.offline-pill.on .dot { background: var(--marg); }

.cal { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-hd { text-align: center; font-size: .68rem; font-weight: 650; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding: 4px; }
.cal-day { background: var(--bg); border-radius: 8px; min-height: 72px; padding: 6px; font-size: .75rem; cursor: pointer; border: 1px solid transparent; }
.cal-day.on { border-color: var(--accent); background: var(--accent-soft); }
.cal-day.today { outline: 1px solid var(--ink); }
.cal-day .n { font-weight: 700; color: var(--ink); }
.cal-day .evt { background: var(--ink); color: #fff; border-radius: 4px; padding: 1px 4px; margin-top: 2px; font-size: .65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-day.out { opacity: .35; }

.route { height: 200px; border-radius: 12px; background: linear-gradient(#eef3f1, #e8eef3); position: relative; overflow: hidden; border: 1px solid var(--line); }
.route svg { width: 100%; height: 100%; }
.pin-list { list-style: none; margin: 0; padding: 0; }
.pin-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pin-num { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700; flex: 0 0 22px; }

.inspect-layout { display: grid; grid-template-columns: 210px 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-height: 70vh; }
.cat-list { background: var(--bg); border-right: 1px solid var(--line); overflow: auto; }
.cat-btn { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; border-left: 2px solid transparent; padding: 10px 12px; cursor: pointer; text-align: left; font-weight: 600; color: var(--ink); }
.cat-btn:hover { background: #eceeef; }
.cat-btn.active { background: #fff; border-left-color: var(--accent); }
.cat-btn small { color: var(--muted); font-weight: 550; }
.inspect-main { padding: 18px 20px; }
.item-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.item-card h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 650; letter-spacing: -0.02em; }
.ratings { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rate {
  border: 1px solid var(--line-strong); background: #fff; border-radius: 9px;
  padding: 8px 10px; cursor: pointer; font-weight: 650; font-size: .75rem; color: var(--ink); min-width: 88px;
}
.rate:hover { border-color: var(--ink); }
.rate.on.sat { background: var(--sat); color: #fff; border-color: var(--sat); }
.rate.on.marg { background: var(--marg); color: #fff; border-color: var(--marg); }
.rate.on.rep { background: var(--rep); color: #fff; border-color: var(--rep); }
.rate.on.feval { background: var(--feval); color: #fff; border-color: var(--feval); }
.rate.on.haz { background: var(--haz); color: #fff; border-color: var(--haz); }
.rate.on.ni { background: var(--ni); color: #fff; border-color: var(--ni); }
.item-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.photo, .photo-add {
  width: 110px; height: 80px; border-radius: 8px; border: 1px dashed var(--line-strong);
  display: grid; place-items: center; font-size: .68rem; color: var(--muted); text-align: center; padding: 6px; cursor: pointer; background:
    repeating-linear-gradient(45deg, #f6f7f8, #f6f7f8 6px, #eef0f1 6px, #eef0f1 12px);
}
.photo { border-style: solid; cursor: default; }
.library { position: relative; }
.library-pop {
  position: absolute; z-index: 5; left: 0; top: 110%; width: min(420px, 80vw);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  max-height: 260px; overflow: auto; padding: 6px;
}
.library-pop button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px; border-radius: 8px; cursor: pointer; font-size: .82rem; }
.library-pop button:hover { background: var(--bg); }

.progress-bar { height: 6px; background: var(--line); border-radius: 8px; overflow: hidden; min-width: 120px; }
.progress-bar > span { display: block; height: 100%; background: var(--accent); }
.lock-banner { display: flex; justify-content: space-between; gap: 12px; align-items: center; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .price { font-family: var(--display); font-size: 2rem; color: var(--ink); margin: 6px 0; font-weight: 750; letter-spacing: -0.04em; }
.plan .ex { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.plan ul { padding-left: 18px; margin: 8px 0 14px; color: var(--muted); }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs button { border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--muted); }
.tabs button.on { background: var(--ink); color: #fff; }

.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sig-pad { border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; width: 100%; height: 140px; touch-action: none; cursor: crosshair; }

.audit { list-style: none; margin: 0; padding: 0; }
.audit li { display: grid; grid-template-columns: 160px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.empty { color: var(--muted); padding: 20px; text-align: center; }

@media (max-width: 960px) {
  .sidebar { position: fixed; left: 0; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; }
  .hamburger { display: block; }
  .kpis, .grid-2, .grid-3, .cal, .plans, .fields, .inspect-layout { grid-template-columns: 1fr; }
  .content { padding: 14px; }
  .cat-list { display: flex; overflow: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .cat-btn { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .cat-btn.active { border-bottom-color: var(--accent); }
}

/* —— Readability + premium polish + inspection workspace —— */
:root {
  --muted: #3d444c;
  --ink-soft: #2c3238;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;
}
body { font-size: 16px; line-height: 1.55; color: var(--ink); }
.fine, .muted { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.card p, .alert, .note-list, .finding p { line-height: 1.55; max-width: 62ch; }
table { font-size: 0.9375rem; line-height: 1.5; }
th { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; font-weight: 650; color: var(--ink-soft); }
.field label, .kpi span, .pipe h3, .cal-hd, .side-foot, .brand small, .offline-pill {
  text-transform: none; letter-spacing: -0.01em; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft);
}
.kpi span, .pipe h3, .cal-hd { font-size: 0.8125rem; }
.btn, .side-nav a, .side-nav button.nav-link, .hamburger, .tabs button, .cat-btn, .mic-btn, .rate {
  min-height: 44px;
}
.btn { font-size: 0.9375rem; padding: 0.6rem 1.05rem; }
.btn-sm { min-height: 44px; font-size: 0.875rem; padding: 0.5rem 0.9rem; }
.side-nav a, .side-nav button.nav-link { font-size: 0.9375rem; padding: 10px 12px; }
.field input, .field select, .field textarea, .search { font-size: 1rem; min-height: 44px; line-height: 1.5; }
.field textarea { min-height: 88px; }
.linkish { font-size: 0.975rem; min-height: 44px; }
.empty { padding: 36px 20px; }
.empty .icon { margin: 0 auto 10px; color: var(--muted); }
.icon { display: inline-block; vertical-align: -3px; flex: 0 0 auto; }

/* Inspection — tablet/mobile first */
.inspect-shell { display: flex; flex-direction: column; gap: 12px; min-height: calc(100vh - 110px); }
.inspect-sticky {
  position: sticky; top: var(--top-h); z-index: 8;
  background: rgba(246,247,248,.94); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
}
.inspect-sticky h2 { margin: 0; font-size: 1.05rem; font-family: var(--display); font-weight: 750; letter-spacing: -.02em; }
.flag-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px;
  font-weight: 650; font-size: 0.875rem; color: var(--ink);
}
.flag-chip.has { background: #fff7ed; border-color: #f3d2a8; }
.save-ind { font-size: 0.8125rem; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.save-ind .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sat); }
.save-ind.saving .dot { background: var(--marg); animation: pulse 1s ease infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.walk-bar {
  border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 14px;
}
.walk-bar.on { border-color: #f0c36e; background: #fffbeb; }
.walk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.walk-live { margin-top: 10px; }
.walk-live .interim {
  min-height: 28px; font-size: 1.05rem; line-height: 1.5; color: var(--ink-soft);
  font-style: italic; margin: 0 0 8px;
}
.walk-live .sentence {
  margin: 0 0 12px; font-size: 1.05rem; line-height: 1.55; color: var(--ink);
  padding: 10px 12px; background: #fff; border-radius: 10px; border: 1px solid var(--line);
}
.pulse-mic {
  display: inline-flex; align-items: center; gap: 8px; color: var(--haz); font-weight: 700; font-size: 0.875rem;
}
.pulse-mic i {
  width: 10px; height: 10px; border-radius: 50%; background: var(--haz);
  animation: pulse 1s ease infinite; display: inline-block;
}

.sec-jump { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.sec-jump button {
  flex: 0 0 auto; min-height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 0 14px; font-weight: 650; color: var(--ink); cursor: pointer; font-size: 0.875rem;
}
.sec-jump button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec-jump button.flagged { box-shadow: inset 0 -3px 0 var(--rep); }
.sec-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-meta h3 { margin: 0; font-size: 1.15rem; font-family: var(--display); font-weight: 750; letter-spacing: -.02em; }
.progress-bar { height: 8px; min-width: 140px; flex: 1; background: #e4e6e8; }

.inspect-stage {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  touch-action: pan-y; min-height: 420px;
}
.inspect-stage .item-kicker { font-size: 0.875rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.inspect-stage h3 { font-size: 1.35rem; margin: 0 0 16px; font-family: var(--display); font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.rate {
  min-height: 48px; min-width: 0; border-radius: 12px; font-size: 0.9rem; font-weight: 650;
  padding: 10px 8px; display: flex; align-items: center; justify-content: center; text-align: center;
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.rate:active { transform: scale(.98); }
.dictation-field { position: relative; }
.dictation-field textarea { padding-right: 52px; width: 100%; font-size: 1rem; line-height: 1.55; }
.mic-btn {
  position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0;
  border-radius: 10px; background: var(--wash, #f3f4f5); color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
}
.mic-btn:hover, .mic-btn.on { background: #fef2f2; color: var(--haz); }
.dictation-live {
  margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: #fffbeb;
  border: 1px dashed #f0c36e; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); min-height: 28px;
}
.item-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.photo, .photo-add {
  width: 132px; height: 96px; border-radius: 10px; overflow: hidden; position: relative;
  border: 1px solid var(--line); padding: 0; background: #e8eaed;
}
.photo img, .photo-add img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .stamp {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: 0.68rem; font-weight: 650;
}
.photo-add { display: grid; place-items: center; color: var(--ink-soft); font-size: 0.8rem; font-weight: 650; cursor: pointer; border-style: dashed; }
.inspect-nav {
  display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  position: sticky; bottom: 8px; background: rgba(246,247,248,.94); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 10px;
}
.inspect-nav .btn { flex: 1; max-width: 240px; }
.library-pop { width: min(480px, 92vw); padding: 10px; }
.library-pop .lib-search { width: 100%; min-height: 44px; margin-bottom: 8px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; font-size: 1rem; }
.lib-row { display: flex; gap: 8px; align-items: flex-start; width: 100%; }
.lib-row .star { flex: 0 0 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--muted); }
.lib-row .star.on { color: #c4851d; }
.lib-row .use { flex: 1; text-align: left; background: none; border: 0; padding: 8px; border-radius: 8px; cursor: pointer; font-size: 0.9375rem; line-height: 1.45; }
.lib-row .use:hover { background: var(--bg); }

@media (min-width: 961px) {
  .ratings { grid-template-columns: repeat(6, 1fr); }
  .inspect-stage { padding: 28px; }
}
@media (max-width: 960px) {
  .topbar {
    height: auto;
    min-height: var(--top-h);
    padding: 8px 12px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .topbar h1 { flex: 1; min-width: 0; font-size: 0.95rem; }
  .top-actions { flex-wrap: nowrap; gap: 6px; }
  .top-actions .offline-pill,
  .top-actions .search { display: none; }
  .ratings { grid-template-columns: repeat(2, 1fr); }
  .inspect-sticky { position: static; }
  .content { padding: 12px 12px 88px; }
  .walk-bar { padding: 10px 12px; }
  .walk-head .fine { display: none; }
  .inspect-stage { min-height: 0; padding: 16px; }
  .inspect-nav {
    flex-wrap: nowrap;
    bottom: 0;
    border-radius: 14px 14px 0 0;
    margin: 0 -12px;
    z-index: 9;
  }
  .inspect-nav .btn {
    max-width: none;
    flex: 1 1 0;
    white-space: nowrap;
    font-size: 0.8125rem;
    padding: 0.55rem 0.45rem;
  }
}
/* build 3 */
