/* ================================================================
   Spaces.Events.Venues — refined editorial design system
   Palette: ivory ground, deep ink, sage accent
   Type: Playfair Display (serif) + Geist (sans) + Geist Mono
   ================================================================ */

:root {
  /* core surface */
  --ivory: #faf8f3;
  --ivory-2: #f4f1e9;          /* muted ivory / panel */
  --ivory-3: #ecebdf;          /* hairline tint */
  --paper: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #2b2b2a;
  --muted: #6b6a64;
  --muted-2: #95948d;
  --hair: #e6e4db;             /* hairline border */
  --hair-strong: #d7d3c6;

  /* sage accent family */
  --sage-900: #38443b;
  --sage-700: #5a6b5d;
  --sage-500: #7d8e7f;
  --sage-300: #b8c0a8;
  --sage-100: #dfe4d4;
  --sage-50:  #eef1e6;

  /* functional tones (muted) */
  --wash-sky:   #e7edf1;
  --wash-amber: #f3ebd9;
  --wash-rose:  #efe2dd;
  --wash-stone: #ecebe4;

  --ink-sky:    #3d556a;
  --ink-amber:  #8a6f37;
  --ink-rose:   #8a5a4e;
  --ink-stone:  #5a5850;
  --ink-sage:   #4c5a4e;

  /* type */
  --serif: "Playfair Display", "EB Garamond", Georgia, serif;
  --sans:  "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "Geist Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* density (overridable via Tweaks) */
  --row: 44px;
  --gutter: 28px;
  --card-pad: 22px;

  /* shadow — barely-there */
  --shadow-xs: 0 1px 0 rgba(31,28,20,.03);
  --shadow-sm: 0 1px 2px rgba(31,28,20,.04), 0 0 0 1px rgba(31,28,20,.04);
  --shadow-md: 0 1px 2px rgba(31,28,20,.04), 0 8px 28px -16px rgba(31,28,20,.18);
}

* { box-sizing: border-box; }
html, body, #root { height: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "rlig" 1, "calt" 1, "ss01" 1;
  letter-spacing: -0.005em;
}

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.mono  { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.tnum  { font-variant-numeric: tabular-nums; }

.caps {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
}

/* headings */
h1,h2,h3,h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: 34px; line-height: 1.1; }
h2 { font-size: 22px; line-height: 1.15; }
h3 { font-size: 17px; line-height: 1.25; font-weight: 500; }
p  { margin: 0; }

a { color: inherit; }

/* ---- layout shell ---- */
.shell {
  display: grid;
  grid-template-columns: 224px 1fr;
  min-height: 100vh;
  background: var(--ivory);
}
.shell.rail { grid-template-columns: 64px 1fr; }

aside.sidebar {
  position: sticky; top: 0; align-self: start;
  height: 100vh;
  background: var(--paper);
  border-right: 1px solid var(--hair);
  display: flex; flex-direction: column;
}
.sb-head {
  padding: 28px 20px 20px;
  display: flex; justify-content: center;
}
.sb-logo {
  width: 92px; height: 92px;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: var(--ink);
}
.shell.rail .sb-logo { width: 40px; height: 40px; font-size: 9px; letter-spacing: 0.06em; }
.shell.rail .sb-head { padding: 20px 12px; }

.sb-group { padding: 4px 12px; }
.sb-label {
  padding: 18px 12px 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: var(--muted-2);
}
.shell.rail .sb-label { display: none; }

.sb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
  user-select: none;
}
.sb-item:hover { background: var(--ivory-2); }
.sb-item.active {
  background: var(--sage-50);
  color: var(--sage-900);
  font-weight: 500;
  box-shadow: inset 2px 0 0 var(--sage-700);
}
.sb-item svg { width: 16px; height: 16px; flex: none; stroke: currentColor; }
.shell.rail .sb-item { justify-content: center; padding: 10px; }
.shell.rail .sb-item span { display: none; }

.sb-foot {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid var(--hair);
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--muted);
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-900);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.shell.rail .sb-foot > *:not(.avatar) { display: none; }
.shell.rail .sb-foot { justify-content: center; padding: 14px 8px; }

