/* Fieldbook — ink ledger for Sable Outdoor. Navy book, coral stamp. */

:root {
  --brand: #122033;
  --brand-accent: #E85A45;
  --brand-ink: #122033;
  --ink: var(--brand-ink);
  --coral: var(--brand-accent);
  --paper: #F3F6F9;
  --white: #ffffff;
  --slate: #4A5C6E;
  --muted: #4E6070;
  --line: #D5DEE7;
  --field: #b7c3cf;
  --err: #fde8e4;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  min-height: 100vh;
}
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, dl, dd, dt { margin: 0; }
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
}
a { color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.top :focus-visible,
.tabbar :focus-visible,
.gate-pitch :focus-visible { outline-color: #fff; }

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: var(--brand);
  color: var(--white);
  padding: 10px 14px;
  z-index: 80;
  text-decoration: none;
}
.skip:focus { transform: none; }

.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  max-width: min(440px, calc(100% - 24px));
  background: var(--brand);
  color: var(--white);
  border-left: 4px solid var(--coral);
  padding: 12px 16px;
}
.toast.is-err { border-left-color: #fff; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Boot */
.boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 48px;
  background: var(--brand);
  color: var(--white);
}
.boot-mark {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}
.boot-note { margin-top: 8px; color: #d5dee7; }
.boot-company { margin-top: 6px; color: #d5dee7; }

.pitch-mark,
.brand-mark {
  display: block;
  color: var(--coral);
  flex: none;
}
.pitch-mark { width: 22px; height: 28px; margin-bottom: 14px; }
.pitch-mark svg,
.brand-mark svg { width: 100%; height: 100%; display: block; }

/* Gate */
.gate {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(320px, 0.85fr);
  min-height: 100vh;
}
.gate-pitch {
  background: var(--brand);
  color: var(--white);
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pitch-word {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
}
.pitch-for { margin-top: 6px; color: #d5dee7; }
.mini {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  max-width: 460px;
}
.mini li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #d5dee7;
}
.mini .is-hot {
  grid-template-columns: 8.5rem 1fr auto;
  align-items: baseline;
  color: var(--white);
  border-top-color: var(--coral);
  box-shadow: inset 3px 0 0 var(--coral);
  padding-left: 10px;
}
.mini-deal { color: var(--white); }
.mini-val { font-family: var(--serif); font-weight: 600; }
.pitch-h { max-width: 16ch; margin-top: 8px; }
.pitch-p { margin-top: 14px; max-width: 46ch; color: #d5dee7; }

.gate-form {
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
}
.gate-form-inner { width: 100%; max-width: 420px; margin: 0 auto; }
.gate-form h2 { margin-bottom: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; }
.hint { color: var(--muted); font-size: 14px; margin-top: 4px; }
input, select, textarea {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field);
  border-radius: 2px;
  padding: 10px 12px;
  width: 100%;
}
textarea { resize: vertical; min-height: 96px; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #B33B2E; }
.form-err {
  background: var(--err);
  color: var(--ink);
  padding: 10px 12px;
  margin: 0 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  padding: 11px 14px;
  border-radius: 2px;
  text-decoration: none;
  line-height: 1.2;
  min-height: 44px;
}
.btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
  font-weight: 600;
}
.btn-wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.linklike {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.demo-slot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.demo-label { font-weight: 600; margin-bottom: 8px; }
.demo-rows { margin: 0 0 12px; }
.demo-rows div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 3px 0; }
.demo-rows dt { color: var(--muted); }
.demo-rows dd { margin: 0; font-weight: 600; }
.alt-line { margin-top: 18px; }
.signup-gap { margin-top: 8px; }

/* App chrome */
.top { background: var(--brand); color: var(--white); }
.top-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}
.brand-mark { width: 14px; height: 18px; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-product { font-size: 26px; line-height: 1; }
.brand-company {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: #d5dee7;
}
.top-nav { display: flex; gap: 4px; }
.top-nav a, .tabbar a {
  color: #d5dee7;
  text-decoration: none;
  padding: 8px 10px;
}
.top-nav a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--coral);
}
.who { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.who-text { display: flex; flex-direction: column; align-items: flex-end; }
.who-name { font-weight: 600; }
.who-role { color: #d5dee7; font-size: 14px; }
.btn-out {
  background: transparent;
  color: var(--white);
  border: 1px solid #d5dee7;
  border-radius: 2px;
  padding: 8px 12px;
  min-height: 40px;
}
.tabbar { display: none; }

.view { max-width: 1240px; margin: 0 auto; padding: 28px 22px 72px; }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.page-sub { margin-top: 8px; max-width: 52ch; }
.back { margin-bottom: 10px; }
.back a { font-weight: 600; }

.ledger {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 28px 36px;
  margin: 18px 0 22px;
}
.ledger dt { color: var(--muted); font-size: 14px; }
.ledger dd {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.stage-switch { display: none; }
.board-scroll { overflow-x: auto; }
.board {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
.col {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 160px;
}
.col-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 12px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.col-n { font-family: var(--sans); font-size: 14px; font-weight: 600; color: #d5dee7; }
.col[data-stage="won"] .col-h { box-shadow: inset 0 -3px 0 var(--coral); }
.col[data-stage="lost"] .col-h { background: var(--slate); }
.col-empty { padding: 16px 12px; color: var(--muted); }

.deal { padding: 12px; border-top: 1px solid var(--line); }
.deal.is-soon, .deal.is-past { box-shadow: inset 3px 0 0 var(--coral); }
.deal-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
}
.deal-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.deal-value { margin-top: 4px; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.deal-person, .deal-when { color: var(--muted); }
.deal-moves { margin-top: 12px; }
.move-label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.stage-select {
  width: 100%;
  min-height: 36px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.record {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.record .deal-value { font-size: 36px; margin: 8px 0 12px; }
.fact { margin-top: 4px; }
.stage-pick, .deal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.stage-pick button, .text-btn {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 12px;
  min-height: 40px;
}
.stage-pick button[aria-pressed="true"] {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.record h2 { margin: 18px 0 8px; }
.note { padding: 14px 0; border-top: 1px solid var(--line); }
.note-kind { font-weight: 700; }
.note-when, .note-by { color: var(--muted); font-size: 14px; }
.note-body { margin: 6px 0; white-space: pre-wrap; max-width: 62ch; }
.form { max-width: 520px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.empty { padding: 8px 0 24px; max-width: 46ch; }
.empty h1 { font-size: clamp(32px, 4vw, 42px); }
.empty p, .empty-line { margin-top: 8px; }
.reset-row { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); max-width: 62ch; }
.reset-row p { color: var(--muted); margin-bottom: 12px; }
.reset-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar { max-width: 420px; margin-top: 16px; }

.sheet { width: 100%; border-collapse: collapse; background: var(--white); margin-top: 8px; }
.sheet th, .sheet td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sheet th { font-weight: 600; font-size: 14px; }

@media (max-width: 1080px) {
  .stage-switch {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 8px 0 12px;
    padding-bottom: 4px;
  }
  .stage-switch button {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    border-radius: 2px;
    padding: 8px 12px;
    min-height: 44px;
  }
  .stage-switch button.is-on {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
  }
  .board { display: block; }
  .col { display: none; }
  .col.is-on { display: block; }
}

@media (max-width: 860px) {
  .gate { grid-template-columns: 1fr; }
  .gate-pitch { padding: 24px 20px 8px; }
  .mini { display: none; }
  .pitch-h { font-size: 32px; }
  .record { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 760px) {
  .top-nav { display: none; }
  .who-role { display: none; }
  .who-text { align-items: flex-start; }
  .tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--brand);
  }
  .tabbar a {
    flex: 1;
    text-align: center;
    padding: 12px 4px 14px;
    min-height: 48px;
  }
  .tabbar a[aria-current="page"] {
    color: var(--white);
    box-shadow: inset 0 2px 0 var(--coral);
  }
  .shell { padding-bottom: 56px; }
  .view { padding: 20px 16px 32px; }
  .ledger { grid-template-columns: 1fr; gap: 12px; }
  .ledger dd { font-size: 26px; }
  .page-head .btn { width: 100%; }
  .grid-2 { grid-template-columns: 1fr; }
  .toast { left: 12px; right: 12px; bottom: 72px; transform: none; max-width: none; }
  .sheet thead { display: none; }
  .sheet, .sheet tbody, .sheet tr, .sheet td { display: block; width: 100%; }
  .sheet tr {
    border: 1px solid var(--line);
    margin-top: 10px;
    background: var(--white);
    padding: 8px 12px;
  }
  .sheet td { border: 0; padding: 4px 0; }
  .sheet td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

.pipeline-tools { display: flex; align-items: flex-end; gap: 18px; margin: 16px 0; }
.pipeline-tools .field { width: min(100%, 430px); margin: 0; }
.pipeline-tools p { padding-bottom: 11px; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .pipeline-tools { align-items: stretch; flex-direction: column; gap: 4px; } .pipeline-tools p { padding: 0; } }

/* Pipeline desk: coral is money and heat. Stages are a working board, not posters. */
body { font-size: 15px; -webkit-font-smoothing: antialiased; background: #eef2f6; }
.top { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06); }
.top-inner { min-height: 56px; padding-block: 8px; }
.brand, .brand-product { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; }
.top-nav a, .tabbar a { border-radius: 8px; padding: 6px 10px; font-weight: 600; }
.top-nav a[aria-current="page"], .tabbar a[aria-current="page"] {
  color: var(--white);
  background: rgba(232, 90, 69, 0.18);
  box-shadow: none;
}
.btn, .btn-out, .stage-pick button, .text-btn, .stage-switch button { border-radius: 8px; }
.btn-primary { font-weight: 700; }
input, select, textarea { border-radius: 8px; min-height: 40px; border-color: #c9d4df; background: #fff; }
.gate-form { background: #f7f9fb; }
.pitch-h { font-size: clamp(2.1rem, 3.4vw, 2.8rem); }
.view { padding-top: 22px; }
.page-head h1 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); }
.ledger {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  gap: 18px 28px;
}
.ledger dd { font-size: 1.45rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.board { gap: 8px; align-items: stretch; }
/* Columns run to the bottom of the first viewport so the board reads as a
   working canvas even when a stage is light. */
.col { background: #f3f6f9; border: 0; border-radius: 12px; min-height: max(180px, calc(100vh - 372px)); overflow: hidden; }
.deal.is-sample .deal-name { cursor: default; }
.deal.is-sample .deal-name:hover { text-decoration: none; }
#app .sheet tr.is-sample { cursor: default; }
.col-h { background: transparent; color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 700; padding: 12px 12px 6px; }
.col-n { color: var(--slate); background: #fff; border-radius: 99px; min-width: 1.4rem; text-align: center; font-size: 12px; }
.col[data-stage="won"] .col-h { box-shadow: inset 0 -2px 0 var(--coral); color: var(--ink); }
.col[data-stage="lost"] .col-h { background: transparent; color: var(--muted); }
.deal {
  margin: 0 8px 8px;
  padding: 11px 11px 10px;
  background: #fff;
  border: 1px solid #e3eaf1;
  border-radius: 10px;
  border-top: 1px solid #e3eaf1;
}
.deal-name { font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
.deal-value { font-variant-numeric: tabular-nums; font-size: 15px; color: #c2412d; }
.deal.is-soon, .deal.is-past { box-shadow: inset 3px 0 0 var(--coral); }
.sheet { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sheet th { background: #f7f9fb; font-size: 12px; color: var(--slate); }
.sheet tbody tr:hover td { background: #fbfcfe; }
.sheet td, .sheet th { padding: 11px 12px; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 18px; }
.empty h1 { font-size: clamp(1.6rem, 3vw, 2rem); }
.record { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.record .deal-value { font-size: 2rem; }
.toast { border-radius: 10px; }

/* The book index is the navigation. The canvas is the ledger. */
#app.shell:not([hidden]) {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100vh;
  background: #e7edf3;
}
#app .top {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #122033;
  color: #f3f6f9;
  border: 0;
}
#app .top-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  padding: 22px 14px 16px;
}
#app .brand-product, #app .brand-company { color: #f3f6f9; }
#app .brand-company { opacity: 0.65; }
#app .top-nav { display: flex; flex-direction: column; gap: 2px; }
#app .top-nav a {
  color: #c5d0dc;
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 8px;
  font-weight: 650;
}
#app .top-nav a[aria-current="page"] {
  background: rgba(232, 90, 69, 0.18);
  color: #ffd2cb;
}
#app .who { margin-top: auto; flex-direction: column; align-items: stretch; }
#app .who-name, #app .who-role { color: #d5dee8; }
#app .btn-out { color: #f3f6f9; border-color: rgba(243, 246, 249, 0.28); }
#app .view { min-width: 0; padding: 22px 22px 72px; }
#gate[hidden] { display: none !important; }
.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px 48px;
  background: #f4f1ea;
}
.auth-book {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid #e4ddd2;
  padding: 28px 26px 22px;
  box-shadow: 8px 10px 0 #122033;
}
.auth-book .pitch-h { font-size: 1.7rem; line-height: 1.15; margin: 8px 0; }
.auth-book .pitch-for { color: var(--muted); }
.auth-book .pitch-p { color: #3d4a5c; margin: 0 0 14px; }
.auth-book .mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.auth-book .mini li { border: 1px solid #e4ddd2; padding: 4px 8px; font-size: 12px; color: var(--ink); }
.auth-book .mini .is-hot { border-color: #e85a45; background: #fff5f3; color: var(--ink); }
.auth-book .mini-deal { color: inherit; }
.loading, .form-err { border-radius: 8px; }
@media (max-width: 860px) {
  #app.shell:not([hidden]) { grid-template-columns: 1fr; }
  #app .top { position: sticky; height: auto; z-index: 5; }
  #app .top-inner { height: auto; }
  #app .top-nav { flex-direction: row; overflow-x: auto; }
  #app .who { margin-top: 0; flex-direction: row; }
  #app .view { padding: 14px 12px 88px; }
  #app .top-nav { display: none; }
  #app .tabbar { display: flex; position: sticky; bottom: 0; }
}

.deal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 10px;
}
.deal-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.deal-name { font-family: "Source Serif 4", Georgia, serif; font-size: 1.08rem; line-height: 1.25; }
.deal-value { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; color: #c2412d; }
.deal-co, .deal-person, .deal-when { margin: 0; }
.deal-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 8px; }
.record {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 18px;
  align-items: start;
}
.record-main h1 { font-family: "Source Serif 4", Georgia, serif; }
.record-side { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.col-empty, .empty, .loading {
  background: #fff;
  border-top: 3px solid #e85a45;
  padding: 16px;
}
@media (max-width: 860px) {
  .record { grid-template-columns: 1fr; }
  .deal-foot { flex-direction: column; align-items: stretch; }
}

/* ─────────────────────────────────────────────────────────────
   Working CRM surface. Sans UI type, full-width board, record
   pages with a properties rail and an activity feed, data tables.
   ───────────────────────────────────────────────────────────── */
:root {
  --ui-bg: #eef1f5;
  --ui-card: #ffffff;
  --ui-line: #e1e7ee;
  --ui-line-2: #cfd8e2;
  --ui-muted: #5b6b7c;
  --ui-faint: #8a98a8;
  --ui-hover: #f6f8fb;
  --ui-radius: 10px;
  --ui-shadow: 0 1px 2px rgba(18, 32, 51, 0.06);
}
#app.shell:not([hidden]) { background: var(--ui-bg); grid-template-columns: 224px minmax(0, 1fr); }
#app .view { max-width: none; width: 100%; margin: 0; justify-self: stretch; padding: 20px 26px 80px; }
#app .record, #app .sheet-wrap, #app .pipeline-tools { max-width: 1320px; }
#app h1, #app h2, #app h3 { font-family: var(--sans); letter-spacing: -0.015em; }
#app .page-head { align-items: center; margin-bottom: 10px; }
#app .page-head h1 { font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
#app .page-sub { margin-top: 2px; color: var(--ui-muted); font-size: 0.92rem; }
.head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.head-actions .deal-actions { margin: 0; }
#app .btn { min-height: 36px; padding: 7px 12px; font-size: 0.9rem; font-weight: 600; border-color: var(--ui-line-2); background: #fff; }
#app .btn:hover { background: var(--ui-hover); }
#app .btn-primary { border-color: var(--coral); background: var(--coral); color: #fff; }
#app .btn-primary:hover { background: #d94e3a; }
#app .btn-out { min-height: 34px; font-size: 0.88rem; }
#app .sheet a, #app .props a, #app .record-sub a, #app .deal-co a { text-decoration: none; color: var(--ink); font-weight: 600; }
#app .sheet a:hover, #app .props a:hover, #app .record-sub a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sidebar */
#app .top-inner { padding: 18px 12px 14px; gap: 18px; }
#app .brand { gap: 9px; }
#app .brand-mark { width: 14px; height: 18px; }
#app .top-nav a { font-size: 0.93rem; padding: 8px 10px; display: flex; align-items: center; gap: 10px; }
.nav-kicker {
  margin: 0 6px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7f91a6;
}
.nav-ico { width: 16px; height: 16px; flex: none; color: #f0a494; }
#app .top-nav a[aria-current="page"] .nav-ico { color: #ffd2cb; }
.tabbar .nav-ico, .tabbar .nav-kicker { display: none; }

/* Segmented view switch */
.seg { display: inline-flex; background: #e6ebf1; border-radius: 8px; padding: 2px; gap: 2px; }
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--ui-muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  min-height: 30px;
}
.seg button svg { width: 14px; height: 14px; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--ui-shadow); }
.pipeline-tools .seg { margin-left: 8px; }

/* Clickable rows, tags */
#app .sheet tbody tr.row { cursor: pointer; }
#app .sheet tfoot td { background: #f7f9fb; border-top: 1px solid var(--ui-line); color: var(--ui-muted); font-size: 0.84rem; font-weight: 600; padding: 9px 14px; }
#app .sheet tfoot .num { color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.row-title { font-weight: 600; color: var(--ink); text-decoration: none; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #eef2f6; color: #3b4b5d; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
#app .sheet td .site { font-weight: 400; color: var(--ui-muted); }
#app .sheet td.col-close { white-space: nowrap; color: var(--ui-muted); }
#app .sheet td.col-close.is-past { color: #b33b2e; }
#app .sheet td.col-close.is-soon { color: #a45a12; }
#app .sheet--pipeline .pill { vertical-align: middle; }
#app .top-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
#app .who { gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
#app .who-text { align-items: flex-start; gap: 1px; }
#app .who-name { font-size: 0.92rem; }
#app .who-role { font-size: 0.8rem; opacity: 0.75; }

/* Avatars, pills */
.avatar {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dbe4ee;
  color: #2a3a4d;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}
.avatar--co { border-radius: 6px; background: #122033; color: #f3f6f9; }
.avatar--lg { width: 40px; height: 40px; font-size: 0.95rem; }
.cell-person { display: inline-flex; align-items: center; gap: 8px; }
.pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.5;
  background: #e9eef4;
  color: #3b4b5d;
  vertical-align: middle;
}
.pill--won { background: #e2f3e9; color: #1d6b3f; }
.pill--lost { background: #edf0f3; color: #5b6b7c; }
.pill--new, .pill--qualified, .pill--proposal, .pill--negotiation { background: #e6eef8; color: #1f4b7a; }
.pill--warn { background: #fde8e4; color: #b33b2e; }
.pill--soon { background: #fff1e6; color: #a45a12; }
.dim { color: var(--ui-faint); }
.dot { color: var(--ui-faint); margin: 0 2px; }

/* Stat strip */
#app .ledger {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0 0 10px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-card);
  box-shadow: var(--ui-shadow);
  overflow: hidden;
}
/* One line per stat so the board starts higher: label, figure, count. */
#app .ledger > div { flex: 1 1 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding: 9px 16px; border-left: 1px solid var(--ui-line); min-width: 0; }
#app .ledger > div:first-child { border-left: 0; }
#app .ledger dt { font-size: 0.78rem; font-weight: 600; color: var(--ui-muted); text-transform: uppercase; letter-spacing: 0.04em; }
#app .ledger dd { margin: 0; font-family: var(--sans); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.ledger-sub { font-size: 0.8rem; color: var(--ui-faint); margin: 0; }

/* Toolbar */
#app .pipeline-tools { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; max-width: none; }
.search-wrap { position: relative; width: min(100%, 340px); }
.search-ico { position: absolute; left: 10px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--ui-faint); pointer-events: none; }
#app .search-wrap input { padding-left: 32px; min-height: 36px; font-size: 0.9rem; border-radius: 8px; }
#app .search-wrap input::placeholder { color: var(--ui-faint); }
#app .pipeline-tools p { padding: 0; margin: 0; }
.tools-count { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.tools-meta { font-size: 0.84rem; color: var(--ui-faint); }
.tools-meta::before { content: ""; }
.pipeline-tools .tools-meta { margin-left: auto; }

/* Board */
#app .board-scroll { overflow-x: auto; margin: 0 -26px; padding: 0 26px 10px; }
#app .board { display: grid; grid-template-columns: repeat(6, minmax(172px, 1fr)); gap: 10px; align-items: stretch; min-width: 1060px; }
#app .col { background: #e6ebf1; border: 0; border-radius: var(--ui-radius); min-height: 320px; display: flex; flex-direction: column; overflow: visible; }
.col-head { padding: 10px 12px 8px; }
#app .col-h { display: flex; justify-content: space-between; align-items: center; padding: 0; margin: 0; background: transparent; box-shadow: none; font-family: var(--sans); font-size: 0.86rem; font-weight: 700; color: var(--ink); }
#app .col-n { background: #fff; color: var(--ui-muted); font-size: 0.72rem; font-weight: 700; min-width: 1.5rem; padding: 0 6px; line-height: 1.5rem; border-radius: 99px; text-align: center; }
.col-sum { margin-top: 2px; font-size: 0.8rem; color: var(--ui-muted); font-variant-numeric: tabular-nums; }
#app .col[data-stage="won"] .col-h { box-shadow: none; }
#app .col[data-stage="won"] .col-h span:first-child::before,
#app .col[data-stage="lost"] .col-h span:first-child::before,
#app .col[data-stage="new"] .col-h span:first-child::before,
#app .col[data-stage="qualified"] .col-h span:first-child::before,
#app .col[data-stage="proposal"] .col-h span:first-child::before,
#app .col[data-stage="negotiation"] .col-h span:first-child::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 1px;
  background: #8aa4c2;
}
#app .col[data-stage="qualified"] .col-h span:first-child::before { background: #5f86b3; }
#app .col[data-stage="proposal"] .col-h span:first-child::before { background: #3f6a9d; }
#app .col[data-stage="negotiation"] .col-h span:first-child::before { background: var(--coral); }
#app .col[data-stage="won"] .col-h span:first-child::before { background: #2a9d5c; }
#app .col[data-stage="lost"] .col-h span:first-child::before { background: #9aa7b5; }
#app .col[data-stage="lost"] .col-h { color: var(--ui-muted); }
.col-body { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
#app .col-empty { background: transparent; border: 1px dashed var(--ui-line-2); border-radius: 8px; color: var(--ui-faint); font-size: 0.84rem; padding: 18px 12px; text-align: center; margin: 0; }
#app .deal {
  margin: 0;
  padding: 10px 12px 9px;
  gap: 2px;
  background: var(--ui-card);
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  box-shadow: var(--ui-shadow);
  transition: box-shadow 120ms ease, border-color 120ms ease;
}
#app .deal:hover { border-color: var(--ui-line-2); box-shadow: 0 3px 10px rgba(18, 32, 51, 0.08); }
#app .deal.is-soon, #app .deal.is-past { box-shadow: inset 3px 0 0 var(--coral), var(--ui-shadow); }
#app .deal-name { display: block; font-family: var(--sans); font-size: 0.92rem; font-weight: 650; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
#app .deal-co { font-size: 0.83rem; color: var(--ui-muted); }
.deal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 6px !important; }
#app .deal-value { font-size: 0.92rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
#app .deal-when { font-size: 0.78rem; color: var(--ui-faint); white-space: nowrap; }
#app .deal.is-past .deal-when { color: #b33b2e; font-weight: 600; }
#app .deal.is-soon .deal-when { color: #a45a12; font-weight: 600; }
#app .deal-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ui-line); align-items: center; }
.deal-owner { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ui-muted); min-width: 0; }
.deal-owner .avatar { width: 20px; height: 20px; font-size: 0.58rem; }
.deal-owner-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app .deal-moves { margin: 0; }
#app .stage-select { width: auto; min-height: 26px; padding: 2px 6px; font-size: 0.76rem; font-weight: 600; border-radius: 6px; border-color: var(--ui-line-2); background: #fff; }

/* Narrow stage switch */
#app .stage-switch button { border-radius: 99px; min-height: 34px; padding: 6px 12px; font-size: 0.86rem; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
#app .stage-switch button .col-n { background: #e6ebf1; }
#app .stage-switch button.is-on .col-n { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* Data tables */
.sheet-wrap { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); overflow: auto; }
#app .sheet { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
#app .sheet th { background: #f7f9fb; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ui-muted); padding: 9px 14px; border-bottom: 1px solid var(--ui-line); white-space: nowrap; }
#app .sheet td { padding: 10px 14px; font-size: 0.9rem; vertical-align: middle; border-bottom: 1px solid var(--ui-line); }
#app .sheet tbody tr:last-child td { border-bottom: 0; }
#app .sheet tbody tr:hover td { background: var(--ui-hover); }
#app .sheet .num { text-align: right; font-variant-numeric: tabular-nums; }
#app .sheet td a { color: var(--ink); }
#app .sheet td a[href^="mailto:"], #app .sheet td a[href^="tel:"] { font-weight: 400; color: var(--ui-muted); }

/* Record pages */
#app .record { display: block; background: transparent; border: 0; border-radius: 0; padding: 0; }
.record-head { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); padding: 14px 18px 0; margin-bottom: 14px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.84rem; color: var(--ui-muted); margin-bottom: 8px; }
.crumbs a { color: var(--ui-muted); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.record-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; }
.record-title-id { display: flex; align-items: center; gap: 12px; }
#app .record-title h1 { font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.record-sub { margin-top: 3px; font-size: 0.92rem; color: var(--ui-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
#app .record-sub .deal-value { font-size: 0.92rem; font-weight: 700; color: var(--ink); margin: 0; }
.stage-bar { display: flex; gap: 4px; padding: 0 0 14px; overflow-x: auto; }
.stage-step {
  flex: 1 1 0;
  min-width: 96px;
  position: relative;
  border: 0;
  border-radius: 4px;
  background: #e6ebf1;
  color: var(--ui-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 32px;
  padding: 6px 10px 6px 18px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
  cursor: pointer;
}
.stage-step:first-child { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); padding-left: 12px; border-radius: 6px 4px 4px 6px; }
.stage-step.is-done { background: #c8d6e5; color: #1f3350; }
.stage-step.is-current { background: var(--brand); color: #fff; }
.stage-step.is-current.is-won { background: #1d6b3f; }
.stage-step.is-current.is-lost { background: #5b6b7c; }
.stage-step:disabled { cursor: default; opacity: 1; }
.stage-step:not(:disabled):hover { background: #d7e0ea; color: var(--ink); }
.record-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; align-items: start; }
.record-props { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); padding: 4px 16px 10px; }
#app .record-props h2 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ui-muted); margin: 14px 0 4px; }
.props { margin: 0; }
.prop { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--ui-line); font-size: 0.88rem; align-items: center; }
.props .prop:last-child { border-bottom: 0; }
.prop dt { color: var(--ui-muted); }
.prop dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.record-activity { min-width: 0; }
.activity-head { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 2px 8px; }
.activity-head--gap { margin-top: 20px; }
#app .activity-head h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.composer { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); padding: 12px; margin-bottom: 12px; max-width: none; }
.composer fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.composer-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; align-items: start; }
#app .composer select { min-height: 38px; font-size: 0.88rem; font-weight: 600; }
#app .composer textarea { min-height: 38px; font-size: 0.9rem; }
.composer-acts { display: flex; justify-content: flex-end; margin-top: 8px; }
#app .composer .form-err { margin: 8px 0 0; }
.timeline { background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); padding: 4px 16px; }
#app .note { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--ui-line); }
#app .note:first-child { border-top: 0; }
#app .note::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8aa4c2;
  box-shadow: 0 0 0 3px #fff;
}
#app .note--call::before { background: var(--coral); }
#app .note--email::before { background: #3f6a9d; }
#app .note--note::before { background: #9aa7b5; }
#app .note::after { content: ""; position: absolute; left: 8px; top: 30px; bottom: -12px; width: 2px; background: var(--ui-line); }
#app .note:last-child::after { display: none; }
.note-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 0.82rem; }
#app .note-kind { font-weight: 700; font-size: 0.82rem; }
#app .note-by { color: var(--ui-muted); font-size: 0.82rem; }
#app .note-when { margin-left: auto; color: var(--ui-faint); font-size: 0.78rem; white-space: nowrap; }
#app .note-body { margin: 4px 0 0; font-size: 0.92rem; line-height: 1.5; max-width: 70ch; }
#app .timeline .empty-line { padding: 14px 0; color: var(--ui-muted); font-size: 0.9rem; }
#app .empty-line { color: var(--ui-muted); }

/* Forms keep a working width */
#app .form { max-width: 560px; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); padding: 18px; box-shadow: var(--ui-shadow); }
#app .form .field label { font-size: 0.86rem; }
#app .back { margin-bottom: 6px; font-size: 0.86rem; }
#app .back a { color: var(--ui-muted); text-decoration: none; }
#app .view > h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
#app .empty { border-top: 1px solid var(--ui-line); }

@media (max-width: 1080px) {
  #app .board { display: block; min-width: 0; }
  #app .board-scroll { margin: 0; padding: 0; }
  #app .col { min-height: 0; display: none; }
  #app .col.is-on { display: flex; }
  #app .stage-switch { margin: 0 -26px 12px; padding: 0 26px 4px; scrollbar-width: none; }
  #app .stage-switch::-webkit-scrollbar { display: none; }
}
@media (max-width: 960px) {
  .record-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  #app.shell:not([hidden]) { grid-template-columns: 1fr; }
  #app .top-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 14px; gap: 10px; }
  #app .who { margin: 0; padding: 0; border: 0; flex-direction: row; align-items: center; gap: 10px; }
  #app .who-text { display: none; }
  #app .view { padding: 14px 14px 96px; }
  #app .ledger { flex-direction: column; }
  #app .ledger > div { border-left: 0; border-top: 1px solid var(--ui-line); padding: 10px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  #app .ledger > div:first-child { border-top: 0; }
  #app .ledger dt { grid-column: 1; }
  #app .ledger dd { grid-column: 2; grid-row: 1 / span 2; font-size: 1.15rem; margin: 0; }
  .ledger-sub { grid-column: 1; }
  #app .pipeline-tools { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .search-wrap { width: 100%; flex: 1 0 100%; }
  #app .pipeline-tools p { text-align: left; }
  .pipeline-tools .tools-meta { margin-left: auto; }
  #app .stage-switch { margin: 0 -14px 12px; padding: 0 14px 4px; }
  #app .page-head .btn { width: auto; }
  .record-head { padding: 12px 14px 0; }
  .stage-bar { margin: 0 -14px; padding: 0 14px 12px; }
  .stage-step { min-width: 92px; }
  .composer-row { grid-template-columns: 1fr; }
  .prop { grid-template-columns: 88px 1fr; }
  #app .sheet td { display: block; padding: 3px 0; border: 0; font-size: 0.9rem; }
  #app .sheet td::before { content: attr(data-label); display: block; color: var(--ui-faint); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
  #app .sheet td[data-label="Name"]::before, #app .sheet td[data-label="Deal"]::before { display: none; }
  #app .sheet td[data-label="Name"] { font-size: 1rem; padding-bottom: 6px; }
  #app .sheet tr { border: 0; border-top: 1px solid var(--ui-line); margin: 0; padding: 10px 14px; }
  #app .sheet tbody tr:first-child { border-top: 0; }
  #app .sheet .num { text-align: left; }
}

/* ─────────────────────────────────────────────────────────────
   Motion. Short, eased, and only where the eye needs a cue:
   a page easing in, a thin fetch bar, hover and pressed states.
   ───────────────────────────────────────────────────────────── */
:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); --dur: 180ms; }
@keyframes view-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.view-enter { animation: view-enter var(--dur) var(--ease-out) both; }
#app .top-nav a, .tabbar a, .seg button, .stage-step, #app .btn, .btn-out, .stage-pick button, .text-btn,
#app .stage-switch button, #app .sheet tbody tr td, .crumbs a, .deal-name, .row-title {
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
#app .deal { transition: box-shadow 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
#app .deal:hover { transform: translateY(-1px); }
.seg button[aria-pressed="true"] { transition-duration: 200ms; }

/* Fetch bar: a 2px line along the top of the canvas while a record loads. */
#app::before {
  content: "";
  position: fixed;
  top: 0;
  left: 224px;
  right: 0;
  height: 2px;
  background: var(--coral);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  z-index: 60;
  pointer-events: none;
  transition: opacity 160ms var(--ease-out);
}
#app.is-loading::before { opacity: 1; animation: load-bar 1.1s var(--ease-out) infinite; }
@keyframes load-bar {
  0% { transform: translateX(-100%) scaleX(0.35); }
  60% { transform: translateX(40%) scaleX(0.5); }
  100% { transform: translateX(100%) scaleX(0.35); }
}

/* Timeline skeleton while the activity feed arrives. */
.skel-row { display: grid; gap: 9px; padding: 14px 0 14px 26px; border-top: 1px solid var(--ui-line); }
.skel-row:first-of-type { border-top: 0; }
.skel {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e6ebf1 0%, #f3f6f9 50%, #e6ebf1 100%);
  background-size: 200% 100%;
  animation: skel 1.3s linear infinite;
}
.skel-sm { width: 32%; }
.skel-lg { width: 78%; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.timeline.is-pending { min-height: 160px; }

@media (max-width: 860px) {
  #app::before { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .view-enter { opacity: 1; transform: none; }
  #app.is-loading::before { transform: none; opacity: 1; }
  #app .deal:hover { transform: none; }
}
