/* house style, success area. loaded after ui/house-style.css; rules here override the shared look for this area only.
   order: page frame, today, stats, pipeline and student cards, deals, eods, inbox, churn, student pop-up, other pop-ups. */

/* ---------- a. page frame ---------- */

/* the tab row: the switch at the left, the one outline button at the right, 18px over the page */
body.balanced-blue.minimal-calm .ful-success-tabs{gap:12px;margin-bottom:18px}
/* every avatar on these screens: round, a hairline, soft fill, second ink initials */
body.balanced-blue.minimal-calm :is(#main,#drawer) .ful-avatar{border:1px solid var(--line);border-radius:50%;background:var(--soft);color:var(--secondary);font-weight:500}
/* a name that opens a student reads as a name, not a link */
body.balanced-blue.minimal-calm #main :is(.cs-sheet,.sd-call) .ful-link{font-size:13px;font-weight:500;line-height:20px;color:var(--ink)}

/* ---------- b. today ---------- */

/* the day is one card: its title on top, then a row per block split by hairlines */
body.balanced-blue.minimal-calm .cs-overview.cs-clean{--cs-good:var(--ok);--cs-ok:var(--line-strong);--cs-bad:var(--bad);gap:18px;margin-top:0}
body.balanced-blue.minimal-calm .cs-overview.cs-clean.sd-day{gap:0}
body.balanced-blue.minimal-calm .cs-card{border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:none}
body.balanced-blue.minimal-calm .sd-head{align-items:center;padding:16px;border-bottom:0;border-radius:var(--r-card) var(--r-card) 0 0}
body.balanced-blue.minimal-calm .sd-head h2{font-size:17px;line-height:24px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
body.balanced-blue.minimal-calm .sd-head p{margin-top:2px;font-size:13px;line-height:20px;color:var(--secondary)}
/* the links in a card's title row are the small outline button */
body.balanced-blue.minimal-calm :is(.sd-head>a,.cs-card-head>a,.cs-card-head>a[href^="#"]){display:inline-flex;align-items:center;flex:none;height:28px;padding:0 10px;border:1px solid var(--line);border-radius:var(--r-control);background:transparent;color:var(--ink);font-size:12px;font-weight:500;line-height:1;text-decoration:none;transition:background-color .15s}
body.balanced-blue.minimal-calm :is(.sd-head>a,.cs-card-head>a,.cs-card-head>a[href^="#"]):hover{background:var(--soft);color:var(--ink)}
body.balanced-blue.minimal-calm .sd-timeline{gap:0;overflow:hidden;border:1px solid var(--line);border-radius:0 0 var(--r-card) var(--r-card);background:var(--surface)}
body.balanced-blue.minimal-calm .sd-block{padding:12px 16px;border:0;border-radius:0;background:transparent;box-shadow:none}
body.balanced-blue.minimal-calm .sd-block+.sd-block{border-top:1px solid var(--line)}
/* the block on now is the picked row: a soft pink fill, no outline */
body.balanced-blue.minimal-calm .sd-block[data-state="now"]{border-color:var(--line);background:color-mix(in srgb,var(--brand-wash) 50%,var(--surface));box-shadow:none}
body.balanced-blue.minimal-calm .sd-block[data-state="past"]{background:transparent}
body.balanced-blue.minimal-calm .sd-block-head{align-items:center;gap:4px 12px;min-height:28px}
body.balanced-blue.minimal-calm .sd-block-head time{font-size:12px;font-weight:400;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .sd-block-head h3{font-size:14px;font-weight:600;line-height:20px;letter-spacing:normal;color:var(--ink)}
body.balanced-blue.minimal-calm .sd-block[data-state="past"] .sd-block-head h3{font-weight:500}
/* now and next: a dot and a plain word */
body.balanced-blue.minimal-calm .sd-tag,
body.balanced-blue.minimal-calm .sd-tag[data-tone="now"]{gap:6px;min-height:20px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);font-size:11px;font-weight:600;line-height:1}
body.balanced-blue.minimal-calm .sd-tag::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--line-strong)}
body.balanced-blue.minimal-calm .sd-tag[data-tone="now"]::before{background:var(--accent)}
/* how much is waiting in a block, and in each list inside it: the pink number pill */
body.balanced-blue.minimal-calm :is(.sd-count,.sd-group>summary b){display:inline-flex;align-items:center;justify-content:center;flex:none;height:20px;min-width:20px;padding:0 7px;border-radius:999px;background:var(--pink-wash);color:color-mix(in srgb,var(--brand-ink),#000 20%);font-size:11.5px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
/* the darker pink above keeps small numbers readable in light. midnight already uses a light pink */
body.balanced-blue.minimal-calm.theme-dark :is(.sd-count,.sd-group>summary b){color:var(--brand-ink)}
body.balanced-blue.minimal-calm .sd-for{margin-top:0;font-size:12px;line-height:16px;color:var(--secondary)}
/* still open after its block ended: a red dot and plain words */
body.balanced-blue.minimal-calm .sd-left{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12px;line-height:16px;color:var(--ink)}
body.balanced-blue.minimal-calm .sd-left::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--bad)}
body.balanced-blue.minimal-calm .sd-eod{margin-top:8px}
/* a list inside a block: a dot, its name, its count, then the people */
body.balanced-blue.minimal-calm .sd-group{margin-top:8px;border-top:1px solid var(--line)}
body.balanced-blue.minimal-calm .sd-group+.sd-group{margin-top:0}
body.balanced-blue.minimal-calm .sd-group>summary{gap:8px;min-height:40px;border-radius:var(--r-control)}
body.balanced-blue.minimal-calm .sd-group>summary::after{width:6px;height:6px;margin-right:4px;border-color:var(--quiet)}
body.balanced-blue.minimal-calm .sd-group>summary small{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-reason{gap:6px;font-size:13px;font-weight:500;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .cs-reason::before{width:6px;height:6px}
body.balanced-blue.minimal-calm .cs-reason[data-tone="neutral"]{--tone:var(--line-strong)}
body.balanced-blue.minimal-calm .sd-group>summary .cs-reason{flex:none;font-weight:600;white-space:nowrap}
/* people rows: 44px, a 28px avatar, the name over one quiet line, one small button at the right */
body.balanced-blue.minimal-calm #main table.cs-sheet td{height:44px;padding-block:6px!important;border-bottom:1px solid var(--record-line)!important;font-size:13px!important;line-height:20px}
body.balanced-blue.minimal-calm #main table.cs-sheet tbody tr:last-child td{border-bottom:0!important}
body.balanced-blue.minimal-calm #main table.cs-sheet tbody tr:hover td{background:var(--record-hover)}
body.balanced-blue.minimal-calm .cs-who{gap:10px}
body.balanced-blue.minimal-calm .cs-who .ful-avatar{width:28px;height:28px;font-size:10px}
body.balanced-blue.minimal-calm .cs-who small{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-none{color:var(--quiet)}
body.balanced-blue.minimal-calm #main .cs-sheet .cs-need-act{min-height:28px;padding:0 10px;border-radius:var(--r-control);font-size:12px;font-weight:500}
body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet td:first-child{padding-left:0!important}
body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet td:last-child{padding-right:0!important}
body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet tbody tr:hover td{background:transparent}
body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet :is(th,td):nth-child(2){font-size:12.5px!important;color:var(--secondary)}
body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet :is(th,td):nth-child(3){font-weight:500}
/* booked calls inside a block */
body.balanced-blue.minimal-calm .sd-calls{margin-top:8px}
body.balanced-blue.minimal-calm .sd-call{min-height:44px;border-top:1px solid var(--record-line)}
body.balanced-blue.minimal-calm .sd-call>time{font-size:13px;font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .sd-call-why{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .sd-call-why .cs-reason{font-size:12px;line-height:16px}
/* phones: each person is two lines (name and button, then the detail) instead of a table that scrolls sideways */
@media(max-width:640px){
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet{min-width:0}
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet tbody{display:block}
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:2px;padding:8px 0;border-bottom:1px solid var(--record-line)}
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet tr:last-child{border-bottom:0}
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet td{display:block;height:auto;padding:0!important;border-bottom:0!important}
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet td:nth-child(1){grid-column:1;grid-row:1;width:auto}
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet td:nth-child(3){grid-column:2;grid-row:1;width:auto}
  body.balanced-blue.minimal-calm #main table.cs-sheet.sd-sheet td:nth-child(2){grid-column:1/-1;grid-row:2;width:auto;padding-left:38px!important}
}
@media(max-width:760px){
  body.balanced-blue.minimal-calm .sd-head{align-items:flex-start;gap:10px}
  body.balanced-blue.minimal-calm .sd-block{padding:12px 14px}
}

/* ---------- c. stats ---------- */

/* card heads: the name of the thing at 17px, its one link as a small outline button */
body.balanced-blue.minimal-calm .cs-card-head{gap:8px;padding:16px 16px 12px}
body.balanced-blue.minimal-calm .cs-card-head h2{font-size:17px;line-height:24px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
body.balanced-blue.minimal-calm .cs-card-head>span{font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-card-head>.btn{min-height:28px;padding:0 10px;font-size:12px}
/* the number strip: one card, hairlines between, a label over a number */
body.balanced-blue.minimal-calm .cs-kpi{gap:6px;padding:14px 16px;border-left:1px solid var(--line)}
body.balanced-blue.minimal-calm .cs-kpi:first-child{border-left:0}
body.balanced-blue.minimal-calm .cs-kpi-label{gap:0;font-size:13px;line-height:18px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-kpi-value{min-height:32px}
body.balanced-blue.minimal-calm .cs-kpi-value strong{font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.02em;color:var(--ink)}
body.balanced-blue.minimal-calm .cs-kpi-wait{padding:0 16px 16px;font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-kpis>.cs-kpi-wait{padding:16px}
/* what each deliverable is waiting on: a dot and a label over the number. the picked one takes the soft grey fill */
body.balanced-blue.minimal-calm .cs-need-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;padding:0 16px 14px}
body.balanced-blue.minimal-calm .cs-need-tile{gap:6px;min-height:0;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);box-shadow:none;transition:background-color .15s,border-color .15s}
body.balanced-blue.minimal-calm .cs-need-tile::before{left:12px;top:16px;bottom:auto;width:6px;height:6px;border-radius:50%}
body.balanced-blue.minimal-calm .cs-need-tile[data-tone="neutral"]{--tone:var(--line-strong)}
body.balanced-blue.minimal-calm .cs-need-tile[data-tone="ink"]{--tone:var(--ink)}
body.balanced-blue.minimal-calm .cs-need-name{padding-left:12px;font-size:12px;font-weight:400;line-height:18px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-need-tile strong{font-size:20px;font-weight:600;line-height:1;letter-spacing:-.01em;color:var(--ink)}
body.balanced-blue.minimal-calm .cs-need-tile small{display:none}
body.balanced-blue.minimal-calm .cs-need-tile:hover:not(:disabled){border-color:var(--line);background:var(--soft)}
body.balanced-blue.minimal-calm .cs-need-tile[aria-pressed="true"]{border-color:var(--picked-line);background:var(--picked);box-shadow:none}
body.balanced-blue.minimal-calm .cs-need-tile:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
body.balanced-blue.minimal-calm .cs-need-tile:disabled{background:var(--surface)}
body.balanced-blue.minimal-calm .cs-need-tile:disabled::before{background:var(--line-strong)}
body.balanced-blue.minimal-calm .cs-need-tile[data-clear] strong{color:var(--quiet)}
body.balanced-blue.minimal-calm .cs-need-wait{margin:-4px 16px 12px;font-size:12px;line-height:16px;color:var(--secondary)}
/* the sheet under the tiles: a soft header bar inset from the card edge, hairlines that stop at the same inset */
body.balanced-blue.minimal-calm .cs-sheet-wrap{border-top:0}
body.balanced-blue.minimal-calm .cs-needs .cs-sheet-wrap{padding:0 12px 4px}
body.balanced-blue.minimal-calm #main table.cs-sheet{border-collapse:separate;border-spacing:0}
body.balanced-blue.minimal-calm #main table.cs-sheet th{height:32px;background:var(--soft)!important;border-bottom:0!important;line-height:18px}
body.balanced-blue.minimal-calm #main table.cs-sheet td:nth-child(4){font-weight:500}
body.balanced-blue.minimal-calm .cs-sheet-foot{padding:10px 16px;border-top:0;font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-sheet-foot .btn{min-height:28px;padding:0 10px;font-size:12px}
/* the older sheet tabs become the switch */
body.balanced-blue.minimal-calm .cs-sheet-tabs{gap:2px;margin:0 16px 12px;padding:2px;overflow:visible;border:0;border-radius:var(--r-control);background:var(--control-tray);box-shadow:none}
body.balanced-blue.minimal-calm .cs-sheet-tab{min-height:28px;padding:0 10px;border:0;border-radius:var(--r-seg);background:transparent;font-size:13px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-sheet-tab[aria-pressed="true"]{background:var(--switch-raise);color:var(--ink);box-shadow:var(--switch-shadow)}
body.balanced-blue.minimal-calm .cs-sheet-tab:focus-visible{outline:2px solid var(--quiet);outline-offset:1px}
/* the week: white blocks with a thin edge in the block's own colour, a pink line at now */
body.balanced-blue.minimal-calm .cs-cal-scroll{padding:0 16px 16px}
body.balanced-blue.minimal-calm .cs-cal-head{padding:0 0 8px}
body.balanced-blue.minimal-calm .cs-cal-head span{font-size:12px;font-weight:500;line-height:18px;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-cal-head b{width:28px;height:28px;font-size:15px;font-weight:600;color:var(--ink)}
body.balanced-blue.minimal-calm .cs-cal-head[data-today] span{color:var(--brand-ink)}
body.balanced-blue.minimal-calm .cs-cal-head[data-today] b{background:var(--accent);color:#fff}
body.balanced-blue.minimal-calm .cs-cal-times span{font-size:11px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event{--ev-bar:var(--line-strong);padding:3px 7px;border:1px solid var(--line);border-left:3px solid var(--ev-bar);border-radius:6px;background:var(--surface);color:var(--ink);box-shadow:none}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="blue"]{--ev-bar:var(--tint-blue)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="green"]{--ev-bar:var(--tint-green)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="amber"]{--ev-bar:var(--tint-orange)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="violet"]{--ev-bar:var(--tint-violet)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="teal"]{--ev-bar:var(--tint-teal)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="indigo"]{--ev-bar:var(--tint-indigo)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="rose"]{--ev-bar:var(--tint-pink)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-tone="cyan"]{--ev-bar:var(--tint-cyan)}
body.balanced-blue.minimal-calm.theme-dark .cs-clean .cs-cal-event{--ev-fill:var(--surface);--ev-ink:var(--ink);--ev-edge:var(--line)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event strong{font-size:12px;font-weight:500;line-height:15px}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-kind="break"]{border:1px dashed var(--line-strong);background:var(--surface);color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-depth]{box-shadow:0 0 0 1px var(--surface)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-now]{background:color-mix(in srgb,var(--brand-wash) 50%,var(--surface));box-shadow:none}
/* past blocks: a soft fill and second ink instead of fading the whole block, so the title stays readable */
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-past]{opacity:1;background:var(--soft)}
body.balanced-blue.minimal-calm .cs-clean .cs-cal-event[data-past] strong{color:var(--secondary)}
body.balanced-blue.minimal-calm .cs-cal-now{height:1px;background:var(--accent)}
body.balanced-blue.minimal-calm .cs-cal-now time{top:-10px;left:6px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--accent),#000 22%);color:#fff;font-size:10.5px;font-weight:600;line-height:20px}
body.balanced-blue.minimal-calm .cs-cal-now i{top:-4px;width:9px;height:9px;border-color:var(--surface);background:var(--accent)}
@media(max-width:640px){
  body.balanced-blue.minimal-calm .cs-need-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 12px}
  body.balanced-blue.minimal-calm .cs-need-tile{min-height:0}
  body.balanced-blue.minimal-calm .cs-needs .cs-sheet-wrap{padding:0 8px 4px}
}

/* ---------- d. pipeline and student cards ---------- */

/* the card state colours follow the house status tones in both themes */
body.balanced-blue.minimal-calm,
body.balanced-blue.minimal-calm.theme-dark{
  --card-red:var(--bad);--card-red-fill:var(--bad-wash);
  --card-amber:var(--warn-text);--card-amber-fill:var(--warn-wash);--card-amber-bar:var(--warn);
  --card-green:var(--ok-text);--card-green-fill:var(--ok-wash);
  --card-hair:var(--line);
}
/* toolbar: one 32px row. the stages | due dates switch sits in it, right after the search, so the page has
   one switch row (today | pipeline | ...) and one controls row under it (oliver, 2026-10-04: "move these tabs to the
   right of the search bar or something to make sure that there are not tabs above tabs"). the switch never breaks
   inside; on a narrow screen the row wraps by whole controls: the search takes its own line (minimal-fulfillment.css),
   the switch leads the next one and the filter sits beside it, or under it on a phone. */
body.balanced-blue.minimal-calm #main .ful-pipeline-toolbar{gap:8px;margin:0 0 12px;flex-wrap:wrap;align-items:center}
body.balanced-blue.minimal-calm #main .ful-pipeline-toolbar .ful-group-toggle{flex:none;margin:0;white-space:nowrap}
body.balanced-blue.minimal-calm #main .ful-pipeline-toolbar .ful-toolbar-note{font-size:12px;line-height:16px;color:var(--secondary)}
/* lanes: a soft tile with no edge, the stage name and a quiet count */
body.balanced-blue.minimal-calm #main .ful-pipeline{gap:10px}
body.balanced-blue.minimal-calm #main .ful-stage{border-color:transparent;border-radius:var(--r-card);background:var(--soft)}
body.balanced-blue.minimal-calm #main .ful-stage>header{height:40px;min-height:40px;padding:0 14px;background:transparent;box-shadow:none}
body.balanced-blue.minimal-calm #main .ful-stage>header h3,
body.balanced-blue.minimal-calm #main .ful-stage:is([data-pipeline-stage="program_paused"],[data-pipeline-stage="program_ended"])>header h3{font-size:13px;font-weight:500;line-height:20px;letter-spacing:normal;color:var(--ink)}
body.balanced-blue.minimal-calm #main .ful-stage>header>span{min-width:0;height:auto;padding:0;border:0;border-radius:0;background:transparent;font-size:12px;font-variant-numeric:tabular-nums;color:var(--secondary)}
body.balanced-blue.minimal-calm #main .ful-stage.ful-stage-drop-target{border-color:var(--picked-line);background:var(--picked);box-shadow:none}
body.balanced-blue.minimal-calm #main .ful-stage.ful-stage-drop-target>header{background:transparent;box-shadow:none}
body.balanced-blue.minimal-calm #main .ful-stage.ful-stage-drop-target .ful-stage-body{background:transparent}
body.balanced-blue.minimal-calm #main .ful-stage-body{gap:6px;padding:0 6px 8px}
body.balanced-blue.minimal-calm #main .ful-stage-empty{padding:10px 8px;font-size:12px;line-height:16px;color:var(--secondary)}
/* a student card: white, a hairline, no shadow. what is wrong shows as a dot in front of the words; a red student's
   whole card goes red (below) */
body.balanced-blue.minimal-calm .ful-stage-body .ful-student-card.ful-card-lean,
body.balanced-blue.minimal-calm .ful-stage-body .ful-student-card-wrap:last-child .ful-student-card.ful-card-lean,
body.balanced-blue.minimal-calm .ful-student-card.ful-card-lean[data-red="true"],
body.balanced-blue.minimal-calm .ful-stage-body .ful-student-card.ful-card-lean[data-red="true"],
body.balanced-blue.minimal-calm .ful-stage-body .ful-student-card-wrap:last-child .ful-student-card.ful-card-lean[data-red="true"],
body.balanced-blue.minimal-calm.theme-dark .ful-stage-body .ful-student-card.ful-card-lean[data-red="true"],
body.balanced-blue.minimal-calm.theme-dark .ful-stage-body .ful-student-card-wrap:last-child .ful-student-card.ful-card-lean[data-red="true"]{gap:4px;padding:12px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:none;transition:border-color .12s}
/* midnight: the lane sits on the card colour and the cards one step lighter, so cards stay the lightest thing */
body.balanced-blue.minimal-calm.theme-dark #main .ful-stage{background:var(--surface)}
body.balanced-blue.minimal-calm.theme-dark #main .ful-stage-body :is(.ful-student-card.ful-card-lean,.ful-student-card.ful-card-lean[data-red="true"],.ful-due-row,.ful-due-row[data-tone="red"]){background:var(--soft);border-color:var(--line-strong)}
body.balanced-blue.minimal-calm.theme-dark #main .ful-stage-body .ful-card-lean .ful-card-chip{background:transparent;border-color:var(--line-strong)}
body.balanced-blue.minimal-calm.theme-dark #main .ful-stage-body .ful-avatar{background:var(--surface);border-color:var(--line-strong)}
body.balanced-blue.minimal-calm .ful-stage-body .ful-student-card-wrap .ful-student-card.ful-card-lean:hover{border-color:var(--line-strong);background:var(--surface);box-shadow:none}
body.balanced-blue.minimal-calm .ful-stage-body .ful-student-card.ful-card-lean:focus-visible{outline:2px solid var(--ring);outline-offset:1px;border-radius:var(--r-card)}
/* red students (any in-the-clear check failing): the whole card is red, not just its dot or chip (oliver, 2026-10-04:
   "if someone is in the red, you should make their cards still red rather than just the ticket or the tag") */
body.balanced-blue.minimal-calm #main .ful-stage-body .ful-student-card.ful-card-lean[data-red="true"]{border-color:color-mix(in srgb,var(--bad) 30%,var(--line));background:color-mix(in srgb,var(--bad) 7%,var(--surface))}
body.balanced-blue.minimal-calm #main .ful-stage-body .ful-student-card.ful-card-lean[data-red="true"]:hover{border-color:color-mix(in srgb,var(--bad) 50%,var(--line))}
body.balanced-blue.minimal-calm.theme-dark #main .ful-stage-body .ful-student-card.ful-card-lean[data-red="true"]{border-color:color-mix(in srgb,var(--bad) 40%,var(--line-strong));background:color-mix(in srgb,var(--bad) 14%,var(--soft))}
body.balanced-blue.minimal-calm #main .ful-stage-body .ful-card-lean[data-red="true"] .ful-card-chip{background:transparent;border-color:color-mix(in srgb,var(--bad) 25%,var(--line))}
body.balanced-blue.minimal-calm .ful-stage-body .ful-card-lean .ful-card-head .ful-avatar{width:28px;height:28px;font-size:10px}
body.balanced-blue.minimal-calm .ful-stage-body .ful-card-lean .ful-card-head .ful-name-line strong{font-size:13.5px;font-weight:600;line-height:20px}
body.balanced-blue.minimal-calm .ful-stage-body .ful-card-lean .ful-card-earnings{font-size:13.5px;font-weight:600;line-height:20px;letter-spacing:normal}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-earnings>small{font-size:11.5px;font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm .ful-stage-body .ful-card-lean :is(.ful-card-touch,.ful-card-next){margin-left:36px}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch,
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch:is([data-tone="red"],[data-tone="amber"]){margin-top:-2px;font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .ful-stage-body .ful-card-lean .ful-card-next,
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-next:is([data-tone="red"],[data-tone="amber"]){margin-top:4px;font-size:13px;font-weight:500;line-height:18px;color:var(--ink)}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-next[data-tone="muted"]{font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-next:is([data-tone="red"],[data-tone="amber"])::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--bad);vertical-align:middle;position:relative;top:-1px}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-next[data-tone="amber"]::before{background:var(--warn)}
/* a white card is a good one: a small green "good" tag at the end of its next line (oliver, 2026-10-05: "if they in
   white they should have a green tag or something like they are good"). the words trim before the tag does */
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-next[data-good]{display:flex;align-items:center;gap:8px;min-width:0}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-next[data-good] .ful-card-next-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-next[data-good]::before{flex:none}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-good{display:inline-flex;flex:none;align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:999px;background:var(--ok-wash);color:var(--ok-text);font-size:11.5px;font-weight:600;line-height:1;white-space:nowrap}
/* a card's facts (testimonial, days left, a payment coming up): outline chips, a dot when one needs attention */
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-chip,
body.balanced-blue.minimal-calm.theme-dark .ful-card-lean .ful-card-chip{--tone:var(--line-strong);gap:5px;min-height:22px;padding:0 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--secondary);font-size:11.5px;font-weight:500;line-height:1}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-chip[data-tone="red"]{--tone:var(--bad);color:var(--ink)}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-chip[data-tone="amber"]{--tone:var(--warn);color:var(--ink)}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-chip:is([data-tone="red"],[data-tone="amber"])::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tone)}
/* one row: chatted and its chips. every card is the same three rows, so the same height: the name; chatted at the
   left with the chips at the right; the next thing (oliver, 2026-10-04: "Some of the cards are different sizes. Maybe
   you could position the two days differently"). the chatted words keep their full width while the chips fit. a chip
   that doesn't fit drops whole onto a hidden second line (never half an amount), and only the first chip ever makes
   the chatted words trim. how: the chips' box wraps inside a 22px row that hides the overflow and gives way a thousand
   times faster than the words, down to its widest chip; past that the words take the squeeze, with an ellipsis.
   a box that wraps is never narrower than its widest chip, hidden ones included, so on a row under 260px (a normal
   lane) only the first, most urgent chip is laid out at all: otherwise a hidden "$2,666 due in 16d" would trim the
   chatted words beside a short "testimonial". the row's hover lists every chip. a 6px gap and snug chips (6px sides)
   let the usual pair ("chatted 4d ago" and "$3,000 overdue") fit a 278px lane whole. */
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch,
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch:is([data-tone="red"],[data-tone="amber"]){height:22px;min-height:22px;margin-top:0;gap:6px;white-space:nowrap;container-type:inline-size}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch .ful-card-touch-text{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch .ful-card-tags{display:flex;flex:1 1000 auto;flex-wrap:wrap;align-content:flex-start;align-items:center;justify-content:flex-end;gap:4px;min-width:min-content;height:22px;overflow:hidden}
body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch .ful-card-tags .ful-card-chip{flex:none;gap:4px;height:22px;min-height:22px;min-width:auto;padding:0 6px;border-radius:999px;font-size:11.5px;line-height:1;overflow:visible;white-space:nowrap}
@container (max-width:259.98px){
  body.balanced-blue.minimal-calm .ful-card-lean .ful-card-touch .ful-card-tags .ful-card-chip:not(:first-child){display:none}
}
/* a value with a state, on the page: a dot and plain words */
body.balanced-blue.minimal-calm #main .ful-card-value:is([data-tone="green"],[data-tone="amber"],[data-tone="red"]){font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm #main .ful-card-value:is([data-tone="green"],[data-tone="amber"],[data-tone="red"])::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--ok);vertical-align:middle;position:relative;top:-1px}
body.balanced-blue.minimal-calm #main .ful-card-value[data-tone="amber"]::before{background:var(--warn)}
body.balanced-blue.minimal-calm #main .ful-card-value[data-tone="red"]::before{background:var(--bad)}
/* the lifted copy while dragging, and the slot it left */
body.balanced-blue.minimal-calm .hq-drag-lift{border-radius:var(--r-control)}
body.balanced-blue.minimal-calm .ful-pipeline .ful-student-card.ful-student-dragging{border-radius:var(--r-control);background:transparent;outline:1px dashed var(--line-strong);outline-offset:-1px}
/* program ended: a folded tab at the board's end, the same skinny lane as a stage with nobody in it
   (ui/pipeline-due.css), opening in place on click. the whole tab is the button; an open one says "hide" in its header.
   its name stays on one line (oliver, 2026-10-04: "program ended" broke onto two and looked off) */
body.balanced-blue.minimal-calm #main .ful-page .ful-pipeline>.ful-stage.ful-stage-folded[data-folded-stage]{position:relative;flex:0 0 140px;min-width:0;cursor:pointer}
body.balanced-blue.minimal-calm #main .ful-stage-folded:hover{background:var(--picked)}
body.balanced-blue.minimal-calm #main :is(.ful-stage-folded,.ful-stage-separate)>header h3{min-width:0;white-space:nowrap}
body.balanced-blue.minimal-calm #main .ful-stage-folded .ful-stage-unfold{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer}
body.balanced-blue.minimal-calm #main .ful-stage-folded .ful-stage-unfold:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
body.balanced-blue.minimal-calm #main .ful-stage-separate>header .ful-stage-fold{margin-left:auto;padding:0;font-size:12px;font-weight:400;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm #main .ful-stage-separate>header .ful-stage-fold:hover{color:var(--ink)}
/* due dates: two lanes of rows, soonest first. late is a red dot, not a red row */
body.balanced-blue.minimal-calm #main .ful-due{gap:10px}
body.balanced-blue.minimal-calm #main .ful-due .ful-stage-body{padding:0 6px 8px}
body.balanced-blue.minimal-calm #main .ful-due li{margin-bottom:6px}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-row,
body.balanced-blue.minimal-calm #main .ful-due .ful-due-row[data-tone="red"],
body.balanced-blue.minimal-calm.theme-dark #main .ful-due .ful-due-row[data-tone="red"]{min-height:48px;padding:6px 12px 6px 8px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);box-shadow:none;transition:border-color .12s}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-row:hover{border-color:var(--line-strong);box-shadow:none}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-row:focus-visible{outline:2px solid var(--ring);outline-offset:1px}
body.balanced-blue.minimal-calm #main .ful-due .ful-avatar{width:28px;height:28px;font-size:10px}
body.balanced-blue.minimal-calm #main .ful-due .ful-name-line strong{font-size:13px;font-weight:500;line-height:20px}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-when{gap:0;font-size:13px;line-height:18px}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-when small{font-size:12px;line-height:16px;color:var(--secondary)}
/* the undo line after a removal: the house notice */
body.balanced-blue.minimal-calm .page-success .ful-notice{margin:0 0 12px;padding:8px 14px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm .page-success .ful-notice :is(.ful-link,button):hover{color:var(--ink)}

/* ---------- e. deals ---------- */

/* two cards: the plan line, then every student and where each deal stands */
body.balanced-blue.minimal-calm .deal-plan{gap:12px}
body.balanced-blue.minimal-calm .deal-plan-card{gap:12px;padding:16px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:none}
body.balanced-blue.minimal-calm .deal-plan-card h3{font-size:17px;line-height:24px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
body.balanced-blue.minimal-calm .deal-plan-saved{font-size:12px;line-height:16px;color:var(--secondary)}
/* a deal in the plan: a round outline chip with its logo */
body.balanced-blue.minimal-calm .deal-plan-chip{gap:6px;min-height:28px;padding:2px 10px 2px 3px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:13px;font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .deal-plan-chip:hover{border-color:var(--line-strong);background:var(--soft)}
body.balanced-blue.minimal-calm .deal-plan-chip:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
body.balanced-blue.minimal-calm .deal-plan-chip.is-picked{border-color:var(--picked-line);background:var(--picked);box-shadow:none}
body.balanced-blue.minimal-calm .deal-plan-chip small{font-size:11px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-logo{width:22px;height:22px;flex-basis:22px;border-radius:50%;background:var(--soft);font-size:10.5px;font-weight:600;color:var(--secondary)}
/* how many top deals each student should be on, after the list */
body.balanced-blue.minimal-calm .deal-plan-goal{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:20px;color:var(--secondary);white-space:nowrap}
body.balanced-blue.minimal-calm .deal-plan-goal strong{font-weight:600;color:var(--ink)}
body.balanced-blue.minimal-calm .deal-plan-goal-pick{min-height:28px;padding:2px 6px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
body.balanced-blue.minimal-calm .deal-plan-goal-pick:focus-visible{outline:2px solid var(--ring);outline-offset:1px}
body.balanced-blue.minimal-calm .deal-plan-empty{font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-add{min-height:28px;padding:2px 10px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-add:hover,
body.balanced-blue.minimal-calm .deal-plan-add[aria-expanded="true"]{border-color:var(--line-strong);background:var(--soft);color:var(--ink)}
body.balanced-blue.minimal-calm .deal-plan-add:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
/* the list that opens under the plan to swap or add a deal */
body.balanced-blue.minimal-calm .deal-plan-swap{padding:12px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:none}
body.balanced-blue.minimal-calm .deal-plan-swap-head p{font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-swap-head .btn{min-height:28px;padding:0 10px;font-size:12px}
body.balanced-blue.minimal-calm .deal-plan-swap-list button{min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);font-size:13px}
body.balanced-blue.minimal-calm .deal-plan-swap-list button:hover,
body.balanced-blue.minimal-calm .deal-plan-swap-list button:focus-visible{border-color:var(--line);background:var(--soft)}
/* the students table: the header bar and the row lines stop 12px inside the card */
body.balanced-blue.minimal-calm .deal-plan-work{gap:12px}
body.balanced-blue.minimal-calm .deal-plan-bar{gap:8px 12px}
/* how many students the list is, quiet, just before the search */
body.balanced-blue.minimal-calm .deal-plan-total{margin-left:auto;font-size:12.5px;line-height:16px;color:var(--secondary);white-space:nowrap}
body.balanced-blue.minimal-calm #main .deal-plan-views .deal-plan-view-count[class*=count][data-alert]{height:18px;min-width:18px;padding:0 6px;border-radius:999px;background:var(--bad-pill);color:var(--bad-pill-ink);font-size:11px;font-weight:600}
/* on a phone the four filters sit two by two, so needs reply's red count and inactive are never off the edge */
@media(max-width:600px){
  body.balanced-blue.minimal-calm #main .deal-plan-bar .deal-plan-views.page-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible}
  body.balanced-blue.minimal-calm #main .deal-plan-bar .deal-plan-views.page-tabs button{justify-content:center;min-width:0}
  body.balanced-blue.minimal-calm .deal-plan-total{margin-left:0}
}
body.balanced-blue.minimal-calm :is(.deal-plan-help,.deal-plan-note){font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-table-wrap{margin:0 -4px -12px;border-top:0}
body.balanced-blue.minimal-calm .deal-plan-table{border-collapse:separate;border-spacing:0}
body.balanced-blue.minimal-calm .deal-plan-table td{font-size:13px;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .deal-plan-table tbody tr[data-tone="red"] td{background:transparent}
body.balanced-blue.minimal-calm .deal-plan-table tbody tr[data-tone="red"]:hover td{background:var(--record-hover)}
body.balanced-blue.minimal-calm .deal-plan-who .ful-avatar{width:28px;height:28px;font-size:10px}
body.balanced-blue.minimal-calm .deal-plan-who .ful-name-line strong{font-size:13px;font-weight:500;line-height:20px}
body.balanced-blue.minimal-calm .deal-plan-who>small{padding-left:37px;margin-top:-4px;font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-tag{min-height:26px;padding:2px 10px 2px 3px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:12.5px;font-weight:500}
/* where a deal stands: an outline chip, the state as a dot in front */
body.balanced-blue.minimal-calm .deal-plan-dchip,
body.balanced-blue.minimal-calm .deal-plan-dchip:is([data-tone="on"],[data-tone="asked"],[data-tone="waiting"],[data-tone="no"],[data-tone="quiet"]){--tone:var(--line-strong);gap:6px;min-height:26px;padding:2px 10px 2px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:12.5px;font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .deal-plan-dchip::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tone)}
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="on"]{--tone:var(--ok)}
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="waiting"]{--tone:var(--warn);border-style:dashed;border-color:var(--line-strong)}
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="asked"]{--tone:var(--bad)}
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="no"]{color:var(--secondary);text-decoration:none}
/* the strike is on the name only, so the logo letter and the "no" after it stay clean */
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="no"]>span:not(.deal-plan-logo){text-decoration:line-through}
body.balanced-blue.minimal-calm a.deal-plan-dchip{text-decoration:none;cursor:pointer}
body.balanced-blue.minimal-calm :is(button,a).deal-plan-dchip:hover{border-color:var(--line-strong);background:var(--soft)}
body.balanced-blue.minimal-calm a.deal-plan-dchip:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
body.balanced-blue.minimal-calm .deal-plan-dchip[aria-expanded="true"]{border-color:var(--picked-line);background:var(--picked);box-shadow:none}
body.balanced-blue.minimal-calm .deal-plan-dchip .deal-plan-logo{width:18px;height:18px;flex-basis:18px;font-size:9.5px}
body.balanced-blue.minimal-calm .deal-plan-none{font-size:13px;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-inactive{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-count{font-weight:500;color:var(--ink)}
/* the plan as one line next to its title (oliver, 2026-10-03: cut the deals tab down) */
body.balanced-blue.minimal-calm .deal-plan-core{gap:10px;padding:10px 16px}
body.balanced-blue.minimal-calm .deal-plan-card>header.deal-plan-coreline{justify-content:flex-start;gap:8px 12px}
body.balanced-blue.minimal-calm .deal-plan-coreline h3{font-size:13px;line-height:20px;font-weight:500;letter-spacing:0;color:var(--secondary);white-space:nowrap}
body.balanced-blue.minimal-calm .deal-plan-coreline .deal-plan-saved{margin-left:auto}
body.balanced-blue.minimal-calm .deal-plan-coreline .deal-plan-saved:empty{display:none}
/* the deals on their dashboard they stopped posting on (oliver, 2026-10-05: "shown not just written"): grey chips,
   each logo faded so the live ones read first */
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="quiet"]{--tone:transparent;border-style:dashed;background:transparent;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="quiet"]::before{box-shadow:inset 0 0 0 1px var(--line-strong)}
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="quiet"] .deal-plan-logo{filter:grayscale(1);opacity:.6}
/* a row folds what doesn't need anyone (oliver, 2026-10-06: "maybe just a drop-down or something for their active ones
   instead of listing out every single one"): the chips that need a reply first, then a count per fold (waiting, active,
   not posting, didn't get in) a little further off, each a pill with the fold's dot and a chevron that drops down its
   chips */
body.balanced-blue.minimal-calm .deal-plan-dchips{gap:6px 14px}
body.balanced-blue.minimal-calm :is(.deal-plan-now,.deal-plan-folds){display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
body.balanced-blue.minimal-calm .deal-plan-drop{position:relative;display:inline-flex}
body.balanced-blue.minimal-calm .deal-plan-dchip.deal-plan-fold[data-tone]{padding-inline-end:10px;font-variant-numeric:tabular-nums;cursor:pointer}
body.balanced-blue.minimal-calm .deal-plan-fold::after{content:"";flex:none;width:5px;height:5px;margin:-3px 0 0 1px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;opacity:.55;transform:rotate(45deg)}
body.balanced-blue.minimal-calm .deal-plan-fold[aria-expanded="true"]::after{margin-top:3px;transform:rotate(-135deg)}
body.balanced-blue.minimal-calm .deal-plan-fold:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
/* the dropdown: the fold's chips as a list, logos in full colour, no dot (the pill says where they stand; a chip keeps
   its word only when it says more, like "on student" under waiting) */
body.balanced-blue.minimal-calm .deal-plan-menu{position:absolute;top:calc(100% + 4px);inset-inline-start:0;z-index:30;display:grid;gap:1px;width:max-content;min-width:190px;max-width:280px;max-height:min(320px,60vh);overflow-y:auto;overscroll-behavior:contain;padding:4px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--shadow-float);white-space:normal}
body.balanced-blue.minimal-calm .deal-plan-menu[data-up]{top:auto;bottom:calc(100% + 4px)}
body.balanced-blue.minimal-calm .deal-plan-menu .deal-plan-dchip[data-tone]{display:flex;width:100%;min-height:32px;padding:4px 8px;border:0;border-radius:var(--r-seg);background:transparent;color:var(--ink);text-align:start}
body.balanced-blue.minimal-calm .deal-plan-menu .deal-plan-dchip[data-tone]::before{display:none}
body.balanced-blue.minimal-calm .deal-plan-menu .deal-plan-dchip[data-tone]>span:not(.deal-plan-logo){overflow:hidden;text-overflow:ellipsis;text-decoration:none}
body.balanced-blue.minimal-calm .deal-plan-menu .deal-plan-dchip[data-tone] .deal-plan-logo{filter:none;opacity:1}
body.balanced-blue.minimal-calm .deal-plan-menu :is(a,button).deal-plan-dchip[data-tone]:hover{background:var(--soft)}
body.balanced-blue.minimal-calm .deal-plan-menu :is(a,button).deal-plan-dchip:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
/* while one is open the table stops clipping it, so it can hang over the rows under it (only where the table fits) */
body.balanced-blue.minimal-calm .deal-plan-work{container:deal-plan-work/inline-size}
@container deal-plan-work (min-width:760px){body.balanced-blue.minimal-calm .deal-plan-table-wrap:has(.deal-plan-menu){overflow:visible}}
/* skip, under a row: the top deals they aren't on as toggles (pressed = skipped), and the whole student */
body.balanced-blue.minimal-calm .deal-plan-table tbody tr.deal-plan-passrow>td,
body.balanced-blue.minimal-calm .deal-plan-table tbody tr.deal-plan-passrow:hover>td{background:transparent}
body.balanced-blue.minimal-calm .deal-plan-pass{display:grid;gap:10px;margin:2px 0 6px 37px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);white-space:normal}
body.balanced-blue.minimal-calm .deal-plan-pass>p{margin:0;font-size:13px;line-height:18px;color:var(--secondary)}
body.balanced-blue.minimal-calm :is(.deal-plan-pass-deals,.deal-plan-pass-foot){display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body.balanced-blue.minimal-calm .deal-plan-pass-foot .btn{margin-left:auto}
body.balanced-blue.minimal-calm .deal-plan-skip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:2px 10px 2px 4px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font:inherit;font-size:12.5px;font-weight:500;color:var(--ink);cursor:pointer}
body.balanced-blue.minimal-calm .deal-plan-pass-foot .deal-plan-skip{padding-left:10px}
body.balanced-blue.minimal-calm .deal-plan-skip:hover{border-color:var(--line-strong);background:var(--soft)}
body.balanced-blue.minimal-calm .deal-plan-skip[aria-pressed="true"]{border-style:dashed;background:transparent;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-skip[aria-pressed="true"]>span:not(.deal-plan-logo){text-decoration:line-through}
body.balanced-blue.minimal-calm .deal-plan-skip[aria-pressed="true"] .deal-plan-logo{filter:grayscale(1);opacity:.6}
body.balanced-blue.minimal-calm .deal-plan-skip:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
body.balanced-blue.minimal-calm .deal-plan-skip .deal-plan-logo{width:20px;height:20px;flex-basis:20px}
@media(max-width:640px){body.balanced-blue.minimal-calm .deal-plan-pass{margin-left:0}}
/* the one quiet line under the chips: no active deal on their dashboard, or what's skipped for them */
body.balanced-blue.minimal-calm .deal-plan-inactive{margin:0;font-size:12px;line-height:16px;color:var(--secondary);white-space:normal}
body.balanced-blue.minimal-calm :is(.deal-plan-dchips,.deal-plan-inactive)+.deal-plan-inactive{margin-top:6px}
/* what the row is short of, first in the deals cell: red "needs n deals", amber "inactive" */
body.balanced-blue.minimal-calm .deal-plan-flags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 6px}
body.balanced-blue.minimal-calm .deal-plan-flags:only-child{margin:0}
body.balanced-blue.minimal-calm .deal-plan-flag{display:inline-flex;align-items:center;gap:6px;min-height:22px;padding:1px 9px 1px 8px;border-radius:999px;font-size:12px;font-weight:500;line-height:16px;white-space:nowrap;cursor:default}
body.balanced-blue.minimal-calm .deal-plan-flag::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
body.balanced-blue.minimal-calm .deal-plan-flag[data-tone="needs"]{background:var(--bad-wash);color:var(--bad-text)}
body.balanced-blue.minimal-calm .deal-plan-flag[data-tone="inactive"]{background:var(--warn-wash);color:var(--warn-text)}
/* where a chat stands, in words after the name (phones have no hover); the one that needs a reply in red */
body.balanced-blue.minimal-calm .deal-plan-state{margin-left:2px;font-size:12px;font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-plan-dchip[data-tone="asked"] .deal-plan-state{color:var(--bad-text)}
/* row actions are the small outline button, even where the old page filled them pink */
body.balanced-blue.minimal-calm #main .deal-plan-actions .btn,
body.balanced-blue.minimal-calm #main .deal-plan-actions .btn.btn-primary{min-height:28px;padding:4px 10px;border:1px solid var(--line);border-radius:var(--r-control);background:transparent;color:var(--ink);font-size:12px;font-weight:500;box-shadow:none}
body.balanced-blue.minimal-calm #main .deal-plan-actions .btn:hover,
body.balanced-blue.minimal-calm #main .deal-plan-actions .btn.btn-primary:hover{background:var(--soft);color:var(--ink)}
body.balanced-blue.minimal-calm .deal-plan-quiet{min-height:28px;border-radius:var(--r-control);font-size:12px;font-weight:500;color:var(--secondary)}
/* a deal's chat, opened under its row */
body.balanced-blue.minimal-calm .deal-plan-table .deal-plan-chatrow td{background:transparent}
body.balanced-blue.minimal-calm .deal-plan-chatbox{margin-left:37px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--soft)}
body.balanced-blue.minimal-calm .deal-plan-chathead p{font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm .deal-plan-log{font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm .deal-plan-log b{font-weight:500;color:var(--secondary)}
/* the wrap holds the hidden "actions" column label, so it can't push the page sideways on a phone */
body.balanced-blue.minimal-calm .deal-plan-table-wrap{position:relative}
@media(max-width:640px){
  body.balanced-blue.minimal-calm .deal-plan-chatbox{margin-left:0}
  /* phone: no sideways scroll. name and button on one line, their deals under the name (the house table cells carry
     !important padding, borders and a fixed height, so these do too) */
  body.balanced-blue.minimal-calm #main :is(.deal-plan-list,.deal-plan-list tbody){display:block;min-width:0}
  body.balanced-blue.minimal-calm #main .deal-plan-list thead{display:none}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--record-line,var(--line))}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody tr:last-child{border-bottom:0}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody td{display:block;height:auto;border-bottom:0!important;white-space:normal}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody td:first-child{padding:10px 8px 4px 12px!important}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody td.deal-plan-actions{grid-row:1;grid-column:2;padding:10px 12px 4px 0!important}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody td:nth-child(2){grid-row:2;grid-column:1/-1;width:auto;padding:0 12px 12px 49px!important}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody tr:not(.deal-plan-chatrow):hover{background:var(--record-hover)}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody tr:hover>td{background:transparent}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody tr.deal-plan-chatrow{display:block}
  body.balanced-blue.minimal-calm #main .deal-plan-list tbody tr.deal-plan-chatrow td{padding:0 12px 12px!important}
}

/* ---------- f. eods ---------- */

/* three numbers on top: a label over a number in plain ink */
body.balanced-blue.minimal-calm .eod-view{gap:18px}
body.balanced-blue.minimal-calm .eod-layout{gap:12px}
body.balanced-blue.minimal-calm :is(.eod-card,.eod-days){border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:none}
/* the day list: 36px rows, the picked day takes the soft grey fill */
body.balanced-blue.minimal-calm .eod-days{gap:2px;padding:6px 6px 8px}
body.balanced-blue.minimal-calm .eod-week{padding:8px 10px 4px;font-size:12px;line-height:18px}
body.balanced-blue.minimal-calm .eod-week:not(:first-child){margin-top:6px;padding-top:12px}
body.balanced-blue.minimal-calm .eod-week span:first-child{font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-week span+span{font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-tab{min-height:36px;padding:6px 10px;border:1px solid transparent;border-radius:var(--r-control);transition:background-color .12s,border-color .12s}
body.balanced-blue.minimal-calm .eod-tab:hover{border-color:transparent;background:var(--soft)}
body.balanced-blue.minimal-calm .eod-tab[aria-selected="true"]{border-color:var(--picked-line);background:var(--picked);box-shadow:none}
body.balanced-blue.minimal-calm .eod-tab:focus-visible{outline:2px solid var(--ring);outline-offset:1px}
body.balanced-blue.minimal-calm .eod-tab-day{font-size:13px;font-weight:500}
body.balanced-blue.minimal-calm .eod-tab[aria-selected="true"] .eod-tab-day{font-weight:500}
body.balanced-blue.minimal-calm .eod-tab-flag{width:6px;height:6px;background:var(--warn)}
/* a status: the sign carries the colour, the word stays ink */
body.balanced-blue.minimal-calm .eod-mark,
body.balanced-blue.minimal-calm .eod-mark:is([data-tone="green"],[data-tone="amber"],[data-tone="red"]){gap:6px;font-size:12px;font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .eod-mark[data-tone="muted"]{color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-mark svg{width:14px;height:14px;color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-mark[data-tone="green"] svg{color:var(--ok)}
body.balanced-blue.minimal-calm .eod-mark[data-tone="amber"] svg{color:var(--warn)}
body.balanced-blue.minimal-calm .eod-mark[data-tone="red"] svg{color:var(--bad)}
/* the picked day */
body.balanced-blue.minimal-calm .eod-pane{gap:12px}
body.balanced-blue.minimal-calm .eod-pane-head{padding:0}
body.balanced-blue.minimal-calm .eod-pane-head h3{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
body.balanced-blue.minimal-calm .eod-pane-head p,
body.balanced-blue.minimal-calm .eod-pane-head p[data-tone="red"]{margin-top:2px;font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-pane-title .eod-mark{font-size:12px}
body.balanced-blue.minimal-calm .eod-pane-title .eod-mark svg{width:14px;height:14px}
body.balanced-blue.minimal-calm .eod-person{gap:12px}
body.balanced-blue.minimal-calm .eod-person>h4{font-size:17px;line-height:24px;font-weight:600;letter-spacing:-.01em}
/* the numbers: one compact row, a label over an ink number; the hit / missed dot in the house green and red */
body.balanced-blue.minimal-calm .eod-score{gap:10px 36px;padding:12px 16px}
body.balanced-blue.minimal-calm .eod-score dt{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-score>div[data-tone]>dt::before{background:var(--bad)}
body.balanced-blue.minimal-calm .eod-score>div[data-tone="green"]>dt::before{background:var(--ok)}
body.balanced-blue.minimal-calm .eod-score dd{font-size:18px;font-weight:600;line-height:24px;letter-spacing:-.01em;color:var(--ink)}
body.balanced-blue.minimal-calm .eod-score dd small{font-size:13px;font-weight:400;color:var(--secondary)}
/* supposed to do: one hairline card, the sign carries the colour, the words stay ink; the why sits under the misses */
body.balanced-blue.minimal-calm .eod-todo{gap:10px;padding:14px 16px 16px}
body.balanced-blue.minimal-calm .eod-todo>h4{font-size:14px;font-weight:600;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .eod-check-list>.eod-why{padding-left:23px;font-size:13px;line-height:20px;color:var(--secondary)}
/* the short answers */
body.balanced-blue.minimal-calm .eod-lines{gap:6px;padding:12px 16px}
body.balanced-blue.minimal-calm .eod-line{font-size:13px;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .eod-line[data-tone="amber"]>span::before{background:var(--warn)}
body.balanced-blue.minimal-calm .eod-check-list{gap:6px}
body.balanced-blue.minimal-calm .eod-check-list li,
body.balanced-blue.minimal-calm .eod-check-list li[data-answer="missed"]{gap:8px;font-size:13px;font-weight:400;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .eod-check-list li:is([data-answer="blank"],[data-answer="na"]){color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-check-list svg{width:15px;height:15px;stroke:var(--quiet)}
body.balanced-blue.minimal-calm .eod-check-list li[data-answer="done"] svg{stroke:var(--ok)}
body.balanced-blue.minimal-calm .eod-check-list li[data-answer="missed"] svg{stroke:var(--bad)}
body.balanced-blue.minimal-calm .eod-note,
body.balanced-blue.minimal-calm .eod-note[data-tone="red"]{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .eod-skip summary{font-size:12px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm #main .eod-file{min-height:28px;padding:4px 10px;font-size:12px}
body.balanced-blue.minimal-calm .eod-intro{font-size:13px;line-height:20px;color:var(--secondary)}
@media(max-width:860px){
  body.balanced-blue.minimal-calm .eod-days{padding:4px}
}

/* ---------- g. churn ---------- */

body.balanced-blue.minimal-calm #main.page-success .ful-section{margin-bottom:18px}
body.balanced-blue.minimal-calm #main.page-success .ful-sectionhead{min-height:32px;margin-bottom:12px}
/* a badge with nothing in it draws nothing */
body.balanced-blue.minimal-calm #main.page-success .status:empty{display:none}
body.balanced-blue.minimal-calm #main.page-success .data-table .ful-name-line strong{font-size:13px;font-weight:500;line-height:20px}
body.balanced-blue.minimal-calm #main.page-success .data-table .ful-avatar{width:28px;height:28px;font-size:10px}
body.balanced-blue.minimal-calm #main.page-success .data-table .ful-link{font-size:13px;font-weight:500;color:var(--ink)}

/* ---------- h. inbox ---------- */

/* one card in three columns: chats, the conversation, the student */
body.balanced-blue.minimal-calm,
body.balanced-blue.minimal-calm.theme-dark{--chat-us:var(--accent)}
body.balanced-blue.minimal-calm .chat-inbox{border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:none}
@media(min-width:821px){
  /* the inbox keeps the page's own side gutters and a 16px gap under it */
  body.balanced-blue.minimal-calm #main:has(.chat-inbox){padding-inline:max(24px,calc((100% - 1400px) / 2));padding-bottom:16px}
  /* it keeps the scrollbar's space like every other tab, so the header does not jump sideways on switching */
  body.balanced-blue.minimal-calm .main:has(.chat-inbox){scrollbar-gutter:stable}
  body.balanced-blue.minimal-calm #main:has(.chat-inbox) .page-heading{margin-bottom:20px}
  body.balanced-blue.minimal-calm #main:has(.chat-inbox) .page-tabs{margin-bottom:0}
}
/* the chat list */
body.balanced-blue.minimal-calm .chat-list-head{gap:10px;padding:16px 16px 10px}
body.balanced-blue.minimal-calm .chat-sync{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-list-head .ful-search input{border-radius:var(--r-control)}
body.balanced-blue.minimal-calm .chat-list-tools .hq-select-trigger{border-color:var(--control-border);background:var(--control-face);color:var(--ink);font-weight:500}
body.balanced-blue.minimal-calm .chat-filters{gap:2px;padding:2px;border:0;border-radius:var(--r-control);background:var(--control-tray)}
body.balanced-blue.minimal-calm .chat-filter-pill{min-height:28px;padding:0 10px;border:0;border-radius:var(--r-seg);font-size:13px;font-weight:500;line-height:1;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-filter-pill span,
body.balanced-blue.minimal-calm .chat-filter-pill.is-active span,
body.balanced-blue.minimal-calm .chat-filter-pill[data-chat-filter="reply"]:not(.is-active) span{min-width:0;height:auto;padding:0;border-radius:0;background:transparent;font-size:11px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-filter-pill.is-active{border:0;background:var(--switch-raise);color:var(--ink);box-shadow:var(--switch-shadow)}
body.balanced-blue.minimal-calm .chat-filter-pill:focus-visible{outline:2px solid var(--quiet);outline-offset:1px}
/* a section per reason: a dot, its name, the rule in grey, a count */
body.balanced-blue.minimal-calm .chat-section-head{gap:8px;min-height:40px;padding:0 16px;font-size:13px;font-weight:600;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .chat-section-head:hover{background:var(--soft)}
body.balanced-blue.minimal-calm .chat-section-head:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
body.balanced-blue.minimal-calm .chat-section-dot{--tone:var(--line-strong);width:6px;height:6px}
body.balanced-blue.minimal-calm .chat-section-dot[data-tone="neutral"]{--tone:var(--line-strong)}
body.balanced-blue.minimal-calm .chat-section-dot[data-tone="pink"]{background:var(--accent)}
body.balanced-blue.minimal-calm .chat-section-count{min-width:0;padding:0;border-radius:0;background:transparent;font-size:12px;font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-section:has(.chat-section-dot[data-tone="red"]) .chat-section-count{display:inline-flex;align-items:center;justify-content:center;height:20px;min-width:20px;padding:0 6px;border-radius:999px;background:var(--bad-pill);color:var(--bad-pill-ink);font-size:11.5px;font-weight:600;line-height:1}
body.balanced-blue.minimal-calm .chat-section-caret{width:6px;height:6px;border-color:var(--quiet)}
body.balanced-blue.minimal-calm .chat-section-rows{padding:2px 8px 8px}
/* a chat row: a 36px avatar, the name and when, then the last message and why they are here */
body.balanced-blue.minimal-calm .chat-row{grid-template-columns:36px minmax(0,1fr);gap:10px;margin:0 0 2px;padding:8px;border-radius:var(--r-control)}
body.balanced-blue.minimal-calm .chat-row:hover{background:var(--soft)}
body.balanced-blue.minimal-calm .chat-row.is-selected{background:var(--picked)}
body.balanced-blue.minimal-calm .chat-row:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}
body.balanced-blue.minimal-calm .chat-row .ful-avatar{width:36px;height:36px;font-size:11px}
body.balanced-blue.minimal-calm .chat-row-main{gap:0}
body.balanced-blue.minimal-calm .chat-row-top strong{font-size:13px;font-weight:500;line-height:20px}
body.balanced-blue.minimal-calm .chat-row-top time{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-row-preview{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-unread{background:var(--bad-pill);color:var(--bad-pill-ink);font-size:11.5px;font-weight:600}
body.balanced-blue.minimal-calm .chat-tag-badge{height:18px;background:var(--bad-pill);color:var(--bad-pill-ink);font-size:11px;font-weight:600}
/* why you'd message someone: a dot and plain words, no tinted tag */
body.balanced-blue.minimal-calm .chat-reason,
body.balanced-blue.minimal-calm.theme-dark .chat-reason,
body.balanced-blue.minimal-calm .chat-row-bottom .chat-reason{gap:5px;min-height:18px;padding:0;border-radius:0;background:transparent;color:var(--ink);font-size:11.5px;font-weight:500;line-height:1}
body.balanced-blue.minimal-calm .chat-reason::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tone)}
body.balanced-blue.minimal-calm .chat-reason{--tone:var(--line-strong)}
body.balanced-blue.minimal-calm :is(.chat-reason,.hq-option-dot)[data-tone="pink"]{--tone:var(--accent)}
body.balanced-blue.minimal-calm .hq-option-dot{width:6px;height:6px}
body.balanced-blue.minimal-calm .hq-option-count{font-size:12px;font-weight:400;color:var(--secondary)}
/* the conversation */
body.balanced-blue.minimal-calm .chat-pane-head{gap:12px;min-height:56px;padding:10px 16px;border-bottom:1px solid var(--line)}
body.balanced-blue.minimal-calm .chat-person{gap:10px}
body.balanced-blue.minimal-calm .chat-person .ful-avatar{width:36px;height:36px;font-size:11px}
body.balanced-blue.minimal-calm .chat-person span{gap:0}
body.balanced-blue.minimal-calm .chat-person strong{font-size:14px;font-weight:600;line-height:20px}
body.balanced-blue.minimal-calm .chat-person small{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-open{gap:6px;min-height:28px;padding:0 10px;border:1px solid var(--line);border-radius:var(--r-control);box-shadow:none;font-size:12px;font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .chat-open:hover{background:var(--soft);text-decoration:none}
body.balanced-blue.minimal-calm .chat-send-as-label{font-size:12px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-send-as{gap:2px;padding:2px;border-radius:var(--r-control);background:var(--control-tray);box-shadow:none}
body.balanced-blue.minimal-calm .chat-send-as button{min-height:24px;padding:0 10px;border-radius:var(--r-seg);font-size:12px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-send-as button.is-on{background:var(--switch-raise);color:var(--ink);font-weight:500;box-shadow:var(--switch-shadow)}
body.balanced-blue.minimal-calm .chat-messages{gap:6px;padding:16px 20px}
body.balanced-blue.minimal-calm .chat-day{margin:10px 0 4px;font-size:11px;font-weight:500;line-height:16px;color:var(--secondary)}
/* bubbles, the way the dashboard draws a chat: yours pink, a teammate's a pink wash with their name, theirs soft grey */
body.balanced-blue.minimal-calm .chat-bubble{gap:2px;padding:8px 12px;border-radius:16px;background:var(--soft);font-size:13.5px;line-height:21px;color:var(--ink)}
body.balanced-blue.minimal-calm .chat-message[data-side="them"] .chat-bubble,
body.balanced-blue.minimal-calm.theme-dark .chat-message[data-side="them"] .chat-bubble{border-bottom-left-radius:4px;background:var(--soft)}
body.balanced-blue.minimal-calm .chat-message[data-side="us"] .chat-bubble{border-bottom-right-radius:4px;background:var(--chat-us);color:#fff}
body.balanced-blue.minimal-calm .chat-message[data-side="team"] .chat-bubble,
body.balanced-blue.minimal-calm.theme-dark .chat-message[data-side="team"] .chat-bubble{border-bottom-right-radius:4px;background:var(--brand-wash);color:var(--ink)}
body.balanced-blue.minimal-calm .chat-message[data-side="team"] .chat-author,
body.balanced-blue.minimal-calm.theme-dark .chat-message[data-side="team"] .chat-author{color:var(--brand-ink)}
body.balanced-blue.minimal-calm .chat-message[data-side="other"] .chat-bubble{box-shadow:inset 0 0 0 1px var(--line);font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-author{font-size:11.5px;font-weight:600;line-height:16px}
body.balanced-blue.minimal-calm .chat-bubble time{font-size:11px;line-height:14px}
body.balanced-blue.minimal-calm .chat-image img,
body.balanced-blue.minimal-calm .chat-gif img{border-radius:var(--r-card)}
body.balanced-blue.minimal-calm .chat-file{border-radius:var(--r-seg);background:var(--surface);font-size:12px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-message[data-outbox="failed"] .chat-bubble,
body.balanced-blue.minimal-calm .chat-message[data-stuck] .chat-bubble{border:1px solid color-mix(in srgb,var(--bad) 30%,transparent);background:var(--bad-wash);color:var(--bad-text)}
body.balanced-blue.minimal-calm .chat-message[data-outbox="failed"] .chat-bubble :is(.chat-outbox-state,a,.ful-link),
body.balanced-blue.minimal-calm .chat-message[data-stuck] .chat-bubble :is(.chat-outbox-state,a,.ful-link){color:var(--bad-text)}
body.balanced-blue.minimal-calm .chat-mention,
body.balanced-blue.minimal-calm.theme-dark .chat-mention{border-radius:4px;background:var(--pink-wash);color:var(--brand-ink);font-weight:500}
body.balanced-blue.minimal-calm .chat-message[data-side="us"] .chat-mention{background:rgb(255 255 255 / .22);color:#fff}
body.balanced-blue.minimal-calm #main .chat-composer-field textarea.input.has-backdrop::selection{background:color-mix(in srgb,var(--accent) 25%,transparent)}
/* how long since we replied: a dot and plain words */
body.balanced-blue.minimal-calm .chat-last-reply,
body.balanced-blue.minimal-calm .chat-last-reply:is([data-tone="amber"],[data-tone="red"]){display:flex;align-items:center;gap:6px;margin:8px auto 2px;padding:0;border-radius:0;background:transparent;font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-last-reply:is([data-tone="amber"],[data-tone="red"]){color:var(--ink)}
body.balanced-blue.minimal-calm .chat-last-reply:is([data-tone="amber"],[data-tone="red"])::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--warn)}
body.balanced-blue.minimal-calm .chat-last-reply[data-tone="red"]::before{background:var(--bad)}
body.balanced-blue.minimal-calm .chat-empty{font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-empty-state>span{width:48px;height:48px;background:var(--soft);color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-empty-state>span svg{width:24px;height:24px}
body.balanced-blue.minimal-calm .chat-empty-state h3{font-size:14px;font-weight:500;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .chat-empty-state p{font-size:12px;line-height:16px}
/* the message box: the one filled button on this screen is send */
body.balanced-blue.minimal-calm .chat-composer{gap:6px 8px;padding:10px 16px 12px;border-top:1px solid var(--line)}
body.balanced-blue.minimal-calm #main .chat-composer textarea.input{min-height:44px;padding:11px 12px;border-radius:var(--r-card);font-size:14px;line-height:21px}
body.balanced-blue.minimal-calm #main .chat-composer textarea.input:is(:focus,:focus-visible),
body.balanced-blue.minimal-calm #main .chat-list input.ful-search:is(:focus,:focus-visible){outline:none;box-shadow:none;border-color:var(--line-strong)}
/* typing in the search or the reply box shows the same pink ring as every other field */
body.balanced-blue.minimal-calm #main :is(.chat-composer textarea.input,.chat-list input.ful-search):focus-visible{outline:2px solid var(--accent);outline-offset:1px}
/* send is a normal 36px button with control corners. 44px only for fingers */
body.balanced-blue.minimal-calm .chat-composer .btn,
body.balanced-blue.minimal-calm .chat-composer>.btn{height:36px;min-height:36px;padding:0 16px;border-radius:var(--r-control)}
@media(pointer:coarse){
  body.balanced-blue.minimal-calm .chat-composer .btn,
  body.balanced-blue.minimal-calm .chat-composer>.btn{height:44px;min-height:44px}
}
body.balanced-blue.minimal-calm .chat-composer .btn.btn-primary{background:var(--chat-us);border-color:transparent;color:#fff}
body.balanced-blue.minimal-calm .chat-composer .btn.btn-primary:hover:not(:disabled){background:var(--brand-highlight);border-color:transparent}
body.balanced-blue.minimal-calm .chat-composer .btn.btn-primary:disabled{background:var(--pink-off-fill);color:var(--pink-off-ink);opacity:1}
body.balanced-blue.minimal-calm .chat-composer-note{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm :is(.chat-mention-menu,.chat-react-menu){border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-float)}
body.balanced-blue.minimal-calm .chat-mention-menu{padding:4px;border-radius:var(--r-menu)}
body.balanced-blue.minimal-calm .chat-mention-menu li{padding:6px 10px;border-radius:var(--r-control);font-size:13px}
body.balanced-blue.minimal-calm .chat-reaction{box-shadow:inset 0 0 0 1px var(--line);font-size:13px}
body.balanced-blue.minimal-calm .chat-reaction[data-state="failed"]{box-shadow:inset 0 0 0 1px var(--bad)}
/* the student column: who it is, then each deliverable as a row with its state at the right */
body.balanced-blue.minimal-calm .chat-details{gap:18px;padding:16px;border-left:1px solid var(--line)}
body.balanced-blue.minimal-calm .chat-details h3{font-size:12px;font-weight:500;line-height:18px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-details .ful-link{font-size:12px;font-weight:500}
body.balanced-blue.minimal-calm .chat-card{gap:10px}
body.balanced-blue.minimal-calm .chat-card .ful-avatar{width:36px;height:36px;font-size:11px}
body.balanced-blue.minimal-calm .chat-card span{gap:0}
body.balanced-blue.minimal-calm .chat-card strong{font-size:14px;font-weight:600;line-height:20px}
body.balanced-blue.minimal-calm .chat-card small{font-size:12px;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-dl{gap:0}
body.balanced-blue.minimal-calm .chat-dl li{--tone:var(--ok);column-gap:10px;min-height:36px;padding:0;border-radius:0;background:transparent;box-shadow:none;font-size:13px;line-height:20px;color:var(--ink)}
body.balanced-blue.minimal-calm .chat-dl li+li{border-top:1px solid var(--record-line)}
body.balanced-blue.minimal-calm .chat-dl li[data-tone="red"]{--tone:var(--bad)}
body.balanced-blue.minimal-calm .chat-dl li[data-tone="amber"]{--tone:var(--warn)}
body.balanced-blue.minimal-calm .chat-dl li:has(.chat-need-link):hover{box-shadow:none}
body.balanced-blue.minimal-calm .chat-dl li:has(.chat-need-link):hover .chat-need-link{text-decoration-style:solid}
body.balanced-blue.minimal-calm .chat-dl li .chat-need-link::after{border-radius:0}
body.balanced-blue.minimal-calm .chat-dl .chat-dl-name,
body.balanced-blue.minimal-calm .chat-dl li[data-flagged] .chat-dl-name{font-weight:500}
body.balanced-blue.minimal-calm .chat-dl .chat-dl-status,
body.balanced-blue.minimal-calm .chat-dl li:is([data-tone="red"],[data-tone="amber"]) .chat-dl-status{gap:6px;height:auto;padding:0;border-radius:0;background:transparent;font-size:12px;font-weight:400;line-height:16px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-dl li[data-flagged] .chat-dl-status{color:var(--ink)}
body.balanced-blue.minimal-calm .chat-dl .chat-dl-status::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tone)}
body.balanced-blue.minimal-calm .chat-need-link:hover{color:inherit}
body.balanced-blue.minimal-calm :is(.chat-needs,.chat-deliverables) li{font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm :is(.chat-needs,.chat-deliverables) li::before{width:6px;height:6px}
body.balanced-blue.minimal-calm .chat-deliverables li{--tone:var(--ok);border-bottom-color:var(--record-line)}
body.balanced-blue.minimal-calm .chat-deliverables li[data-tone="green"]{--tone:var(--ok)}
body.balanced-blue.minimal-calm .chat-dl-box,
body.balanced-blue.minimal-calm .chat-dl-box[data-kind="todo"]{padding:0;border-radius:0;background:transparent}
body.balanced-blue.minimal-calm .chat-dl-box-title,
body.balanced-blue.minimal-calm .chat-dl-box[data-kind="todo"] .chat-dl-box-title{font-size:12px;font-weight:500;letter-spacing:normal;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-todo li{font-size:13px;line-height:20px;border-top-color:var(--record-line)}
body.balanced-blue.minimal-calm .chat-todo li:is([data-tone="red"],[data-tone="amber"]) strong{color:var(--ink)}
body.balanced-blue.minimal-calm :is(.chat-muted,.chat-deals-now){font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm .chat-deals li{font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm .chat-deal-logo{border-radius:50%}
body.balanced-blue.minimal-calm .chat-deal-when,
body.balanced-blue.minimal-calm .chat-deal-when:is([data-tone="green"],[data-tone="amber"],[data-tone="red"]){display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--secondary)}
body.balanced-blue.minimal-calm .chat-deal-when:is([data-tone="green"],[data-tone="amber"],[data-tone="red"])::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--ok)}
body.balanced-blue.minimal-calm .chat-deal-when[data-tone="amber"]::before{background:var(--warn)}
body.balanced-blue.minimal-calm .chat-deal-when[data-tone="red"]::before{background:var(--bad)}
body.balanced-blue.minimal-calm .chat-context-actions .btn{min-height:28px;padding:4px 10px;font-size:12px}
/* group chat cards (round 3, inbox side panel and the pop-up's deals tab): the deal's logo, its name, one status as a
   dot and a word, one quiet line under the name; got in / didn't get in / remind only while it's waiting */
body.balanced-blue.minimal-calm .deal-track{gap:6px}
/* got in and didn't get in fold into one quiet line each, closed, with the count; opened, the same cards */
body.balanced-blue.minimal-calm .deal-track-fold{margin-top:6px}
body.balanced-blue.minimal-calm .deal-track+.deal-track-fold,body.balanced-blue.minimal-calm .deal-track-fold+.deal-track-fold{margin-top:8px}
body.balanced-blue.minimal-calm .deal-track-fold>summary{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 4px;border-radius:8px;font-size:13px;font-weight:500;color:var(--secondary);cursor:pointer;list-style:none}
body.balanced-blue.minimal-calm .deal-track-fold>summary::-webkit-details-marker{display:none}
body.balanced-blue.minimal-calm .deal-track-fold>summary::before{content:"";width:6px;height:6px;margin-right:2px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(-45deg);transition:transform .15s}
body.balanced-blue.minimal-calm .deal-track-fold[open]>summary::before{transform:rotate(45deg)}
body.balanced-blue.minimal-calm .deal-track-fold>summary:hover{background:var(--soft);color:var(--ink)}
body.balanced-blue.minimal-calm .deal-track-fold-n{font-variant-numeric:tabular-nums;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-track-fold>.deal-track{margin-top:6px}
/* in the wide pop-up the cards keep their side-panel size and sit side by side, not as page-wide strips */
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .ful-deal-track ul.deal-track{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));align-items:start;gap:8px}
body.balanced-blue.minimal-calm .deal-track-row,
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .ful-deal-track li.deal-track-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface)}
/* the logo sits beside the name and the quiet line; the quiet line and the buttons run under both name and status */
body.balanced-blue.minimal-calm .deal-track-logo{position:relative;grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;overflow:hidden;border:1px solid var(--line);border-radius:50%;background:var(--soft);font-size:12px;font-weight:600;line-height:1;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-track-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:var(--surface)}
body.balanced-blue.minimal-calm .deal-track-row .deal-track-name{min-width:0;overflow:hidden;font-size:13px;font-weight:500;line-height:20px;color:var(--ink);text-overflow:ellipsis;white-space:nowrap}
/* one line, the rest on hover, so every card is the same height (oliver, 2026-10-05: "make them all the same size") */
body.balanced-blue.minimal-calm .deal-track-line{grid-column:2/-1;display:block;min-width:0;overflow:hidden;font-size:12px;line-height:16px;color:var(--secondary);text-overflow:ellipsis;white-space:nowrap}
body.balanced-blue.minimal-calm .deal-track-row .deal-track-tag{margin-left:6px;padding:0 6px;border:1px solid var(--line);border-radius:999px;background:transparent;font-size:11px;font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-track-state,
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .ful-deal-track .deal-track-state{--tone:var(--line-strong);gap:6px;min-height:20px;padding:0;border-radius:0;background:transparent;font-size:12px;font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .deal-track-state::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tone)}
body.balanced-blue.minimal-calm :is(.deal-track,.student-profile .ful-current-deals .ful-deal-track) .deal-track-state[data-tone="green"]{--tone:var(--ok)}
body.balanced-blue.minimal-calm :is(.deal-track,.student-profile .ful-current-deals .ful-deal-track) .deal-track-state[data-tone="red"]{--tone:var(--bad)}
body.balanced-blue.minimal-calm :is(.deal-track,.student-profile .ful-current-deals .ful-deal-track) .deal-track-state[data-tone="amber"]{--tone:var(--warn)}
body.balanced-blue.minimal-calm :is(.deal-track,.student-profile .ful-current-deals .ful-deal-track) .deal-track-state:is([data-tone="muted"],[data-tone="neutral"]){--tone:var(--line-strong);color:var(--secondary)}
/* the buttons are small outlined buttons (like the deals tab's open in discord), so they never read as a status */
body.balanced-blue.minimal-calm .deal-track-actions{grid-column:2/-1;gap:6px;margin-top:8px}
body.balanced-blue.minimal-calm .deal-track-actions .ful-link{min-height:26px;padding:0 10px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);font-size:12px;font-weight:500;line-height:24px;color:var(--ink)}
body.balanced-blue.minimal-calm .deal-track-actions .ful-link:hover{background:var(--soft);text-decoration:none}
body.balanced-blue.minimal-calm .deal-track-actions .ful-link:disabled{opacity:.5;cursor:default}
/* a settled status is also its undo (hover says so): it looks like the plain status until hovered */
body.balanced-blue.minimal-calm button.deal-track-state{border:0;font-family:inherit;cursor:pointer}
body.balanced-blue.minimal-calm button.deal-track-state:hover{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
body.balanced-blue.minimal-calm button.deal-track-state:disabled{opacity:.5;cursor:default}
body.balanced-blue.minimal-calm .deal-intro-actions [role=status]{font-size:12px;color:var(--bad-text)}
/* pictures open over the page with 12px corners */
body.balanced-blue.minimal-calm .chat-lightbox,
body.balanced-blue.minimal-calm .chat-lightbox img{border-radius:var(--r-dialog)}
/* the older review inbox wears the same card and switch */
body.balanced-blue.minimal-calm #main .ful-unified-controls .segmented{gap:2px;padding:2px;border:0;border-radius:var(--r-control);background:var(--control-tray)}
body.balanced-blue.minimal-calm #main .ful-unified-controls .segmented button[aria-pressed="true"]{color:var(--ink)}
body.balanced-blue.minimal-calm #main .ful-inbox-attachment img,
body.balanced-blue.minimal-calm .ful-image-modal img{border-radius:var(--r-control)}
@media(max-width:820px){
  body.balanced-blue.minimal-calm .chat-messages{padding:12px 14px}
}

/* ---------- i. student pop-up ---------- */

/* the dashboard's own student pop-up: 40px avatar, 22px name, the money at 26px, the tabs as the switch */
body.balanced-blue.minimal-calm #drawer:has(.student-profile.student-profile-simple) .drawer-head{padding:22px 24px 8px 32px;border-bottom:0}
body.balanced-blue.minimal-calm #drawer:has(.student-profile.student-profile-simple) .drawer-head h2{font-size:22px;line-height:1.5;font-weight:600;letter-spacing:-.2px}
body.balanced-blue.minimal-calm #drawer:has(.student-profile.student-profile-simple) #drawer-title .ful-avatar{width:40px;height:40px;font-size:15px;font-weight:500}
body.balanced-blue.minimal-calm #drawer:has(.student-profile) #drawer-close{width:36px;height:36px;border-radius:var(--r-control);color:var(--secondary)}
body.balanced-blue.minimal-calm #drawer:has(.student-profile) #drawer-close:hover{background:var(--soft);color:var(--ink)}
body.balanced-blue.minimal-calm .student-profile-summary{gap:6px;font-size:14px;color:var(--secondary)}
body.balanced-blue.minimal-calm .student-profile-summary strong{font-size:26px;font-weight:600;line-height:1.1;letter-spacing:-.4px;color:var(--ink)}
body.balanced-blue.minimal-calm .student-profile-top{margin:0 0 16px}
body.balanced-blue.minimal-calm .student-profile-top :is([data-profile-message],[data-profile-discord]){min-height:32px;min-width:96px}
body.balanced-blue.minimal-calm #drawer .student-profile .student-profile-tabs.page-tabs{margin-bottom:16px}
/* section titles inside the pop-up: 14px semibold, 8px over what they name */
body.balanced-blue.minimal-calm .student-profile h3{font-size:14px!important;line-height:20px;margin:0 0 8px!important;font-weight:600;color:var(--ink)}
body.balanced-blue.minimal-calm .student-profile :is(.ful-help,.student-actions-empty){font-size:13px;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .student-profile [role=status]{font-size:12.5px;line-height:18px;color:var(--secondary)}
/* overview facts: label, value, one even column of small buttons, rows split by hairlines */
body.balanced-blue.minimal-calm .student-csm-list{margin:0 0 20px;box-shadow:none;border-bottom:1px solid var(--line)}
body.balanced-blue.minimal-calm .student-csm-list .student-csm-item{min-height:54px;box-shadow:none;border-top:1px solid var(--line)}
body.balanced-blue.minimal-calm .student-csm-list .student-csm-label{font-size:14px;font-weight:400;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .student-csm-list .student-csm-value,
body.balanced-blue.minimal-calm .student-csm-list .student-csm-value .ful-card-value{font-size:14px;font-weight:500;line-height:20px}
body.balanced-blue.minimal-calm .student-csm-list .student-csm-via{font-size:12.5px;font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm #drawer .student-csm-list .student-csm-item .btn{min-height:32px;padding:4px 10px;font-size:12.5px}
/* a value with a state in the pop-up: a dot and plain words, the same as on the pipeline cards */
body.balanced-blue.minimal-calm #drawer .ful-card-value:is([data-tone="green"],[data-tone="amber"],[data-tone="red"]){font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm #drawer .ful-card-value:is([data-tone="green"],[data-tone="amber"],[data-tone="red"])::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--ok);vertical-align:middle;position:relative;top:-1px}
body.balanced-blue.minimal-calm #drawer .ful-card-value[data-tone="amber"]::before{background:var(--warn)}
body.balanced-blue.minimal-calm #drawer .ful-card-value[data-tone="red"]::before{background:var(--bad)}
body.balanced-blue.minimal-calm #drawer .ful-card-value[data-tone="muted"]{font-weight:400;color:var(--secondary)}
/* the notes column: three boxes 20px apart */
body.balanced-blue.minimal-calm .student-profile .student-action-area .student-next-followup,
body.balanced-blue.minimal-calm .student-profile .student-action-area .student-notes{padding-top:20px}
body.balanced-blue.minimal-calm #drawer .student-profile .student-action-area textarea.input{border-radius:var(--r-card);font-size:14px;line-height:21px}
body.balanced-blue.minimal-calm .student-profile .student-remove-program .student-remove-link{width:32px;height:32px;border-radius:var(--r-control);color:var(--quiet)}
body.balanced-blue.minimal-calm .student-profile .student-remove-program .student-remove-link:hover{background:var(--bad-wash);color:var(--bad)}
body.balanced-blue.minimal-calm .student-remove-program .student-remove-confirm{padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface)}
body.balanced-blue.minimal-calm .student-remove-program .student-remove-confirm p{font-size:13px;line-height:20px}
/* calls tab: the last-connected ledger and the recent calls */
body.balanced-blue.minimal-calm .student-profile .student-profile-contact table.student-contact-table :is(th,td){padding-block:8px;font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm .student-profile .student-profile-contact table.student-contact-table thead th{font-size:12px;font-weight:500;color:var(--secondary)}
body.balanced-blue.minimal-calm .student-profile .student-profile-contact table.student-contact-table th:first-child{font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .student-profile .student-call-add>summary{font-size:12.5px}
body.balanced-blue.minimal-calm .student-csm-checks li{min-height:40px;box-shadow:none;border-bottom:1px solid var(--record-line);font-size:13px}
body.balanced-blue.minimal-calm .student-profile .student-csm-had-call{min-height:28px;border-radius:var(--r-control)}
/* a late check-in: plain words with a red dot in front, never red words on a red fill */
body.balanced-blue.minimal-calm :is(.ful-coach,table.student-contact-table) :is(.dc-cell,.ful-checkin-date,.ful-checkin-empty,.ful-contact-cell):is([data-contact-state="overdue"],[data-contact-state="none"],.is-overdue,.ful-contact-overdue){margin-left:0;padding:0;background:transparent;color:var(--ink);font-weight:500}
body.balanced-blue.minimal-calm :is(.dc-cell.is-overdue,.dc-cell.is-overdue a,.student-profile .ful-contact-person strong.dc-cell.is-overdue){color:var(--ink);font-weight:500}
body.balanced-blue.minimal-calm :is(.dc-cell,.ful-checkin-date,.ful-checkin-empty,.ful-contact-cell):is([data-contact-state="overdue"],[data-contact-state="none"],.is-overdue,.ful-contact-overdue)::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--bad);vertical-align:middle;position:relative;top:-1px}
/* deals tab: one hairline row per deal, the freshness as a dot and a word */
body.balanced-blue.minimal-calm .student-profile .profile-deals-summary{font-size:13px;line-height:20px}
body.balanced-blue.minimal-calm .student-profile .profile-deals-summary :is([data-tone="green"],[data-tone="amber"],[data-tone="red"]){color:var(--ink);font-weight:500}
body.balanced-blue.minimal-calm .student-profile .profile-deals-summary :is([data-tone="green"],[data-tone="amber"],[data-tone="red"])::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--ok);vertical-align:middle;position:relative;top:-1px}
body.balanced-blue.minimal-calm .student-profile .profile-deals-summary [data-tone="amber"]::before{background:var(--warn)}
body.balanced-blue.minimal-calm .student-profile .profile-deals-summary [data-tone="red"]::before{background:var(--bad)}
body.balanced-blue.minimal-calm .student-profile .profile-deals-note{font-size:12.5px;line-height:18px;color:var(--warn-text)}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .profile-deal-list{box-shadow:none;border-top:1px solid var(--line)}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .profile-deal{min-height:56px;box-shadow:none;border-bottom:1px solid var(--record-line);font-size:13px}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .profile-deal .ful-deal-logo{border-radius:50%}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .profile-deal :is(.profile-deal-name strong,.profile-deal-main){font-size:13px}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .profile-deal .profile-deal-main strong{font-size:14px}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals .profile-deal .profile-deal-main[data-tone="green"]{color:var(--ok-text);font-weight:500}
body.balanced-blue.minimal-calm .student-profile .profile-deal-fact[data-fact="views"] small a{color:var(--ok-text);font-weight:500}
body.balanced-blue.minimal-calm .student-profile .profile-deal-chip,
body.balanced-blue.minimal-calm.theme-dark .student-profile .profile-deal-chip{--tone:var(--line-strong);gap:6px;min-height:22px;padding:0 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink)!important;font-size:12px!important;font-weight:500}
body.balanced-blue.minimal-calm .student-profile .profile-deal-chip::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tone)}
body.balanced-blue.minimal-calm .student-profile .profile-deal-chip[data-tone="green"]{--tone:var(--ok)}
body.balanced-blue.minimal-calm .student-profile .profile-deal-chip[data-tone="amber"]{--tone:var(--warn)}
body.balanced-blue.minimal-calm .student-profile .profile-deal-chip[data-tone="red"]{--tone:var(--bad)}
body.balanced-blue.minimal-calm .student-profile .profile-deal-chip[data-tone="neutral"]{--tone:var(--accent)}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals-head{min-height:32px}
/* tools tab (round 3): "active on the dashboard 2h ago" is one quiet line with its dot, then one list like the
   dashboard's sidebar: each tool's icon on a soft tile in its colour, the name, the time and the 30-day count quiet on
   the right. a tool they should be using but aren't: a small red dot by the time. never used: faded at the bottom */
body.balanced-blue.minimal-calm .student-profile .profile-tools{max-width:600px}
body.balanced-blue.minimal-calm .student-profile .profile-tools-head{display:flex;align-items:center;margin:0 0 10px;font-size:13px;font-weight:400;line-height:20px;color:var(--secondary)}
body.balanced-blue.minimal-calm .student-profile .profile-tools-head:is([data-tone="amber"],[data-tone="red"],[data-tone="muted"]){color:var(--secondary);font-weight:400}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-list{display:grid;margin:0;padding:0;list-style:none;border-top:0;box-shadow:none}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-item{display:block;margin:0;padding:0;border-bottom:1px solid var(--record-line)}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-item:last-child{border-bottom:0}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-list .profile-tool{--tool-tint:var(--tint-slate);display:grid;grid-template-columns:28px minmax(0,1fr) auto 64px;align-items:center;gap:12px;min-height:44px;margin:0 -8px;padding:0 8px;border:0;border-radius:var(--r-item);box-shadow:none;font-size:14px;line-height:20px;color:var(--ink);text-decoration:none}
body.balanced-blue.minimal-calm .student-profile .profile-tools a.profile-tool:hover{background:var(--record-hover)}
body.balanced-blue.minimal-calm .student-profile .profile-tools a.profile-tool:hover .profile-tool-count{color:var(--secondary);text-decoration:none}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-list .profile-tool-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:var(--tool-tint);background:color-mix(in srgb,var(--tool-tint) 16%,transparent)}
body.balanced-blue.minimal-calm.theme-dark .student-profile .profile-tools .profile-tool-list .profile-tool-icon{color:color-mix(in srgb,var(--tool-tint),#fff 38%)}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-name{padding:0;font-weight:500;color:var(--ink)}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-list .profile-tool-when{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;font-size:13px;color:var(--secondary);text-align:right}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-count{font-size:13px;color:var(--secondary);text-align:right;font-variant-numeric:tabular-nums}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool-flag{flex:none;width:6px;height:6px;border-radius:50%;background:var(--bad)}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool[data-flag="true"] .profile-tool-when{color:var(--ink)}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool[data-faded="true"]>span{opacity:.5}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool[data-faded="true"] .profile-tool-name{font-weight:400}
body.balanced-blue.minimal-calm .student-profile .profile-tools .profile-tool[data-faded="true"]:hover>span{opacity:.8}
body.balanced-blue.minimal-calm .student-profile .profile-tool-dot{width:6px;height:6px;background:var(--line-strong)}
body.balanced-blue.minimal-calm .student-profile .profile-tool-dot[data-active="true"]{background:var(--ok);box-shadow:none}
/* a late tools heading: its own dot takes the tone, or one is drawn when the heading has none */
body.balanced-blue.minimal-calm .student-profile .profile-tools-head[data-tone="amber"] .profile-tool-dot{background:var(--warn)}
body.balanced-blue.minimal-calm .student-profile .profile-tools-head[data-tone="red"] .profile-tool-dot{background:var(--bad)}
body.balanced-blue.minimal-calm .student-profile .profile-tools-head:is([data-tone="amber"],[data-tone="red"]):not(:has(.profile-tool-dot))::before{content:"";display:inline-block;width:6px;height:6px;margin:0 8px 2px 0;border-radius:50%;background:var(--warn);vertical-align:middle}
body.balanced-blue.minimal-calm .student-profile .profile-tools-head[data-tone="red"]:not(:has(.profile-tool-dot))::before{background:var(--bad)}
body.balanced-blue.minimal-calm .student-profile .profile-tools-head .profile-tool-dot{margin:0 8px 0 0}
/* payments tab: the money strip as one card with hairlines, rows with 32px fields, paid as a dot and a word */
body.balanced-blue.minimal-calm .student-profile .student-payment-clock{font-size:14px;font-weight:600;line-height:20px}
/* late payments keep plain ink words: the red lives in a dot in front of them */
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor{--pay-input:32px;--pay-late:var(--ink);--pay-good:var(--ok)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-summary>[data-payment-due-state="overdue"] span::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--bad);vertical-align:middle;position:relative;top:-1px}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-row[data-overdue=true] [data-payment-label]::after{padding-left:12px;background:radial-gradient(circle,var(--bad) 2.5px,transparent 3px) 0 50%/6px 6px no-repeat;font-weight:400;color:var(--secondary)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-strip{padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:none}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-summary span{font-size:12px;line-height:18px;color:var(--secondary)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-summary strong{font-size:17px;line-height:24px;font-weight:600}
/* phones: the three amounts go back to 14px so the overdue line fits */
@media(max-width:640px){
  body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-summary strong{font-size:14px;line-height:20px}
}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-unscheduled{color:var(--warn-text)}
/* the column names sit on the soft rounded bar every other table has. it reaches 12px past the rows on each
   side so the names stay over their fields */
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-columns{align-items:center;min-height:32px;margin:0 -12px 4px;padding:0 12px;border-bottom:0;border-radius:var(--r-control);background:var(--soft);color:var(--secondary);font-size:12px;font-weight:500;line-height:18px}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor :is(.student-payment-installments,.student-payment-draft-schedule)>.student-payment-row{min-height:48px;padding:8px 0;border-bottom-color:var(--record-line)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor :is(.student-payment-installments,.student-payment-draft-schedule)>.student-payment-row [data-payment-label]{font-size:13px;font-weight:500;line-height:20px}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .input{font-size:13px}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-readonly>.student-payment-field>:last-child{font-size:13px}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor :is(.student-payment-plan,.student-payment-new-plan)[data-currency=USD] .student-payment-field:has(>:is([data-payment-field=amount],[data-payment-field=planTotal]))::before{font-size:13px}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor [data-payment-action=set-paid]{height:32px;min-height:32px;padding:0 10px;border-color:var(--line);border-radius:var(--r-control);font-size:12.5px}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor [data-payment-action=set-paid]:hover:not(:disabled){border-color:var(--line);background:var(--soft)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-paid{gap:6px;height:22px;padding:0 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:500}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-paid::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--ok)}
/* sent: the same tag as paid with a blue dot, the link went out and the money isn't in yet */
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-sent{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-sent::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--tone-blue,#0ea5e9)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-row[data-overdue=true] .student-payment-fields>.student-payment-field:nth-child(2) input{border-color:var(--line)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-row-tools [data-payment-action=remove-payment]{color:var(--quiet)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-row-tools [data-payment-action=remove-payment]:hover{background:var(--soft);color:var(--bad)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-grip{border-radius:var(--r-seg);color:var(--quiet);opacity:1}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-row[data-drop="before"]{box-shadow:inset 0 2px 0 var(--accent)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-row[data-drop="after"]{box-shadow:inset 0 -2px 0 var(--accent)}
body.balanced-blue.minimal-calm #drawer .student-profile-simple .student-payment-editor .student-payment-notes{font-size:12px;line-height:18px;color:var(--secondary)}
body.balanced-blue.minimal-calm .student-profile .student-retainer-switch{gap:8px;font-size:14px;font-weight:500}
/* the older payment overview table: status words in the status text colour */
body.balanced-blue.minimal-calm .student-payment-overview-table [data-payment-status=paid]{color:var(--ok-text)}
body.balanced-blue.minimal-calm .student-payment-overview-table [data-payment-status=overdue]{color:var(--bad-text)}
@media(max-width:640px){
  body.balanced-blue.minimal-calm #drawer:has(.student-profile.student-profile-simple) .drawer-head{padding:14px 12px 6px 16px}
  body.balanced-blue.minimal-calm #drawer:has(.student-profile.student-profile-simple) .drawer-head h2{font-size:19px}
  body.balanced-blue.minimal-calm .student-profile-summary strong{font-size:22px}
}

/* ---------- j. other pop-ups: place on deals, forms, check-ins ---------- */

/* place on deals: a 20px title, round logos, picked rows as a hairline card, the one pink button at 36px */
body.balanced-blue.minimal-calm #drawer:has(.deal-picker) .drawer-head h2{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.02em}
body.balanced-blue.minimal-calm .deal-picker-option{min-height:52px;padding:8px 12px;border-radius:var(--r-control)}
body.balanced-blue.minimal-calm .deal-picker-option:hover{background:var(--soft)}
body.balanced-blue.minimal-calm .deal-picker-option[data-state="on"]{background:var(--surface);box-shadow:0 0 0 1px var(--line)}
body.balanced-blue.minimal-calm .deal-picker-option input{accent-color:var(--accent)}
body.balanced-blue.minimal-calm .deal-picker-option:has(input:focus-visible){outline:2px solid var(--ring)}
body.balanced-blue.minimal-calm :is(.deal-picker-option,.deal-card-head) .ful-deal-logo{border-radius:50%}
body.balanced-blue.minimal-calm .deal-picker-tag[data-tone="placed"]{gap:5px;height:20px;padding:0 7px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font-weight:500}
body.balanced-blue.minimal-calm .deal-picker-tag[data-tone="placed"]::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--ok)}
body.balanced-blue.minimal-calm .deal-picker-tags .deal-picker-tag[data-tone="runs"]{color:var(--secondary)}
body.balanced-blue.minimal-calm .deal-card{gap:12px;padding:16px;border-radius:var(--r-card)}
body.balanced-blue.minimal-calm .deal-picker-hint-mark{width:48px;height:48px;border-radius:50%;box-shadow:none}
body.balanced-blue.minimal-calm .deal-picker-foot{box-shadow:none;border-top:1px solid var(--line)}
body.balanced-blue.minimal-calm #drawer .deal-picker-foot .btn{min-height:36px;padding:0 16px;border-radius:var(--r-control);font-size:13px;font-weight:500}
/* the small pop-up forms (log a check-in, log a ghost, payment link) keep 36px fields and one pink button */
body.balanced-blue.minimal-calm #drawer .ful-activity-form .btn{min-height:36px}

/* ---------- k. simplify pass (2026-10-03). the today tab (.sd-day) is left to its own section ---------- */

/* stats: the number strip at the dashboard's tile sizes */
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-kpi{padding:12px 16px}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-kpi-label{font-size:12px;line-height:18px}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-kpi-value{min-height:28px}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-kpi-value strong{font-size:20px;line-height:28px;letter-spacing:-.01em}
/* who needs sam: the deliverables become one row of filter chips (dot, name, count). one with nothing waiting
   is "all clear" and can't be picked, so it leaves the row */
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-grid{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 14px}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-tile{position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:6px;width:auto;height:32px;min-height:32px;padding:0 10px}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-tile[data-clear]{display:none}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-tile::before{position:static;inset:auto;flex:none;width:6px;height:6px}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-name{padding-left:0;font-size:13px;font-weight:500;line-height:18px;color:var(--ink);white-space:nowrap}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-tile strong{font-size:12px;font-weight:500;line-height:18px;letter-spacing:normal;font-variant-numeric:tabular-nums;color:var(--secondary)}
@media(max-width:640px){
  body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-grid{padding:0 12px 12px}
  body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-need-tile{height:36px;min-height:36px}
}
/* the sheet: a row with nothing to do leaves its last cell empty, not a dash. "showing 10 of 20" sat beside
   the "show all" button that already says there is more */
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-none{display:none}
body.balanced-blue.minimal-calm .cs-overview:not(.sd-day) .cs-sheet-foot>span{display:none}

body.balanced-blue.minimal-calm .eod-view .eod-mark svg{display:none}
body.balanced-blue.minimal-calm .eod-view .eod-mark::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--line-strong)}
body.balanced-blue.minimal-calm .eod-view .eod-mark[data-tone="green"]::before{background:var(--ok)}
body.balanced-blue.minimal-calm .eod-view .eod-mark[data-tone="amber"]::before{background:var(--warn)}
body.balanced-blue.minimal-calm .eod-view .eod-mark[data-tone="red"]::before{background:var(--bad)}

/* deals: student rows closer to the dashboard's 44px person rows */
body.balanced-blue.minimal-calm #main .deal-plan-table td{padding-block:8px!important}


/* ---------- cut-down 2026-10-03: client success pages trimmed to what someone uses ---------- */
/* one quiet fold for "N later", "N on track", "N back in touch or left": a chevron and a count, opens in place */
body.balanced-blue.minimal-calm :is(.ful-due-later,.chat-dl-ok,.ful-ghost-closed)>summary{display:flex;align-items:center;gap:8px;width:max-content;min-height:32px;font-size:13px;font-weight:500;line-height:20px;color:var(--secondary);cursor:pointer;list-style:none}
body.balanced-blue.minimal-calm :is(.ful-due-later,.chat-dl-ok,.ful-ghost-closed)>summary::-webkit-details-marker{display:none}
body.balanced-blue.minimal-calm :is(.ful-due-later,.chat-dl-ok,.ful-ghost-closed)>summary::before{content:"";flex:none;width:6px;height:6px;margin:0 2px 0 1px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s ease}
body.balanced-blue.minimal-calm :is(.ful-due-later,.chat-dl-ok,.ful-ghost-closed)[open]>summary::before{transform:rotate(45deg)}
body.balanced-blue.minimal-calm :is(.ful-due-later,.chat-dl-ok,.ful-ghost-closed)>summary:hover{color:var(--ink)}
body.balanced-blue.minimal-calm :is(.ful-due-later,.chat-dl-ok,.ful-ghost-closed)>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
/* due dates: the later program ends keep counting on from the soon ones (the fold's list doesn't restart the count) */
body.balanced-blue.minimal-calm #main .ful-due .ful-due-later{margin-top:6px}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-later>summary{padding:0 6px}
body.balanced-blue.minimal-calm #main .ful-due .ful-due-later ol{counter-reset:none;margin-top:4px}
/* inbox side panel: the on-track deliverables under their fold */
body.balanced-blue.minimal-calm .chat-details .chat-dl-ok{margin-top:2px}
body.balanced-blue.minimal-calm .chat-details .chat-dl-ok>summary{min-height:30px;font-size:12.5px}
/* churn: the open ghosting count beside the title, and the closed rows under their fold */
body.balanced-blue.minimal-calm #main .ful-sectionhead .ful-section-count{margin-left:6px;font-size:13px;font-weight:500;color:var(--secondary);font-variant-numeric:tabular-nums}
body.balanced-blue.minimal-calm #main .ful-ghost-closed{margin-top:10px}
body.balanced-blue.minimal-calm #main .ful-ghost-closed>.table-container{margin-top:6px}
/* kpis: six label + number tiles in one card (money owed, then sam's 7 days); a missed one gets a small dot, the
   number stays ink. six across, three on narrow screens, two on a phone */
body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six{grid-template-columns:repeat(6,minmax(0,1fr))}
body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi{border-top:0;border-left:1px solid var(--line)}
body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi:first-child{border-left:0}
body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi-label{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi[data-tone]>.cs-kpi-label::after{content:"";flex:none;order:-1;width:6px;height:6px;border-radius:50%;background:var(--bad)}
body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi[data-tone="amber"]>.cs-kpi-label::after{background:var(--warn)}
body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi-value strong[data-tone]{color:var(--ink)}
/* round 3: the strip sits on top of the today tab, with the day's own head 16px under it */
body.balanced-blue.minimal-calm .ful-page[data-success-view="today"]>.cs-overview:has(>.cs-kpis-six){margin-bottom:16px}
/* on today the six tiles take the day's own tile sizes (tasks done, chat check-ins), so the two read as one set of
   boxes and the day starts high on a phone */
body.balanced-blue.minimal-calm .ful-page[data-success-view="today"] .cs-kpis-six .cs-kpi{gap:4px;padding:10px 16px}
body.balanced-blue.minimal-calm .ful-page[data-success-view="today"] .cs-kpis-six .cs-kpi-label{font-size:12px;line-height:16px}
body.balanced-blue.minimal-calm .ful-page[data-success-view="today"] .cs-kpis-six .cs-kpi-value{min-height:0}
body.balanced-blue.minimal-calm .ful-page[data-success-view="today"] .cs-kpis-six .cs-kpi-value strong{font-size:17px;line-height:1.2;letter-spacing:0}
@media(max-width:1100px){
  body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi:nth-child(3n+1){border-left:0}
  body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi:nth-child(n+4){border-top:1px solid var(--line)}
}
@media(max-width:600px){
  body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi:nth-child(n){border-left:1px solid var(--line);border-top:1px solid var(--line)}
  body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi:nth-child(odd){border-left:0}
  body.balanced-blue.minimal-calm .cs-kpis.cs-kpis-six .cs-kpi:nth-child(-n+2){border-top:0}
}
/* student pop-up: the overview's foot (a quiet "view forms" when no form is missing, then the bin) */
body.balanced-blue.minimal-calm .student-profile .student-overview-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px 12px;margin-top:8px}
body.balanced-blue.minimal-calm .student-profile .student-overview-foot>.student-remove-program{flex:0 0 auto;width:auto;margin:0;padding:0;border:0}
body.balanced-blue.minimal-calm .student-profile .student-overview-foot:has(.student-remove-confirm:not([hidden]))>.student-remove-program{flex-basis:100%}
body.balanced-blue.minimal-calm .student-profile .student-overview-foot .student-forms-link{min-height:32px;padding:0 4px;border:0;background:none;font-size:13px;color:var(--secondary);text-decoration:none;cursor:pointer}
body.balanced-blue.minimal-calm .student-profile .student-overview-foot .student-forms-link:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
/* deals tab: no heading, so the place button sits at the right of the summary line ("no active deals", "2 deals ·
   $1,200 this month") as one row, not on an empty row of its own. the summary keeps its own element, which redraws in place */
body.balanced-blue.minimal-calm .student-profile .ful-current-deals:has(>.ful-current-deals-head){position:relative}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals-head{position:absolute;top:0;right:0;min-height:32px;margin:0;justify-content:flex-end}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals-head+.profile-deals{margin-top:0}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals-head+.profile-deals>:is(.profile-deals-summary,.ful-help):first-child{display:flex;flex-wrap:wrap;align-items:center;min-height:32px;margin:0 0 12px;padding-right:140px}
body.balanced-blue.minimal-calm .student-profile .ful-current-deals-head+.profile-deals>.profile-deal-list:first-child{margin-top:44px}