/* ---- top bar ---- */
main.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklab, var(--ivory) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--hair);
  padding: 14px 40px;
  display: flex; align-items: center; gap: 20px;
}
.crumbs { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs .sep { color: var(--hair-strong); }
.crumbs .here { color: var(--ink); }
.topbar-spacer { flex: 1; }

.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 6px 10px;
  width: 300px;
  color: var(--muted);
  font-size: 13px;
}
.search input {
  border: 0; background: transparent; outline: none;
  font: inherit; color: var(--ink);
  width: 100%;
}
.kbd {
  font-family: var(--mono); font-size: 10.5px;
  padding: 2px 6px; border: 1px solid var(--hair);
  border-radius: 4px; color: var(--muted);
  background: var(--ivory-2);
}

/* ---- page container ---- */
.page { padding: 36px 40px 64px; max-width: 1480px; margin: 0 auto; }
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding-bottom: 22px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 32px;
}
.page-head .title-wrap h1 { font-size: 38px; }
.page-head .eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.page-head .sub { color: var(--muted); margin-top: 6px; font-size: 13.5px; max-width: 52ch; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--ivory);
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.01em;
  border-radius: 7px;
  cursor: pointer;
  transition: transform .06s ease, background .15s ease;
}
.btn:hover { background: var(--ink-soft); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--hair-strong); }
.btn.ghost:hover { background: var(--ivory-2); }
.btn.sage   { background: var(--sage-700); border-color: var(--sage-700); color: white; }
.btn.sage:hover { background: var(--sage-900); border-color: var(--sage-900); }
.btn.sm { padding: 6px 10px; font-size: 12px; border-radius: 6px; }
.btn svg { width: 14px; height: 14px; stroke: currentColor; }

.iconbtn {
  width: 32px; height: 32px; border-radius: 7px;
  display: grid; place-items: center;
  background: transparent; border: 1px solid transparent;
  cursor: pointer; color: var(--muted);
}
.iconbtn:hover { background: var(--ivory-2); color: var(--ink); border-color: var(--hair); }
.iconbtn svg { width: 16px; height: 16px; stroke: currentColor; }

/* ---- cards ---- */
.card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: var(--card-pad);
}
.card.flat { box-shadow: none; }
.card-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px; gap: 16px;
}
.card-head h3 { font-family: var(--serif); font-size: 18px; }
.card-head .meta { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---- chips/tags ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font: 500 11px/1.4 var(--sans);
  letter-spacing: 0.03em;
  background: var(--wash-stone); color: var(--ink-stone);
}
.chip.sage  { background: var(--sage-50);   color: var(--sage-900); }
.chip.sky   { background: var(--wash-sky);  color: var(--ink-sky); }
.chip.amber { background: var(--wash-amber); color: var(--ink-amber); }
.chip.rose  { background: var(--wash-rose); color: var(--ink-rose); }
.chip.ink   { background: var(--ink);       color: var(--ivory); }
.chip.line  { background: transparent; border: 1px solid var(--hair-strong); color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: currentColor; }

/* ---- tables ---- */
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th, table.t td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
table.t th { font-weight: 500; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; padding-top: 14px; padding-bottom: 10px; }
table.t tbody tr:hover { background: var(--ivory-2); }
table.t tbody tr { cursor: pointer; }

/* ---- definition list ---- */
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; font-size: 13px; }
.dl dt { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; padding-top: 2px; }
.dl dd { margin: 0; color: var(--ink); }

/* ---- utility ---- */
.hr { border: 0; border-top: 1px solid var(--hair); margin: 20px 0; }
.grid { display: grid; gap: var(--gutter); }
.row  { display: flex; gap: 12px; align-items: center; }
.col  { display: flex; flex-direction: column; gap: 10px; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.tiny { font-size: 11.5px; }
.small { font-size: 12.5px; }

/* ornamental rule — thin double line, editorial */
.rule-dbl {
  border: 0; height: 4px;
  border-top: 1px solid var(--hair-strong);
  border-bottom: 1px solid var(--hair-strong);
  margin: 8px 0;
}

/* ---- kanban ---- */
.board-wrap { overflow-x: auto; padding-bottom: 12px; }
.board { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 16px; padding: 6px 2px; }
.col-stage {
  background: var(--ivory-2);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 14px 12px;
  min-height: 460px;
  display: flex; flex-direction: column; gap: 10px;
}
.col-stage .hd {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 4px 6px 10px;
  border-bottom: 1px solid var(--hair);
}
.col-stage .hd h4 { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.col-stage .hd .ct { color: var(--muted); font-size: 11px; font-feature-settings: "tnum" 1; }
.deal-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: grab;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.deal-card:hover { box-shadow: var(--shadow-md); border-color: var(--hair-strong); }
.deal-card:active { cursor: grabbing; }
.deal-card .ref { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }
.deal-card h5 { font: 500 13.5px/1.3 var(--sans); margin: 4px 0 8px; color: var(--ink); letter-spacing: -0.005em; }
.deal-card .client { font-size: 12.5px; color: var(--muted); }
.deal-card .meta-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--hair); font-size: 11.5px; color: var(--muted); }
.deal-card .value { font-family: var(--mono); color: var(--ink); font-weight: 500; }

