/* Busy Bee Maids — shared styles for the applicant pages and the dashboard.
   Palette is honey/amber over warm neutrals. Swap the tokens in :root to
   match the real brand; nothing else needs touching. */
:root{
  --honey:#E8A723;        /* primary accent */
  --honey-deep:#C8860A;   /* hover / pressed */
  --honey-wash:#FDF6E6;   /* tinted fill */
  --honey-line:#F0DCAE;
  --ink:#1F1B16;
  --ink-soft:#57503F;
  --muted:#6E6657;        /* secondary text: dark enough to read on the cream */
  --bg:#FAF8F4;
  --card:#FFFFFF;
  --line:#E9E3D8;
  --bad:#A32C2C; --bad-bg:#FCEDED; --bad-line:#F0C9C9;
  --good:#2C6E49; --good-bg:#EDF6F1; --good-line:#C3E2D1;
  --radius:12px;
  --shadow:0 1px 2px rgba(31,27,22,.05), 0 4px 14px rgba(31,27,22,.05);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font:16px/1.6 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:700px;margin:0 auto;padding:0 16px 72px}
.wrap.wide{max-width:1100px}

/* ---- brand header ---- */
.brand{display:flex;align-items:center;gap:10px;padding:22px 0 6px}
.brand svg{flex:0 0 auto}
.brand b{font-size:1.02rem;letter-spacing:-.01em}
.brand span{color:var(--muted);font-size:.88rem}
header{padding:6px 0 14px}
h1{font-size:1.55rem;line-height:1.25;letter-spacing:-.02em;margin:0 0 6px;font-weight:650}
h2{font-size:1.12rem;letter-spacing:-.01em;margin:0 0 4px;font-weight:650}
h3{font-size:1rem;margin:0 0 10px;font-weight:650}
.sub{color:var(--ink-soft);font-size:.95rem;margin:0}

.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;margin:14px 0;box-shadow:var(--shadow)}

