/* Coaching Leads: private working page for the Program Director and Program Admin. */
:root{--bg:#F6F3EC;--card:#fff;--fg:#11161F;--muted:#5B6676;--line:rgba(11,30,60,.14);--navy:#0E2A47;--accent:#C75A24;--accent-soft:#F7D6BE;--ok:#2E8C5A;--warn:#B07F12;--bad:#C24A3E;--chip:#EEF2F7}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.45 "Segoe UI",system-ui,-apple-system,sans-serif}
[hidden]{display:none!important}
h1,h2,h3{line-height:1.2;margin:0 0 .4em;text-wrap:balance}
h1{font-size:26px}h2{font-size:18px}h3{font-size:15px}
a{color:var(--navy)}
.muted{color:var(--muted)}.small{font-size:13px}.err{color:var(--bad);font-weight:600}
/* The top banner stays up until dismissed (no auto-hide): on every width, not just desktop, since scrolling down
   on a phone used to carry it clean out of view. Red (.bad) means it did not go through; green (.ok) means it did. */
#err:not([hidden]){position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:70;max-width:min(900px,90vw);box-shadow:0 8px 24px rgba(11,30,60,.3);display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;background:var(--card)}
#err.bad{color:var(--bad);border:1px solid var(--bad)}
#err.ok{color:var(--ok);border:1px solid var(--ok)}
#err-close{border:0;background:none;font:inherit;font-size:20px;line-height:1;color:inherit;cursor:pointer;padding:0 2px}
.lh{background:var(--navy);color:#EAF2FF}
.lh-in,.lm{max-width:1280px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.lh-in{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:10px;flex-wrap:wrap}
.lh-brand{display:flex;align-items:center;gap:14px;font-weight:600;letter-spacing:.02em}
.lh-brand img{height:32px;width:auto}
.lh-me{display:flex;gap:14px;align-items:center;font-size:14px}.lh-me a{color:#9FC9FF}
.lm{padding-block:18px 60px}
.signin{max-width:460px;margin:10vh auto;text-align:center;background:var(--card);padding:32px;border-radius:12px;border:1px solid var(--line)}
/* One look for every button at rest (Ken, Nov 13): color used to mark "the main action," but two unrelated
   buttons in that same color, stacked on the page, read as "these are both already pressed." Hover and :disabled
   are the only states that differ now; .b-main/.b-warn/.b-quiet stay in the markup but no longer change how a
   button looks, so nothing here needs to be touched if a real pressed/done state is added later. */
.b{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 14px;border-radius:8px;border:1px solid var(--line);background:var(--card);color:var(--fg);font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.b:hover{border-color:var(--navy)}
.b:disabled{opacity:.5;cursor:default}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:14px;overflow-x:auto}
.tabs button{border:0;background:none;font:inherit;font-weight:600;padding:10px 14px;color:var(--muted);border-bottom:3px solid transparent;cursor:pointer;white-space:nowrap}
.tabs button[aria-current=page]{color:var(--fg);border-bottom-color:var(--accent)}
.tabs b{display:inline-block;min-width:22px;padding:0 6px;border-radius:11px;background:var(--chip);color:var(--fg);font-size:12px;line-height:20px;text-align:center}
.tabs b.hot{background:var(--accent);color:#fff}
.bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.bar input,.bar select{min-height:38px}
input,select,textarea{font:inherit;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--fg);max-width:100%}
#search{flex:1 1 220px}
label{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:600;color:var(--muted)}
label input,label select,label textarea{font-weight:400;color:var(--fg)}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-bottom:10px}
.add{margin-bottom:14px;display:grid;gap:8px}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:14px;align-items:start}
.split.solo{grid-template-columns:minmax(0,1fr)}
@media (max-width:900px){.split{grid-template-columns:minmax(0,1fr)}}
.list{display:grid;gap:6px;min-width:0}
.lead{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr) minmax(0,1.6fr);gap:10px;align-items:center;text-align:left;width:100%;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;color:inherit;cursor:pointer}
.lead:hover,.lead[aria-current=true]{border-color:var(--navy)}
.lead[aria-current=true]{box-shadow:inset 3px 0 0 var(--accent)}
.lead .who b{display:block}.lead .who span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.lead .next{font-size:14px}.lead .next small{display:block;color:var(--muted)}
.late{color:var(--bad);font-weight:600}
@media (max-width:640px){.lead{grid-template-columns:minmax(0,1fr) auto}.lead .next{grid-column:1/-1}}
.stage{display:inline-block;padding:2px 9px;border-radius:12px;background:var(--chip);font-size:12.5px;font-weight:600;white-space:nowrap}
.st-yes,.st-signed,.st-paid{background:#E3F1E8;color:#1F6B42}.st-ready{background:var(--ok);color:#fff}
.st-not_yet,.st-hold{background:#FBEFD5;color:#7A5608}.st-no,.st-closed{background:#EEE;color:#666}
.st-strategy_call{background:#E8E4F6;color:#3D2F7A}
.story{border-left:3px solid var(--accent);background:#FDF4EC;padding:10px 14px;margin:12px 0;border-radius:0 8px 8px 0}
.story h3{margin:0 0 4px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.story p{margin:0;line-height:1.5}
.lead .origin{color:var(--muted, #5b6676);font-size:12.5px}
.st-interview_booked,.st-interviewed{background:#E3EEFB;color:#1B3D63}.st-new_inquiry,.st-applied{background:var(--accent-soft);color:#7A3410}
/* The 8 steps (stored stages stay the same underneath) */
.st-interested,.st-applied{background:var(--accent-soft);color:#7A3410}.st-interview{background:#E3EEFB;color:#1B3D63}
.st-said_yes{background:#E3F1E8;color:#1F6B42}.st-enrolled{background:var(--ok);color:#fff}
.stage .sub,.lead .stage .sub{display:block;margin:1px 0 0;font-weight:500;font-size:11px;opacity:.85;line-height:1.2}
.checklist{list-style:none;margin:10px 0 4px;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px}
.checklist li{display:flex;align-items:center;gap:5px;color:#5b6676}
.checklist li.done{color:inherit}
.checklist .tick{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;border:1.5px solid #b9c0ca;font-size:11px;line-height:1}
.checklist li.done .tick{background:var(--ok);border-color:var(--ok);color:#fff}
.checklist small{margin-left:2px}
.toggle.keep{margin-top:8px;font-size:13.5px}
.next-line{display:grid;gap:8px}
.review-box{border:2px solid var(--navy);border-radius:10px;padding:12px;background:#F4F7FB}
.review-list{margin:0;padding-left:20px;display:grid;gap:4px;font-size:14px}
.review-card{border-left:4px solid var(--navy);display:grid;gap:8px;margin-bottom:14px}
.review-card summary{cursor:pointer;list-style:revert}
.review-card summary::-webkit-details-marker{margin-right:6px}
.st-joining{background:#E3F1E8;color:#1F6B42}
.short-link{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.short-link code{background:#F2F4F7;border-radius:6px;padding:4px 8px;font-size:13.5px;overflow-wrap:anywhere}
.next-line .moved{color:#7A5608;font-weight:600}
.move-panel{display:grid;gap:8px;border-top:1px dashed var(--line);padding-top:8px}
.move-panel input[type=text]{flex:1;min-width:140px}
.toast-ask{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px}
.today .later .todo-list,.later .todo-list{gap:2px}
.saved-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.saved-list li{border:1px solid var(--line,#e3e6ea);border-radius:10px;padding:10px 12px}
.saved-list pre{white-space:pre-wrap;font:inherit;font-size:13px;margin:6px 0;color:#3b4552}
.detail{position:sticky;top:12px;display:grid;gap:14px;min-width:0;max-height:calc(100vh - 24px);overflow:auto}
@media (max-width:900px){.detail{position:static;max-height:none}}
.detail .close{justify-self:end}
.facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;font-size:14px;margin:0}
.facts dt{color:var(--muted)}.facts dd{margin:0;overflow-wrap:anywhere}
/* The desktop text box: send through the MacBook bridge, or copy the number and words when it is off. */
.text-modal{position:fixed;inset:0;background:rgba(11,22,38,.45);display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}
.text-modal-card{background:var(--card);border-radius:12px;padding:20px;max-width:480px;width:100%;display:grid;gap:10px;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.text-modal-card h3{margin:0}
.text-modal-card textarea{width:100%;min-height:110px;resize:vertical}
.text-modal-card pre{white-space:pre-wrap;font:inherit;margin:0;background:#FAF8F3;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:14px;overflow-wrap:anywhere}
.box{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:8px}
.box h3{margin:0}
/* The practice copy: a different header color and a bar across the top, so it is never mistaken for the real list. */
body.practice .lh{background:#5B3A8C}
.practice-bar{background:#EFE7FA;border:1px solid #5B3A8C;border-radius:10px;padding:10px 12px;margin-bottom:14px;display:grid;gap:8px}
.practice-bar p{margin:0}
/* The class approval: one block per attendance group, with the exact email a tap away. */
.class-plan{display:grid;gap:10px;margin-top:8px}
.class-group{border-top:1px solid var(--line);padding-top:8px;display:grid;gap:6px}
.class-plan label{display:inline-flex;flex-direction:row;gap:6px;align-items:center;font-size:14px}
.class-mails{display:grid;gap:10px;margin-top:6px}
.class-email{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;background:var(--chip);padding:8px 10px;border-radius:8px;margin:6px 0 0}
/* The update box sits first under the name: where they stand, a follow-up day and a note. */
.update-box{border:1px solid var(--line);border-radius:10px;padding:12px;background:#F4F7FB}
.update-box select{max-width:100%}.update-box .update-note{flex:1 1 220px;min-width:0}
.update-box .notice{margin:0}
.toggle{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:14px;color:var(--fg);font-weight:600}
.toggle input{width:18px;height:18px}
.history{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13.5px}
.history li{border-left:3px solid var(--line);padding-left:9px}
.history .meta{color:var(--muted);font-size:12px}
.history .k-note{border-left-color:var(--navy)}.history .k-send{border-left-color:var(--ok)}.history .k-problem{border-left-color:var(--bad)}.history .k-stage{border-left-color:var(--accent)}
.msg{display:grid;gap:8px;margin-bottom:10px}
.msg pre{white-space:pre-wrap;font:inherit;margin:0;background:#FAF8F3;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:14px;overflow-wrap:anywhere}
.msg .head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.mode{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;align-items:center}
.measures{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:10px}
.measure{display:grid;gap:4px}
.measure .v{font-size:30px;font-weight:700;font-variant-numeric:tabular-nums}
.measure .t{font-size:13px;color:var(--muted)}
.measure.ok{box-shadow:inset 0 4px 0 var(--ok)}.measure.off{box-shadow:inset 0 4px 0 var(--bad)}
.notice{background:#FBEFD5;border-radius:8px;padding:8px 10px;font-size:14px}
.empty{padding:24px;text-align:center;color:var(--muted)}
.sub{margin-top:22px}
#phone-setup{margin-top:16px}#phone-setup summary{font-weight:600;cursor:pointer}
.keybox{display:grid;gap:6px;margin-top:10px}.keybox code{display:block;padding:8px;border:1px solid var(--line);border-radius:8px;background:#FAF8F3;overflow-wrap:anywhere;font-size:13px}

/* Message previews (exactly what goes out) */
.preview{display:grid;gap:10px}
.preview-msg{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.preview-head{padding:8px 12px;background:var(--chip);font-size:13px;overflow-wrap:anywhere}
.preview-subject{padding:8px 12px;border-bottom:1px solid var(--line);font-size:14px}
.preview-email{padding:14px 12px;color:#11161f}
.preview-email a{color:#1a56c4}
.preview-text{padding:12px;white-space:pre-wrap;font-size:14px;overflow-wrap:anywhere}

/* Today: the first screen. What to do this week, closest to a signup first. */
.today-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.today-top h1{margin:0;font-size:30px}
.today-top .day{margin:0 0 2px}
.today-top .lede{margin:4px 0 0;font-size:17px}
.section-title{font-size:12.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:20px 0 8px}
.section-title.late-title{color:var(--bad)}
.lede-jump{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:2px}
.lede-jump:hover{text-decoration-color:currentColor}
.path{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(0,1.1fr);gap:6px}
.path .step{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;color:inherit;cursor:pointer;position:relative}
.path .step:hover{border-color:var(--navy)}
.path .step .n{font-size:26px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.path .step .lbl{font-size:13px;color:var(--muted);font-weight:600}
.path .step.goal{background:#E3F1E8;border-color:#BBDCC8}.path .step.goal .lbl{color:#1F6B42}
.path .step.side{background:#FBEFD5;border-color:#EBD7A6;margin-left:8px}.path .step.side .lbl{color:#7A5608}
@media (max-width:760px){.path{grid-template-columns:repeat(3,minmax(0,1fr))}.path .step.side{margin-left:0}}
.alert-card{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;border-color:var(--accent);background:#FDF4EC}
.alert-card h2,.alert-card p{margin:0}
.todos{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px;align-items:start}
.todo{display:grid;gap:8px}
.todo p{margin:0}
.todo.has-late{box-shadow:inset 0 4px 0 var(--bad)}
.todo-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.todo-head h2{margin:0}
.count{min-width:30px;height:30px;border-radius:15px;background:var(--navy);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;font-variant-numeric:tabular-nums}
.todo-list{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.todo-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 10px;align-items:baseline;width:100%;text-align:left;background:#FAF8F3;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font:inherit;color:inherit;cursor:pointer;min-height:44px}
.todo-row:hover{border-color:var(--navy);background:#fff}
.todo-row b{overflow-wrap:anywhere}
.todo-row small{font-size:12.5px;color:var(--muted);white-space:nowrap}
.todo-row small.late{color:var(--bad)}
.todo-row .todo-step{grid-column:1/-1;font-size:13px;color:var(--muted)}
.today-foot{margin-top:14px}
.focus{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;background:var(--chip);border-radius:10px;padding:6px 6px 6px 12px;font-weight:600}

/* Calls: one card per person to phone, tap-to-call number, one-tap results. */
#calls{display:grid;gap:10px}
.call-row{display:grid;gap:8px}
.call-row.is-class{box-shadow:inset 3px 0 0 var(--navy)}
.call-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.call-who{display:grid;gap:2px;min-width:0}
.link-name{border:0;background:none;padding:0;font:inherit;font-size:17px;font-weight:700;color:var(--fg);text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.link-name:hover{text-decoration-color:var(--navy)}
.link-name.msg-name,.link-name.eb-name-link{font-size:inherit;font-weight:inherit}
.call-btn{min-height:44px;font-size:16px;padding:9px 18px}
.call-step{margin:0;font-weight:600}.call-step small{font-weight:400;color:var(--muted)}.call-step small.late{color:var(--bad);font-weight:600}
.call-note{margin:0;overflow-wrap:anywhere}
.call-results{display:grid;gap:6px}
.call-results .b{min-height:40px}
@media (max-width:640px){.call-btn{width:100%}.call-results .row .b{flex:1 1 auto}}
/* Editing a message before it goes out. */
.preview-msg.editing{border-color:var(--navy)}
.edit-subject{width:100%;margin-top:4px}
.preview-subject:has(.edit-subject){display:flex;flex-direction:column;gap:2px;font-size:13px}
.edit-email{min-height:120px;outline:none;border:1px dashed var(--navy);border-radius:8px;padding:10px;background:#fff;cursor:text}
.edit-email:focus{border-style:solid;box-shadow:0 0 0 3px rgba(14,42,71,.12)}
/* A pasted email's paragraphs show with the same space between them that the sent email has. */
.edit-email p{margin:0 0 14px}
.edit-text{width:100%;min-height:96px;font:inherit;line-height:1.45}
.tag{display:inline-block;padding:1px 8px;border-radius:10px;background:var(--accent-soft);color:#7A3410;font-size:12px;font-weight:700;margin-left:6px}
/* Undo after a call result: a note that pops up at the bottom, and a line on the card. */
.toast{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:20;display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:calc(100vw - 32px);background:var(--navy);color:#fff;border-radius:12px;padding:10px 12px 10px 16px;box-shadow:0 8px 24px rgba(11,30,60,.25)}
.toast .b{min-height:40px}
.last-call{margin:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.last-call .undo{min-height:32px;padding:4px 10px;text-decoration:underline;color:var(--navy)}
.history li.undone .what{text-decoration:line-through;color:var(--muted)}
/* New interest: first on Today. */
.fresh{border-color:var(--accent);box-shadow:inset 4px 0 0 var(--accent);margin:14px 0;display:grid;gap:10px}
.fresh-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px}
.fresh-row .b{min-height:42px}
@media (max-width:640px){.fresh-row .row{width:100%}.fresh-row .row .b{flex:1 1 auto}}
/* The drafted-message tally on Numbers. */
.tally{margin-top:14px;display:grid;gap:8px}
.tally-total{margin:0}
.table-wrap{overflow-x:auto}
.tally-table{border-collapse:collapse;width:100%;font-size:14px}
.tally-table th,.tally-table td{text-align:left;padding:6px 10px;border-bottom:1px solid var(--line)}
.tally-table td:not(:first-child),.tally-table th:not(:first-child){text-align:right;white-space:nowrap}
details.already summary{cursor:pointer;color:var(--navy);font-size:14px;margin-top:6px}
@media (min-width:901px){.path{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}
@media (max-width:640px){.call-top>.row{width:100%;flex-wrap:nowrap}.call-top>.row .call-btn{flex:1 1 0;width:auto}}

/* Up next: one person, one action, at the top of Today. */
.up-next{border:2px solid var(--navy);box-shadow:0 6px 22px rgba(14,42,71,.12);margin:12px 0 4px;display:grid;gap:8px;padding:18px}
.up-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.up-tag{font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#fff;background:var(--navy);border-radius:6px;padding:3px 9px}
.up-next.k-fresh{border-color:var(--accent)}.up-next.k-fresh .up-tag{background:var(--accent)}
.up-meter{height:6px;border-radius:3px;background:var(--chip);overflow:hidden}.up-meter span{display:block;height:100%;background:var(--ok);border-radius:3px;transition:width .3s}
.up-name{font-size:26px;line-height:1.15;margin:4px 0 0;justify-self:start}
.up-why{margin:0;font-size:17px}.up-ctx{margin:0}
.next-move{margin-top:10px;padding:10px 12px;background:#f3f7fc;border:1px solid #c9d8ea;border-radius:10px;display:grid;gap:8px}
.next-move p{margin:0}.next-move textarea{width:100%;margin-top:4px;font:inherit}
.b-next{border-color:#1f3a5f;color:#1f3a5f;font-weight:700}
.text-modal-card input[type=text]{width:100%;margin-bottom:8px;font:inherit;padding:6px 8px}
.up-finish{margin-top:10px;padding-top:8px;border-top:1px dashed var(--line,#d5dbe3);display:grid;gap:6px}
.up-finish .row{align-items:center;flex-wrap:wrap;gap:6px}
.up-finish-k{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#555);min-width:118px}
.up-whynow{margin:4px 0 0;font-size:15px;color:var(--muted,#555);border-left:3px solid var(--line,#d5dbe3);padding-left:8px}
/* Their own words, before the buttons (fresh eyes, Nov 21): a message bubble, so it reads as them talking. */
.up-said{margin:6px 0 2px;justify-self:start;max-width:min(640px,100%);display:grid;gap:4px}
.up-said figcaption{font-size:13px;font-weight:600;color:var(--muted)}
.up-said blockquote{margin:0;background:#EEF2F7;border-radius:4px 16px 16px 16px;padding:12px 16px;font-size:18px;line-height:1.45;overflow-wrap:anywhere}
.up-said blockquote p{margin:0;white-space:pre-wrap}.up-said blockquote p+p{margin-top:6px}
.up-said.stop blockquote{background:#FBEAE8;color:#8E2F26}
/* Their whole email (Nov 23): paragraphs as they wrote them; a very long one starts folded, with a button. */
.up-said.whole blockquote p+p{margin-top:12px}
.up-said.folded blockquote{max-height:15em;overflow:hidden;position:relative}
.up-said.folded blockquote::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3.5em;background:linear-gradient(rgba(238,242,247,0),#EEF2F7);border-radius:0 0 16px 16px}
.up-said.stop.folded blockquote::after{background:linear-gradient(rgba(251,234,232,0),#FBEAE8)}
.said-link{justify-self:start;min-height:32px;padding:4px 2px;border:0;background:none;color:var(--navy);font:inherit;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.said-link:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:4px}
.said-note{margin:0}.said-note .said-link{min-height:0;padding:0;font-size:inherit}
/* The rarer outcomes, one fold under the main buttons. */
.up-more{border-top:1px dashed var(--line);padding-top:2px}
.up-more summary{cursor:pointer;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;padding:9px 0;list-style:none}
.up-more summary::-webkit-details-marker{display:none}
.up-more summary::before{content:"\25B8";color:var(--navy);font-size:15px}.up-more[open] summary::before{content:"\25BE"}
.up-more summary b{font-size:15px;color:var(--navy)}
.up-more summary .small{flex:1 1 220px}
.up-more[open] summary .small{display:none}
.up-more .up-finish{margin-top:2px;border-top:0;padding-top:0}
.up-more .up-finish+.up-finish{margin-top:6px}
.up-acts{margin-top:6px;align-items:center}.up-acts .b{min-height:46px;padding:9px 18px;font-size:16px}
.up-acts .up-later{margin-left:auto}
.up-brief{background:var(--bg);border-radius:10px;padding:10px 12px;display:grid;gap:5px}
.brief-row{display:grid;grid-template-columns:118px minmax(0,1fr);gap:8px;font-size:15px}
/* The Up next box as a working box (Nov 16): the steps are the buttons. */
.up-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;margin-top:4px}
.up-step{display:grid;gap:2px;align-content:center;justify-items:center;text-align:center;min-height:66px;padding:10px 8px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--fg);font:inherit;text-decoration:none;cursor:pointer}
.up-step b{font-size:17px;line-height:1.2}.up-step small{font-size:13px;color:var(--muted);overflow-wrap:anywhere;line-height:1.25}
.up-step.now{border:2px solid var(--navy);background:var(--navy);color:#fff}.up-step.now small{color:#D5DEE9}
.up-step.done{background:#E7F3EC;border-color:var(--ok);color:#1E6B43}.up-step.done small{color:#1E6B43}
.up-step.armed,.b.armed{border:2px solid var(--bad);background:#FBEAE8;color:#8E2F26}.up-step.armed small{color:#8E2F26}
.up-quiet{align-items:center}.up-quiet .up-later{margin-left:auto}
.up-picked{background:var(--bg);border-radius:10px;padding:10px 12px;display:grid;gap:6px}
.up-ask{margin:0}
.up-folds{display:flex;flex-wrap:wrap;gap:0 20px;border-top:1px solid var(--line);padding-top:4px}
.up-fold summary{cursor:pointer;color:var(--muted);font-size:14.5px;padding:7px 0}
.up-fold[open]{flex:1 1 100%}.up-fold[open] summary{color:var(--fg);font-weight:600}
.up-fold .up-brief,.up-fold .up-words,.up-fold .call-results{margin-bottom:8px}
.up-granola{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.up-granola label{display:inline-flex;flex-direction:row;align-items:center;gap:8px;min-height:36px;font-weight:400}
.up-granola input{width:20px;height:20px;min-height:0;margin:0;flex:none}
.up-words{display:grid;gap:2px}
.up-words p{margin:0 0 8px;font-size:15px}.up-words .pre{white-space:pre-wrap}
@media (max-width:640px){.brief-row{grid-template-columns:minmax(0,1fr);gap:0;margin-bottom:4px}.up-quiet .b{flex:1 1 auto}.up-quiet .up-later{margin-left:0}.up-steps{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:6px}.up-step{padding:10px 4px}.up-step b{font-size:15.5px}}
.up-after{margin:6px 0 0}.up-then{margin:4px 0 0;border-top:1px solid var(--line);padding-top:10px}
.up-next.done{border-color:var(--ok)}.up-next.done .up-tag{background:var(--ok)}
.up-next .preview-msg{margin-top:4px}
@media (max-width:640px){.up-name{font-size:23px}.up-acts .b{flex:1 1 auto}.up-acts .up-later{margin-left:0;flex:1 1 100%}}

/* Clear the deck streak on the Numbers tab. */
.streak{display:flex;gap:18px;align-items:center;margin-bottom:10px;border-left:6px solid var(--line)}
.streak.ok{border-left-color:var(--ok)}.streak.open{border-left-color:var(--accent)}
.streak-n{display:grid;justify-items:center;min-width:92px}.streak-n .v{font-size:56px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.streak-n .u{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.streak-t h2{margin:0 0 2px}.streak-t p{margin:2px 0}.streak-today{font-weight:600}.streak-today.waiting{color:var(--accent)}
@media (max-width:640px){.streak{align-items:flex-start;gap:12px}.streak-n{min-width:64px}.streak-n .v{font-size:44px}}

/* Today, in order: one ranked list with a button on every row. */
.rank-card{padding:6px 14px}.rank{list-style:none;margin:0;padding:0}
.rank-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}
.rank-row:first-child{border-top:0}
.rank-n{font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
.rank-who{display:grid;gap:2px;min-width:0}.rank-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.rank-tag{font-size:12px;font-weight:700;background:var(--chip);border-radius:999px;padding:2px 9px;white-space:nowrap}
.rank-row.k-fresh .rank-tag{background:var(--accent-soft);color:#7A3410}
.rank-row .b{min-width:84px;min-height:42px}
@media (max-width:640px){.rank-card{padding:4px 10px}.rank-row{grid-template-columns:22px minmax(0,1fr) auto;gap:8px}.rank-row .b{min-width:72px}}

/* Get ahead: the Up next card when today's list is clear (warmest people with nothing planned this week) */
.up-next.ahead{border-color:#8A6209}.up-next.ahead .up-tag{background:#8A6209}
.up-note{margin:0;background:#FBF6E6;border-left:4px solid #8A6209;border-radius:6px;padding:9px 12px;font-size:16px;overflow-wrap:anywhere}
.up-foot{display:flex;justify-content:space-between;align-items:center;gap:6px 12px;flex-wrap:wrap}
.up-foot p{margin:0;flex:1 1 260px}
.up-next.done .row{margin-top:2px}
.rank-row.k-warm .rank-tag{background:#F6E7C1;color:#5E4306}
.rank-row.k-warm .rank-who>.small{overflow-wrap:anywhere}
.rank-more{width:100%;margin:2px 0 6px}

/* One person, one contact (Nov 10, 2026): possible duplicates and merging. */
.lead .who .dup-tag{display:inline-block;margin-top:3px;padding:1px 7px;border-radius:999px;background:#fff1d6;color:#7a4a00;font-size:11.5px;font-weight:700}
.dup-note{font-weight:600}
.dup-box{border-left:4px solid #c98a1b;padding-left:14px}
.dup-row+.dup-row{margin-top:10px;padding-top:10px;border-top:1px solid var(--line, #d9d2bf)}
.dup-row p{margin:0 0 8px}
.merged-list{list-style:none;margin:0 0 10px;padding:0}
.merged-list li{padding:6px 0;border-bottom:1px solid var(--line, #d9d2bf)}
.coach-ask{margin-top:10px}
.tl{margin:14px 0;border:1px solid #d9d4c7;border-radius:10px;padding:12px 14px;background:#fff}
.tl h3{margin:0 0 2px;font-size:16px}
.tl h4{margin:12px 0 4px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5b6676}
.tl-rows{list-style:none;margin:0;padding:0}
.tl-row{display:grid;grid-template-columns:96px 62px minmax(0,1fr);gap:8px;align-items:start;padding:7px 0;border-top:1px solid #eee9dd;font-size:14px;line-height:1.4}
.tl-rows .tl-row:first-child{border-top:0}
.tl-row time{color:#5b6676;font-size:13px}
.tl-ch{font-size:12px;font-weight:700;border-radius:999px;padding:2px 6px;text-align:center;background:#eef1f5;color:#12294a}
.tl-ch.ch-call{background:#fde9d9;color:#8a3c06}.tl-ch.ch-text{background:#e3f1e6;color:#1d5a2c}.tl-ch.ch-email{background:#e2ecfb;color:#173e7a}.tl-ch.ch-them{background:#f3e8fb;color:#55207a}
.tl-row.in .tl-what{font-weight:700}
.tl-what{overflow-wrap:anywhere}
.tl-what small{display:block;color:#5b6676;font-size:12.5px;font-weight:400}
.tl-what small.late{color:#b3261e;font-weight:700}
.tl-what small.tl-problem{color:#8a3c06}
.tl-today{margin:12px 0 0;padding:4px 10px;border-radius:6px;background:#12294a;color:#fff;font-size:12.5px;font-weight:700}
.tl-rows.future .tl-row.first{background:#fbf3df;border-radius:8px;margin:0 -8px;padding:8px}
.tl-more{margin-top:4px}
.tl-more summary{cursor:pointer;font-size:13px;color:#173e7a}
.tl-words{margin:6px 0;padding:8px 10px;background:#f6f4ee;border-radius:8px;font-size:13.5px;font-weight:400}
.tl-words .pre{white-space:pre-wrap}
.plan-card{margin:14px 0}
.plan-card h2{margin:0 0 6px}
.plan-steps .tl-row{grid-template-columns:190px 62px minmax(0,1fr)}
@media(max-width:560px){.tl-row{grid-template-columns:74px 54px minmax(0,1fr)}.plan-steps .tl-row{grid-template-columns:1fr}}
/* The open person (Nov 21, the approved design). Desktop: the list on the left with the open name marked, the record on the right, scrolling on its own.
   Phone: the record covers the screen from the top, and "All leads" goes back to the list where it was. The name stays fixed at the top in both. */
#detail{padding:0 20px 20px}
.detail-head{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 -20px;padding:14px 20px 10px;background:#fff;border-bottom:1px solid #e3ddd0;border-radius:12px 12px 0 0}
.detail-head h2{margin:0;overflow-wrap:anywhere}
.detail-head h2:focus{outline:none}
.detail-head .close{flex:none;min-height:44px}
.detail-cols,.detail-main,.detail-side{display:grid;gap:14px;min-width:0;align-content:start}
#detail-backdrop{display:none}
@media (max-width:900px){
  body.has-detail{overflow:hidden}
  body.has-detail #detail{position:fixed;inset:0;z-index:40;margin:0;overflow:auto;overscroll-behavior:contain;width:100%;height:100%;height:100dvh;padding:0 max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border:0;border-radius:0;background:#fff}
  #detail>.detail-head{margin:0 -16px;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px;border-radius:0}
  #detail .detail-head h2{font-size:1.4rem}
}
@media (min-width:901px){
  .split{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:20px}
  .split.solo{grid-template-columns:minmax(0,1fr)}
  .split:not(.solo) .lead{grid-template-columns:minmax(0,1fr);gap:4px}
  .split:not(.solo) .lead .next,.split:not(.solo) .lead .origin{display:none}
  #detail{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;font-size:16.5px}
  .detail-head h2{font-size:28px}
  .detail-cols{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px}
  #detail .tl-row{grid-template-columns:118px 76px minmax(0,1fr);font-size:16px}
  #detail .tl-row time{font-size:14.5px}
  #detail .tl-ch{font-size:13px}
  #detail .tl-what small{font-size:14px}
  #detail .tl-words{font-size:15px}
  .toast{z-index:60}
}

/* Desktop: details and actions on the left, the story and the plan on the right (Ken's preference, Nov 12). The phone keeps the story first. */
@media (min-width:901px){.detail-cols{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}.detail-side{order:-1}}
/* Right under the name (Nov 21, the approved design): current status (navy), next step (light), the latest milestones, then the folded history and plan. */
.detail-overview{margin:14px 0 6px}
.lj{color:#102e49;overflow-wrap:anywhere}
.lj-cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);border:1px solid #d3dee5;border-radius:14px;overflow:hidden}
.lj-now,.lj-next{padding:18px 22px}
.lj-now{color:#fff;background:#123550}
.lj-next{background:#edf3f5}
.lj h3.lj-label{font-size:.875rem;line-height:1.2;margin:0 0 8px;font-weight:650;color:#36586a}
.lj .lj-now h3.lj-label{color:#c6ddeb}
.lj-value{font-weight:650;font-size:clamp(1.08rem,1.8vw,1.4rem);line-height:1.24;margin:0;text-wrap:pretty}
.lj-meta,.lj-context,.lj-then{margin:8px 0 0;font-size:.875rem}
.lj-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 12px;color:#495e6d}
.lj-now .lj-meta{color:#d6e5ed}
.lj-context{color:#edf5f7}
.lj-then{color:#495e6d}
.lj-owner{font-weight:650}
.lj-late{color:#913a18;font-weight:700}
.lj-history{padding:18px 2px 3px}
.lj h3.lj-history-title{font-size:1.05rem;line-height:1.4;margin:0 0 9px;color:#102e49}
.lj-milestones{list-style:none;padding:0;margin:0}
.lj-milestones li{display:grid;grid-template-columns:6.6rem 12px minmax(0,1fr);gap:9px;align-items:baseline;position:relative;margin:0;padding:4px 0}
.lj-milestones time{font-variant-numeric:tabular-nums;font-size:.875rem;color:#495e6d}
.lj-marker{align-self:stretch;position:relative;width:1px;background:#c6d4db;transform:translateX(3px);margin-block:-5px}
.lj-marker::before{content:"";position:absolute;top:13px;left:-3px;width:7px;height:7px;border-radius:50%;background:#50788a;outline:2px solid #fff}
.lj-milestones li:first-child .lj-marker{background:linear-gradient(to bottom,transparent 13px,#c6d4db 13px)}
.lj-milestones li:last-child .lj-marker{background:linear-gradient(to bottom,#c6d4db 13px,transparent 13px)}
.lj-milestones li:only-child .lj-marker{background:none}
.lj-event{font-size:.95rem}
.lj-earlier>summary,.lj-fold>summary{cursor:pointer;min-height:44px;align-content:center;color:#1b4e6a;font-weight:650;padding:9px 2px}
.lj-earlier>summary{font-size:.91rem}
.lj-fold{border-top:1px solid #d5dfe5;margin-block:5px}
.lj-fold>.tl{margin:4px 0 12px}
.lj-empty{color:#495e6d;margin:4px 0 12px}
.lj :focus-visible,.lj-fold summary:focus-visible{outline:3px solid #b65c26;outline-offset:2px}
@media (max-width:650px){
  .lj-cards{grid-template-columns:minmax(0,1fr)}
  .lj-now,.lj-next{padding:13px 16px}
  .lj h3.lj-label{margin-bottom:5px}
  .lj-value{font-size:1.12rem}
  .lj-meta{margin-top:5px}
  .lj-history{padding-top:13px}
  .lj-milestones li{grid-template-columns:5.9rem 9px minmax(0,1fr);gap:6px}
}
/* Finish enrollment, first on Today (Nov 22, the enrollment handoff). Desktop: the list on the left, the person on the right. Phone: the list; a tap opens the person full width with Back. */
.eb{padding:0;overflow:hidden;margin-bottom:16px}
.eb-head{padding:16px 20px 4px}.eb-head h2{margin:0 0 2px;font-size:22px}
.eb-tabs{display:flex;gap:4px;border-bottom:1px solid #d2dce1;padding:0 12px;overflow-x:auto}
.eb-tab{display:flex;align-items:center;gap:6px;border:0;border-bottom:3px solid transparent;background:transparent;min-height:46px;padding:8px 10px;color:#536676;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}
.eb-tab[aria-current=true]{color:#006558;border-color:#006558}
.eb-count{font-size:12.5px;font-weight:700;min-width:1.6em;background:#e4eaee;padding:1px 6px;border-radius:6px}.eb-tab[aria-current=true] .eb-count{background:#d9eee8}
.eb-board{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.45fr);align-items:start}
.eb-list{border-right:1px solid #e0e6e9;max-height:620px;overflow-y:auto}
.eb-sec{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#516675;background:#f4f7f8;padding:7px 18px;border-bottom:1px solid #e2e9ec}
.eb-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e0e6e9;background:#fff;padding:13px 18px;font:inherit;color:inherit;cursor:pointer}
.eb-row:hover{background:#f3f8f7}.eb-row[aria-current=true]{background:#e9f5f1;box-shadow:inset 4px 0 0 #006558}
.eb-row b{display:block;font-size:16px;margin-bottom:2px;overflow-wrap:anywhere}.eb-task{display:block;font-size:14.5px;color:#344b59;line-height:1.35;overflow-wrap:anywhere}
.eb-signal{display:block;margin-top:4px;font-size:13px;color:#835021;font-weight:650}
.eb-empty{padding:18px;color:#536676;margin:0}
.eb-detail{padding:18px 22px;min-width:0}
.eb-back{display:none}
.eb-who{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.eb-who h3{margin:0;font-size:24px;line-height:1.2;overflow-wrap:anywhere}.eb-who h3:focus{outline:none}
.eb-next{background:#edf6f3;border:1px solid #c1ddd2;border-radius:9px;padding:14px 16px;margin:14px 0}
.eb-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#226153;margin:0 0 6px}
.eb-next h4{margin:0;font-size:20px;line-height:1.2;overflow-wrap:anywhere}.eb-next>p:not(.eb-eyebrow){margin:6px 0 10px;color:#364e49;line-height:1.45}
.eb-acts{align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}
.eb-form{margin-top:10px;padding-top:10px;border-top:1px solid #c1ddd2;display:grid;gap:8px}
.eb-check{display:flex;gap:8px;align-items:flex-start;flex-direction:row;font-size:15px;font-weight:500;color:inherit}.eb-check input{width:18px;height:18px;margin-top:2px}
.eb-field{font-size:14px}
.eb-miles h4,.eb-history summary{font-size:16px;margin:4px 0}
.eb-miles ul{list-style:none;padding:0;margin:6px 0 12px}
.eb-miles li{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #e6ebee}
.eb-mark{width:19px;height:19px;border:1.5px solid #adbac3;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:12px}
.eb-miles li.done .eb-mark{background:#176858;color:#fff;border-color:#176858}
.eb-miles small{margin-left:auto;text-align:right;color:#526474;font-size:13px}
.eb-history{border-top:1px solid #d2dce1;padding-top:6px}.eb-history summary{cursor:pointer;color:#315366;font-weight:600;min-height:40px;align-content:center}
.eb-history ul{list-style:none;padding:0;margin:6px 0}.eb-history li{padding:4px 0;font-size:14.5px;overflow-wrap:anywhere}.eb-history li small{color:#536676}
@media (max-width:900px){
  .eb-board{display:block}
  .eb-list{border-right:0;max-height:none}
  .eb-detail{display:none}
  .eb.eb-open .eb-detail{display:block}.eb.eb-open .eb-list{display:none}
  .eb-back{display:inline-flex;margin:0 0 10px}
  .eb-detail{padding:14px 16px}
  .eb-who h3{font-size:21px}.eb-next h4{font-size:18px}
  .eb-miles small{max-width:45%}
}
.keep-list{margin-top:10px}.keep-list h3{margin:0 0 4px}.keep-list ul{margin:0;padding-left:18px}.keep-list li{margin:4px 0}

/* The call block (fresh eyes, Nov 22): many people due the same call, shown as one block of the day. */
.call-block{margin-top:18px;border-left:4px solid #0f2747}
.call-block.on{border-left-color:#1d7a5f;background:#f3faf7}
.call-block .cb-title{margin:6px 0 4px;font-size:1.25rem;line-height:1.25}
.call-block .cb-sub{margin:0 0 12px;max-width:62ch}
.call-block .cb-on{margin:10px 0 0;color:#1d7a5f;font-weight:600}
.call-block .cb-list{margin-top:14px;border-top:1px solid #e6e2d8;padding-top:6px}

/* Answer them right here (fresh eyes, Nov 22 afternoon): the reply box under what they wrote. */
.reply-box{display:grid;gap:8px;max-width:min(640px,100%);margin:2px 0 6px;padding:12px 14px 12px;border:2px solid var(--navy);border-radius:16px 4px 16px 16px;background:#fff}
.reply-k{margin:0;font-size:13px;font-weight:700;color:var(--navy);text-transform:uppercase;letter-spacing:.04em}
.reply-box input.reply-subj{width:100%;font:inherit;font-size:15px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--fg)}
.reply-box textarea.reply-words{width:100%;min-height:104px;resize:vertical;font:inherit;font-size:17px;line-height:1.45;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--fg)}
.reply-box textarea.reply-words:focus,.reply-box input.reply-subj:focus{outline:2px solid var(--navy);outline-offset:1px}
.reply-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.b.reply-send{background:var(--navy);border-color:var(--navy);color:#fff;min-height:46px;padding:9px 22px;font-size:17px}
.b.reply-send:hover{background:#163a61}.b.reply-send:disabled{opacity:.6;cursor:default}
.reply-chip{margin-left:auto;border:1px dashed var(--navy);background:none;color:var(--navy);border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;min-height:36px}
.reply-chip:hover{background:#f3f7fc}
.reply-status{margin:0;min-height:0}.reply-status:empty{display:none}
.reply-note{margin:0}
.reply-or{margin:8px 0 0;font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.eb-next .reply-box{margin:10px 0 4px}
.eb-next>p.reply-or{color:var(--muted)}
.lede-wait{font-weight:700;color:var(--accent);text-decoration-color:var(--accent)}
.rank-row.wrote .rank-tag{background:var(--accent-soft);color:#7A3410}
/* Waiting on your reply (fresh eyes, Nov 23 evening): how long each person has waited, and what they wrote. */
.section-title.wait-title{color:var(--accent)}
.wait-card{border-left:4px solid var(--accent)}
.wait-age{font-size:12px;font-weight:700;background:var(--chip);border-radius:999px;padding:2px 9px;white-space:nowrap}
.wait-age.day{background:var(--accent-soft);color:#7A3410}
.wait-age.old{background:#F9DEDA;color:#8F2A20}
.rank-quote{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:14.5px;line-height:1.4;color:var(--fg);overflow-wrap:anywhere;margin-top:2px}
.lede-longest{font-weight:700;color:var(--bad)}
.up-wait{margin:6px 0 2px;font-size:15px;font-weight:700;color:#7A3410}
.up-wait.old{color:var(--bad)}
@media (max-width:640px){.reply-box{padding:10px}.reply-row .b{flex:1 1 auto}.reply-chip{margin-left:0;flex:1 1 100%}}
.reply-queued{margin:2px 0 6px;max-width:min(640px,100%);padding:10px 14px;border-radius:16px 4px 16px 16px;background:#E7F3EC;border:1px solid var(--ok);color:#1E6B43}
/* Where a message came from, answering in kind, a written reply you can take back, and what they said out loud (Nov 22). */
.said-src{display:inline-block;margin-right:8px;padding:2px 9px;border-radius:999px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}
.said-src.s-text{background:#1E6B43}.said-src.s-email{background:var(--navy)}.said-src.s-call,.said-src.s-meet,.said-src.s-person{background:#6B3FA0}.said-src.s-form,.said-src.s-application{background:var(--accent)}.said-src.s-unknown{background:#5B6676}
.reply-how{margin:0;font-size:15px;line-height:1.4}
.reply-foot{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:space-between}
.reply-switch{border:0;background:none;padding:4px 0;font:inherit;font-size:14px;font-weight:600;color:var(--navy);text-decoration:underline;cursor:pointer;min-height:32px}
.reply-box.m-text{border-color:#1E6B43}.reply-box.m-text .reply-k{color:#1E6B43}.reply-box.m-text .b.reply-send{background:#1E6B43;border-color:#1E6B43}
.reply-box.reply-done{border-color:var(--ok);background:#F3FAF6}.reply-box.reply-done .reply-k{color:#1E6B43}
.reply-sent-subj{margin:0;font-size:15px}
.reply-sent-words{margin:0;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:16px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.reply-chip.heard-open{margin:2px 0 6px;justify-self:start;text-align:left}
.reply-box.heard-box{border-color:#6B3FA0;border-style:dashed}.reply-box.heard-box .reply-k{color:#6B3FA0}.reply-box.heard-box .b.reply-send{background:#6B3FA0;border-color:#6B3FA0}
.heard-where{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}.heard-opt{display:inline-flex;align-items:center;gap:4px;font-size:15px;min-height:32px;cursor:pointer}
.eb-next .reply-chip.heard-open{margin-top:8px}
@media (max-width:640px){.reply-foot{flex-direction:column;align-items:flex-start}.reply-chip.heard-open{width:100%}}
.up-alt{margin:10px 0 2px;display:grid;gap:6px}.up-alt .row{flex-wrap:wrap;gap:6px;align-items:center}.up-alt .up-finish-k{font-size:13px;color:var(--muted);font-weight:600;margin-right:4px}
.story-so-far{margin:8px 0;font-size:14px}.story-so-far summary{cursor:pointer;font-weight:700;color:var(--navy);min-height:28px}
.story-rows{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}.story-rows li{display:grid;grid-template-columns:5.5em 1fr;gap:8px;padding:4px 8px;border-radius:8px;background:var(--chip);overflow-wrap:anywhere}
.story-rows time{color:var(--muted);font-size:12.5px;white-space:nowrap}.story-rows li.st-them{background:var(--accent-soft)}.story-rows li.st-note{background:transparent;border:1px dashed var(--line)}
.said-subj{margin:4px 0 0}
.reply-thanks{margin:0 0 8px;padding:8px 12px;border-radius:10px;background:#E7F3EC;color:#1E6B43;font-size:14px;font-weight:600}
.reply-handled{font-size:14px;margin-top:8px}.reply-handled-k{margin:0;color:var(--muted);font-weight:600}.reply-handled .reply-row{margin:6px 0}