/* stage color accents (thin top line) */
.stage-accent {
  height: 2px; border-radius: 999px; margin-bottom: 10px;
}
.ac-enquiry    { background: var(--sage-300); }
.ac-brief      { background: var(--sage-500); }
.ac-venues     { background: #c8b896; }
.ac-quotes     { background: #c4a96a; }
.ac-proposal   { background: #b8906a; }
.ac-sent       { background: #8b7a5a; }
.ac-booked     { background: var(--sage-700); }
.ac-complete   { background: var(--sage-900); }
.ac-invoice    { background: #8a6f37; }
.ac-paid       { background: var(--ink); }

/* ---- focus ---- */
:focus-visible { outline: 2px solid var(--sage-500); outline-offset: 2px; border-radius: 4px; }

/* ---- scrollbars ---- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--hair-strong); border-radius: 10px; border: 2px solid var(--ivory); }
::-webkit-scrollbar-track { background: transparent; }

/* ---- tweaks panel ---- */
.tweaks {
  position: fixed; right: 20px; bottom: 20px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
  width: 280px;
  z-index: 50;
  font-size: 12.5px;
}
.tweaks h4 { font-family: var(--serif); font-size: 14px; margin-bottom: 10px; }
.tweaks .tk-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--hair); }
.tweaks .tk-row:first-of-type { border-top: 0; }
.tweaks .label { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; }
.swatch-row { display: flex; gap: 6px; }
.swatch { width: 18px; height: 18px; border-radius: 4px; cursor: pointer; border: 1px solid rgba(0,0,0,.08); }
.swatch.selected { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg { display: flex; gap: 2px; background: var(--ivory-2); padding: 2px; border-radius: 6px; }
.seg button {
  border: 0; background: transparent; font: inherit; color: var(--muted);
  padding: 3px 8px; border-radius: 4px; cursor: pointer; font-size: 11.5px;
}
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs); }

/* density variants */
body.density-spacious { --row: 52px; --gutter: 36px; --card-pad: 28px; }
body.density-compact  { --row: 36px; --gutter: 20px; --card-pad: 16px; }

/* accent variants — override sage-* */
body.accent-stone {
  --sage-900:#3a372e; --sage-700:#6b6559; --sage-500:#8a8577;
  --sage-300:#c9c4b4; --sage-100:#e3ddce; --sage-50:#f1ede0;
  --ink-sage:#5a5850;
}
body.accent-camel {
  --sage-900:#4a3624; --sage-700:#8b6f47; --sage-500:#a78a5e;
  --sage-300:#c9b08a; --sage-100:#e6d5b4; --sage-50:#f1e8d1;
  --ink-sage:#6b4e2a;
}
body.accent-slate {
  --sage-900:#2a3445; --sage-700:#4a5a7a; --sage-500:#6e7c94;
  --sage-300:#a8b3c8; --sage-100:#d1d9e4; --sage-50:#e6ebf1;
  --ink-sage:#3c4c65;
}

/* ---- misc components ---- */
.stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px;
  border-right: 1px solid var(--hair);
}
.stat:last-child { border-right: 0; }
.stat .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }
.stat .v { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); font-feature-settings: "lnum" 1, "tnum" 1; }
.stat .d { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .d.up { color: var(--sage-900); }
.stat .d.dn { color: var(--ink-rose); }

.thread-msg {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.thread-msg:last-child { border-bottom: 0; }
.thread-msg .bub { line-height: 1.55; font-size: 13.5px; color: var(--ink-soft); }
.thread-msg .from { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.thread-msg .from .nm { font-weight: 500; color: var(--ink); font-size: 13px; }
.thread-msg .from .t  { font-size: 11px; color: var(--muted-2); font-family: var(--mono); }

/* venue card (hero imagery) */
.venue-card {
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.venue-card:hover { box-shadow: var(--shadow-md); }
.venue-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ivory-2), var(--sage-100));
  position: relative;
  overflow: hidden;
}
.venue-img.stripes {
  background-image:
    repeating-linear-gradient(135deg,
      var(--ivory-2) 0 10px,
      var(--ivory-3) 10px 20px);
}
.venue-body { padding: 16px; }
.venue-body h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 4px; }
.venue-body .loc { font-size: 12px; color: var(--muted); }