/* ---- questions ---- */
.q{margin:0 0 22px;padding:0 0 20px;border-bottom:1px solid var(--line)}
.q:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
.q label.t{display:block;font-weight:600;margin-bottom:7px;line-height:1.45}
.help{color:var(--muted);font-size:.88rem;margin:0 0 9px}
.req{color:var(--honey-deep);margin-left:3px}
input[type=text],input[type=email],input[type=tel],input[type=date],input[type=number],textarea,select{
  width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:9px;
  font:inherit;background:#fff;color:inherit;transition:border-color .12s,box-shadow .12s}
textarea{min-height:104px;resize:vertical}
input:focus,textarea:focus,select:focus{
  outline:none;border-color:var(--honey);box-shadow:0 0 0 3px rgba(232,167,35,.18)}
.opts{display:flex;flex-direction:column;gap:9px}
.opt{display:flex;gap:11px;align-items:flex-start;padding:13px 14px;border:1px solid var(--line);
  border-radius:9px;cursor:pointer;background:#fff;transition:border-color .12s,background .12s}
.opt:hover{border-color:var(--honey-line)}
.opt:has(input:checked){border-color:var(--honey);background:var(--honey-wash);box-shadow:0 0 0 1px var(--honey)}
.opt input{margin-top:3px;flex:0 0 auto;width:19px;height:19px;accent-color:var(--honey-deep)}
.qnum{display:block;color:var(--muted);font-size:.8rem;font-weight:500;margin-bottom:2px;font-variant-numeric:tabular-nums}

/* A question that still needs an answer, marked where it is rather than only
   in a message at the top of the page. */
.q.bad{border-left:3px solid var(--bad);padding-left:12px;margin-left:-15px}
.fielderr{color:var(--bad);font-size:.88rem;font-weight:500;margin:8px 0 0}

/* ---- 1-7 / 1-10 scale ----
   Always one row. The page sets --n to the number of choices, and every button
   gets an equal share of the width, so 1-10 never wraps its last numbers onto a
   second line on a phone. Buttons stay tall so they are easy to tap. */
.scale{display:grid;grid-template-columns:repeat(var(--n,7),minmax(0,1fr));gap:6px}
.scale button{min-width:0;min-height:50px;padding:0;border:1px solid var(--line);
  background:#fff;border-radius:9px;font:inherit;font-weight:600;color:var(--ink-soft);
  cursor:pointer;transition:all .12s;font-variant-numeric:tabular-nums;touch-action:manipulation}
.scale button:hover{border-color:var(--honey-line);background:var(--honey-wash)}
.scale button[aria-pressed=true]{background:var(--honey);color:#fff;border-color:var(--honey-deep);
  box-shadow:0 1px 3px rgba(200,134,10,.35)}
.scale button:focus-visible{outline:2px solid var(--honey-deep);outline-offset:2px}
.ends{display:flex;justify-content:space-between;color:var(--muted);font-size:.82rem;margin-top:8px;gap:14px}
.ends span:last-child{text-align:right}
.rank{display:flex;flex-direction:column;gap:9px}
.rankrow{display:flex;gap:12px;align-items:center;border:1px solid var(--line);
  border-radius:9px;padding:11px 13px;background:#fff}
.rankrow span{flex:1;line-height:1.4}
.rankrow select{width:auto;min-width:76px;font-weight:600}

/* ---- buttons ---- */
button.primary{background:var(--honey);color:#fff;border:1px solid var(--honey-deep);border-radius:9px;
  padding:13px 22px;font:inherit;font-weight:600;cursor:pointer;min-height:50px;
  box-shadow:0 1px 3px rgba(200,134,10,.3);transition:background .12s}
button.primary:hover:not(:disabled){background:var(--honey-deep)}
button.ghost{background:#fff;border:1px solid var(--line);border-radius:9px;padding:12px 18px;
  font:inherit;font-weight:500;cursor:pointer;min-height:46px;transition:border-color .12s,background .12s}
button.ghost:hover:not(:disabled){border-color:var(--honey-line);background:var(--honey-wash)}
button.danger{background:var(--bad);color:#fff;border:1px solid var(--bad);border-radius:9px;
  padding:13px 22px;font:inherit;font-weight:600;cursor:pointer;min-height:50px}
.card.danger{border-color:var(--bad-line)}
button:disabled{opacity:.45;cursor:default;box-shadow:none}
.nav{display:flex;gap:10px;justify-content:space-between;margin-top:20px}

/* ---- progress ---- */
.bar{height:5px;background:var(--line);border-radius:99px;overflow:hidden;margin:8px 0 6px}
.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--honey),var(--honey-deep));
  border-radius:99px;transition:width .3s ease}
.count{color:var(--muted);font-size:.84rem;margin:0 0 4px;font-variant-numeric:tabular-nums}

/* ---- messages ---- */
.err{background:var(--bad-bg);border:1px solid var(--bad-line);color:var(--bad);
  padding:12px 14px;border-radius:9px;margin:12px 0;font-size:.93rem}
.ok{background:var(--good-bg);border:1px solid var(--good-line);color:var(--good);
  padding:12px 14px;border-radius:9px;margin:12px 0;font-size:.93rem}
/* ---- phones ----
   Most applicants fill these pages in on a phone, so this is the main layout,
   not an afterthought. */
@media (max-width:480px){
  .wrap{padding:0 12px 56px}
  .card{padding:16px 14px}
  h1{font-size:1.35rem}
  .brand{padding-top:16px}
  .scale{gap:4px}
  .scale button{min-height:48px;border-radius:7px;font-size:.95rem}
  .q.bad{margin-left:-11px;padding-left:8px}
  .nav button{flex:1 1 0}
  .rankrow{padding:10px 11px;gap:10px}
}
@media (max-width:340px){
  .scale{gap:3px}
  .scale button{font-size:.85rem;border-radius:6px}
}

