/* plumb design system — the Claude Design handoff, translated to real CSS.
   Loaded after style.css so the new editorial shell owns the masthead, paper field,
   and the deal board. Tokens mirror the handoff exactly. */

:root {
  --pl-paper:      #F2F0EC;
  --pl-surface:    #FBFAF7;
  --pl-card:       #FFFFFF;
  --pl-ink:        #1D211F;
  --pl-ink-2:      #292524;
  --pl-text:       #57534E;
  --pl-muted:      #78716C;
  --pl-xmuted:     #A8A29E;
  --pl-faint:      #C8C5BF;
  --pl-line:       #E4E2DE;
  --pl-line-2:     #EDECEA;
  --pl-pursue:     #0F4C2A;
  --pl-pursue-bg:  #F0FDF4;
  --pl-pursue-bd:  #BBF7D0;
  --pl-verify:     #7C3300;
  --pl-verify-bg:  #FFFBEB;
  --pl-verify-bd:  #FDE68A;
  --pl-pass:       #3D3D3A;
  --pl-brass:      #B08A4A;
  --pl-serif:      'Fraunces', Georgia, 'Times New Roman', serif;
  --pl-sans:       'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --pl-mono:       'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;
}

/* ---- shell ---- */
body.pl {
  margin: 0;
  background: var(--pl-paper);
  color: var(--pl-ink);
  font-family: var(--pl-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.pl ::selection { background: #E7DCC4; }
body.pl .scene-bg { display: none; }
body.pl > main.main { width: 100%; max-width: none; margin: 0; padding: 0; }

/* ---- parallax field: a faint survey grid + topographic contour lines behind
   every page, echoing the plumb-bob/land-survey mark. Two layers drift at
   different speeds (see parallax.js) for a sense of depth. Kept subtle by
   design -- low opacity, muted ink/brass, never competes with content. Cards
   and the masthead have solid/blurred backgrounds so this only ever shows in
   the paper-colored negative space. */
.pl-parallax {
  position: fixed;
  inset: -10vh -10vw;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.pl-parallax-layer {
  position: absolute;
  inset: -20vh -10vw;
  will-change: transform;
}
.pl-parallax-layer--grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Ccircle cx='1.6' cy='1.6' r='1.5' fill='%231D211F' fill-opacity='0.24'/%3E%3C/svg%3E");
  background-size: 46px 46px;
  opacity: 0.55;
}
.pl-parallax-layer--contour {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='420'%3E%3Cg fill='none' stroke='%231D211F' stroke-width='1.1' stroke-opacity='0.16'%3E%3Cpath d='M-20,54 Q56,18 132,58 T284,50 T436,66 T588,42 T740,58'/%3E%3Cpath d='M-20,150 Q60,196 140,152 T292,168 T444,140 T596,164 T748,146'/%3E%3Cpath d='M-20,246 Q54,206 128,250 T280,234 T432,258 T584,228 T736,250'/%3E%3Cpath d='M-20,340 Q58,378 136,338 T288,356 T440,326 T592,352 T744,332'/%3E%3C/g%3E%3Cg fill='%23B08A4A' fill-opacity='0.28'%3E%3Ccircle cx='132' cy='58' r='2.6'/%3E%3Ccircle cx='444' cy='140' r='2.6'/%3E%3Ccircle cx='280' cy='234' r='2.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 620px 420px;
  opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
  .pl-parallax-layer { transform: none !important; }
}
@media print {
  .pl-parallax { display: none; }
}
.pl-main, main.main { position: relative; z-index: 1; }

.pl-mast {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 54px; padding: 0 28px;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--pl-line);
}
.pl-mast-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pl-mast-name {
  font-family: var(--pl-serif); font-size: 20px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--pl-ink); line-height: 1;
}
.pl-mast-tag {
  margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--pl-line);
  font-family: var(--pl-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pl-xmuted);
}
.pl-mast-nav { display: flex; align-items: center; gap: 4px; }
.pl-tab {
  font-family: var(--pl-mono); font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: lowercase; padding: 7px 12px; border-radius: 6px;
  color: var(--pl-xmuted); text-decoration: none; transition: color .14s, background .14s;
}
.pl-tab:hover { color: var(--pl-ink); }
.pl-tab--active { color: var(--pl-ink); background: var(--pl-paper); }
.pl-mast-search {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
  background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 6px;
  min-width: 230px;
}
.pl-mast-search input {
  border: 0; outline: 0; background: transparent;
  font-family: var(--pl-mono); font-size: 12px; color: var(--pl-ink); width: 100%;
}

@media (max-width: 760px) {
  .pl-mast {
    height: auto; min-height: 54px; flex-wrap: wrap; align-items: flex-start;
    gap: 8px; padding: 10px 14px;
  }
  .pl-mast-brand { min-width: 0; }
  .pl-mast-tag { display: none; }
  .pl-mast-search { display: none; }
  .pl-mast-nav {
    order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px;
    scrollbar-width: none;
  }
  .pl-mast-nav::-webkit-scrollbar { display: none; }
  .pl-tab { flex: 0 0 auto; padding: 7px 9px; }
}

.pl-main { flex: 1; width: 100%; }
.pl-wrap { width: 100%; max-width: 1300px; margin: 0 auto; padding: 30px 30px 80px; }

/* ---- page intro ---- */
.pl-eyebrow {
  font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pl-xmuted); margin-bottom: 8px;
}
.pl-h1 {
  margin: 0; font-family: var(--pl-serif); font-weight: 500; font-size: 28px;
  line-height: 1.12; letter-spacing: -0.02em; color: var(--pl-ink); max-width: 16ch;
}
.pl-lede { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--pl-muted); max-width: 48ch; }

/* ---- chips ---- */
.pl-judg {
  display: inline-block; font-family: var(--pl-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 5px;
}
.pl-judg--pursue { background: var(--pl-pursue); color: var(--pl-surface); }
.pl-judg--verify { background: var(--pl-verify); color: var(--pl-verify-bg); }
.pl-judg--pass   { background: var(--pl-pass);   color: #F5F5F3; }

/* ---- board ---- */
.pl-boardhead {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px;
}
.pl-overnight {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px;
  background: var(--pl-verify-bg); border: 1px solid var(--pl-verify-bd); border-radius: 7px;
  text-decoration: none;
}
.pl-overnight-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pl-brass); flex: none; }