/* timeline */
.timeline {
  display: flex; gap: 0;
  margin: 14px 0 4px;
}
.timeline .stp {
  flex: 1; padding: 10px 12px;
  background: var(--ivory-2);
  color: var(--muted);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  border-right: 1px solid var(--paper);
  position: relative;
}
.timeline .stp:first-child { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
.timeline .stp:last-child { border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-right: 0; }
.timeline .stp.done { background: var(--sage-100); color: var(--sage-900); }
.timeline .stp.cur { background: var(--ink); color: var(--ivory); }

/* progress / sparkline bars */
.bars { display: flex; gap: 3px; align-items: flex-end; height: 42px; }
.bars span {
  flex: 1; background: var(--sage-300); border-radius: 2px;
  min-height: 4px;
}
.bars span.cur { background: var(--sage-700); }

/* ================================================================
   PROPOSAL document styles
   Full-bleed editorial layout for client-facing proposals.
   ================================================================ */

.proposal-shell {
  background: var(--ivory);
  padding: 0;
}

.prop-toolbar {
  position: sticky; top: 49px; z-index: 9;
  background: color-mix(in oklab, var(--ivory) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--hair);
  padding: 10px 40px;
  display: flex; align-items: center; gap: 14px;
}
.prop-toolbar .step-track {
  display: flex; gap: 2px; align-items: center;
  font-size: 11px; color: var(--muted); letter-spacing: 0.08em;
}
.prop-toolbar .step-track .stp-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
}
.prop-toolbar .step-track .stp-item.on {
  background: var(--ink); color: var(--ivory);
}
.prop-toolbar .step-track .stp-item .n {
  font-family: var(--mono); font-size: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ivory-2); color: var(--muted);
}
.prop-toolbar .step-track .stp-item.on .n { background: var(--ivory); color: var(--ink); }
.prop-toolbar .step-track .stp-item.done .n { background: var(--sage-100); color: var(--sage-900); }

/* proposal paper — the document itself */
.prop-paper {
  max-width: 1040px;
  margin: 40px auto 64px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(31,28,20,.04), 0 24px 48px -24px rgba(31,28,20,.15);
  overflow: hidden;
}

/* ---- cover ---- */
.prop-cover {
  position: relative;
  padding: 88px 72px 72px;
  background: linear-gradient(180deg, var(--ivory-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--hair);
}
.prop-cover .brand-line {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--ink); text-transform: uppercase;
  margin-bottom: 64px;
}
.prop-cover .brand-line::after {
  content: ""; flex: 1;
  border-top: 1px solid var(--hair-strong);
}
.prop-cover .prop-type {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.prop-cover h1.title {
  font-family: var(--serif);
  font-size: 56px; line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 26px;
}
.prop-cover h1.title em {
  font-style: italic; font-weight: 400; color: var(--sage-700);
}
.prop-cover .sub {
  font-size: 15px; color: var(--ink-soft); max-width: 54ch; line-height: 1.6;
}
.prop-cover .cover-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--hair-strong);
}
.prop-cover .cover-meta .k {
  font-size: 10.5px; color: var(--muted);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 8px;
}
.prop-cover .cover-meta .v {
  font-family: var(--serif); font-size: 18px;
  color: var(--ink); letter-spacing: -0.01em;
}
.prop-cover .cover-meta .v.mono {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
}
.prop-cover .cover-footer {
  margin-top: 56px; display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase;
}

/* section within the paper */
.prop-section {
  padding: 64px 72px;
  border-bottom: 1px solid var(--hair);
}
.prop-section:last-child { border-bottom: 0; }
.prop-section .sec-head {
  display: grid; grid-template-columns: 160px 1fr; gap: 40px;
  margin-bottom: 32px;
}
.prop-section .sec-head .num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase;
}
.prop-section .sec-head h2 {
  font-family: var(--serif); font-size: 32px; line-height: 1.1;
  letter-spacing: -0.015em; margin-bottom: 10px;
}
.prop-section .sec-head .lede {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.65;
  max-width: 58ch;
}
.prop-section .sec-body {
  display: grid; grid-template-columns: 160px 1fr; gap: 40px;
}
.prop-section .sec-body .spare { }  /* left gutter */

