/* Pocket skin: the app's own warmer look over the book's base styles. Loaded last.
   Poppins throughout (the HealthyApp face), soft rounded fields and controls, sentence-case labels,
   and one accent family the user picks in More (Lavender by default). Ink, the navy primary button,
   the green check and amber warnings stay the same in every palette. */
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-700.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --font-chart: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-mono: 'Poppins', system-ui, sans-serif;

  /* Lavender (default) */
  --page: #FAF9FC; --line: #E4E0EC; --line-strong: #CCC5DA;
  --accent: #6A4FA0; --accent-ink: #523A82; --accent-tint: #ECE6F6; --accent-wash: #F6F3FB; --accent-line: #DBD0EE;
  --halo: 0 0 0 4px rgb(106 79 160 / 0.18);

  --warn: #8A5A00; --warn-wash: #FCF6EA; --warn-line: #EAD9B6;
  --ok: #2F6B4A; --ok-tint: #E8F1EB;
  --r-field: 12px; --r-btn: 14px; --r-card: 16px;

  --rule: var(--line);
  --paper-2: var(--accent-wash);
}
html[data-palette='honey'] { --page: #FBF9F5; --line: #E3DED4; --line-strong: #CFC8BA; --accent: #8A5A00; --accent-ink: #6E4800; --accent-tint: #F7EEDC; --accent-wash: #FCF6EA; --accent-line: #EAD9B6; --halo: 0 0 0 4px rgb(138 90 0 / 0.16); }
html[data-palette='sage'] { --page: #F7F9F6; --line: #DFE5DD; --line-strong: #C6D0C3; --accent: #4E7A5C; --accent-ink: #34573F; --accent-tint: #E3EEE5; --accent-wash: #F1F6F1; --accent-line: #CBDDCF; --halo: 0 0 0 4px rgb(78 122 92 / 0.18); --ok: #24583A; --ok-tint: #DCEBE0; }
html[data-palette='clay'] { --page: #FCF8F5; --line: #EBE0D8; --line-strong: #D9C9BD; --accent: #B4583B; --accent-ink: #8A3E26; --accent-tint: #F8E3D9; --accent-wash: #FCF2EC; --accent-line: #F0D0C1; --halo: 0 0 0 4px rgb(180 88 59 / 0.18); }
html[data-palette='glacier'] { --page: #F6F9FB; --line: #DDE5EC; --line-strong: #C3D0DB; --accent: #2F6E9B; --accent-ink: #22557A; --accent-tint: #E0EDF7; --accent-wash: #F0F6FB; --accent-line: #C9DCEC; --halo: 0 0 0 4px rgb(47 110 155 / 0.18); }

/* Base type: Poppins tops out at a friendly 600–700, never the chart's 800 */
body { background: var(--page); font-size: 1rem; line-height: 1.55; caret-color: var(--accent); }
::selection { background: var(--accent-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; }
.headline { font-weight: 600 !important; letter-spacing: -0.02em; }
.title { font-weight: 600; }
.brand { font-weight: 600; letter-spacing: -0.01em; }
.display, .cs-title { font-weight: 700; }
.mono { letter-spacing: 0; }
.lede, .lede-sm { font-size: 1.0625rem; }
.meta, .hint { font-size: 0.875rem; line-height: 1.5; }

/* Labels: sentence case, readable, calm */
.label, .field > span:first-child, .facts dt, .plan-state, .mg-wd span, .log th {
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.875rem; color: var(--ink-2);
}
.field > span:first-child { font-size: 0.9375rem; color: var(--ink); }

/* App shell */
#app:not(.bare) { background: var(--page); }
.a-head { background: var(--stock); border-bottom: 1px solid var(--line); }
.a-head .brand img { border-radius: 7px; }
.a-tabs { background: var(--stock); border-top: 1px solid var(--line); }
.a-tabs a { font-weight: 500; color: var(--ink-3); position: relative; }
.a-tabs a[aria-current='page'] { color: var(--ink); font-weight: 600; box-shadow: none; }
.a-tabs a[aria-current='page']::before { content: ''; position: absolute; top: 0; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 0 0 3px 3px; background: var(--accent); }
.a-tabs a:active { background: var(--accent-wash); }
.page-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }
@media (min-width: 700px) {
  body:has(#app:not(.bare)) { background: color-mix(in srgb, var(--page) 70%, var(--line)); }
  #app:not(.bare) { border-color: var(--line); }
}

/* Fields */
.box { min-height: 54px; border: 1.5px solid var(--line-strong); border-radius: var(--r-field); background: var(--stock); overflow: hidden; transition: border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.box:focus-within { border-color: var(--accent); box-shadow: var(--halo); }
.box input, .box select { padding: 10px 14px; font-weight: 500; font-size: 1.0625rem; color: var(--ink); }
.box select { font-weight: 500; }
.box input + select, .box em { background: transparent; border-left: 0; color: var(--ink-3); font-weight: 600; font-size: 0.9375rem; padding: 0 14px 0 6px; }
.box.bad { border-color: var(--gE); box-shadow: 0 0 0 4px rgb(154 47 47 / 0.12); }
.search .box { border-color: var(--line-strong); }
.ladder .box { min-height: 46px; }
.ladder ol { font-family: var(--font-chart); }
.ladder .box input { font-size: 1rem; }
input[type='date'], input[type='time'] { font-family: var(--font-chart); }

/* Buttons */
.btn { border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); background: var(--stock); color: var(--ink); font-weight: 600; letter-spacing: 0.005em; }
.btn:hover { background: var(--accent-wash); color: var(--ink); border-color: var(--accent-line); }
.btn-ink, .btn-ink:hover { background: var(--ink); border-color: var(--ink); color: var(--stock); }
.btn-ink:hover { background: #22324A; border-color: #22324A; }
.btn:active { transform: scale(0.985); }
.btn[disabled], .btn[aria-disabled='true'] { background: var(--line); border-color: var(--line); color: var(--ink-3); transform: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--page), 0 0 0 6px var(--accent); }
.link { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.link-quiet { color: var(--ink-2); }

/* Sticky action bar: true full width of the column, above the tabs */
.actbar, .ob-foot { margin-left: calc(-1 * max(16px, env(safe-area-inset-left))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right))); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); background: color-mix(in srgb, var(--page) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.actbar .btn, .ob-go { min-height: 54px; }
.sub-card .actbar { margin: 8px -24px 0; padding: 12px 24px; }

/* Segments become pills */
.segs { gap: 8px; }
.seg { margin-right: 0; min-height: 48px; padding: 6px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--stock); font-weight: 600; color: var(--ink); transition: background 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.seg.on, .seg:has(input:checked) { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-ink); }
.seg:has(input:focus-visible) { outline: none; box-shadow: var(--halo); }
.water-segs .seg { min-height: 54px; font-size: 1.0625rem; }
.wd .seg { min-height: 44px; padding: 6px 2px; border-radius: 12px; font-weight: 500; }
.inst-tabs .seg { border: 1.5px solid var(--line-strong); margin-right: 0; border-radius: 999px; }
.inst-tabs .seg.on { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .seg:not(.on):not(:has(input:checked)):hover { background: var(--accent-wash); } .more-list a:hover { background: var(--accent-wash); } }

/* Switches, checks, picks */
.sw { width: 50px; height: 30px; border: 0; border-radius: 999px; background: var(--line-strong); }
.sw::after { top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--stock); box-shadow: 0 1px 3px rgb(20 32 46 / 0.25); }
.switch input:checked + .sw { background: var(--accent); }
.switch input:checked + .sw::after { transform: translateX(20px); background: var(--stock); }
.switch input:focus-visible + .sw { outline: none; box-shadow: var(--halo); }
.switch > span:first-child strong { font-weight: 600; }
.check { font-weight: 500; }
.check input, .pick input, .opt input { accent-color: var(--accent); }
.pick-box { border: 1.5px solid var(--line-strong); border-radius: 7px; }
.pick.on .pick-box { background: var(--accent); border-color: var(--accent); }
.pick:hover { background: var(--accent-wash); }
.pick strong { font-weight: 600; }
.confirm .check { border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; }
.confirm li.ok .check { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-ink); }
.confirm li.ok .check input { accent-color: var(--accent); }
.stepper output { font-weight: 600; }

/* Option cards */
.opts { gap: 8px; }
.opt { margin-top: 0; border: 1.5px solid var(--line); border-radius: var(--r-field); background: var(--stock); }
.opt:hover { background: var(--accent-wash); }
.opt.on { border-color: var(--accent); box-shadow: none; background: var(--accent-wash); }
.opt-ctx, .plan-how { font-weight: 500; }

/* Panels and cards: rounded, quiet, no heavy top bars */
.plan, .de-yours, .de-done, .sub-offer, .scan-note { border-radius: var(--r-card); }
.plan-amt { border-radius: var(--r-field); font-weight: 600; }
.plan-amt .mono { font-weight: 600; }
.dose-ed { border-top: 1px solid var(--line); }
.gate { background: var(--page); }
.gate-card { border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px -24px rgb(20 32 46 / 0.3); }
.welcome, .alerts, .state-box, .coa-res, .sf, .dm-box, .ci-now { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--stock); }
.alerts { overflow: hidden; }
.ci-now { border-color: color-mix(in srgb, var(--gE) 40%, #fff); }
.install-card, .isheet { border-radius: var(--r-card); }
.isheet { border-radius: 20px 20px 0 0; }
.set, .sec, .cal-sec, .feel, .vial-block, .lead-set, .cal-day, .mg { border-top: 1px solid var(--line); }
.regimen-list .title, .half-h, .cd-half .label, .log-side .title { border-bottom-color: var(--line); border-top-color: var(--line); }
.log th { border-top: 1px solid var(--line); }
.vial-plan, .confirm { border-top-color: var(--line); }
.more-list { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--stock); overflow: hidden; }
.more-list.out { border-top-width: 1px; }
.more-list a { padding: 10px 16px; }
.more-list li:last-child a { border-bottom: 0; }
.more-list a .icon:first-child { color: var(--accent); }
.dmenu[open] summary { background: var(--accent-tint); color: var(--accent-ink); }
.meter, .rw-bar { border: 0; border-radius: 999px; background: var(--line); overflow: hidden; }
.tag, .lchip, .stamp, .chip { border-radius: 999px; }
.tag-flag { background: var(--ink); }
.toast { border-radius: var(--r-btn); }
.toast-undo { border-radius: 10px; }
.tile { border-radius: 10px; }
.tile.n { border-color: var(--line); }
.pk { border-radius: 10px; border-color: var(--line-strong); }
.mg-ev { border-radius: 50%; }
.mg-day.is-today .mg-n { border: 0; border-radius: 50%; background: var(--accent); color: var(--stock); }

/* Step bars: rounded tracks, accent for done */
.av-bar li, .ob-bar li, .ship-steps li { border-top: 0; padding-top: 0; font-size: 0.8125rem; font-weight: 500; }
.av-bar li::before, .ob-bar li::before, .ship-steps li::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.av-bar li.on::before, .ob-bar li.on::before, .ship-steps li.on::before { background: var(--accent); }
.av-bar li.on, .ob-bar li.on, .ship-steps li.on { color: var(--ink); font-weight: 600; }
.av-bar, .ob-bar, .ship-steps { gap: 6px; }

.suggest { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-card); background: var(--accent-wash); border: 1px solid var(--accent-line); font-size: 0.9375rem; color: var(--ink-2); }
.suggest .icon { color: var(--accent); margin-top: 1px; }
.suggest strong { color: var(--ink); }

/* The math box: the answer is the hero */
.mathbox { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--stock); overflow: hidden; }
.mb-answer { background: var(--accent-wash); border-bottom: 1px solid var(--accent-line); padding: 16px 18px 10px; }
.mb-n { font-weight: 600; font-size: 1.25rem; }
.mb-n .mono { font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin-right: 2px; }
.mathbox .facts { border-top: 0; padding: 16px 18px; }
.facts dd { font-weight: 600; font-size: 1rem; }
.check-line { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 0; border-radius: var(--r-field); background: var(--ok-tint); color: var(--ink); font-family: var(--font-chart); font-size: 0.875rem; line-height: 1.5; }
.check-line .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ok); stroke-width: 2.2; }
.check-line strong { color: var(--ok); font-weight: 600; }
.mathbox .check-line { margin: 0 18px 18px; }
.mathbox .warn { margin: 0 18px 18px; padding: 12px 14px; border-radius: var(--r-field); background: var(--warn-wash); border: 1px solid var(--warn-line); color: var(--ink); font-weight: 500; }