.pl-colhead, .pl-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1.5fr) 296px minmax(0, 1.05fr) 168px;
  gap: 18px;
}
.pl-colhead { align-items: end; padding: 0 18px 11px; border-bottom: 1px solid var(--pl-ink); }
.pl-colhead span {
  font-family: var(--pl-mono); font-size: 10px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--pl-xmuted);
}
.pl-row {
  align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--pl-line);
  text-decoration: none; color: inherit; transition: background .16s, box-shadow .16s;
}
.pl-row:hover { background: var(--pl-card); box-shadow: 0 1px 0 var(--pl-line), 0 10px 30px -18px rgba(29,33,31,.4); }
.pl-row--listed { background: var(--pl-pursue-bg); border-left: 3px solid var(--pl-pursue); }
.pl-row--listed:hover { background: #e5f7e9; }
.pl-market-badge {
  display: inline-flex; padding: 2px 6px; border: 1px solid var(--pl-pursue-bd);
  border-radius: 3px; background: var(--pl-pursue); color: white; font-weight: 700;
}
.pl-rank { font-family: var(--pl-mono); font-size: 13px; color: var(--pl-xmuted); align-self: start; padding-top: 3px; }
.pl-row-tagline { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }
.pl-row-county { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); letter-spacing: 0.04em; }
.pl-row-addr { font-family: var(--pl-serif); font-size: 17px; line-height: 1.25; color: var(--pl-ink); }
.pl-row-becomes { font-size: 13px; color: var(--pl-text); line-height: 1.45; margin-top: 4px; }
.pl-row-meta { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); margin-top: 5px; }
.pl-why-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pl-why-tags span {
  display: inline-flex; align-items: center; min-height: 21px; padding: 3px 7px;
  border: 1px solid var(--pl-line); border-radius: 5px; background: rgba(255,255,255,.78);
  font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--pl-muted);
}

/* ============ OVERVIEW ============ */
.pl-overview-hero {
  min-height: calc(100vh - 156px); display: grid; grid-template-columns: minmax(0, 1.05fr) 420px;
  gap: 38px; align-items: center; padding: 30px 0 42px; border-bottom: 1px solid var(--pl-line);
}
.pl-overview-title {
  margin: 0; max-width: 13ch; font-family: var(--pl-serif); font-weight: 500;
  font-size: clamp(42px, 6.2vw, 92px); line-height: .96; letter-spacing: 0; color: var(--pl-ink);
}
.pl-overview-deck { margin-top: 22px; max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--pl-muted); }
.pl-overview-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pl-action {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  border-radius: 6px; border: 1px solid var(--pl-ink); background: var(--pl-ink);
  color: var(--pl-surface); text-decoration: none; font-size: 13px; font-weight: 600;
}
.pl-action--ghost { background: transparent; color: var(--pl-ink); border-color: var(--pl-line); }
.pl-overview-proofline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px;
}
.pl-overview-proofline span {
  display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px;
  border: 1px solid var(--pl-line); border-radius: 5px; background: rgba(255,255,255,.72);
  font-family: var(--pl-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pl-muted);
}
.pl-overview-proofline span:first-child { color: var(--pl-ink); border-color: var(--pl-ink); }
.pl-overview-panel {
  border: 1px solid var(--pl-line); border-radius: 8px; background: var(--pl-card);
  padding: 18px; box-shadow: 0 18px 55px -38px rgba(29,33,31,.55);
}
.pl-overview-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pl-statbox { border-bottom: 1px solid var(--pl-line); padding: 0 0 12px; }
.pl-statbox strong { display: block; font-family: var(--pl-serif); font-weight: 500; font-size: 30px; color: var(--pl-ink); }
.pl-statbox span { font-family: var(--pl-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--pl-xmuted); }
.pl-statbox small { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.35; color: var(--pl-muted); }
.pl-loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.pl-loop-step { padding-top: 12px; border-top: 1px solid var(--pl-ink); }
.pl-loop-step b { display: block; font-family: var(--pl-serif); font-size: 18px; font-weight: 500; color: var(--pl-ink); }
.pl-loop-step p { margin: 7px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--pl-muted); }
.pl-topdeal { display: block; padding: 13px 0; border-top: 1px solid var(--pl-line); text-decoration: none; color: inherit; }
.pl-topdeal:first-of-type { border-top: 0; }
.pl-topdeal-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.pl-topdeal-county { font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pl-xmuted); }
.pl-topdeal-title { font-family: var(--pl-serif); font-size: 16px; color: var(--pl-ink); }
.pl-topdeal-meta { margin-top: 4px; font-family: var(--pl-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--pl-xmuted); }
.pl-topdeal-more {
  display: block; margin-top: 14px; font-family: var(--pl-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--pl-brass);
  text-decoration: none; text-align: center;
}
.pl-topdeal-more:hover { color: var(--pl-ink); }

/* autopilot section */
.pl-autopilot {
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid var(--pl-line);
  border-radius: 8px;
  background: var(--pl-card);
}
.pl-autopilot p {
  margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--pl-muted);
}

/* "built for" persona grid */
.pl-overview-for { margin-top: 36px; }
.pl-overview-for-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pl-for-card {
  padding: 16px 18px; border: 1px solid var(--pl-line); border-radius: 8px;
  background: var(--pl-surface); border-top: 2px solid var(--pl-ink);
}
.pl-for-who { font-family: var(--pl-serif); font-size: 16px; font-weight: 500; color: var(--pl-ink); margin-bottom: 7px; }
.pl-for-why { font-size: 12.5px; line-height: 1.5; color: var(--pl-muted); }

/* "why this matters" band */
.pl-overview-band {
  display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 34px;
  padding: 34px 0 8px; border-bottom: 1px solid var(--pl-line);
}
.pl-overview-band h2 {
  margin: 0; font-family: var(--pl-serif); font-size: 28px; line-height: 1.12;
  font-weight: 500; letter-spacing: 0; color: var(--pl-ink);
}
.pl-overview-valuegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pl-overview-valuegrid article { padding: 16px 0 0; border-top: 1px solid var(--pl-ink); }
.pl-overview-valuegrid b { display: block; font-family: var(--pl-serif); font-size: 18px; font-weight: 500; }
.pl-overview-valuegrid p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.48; color: var(--pl-muted); }
.pl-statbox small { display: block; font-family: var(--pl-mono); font-size: 9px; letter-spacing: .06em; color: var(--pl-faint); margin-top: 2px; }

@media (max-width: 980px) {
  .pl-overview-hero { grid-template-columns: 1fr; min-height: auto; }
  .pl-loop { grid-template-columns: 1fr 1fr; }
  .pl-overview-band { grid-template-columns: 1fr; }
  .pl-overview-valuegrid { grid-template-columns: 1fr; }
  .pl-overview-for-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pl-loop { grid-template-columns: 1fr; }
  .pl-overview-statgrid { grid-template-columns: 1fr; }
}

/* the plumb bob: spread made physical */
.pl-bob-field { position: relative; height: 50px; }
.pl-bob-zone-l { position: absolute; inset: 0 50% 0 0; background: linear-gradient(90deg, rgba(15,76,42,.07), rgba(15,76,42,0)); }
.pl-bob-zone-r { position: absolute; inset: 0 0 0 50%; background: linear-gradient(90deg, rgba(124,51,0,0), rgba(124,51,0,.07)); }
.pl-bob-ref   { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--pl-faint); }
.pl-bob-pivot { position: absolute; left: 50%; top: -1px; width: 5px; height: 5px; border-radius: 50%; background: var(--pl-ink); transform: translateX(-50%); }
.pl-bob-arm   { position: absolute; left: 50%; top: 2px; bottom: 0; width: 0; transform-origin: top center; }
.pl-bob-line  { position: absolute; left: 0; top: 0; bottom: 13px; width: 0; border-left: 1.5px solid; }
.pl-bob-weight{ position: absolute; left: -5.5px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pl-bob-read  { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 7px; }
.pl-bob-label { font-family: var(--pl-serif); font-size: 16px; }
.pl-bob-sub   { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); }