/* ================= dashboard ================= */
/* The header: who and what on the first line, the screens as a tab strip below. */
.topbar{padding:14px 0 0;margin-bottom:16px}
.toprow{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding-bottom:12px}
.brandline{display:flex;align-items:center;gap:10px}
.brandline strong{font-size:1.08rem;letter-spacing:-.01em}
.me{display:flex;align-items:center;gap:12px;font-size:.92rem}
button.ghost.small{padding:7px 13px;font-size:.86rem}
.screens{display:flex;align-items:flex-end;gap:2px;border-bottom:2px solid var(--line);overflow-x:auto;scrollbar-width:none}
.screens::-webkit-scrollbar{display:none}
.screens .gap{width:14px;flex:0 0 auto}
.screens button{background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-2px;
  padding:10px 14px;font:inherit;font-size:.93rem;color:var(--ink-soft);cursor:pointer;white-space:nowrap;
  border-radius:8px 8px 0 0;transition:background .12s,color .12s}
.screens button:hover{color:var(--ink);background:var(--honey-wash)}
.screens button:focus-visible{outline:2px solid var(--honey-deep);outline-offset:-2px}
.screens button[aria-current=page]{color:var(--honey-deep);border-bottom-color:var(--honey);font-weight:650;background:var(--honey-wash)}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.muted{color:var(--muted)}

