/* Westgate Assistant web app, in the same campaign style as the side panel:
   cream paper + grain, ink, red for the primary action, navy for "active",
   square corners, and solid 3D extrusions. Saira headings, WDXL Lubrifont
   labels, 42dot Sans for reading. */
@import url("https://fonts.googleapis.com/css2?family=Saira:wght@500;600;700&family=WDXL+Lubrifont+JP+N&display=swap");
@font-face { font-family: "42dot Sans"; src: url("fonts/42dotSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "42dot Sans"; src: url("fonts/42dotSans-Medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --paper: #e5e0d1;
  --paper-dark: #d7d1c1;
  --white: #ffffff;
  --ink: #111114;
  --ink-line: rgba(17, 17, 20, .25);
  --muted: #53524f;
  --red: #dc0025;
  --red-hover: #ba001f;
  --navy: #001939;
  --green: #0b6b2f;
  --amber: #8a5a00;
  --ext: var(--ink);
  --display: "Saira", Arial, sans-serif;
  --label: "WDXL Lubrifont JP N", Arial, sans-serif;
  --sans: "42dot Sans", Helvetica, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper) url("brand/paper-grain.svg") repeat;
  background-size: 240px 240px;
  color: var(--ink);
  font: 400 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
p, h1, h2, h3 { margin: 0; }
a { color: var(--ink); }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.label { font-family: var(--label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- the sidebar (10/28; it was a top bar) ---------- */
.shell { display: flex; align-items: flex-start; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; flex: none; width: 236px; height: 100vh; overflow-y: auto; z-index: 10;
  display: flex; flex-direction: column; gap: 22px; padding: 20px 14px 18px;
  background: var(--navy); color: var(--paper); border-right: 2px solid var(--ink);
}
.content { flex: 1; min-width: 0; }
.sidetop { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.fold { flex: none; width: 26px; height: 26px; border: 1px solid rgba(229, 224, 209, .35); background: transparent; color: var(--paper); cursor: pointer; font-size: 15px; line-height: 1; padding: 0; }
.fold:hover { border-color: rgba(229, 224, 209, .7); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; min-width: 0; font-family: var(--label); letter-spacing: .18em; text-transform: uppercase; font-size: 14px; }
.brandtext { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; line-height: 1.1; }
.brand { flex: 1; }
.brand img { height: 20px; filter: brightness(0) invert(1); }
.brand .sub { opacity: .7; font-size: 12px; letter-spacing: .12em; }
.who { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 16px 8px 0; border-top: 1px solid rgba(229, 224, 209, .2); font-size: 13px; }
.whoname { font-weight: 600; }
.myline {
  font-family: var(--label); letter-spacing: .08em; font-size: 12px; padding: 5px 9px;
  border: 1px solid rgba(229, 224, 209, .45); background: transparent; color: var(--paper); cursor: pointer;
}
.myline .k { opacity: .65; margin-right: 6px; }
.linkbtn { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; font-size: 13px; text-align: left; }

/* ---------- page ---------- */
main { max-width: 1480px; margin: 0 auto; padding: 20px 24px 60px; display: flex; flex-direction: column; gap: 20px; }
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hello h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: .95; letter-spacing: -.01em; }
.hello h1 em { font-style: normal; color: var(--red); }
.hello p { margin-top: 8px; color: var(--muted); }

section > .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
section > .head h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
section > .head h2 .n { color: var(--red); margin-left: 6px; }
section > .head p { color: var(--muted); font-size: 13.5px; }

/* ---------- 3D extrusion (same polygon as the side panel: corners meet) ---------- */
.x3d { position: relative; isolation: isolate; --d: 5px; }
.x3d::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: calc(-1 * var(--bt, 1px)); left: calc(-1 * var(--bl, 1px));
  width: calc(100% + var(--bl, 1px) + var(--br, 1px) + var(--d));
  height: calc(100% + var(--bt, 1px) + var(--bb, 1px) + var(--d));
  background: var(--ext);
  clip-path: polygon(calc(100% - var(--d)) 0, 100% var(--d), 100% 100%, var(--d) 100%, 0 calc(100% - var(--d)), calc(100% - var(--d)) calc(100% - var(--d)));
}

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; --d: 3px;
  font-family: var(--label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-block; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: -1px; left: -1px;
  width: calc(100% + 2px + var(--d)); height: calc(100% + 2px + var(--d)); background: var(--ext);
  clip-path: polygon(calc(100% - var(--d)) 0, 100% var(--d), 100% 100%, var(--d) 100%, 0 calc(100% - var(--d)), calc(100% - var(--d)) calc(100% - var(--d)));
}
.btn:hover:not(:disabled) { background: #f7f5ee; }
.btn:active:not(:disabled) { transform: translate(3px, 3px); }
.btn:active:not(:disabled)::before, .btn:disabled::before { display: none; }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--red-hover); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.small { font-size: 10.5px; padding: 5px 9px; --d: 2px; }

/* ---------- accounts ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tab {
  border: 1px solid var(--ink); background: transparent; padding: 7px 12px; cursor: pointer;
  font-family: var(--label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
}
.tab .c { margin-left: 6px; opacity: .7; }
.tab.on { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.tab.alert .c { color: var(--red); opacity: 1; font-weight: 700; }
.tab.on.alert .c { color: #ff8a9c; }
.empty { border: 1px dashed var(--ink-line); padding: 18px; color: var(--muted); font-size: 14px; }

/* one line per account; click a row for its history */
.grid { background: var(--white); border: 1px solid var(--ink); font-size: 13.5px; }
.gr {
  display: grid; grid-template-columns: minmax(170px, 1.2fr) 118px 118px minmax(240px, 2.2fr) minmax(180px, 1.5fr) 110px;
  gap: 14px; align-items: center; padding: 7px 12px 7px 10px; border-top: 1px solid var(--ink-line); border-left: 3px solid transparent; cursor: pointer;
}
.gr:hover { background: #faf8f2; }
.gr.open { background: #f6f3ea; }
.gr.gh { position: sticky; top: 50px; z-index: 2; background: var(--paper-dark); cursor: default; border-top: 0; padding-top: 6px; padding-bottom: 6px; }
.gr.k-reply, .gr.k-quote, .gr.k-call_due, .gr.k-rescue { border-left-color: var(--red); }
.gr.k-bump { border-left-color: var(--navy); }
.gr > * { min-width: 0; }
.acct { display: flex; flex-direction: column; line-height: 1.25; }
.acct .co { font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .co:hover { text-decoration: underline; }
.sub2 { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel { color: var(--ink); font-size: 13px; white-space: nowrap; }
.next, .lastev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next .label { margin-right: 2px; font-size: 10.5px; }
.next.reply, .next.quote, .next.call_due, .next.rescue { color: var(--red); font-weight: 600; }
.next.reply .label, .next.quote .label, .next.call_due .label, .next.rescue .label { color: var(--red); }
.ev.rfq .what { font-weight: 600; color: var(--green); }
.next.bump { color: var(--navy); font-weight: 600; }
.lastev { color: var(--muted); font-size: 12.5px; }
.lastev .when { color: var(--ink); }
.acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.chev { color: var(--muted); font-size: 11px; width: 10px; text-align: center; }
.why { font-size: 14px; max-width: 900px; }
.detail { border-top: 1px dashed var(--ink-line); padding: 12px 16px 14px 40px; background: #fbfaf5; display: flex; flex-direction: column; gap: 12px; }

.pill { display: inline-block; font-family: var(--label); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--ink); white-space: nowrap; }
.pill.replied { background: var(--green); color: #fff; border-color: var(--green); }
.pill.opened { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill.hot { background: var(--red); border-color: var(--red); color: #fff; }
.pill.maybe { background: transparent; color: var(--navy); border-color: var(--navy); }
.pill.not_opened { background: transparent; border-style: dashed; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ev { display: grid; grid-template-columns: 18px 56px 1fr; gap: 8px; font-size: 13.5px; color: var(--muted); align-items: baseline; }
.ev .ic { color: var(--ink); text-align: center; }
.ev .what { color: var(--ink); }
.ev.filter .what, .ev.filter .ic { color: var(--amber); }
.ev.reply .what { font-weight: 600; }
.more { align-self: flex-start; color: var(--muted); }

.rescuebox { background: #fbf9f3; border: 2px solid var(--red); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.rescuebox.sent { border-color: var(--green); }
.rescuebox.err { border-color: var(--amber); }
.steps { margin: 0; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.draft { background: var(--white); border: 1px solid var(--ink-line); padding: 10px 12px; }
.draft .body { margin-top: 6px; white-space: pre-wrap; font-size: 14px; }
.say { font-size: 17px; font-weight: 600; margin-top: 4px; }
.small2 { font-size: 12.5px; }
.err { color: var(--red); font-size: 13.5px; }
.fu { background: #f7f5ee; border: 1px solid var(--ink-line); padding: 12px 14px; font-size: 13.5px; white-space: pre-wrap; }
.fu.warn { border-color: var(--amber); }
.fu.err { border-color: var(--red); color: var(--red); }

/* ---------- sign in ---------- */
.signin { max-width: 440px; margin: 12vh auto; background: var(--white); border: 1px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.signin h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 28px; }
.signin input { font: inherit; padding: 10px 12px; border: 1px solid var(--ink); background: #fff; }
.signin .err { color: var(--red); font-size: 13.5px; }

.loading { color: var(--muted); padding: 40px 0; font-family: var(--label); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }

/* The sidebar takes ~240px, so the four-column rows start while the window is still wide (11/10: cells spilled out of the card). */
@media (max-width: 1320px) {
  .gr { grid-template-columns: minmax(150px, 1fr) 110px minmax(200px, 2fr) 90px; }
  .gr > :nth-child(3), .gr > :nth-child(5) { display: none; }
}
@media (max-width: 640px) {
  .gr { grid-template-columns: 1fr auto; }
  .gr > :nth-child(2) { display: none; }
  .gr > .next { grid-column: 1 / -1; white-space: normal; }
  .gr.gh { display: none; }
  .detail { padding-left: 14px; }
  .ev { grid-template-columns: 18px 48px 1fr; }
}
@media (max-width: 560px) {
  main { padding-left: 16px; padding-right: 16px; }
}

/* the Line card column: dot + word */
.seen { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; color: var(--ink); }
.seen i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--navy); }
.seen.s-replied i { background: var(--green); }
.seen.s-replied { color: var(--green); font-weight: 600; }
.seen.s-has i { background: var(--navy); }
.seen.s-maybe i { background: transparent; border: 2px solid var(--navy); width: 9px; height: 9px; box-sizing: border-box; }
.seen.s-not { color: var(--muted); }
.seen.s-not i { background: transparent; border: 1.5px dashed var(--muted); box-sizing: border-box; }
.seen.hot { color: var(--red); font-weight: 600; }
.seen.hot i { background: var(--red); }
.seen.s-bounced { color: var(--red); font-weight: 600; }
.seen.s-bounced i { background: transparent; border: 2px solid var(--red); box-sizing: border-box; }
/* Warmth chip beside the contact: a dot and a word, hover for the points. */
.warmth { display: inline-flex; align-items: center; gap: 5px; margin-right: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); cursor: help; }
.warmth i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: currentColor; }
.warmth.w-hot { color: var(--red); }
.warmth.w-warm { color: #c2611a; }
.warmth.w-cool { color: var(--navy); }
.warmth.w-cold { color: var(--muted); opacity: 0.8; }
.warmth.big { font-size: 13px; margin: 0; }
.navc.hotc { background: var(--red); color: #fff; }

/* Heat map: one tile per account, the colour deepens with the score. */
.heat .heatsum { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 16px; }
.heatk { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--ink-line); background: var(--white); font: inherit; cursor: pointer; }
.heatk b { font-size: 20px; }
.heatk span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.heatk.w-hot { color: var(--red); } .heatk.w-warm { color: #c2611a; } .heatk.w-cool { color: var(--navy); } .heatk.w-cold { color: var(--muted); }
/* The lifted look, same as buttons: an extruded block whose corners meet the box (no notch). */
.heatk, .cardk, .tile { position: relative; isolation: isolate; --d: 3px; --b: 1.5px; }
.heatk.on::before, .cardk.on::before, .tile.on::before, .tile:hover::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: calc(-1 * var(--b)); left: calc(-1 * var(--b));
  width: calc(100% + 2 * var(--b) + var(--d)); height: calc(100% + 2 * var(--b) + var(--d)); background: var(--ext);
  clip-path: polygon(calc(100% - var(--d)) 0, 100% var(--d), 100% 100%, var(--d) 100%, 0 calc(100% - var(--d)), calc(100% - var(--d)) calc(100% - var(--d)));
}
.heatk.on { border-color: currentColor; --ext: currentColor; }
.heatcard { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 12px; }
.cardk { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1.5px solid var(--ink-line); background: var(--white); font: inherit; font-size: 12.5px; cursor: pointer; color: var(--ink); }
.cardk b { font-size: 14px; }
.cardk.on { border-color: var(--ink); --d: 2px; }
.cardk i, .card i { width: 8px; height: 8px; border-radius: 50%; flex: none; box-sizing: border-box; }
.c-opened i { background: var(--green); }
.c-landed i { background: transparent; border: 1.5px dashed currentColor; }
.c-bounced i { background: transparent; border: 2px solid var(--red); }
.tile .card { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; opacity: 0.9; }
.tile .card i { width: 7px; height: 7px; }
.tile .c-opened i { background: #fff; } .tile .c-bounced i { border-color: #fff; }
.dr-card { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.dr-card .card { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.dr-card.c-bounced .card { color: var(--red); } .dr-card.c-opened .card { color: var(--green); }
/* RFQ potential: tier chips and tile sizes. Steady tiles are the big ones. */
.cardk.p-steady b, .tierchip.p-steady { color: var(--red); }
.cardk.p-project b, .tierchip.p-project { color: var(--amber); }
.tierchip { font-family: var(--label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border: 1.5px solid currentColor; color: var(--muted); }
.tile .tier { font-family: var(--label); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; opacity: 0.85; padding: 1px 5px; border: 1px solid rgba(255,255,255,.6); }
.tile.t-steady { grid-column: span 2; min-height: 96px; }
.tile.t-steady .co { font-size: 14.5px; -webkit-line-clamp: 3; }
.tile.t-project { min-height: 80px; }
.tile.t-unknown { background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.14) 6px 8px); }
.dr-pot { margin-top: 10px; padding: 10px 12px; border: 1.5px solid var(--ink-line); }
.dr-pot.p-steady { border-color: var(--red); }
.dr-pot-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dr-pot-head .gist { font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.dr-pot-why { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.dr-pot .askrow { margin-top: 8px; }
.hp-why.pot li { background: var(--paper); }
.dr-pot .unknown { margin: 4px 0 0; color: var(--amber); }
.evid { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.evid .src { color: var(--muted); font-size: 11.5px; }
.askrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.heatband { margin: 0 0 20px; }
.heatlbl { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; }
.heatlbl .why { margin-left: 4px; }
.heatband.w-hot .heatlbl .label { color: var(--red); } .heatband.w-warm .heatlbl .label { color: #c2611a; } .heatband.w-cool .heatlbl .label { color: var(--navy); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 6px; }
.tile { --c: 220, 0, 37; position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 64px; padding: 8px 9px; text-align: left; border: 1.5px solid transparent; font: inherit; cursor: pointer;
  background: rgba(var(--c), calc(var(--heat) * 0.9)); color: var(--white); }
.tile.w-warm { --c: 194, 97, 26; }
.tile.w-cool { --c: 0, 25, 57; }
.tile.w-cold { --c: 83, 82, 79; }
.tile .co { font-size: 12.5px; font-weight: 600; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.tile .sc { font-size: 13px; font-weight: 700; }
.tile .ago { margin-left: auto; font-size: 11px; opacity: 0.85; }
.tile:hover, .tile.on { border-color: var(--ink); }
/* The drawer: slides in from the right, the map shifts over so the tile you picked stays visible. */
/* It sits over the right edge of the map rather than pushing it; tiles underneath stay clickable once it closes, and the picked tile scrolls into view. */
.heat.drawer-open { padding-right: 200px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 520px; max-width: 94vw; overflow-y: auto; padding: 22px 26px 26px; background: var(--white); border-left: 2px solid var(--ink); box-shadow: -6px 0 0 rgba(17, 17, 20, .08); z-index: 30; display: flex; flex-direction: column; gap: 8px; }
.dr-top { display: flex; justify-content: space-between; align-items: center; }
.dr-co { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.dr-co:hover { text-decoration: underline; }
.dr-who { white-space: normal; }
.dr-tel { font-size: 15px; }
.dr-story { margin-top: 10px; padding: 10px 12px; background: var(--paper); }
.dr-story p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; }
.dr-story .dr-do { margin-top: 8px; font-weight: 600; }
.dr-h { margin-top: 10px; color: var(--muted); }
.dr-ev { display: flex; flex-direction: column; gap: 6px; max-height: 40vh; overflow-y: auto; padding-right: 4px; }
.dr-ev .ev { font-size: 13px; }
.dr-nav { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; justify-content: space-between; }
.dr-nav .btn { flex: 1; text-align: center; text-decoration: none; }
.hp-why { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hp-why li { padding: 3px 9px; background: var(--paper); font-size: 12.5px; }
.hp-why li.bad { background: #f7d9de; color: var(--red); }
.hp-why li.fade { background: transparent; border: 1px dashed var(--ink-line); color: var(--muted); }
@media (max-width: 1100px) { .heat.drawer-open { padding-right: 0; } }
@media (max-width: 900px) { .drawer { width: 100vw; max-width: none; } }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } .tile { min-height: 58px; } .tile.t-steady { min-height: 84px; } }

/* automatic emails */
.gr.mgr { grid-template-columns: 130px minmax(200px, 2fr) minmax(150px, 1fr) 100px 70px; }
/* Automatic emails dashboard (10/12) */
.mdash { display: flex; flex-direction: column; gap: 16px; }
.mdash .pagehead { margin-bottom: 0; }
.mtiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.mtile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--white); border: 1px solid var(--ink); text-align: left; font: inherit; color: var(--ink); min-width: 0; }
.mtile.click { cursor: pointer; }
.mtile.click:hover { background: #faf8f2; }
.mtile b { font-family: var(--display); font-size: 32px; line-height: 1; font-weight: 700; }
.mtile .tl { font-weight: 500; font-size: 13.5px; }
.mtile.t-navy b { color: var(--navy); } .mtile.t-green b { color: var(--green); } .mtile.t-red b { color: var(--red); } .mtile.t-muted b { color: var(--muted); }
.mcard { background: var(--white); border: 1px solid var(--ink); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mhead { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mhead h2 { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.stages.side { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 10px; border-top: 1px dashed var(--ink-line); }
.stage { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--ink-line); border-top-width: 4px; background: #fbfaf5; text-align: left; font: inherit; color: var(--ink); cursor: pointer; min-width: 0; }
.stage:hover { background: #f6f3ea; }
.stage.on { border-color: var(--ink); background: #f6f3ea; }
.stage b { font-family: var(--display); font-size: 26px; line-height: 1; font-weight: 700; }
.stage .tl { font-weight: 500; font-size: 13.5px; }
.stage .sub2 { white-space: normal; font-size: 12px; line-height: 1.35; }
.stage .arrow { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: 14px; }
.stage.s-navy { border-top-color: var(--navy); } .stage.s-red { border-top-color: var(--red); } .stage.s-red b { color: var(--red); }
.stage.s-ink { border-top-color: var(--ink); } .stage.s-muted { border-top-color: var(--ink-line); } .stage.s-muted b { color: var(--muted); }
.stage.s-amber { border-top-color: var(--amber); } .stage.s-amber b { color: var(--amber); } .stage.s-green { border-top-color: var(--green); } .stage.s-green b { color: var(--green); }
.stagelist { border-top: 1px solid var(--ink); padding-top: 10px; }
.stagelist .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.stagelist h3 { font-size: 14px; font-weight: 500; }
.slrows { display: flex; flex-direction: column; max-height: 360px; overflow: auto; }
.slrow { display: grid; grid-template-columns: minmax(160px, 1.3fr) minmax(140px, 1fr) minmax(180px, 1.6fr) minmax(120px, .9fr); gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--ink-line); font-size: 13.5px; }
.slrow > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slrow .co { font-weight: 500; text-decoration: none; }
.slrow .co:hover { text-decoration: underline; }
.sl-step.hot { color: var(--red); font-weight: 500; }
.sl-step.cold { color: var(--amber); }
.slrow .bad { color: var(--red); }
.slrow.taskrow { grid-template-columns: 70px minmax(150px, 1fr) minmax(200px, 2fr); }
.sub2.wrap { white-space: normal; }
.mcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.cal { display: flex; gap: 6px; align-items: flex-end; overflow-x: auto; padding-bottom: 2px; }
.calday { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 52px; padding: 6px 4px; border: 1.5px solid transparent; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.calday:hover { background: #faf8f2; }
.calday.on { border-color: var(--ink); background: #f6f3ea; }
.calday .bar { width: 22px; background: var(--navy); display: block; }
.calday.today .bar { background: var(--red); }
.calday .n { font-size: 13px; font-weight: 500; }
.calday .dl { font-family: var(--label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.calday .sub2 { font-size: 11.5px; }
.steppill { justify-self: start; font-size: 12px; padding: 2px 8px; border: 1px solid var(--ink-line); background: #fbfaf5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mhow { background: var(--white); border: 1px solid var(--ink); padding: 10px 16px; }
.mhow summary { cursor: pointer; font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.mhow ol { margin: 10px 0 4px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.mhow .library { margin-top: 10px; }
.mhow summary .hint { font-family: var(--sans); letter-spacing: 0; text-transform: none; margin-left: 12px; }
.memescard { margin-top: 14px; }
.memecard.skipped .pic img { opacity: .45; }
.memecard .pill.off { background: var(--ink); color: var(--white); }
.memecard .meta { flex-wrap: wrap; }
.memecard .meta .acts { flex-wrap: wrap; justify-content: flex-start; row-gap: 2px; }
.cmpenroll { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--ink); padding: 12px 16px; margin: 10px 0 14px; }
.cmpenroll-h { display: flex; flex-direction: column; gap: 2px; }
.cmpenroll .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cmpenroll .chip3.on { display: inline-flex; align-items: center; gap: 6px; }
.cmpenroll .chip3 .x { border: 0; background: none; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; color: var(--ink); }
.cmpfind { position: relative; }
.cmphits { display: flex; flex-direction: column; border: 1px solid var(--ink-line); border-top: 0; background: var(--white); }
.cmphits:empty { display: none; }
.cmphit { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 0; border-top: 1px solid var(--ink-line); background: none; text-align: left; cursor: pointer; font: inherit; }
.cmphit:hover { background: rgba(0, 0, 0, .04); }
.memescard .library { margin-top: 0; border: 0; padding: 0; }
.memescard .library > .head { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.memescard .library > .head > div { flex: 1; min-width: 0; }
.memescard .library > .head > .btn { flex: none; }
.memescard .library > .head .sub2 { margin-top: 2px; white-space: normal; }
.memescard .library.over { outline: 1.5px dashed var(--red); outline-offset: 8px; }
.mlist { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 60px; }
.coolrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .mtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages, .stages.side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stage .arrow { display: none; }
  .mcols { grid-template-columns: 1fr; }
  .slrow { grid-template-columns: 1fr 1fr; }
  .gr.mgr { grid-template-columns: 1fr 1fr; }
}
.mstatus { font-family: var(--label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.mstatus.scheduled { color: var(--navy); }
.mstatus.sent { color: var(--green); }
.mstatus.skipped, .mstatus.stopped { color: var(--muted); }
.mstatus.failed { color: var(--red); }
.switch { display: inline-flex; align-items: center; gap: 7px; font-family: var(--label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.switch i { width: 10px; height: 10px; border-radius: 50%; background: transparent; border: 1.5px solid var(--muted); }
.switch.on { color: var(--green); }
.switch.on i { background: var(--green); border-color: var(--green); }
.small3 { font-size: 13px; margin: -6px 0 10px; }
@media (max-width: 1240px) {
  .gr.mgr { grid-template-columns: 100px minmax(150px, 1fr) minmax(180px, 2fr) 80px; }
  .gr.mgr > :nth-child(3), .gr.mgr > :nth-child(5) { display: none; }
}
.mstatus.planned { color: var(--muted); }
.mstatus.held { color: var(--amber); }
.whenf { display: flex; flex-direction: column; line-height: 1.25; }
.offnote { font-size: 13px; color: var(--amber); margin: -6px 0 6px; }

/* the pages, down the sidebar */
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button {
  background: none; border: 1px solid transparent; color: var(--paper); cursor: pointer; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  font-family: var(--label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 10px;
}
.nav button:hover { border-color: rgba(229, 224, 209, .3); }
.nav button.on { border-color: rgba(229, 224, 209, .55); background: rgba(229, 224, 209, .1); }
.navc { margin-left: auto; font-size: 11px; background: var(--paper); color: var(--navy); padding: 0 5px; }
.navicon { flex: none; opacity: .85; }
.nav button.on .navicon { opacity: 1; }
/* Folded: a rail of icons, the counts tucked on them, your initials at the bottom. */
.sidebar.folded { width: 64px; padding-left: 10px; padding-right: 10px; }
.sidebar.folded .sidetop { flex-direction: column; gap: 10px; }
.sidebar.folded .brand { padding: 0; }
.sidebar.folded .brandtext, .sidebar.folded .navlabel { display: none; }
.sidebar.folded .nav button { position: relative; justify-content: center; padding: 10px 0; }
.sidebar.folded .navc { position: absolute; top: 2px; right: 2px; margin: 0; font-size: 10px; padding: 0 4px; }
.sidebar.folded .who { align-items: center; padding-left: 0; padding-right: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(229, 224, 209, .6); background: transparent; color: var(--paper); cursor: pointer; font-family: var(--label); font-size: 13px; letter-spacing: .06em; }
.foldext { font-family: var(--label); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.foldext.extbehind { padding: 2px 7px; }
/* A phone or a narrow window: the sidebar becomes a bar across the top, the pages scroll sideways. */
@media (max-width: 900px) {
  .shell { display: block; }
  .sidebar { position: static; width: auto; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 14px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .nav { flex-direction: row; flex: 1; order: 3; width: 100%; overflow-x: auto; gap: 4px; padding-bottom: 2px; }
  .nav button { width: auto; white-space: nowrap; padding: 6px 10px; }
  .navc { margin-left: 0; }
  .who { margin: 0 0 0 auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; border: 0; }
  .fold { display: none; }
  .sidebar.folded { width: auto; padding: 10px 14px; }
  .sidebar.folded .brandtext, .sidebar.folded .navlabel { display: inline; }
  .sidebar.folded .sidetop { flex-direction: row; }
  .sidebar.folded .nav button { padding: 6px 10px; }
  .sidebar.folded .navc { position: static; }
}
.pagehead { align-items: center; margin-bottom: 8px; }
.ptitle { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: 1; }

/* stats: pick a period */
.statsbar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: -4px; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button { font-family: var(--label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: transparent; border: 0; border-left: 1px solid var(--ink); padding: 7px 11px; cursor: pointer; color: var(--ink); }
.seg button:first-child { border-left: 0; }
.seg button.on { background: var(--navy); color: var(--paper); }
.pstats { display: flex; gap: 26px; flex-wrap: wrap; }
.pstat { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; background: none; border: 0; border-bottom: 2px solid transparent; padding: 2px 2px 4px; cursor: pointer; color: var(--ink); text-align: left; }
.pstat:hover { border-bottom-color: var(--ink-line); }
.pstat.on { border-bottom-color: var(--red); }
.pstat .v { font-family: var(--display); font-weight: 700; font-size: 24px; }
.pstat .label { font-size: 10px; }
.pstat .sub2 { font-size: 11.5px; }
.draftchip { font-family: var(--label); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.draftchip.ready { color: var(--red); }

/* the rows behind a stat */
.statsbar { flex-wrap: wrap; }
.dwrap { flex-basis: 100%; background: var(--white); border: 1px solid var(--ink); padding: 12px 14px; }
.dhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dscroll { max-height: 420px; overflow: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.dtable th { position: sticky; top: 0; background: var(--paper-dark); text-align: left; font-family: var(--label); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 6px 8px; }
.dtable td { padding: 6px 8px; border-top: 1px solid var(--ink-line); vertical-align: top; }
.dtable td a { color: var(--ink); font-weight: 600; text-decoration: none; }
.dtable td a:hover { text-decoration: underline; }
.dtable tr:hover td { background: #faf8f2; }
/* Accounts in sections, in the order to work them (9/29) */
.sects { display: flex; flex-direction: column; gap: 22px; }
.secthead { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 2px 8px; }
.secthead h3 { font-family: var(--label); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.secthead h3 .c { margin-left: 8px; color: var(--red); }
.sect-later .secthead, .sect-today .secthead, .sect-rest .secthead { cursor: pointer; }
.sect-later .secthead h3 .c, .sect-today .secthead h3 .c, .sect-rest .secthead h3 .c { color: var(--muted); }
.sect-later .secthead .btn, .sect-today .secthead .btn, .sect-rest .secthead .btn { margin-left: auto; }
.gotit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
/* RFQs in: everyone who's converted (9/29) */
.sect-rfqs .secthead h3 .c { color: var(--green); }
.rfqgrid .gr { grid-template-columns: minmax(180px, 2fr) 80px minmax(160px, 2.2fr) 120px minmax(180px, 2fr); }
.rfqgrid .files { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pobadge { display: inline-block; font-family: var(--label); font-size: 10.5px; letter-spacing: .08em; padding: 1px 6px; margin-right: 6px; background: var(--green); color: #fff; }
.rfqst { font-weight: 600; font-size: 14px; }
.rfqst.st-price { color: var(--red); }
.rfqst.st-reply { color: var(--red); }
.rfqst.st-quoted { color: var(--green); }
.rfqgrid .gr { cursor: default; }
/* RFQs page (9/29) */
.rfqnote { margin: 0 2px; font-size: 14px; color: var(--muted); }
.rfqnote a { color: var(--green); font-weight: 600; }
.rfqgrid .gr { grid-template-columns: minmax(180px, 1.6fr) minmax(170px, 1.8fr) minmax(170px, 1.6fr) 150px 90px; cursor: default; }
.rfqin { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rfqst { display: block; font-weight: 600; font-size: 14px; }
.waiting { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.waiting i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.w-you { color: var(--red); }
.w-westgate { color: #a86a00; }
.w-buyer { color: var(--navy); }
.w-done { color: var(--muted); }
.rfqedit { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rfqedit select, .rfqedit input { font: inherit; font-size: 14px; padding: 7px 9px; border: 1px solid var(--ink); background: var(--white, #fff); }
.rfqedit input { flex: 1; min-width: 240px; }
/* RFQs over time (9/29): one line, the running total */
.rfqline { background: var(--white); border: 1px solid var(--ink); padding: 18px 20px 14px; margin: 6px 0 20px; }
.rfqh { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.rfqhero { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 8px; }
.rfqhero .big { font-size: 44px; font-weight: 700; line-height: 1; color: var(--ink); }
.rfqtiles { display: flex; gap: 10px; flex-wrap: wrap; }
.rfqtile { display: flex; flex-direction: column; min-width: 104px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); border-radius: 8px; background: var(--white); font-size: 13px; }
.rfqtile b { font-size: 26px; line-height: 1.1; color: var(--green); }
.rfqtile .sub2 { font-size: 12px; }
.rfqtile-total b { color: var(--muted); }
.rfqall { margin: 6px 0 0; font-size: 13px; }
.rfqweeks { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.rfqplot { position: relative; }
.rfqsvg { width: 100%; height: auto; display: block; overflow: visible; }
.rfqsvg .grid { stroke: var(--ink-line); stroke-width: 1; stroke-dasharray: 2 4; }
.rfqsvg .base { stroke: var(--ink); stroke-width: 1; }
.rfqsvg .tick { font-size: 11px; fill: var(--muted); font-family: inherit; }
.rfqsvg .line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rfqsvg .dot { fill: var(--green); stroke: var(--white); stroke-width: 2; }
.rfqsvg .endlabel { font-size: 13px; font-weight: 700; fill: var(--ink); }
.rfqsvg .hair { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.rfqsvg .focus { fill: var(--green); stroke: var(--white); stroke-width: 2; }
.rfqsvg .hit { fill: transparent; cursor: crosshair; outline: none; }
.rfqsvg .hit:focus-visible { stroke: var(--ink); stroke-width: 1; }
.rfqtip { position: absolute; pointer-events: none; min-width: 170px; max-width: 220px; background: var(--white); border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 8px 10px; font-size: 13px; display: flex; flex-direction: column; gap: 3px; z-index: 3; }
.rfqtip[hidden] { display: none; }
.rfqtip .tipday { font-family: var(--label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rfqtable { margin-top: 10px; font-size: 13.5px; }
.rfqtable summary { cursor: pointer; color: var(--muted); }
.rfqtable table { border-collapse: collapse; margin-top: 8px; width: 100%; }
.rfqtable th, .rfqtable td { text-align: left; padding: 5px 10px 5px 0; border-bottom: 1px solid var(--ink-line); }
@media (max-width: 600px) { .rfqline { padding: 14px 12px; } .rfqhero .big { font-size: 36px; } }
.rfqtip p { white-space: normal; overflow: visible; text-overflow: clip; }
/* Touch tally in an opened account (9/29) */
.touches { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 2px 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--ink-line); }
.tstat { display: flex; align-items: baseline; gap: 5px; font-size: 13.5px; color: var(--muted); }
.tstat b { font-size: 20px; color: var(--ink); }
.tstat.good b { color: var(--green); }
.tdates { flex-basis: 100%; font-size: 13px; }
/* Memes in the automatic bumps (9/30) */
.macct { display: flex; flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
/* The name and the subject stack, each on its own line, clipped with an ellipsis instead of running into the next column. */
.macct > div { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.macct .co, .macct .sub2 { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.memethumb { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--ink-line); flex: none; }
.bumpprev { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.bumpmail { background: var(--white); border: 1px solid var(--ink-line); padding: 14px 16px; max-width: 520px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.bumpmail p { margin: 0; }
.memeimg { width: 100%; max-width: 480px; height: auto; display: block; }
.bumpprev .row { display: flex; gap: 12px; align-items: center; }
.memegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; max-width: 760px; }
.memeopt { position: relative; padding: 0; border: 2px solid transparent; background: var(--white); cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.memeopt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.memeopt.on { border-color: var(--green); }
.memeopt.seen { opacity: .35; cursor: not-allowed; }
.memeopt span { position: absolute; left: 4px; bottom: 4px; background: var(--ink); color: #fff; font-size: 11px; padding: 1px 5px; }
.testnote { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid #c98a00; border-left-width: 4px; background: rgba(201, 138, 0, .1); padding: 10px 14px; margin: 8px 0 12px; font-size: 14px; }
.testnote p { margin: 0; max-width: 760px; }

/* The meme library on the Automatic emails page: a grid of cards, drop files anywhere on it. */
.library { margin-top: 28px; padding: 14px 16px; border: 1.5px dashed var(--ink-line); }
.library.over { border-color: var(--red); background: rgba(220, 0, 37, .04); }
.library h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.library .libmsg { color: var(--navy); }
.memegrid.lib { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); max-width: none; gap: 12px; margin-top: 10px; }
.memecard { background: var(--white); border: 1.5px solid var(--ink-line); display: flex; flex-direction: column; }
.memecard img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.memecard .name { font: inherit; font-size: 13px; font-weight: 600; text-align: left; padding: 6px 8px 2px; background: none; border: 0; cursor: text; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.memecard .name:hover { text-decoration: underline; }
.memecard .rename { margin: 4px 6px 0; padding: 4px 6px; font: inherit; font-size: 13px; border: 1.5px solid var(--red); }
.memecard .meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding: 2px 8px 8px; font-size: 11.5px; }
.staging { margin: 10px 0 16px; padding: 12px 14px; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.staging .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.staging h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 15px; }
.staging .row { display: flex; gap: 8px; }
.memecard.dupe { border-color: var(--red); }
.memecard .rename { width: calc(100% - 12px); }
.memecard .mstats { display: flex; flex-wrap: wrap; gap: 3px 10px; padding: 0 8px 8px; font-size: 11.5px; color: var(--muted); }
.memecard .mstats span { white-space: nowrap; }
.memecard .mstats b { font-size: 12.5px; color: var(--ink); }
.memecard .mstats .good b { color: var(--green); }
.memecard .pic { position: relative; }
.memecard .pic .pill { position: absolute; left: 6px; top: 6px; background: var(--navy); color: var(--paper); border-color: var(--navy); }
.memecard .pic .pill.team { left: auto; right: 6px; background: var(--paper); color: var(--navy); }
.memecard.theirs { border-style: dashed; }
.memecard span.name { display: block; padding: 6px 8px 2px; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.memegrid .grouph { grid-column: 1 / -1; margin: 6px 0 -2px; font-family: var(--label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.library label.check { display: flex; align-items: center; gap: 6px; margin: 4px 0 10px; }
.memecard .meta .acts { display: flex; flex-wrap: wrap; gap: 2px 8px; }

/* The text editor (Walt 11/10): the meme large, boxes dragged onto it, the text beside it, drawn live. */
.memeedit-back { position: fixed; inset: 0; z-index: 40; background: rgba(17, 17, 20, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.memeedit { background: var(--paper) url("brand/paper-grain.svg") repeat; background-size: 240px 240px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: flex; flex-direction: column; }
.memeedit .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--ink); background: var(--white); }
.memeedit h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 17px; }
.memeedit .body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; padding: 16px; }
.memeedit .stage { position: relative; align-self: start; background: var(--white); border: 1px solid var(--ink); cursor: crosshair; touch-action: none; user-select: none; line-height: 0; }
.memeedit .stage img { width: 100%; height: auto; display: block; pointer-events: none; }
.memeedit .spotbox { position: absolute; border: 2px dashed var(--red); background: rgba(220, 0, 37, .06); cursor: move; box-sizing: border-box; }
.memeedit .spotbox.on { border-style: solid; background: rgba(220, 0, 37, .1); }
.memeedit .spotbox .tag { position: absolute; left: -2px; top: -20px; font-family: var(--label); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: 4px 6px; background: var(--red); color: #fff; white-space: nowrap; }
.memeedit .spotbox .grip { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; background: var(--white); border: 2px solid var(--red); cursor: nwse-resize; }
.memeedit .side { display: flex; flex-direction: column; gap: 8px; align-self: start; }
.memeedit .side .label { margin-top: 4px; }
.memeedit textarea { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--ink); background: var(--white); resize: vertical; width: 100%; }
.memeedit .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.memeedit .chips .chip3 { cursor: pointer; font-family: ui-monospace, Menlo, monospace; font-size: 12px; border-color: var(--ink); }
.memeedit .chips .chip3:hover { background: #f7f5ee; }
.memeedit .small3 { margin: 0; }
.memeedit .small3.wrap { white-space: normal; line-height: 1.35; font-size: 12.5px; }
.memeedit .edmsg { color: var(--navy); min-height: 1em; }
.memeedit .row { display: flex; gap: 10px; margin-top: 6px; }
@media (max-width: 760px) { .memeedit .body { grid-template-columns: 1fr; } }

/* Last contact by you, on the tile and in the drawer (10/7). */
.tile .you { font-size: 10.5px; opacity: .9; }
.tile .you.touched { opacity: 1; text-decoration: underline; }
.tile .you.reached { opacity: 1; font-weight: 700; }
.dr-touch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 13.5px; }
.chip3 { display: inline-flex; align-items: center; font-size: 12px; padding: 2px 8px; border: 1px solid var(--ink-line); background: var(--white); }
.chip3.good { color: var(--green); border-color: rgba(11, 107, 47, .45); }
.chip3.warn { color: var(--amber); border-color: rgba(138, 90, 0, .45); }
.chip3.soft { color: var(--muted); }
.cardk.d-reached b, .cardk.d-wrote b { color: var(--green); }
.cardk.d-called b, .cardk.d-emailed b { color: var(--amber); }
.heatq { flex: 1; min-width: 200px; max-width: 460px; padding: 8px 10px; font: inherit; font-size: 14px; border: 1.5px solid var(--ink-line); background: var(--white); }
.heatq:focus { outline: none; border-color: var(--ink); }
.dr-cool { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding: 8px 10px; border: 1.5px dashed var(--ink-line); }
.dr-cool.on { border-style: solid; border-color: var(--amber); }
.dr-cool .askrow { margin: 0; }

/* quiet time on the heat map (10/7) */
.tile .quiet { font-family: var(--label); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; flex-basis: 100%; }
.tile .quiet.due { opacity: 1; font-weight: 700; }
.tile.fresh { opacity: .45; }
.tile.fresh:hover, .tile.fresh.on { opacity: 1; }
.heatlbl .fresht { margin-left: auto; font-size: 12px; }
.memenow .good { color: var(--green); }
.memenow .bad { color: var(--red); }

/* first-time RFQs (10/8) */
.rfqnew b { color: var(--green); }
.newbadge { display: inline-block; margin-right: 6px; padding: 0 6px; font-family: var(--label); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--green); }
/* The drawer's company name copies on click (10/12) */
button.dr-co { background: none; border: 0; padding: 0; text-align: left; cursor: copy; display: block; }
button.dr-co[data-copied]::after { content: "Copied"; margin-left: 10px; font-family: var(--label); font-size: 12px; letter-spacing: .1em; color: var(--green); vertical-align: middle; }
.dr-open { display: inline-block; font-size: 13px; }
/* Paused accounts on the heat map (10/12) */
.heatband.paused .heatlbl .linkbtn { margin-left: auto; }
.pausedlist { display: flex; flex-direction: column; border-top: 1px solid var(--ink-line); }
.prow { display: grid; grid-template-columns: minmax(180px, 1.3fr) 150px 90px 3fr; gap: 12px; align-items: baseline; padding: 6px 4px; border-bottom: 1px solid var(--ink-line); font-size: 13.5px; }
.prow .co { font-weight: 600; color: var(--ink); text-decoration: none; }
.prow .pk { font-family: var(--label); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.prow.p-out .pk { color: var(--red); }
.prow .pw { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) { .prow { grid-template-columns: 1fr 1fr; } .prow .pw { grid-column: 1 / -1; white-space: normal; } }

/* Tasks tab (10/14) */
.trows { display: flex; flex-direction: column; }
.trow { display: grid; grid-template-columns: 150px minmax(160px, 1fr) minmax(240px, 2.4fr) 64px; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--ink-line); font-size: 13.5px; }
.trow > * { min-width: 0; }
.trow .co { font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .co:hover { text-decoration: underline; }
.trow .twhen { color: var(--muted); }
.ttext summary { cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; list-style: none; }
.ttext summary::-webkit-details-marker { display: none; }
.ttext[open] summary { white-space: normal; }
.tday { margin: 10px 0 2px; }
.tover > summary { cursor: pointer; }
.h2like { font-family: var(--label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .trow { grid-template-columns: 1fr 64px; } .trow .twhen, .trow .co { grid-column: 1; } }

/* ---------- Heat map v3 (10/14) ---------- */
.hv3 { display: flex; flex-direction: column; gap: 14px; }
.hv3 .pagehead { margin-bottom: 0; }
.hlede { max-width: 860px; font-size: 13.5px; }
.hstrip { display: flex; height: 66px; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: var(--white); }
.hseg { flex-basis: 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 14px; border: 0; border-right: 1.5px solid var(--ink); font: inherit; text-align: left; cursor: pointer; color: var(--ink); overflow: hidden; }
.hseg:last-child { border-right: 0; }
.hseg b { font-family: var(--display); font-size: 28px; line-height: 1; font-weight: 700; }
.hseg span { font-family: var(--label); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hseg.b-today, .hseg.b-expecting { background: var(--red); color: #fff; }
.hseg.b-likely { background: #f0a53a; color: #3a2300; }
.hseg.b-week, .hseg.b-dial { background: #f4dfb0; color: #5c3b00; }
.hseg.b-emails { background: #f3f0e6; }
.hseg.b-off { background: var(--paper-dark); color: var(--muted); }
.hseg:hover { filter: brightness(.96); }
.hchips { display: flex; gap: 8px; flex-wrap: wrap; }
.hchip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1.5px solid var(--ink-line); background: var(--white); font: inherit; font-size: 12.5px; cursor: pointer; color: var(--ink); }
.hchip b { font-size: 12px; color: var(--muted); }
.hchip.on { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.hchip.on b { color: var(--paper); opacity: .8; }
.hsec { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 70px; }
.hhead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hhead h2 { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.hhead > b { font-family: var(--display); font-size: 22px; color: var(--red); }
#hb-likely .hhead > b, #hb-dial .hhead > b { color: var(--amber); }
.hcard.b-likely { border-left-color: #f0a53a; }
.hcard.b-likely.on { background: #fff8ee; }
.hrow.b-dial .hbar { background: var(--amber); }
.dr-heat.b-likely { border-left-color: #f0a53a; background: #fff5e6; }
.dr-heat.b-likely strong { color: #3a2300; }
.dr-heat.b-dial { border-left-color: var(--amber); background: #fbf3df; }
.dr-heat.b-dial strong { color: #5c3b00; }
/* Who they are (11/11): the ICP tier in a box, the segment and state beside it. */
.hfit { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hfit b { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border: 1.5px solid var(--ink); font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--ink); background: var(--white); }
.hfit.f-A b { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.hfit.f-B b { background: #e3e8ef; border-color: var(--navy); color: var(--navy); }
.hfit.f-Avoid b { background: var(--paper-dark); border-color: var(--ink-line); color: var(--muted); }
.hfit.f-Unknown b { border-style: dashed; color: var(--muted); }
.hsegs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hsegs .label { margin-right: 4px; }
.hsegchip .sub2 { font-size: 11px; }
.hsegs-note { max-width: 860px; }
.hcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.hcard { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 12px 14px 11px; background: var(--white); border: 1.5px solid var(--ink); border-left: 7px solid var(--red); box-shadow: 4px 4px 0 var(--ink); font: inherit; color: var(--ink); cursor: pointer; min-width: 0; transition: transform .08s, box-shadow .08s; }
.hcard:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.hcard:active, .hcard.on { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.hcard.on { background: #fff6f7; }
.htop { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.htop .co { font-weight: 700; font-size: 15px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hwhy { color: #b0001e; font-weight: 700; font-size: 14px; line-height: 1.35; }
.htags { display: flex; gap: 5px; flex-wrap: wrap; }
.htag { font-family: var(--label); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--ink-line); background: #fbfaf5; color: var(--muted); }
.hfoot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px dashed var(--ink-line); padding-top: 7px; margin-top: auto; }
.htel { font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 2px 7px; border: 1px solid var(--ink-line); white-space: nowrap; }
.htel:hover { border-color: var(--ink); background: #f7f5ee; }
.pips { display: inline-flex; gap: 3px; flex: none; padding-top: 3px; }
.pips i { width: 7px; height: 7px; border: 1.5px solid var(--ink); background: transparent; }
.pips i.on { background: var(--ink); }
.hrows { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--ink); }
.hrow { display: grid; grid-template-columns: 6px minmax(170px, 1.2fr) minmax(220px, 2.8fr) minmax(46px, 190px) 132px; gap: 14px; align-items: center; padding: 9px 14px 9px 0; border: 0; border-top: 1px solid var(--ink-line); background: none; font: inherit; font-size: 13.5px; text-align: left; color: var(--ink); cursor: pointer; }
.hrow:first-child { border-top: 0; }
.hrow:hover, .hrow.on { background: #faf6ea; }
.hrow > * { min-width: 0; }
.hrow .co { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hwhy2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.hbar { align-self: stretch; background: var(--amber); }
.hrow.b-emails .hbar { background: var(--ink-line); }
.hrow.b-off .hbar { background: var(--paper-dark); }
.hrow.b-emails .hwhy2, .hrow.b-off .hwhy2 { color: var(--muted); }
.hrow .htel { justify-self: end; }
.hband { background: transparent; }
.hband > summary { display: flex; align-items: baseline; gap: 10px; cursor: pointer; padding: 6px 0; list-style: none; }
.hband > summary::-webkit-details-marker { display: none; }
.hband > summary::before { content: "▸"; font-size: 13px; color: var(--muted); }
.hband[open] > summary::before { content: "▾"; }
.hlbl { font-family: var(--display); font-size: 18px; font-weight: 700; text-transform: uppercase; }
.hband > summary b { font-family: var(--display); font-size: 18px; color: var(--muted); }
.hband .hrows { margin-top: 6px; }
.dr-heat { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1.5px solid var(--ink); border-left: 7px solid var(--red); background: #fff6f7; }
.dr-heat strong { color: #b0001e; font-size: 14px; line-height: 1.35; }
.dr-heat.b-week { border-left-color: var(--amber); background: #fbf3df; }
.dr-heat.b-week strong { color: #5c3b00; }
.dr-heat.b-emails, .dr-heat.b-off { border-left-color: var(--ink-line); background: #fbfaf5; }
.dr-heat.b-emails strong, .dr-heat.b-off strong { color: var(--ink); }
@media (max-width: 760px) {
  .hstrip { height: 58px; }
  .hseg { padding: 0 8px; }
  .hseg b { font-size: 22px; }
  .hrow { grid-template-columns: 6px 1fr auto; row-gap: 2px; }
  .hrow .hwhy2 { grid-column: 2 / -1; grid-row: 2; white-space: normal; }
  .hrow .pips, .hrow .hfit span { display: none; }
}
.hcard.done { opacity: .5; box-shadow: 2px 2px 0 var(--ink-line); border-left-color: var(--ink-line); }
.hcard.done .hwhy { color: var(--muted); }
.hdone { flex: none; font-family: var(--label); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); padding: 1px 6px; }
.hseg { min-width: 86px; }
@media (max-width: 760px) { .hseg { min-width: 66px; } .hseg span { font-size: 9.5px; letter-spacing: .06em; white-space: normal; line-height: 1.15; } }
/* The app's mitered 3D edge (the same one as .btn and .x3d), so the corners join (10/14). */
.hcard, .hstrip { position: relative; isolation: isolate; box-shadow: none; --d: 5px; }
.hcard:hover, .hcard:active, .hcard.on { box-shadow: none; }
.hcard::before, .hstrip::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; background: var(--ink);
  clip-path: polygon(calc(100% - var(--d)) 0, 100% var(--d), 100% 100%, var(--d) 100%, 0 calc(100% - var(--d)), calc(100% - var(--d)) calc(100% - var(--d)));
}
/* Card: 7px red left edge, 1.5px elsewhere. */
.hcard::before { top: -1.5px; left: -7px; width: calc(100% + 8.5px + var(--d)); height: calc(100% + 3px + var(--d)); }
.hstrip::before { top: -1.5px; left: -1.5px; width: calc(100% + 3px + var(--d)); height: calc(100% + 3px + var(--d)); }
.hcard { transition: transform .08s; }
.hcard:hover { transform: translate(-1px, -1px); --d: 6px; }
.hcard:active, .hcard.on { transform: translate(4px, 4px); --d: 1px; }
.hcard.done { --d: 3px; }
.hcard.done::before { background: var(--ink-line); }

/* The email thread in the drawer (10/14): a conversation in its own scrolling panel */
.dr-thread2 { display: flex; flex-direction: column; gap: 8px; }
.thead { display: flex; align-items: baseline; gap: 10px; }
.thead .linkbtn { margin-left: auto; }
.tpanel { position: relative; max-height: 62vh; min-height: 220px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px;
  padding: 14px 12px; background: #f1ede1; border: 1.5px solid var(--ink); box-shadow: inset 0 1px 0 rgba(0,0,0,.04); scrollbar-width: thin; }
.tpanel-msg { padding: 18px 12px; background: #f1ede1; border: 1.5px solid var(--ink); }
.tday2 { display: flex; align-items: center; gap: 10px; margin: 4px 0 -2px; color: var(--muted); font-family: var(--label); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.tday2::before, .tday2::after { content: ""; flex: 1; height: 1px; background: var(--ink-line); }
.tsubj { align-self: center; max-width: 90%; text-align: center; font-size: 12px; color: var(--muted); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bub { max-width: 86%; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1.5px solid var(--ink); background: var(--white); }
.bub.in { align-self: flex-start; border-left: 5px solid var(--green); }
.bub.out { align-self: flex-end; background: #e9eef6; border-color: var(--navy); border-right: 5px solid var(--navy); }
.bub.sched { border-style: dashed; opacity: .85; }
.bhead { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.bwho { font-weight: 700; font-size: 13px; }
.bub.out .bwho { color: var(--navy); }
.bub.in .bwho { color: var(--green); }
.bwhen { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.btext { font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.bfiles { display: flex; gap: 6px; flex-wrap: wrap; }
.bfile { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 8px; border: 1px solid var(--ink-line); background: #fbfaf5; }
.bfile::before { content: "📎"; font-size: 11px; }
.bfoot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-height: 0; }
.bfoot:empty { display: none; }
.bopen { font-family: var(--label); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bopen.yes { color: var(--green); }
.bquote { font-size: 12.5px; line-height: 1.45; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; border-top: 1px dashed var(--ink-line); padding-top: 8px; max-height: 260px; overflow-y: auto; }
.bsig { font-size: 12.5px; line-height: 1.45; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; border-left: 2px solid var(--ink-line); padding-left: 8px; }
.bsigt { align-self: flex-start; margin-top: -2px; }
.hseg.b-later { background: #e3e8ef; color: var(--navy); }
.hrow.b-later .hbar { background: var(--navy); opacity: .45; }
.hrow.b-later .hwhy2 { color: var(--navy); }
.dr-heat.b-later { border-left-color: var(--navy); background: #eef2f7; }
.dr-heat.b-later strong { color: var(--navy); }
.hquote { font-style: italic; font-size: 13px; line-height: 1.4; color: var(--ink); border-left: 3px solid var(--red); padding: 2px 0 2px 9px; background: #fff6f7; }
.dr-heat .hquote { background: transparent; }

/* guest links (10/15) */
.gnew { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 18px; padding: 14px; background: var(--white); border: 1.5px solid var(--ink-line); }
.gnew .heatq { flex: 1 1 260px; }
.glinkrow { display: flex; gap: 8px; width: 100%; }
.glink { flex: 1; font: inherit; font-size: 13px; padding: 8px 10px; border: 1.5px solid var(--ink); background: var(--paper); }
.glist2 { display: flex; flex-direction: column; gap: 10px; }
.gitem { background: var(--white); border: 1.5px solid var(--ink-line); padding: 12px 14px; }
.gitem.off { opacity: .6; }
.gi-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.gi-head .btn { margin-left: auto; }
.gi-sends { margin-top: 8px; font-size: 13px; }
.gi-sends ul { margin: 6px 0 0; padding-left: 18px; }
.gi-list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 8px; font-size: 13px; }
.gi-oc { font-family: var(--label); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border: 1px solid var(--ink-line); }
/* who each guest has (11/10) */
.gi-leads { margin-top: 8px; font-size: 13px; }
.gi-leads > summary { cursor: pointer; font-family: var(--label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.gleads { margin-top: 8px; }
.gleads-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 8px; }
.gleads-bar .heatq { flex: 1 1 220px; max-width: 340px; }
.gleads-bar .tabs { margin: 0; }
.gleads-scroll { max-height: 440px; overflow: auto; border: 1px solid var(--ink-line); }
.gleads table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.gleads th { position: sticky; top: 0; background: var(--paper-dark); font-family: var(--label); font-weight: 400; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; text-align: left; padding: 6px 8px; }
.gleads td { padding: 5px 8px; border-top: 1px solid var(--ink-line); vertical-align: top; }
.gleads tr.called td { background: rgba(11, 107, 47, .04); }
.gleads td .what { display: block; font-size: 11.5px; }
.gleads td.notes { max-width: 260px; }

/* Chrome extension page (10/19). */
.extpage .extsteps { margin: 8px 0 14px; padding-left: 22px; line-height: 1.55; max-width: 760px; }
.extpage .extsteps li { margin: 4px 0; }
.extpage code { font-family: var(--mono, ui-monospace, monospace); font-size: .92em; background: rgba(17, 17, 20, .06); padding: 1px 5px; }
.extpage .extprompt { width: 100%; max-width: 820px; box-sizing: border-box; font: 13px/1.5 var(--mono, ui-monospace, monospace); padding: 12px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); resize: vertical; margin: 6px 0 10px; }
.extpage .rfqh { margin-top: 26px; }

/* Slow down (10/19). */
.pacebox { border: 1px solid var(--ink-line, rgba(17,17,20,.2)); background: #fff; padding: 12px 14px; margin: 10px 0 14px; }
.pacebox p { margin: 0 0 10px; }
.pacechips { display: flex; flex-wrap: wrap; gap: 8px; }
/* The sequence builder (11/9) */
/* ---- the sequence builder (11/10): a timeline of the emails; tabs for the two tracks, the timing, the wrapper ---- */
.seqnote { margin: 12px 18px 0; padding: 8px 12px; font-size: 13.5px; border-left: 4px solid; }
.seqnote.bad { color: var(--red); border-color: var(--red); background: rgba(220, 0, 37, .06); }
.seqnote.good { border-color: var(--green); background: rgba(11, 107, 47, .07); }
.seqerr { color: var(--red); font-size: 12.5px; margin: 2px 0 0; flex-basis: 100%; }
.seqnum, .seqtime, .seqtext, .seqline { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); }
.seqnum { width: 58px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 15px; padding: 3px 4px; }
.seqtime { width: 112px; }
.seqtext { width: 100%; }
.seqcard { border: 1px solid var(--ink); background: var(--white); }
.seqcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; border-bottom: 1px solid var(--ink); background: #fbfaf5; }
.seqcard-top .label { color: var(--navy); font-size: 12px; }
.seqmail { padding: 12px 14px 12px; font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 9px; }
.seqmail p { margin: 0; }
.seqmail .fixed { color: var(--muted); }
.seqmail .fixed.sig { white-space: pre-line; }
.seqmail .fixed.meme { font-style: italic; font-size: 12.5px; }
.seqline { width: 100%; resize: none; line-height: 1.45; background: #fffbe6; border: 1px dashed rgba(17, 17, 20, .55); padding: 8px 10px; }
.seqline:focus { outline: none; border: 1px solid var(--ink); background: var(--white); }
.seqline::placeholder { color: var(--muted); font-style: italic; }
.seqout { border-top: 1px dashed var(--ink-line); padding: 8px 14px 10px; background: rgba(11, 107, 47, .06); }
.seqout .label { color: var(--green); }
.seqout pre, .seqsample pre { white-space: pre-wrap; font: inherit; font-size: 13.5px; line-height: 1.4; margin: 4px 0 0; }
.seqlines { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 12px; }
.seqlinerow { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.seqlinerow .n { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1; padding-top: 9px; color: var(--navy); }
.seqlinerow .grow { min-width: 0; }
.seqlinerow .linkbtn { padding-top: 9px; }
.seqsample summary { cursor: pointer; font-size: 12.5px; color: var(--green); margin-top: 4px; }
/* timing and the wrapper */
.seqsets { display: flex; flex-direction: column; max-width: 860px; }
.seqset { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.2fr); gap: 16px 24px; padding: 14px 0; border-bottom: 1px dashed var(--ink-line); }
.seqset:first-child { padding-top: 2px; }
.seqset:last-child { border-bottom: 0; }
.seqset-l { display: flex; flex-direction: column; gap: 2px; }
.seqset-l b { font-size: 15px; font-weight: 500; }
.seqset-r { display: flex; flex-direction: column; gap: 8px; }
.seqrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.seqrow-l { min-width: 190px; }
.seqwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 28px; }
.seqfields { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.seqfield { display: flex; flex-direction: column; gap: 5px; }
.seqpaper { align-self: start; position: sticky; top: 60px; border: 1px solid var(--ink); background: var(--white); padding: 10px 14px 4px; }
.seqpaper .seqmail { padding: 8px 0 8px; }
@media (max-width: 820px) {
  .seqwrap, .seqset { grid-template-columns: minmax(0, 1fr); }
  .seqpaper { position: static; }
  .seqnote { margin-left: 14px; margin-right: 14px; }
}
.btn.slowon { border-color: var(--amber, #8a5a00); color: var(--amber, #8a5a00); }

/* Team (10/19). */
.teamlist { display: grid; gap: 8px; max-width: 900px; }
.teamrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--ink-line, rgba(17,17,20,.2)); padding: 12px 14px; }
@media (max-width: 640px) { .teamrow { grid-template-columns: 1fr; gap: 6px; } }
.gmsgok { color: #1f6b3a; background: #e7f3ea; border: 1px solid #1f6b3a; padding: 10px 12px; max-width: 900px; }
.teampage .teamlist { max-width: 1100px; gap: 14px; }
.tcard { background: #fff; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 16px 18px; }
.tcard.ttotal { background: #f6f3ea; }
.tcardhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.tcardacts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.gameswitch { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--ink-line); background: var(--paper-dark); cursor: pointer;
  font-family: var(--label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.gameswitch.on { border-color: var(--ink); background: var(--white); color: var(--ink); }
.gameswitch input { margin: 0; accent-color: var(--red); }
.tcardhead h3 { margin: 0 0 2px; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.tstats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.tstat { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--ink-line, rgba(17,17,20,.2)); padding: 10px 12px; }
.tstat b { font-size: 26px; line-height: 1; }
.gi-up { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 4px; }
.gi-up .gmsgok { padding: 4px 8px; }

/* keeping the extension current (10/26) */
.extbanner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 20px; background: #ffcc00; color: var(--ink); border-bottom: 1.5px solid var(--ink); font-size: 14px; }
.extbanner > span { flex: 1; min-width: 220px; }
.extupdate { margin: 16px 0 8px; padding: 14px 16px; background: var(--white); border: 1.5px solid var(--ink); }
.extupdate.behind { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.extupdate .rfqh { margin-top: 0; }
.extok { margin: 0; color: var(--green); font-weight: 600; }
.linkbtn.extbehind { background: #ffcc00; color: var(--ink); padding: 2px 6px; text-decoration: none; font-weight: 600; }
.extrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0; }
.extbyhand { margin-top: 10px; font-size: 13.5px; } .extbyhand summary { cursor: pointer; color: var(--muted); }

/* ---- the Email Sequence page (11/10): the sequences, the leads, the schedule ---- */
.ptitlewrap { display: flex; flex-direction: column; min-width: 0; }
.mstatus-line { margin-top: 4px; white-space: normal; }
.btn-switch { border: 1px solid var(--ink-line); background: var(--white); padding: 6px 10px; cursor: pointer; }
.btn-switch:hover:not(:disabled) { background: #faf8f2; }
.btn-switch:disabled { opacity: .5; cursor: default; }
/* the sequences */
.cmpcard .mhead { align-items: center; }
.cmpcard .mhead .acts.grow { margin-left: auto; }
.cmprows { display: flex; flex-direction: column; }
.cmprow { display: grid; grid-template-columns: minmax(170px, 1.1fr) minmax(200px, 1.5fr) auto auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ink-line); }
.cmprow { cursor: pointer; }
.cmprow:hover { background: #faf8f2; }
/* The chevron is a 3D circle button (Walt 11/10), pressed with the row. */
.cmprow .chev { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); background: var(--white); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s; margin: -2px 3px 1px 0; }
.cmprow .chev svg { display: block; margin-left: 1px; }
.cmprow:hover .chev { background: var(--red); color: #fff; border-color: var(--red); }
.cmprow:active .chev { transform: translate(3px, 3px); box-shadow: none; }
.cmprow.live { background: rgba(11, 107, 47, .05); margin: 0 -16px; padding: 10px 16px; }
.cmprow.live:hover { background: rgba(11, 107, 47, .09); }
.cmpname { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cmpname b { font-family: var(--display); font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill.live { background: var(--green); color: #fff; border-color: var(--green); }
.cmpnums { display: flex; gap: 16px; }
.cmpnums > span { display: flex; flex-direction: column; line-height: 1.1; min-width: 44px; }
.cmpnums b { font-family: var(--display); font-weight: 700; font-size: 18px; }
.cmpnums .sub2 { font-size: 11px; }
/* the editor: one column (11/10, second cut: "this UI is too confusing") */
.cmpedit { border: 1px solid var(--ink); background: var(--white); --ext: var(--ink); }
.cmptop { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; padding: 12px 18px; background: var(--navy); color: var(--paper); }
.cmptop .back { color: var(--paper); font-family: var(--label); text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; text-decoration: none; }
.cmptop .back:hover { text-decoration: underline; }
.cmptitle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1 1 320px; min-width: 0; }
.cmptitle h2 { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1; }
.cmptitle .seqtext.name { max-width: 360px; flex: 1 1 220px; }
.cmptitle .seqerr { color: #ff8a9c; flex-basis: auto; }
.cmptop .pill { border-color: rgba(229, 224, 209, .5); color: var(--paper); }
.cmptop .pill.live { background: var(--green); border-color: var(--green); }
.cmptop .acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmptop .acts .linkbtn { color: var(--paper); }
.cmptop .btn.on { background: var(--paper); color: var(--ink); }
.cmptop .btn.alert { border-color: #ff8a9c; color: #ff8a9c; }
.cmpflow { position: relative; max-width: 880px; padding: 18px 22px 22px 48px; }
.cmpflow::before { content: ""; position: absolute; left: 29px; top: 28px; bottom: 34px; border-left: 2px solid var(--ink); }
.cmpnode { position: relative; margin-bottom: 12px; }
.cmpnode > .dot { position: absolute; left: -25px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
.cmpnode.start > .dot { background: var(--red); border-color: var(--red); }
.cmpnode.end > .dot { background: var(--ink); }
.cmpnode.bad > .dot { border-color: var(--red); }
.cmpnode.start { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 8px; }
.cmpnode.start .label { color: var(--ink); }
.cmpcard { border: 1px solid var(--ink); background: #fbfaf5; }
.cmpnode.bad > .cmpcard { border-color: var(--red); }
.cmpcard-h { display: flex; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; padding: 10px 14px; background: var(--white); cursor: pointer; }
.cmpcard-h:hover { background: #f6f3ea; }
.cmpcard.open > .cmpcard-h { border-bottom: 1px solid var(--ink); }
.cmpcard-h .words { flex: 1 1 200px; min-width: 0; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmpcard-h .chev { margin-left: auto; font-size: 12px; color: var(--muted); }
.cmpcard-h h3 { font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; line-height: 1; }
.day { font-family: var(--label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cmpcard-b { padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.cmpcard .seqcard { background: var(--white); }
.cmpcard .seqline { background: #fffbe6; }
.cmprule { font-size: 14px; }
.cmpnone { font-size: 13px; color: var(--muted); }
.cmpwait { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 0 0 12px 2px; }
.cmpwait .seqnum { width: 50px; padding: 2px; font-size: 13px; }
.cmpwait.inner { margin: 0; }
.cmpwait .seqerr { flex-basis: auto; margin: 0; }
.cmpadd { margin: -2px 0 14px 2px; align-self: flex-start; background: none; border: 1px dashed var(--ink-line); padding: 5px 10px; font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.cmpadd:hover { border-color: var(--ink); background: var(--white); }
.seqlines .cmpadd { margin: 0; }
/* the front-desk version, folded into the email's card */
.cmpfd { border: 1px dashed var(--ink-line); background: var(--white); }
.cmpfd.bad { border-color: var(--red); }
.cmpfd > summary { cursor: pointer; display: flex; align-items: baseline; gap: 10px 14px; flex-wrap: wrap; padding: 8px 12px; list-style: none; }
.cmpfd > summary::-webkit-details-marker { display: none; }
.cmpfd > summary::before { content: "▸"; font-size: 11px; color: var(--muted); }
.cmpfd[open] > summary::before { content: "▾"; }
.cmpfd .label { color: var(--navy); }
.cmpfd .stat { color: var(--navy); }
.cmpfd > summary .words { flex: 1 1 200px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmpfd[open] > summary .words { display: none; }
.cmpfd-b { padding: 2px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.cmpfd-b .seqcard { border-color: var(--ink-line); }
.cmpfd-b .seqlines { margin: 2px 0 0; }
.cmpfd.none { padding: 8px 12px; font-size: 13px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.cmpchips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cmpchips .chip3 { cursor: pointer; font: inherit; font-size: 12px; }
.cmpchips .chip3:hover { border-color: var(--ink); }
.cmptools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.cmptools .grow { flex: 1; }
.seqlinerow .stat { display: block; margin-top: 3px; font-size: 12px; color: var(--navy); }
/* the settings sheet */
.cmpsheet { margin: 18px 22px 0 48px; max-width: 880px; border: 1px solid var(--ink); background: #fbfaf5; padding: 14px 18px 16px; }
.cmpsheet-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cmpsheet h3 { font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; line-height: 1; }
.cmpsheet h4 { font-family: var(--label); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 2px; }
.cmpsheet .seqrow-l { min-width: 250px; }
.cmpsheet .seqwrap { margin-top: 6px; }
/* the graph: the sequence by week. Series colors validated for color blindness in this order (11/10). */
.graphcard { --c-sent: #2458c7; --c-rfqs: #dc0025; --c-stops: #8d3fb0; --c-replies: #0b6b2f; }
.graphwrap { position: relative; display: flex; flex-direction: column; gap: 2px; }
.gpanel-l { padding: 2px 0 0 34px; }
.gkey:disabled { cursor: default; }
.graph { display: block; width: 100%; height: auto; overflow: visible; }
.graph .gridline { stroke: rgba(17, 17, 20, .12); stroke-width: 1; }
.graph .axis { font: 11px var(--sans); fill: var(--muted); }
.graph .endlabel { font: 600 12px var(--sans); fill: var(--ink); }
.graph .series { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.graph .dot { stroke: var(--white); stroke-width: 2; }
.graph .crosshair { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 0; opacity: .5; }
.graph .s-sent { stroke: var(--c-sent); fill: var(--c-sent); } .graph .s-rfqs { stroke: var(--c-rfqs); fill: var(--c-rfqs); }
.graph .s-stops { stroke: var(--c-stops); fill: var(--c-stops); } .graph .s-replies { stroke: var(--c-replies); fill: var(--c-replies); }
.graph .series.s-sent, .graph .series.s-rfqs, .graph .series.s-stops, .graph .series.s-replies { fill: none; }
.key { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; }
.key.s-sent { background: var(--c-sent); } .key.s-rfqs { background: var(--c-rfqs); } .key.s-stops { background: var(--c-stops); } .key.s-replies { background: var(--c-replies); }
.glegend { display: flex; gap: 8px; flex-wrap: wrap; }
.gkey { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--ink-line); background: var(--white); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.gkey:hover { border-color: var(--ink); }
.gkey strong { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1; }
.gkey.off { opacity: .45; text-decoration: line-through; }
.gtip { position: absolute; top: 8px; pointer-events: none; background: var(--white); border: 1px solid var(--ink); padding: 8px 10px; font-size: 12.5px; min-width: 160px; z-index: 3; }
.gtip b { display: block; margin-bottom: 4px; font-family: var(--label); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gtip-row { display: flex; align-items: center; gap: 8px; line-height: 1.5; }
.gtip-row strong { font-family: var(--display); font-weight: 700; min-width: 22px; }
.gtable summary { cursor: pointer; font-size: 12.5px; color: var(--muted); }
.gtable table { border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.gtable th, .gtable td { text-align: left; padding: 3px 14px 3px 0; border-bottom: 1px solid var(--ink-line); }
@media (max-width: 820px) {
  .cmpflow { padding: 14px 14px 18px 34px; }
  .cmpflow::before { left: 20px; }
  .cmpnode > .dot { left: -20px; }
  .cmpsheet { margin: 14px 14px 0; }
  .cmprow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cmprow.live { margin: 0 -14px; padding: 10px 14px; }
  .leadrow { grid-template-columns: minmax(0, 1fr) 20px; }
  .leadq { margin-left: 0; width: 100%; }
}

/* The call analyzer (11/12). */
.callspage .phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.callspage .prow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.callsrep { font: inherit; padding: 6px 10px; border: 1px solid var(--ink); background: var(--white); }
.ctiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.ctile { background: var(--white); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 12px; }
.ctile .k { font-family: var(--label); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ctile .v { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.ctile .s { color: var(--muted); font-size: 12px; }
.csyn { margin-bottom: 18px; }
.conechange { background: var(--navy); color: var(--paper); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.conechange .label { color: rgba(229,224,209,.7); }
.conechange strong { font-size: 17px; }
.clists { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .clists { grid-template-columns: 1fr; } }
.clist { background: var(--white); border: 2px solid var(--ink); padding: 12px 14px; }
.clist.good { border-color: var(--green); } .clist.bad { border-color: var(--red); }
.clist h2 { margin: 0 0 8px; font-family: var(--display); text-transform: uppercase; font-size: 18px; }
.clist.good h2 { color: var(--green); } .clist.bad h2 { color: var(--red); }
.citem { padding: 8px 0; border-top: 1px dashed var(--ink-line); }
.citem:first-of-type { border-top: 0; }
.cpat { margin: 0; font-weight: 700; }
.cwhy { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.cquotes { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink); }
.cinstead { margin: 6px 0 0; font-size: 13.5px; }
.ctables { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.ctable table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--white); }
.ctable th, .ctable td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--ink-line); }
.ctable th { font-family: var(--label); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crecent summary { cursor: pointer; font-weight: 600; margin: 8px 0; }
.crecent table { width: 100%; border-collapse: collapse; font-size: 12.5px; background: var(--white); }
.crecent th, .crecent td { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--ink-line); vertical-align: top; }
.crecent .cnext { color: var(--muted); max-width: 320px; }