.pl-cost-stack { margin-top: 13px; border-top: 1px solid var(--pl-line); padding-top: 10px; }
.pl-cost-stack-title {
  font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pl-xmuted); margin-bottom: 7px;
}
.pl-cost-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1.25fr) auto;
  gap: 8px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--pl-line-2);
}
.pl-cost-row:first-of-type { border-top: 0; }
.pl-cost-k { font-size: 12.5px; color: var(--pl-ink); }
.pl-cost-v { font-family: var(--pl-mono); font-size: 11px; color: var(--pl-ink); text-align: right; }
.pl-cost-src { font-size: 11.5px; color: var(--pl-muted); line-height: 1.35; }
@media (max-width: 760px) {
  .pl-cost-row { grid-template-columns: 1fr auto; }
  .pl-cost-src { grid-column: 1 / -1; }
}

.pl-owner-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pl-owner-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.pl-owner-tag span { font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; }
.pl-owner-read { font-size: 12.5px; line-height: 1.5; color: var(--pl-text); }
.pl-owner-muted { font-size: 12.5px; line-height: 1.5; color: var(--pl-xmuted); }

.pl-next { text-align: right; }
.pl-next-stage { font-family: var(--pl-serif); font-size: 16px; color: var(--pl-ink); }
.pl-next-action { font-size: 11.5px; line-height: 1.4; color: var(--pl-muted); margin-top: 3px; }

.pl-footnote { margin-top: 24px; font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.05em; color: var(--pl-xmuted); text-align: center; }

/* ---- board natural-language search ---- */
.pl-board-search { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.pl-board-filter-chip { flex: 0 0 auto; cursor: pointer; }
.pl-board-search-input {
  flex: 1; min-width: 0; width: 100%; box-sizing: border-box;
  padding: 11px 16px; border: 1px solid var(--pl-line); border-radius: 8px;
  background: var(--pl-card); color: var(--pl-ink);
  font-family: var(--pl-mono); font-size: 12.5px;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.pl-board-search-input:focus {
  border-color: var(--pl-pursue); box-shadow: 0 0 0 2px var(--pl-pursue-bg);
}
.pl-board-search-input::placeholder { color: var(--pl-xmuted); }

.pl-filter-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-bottom: 16px;
}
.pl-chip {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  background: var(--pl-pursue-bg); border: 1px solid var(--pl-pursue-bd);
  font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--pl-pursue); white-space: nowrap;
}
.pl-chip--count {
  background: var(--pl-paper); border-color: var(--pl-line); color: var(--pl-xmuted);
}

.pl-empty-search {
  padding: 40px 20px; text-align: center; color: var(--pl-muted);
}
.pl-empty-search p { margin: 0 0 8px; }
.pl-search-hint {
  font-family: var(--pl-mono); font-size: 11.5px; color: var(--pl-xmuted);
}

/* motion: a measured rise on load, honoring reduced-motion */
@keyframes plRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pl-rise { animation: plRise .6s cubic-bezier(0.22,1,0.36,1) both; }
@media (prefers-reduced-motion: reduce) { .pl-rise { animation: none; } }

@media (max-width: 880px) {
  .pl-colhead { display: none; }
  .pl-row { grid-template-columns: 1fr; gap: 12px; }
  .pl-mast-search, .pl-mast-tag { display: none; }
}

/* ============ MEMO ============ */
.pl-memo { width: 100%; }
.pl-memo-back {
  display: block; max-width: 1160px; margin: 0 auto; padding: 18px 30px 6px;
}
.pl-back {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--pl-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pl-xmuted); transition: color .14s;
}
.pl-back:hover { color: var(--pl-ink); }
.pl-memo-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0;
  max-width: 1160px; margin: 0 auto; align-items: start;
}
.pl-memo-col { padding: 10px 44px 90px 30px; min-width: 0; }
@keyframes plPushIn { from { opacity: 0; transform: scale(0.985) translateY(14px); } to { opacity: 1; transform: none; } }
.pl-pushin { animation: plPushIn .5s cubic-bezier(0.22,1,0.36,1) both; }
@media (prefers-reduced-motion: reduce) { .pl-pushin { animation: none; } }

/* memo masthead */
.pl-memo-head { border-bottom: 2px solid var(--pl-ink); padding-bottom: 16px; margin-bottom: 24px; }
.pl-memo-headtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pl-memo-addr {
  margin: 14px 0 0; font-family: var(--pl-serif); font-weight: 500; font-size: 30px;
  line-height: 1.08; letter-spacing: -0.02em; color: var(--pl-ink);
}
.pl-memo-meta { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 9px; font-size: 12.5px; color: var(--pl-muted); }
.pl-memo-meta .mono { font-family: var(--pl-mono); color: var(--pl-xmuted); }
.pl-memo-meta .use { color: var(--pl-brass); }
.pl-print {
  border: 0; background: transparent; cursor: pointer; padding: 0;
  font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pl-xmuted);
}
.pl-print:hover { color: var(--pl-ink); }

/* hero basis */
.pl-hero { margin-bottom: 28px; }
.pl-hero-label {
  font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--pl-pursue); margin-bottom: 8px;
}
.pl-hero-value {
  font-family: var(--pl-serif); font-weight: 500; font-size: 56px; line-height: 0.96;
  letter-spacing: -0.03em; color: var(--pl-ink);
}
.pl-hero-detail { font-size: 12.5px; color: var(--pl-muted); margin-top: 10px; }
.pl-hero-conf { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.pl-hero-conf-note { font-size: 12.5px; color: var(--pl-muted); }
.pl-headline {
  margin: 18px 0 0; font-family: var(--pl-serif); font-size: 19px; line-height: 1.45;
  letter-spacing: -0.01em; color: var(--pl-ink-2); text-wrap: pretty;
}

/* AI brief: a rephrasing of facts computed elsewhere on the page, clearly
   labeled as such -- never a new source of truth. Distinct from .pl-headline
   (deterministic) via the tag and a brass rule, not a louder/bigger treatment. */
.pl-ai-brief {
  margin: 16px 0 0; padding: 12px 14px; border-left: 2px solid var(--pl-brass);
  background: var(--pl-surface); font-family: var(--pl-serif); font-style: italic;
  font-size: 15px; line-height: 1.5; color: var(--pl-ink-2); text-wrap: pretty;
}
.pl-ai-brief-tag {
  display: inline-block; font-family: var(--pl-mono); font-style: normal;
  font-size: 9px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pl-brass); margin-right: 8px; vertical-align: 1px;
}