/* The syringe: accent fill, readable numbers */
.syr { max-width: 100%; }
.syr-fill { fill: var(--accent); opacity: 0.85; }
.syr-barrel { stroke-width: 1.4; }
.syr-ticks text { font-family: var(--font-chart); font-size: 11px; font-weight: 500; }
.mix li::marker { font-family: var(--font-chart); font-weight: 600; color: var(--accent-ink); }

/* Palette picker (More) */
.palette { margin: 0 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--stock); display: grid; gap: 12px; }
.palette h2 { font-size: 1rem; font-weight: 600; }
.palette .hint { margin: -6px 0 0; }
.pal-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0 -6px; }
.pal { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 0; min-height: 76px; padding: 8px 0; border: 1.5px solid transparent; border-radius: 14px; background: none; cursor: pointer; font-family: var(--font-chart); font-size: 0.75rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); }
.pal i { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--sw-a) 50%, var(--sw-b) 50%); box-shadow: inset 0 0 0 1px rgb(20 32 46 / 0.12); display: grid; place-items: center; }
.pal[aria-pressed='true'] { border-color: var(--accent); background: var(--accent-wash); color: var(--accent-ink); }
.pal[aria-pressed='true'] i::after { content: ''; width: 14px; height: 8px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(-45deg); }
.pal:focus-visible { outline: none; box-shadow: var(--halo); }

