/* The cleaner app's new layout (ADR-0503): the office's colour-and-label system, on the kit's own tint tokens.
   Loaded only by demo.js with ?demo=1&layout=new (Settings → Previews → New CRM layout → Cleaner app), so no cleaner's
   screen changes until Vincent says so. Every selector starts with html[data-layout="new"]; no new colours. */

/* A soft page, white cards, one shadow, more radius: the cards read as boxes, not lines. */
html[data-layout="new"] body { background: color-mix(in srgb, var(--t-blue) 5%, var(--canvas)); }
html[data-layout="new"] :where(.card, .who, .office) { border-color: transparent; border-radius: 20px; box-shadow: var(--shadow-card); }

/* Every card title carries a colour bar, so a section is found by its colour before its words. */
html[data-layout="new"] .card :where(h2) { display: flex; align-items: center; gap: 10px; }
html[data-layout="new"] .card :where(h2)::before { content: ""; flex: none; width: 4px; height: 1.05em; border-radius: 2px; background: var(--k, var(--t-blue)); }
html[data-layout="new"] .card.streak { --k: var(--t-green); background: color-mix(in srgb, var(--t-green) 6%, var(--surface)); }
html[data-layout="new"] .card.welcome { --k: var(--t-violet); }
html[data-layout="new"] .card.tmain { --k: var(--t-blue); }

/* Today's one-line summary and the bonus chip (2026-11-17): the line stays plain; the bonus is the streak's green. */
html[data-layout="new"] .bonuschip { background: color-mix(in srgb, var(--t-green) 12%, var(--surface)); color: color-mix(in srgb, var(--t-green) 80%, var(--ink)); }

/* Each job's state on its left edge: done green, the next one blue and lifted, the rest quiet. Words still say it. */
html[data-layout="new"] .sjob { --k: var(--hairline-strong); border: 0; border-radius: 16px; box-shadow: var(--shadow-card), inset 4px 0 0 var(--k); padding-left: 18px; }
html[data-layout="new"] .sjob.done { --k: var(--t-green); opacity: 1; background: color-mix(in srgb, var(--t-green) 5%, var(--surface)); }
html[data-layout="new"] .jobs > .sjob.next { --k: var(--t-blue); background: color-mix(in srgb, var(--t-blue) 6%, var(--surface)); }
html[data-layout="new"] .sjc .sjt { color: color-mix(in srgb, var(--k) 85%, var(--ink)); }
html[data-layout="new"] .sjob .top .t { display: inline-block; width: auto; min-width: 76px; padding: 2px 8px; border-radius: 8px; color: color-mix(in srgb, var(--k) 85%, var(--ink)); background: color-mix(in srgb, var(--k) 12%, transparent); }
html[data-layout="new"] .sjob .jinfo { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--t-teal) 6%, var(--surface)); }
html[data-layout="new"] .sjob .jinfo dt { color: color-mix(in srgb, var(--t-teal) 75%, var(--ink)); font-weight: 600; }
html[data-layout="new"] .onote { border-radius: 12px; background: color-mix(in srgb, var(--t-amber) 10%, var(--surface)); border-left-color: var(--t-amber); }
html[data-layout="new"] .onote .eyebrow { color: color-mix(in srgb, var(--t-amber) 85%, var(--ink)); }

/* The office line: teal, the website's colour, so "call the office" is always the same place and colour. */
html[data-layout="new"] .office { background: color-mix(in srgb, var(--t-teal) 9%, var(--surface)); box-shadow: var(--shadow-card), inset 4px 0 0 var(--t-teal); }
html[data-layout="new"] .office .office-ic { color: var(--t-teal); }

/* The tab bar: the open tab in the accent, not just bolder. */
html[data-layout="new"] .ui-tab[aria-current="page"], html[data-layout="new"] .ui-tab[aria-selected="true"] { color: var(--accent); }