/* confidence chip */
.pl-conf {
  display: inline-block; font-family: var(--pl-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
}
.pl-conf--strong, .pl-conf--solid { background: #F0F9FF; color: #0C4A6E; }
.pl-conf--directional { background: #F5F5F3; color: var(--pl-text); }
.pl-conf--verify { background: var(--pl-verify-bg); color: var(--pl-verify); }

/* sections */
.pl-sec { margin-bottom: 28px; }
.pl-sec-title {
  font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--pl-xmuted); margin-bottom: 14px;
}
.pl-deal {
  padding: 16px 18px; border: 1px solid var(--pl-line); border-radius: 10px;
  background: var(--pl-surface); margin-bottom: 28px;
}
.pl-deal-top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 7px; }
.pl-deal-label { font-family: var(--pl-serif); font-size: 18px; color: var(--pl-ink); }
.pl-deal-roi { font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pl-brass); }
.pl-deal-read { font-size: 14px; line-height: 1.55; color: var(--pl-ink-2); text-wrap: pretty; }

.pl-line { padding: 12px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-line:last-child { border-bottom: 0; }
.pl-line-text { font-size: 14px; line-height: 1.55; color: var(--pl-ink-2); text-wrap: pretty; }
.pl-why-now { padding: 13px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-why-now:last-child { border-bottom: 0; }
.pl-why-now-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.pl-why-date { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); }
.pl-why-note {
  margin-top: 5px; font-size: 12.5px; line-height: 1.45; color: var(--pl-muted);
}
.pl-cap { display: flex; gap: 10px; }
.pl-cap-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pl-faint); flex: none; margin-top: 8px; }

/* citation chip — turn it over */
.pl-cite {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--pl-line); background: var(--pl-surface); border-radius: 999px;
  padding: 3px 10px 3px 8px; cursor: pointer; font-family: var(--pl-mono);
  font-size: 10.5px; color: var(--pl-muted); transition: color .14s, border-color .14s;
}
.pl-cite:hover { color: var(--pl-ink); border-color: #B7B3AC; }
.pl-cite-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.pl-cite-turn { color: var(--pl-faint); }

/* constraints */
.pl-constraint { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; }
.pl-cmark {
  width: 19px; height: 19px; flex: none; border-radius: 5px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; line-height: 1;
}
.pl-cmark--clear { background: var(--pl-pursue-bg); color: var(--pl-pursue); border: 1px solid var(--pl-pursue-bd); }
.pl-cmark--risk  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.pl-constraint-text { font-size: 13.5px; line-height: 1.5; color: var(--pl-text); }

/* cheapest next step */
.pl-next-box {
  padding: 18px 20px; background: var(--pl-verify-bg); border: 1px solid var(--pl-verify-bd);
  border-radius: 10px;
}
.pl-next-box .pl-sec-title { color: var(--pl-verify); margin-bottom: 13px; }
.pl-step { display: flex; gap: 11px; align-items: flex-start; padding: 6px 0; }
.pl-step-n {
  width: 19px; height: 19px; flex: none; border: 1px solid #E4C98A; border-radius: 5px;
  background: var(--pl-card); display: flex; align-items: center; justify-content: center;
  font-family: var(--pl-mono); font-size: 10px; color: var(--pl-verify); margin-top: 1px;
}
.pl-step-text { font-size: 13.5px; color: #44403C; line-height: 1.55; }

/* sources */
.pl-src { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-src a, .pl-src span.t { font-size: 13px; color: #0C4A6E; text-decoration: none; line-height: 1.4; }
.pl-src a:hover { text-decoration: underline; }
.pl-src-ts { font-family: var(--pl-mono); font-size: 10px; color: var(--pl-xmuted); white-space: nowrap; }

/* parcel facts */
.pl-facts summary {
  font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--pl-xmuted); cursor: pointer; list-style: none;
}
.pl-facts summary::-webkit-details-marker { display: none; }
.pl-fact { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-fact-k { font-size: 13px; color: var(--pl-text); }
.pl-fact-v { font-size: 13px; color: var(--pl-ink); text-align: right; }

/* editable underwriting */
.pl-uw { margin-top: 18px; border: 1px solid var(--pl-line); border-radius: 10px; overflow: hidden; }
.pl-uw-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 16px; background: var(--pl-surface); border-bottom: 1px solid var(--pl-line);
}
.pl-uw-head .t { font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pl-text); }
.pl-uw-reset { border: 0; background: transparent; cursor: pointer; padding: 0; font-family: var(--pl-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pl-brass); display: none; }
.pl-uw.edited .pl-uw-reset { display: inline; }
.pl-uw-body { padding: 4px 16px; }
.pl-uw-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-uw-row:last-child { border-bottom: 0; }
.pl-uw-k { font-size: 13px; color: var(--pl-text); }
.pl-uw-in { display: flex; align-items: center; gap: 5px; }
.pl-uw-in .u { font-family: var(--pl-mono); font-size: 11px; color: var(--pl-xmuted); }
.pl-uw-in input {
  width: 86px; height: 32px; text-align: right; border: 1px solid var(--pl-line);
  border-radius: 6px; background: var(--pl-card); font-family: var(--pl-mono);
  font-size: 13px; color: var(--pl-ink); padding: 0 9px; transition: border-color .14s, box-shadow .14s;
}
.pl-uw-in input:focus { border-color: var(--pl-brass); box-shadow: 0 0 0 3px rgba(176,138,74,.14); outline: none; }
.pl-uw-in input::-webkit-outer-spin-button, .pl-uw-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pl-uw-fixed { font-family: var(--pl-mono); font-size: 12.5px; color: var(--pl-muted); }
.pl-uw-result { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--pl-pursue-bg); border-top: 1px solid var(--pl-line); }
.pl-uw-result-l { font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-muted); margin-bottom: 4px; }
.pl-uw-result-v { font-family: var(--pl-serif); font-weight: 500; font-size: 26px; line-height: 1; color: var(--pl-ink); }
.pl-uw-note { font-family: var(--pl-mono); font-size: 10px; color: var(--pl-muted); text-align: right; max-width: 16ch; }