/* Plan editor on a phone: one field per row, and fieldsets without the browser's grey frame */
fieldset.field { border: 0; padding: 0; margin: 0; }
.de-grid { grid-template-columns: minmax(0, 1fr); }
.de-grid .box select { width: 100%; }
.set-row .box { min-width: 0; }
.ladder ol { padding-left: 0; list-style: none; }

/* Sign in, sign up and reset: the same pocket skin on the account pages */
.au-body { background: var(--page); }
.au-top { background: var(--stock); border-bottom: 1px solid var(--line); }
.au-top .brand img { border-radius: 7px; }
.au-top-end a, .au-top-end button { font-weight: 500; border-radius: 10px; }
.au-top-end a:hover, .au-top-end button:hover { background: var(--accent-wash); }
.au-card { border: 1px solid var(--line); border-radius: 20px; padding: 26px 20px 24px; box-shadow: 0 18px 40px -28px rgb(20 32 46 / 0.35); }
.au-card > .headline, .au-page-head .headline, .au-lucky .headline { font-weight: 600 !important; letter-spacing: -0.02em; }
.au-lead { font-size: 1rem; }
.au-foot { font-size: 0.9375rem; }
.au-foot a { font-weight: 600; color: var(--accent-ink); }
.au .field > label:first-child:not(.au-check) { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.au .box input, .au .box select { min-height: 0; font-weight: 500; }
.au .box input[inputmode='numeric'], .au .box input[type='tel'] { font-family: var(--font-chart); }
.au-pw-toggle { border-left: 0; background: transparent; font-weight: 600; color: var(--accent-ink); border-radius: 0 var(--r-field) var(--r-field) 0; }
.au-pw-toggle:hover { background: var(--accent-wash); }
.au-hint { font-size: 0.875rem; }
.au-check { font-weight: 400; }
.au-check input { accent-color: var(--accent); }
.au-check a { font-weight: 600; color: var(--accent-ink); }
.au-checks { border-top-color: var(--line); }
.au-steps { gap: 6px; }
.au-steps li { border-top: 0; padding-top: 0; font-size: 0.8125rem; font-weight: 500; }
.au-steps li::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.au-steps li.on::before { background: var(--accent); }
.au-steps li.on { color: var(--ink); }
.au-steps li[aria-current] { font-weight: 600; }
.au-offer { border-radius: var(--r-card); background: var(--accent-wash); border: 1px solid var(--accent-line); }
.au-offer img { border-radius: 4px; }
.au-offer strong { font-weight: 600; }
.au-disclose { border: 1px solid var(--line-strong); border-radius: var(--r-field); font-weight: 500; }
.au-alert { border: 1px solid var(--line); border-radius: var(--r-card); }
.au-alert.soft { border: 1px solid var(--accent-line); background: var(--accent-wash); }
.au-alert.bad { border-color: color-mix(in srgb, var(--gE) 45%, #fff); background: #FBF1EF; }
.au-alert strong { font-weight: 600; }
.au-wait .bar { border-radius: 2px; }
.au-wait .bar::after { background: var(--accent); border-radius: 2px; }
.btn[aria-busy='true']::after { border-radius: 50%; }
.au-lucky { border-radius: var(--r-card); background: var(--accent-ink); }
.au-code { border-top-color: var(--line); }
.au-code summary { font-weight: 600; color: var(--accent-ink); }
@media (min-width: 700px) { .au-card { padding: 32px 32px 28px; } }

/* Today header: title and date on the left, day arrows on the right, then room before the first card */
.day-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-bottom: 20px; }
.day-head .meta { margin-top: 2px; }
.day-nav { gap: 8px; }
.day-nav .btn { min-width: 44px; padding: 0 10px; }
.install-card { margin-bottom: 20px; border: 1px solid var(--line); border-top-width: 1px; border-radius: var(--r-card); background: var(--stock); box-shadow: 0 12px 28px -24px rgb(20 32 46 / 0.4); }

/* Fridge shelf: every vial gets the same stack in fixed rows (vial · status · dates · warning), so columns line up */
.shelf-row { align-items: start; }
.sh-vial { display: grid; grid-template-rows: auto 40px 34px auto; row-gap: 6px; justify-items: stretch; align-content: start; text-align: center; padding-bottom: 6px; }
.sh-img { display: flex; justify-content: center; align-items: flex-end; }
.sh-name { display: none; }
.sh-pill { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 4px 6px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--stock); color: var(--ink-2); font-family: var(--font-chart); font-size: 0.75rem; font-weight: 600; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.sh-pill.warn { border-color: var(--warn-line); background: var(--warn-wash); color: var(--warn); }
.sh-pill.quiet { border-style: dashed; color: var(--ink-3); font-weight: 500; }
.sh-dates { font-family: var(--font-chart); font-size: 0.6875rem; line-height: 1.35; color: var(--ink-3); }
.sh-flag { min-height: 36px; }
.shelf.compact .sh-vial { grid-template-rows: auto 40px 34px auto; }

/* Supply bars in the palette: supply in the accent, the reorder window as a lighter band; the in-window message keeps the amber warning text */
.rw-bar { height: 10px; border: 0; border-radius: 999px; background: var(--accent-tint); }
.rw-fill { background: var(--accent); border-radius: 999px; }
.rw-lead { background: color-mix(in srgb, var(--accent) 35%, #fff); opacity: 1; mix-blend-mode: normal; }
.runway.in-window .rw-fill { background: var(--accent-ink); }
.runway.in-window .meta { color: var(--warn); font-weight: 600; }
.runway { border-bottom-color: var(--line); }
.rw-head { font-weight: 600; }
.runway.in-window .rw-lead { display: none; }

/* Today shows the first four vials; the rest are a tap away */
.shelf-more { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; margin: 2px 0 6px; font-family: var(--font-chart); font-size: 0.9375rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.shelf-more .icon { width: 16px; height: 16px; }

/* Log now -> green check. The button confirms for a beat, then the card shows a green logged row. */
.btn-log.is-logged, .btn-log.is-logged:hover, .btn-log.is-logged[disabled] { background: var(--ok); border-color: var(--ok); color: #fff; cursor: default; }
.btn-log.is-logged .icon { animation: lv-pop 320ms var(--ease-out, ease-out); }
@keyframes lv-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .btn-log.is-logged .icon { animation: none; } }
.done.taken { padding: 10px 12px; border-radius: var(--r-card); background: var(--ok-tint); color: var(--ok); }
.done.taken strong { font-weight: 700; }
.done .done-mark { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.done.taken .done-mark { background: var(--ok); color: #fff; }
.done.taken .done-mark .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.done.taken .btn { margin-left: auto; background: #fff; }
.dm-units { grid-column: 1 / -1; margin: 0; }
.dm-units:empty { display: none; }
.done.taken { gap: 6px 10px; }
.done.taken > span:nth-of-type(2) { flex: 1 1 0; min-width: 0; }
.done.taken .site-pick { flex-basis: auto; order: 2; margin-left: 40px; }
.done.taken .site-pick[open] { flex-basis: 100%; margin-left: 0; }
.done.taken .btn { order: 3; min-height: 36px; }