/* executive summary — three-up figures */
.exec-figs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.exec-figs .fig {
  padding: 24px 28px;
  border-right: 1px solid var(--hair);
}
.exec-figs .fig:last-child { border-right: 0; }
.exec-figs .fig .k {
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.exec-figs .fig .v {
  font-family: var(--serif); font-size: 34px; font-weight: 500;
  letter-spacing: -0.02em; font-feature-settings: "lnum" 1, "tnum" 1;
}
.exec-figs .fig .n {
  font-size: 12px; color: var(--muted); margin-top: 6px;
}

/* venue comparison */
.v-compare {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.v-compare .v-opt {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.v-compare .v-opt.rec {
  border-color: var(--sage-700);
  box-shadow: 0 0 0 1px var(--sage-700);
}
.v-compare .v-opt .rec-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--sage-900); color: var(--ivory);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
  z-index: 2;
}
.v-compare .v-hero {
  aspect-ratio: 4/3;
  background: var(--ivory-2);
  background-image:
    repeating-linear-gradient(135deg,
      var(--ivory-2) 0 12px,
      var(--ivory-3) 12px 24px);
  position: relative;
}
.v-compare .v-hero .tag {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--paper); color: var(--ink);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 2px;
}
.v-compare .v-body {
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.v-compare .v-body h3 {
  font-size: 20px; letter-spacing: -0.01em;
}
.v-compare .v-body .loc { font-size: 12px; color: var(--muted); }
.v-compare .v-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  font-size: 12px;
}
.v-compare .v-facts .fk {
  color: var(--muted); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 2px;
}
.v-compare .v-note {
  font-size: 12.5px; color: var(--ink-soft); line-height: 1.6;
  font-style: italic;
}
.v-compare .v-price {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: auto;
}
.v-compare .v-price .total {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
}
.v-compare .v-price .pp {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}

/* day schedule */
.schedule-grid {
  border-top: 1px solid var(--hair);
}
.schedule-grid .srow {
  display: grid; grid-template-columns: 90px 1fr 200px;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.schedule-grid .srow .t {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink); letter-spacing: 0.04em;
}
.schedule-grid .srow h4 {
  font-family: var(--serif); font-size: 16px;
  font-weight: 500; margin-bottom: 4px;
}
.schedule-grid .srow p {
  font-size: 13px; color: var(--muted); line-height: 1.55;
}
.schedule-grid .srow .note {
  font-size: 11px; color: var(--muted); text-align: right;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* menu */
.menu-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.menu-cols h4 {
  font-family: var(--serif); font-size: 16px; font-style: italic;
  font-weight: 400;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--hair);
}
.menu-cols ul {
  list-style: none; padding: 0; margin: 0;
}
.menu-cols li {
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
  padding: 6px 0;
}
.menu-cols li em {
  display: block; font-size: 11px; color: var(--muted);
  font-style: normal; margin-top: 2px;
}

/* commercial summary */
.commerce-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.commerce-table th, .commerce-table td {
  padding: 14px 4px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
.commerce-table th {
  text-align: left;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.commerce-table td.r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.commerce-table tfoot td {
  padding-top: 20px; border-top: 2px solid var(--ink); border-bottom: 0;
  font-size: 14px;
}
.commerce-table tfoot td.r { font-family: var(--serif); font-size: 22px; font-weight: 500; }

/* terms & sign-off */
.terms-block {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  font-size: 12.5px; color: var(--ink-soft); line-height: 1.6;
}
.terms-block .tk {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}

.signoff {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.signoff .sig-box {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  min-height: 80px;
  position: relative;
}
.signoff .sig-box .sig-label {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.signoff .sig-box .sig-name {
  font-family: var(--serif); font-style: italic; font-size: 20px;
  color: var(--ink); margin-top: 28px;
  letter-spacing: 0.01em;
}
.signoff .sig-box.signed .sig-name::after {
  content: ""; display: block; width: 60%;
  border-bottom: 1px solid var(--ink); margin-top: 6px;
}

/* planner rail (right side, internal view only) */
.planner-rail {
  position: fixed; right: 20px; top: 120px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 18px 20px;
  z-index: 5;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}
.planner-rail h4 {
  font-family: var(--serif); font-size: 15px;
  padding-bottom: 10px; border-bottom: 1px solid var(--hair);
  margin-bottom: 12px;
}

/* client-view chrome (what the client sees) */
.client-chrome {
  border: 1px dashed var(--sage-700);
  padding: 2px; border-radius: 4px; margin: 20px auto 40px;
  max-width: 1044px;
}
.client-chrome .chrome-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sage-700); color: var(--ivory);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  margin: -12px 0 0 16px;
  position: relative; top: -2px;
}