/* survey plate (right rail) */
.pl-aside { position: sticky; top: 74px; padding: 10px 30px 40px 16px; }
.pl-plate {
  border: 1px solid var(--pl-line); border-radius: 10px; overflow: hidden;
  background: #EDEBE6; box-shadow: 0 1px 0 var(--pl-line), 0 18px 40px -28px rgba(29,33,31,.5);
}
.pl-plate-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; background: var(--pl-surface); border-bottom: 1px solid var(--pl-line);
  font-family: var(--pl-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pl-muted);
}
.pl-plate-open {
  color: var(--pl-brass); text-decoration: none; letter-spacing: 0;
  text-transform: none; white-space: nowrap;
}
.pl-plate-open:hover { color: var(--pl-ink); }
.pl-plate-svg { position: relative; height: 300px; background: #F0EEE9; }
.pl-plate-foot { padding: 11px 14px; background: var(--pl-surface); border-top: 1px solid var(--pl-line); display: flex; flex-direction: column; gap: 7px; }
.pl-plate-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pl-plate-row .k { font-size: 12px; color: var(--pl-text); }
.pl-plate-row .v { font-family: var(--pl-mono); font-size: 10px; color: var(--pl-xmuted); }

/* citation card */
.pl-citecard {
  position: fixed; z-index: 80; width: 268px; background: var(--pl-card);
  border: 1px solid var(--pl-line); border-radius: 10px; padding: 15px 16px;
  box-shadow: 0 18px 50px -12px rgba(29,33,31,.4); display: none;
}
.pl-citecard.show { display: block; animation: plFlip .24s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes plFlip { from { opacity: 0; transform: perspective(700px) rotateY(-30deg) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pl-citecard.show { animation: none; } }
.pl-citecard-title { font-family: var(--pl-serif); font-size: 15px; line-height: 1.35; color: var(--pl-ink); margin-top: 8px; }
.pl-citecard-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.pl-citecard-k { font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pl-xmuted); }
.pl-citecard-v { font-family: var(--pl-mono); font-size: 11.5px; color: var(--pl-ink); }
.pl-citecard-mean { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pl-line-2); font-size: 12px; line-height: 1.5; color: var(--pl-muted); }

@media (max-width: 940px) {
  .pl-memo-grid { grid-template-columns: 1fr; }
  .pl-memo-col { padding: 10px 24px 40px; }
  .pl-aside { position: static; padding: 0 24px 50px; }
}
@media print {
  .pl-mast, .pl-memo-back, .pl-aside, .no-print { display: none !important; }
  .pl-memo-grid { grid-template-columns: 1fr; }
}

/* ============ SIGNALS ============ */
.pl-timeline { display: flex; flex-direction: column; }
.pl-sig {
  display: grid; grid-template-columns: 96px 14px minmax(0, 1fr); gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--pl-line);
  text-decoration: none; color: inherit;
}
.pl-sig-when { text-align: right; padding-top: 1px; }
.pl-sig-date { font-family: var(--pl-mono); font-size: 11.5px; color: var(--pl-ink); }
.pl-sig-rail { position: relative; display: flex; justify-content: center; }
.pl-sig-rail::before { content: ''; position: absolute; top: 0; bottom: -18px; width: 0; border-left: 1px solid var(--pl-line); }
.pl-sig-dot { position: relative; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--pl-paper); margin-top: 2px; z-index: 1; }
.pl-sig-body { min-width: 0; }
.pl-sig-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 5px; }
.pl-sig-type {
  font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pl-ink); background: var(--pl-paper); border: 1px solid var(--pl-line);
  border-radius: 4px; padding: 3px 7px;
}
.pl-sig-mat {
  font-family: var(--pl-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 4px; padding: 3px 7px;
}
.pl-sig-mat--high { background: var(--pl-pursue-bg); color: var(--pl-pursue); }
.pl-sig-mat--med  { background: #FBF5EA; color: #8A6A2E; }
.pl-sig-mat--low  { background: #F5F5F3; color: var(--pl-text); }
.pl-sig-title { font-family: var(--pl-serif); font-size: 17px; line-height: 1.3; color: var(--pl-ink); transition: color .14s; }
.pl-sig-why { margin-top: 5px; font-size: 12.5px; line-height: 1.45; color: var(--pl-muted); }
.pl-sig-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.pl-sig-src { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); }
.pl-sig-parcels { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.pl-sig-cta { font-size: 11.5px; color: var(--pl-brass); text-decoration: none; }
.pl-sig-cta:hover { color: var(--pl-ink); }

/* ============ CORPUS / THE VAULT ============ */
.pl-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--pl-line); border: 1px solid var(--pl-line); border-radius: 8px;
  overflow: hidden; margin-bottom: 16px;
}
.pl-stat { background: var(--pl-surface); padding: 16px 18px; }
.pl-stat-v { font-family: var(--pl-serif); font-weight: 500; font-size: 27px; line-height: 1; letter-spacing: -0.01em; color: var(--pl-ink); }
.pl-stat-v--brass { color: var(--pl-brass); }
.pl-stat-l { font-family: var(--pl-mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--pl-muted); margin-top: 8px; }
.pl-health { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 32px; font-size: 12px; color: var(--pl-muted); }
.pl-health span { display: inline-flex; align-items: center; gap: 7px; }
.pl-health i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pl-vault { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.pl-vault-tbl { border: 1px solid var(--pl-line); border-radius: 8px; overflow: hidden; }
.pl-srcrow {
  display: grid; grid-template-columns: minmax(0, 1fr) 82px 78px; gap: 12px; align-items: center;
  padding: 11px 15px; border-bottom: 1px solid var(--pl-line-2); background: var(--pl-surface);
}
.pl-srcrow:last-child { border-bottom: 0; }
.pl-srcrow-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pl-srcrow-name .nm { font-size: 12.5px; color: var(--pl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-srcrow-tier { font-family: var(--pl-mono); font-size: 9px; color: var(--pl-xmuted); margin-top: 3px; padding-left: 16px; }
.pl-srcrow .rec { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-text); text-align: right; }
.pl-srcrow .fresh { font-family: var(--pl-mono); font-size: 9.5px; color: var(--pl-xmuted); text-align: right; }
.pl-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.pl-dot--live { background: #0F4C2A; }
.pl-dot--stale { background: #B08A4A; }
.pl-dot--down { background: #991B1B; }
.pl-dot--on-demand { background: #0C4A6E; }
.pl-change { padding-left: 13px; border-left: 2px solid var(--pl-brass); margin-bottom: 14px; }
.pl-change-text { font-size: 13px; color: var(--pl-ink); line-height: 1.45; }
.pl-change-meta { display: flex; gap: 10px; margin-top: 5px; }
.pl-change-meta span { font-family: var(--pl-mono); font-size: 10px; }
.pl-change-src { color: var(--pl-xmuted); }
.pl-change-when { color: var(--pl-brass); }

/* Exit paths (DC9-A) */
.pl-exit { padding: 11px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-exit:last-child { border-bottom: 0; }
.pl-exit--unav { opacity: 0.55; }
.pl-exit-head { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; flex-wrap: wrap; }
.pl-exit-label { font-size: 13.5px; font-weight: 500; color: var(--pl-ink); }
.pl-exit-cap { font-family: var(--pl-mono); font-size: 9.5px; padding: 2px 6px; border-radius: 3px; }
.pl-exit-cap--low { background: #DCFCE7; color: #14532D; }
.pl-exit-cap--medium { background: #FEF9C3; color: #713F12; }
.pl-exit-cap--high { background: #FEE2E2; color: #7F1D1D; }
.pl-exit-status { font-family: var(--pl-mono); font-size: 9.5px; color: var(--pl-signal-pursue); }
.pl-exit-gaps { margin: 4px 0 5px 0; display: flex; flex-direction: column; gap: 3px; }
.pl-exit-gap { font-size: 12.5px; color: var(--pl-verify); line-height: 1.45; padding-left: 12px; position: relative; }
.pl-exit-gap::before { content: '!'; position: absolute; left: 0; color: var(--pl-verify); font-weight: 600; font-size: 11px; }
.pl-exit-note { font-size: 12px; color: var(--pl-muted); line-height: 1.5; margin-top: 3px; }

/* Progress page */
.pl-prog-bar-track { background: var(--pl-line); border-radius: 4px; height: 10px; overflow: hidden; margin: 8px 0 16px; }
.pl-prog-bar-fill { height: 100%; border-radius: 4px; background: var(--pl-signal-pursue); transition: width 0.4s ease; }
.pl-prog-stat { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-prog-stat:last-child { border-bottom: 0; }
.pl-prog-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pl-prog-count { font-family: var(--pl-mono); font-size: 13px; font-weight: 600; color: var(--pl-ink); min-width: 28px; }
.pl-prog-label { font-size: 13px; color: var(--pl-text); }
.pl-prog-task { font-size: 12px; color: var(--pl-muted); font-family: var(--pl-mono); padding: 4px 0 4px 18px; border-bottom: 1px solid var(--pl-line-2); }
.pl-prog-task:last-child { border-bottom: 0; }

/* ── owner read section ────────────────────────────── */
.pl-owner-sec { display: flex; flex-direction: column; gap: 7px; }
.pl-owner-row { display: flex; gap: 10px; align-items: baseline; }
.pl-owner-k { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-muted); text-transform: uppercase; letter-spacing: 0.04em; min-width: 72px; flex: none; }
.pl-owner-v { font-size: 13.5px; color: var(--pl-ink); line-height: 1.4; }
.pl-owner-alert { color: var(--pl-risk); font-weight: 500; }
.pl-owner-motivation { font-size: 13px; line-height: 1.5; padding: 8px 10px; border-radius: 4px; margin-top: 4px; }
.pl-owner-motivation--motivated { background: #DCFCE7; color: #14532D; }
.pl-owner-motivation--watch { background: #FEF9C3; color: #713F12; }
.pl-owner-motivation--none { color: var(--pl-muted); font-style: italic; }
.pl-owner-signals { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pl-owner-sig { font-family: var(--pl-mono); font-size: 9.5px; padding: 2px 7px; border-radius: 3px; background: var(--pl-line); color: var(--pl-text); }
.pl-owner-limit { font-size: 11.5px; color: var(--pl-muted); margin-top: 5px; font-style: italic; }

/* Submarket trends (TREND-A) -- typography/card treatment aligned with the
   rest of the editorial shell (.pl-stat serif numbers, .pl-judg solid pill
   badges) instead of a bordered dashboard-widget look. */
.pl-trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  margin-top: 4px;
  background: var(--pl-line);
  border: 1px solid var(--pl-line);
}
.pl-trend-card {
  background: var(--pl-surface);
  border-top: 2px solid var(--pl-faint);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pl-trend-card--accelerating { border-top-color: var(--pl-pursue); }
.pl-trend-card--cooling      { border-top-color: var(--pl-brass); }
.pl-trend-card--quiet        { border-top-color: var(--pl-faint); }
.pl-trend-card--active       { border-top-color: #0C4A6E; }
.pl-trend-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pl-trend-name { font-family: var(--pl-serif); font-size: 16px; font-weight: 500; color: var(--pl-ink); }
.pl-trend-badge {
  display: inline-block; font-family: var(--pl-mono); font-size: 9.5px; font-weight: 500;
  padding: 3px 9px; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.08em;
}
.pl-trend-badge--accelerating { background: var(--pl-pursue); color: var(--pl-surface); }
.pl-trend-badge--active       { background: #0C4A6E; color: var(--pl-surface); }
.pl-trend-badge--cooling      { background: var(--pl-brass); color: var(--pl-surface); }
.pl-trend-badge--quiet        { background: var(--pl-line-2); color: var(--pl-muted); }
.pl-trend-counts { display: flex; gap: 18px; }
.pl-trend-stat { display: flex; flex-direction: column; }
.pl-trend-num { font-family: var(--pl-serif); font-size: 24px; font-weight: 500; color: var(--pl-ink); line-height: 1.1; }
.pl-trend-num--muted { color: var(--pl-faint); }
.pl-trend-unit { font-family: var(--pl-mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pl-xmuted); margin-top: 3px; }
.pl-trend-builders { font-size: 12px; color: var(--pl-text); line-height: 1.4; }
.pl-trend-label { font-family: var(--pl-mono); font-size: 9.5px; color: var(--pl-xmuted); text-transform: uppercase; margin-right: 4px; }
.pl-trend-meta { display: flex; gap: 10px; margin-top: 2px; }

/* Overview step cards */
.pl-overview-step {
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 8px;
  padding: 20px;
}
.pl-overview-step-num {
  font-family: var(--pl-mono);
  font-size: 11px;
  color: var(--pl-xmuted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.pl-overview-step-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--pl-ink);
  margin-bottom: 6px;
}
.pl-overview-step-body {
  font-size: 13px;
  color: var(--pl-text);
  line-height: 1.55;
}

/* Signal tags: why this parcel surfaced */
.pl-signal-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.pl-signal-tag {
  font-family: var(--pl-mono);
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--pl-line-2);
  color: var(--pl-muted);
  border: 1px solid var(--pl-faint);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .pl-stats { grid-template-columns: repeat(2, 1fr); }
  .pl-vault { grid-template-columns: 1fr; }
  .pl-sig { grid-template-columns: 70px 14px 1fr; gap: 12px; }
  .pl-trend-grid { grid-template-columns: 1fr; }
}
.pl-changed, .pl-diamonds, .pl-scan {
  border-top: 1px solid var(--pl-line);
  border-bottom: 1px solid var(--pl-line);
  margin: 0 0 1.5rem;
  padding: 1.25rem 0;
}
.pl-diamonds { border-top: 2px solid var(--pl-brass); }
.pl-scan-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}
.pl-scan-stat { display: flex; flex-direction: column; gap: 0.15rem; }
.pl-scan-num {
  font-family: var(--pl-serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--pl-ink);
  font-variant-numeric: tabular-nums;
}
.pl-scan-label {
  font-family: var(--pl-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pl-muted);
}
.pl-scan-group {
  font-family: var(--pl-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pl-brass);
  margin: 1.1rem 0 0.4rem;
}
.pl-scan-method {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--pl-muted);
}
.pl-heartbeats { margin: 0 0 1.5rem; }
.pl-heartbeat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 0.4rem;
}
.pl-heartbeat {
  font-family: var(--pl-mono);
  font-size: 0.72rem;
  color: var(--pl-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pl-heartbeat i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pl-pursue);
}
.pl-heartbeat--warn { color: #991B1B; font-weight: 600; }
.pl-heartbeat--warn i { background: #991B1B; }
.pl-changed-head {
  margin-bottom: 0.75rem;
}
.pl-changed-head h2 {
  font-family: var(--pl-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0.2rem 0 0;
}
.pl-changed-list {
  border-top: 1px solid var(--pl-line);
}
.pl-changed-row {
  border-bottom: 1px solid var(--pl-line);
  color: inherit;
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.75rem 0;
  text-decoration: none;
}
.pl-changed-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pl-changed-age {
  font-family: var(--pl-mono);
  font-size: 0.72rem;
  color: var(--pl-pursue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pl-changed-signal {
  font-family: var(--pl-mono);
  font-size: 0.72rem;
  color: var(--pl-muted);
}
.pl-changed-parcel {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  min-width: 0;
}
.pl-changed-detail {
  color: var(--pl-muted);
  font-size: 0.78rem;
}
.pl-changed-basis {
  font-family: var(--pl-mono);
  font-size: 0.78rem;
  color: var(--pl-ink);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .pl-changed-row {
    grid-template-columns: 1fr;
  }
  .pl-changed-meta { flex-direction: row; gap: 0.5rem; }
  .pl-changed-basis { text-align: left; }
}

.pl-review {
  border-top: 1px solid var(--pl-line);
  border-bottom: 1px solid var(--pl-line);
  margin: 0 0 1.5rem;
  padding: 1.25rem 0;
}

.pl-review-head,
.pl-review-label,
.pl-review-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pl-review-head h2 {
  font-family: var(--pl-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0.2rem 0 0;
}

.pl-review-head a,
.pl-review-empty a {
  color: var(--pl-ink);
}

.pl-review-group {
  margin-top: 1rem;
}

.pl-review-label span,
.pl-review-row span,
.pl-review-empty {
  color: var(--pl-muted);
  font-size: 0.78rem;
}

.pl-review-list {
  border-top: 1px solid var(--pl-line);
  margin-top: 0.5rem;
}

.pl-review-row {
  border-bottom: 1px solid var(--pl-line);
  color: inherit;
  padding: 0.8rem 0;
  text-decoration: none;
}

.pl-review-row > div {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.pl-review-row > div:last-child {
  max-width: 24rem;
  text-align: right;
}

.pl-review-reasons {
  flex: 1;
  text-align: center;
}

@media (max-width: 760px) {
  .pl-review-row {
    align-items: start;
    display: grid;
  }

  .pl-review-reasons,
  .pl-review-row > div:last-child {
    text-align: left;
  }
}

/* ============ PIPELINE / OWNER OUTREACH ============ */
.pl-pipe-counts {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--pl-line); border: 1px solid var(--pl-line); border-radius: 8px;
  overflow: hidden; margin: 24px 0 26px;
}
.pl-pipe-count { background: var(--pl-surface); padding: 14px 16px; opacity: .55; }
.pl-pipe-count--live { opacity: 1; }
.pl-pipe-count strong { display: block; font-family: var(--pl-serif); font-weight: 500; font-size: 26px; line-height: 1; color: var(--pl-ink); }
.pl-pipe-count span { font-family: var(--pl-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-muted); margin-top: 7px; display: block; }

.pl-pipe-list { border-top: 1px solid var(--pl-ink); }
.pl-pipe-row {
  display: grid; grid-template-columns: 108px minmax(0, 1.6fr) minmax(0, 1fr) 92px;
  gap: 16px; align-items: center; padding: 15px 12px;
  border-bottom: 1px solid var(--pl-line); text-decoration: none; color: inherit;
  transition: background .16s;
}
.pl-pipe-row:hover { background: var(--pl-card); }
.pl-pipe-addr { display: block; font-family: var(--pl-serif); font-size: 16.5px; color: var(--pl-ink); }
.pl-pipe-meta { display: block; font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); margin-top: 4px; }
.pl-pipe-next { font-size: 12.5px; color: var(--pl-muted); line-height: 1.4; }
.pl-pipe-when { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); text-align: right; }

/* outreach status chips */
.pl-out {
  display: inline-flex; justify-content: center; font-family: var(--pl-mono);
  font-size: 9.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 5px;
}
.pl-out--drafted     { background: var(--pl-line-2); color: var(--pl-text); }
.pl-out--sent        { background: #E0F2FE; color: #0C4A6E; }
.pl-out--responded   { background: var(--pl-verify-bg); color: var(--pl-verify); }
.pl-out--negotiating { background: #FDE68A; color: #713F12; }
.pl-out--contracted  { background: var(--pl-pursue); color: var(--pl-surface); }
.pl-out--dead        { background: var(--pl-pass); color: #F5F5F3; }

/* the letter page */
.pl-letter-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) 360px; gap: 38px; align-items: start; margin-top: 6px; }
.pl-letter-paper {
  margin-top: 22px; background: var(--pl-card); border: 1px solid var(--pl-line);
  border-radius: 10px; padding: 40px 44px;
  box-shadow: 0 1px 0 var(--pl-line), 0 18px 40px -28px rgba(29,33,31,.5);
}
.pl-letter-paper p { margin: 0 0 16px; font-family: var(--pl-serif); font-size: 15px; line-height: 1.7; color: var(--pl-ink-2); }
.pl-letter-paper p:last-child { margin-bottom: 0; font-size: 12.5px; color: var(--pl-muted); border-top: 1px solid var(--pl-line-2); padding-top: 14px; }
.pl-letter-actions { display: flex; gap: 10px; margin-top: 14px; }
.pl-letter-rail { position: sticky; top: 74px; }
.pl-letter-form { display: flex; flex-direction: column; gap: 6px; }
.pl-letter-form select, .pl-letter-form textarea, .pl-letter-form input {
  border: 1px solid var(--pl-line); border-radius: 6px; background: var(--pl-card);
  font-family: var(--pl-sans); font-size: 13px; color: var(--pl-ink); padding: 8px 10px;
}
.pl-letter-form select { font-family: var(--pl-mono); font-size: 12px; text-transform: lowercase; }
.pl-letter-form button { margin-top: 10px; align-self: flex-start; }
.pl-letter-label { font-family: var(--pl-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-muted); margin-top: 10px; }
.pl-letter-error { padding: 9px 12px; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 7px; color: #991B1B; font-size: 12.5px; }
.pl-letter-stamps { margin-top: 16px; display: flex; flex-direction: column; gap: 5px; }
.pl-letter-stamps div { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-ink); }
.pl-letter-stamps span { display: inline-block; min-width: 74px; color: var(--pl-xmuted); text-transform: uppercase; letter-spacing: .06em; font-size: 9.5px; }
.pl-letter-checklist { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.pl-letter-checklist li { font-size: 12.5px; line-height: 1.5; color: var(--pl-text); }
.pl-letter-fineprint { margin-top: 12px; font-size: 11px; line-height: 1.5; color: var(--pl-xmuted); }

@media (max-width: 940px) {
  .pl-letter-grid { grid-template-columns: 1fr; }
  .pl-letter-rail { position: static; }
  .pl-pipe-counts { grid-template-columns: repeat(3, 1fr); }
  .pl-pipe-row { grid-template-columns: 96px 1fr; }
  .pl-pipe-next, .pl-pipe-when { display: none; }
}
@media print {
  .pl-letter-grid { grid-template-columns: 1fr; }
  .pl-letter-paper { border: 0; box-shadow: none; padding: 0; }
}

/* outreach state on the memo */
.pl-memo-outreach { display: flex; flex-direction: column; gap: 7px; }
.pl-memo-outreach-row {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 8px 10px; border: 1px solid var(--pl-line); border-radius: 7px;
  background: var(--pl-surface); transition: border-color .14s;
}
.pl-memo-outreach-row:hover { border-color: var(--pl-brass); }
.pl-memo-outreach-meta { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-muted); }

/* ============ THE LETTER (weekly issue) ============ */
.pl-iss { max-width: 740px; margin: 0 auto; padding: 40px 26px 90px; }
.pl-iss-head { border-bottom: 2px solid var(--pl-ink); padding-bottom: 18px; margin-bottom: 30px; position: relative; }
.pl-iss-brand { display: flex; align-items: baseline; gap: 14px; }
.pl-iss-name { font-family: var(--pl-serif); font-size: 34px; font-weight: 500; color: var(--pl-ink); line-height: 1; }
.pl-iss-tag { font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pl-muted); }
.pl-iss-issue { margin-top: 10px; font-family: var(--pl-mono); font-size: 11px; color: var(--pl-xmuted); }
.pl-iss-head .pl-print { position: absolute; right: 0; top: 6px; }

.pl-iss-sec { margin-bottom: 34px; }
.pl-iss-quiet { font-size: 13.5px; line-height: 1.55; color: var(--pl-muted); font-style: italic; }

.pl-iss-move {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px;
  align-items: center; padding: 11px 0; border-bottom: 1px solid var(--pl-line-2);
  text-decoration: none; color: inherit;
}
.pl-iss-move:last-of-type { border-bottom: 0; }
.pl-iss-move-age { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-brass); }
.pl-iss-move-addr { display: block; font-family: var(--pl-serif); font-size: 16px; color: var(--pl-ink); }
.pl-iss-move-meta { display: block; font-family: var(--pl-mono); font-size: 10px; color: var(--pl-xmuted); margin-top: 3px; }

.pl-iss-feat { border: 1px solid var(--pl-line); border-radius: 10px; background: var(--pl-card); padding: 24px 28px; }
.pl-iss-feat-top { display: flex; align-items: center; gap: 10px; }
.pl-iss-feat-county { font-family: var(--pl-mono); font-size: 10.5px; color: var(--pl-xmuted); }
.pl-iss-feat-addr { margin: 12px 0 0; font-family: var(--pl-serif); font-weight: 500; font-size: 26px; line-height: 1.1; }
.pl-iss-feat-addr a { color: var(--pl-ink); text-decoration: none; }
.pl-iss-feat-addr a:hover { color: var(--pl-brass); }
.pl-iss-feat-hero { margin-top: 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pl-iss-feat-value { font-family: var(--pl-serif); font-weight: 500; font-size: 40px; line-height: 1; color: var(--pl-ink); }
.pl-iss-feat-note { font-size: 12.5px; color: var(--pl-muted); }
.pl-iss-feat-becomes { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--pl-ink-2); }
.pl-iss-feat-spread { margin: 6px 0 0; font-family: var(--pl-mono); font-size: 11px; color: var(--pl-brass); }
.pl-iss-feat-line { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--pl-text); }
.pl-iss-feat-sources { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--pl-line-2); display: flex; flex-wrap: wrap; gap: 5px 14px; }
.pl-iss-feat-sources span { font-family: var(--pl-mono); font-size: 9.5px; color: var(--pl-xmuted); }

.pl-iss-event { padding: 12px 0; border-bottom: 1px solid var(--pl-line-2); }
.pl-iss-event:last-of-type { border-bottom: 0; }
.pl-iss-event-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pl-iss-event-trigger { font-family: var(--pl-serif); font-size: 15px; color: var(--pl-ink); }
.pl-iss-event-when { font-family: var(--pl-mono); font-size: 10px; color: var(--pl-xmuted); white-space: nowrap; }
.pl-iss-event-summary { margin: 5px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--pl-muted); }

.pl-iss-corpus { font-size: 13.5px; line-height: 1.6; color: var(--pl-text); }
.pl-iss-foot {
  margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--pl-line);
  font-family: var(--pl-mono); font-size: 10px; line-height: 1.6; color: var(--pl-xmuted);
}

@media print {
  .pl-iss { max-width: none; padding: 0; }
  .pl-iss-feat { border: 1px solid #ccc; }
}
@media (max-width: 620px) {
  .pl-iss-head .pl-print { position: static; display: inline-block; margin-top: 10px; }
  .pl-iss-move { grid-template-columns: 52px minmax(0, 1fr); }
  .pl-iss-move .pl-judg { display: none; }
}
.pl-iss-note {
  margin: -8px 0 30px; font-family: var(--pl-serif); font-size: 18px;
  line-height: 1.5; color: var(--pl-ink-2); font-style: italic; text-wrap: pretty;
}
.pl-mast-sep { width: 1px; height: 18px; background: var(--pl-line); margin: 0 4px; flex: none; }
@media (max-width: 760px) { .pl-mast-sep { display: none; } }

/* ============ OVERVIEW CONVEYOR BELT (live opportunity ticker) ============ */
/* A continuous, seamless marquee of live plays near the top of the overview,
   the "what we surface" ticker. Two identical groups; the track translates by
   exactly one group width so the loop is seamless. Pauses on hover. Edge fade
   masks give the futuristic conveyor look. Pure CSS, no JS. */
.pl-belt {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.pl-belt--top {
  width: 100%; padding: 16px 0;
  border-bottom: 1px solid var(--pl-line);
  background: linear-gradient(180deg, var(--pl-surface), var(--pl-paper));
}
.pl-belt-track { display: flex; width: max-content; animation: pl-belt-scroll 64s linear infinite; }
.pl-belt:hover .pl-belt-track { animation-play-state: paused; }
.pl-belt-group { display: flex; align-items: center; gap: 12px; padding-right: 12px; }
.pl-belt-item {
  flex: none; display: inline-flex; align-items: center; gap: 11px; white-space: nowrap;
  padding: 9px 17px; border: 1px solid var(--pl-line); border-radius: 999px;
  background: var(--pl-card); text-decoration: none; color: inherit;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.pl-belt-item:hover {
  border-color: var(--pl-brass);
  box-shadow: 0 10px 26px -18px rgba(29,33,31,.5);
  transform: translateY(-1px);
}
.pl-belt-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.pl-belt-dot--pursue { background: var(--pl-pursue); box-shadow: 0 0 0 3px rgba(15,76,42,.12); }
.pl-belt-dot--verify { background: var(--pl-brass); box-shadow: 0 0 0 3px rgba(176,138,74,.14); }
.pl-belt-dot--pass   { background: var(--pl-xmuted); }
.pl-belt-play { font-family: var(--pl-serif); font-size: 15px; font-weight: 500; color: var(--pl-ink); }
.pl-belt-addr { font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--pl-xmuted); }
.pl-belt-spread { font-family: var(--pl-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--pl-brass); }
@keyframes pl-belt-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .pl-belt-track { animation: none; }
  .pl-belt { overflow-x: auto; }
}