table{width:100%;border-collapse:collapse;font-size:.93rem}
th,td{text-align:left;padding:12px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
th{color:var(--muted);font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
tbody tr{cursor:pointer;transition:background .1s}
tbody tr:hover{background:var(--honey-wash)}
tbody tr:last-child td{border-bottom:0}
td.id{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
/* The queue: the name is the boldest thing on the row, the ID the lightest,
   numbers sit right-aligned and never wrap. Colour belongs to the Status pill alone. */
table.queue td.name{font-weight:600;white-space:nowrap}
table.queue td.name .id{display:block;font-weight:400;font-size:.76rem;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:1px}
table.queue th.num,table.queue td.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
table.queue td{color:var(--ink-soft)}
table.queue td.name{color:var(--ink)}
.zonekey i.pill{display:inline-block;width:12px;height:12px;padding:0;border-radius:99px;vertical-align:-1px;margin-right:4px}
/* A ZIP in the CRM's colour. Out of area is struck through in the sheet's red. */
.zip{display:inline-block;padding:3px 9px;border-radius:7px;font-size:.8rem;font-weight:600;font-variant-numeric:tabular-nums;
  border:1px solid rgba(31,27,22,.12);white-space:nowrap}
.zip.plain{background:#fff;color:var(--ink-soft);border-color:var(--line)}
.zip.outside{color:#fff;text-decoration:line-through;border-color:transparent}
/* Fills are for attention, borders for structure: the record's decision card
   has a background, and a record that is a stop has a filled header. */
.card.decide{background:var(--honey-wash);border-color:var(--honey-line)}
.card.stop{background:var(--bad-bg);border-color:var(--bad-line)}
.card.stop .stopline{margin:0 0 10px;color:var(--bad);font-weight:600}

.pill{display:inline-block;padding:3px 10px;border-radius:99px;font-size:.78rem;font-weight:500;
  border:1px solid var(--line);background:#fff;white-space:nowrap}
.pill.reject{background:var(--bad-bg);border-color:var(--bad-line);color:var(--bad)}
.pill.pass{background:var(--good-bg);border-color:var(--good-line);color:var(--good)}
.pill.warn{background:var(--honey-wash);border-color:var(--honey-line);color:var(--honey-deep)}
.pill.stop{background:var(--bad-bg);border-color:#D98A8A;color:var(--bad);font-weight:650}
.pill.dup{background:var(--honey-wash);border-color:var(--honey-line);color:var(--honey-deep);font-weight:600}

.grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:14px}
.out{border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:#fff}
.out h4{margin:0 0 8px;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:650}
.out .big{font-size:1.8rem;font-weight:650;line-height:1.1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.out .of{font-size:.95rem;font-weight:400;color:var(--muted)}

.qa{margin:0}
.qa dt{font-weight:600;font-size:.88rem;color:var(--ink-soft);margin-top:14px}
.qa dt:first-child{margin-top:0}
.qa dd{margin:3px 0 0;white-space:pre-wrap;line-height:1.5}
.flagchip{display:inline-block;background:var(--honey-wash);border:1px solid var(--honey-line);
  color:var(--honey-deep);border-radius:7px;padding:2px 9px;margin:3px 5px 3px 0;font-size:.83rem}
code{background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:2px 6px;font-size:.86rem}
.empty{text-align:center;padding:44px 16px;color:var(--muted)}

/* Controls sitting in a row size to their content rather than stretching. */
.row select{width:auto;min-width:190px;max-width:320px}
.row button{flex:0 0 auto}

/* ---- settings ---- */
.setting{display:grid;grid-template-columns:1fr auto;gap:14px 20px;align-items:start;
  padding:16px 0;border-bottom:1px solid var(--line)}
.setting:last-child{border-bottom:0}
.setting .lab{font-weight:600}
.setting .hlp{color:var(--muted);font-size:.88rem;margin:3px 0 0;max-width:62ch}
.setting .ctl{display:flex;align-items:center;gap:8px;justify-self:end;white-space:nowrap}
.setting .ctl input[type=number]{width:96px;text-align:right}
.setting .ctl input[type=time]{width:120px}
.setting .ctl input[type=text]{width:230px}
.setting .ctl select{min-width:150px}
.setting .unit{color:var(--muted);font-size:.9rem}
.caution{background:var(--honey-wash);border-left:3px solid var(--honey);color:#6b4d09;
  padding:8px 11px;border-radius:0 7px 7px 0;font-size:.86rem;margin:8px 0 0;max-width:62ch}
.sw{position:relative;display:inline-block;width:46px;height:26px;flex:0 0 auto}
.sw input{opacity:0;width:0;height:0}
.sw span{position:absolute;inset:0;background:#d8d2c6;border-radius:99px;cursor:pointer;transition:background .15s}
.sw span::before{content:"";position:absolute;height:20px;width:20px;left:3px;top:3px;background:#fff;
  border-radius:50%;transition:transform .15s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.sw input:checked + span{background:var(--honey)}
.sw input:checked + span::before{transform:translateX(20px)}
.sw input:focus-visible + span{outline:2px solid var(--honey-deep);outline-offset:2px}
.swlab{font-size:.9rem;color:var(--muted);min-width:26px}
/* A settings section: a tinted header band naming it, then its rows. */
.grp{margin:22px 0 0;padding-top:0;overflow:hidden}
.grphead{background:var(--honey-wash);border-bottom:1px solid var(--honey-line);margin:0 -20px 4px;padding:16px 20px 14px}
.grp.danger .grphead{background:var(--bad-bg);border-bottom-color:var(--bad-line)}
.grphead h3{margin:0;font-size:1.08rem}
.grphead .blurb{color:var(--ink-soft);font-size:.9rem;margin:5px 0 0;max-width:72ch}
.grp .setting{padding:18px 0}
.grp .setting .lab{font-size:1rem}
.grp .setting:last-of-type{border-bottom:0}
.savebar{position:sticky;bottom:0;background:rgba(250,248,244,.96);backdrop-filter:blur(6px);
  border-top:1px solid var(--line);padding:12px 0;margin-top:18px;display:flex;
  gap:12px;align-items:center;justify-content:flex-end}
.savebar .count{margin-right:auto;color:var(--muted);font-size:.9rem}
.dirty{background:var(--honey-wash)!important}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 4px}
.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:11px 14px;
  font:inherit;font-weight:500;color:var(--muted);cursor:pointer;min-height:44px}
.tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--honey);font-weight:600}
.hist{font-size:.9rem}
.hist li{margin:0 0 7px;color:var(--ink-soft)}
.hist code{font-size:.84rem}

/* ---- chip lists (ZIP zones) ---- */
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;
  border-radius:99px;padding:4px 6px 4px 11px;font-size:.87rem;font-variant-numeric:tabular-nums}
.chip.green{background:var(--good-bg);border-color:var(--good-line);color:var(--good)}
.chip.white{background:var(--honey-wash);border-color:var(--honey-line);color:var(--honey-deep)}
.chip.red{background:var(--bad-bg);border-color:var(--bad-line);color:var(--bad)}
.chip button{border:0;background:none;cursor:pointer;font:inherit;line-height:1;padding:2px 4px;
  border-radius:50%;color:inherit;opacity:.55}
.chip button:hover{opacity:1;background:rgba(0,0,0,.07)}
.addrow{display:flex;gap:8px;margin-top:10px;align-items:center;flex-wrap:wrap}
.addrow input{width:150px}
.zonekey{display:flex;gap:16px;flex-wrap:wrap;margin:2px 0 0;font-size:.86rem;color:var(--muted)}

/* Record forms: interview and outcome. A label wrapping its own field, so the
   fields wrap onto new lines together rather than drifting apart from them. */
label.lab{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:.82rem;
  color:var(--muted);text-transform:none;letter-spacing:0}
label.lab input,label.lab select,label.lab textarea{font-weight:400;font-size:.93rem;color:var(--ink)}
label.lab input[type=date],label.lab input[type=number]{width:auto;min-width:150px}

/* A question's permanent id. It is how answers are filed, so it has to be
   visible somewhere, but it is not what a person reads a question by. */
.qid{color:var(--muted);font-size:.76rem;font-variant-numeric:tabular-nums;cursor:help;
  border-bottom:1px dotted var(--line)}
.qhead{display:flex;flex-direction:column;gap:1px}
.qhead strong{font-size:.95rem}
th[title],abbr[title]{cursor:help;text-decoration:underline dotted var(--line);text-underline-offset:3px}


/* Wide tables scroll sideways on a narrow screen instead of squashing. */
@media (max-width:760px){
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .setting{grid-template-columns:1fr}
  .setting .ctl{justify-self:start}
  .savebar{flex-wrap:wrap}
  .grphead{margin:0 -14px 4px;padding:14px 14px 12px}
}

/* Which build this page is. Small, always visible, and loud when it is wrong:
   not knowing which version is on screen cost a whole afternoon once. */
.build{font-size:.72rem;font-variant-numeric:tabular-nums;letter-spacing:.02em;
  color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:2px 7px;cursor:help}
.build.stale{color:#7a2018;background:#fdeceb;border-color:#f3c3bf;font-weight:600;cursor:pointer}
.buildfoot{text-align:center;margin:26px 0 10px;color:var(--muted);font-size:.72rem}
.stalebar{background:#fdeceb;color:#7a2018;border-bottom:1px solid #f3c3bf;
  padding:11px 16px;font-size:.9rem;text-align:center}
.stalebar button{margin-left:10px;background:#7a2018;color:#fff;border:0;
  border-radius:7px;padding:6px 13px;font:inherit;font-weight:600;cursor:pointer}

/* ---- the structured interview ----
   Seventeen questions, each with written descriptions of what a 3, a 2 and a
   1 sound like. The descriptions are the instrument: they are on screen while
   the interviewer scores, not tucked behind a tooltip. */
.ivqs{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.ivq{border:1px solid var(--line);border-radius:10px;padding:12px 13px;background:var(--card)}
.ivq-top{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ivq-n{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.8rem;min-width:1.4em}
.ivq-top strong{flex:1 1 260px;line-height:1.35}
.pill.core{background:var(--honey-wash);border-color:var(--honey)}
.ivq-anchors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 0}
.ivq-a{border:1px solid var(--line);border-left-width:3px;border-radius:8px;padding:8px 9px;font-size:.85rem}
.ivq-a b{display:block;margin-bottom:3px;font-size:.78rem;letter-spacing:.02em;text-transform:uppercase}
.ivq-a span{color:var(--muted);line-height:1.4}
.ivq-a.a3{border-left-color:var(--good,#2e7d4f)}
.ivq-a.a2{border-left-color:var(--honey-deep,#c99a2e)}
.ivq-a.a1{border-left-color:var(--bad,#b3392c)}
.ivq-score{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-top:10px}
.ivq-clar{flex:1 1 240px;margin:0;color:var(--muted);font-size:.85rem;line-height:1.4}

@media (max-width:760px){
  .ivq-anchors{grid-template-columns:1fr}
}

/* A card that folds: the heading is the handle, the caret in the corner says which way. */
.card.fold > .foldhead{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;user-select:none;margin-top:0}
.card.fold > .foldhead .caret{border:0;background:none;font:inherit;font-size:1.1rem;line-height:1;cursor:pointer;color:inherit;
  padding:2px 6px;transition:transform .15s ease}
.card.fold.closed > .foldhead{margin-bottom:0}
.card.fold.closed > .foldhead .caret{transform:rotate(-90deg)}
.card.fold.closed > .foldbody{display:none}
/* The queue lanes: a count beside the name, and the line that says what the lane is for. */
.lane .count{display:inline-block;min-width:1.6em;padding:1px 8px;border-radius:99px;background:var(--line);color:var(--ink-soft);
  font-size:.8rem;font-weight:600;text-align:center;margin-left:6px;vertical-align:2px}
.lane .foldbody > .blurb{margin:0 0 10px}
.callowed{padding:8px 12px;border-radius:8px;background:var(--honey-wash);border:1px solid var(--honey-line);color:var(--honey-deep)}

/* The text conversation on a record: theirs and ours, told apart at a glance. */
.hist li.theirs{border-left:3px solid var(--honey-line);padding-left:8px}
.hist li.ours{border-left:3px solid var(--good-line);padding-left:8px}

/* Decision Maker: one column per person, the same rows down the left. The row
   names stay put while the people scroll sideways, inside the card only. */
.dmwrap{padding:0}
.dmscroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.dm{border-collapse:separate;border-spacing:0;font-size:.88rem;min-width:100%}
table.dm th,table.dm td{padding:7px 12px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left;min-width:170px}
table.dm thead th{position:sticky;top:0;background:#fff;font-weight:650;white-space:nowrap}
table.dm th[scope=row]{position:sticky;left:0;background:#fff;font-weight:500;color:var(--ink-soft);min-width:150px;max-width:190px;z-index:1}
table.dm thead th:first-child{left:0;z-index:2}
table.dm tr.dmblock th{background:var(--honey-wash);color:var(--honey-deep);font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;position:static}
table.dm a{color:var(--ink);text-decoration:none}
table.dm a:hover{text-decoration:underline}
.dmlist{margin:0;padding-left:16px}
/* The flags to clear, at the top of the interview form. */
.clearfirst{border:1px solid var(--honey-line);background:var(--honey-wash);border-radius:10px;padding:10px 14px;margin:0 0 14px}
.clearfirst.none{background:#fff;border-color:var(--line)}
.clearfirst h4{margin:0 0 6px}
.clearfirst .count{display:inline-block;min-width:1.5em;padding:1px 7px;border-radius:99px;background:#fff;border:1px solid var(--honey-line);font-size:.78rem;text-align:center}
.clearfirst .blurb{margin:0 0 8px}
.gflag{background:#fff;border:1px solid var(--line);border-radius:8px;padding:6px 10px;margin:6px 0}
.gflag summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline}
.gflag .lean{font-size:.82rem;color:var(--ink-soft)}
.gflag .gbody{padding:6px 2px 2px}
.gflag .gbody p{margin:6px 0}
.gflag ol,.gflag ul{margin:0 0 6px;padding-left:20px}
.howto{margin-top:8px}
.howto summary{cursor:pointer;color:var(--ink-soft);font-size:.85rem}
.leanchip{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:99px;font-size:.76rem;background:var(--honey-wash);border:1px solid var(--honey-line);color:var(--honey-deep)}
/* The source report. */
table.srctable{border-collapse:collapse;font-size:.9rem;width:100%}
table.srctable th,table.srctable td{padding:6px 10px;border-bottom:1px solid var(--line);text-align:left}
table.srctable .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.srctable tr.total td,table.srctable tr.month td{font-weight:650}
table.srctable tr.month td{background:var(--honey-wash)}
table.srctable td.indent{padding-left:24px}
dl.stepkey{display:grid;grid-template-columns:max-content 1fr;gap:2px 12px;margin:10px 0 0;font-size:.85rem}
dl.stepkey dt{font-weight:600}
dl.stepkey dd{margin:0;color:var(--ink-soft)}

/* An element marked hidden stays hidden, whatever display its class gives it.
   Without this the reason box showed for every Action, because .lab sets flex. */
[hidden]{display:none !important}
