/* patron-plan.css — p199 (2026-11-26): the Company plan card (<plan/>, patron-plan.js). It sits inside the Co-founder's blue
   bubble in p162's card shell (patron-chat-read.css lists .cp-card with the other cards: white with ink words in White and Sky,
   solid #17181c in Dark), so every colour here is one of the shell's --rd-* tokens. One accent only, the Co-founder's own blue
   (--rd-who), on the current stage and its number; "late" is said in words, in amber, only when it is true. No pills, no
   capitals, no gradients. Classes are cp- (pp- is the payments card's, patron-chat.css). */
.cp-card{--cp-accent:var(--rd-who,#2f6fd6);display:grid;gap:12px;padding:14px 16px 10px;font-size:14px;line-height:20px;color:var(--rd-text,#26262a)}
.cp-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}
.cp-title{min-width:0;font-size:15px;font-weight:650;line-height:21px;color:var(--rd-ink,#161616)}
.cp-kind{flex:none;font-size:13px;color:var(--rd-mute,#5f5f5b)}
.cp-empty{color:var(--rd-mute,#5f5f5b)}

/* where we are: the stage, its place on the path, the path as segments */
.cp-now{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:8px;margin-bottom:-4px}
.cp-stage{font-size:18px;font-weight:650;line-height:24px;letter-spacing:-.01em;color:var(--rd-ink,#161616)}
.cp-step{font-size:13px;color:var(--rd-mute,#5f5f5b);font-variant-numeric:tabular-nums}
.cp-bar{display:flex;gap:3px;margin:0;padding:0;list-style:none}
.cp-seg{flex:1;height:4px;border-radius:2px;background:var(--rd-chipline,rgba(24,24,20,.13))}
.cp-seg.done{background:color-mix(in srgb,var(--rd-ink,#161616) 70%,transparent)}
.cp-seg.now{background:var(--cp-accent)}

/* the one number and where it comes from */
.cp-num{display:grid;gap:6px;padding-top:12px;box-shadow:inset 0 1px 0 var(--rd-line,rgba(24,24,20,.09))}
.cp-numrow{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.cp-numname{min-width:0}
.cp-numval{flex:none;font-variant-numeric:tabular-nums;color:var(--rd-mute,#5f5f5b)}
.cp-numval b{font-size:18px;font-weight:650;color:var(--rd-ink,#161616)}
.cp-meter{height:4px;border-radius:2px;background:var(--rd-chipline,rgba(24,24,20,.13));overflow:hidden}
.cp-meter span{display:block;height:100%;border-radius:2px;background:var(--cp-accent)}
.cp-src{font-size:12.5px;line-height:17px;color:var(--rd-faint,#8a8a85)}

/* what's open: who, what, when */
.cp-loops{display:grid;gap:7px;margin:0;padding:12px 0 0;list-style:none;box-shadow:inset 0 1px 0 var(--rd-line,rgba(24,24,20,.09))}
.cp-loop{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:baseline;column-gap:10px}
.cp-mark{width:9px;height:9px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--rd-faint,#8a8a85);transform:translateY(1px)}
.cp-loop.mine .cp-mark{box-shadow:inset 0 0 0 1.5px var(--rd-ink,#161616)}
.cp-what{min-width:0}
.cp-what b{font-weight:600;color:var(--rd-ink,#161616)}
.cp-when{font-size:13px;color:var(--rd-mute,#5f5f5b);white-space:nowrap;font-variant-numeric:tabular-nums}
.cp-loop.late .cp-mark{box-shadow:inset 0 0 0 1.5px var(--rd-amber,#8a5800)}
.cp-loop.late .cp-when{color:var(--rd-amber,#8a5800);font-weight:600}

.cp-open{justify-self:start;margin:-2px 0 0 -8px;padding:5px 8px;border:0;border-radius:8px;background:none;color:var(--rd-ink,#161616);
  font:inherit;font-size:13.5px;font-weight:600;line-height:20px;cursor:pointer}
.cp-open::after{content:" \2192";color:var(--rd-mute,#5f5f5b)}
.cp-open:hover{background:var(--rd-chip,rgba(24,24,20,.045))}
.cp-open:focus-visible{outline:2px solid var(--rd-focus,#2f6fd6);outline-offset:1px}

@media (max-width:520px){
  .cp-card{padding:13px 14px 9px}
  .cp-loop{grid-template-columns:9px minmax(0,1fr)}
  .cp-when{grid-column:2;font-size:12.5px;line-height:17px}
}
