/* SOLAR CRM layout (phase B, 1 Oct 2026). James: "I hate the colour scheme on the CRM, it's messy and too the same ... match the CRM styling to the solar site;
   premium and minimalistic; sleek and nice variants of the UI features, not generic".
   Colours, fonts, shadows and every component come from ui/tokens.css and ui/ui.css (the same tokens as the solar site). THIS file is layout only:
   where things sit, and which zone (colour) each area is in. It never defines a colour of its own, only reads the --u-* tokens.
   ZONES, so you always know where you are:  deep-blue sidebar | white top bar + hairline | mist page | white cards (soft blue shadow) |
   tinted detail drawer and right rail (cards on them stay white) | glass only for what floats (toast, command bar).
   ONE accent (GG blue): primary buttons, the selected tab or chip, the active nav item, links. Sun appears once: the dot on the active nav item.
   Sections: [tokens] [base] [shell] [titles + buttons] [form fields] [cards + status] [number cards + charts] [today] [leads + jobs] [board] [drawer + modals]
             [paperwork] [settings] [enquiry] [sign-in] [phone] */

/* ---- [tokens] short names for the shared tokens, and the eleven stage colours (one hue, tint to GG blue) ---- */
.sol-app {
  --u-soft: #5E6D81; /* was #7A8A9E: 3.5 to 1 on white, under the 4.5 to 1 floor for small grey text */
  --ink: var(--u-ink); --muted: var(--u-muted); --soft: var(--u-soft); --line: var(--u-line); --line-2: var(--u-line-2);
  --blue: var(--u-blue); --blue-2: var(--u-blue-2); --tint: var(--u-tint); --mist: var(--u-mist); --panel: var(--u-panel);
  --r: var(--u-r-l); --gap: 16px; --side: 224px;
  --logo-bg: var(--u-sun); --logo-ink: #3A2A00; /* theme.js replaces these two with the installer's own mark colour */
}
.sol-app .stg-enquiry { --stg: #E4EEF9; --stg-fg: #0B2F5B; --stg-dot: #8DAFDB; }
.sol-app .stg-contacted { --stg: #CFDDEC; --stg-fg: #0B2F5B; --stg-dot: #80A4D1; }
.sol-app .stg-survey_booked { --stg: #B9CBE0; --stg-fg: #0B2F5B; --stg-dot: #7499C8; }
.sol-app .stg-quote_sent { --stg: #A4BAD3; --stg-fg: #0B2F5B; --stg-dot: #678EBE; }
.sol-app .stg-accepted { --stg: #8FA8C7; --stg-fg: #0B2F5B; --stg-dot: #5B83B5; }
.sol-app .stg-paperwork { --stg: #7A97BA; --stg-fg: #0B2F5B; --stg-dot: #4E78AB; }
.sol-app .stg-install_booked { --stg: #6486AD; --stg-fg: #FFFFFF; --stg-dot: #416CA1; }
.sol-app .stg-installed { --stg: #4F74A1; --stg-fg: #FFFFFF; --stg-dot: #356198; }
.sol-app .stg-commissioned { --stg: #3A6394; --stg-fg: #FFFFFF; --stg-dot: #28568E; }
.sol-app .stg-paid { --stg: #245188; --stg-fg: #FFFFFF; --stg-dot: #1C4B85; }
.sol-app .stg-aftercare { --stg: #0F407B; --stg-fg: #FFFFFF; --stg-dot: #0F407B; }
.sol-app .stg-lost { --stg-dot: #A32626; }
.sol-app .stg-q-draft { --stg-dot: #9AA7B8; } .sol-app .stg-q-sent { --stg-dot: var(--u-blue-2); } .sol-app .stg-q-accepted { --stg-dot: var(--u-teal); } .sol-app .stg-q-declined, .sol-app .stg-q-superseded { --stg-dot: #B7791F; }

/* ---- [base] ---- */
.sol-app *, .sol-app *::before, .sol-app *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.sol-app { margin: 0; background: var(--u-page); color: var(--ink); font: 400 var(--u-t-body)/1.5 var(--u-f); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.sol-app h1, .sol-app h2, .sol-app h3 { margin: 0; font-family: var(--u-f); font-weight: 500; letter-spacing: -.02em; }
.sol-app h2 { font-size: 18px; } .sol-app h3 { font-size: 14px; }
.sol-app p { margin: 0; }
.sol-app a { color: var(--blue); text-decoration: none; } .sol-app a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sol-app button, .sol-app input, .sol-app select, .sol-app textarea { font: inherit; color: inherit; }
.sol-app button { cursor: pointer; }
.sol-app .sr-only, .sol-app .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sol-app .skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: var(--u-r-c); box-shadow: var(--u-s2); }
.sol-app :focus-visible { outline: none; box-shadow: var(--u-focus); border-radius: var(--u-r-c); }
.sol-app .ic { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
.sol-app .empty { color: var(--muted); padding: 6px 0; }
.sol-app .clock { font-variant-numeric: tabular-nums; }
.sol-app .late { color: #A32626; font-weight: 600; } .sol-app .warn { color: #8A5A00; font-weight: 600; } .sol-app .ok { color: #0B6B73; font-weight: 600; }
.sol-app .err { color: #A32626; font-weight: 500; font-size: 13px; }
.sol-app .hint { color: var(--muted); font-size: 13px; }
.sol-app .uk:not([data-uk-on]) { display: inline-block; min-width: 32px; min-height: 32px; } /* holds the place while a component draws */
.sol-app .uk-select:not([data-uk-on]) { min-width: 160px; min-height: 38px; }
.sol-app .uk-chips:not([data-uk-on]), .sol-app .uk-seg:not([data-uk-on]) { min-height: 34px; }

/* ---- [shell] ---- */
.sol-app #app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.sol-app .sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 20px 12px 16px; background: var(--u-side-bg); color: var(--u-side-ink); border-right: 1px solid var(--u-side-line); }
.sol-app .brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 8px; }
.sol-app .logo { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--logo-bg); color: var(--logo-ink); font: 600 13px var(--u-f); }
.sol-app .logo-img { object-fit: contain; background: #fff; padding: 3px; }
.sol-app .brand-name { color: #fff; font: 600 15px/1.2 var(--u-f); letter-spacing: -.01em; }
.sol-app .nav-group { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 -12px; padding: 0 12px; scrollbar-width: thin; } /* 23 entries in groups: it scrolls, the sign-out row stays in view */
.sol-app .navlink { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: var(--u-r-c); color: var(--u-side-muted); font-weight: 500; transition: background-color .2s, color .2s; }
.sol-app .navlink:hover { background: var(--u-side-hover); color: var(--u-side-ink); text-decoration: none; }
.sol-app .navlink.on { background: var(--u-side-on-bg); color: var(--u-side-on-ink); font-weight: 600; }
.sol-app .navlink.on::before { content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 18px; margin-top: -9px; border-radius: 0 4px 4px 0; background: var(--u-side-dot); } /* the one sun marker: where you are today */
.sol-app .navlink > span:not(.nav-n) { flex: 1; }
.sol-app .nav-n { min-width: 22px; padding: 1px 7px; border-radius: var(--u-r-p); background: rgba(255, 255, 255, .14); color: #fff; font: 600 12px/18px var(--u-f); text-align: center; }
.sol-app .side-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--u-side-line); color: var(--u-side-muted); font-size: 13px; }
.sol-app .side-foot .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-app .avatar { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font: 600 11px var(--u-f); }
.sol-app .signout { border: 0; background: none; color: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; min-height: 34px; padding: 0 6px; }
.sol-app .main { min-width: 0; }
.sol-app .topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 8px 32px; background: var(--u-top); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--u-line); }
.sol-app .top-title { display: none; font: 600 16px var(--u-f); }
.sol-app .cmd-slot { flex: 0 1 480px; min-width: 0; }
.sol-app .top-state { display: inline-flex; }
.sol-app .top-tools { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.sol-app .top-sample .u-trig { height: 28px; padding: 0 12px; border-radius: var(--u-r-p); border-color: transparent; background: var(--u-neutral-bg); color: var(--u-neutral-fg); font-size: 12px; font-weight: 600; }
.sol-app .top-sample .u-trig:hover { background: var(--u-tint); color: var(--blue); }
.sol-app .top-gear, .sol-app .top-cmdk { display: none; }
.sol-app .icon-btn { display: inline-grid; place-items: center; min-width: 32px; min-height: 32px; padding: 6px; border: 0; border-radius: var(--u-r-c); background: transparent; color: var(--muted); transition: background-color .2s, color .2s; }
.sol-app .icon-btn:hover { background: rgba(15, 64, 123, .08); color: var(--ink); text-decoration: none; }
.sol-app .content { max-width: 1320px; padding: 28px 32px 72px; }
.sol-app .content:focus { outline: none; }
.sol-app .tabbar { display: none; }
.sol-app .u-combo { min-width: 0; width: 100%; background: var(--u-mist); border-color: var(--u-line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.sol-app .u-combo:focus-within { background: var(--u-glass); box-shadow: var(--u-glass-shadow), var(--u-focus); }

/* ---- [titles + buttons] ---- */
.sol-app .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.sol-app .scr-title { font-size: 26px; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.sol-app .sub { margin-top: 6px; color: var(--soft); font-size: 14px; }
.sol-app .head-acts { display: flex; align-items: center; gap: 10px; }
/* secondary buttons: the quiet outline (same look as SolarUI's secondary). Primary: pill, GG blue, white arrow chip (the .u-btn in ui.css). */
.sol-app .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--u-line); border-radius: var(--u-r-p); background: linear-gradient(180deg, #fff, var(--u-mist)); color: var(--ink); font: 600 14px/1 var(--u-f); white-space: nowrap; text-decoration: none; box-shadow: 0 1px 0 #fff inset, var(--u-s1); transition: box-shadow .3s var(--u-ease), background .3s, transform .2s var(--u-ease); }
.sol-app .btn:hover { background: linear-gradient(180deg, #fff, var(--u-tint)); box-shadow: 0 1px 0 #fff inset, var(--u-s2); text-decoration: none; }
.sol-app .btn:active { transform: translateY(1px); }
.sol-app .btn.sm { height: 34px; padding: 0 13px; font-size: 13px; }
.sol-app .btn.ghost { border-color: transparent; background: transparent; color: var(--muted); box-shadow: none; }
.sol-app .btn.ghost:hover { background: rgba(15, 64, 123, .07); color: var(--ink); }
.sol-app .btn.primary, .sol-app .btn.consent-btn { border-color: transparent; background: var(--u-blue-grad); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -1px 0 rgba(0, 0, 0, .15) inset, 0 8px 18px -10px rgba(15, 64, 123, .55); }
.sol-app .btn.primary:hover, .sol-app .btn.consent-btn:hover { background: var(--u-blue-grad-h); transform: translateY(-1px); }
.sol-app .btn:disabled, .sol-app .btn[aria-disabled=true] { opacity: .45; pointer-events: none; }
.sol-app .btn .ic { width: 16px; height: 16px; }
.sol-app .more { margin-top: 10px; }
.sol-app .u-btn { height: 40px; color: var(--fg); } .sol-app a.u-btn:hover { text-decoration: none; }
.sol-app .u-btn.is-sm { height: 34px; }
.sol-app .u-trig-btn { width: auto; min-width: 0; height: 30px; padding: 0 12px; gap: 6px; border: 1px solid var(--u-line); border-radius: var(--u-r-p); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.sol-app .u-trig-btn:hover { background: var(--u-mist); }
.sol-app .foot-kebab { height: 40px; min-width: 40px; border: 1px solid var(--u-line); border-radius: var(--u-r-p); background: #fff; }

/* ---- [form fields] ---- */
.sol-app label, .sol-app .fld-l { font-size: 12px; font-weight: 600; color: var(--muted); }
.sol-app .fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sol-app .fld > label, .sol-app .fld-row label { font-size: 12px; font-weight: 600; color: var(--muted); }
.sol-app .fld-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sol-app label.fld { display: flex; }
.sol-app input[type=text], .sol-app input[type=email], .sol-app input[type=tel], .sol-app input[type=number], .sol-app input[type=password], .sol-app input[type=search], .sol-app textarea {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--u-line); border-radius: var(--u-r-c); background: #fff; box-shadow: var(--u-s1); color: var(--ink); font: 400 14px var(--u-f); transition: border-color .2s, box-shadow .2s; }
.sol-app textarea { height: auto; min-height: 140px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.sol-app input:hover, .sol-app textarea:hover { border-color: var(--u-line-2); }
.sol-app input:focus, .sol-app textarea:focus { outline: none; border-color: var(--u-blue-2); box-shadow: var(--u-focus); }
.sol-app input::placeholder, .sol-app textarea::placeholder { color: var(--soft); }
.sol-app input[type=file] { height: auto; padding: 10px; border-style: dashed; background: var(--u-mist); }
.sol-app .fld.bad input, .sol-app .fld.bad .u-select { border-color: #C23A3A; }
.sol-app .fld .u-select { width: 100%; }
.sol-app .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sol-app fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.sol-app legend { margin-bottom: 8px; padding: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.sol-app .radios { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-app .radio { display: inline-flex; flex-direction: row; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.sol-app .radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sol-app .radio span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--u-line); border-radius: var(--u-r-p); background: #fff; transition: background .2s, border-color .2s, color .2s; }
.sol-app .radio:hover span { border-color: var(--u-line-2); background: var(--u-mist); }
.sol-app .radio input:checked + span { border-color: #C9DBF0; background: var(--u-tint); color: var(--blue); font-weight: 600; }
.sol-app .radio input:focus-visible + span { box-shadow: var(--u-focus); }
.sol-app .check { display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 32px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.sol-app .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sol-app .check .box { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--u-line-2); border-radius: 6px; background: #fff; color: transparent; transition: background .2s, border-color .2s; }
.sol-app .check input:checked + .box { border-color: var(--blue); background: var(--blue); color: #fff; }
.sol-app .check input:focus-visible + .box { box-shadow: var(--u-focus); }
.sol-app .srch { position: relative; display: inline-flex; align-items: center; flex: 1 1 220px; max-width: 300px; }
.sol-app .srch .ic { position: absolute; left: 12px; color: var(--soft); pointer-events: none; }
.sol-app .srch input { padding-left: 36px; border-radius: var(--u-r-p); }

/* ---- [cards + status] ---- */
.sol-app .card, .sol-app .dash-card, .sol-app .dr-card, .sol-app .job-list, .sol-app .due-list, .sol-app .when-list { background: var(--u-card); border: 1px solid var(--u-line); border-radius: var(--r); box-shadow: var(--u-s1); }
.sol-app .card { padding: 20px; } .sol-app .card.flush { padding: 0; overflow: hidden; }
.sol-app .card + .card { margin-top: var(--gap); }
.sol-app .card-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.sol-app .count { margin-left: 6px; color: var(--soft); font: 500 13px var(--u-f); background: none; padding: 0; }
.sol-app .card-h .count { margin-left: auto; }
.sol-app .empty-ic { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--u-card); border: 1px solid var(--u-line); border-radius: var(--r); color: var(--muted); }
.sol-app .empty-ico { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--u-mist); color: var(--soft); }
.sol-app .empty.card { padding: 22px; }
.sol-app .rows { margin: 0; padding: 0; list-style: none; }
.sol-app .row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--u-line); }
.sol-app .row:first-child { border-top: 0; }
.sol-app .row-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sol-app .row-t { font-weight: 600; } .sol-app .row-s { color: var(--muted); font-size: 13px; }
/* status chips: tint background + dark word, five fixed pairs (ui/tokens.css). A stage chip is neutral with a dot in the stage's blue. */
.sol-app .chip { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px 0 9px; border-radius: var(--u-r-p); background: var(--u-neutral-bg); color: var(--u-neutral-fg); font: 600 12px/1 var(--u-f); white-space: nowrap; }
.sol-app .chip .dot, .sol-app .stand-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--stg-dot, #9AA7B8); }
.sol-app .chip.late { background: var(--u-over-bg); color: var(--u-over-fg); }
.sol-app .chip.late .dot { background: var(--u-over-fg); }
.sol-app .chip.kind-marketing { background: var(--u-soon-bg); color: var(--u-soon-fg); } .sol-app .chip.kind-transactional { background: var(--u-new-bg); color: var(--u-new-fg); }
.sol-app .chip.kind-marketing, .sol-app .chip.kind-transactional { padding-left: 10px; }
.sol-app .tpl-state { --stg-dot: #9AA7B8; } .sol-app .tpl-state.s-signed { background: var(--u-done-bg); color: var(--u-done-fg); --stg-dot: var(--u-teal); }
.sol-app .tpl-state.s-edited { background: var(--u-soon-bg); color: var(--u-soon-fg); --stg-dot: #B7791F; } .sol-app .tpl-state.s-withdrawn { background: var(--u-over-bg); color: var(--u-over-fg); --stg-dot: #C23A3A; }
.sol-app .badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: var(--u-r-p); background: var(--u-neutral-bg); color: var(--u-neutral-fg); font-size: 11px; font-weight: 600; vertical-align: 1px; }
.sol-app .badge.stop { background: var(--u-over-bg); color: var(--u-over-fg); }
.sol-app .clk { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.sol-app .clk .ic { width: 13px; height: 13px; } .sol-app .clk.late { color: var(--u-over-fg); } .sol-app .clk.warn { color: var(--u-soon-fg); } .sol-app .clk.ok { color: var(--u-done-fg); }
.sol-app .own { display: inline-flex; align-items: center; gap: 8px; }
.sol-app .own-av { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--u-tint); color: var(--blue); font: 600 10.5px var(--u-f); }
.sol-app .pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 0; border-radius: var(--u-r-p); background: var(--u-neutral-bg); color: var(--u-neutral-fg); font: 600 12px var(--u-f); }
.sol-app .pill.ok { background: var(--u-done-bg); color: var(--u-done-fg); } .sol-app .pill.wait { background: var(--u-soon-bg); color: var(--u-soon-fg); }
.sol-app .note-law { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--u-r-c); background: var(--u-tint); color: var(--ink); font-size: 13px; }
.sol-app .note-law .ic { margin-top: 2px; color: var(--blue); }
.sol-app .placeholder { margin-top: 12px; padding: 9px 12px; border-radius: var(--u-r-c); background: var(--u-soon-bg); color: var(--u-soon-fg); font-size: 12px; }
.sol-app .hold { padding: 10px 12px; border-radius: var(--u-r-c); background: var(--u-soon-bg); color: var(--u-soon-fg); font-size: 13px; line-height: 1.45; }
.sol-app .kv { display: grid; grid-template-columns: 92px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
.sol-app .kv dt { color: var(--muted); font-size: 13px; } .sol-app .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sol-app .note { padding: 10px 12px; border-radius: var(--u-r-c); background: var(--u-mist); }
.sol-app .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sol-app .tbl { width: 100%; border-collapse: collapse; font-size: var(--u-t-table); }
.sol-app .tbl th { height: 40px; padding: 0 16px; text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--u-line); background: var(--u-card); }
.sol-app .tbl td { height: 52px; padding: 0 16px; border-top: 1px solid var(--u-line); vertical-align: middle; }
.sol-app .tbl tbody tr:first-child td { border-top: 0; } .sol-app .tbl tbody tr:hover td { background: var(--u-mist); }
.sol-app .tbl .r { text-align: right; } .sol-app .tbl .r .acts { justify-content: flex-end; flex-wrap: nowrap; }
.sol-app .tbl .name, .sol-app .cards .name { font-weight: 600; color: var(--ink); }
.sol-app .tbl td .row-s { margin-left: 10px; }
.sol-app .tbl .lead-cell { max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- [number cards + charts] ---- */
.sol-app .kpi-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; }
.sol-app .kpi-tile { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; row-gap: 14px; align-items: center; align-content: start; padding: 16px; background: var(--u-card); border: 1px solid var(--u-line); border-radius: var(--r); box-shadow: var(--u-s1); color: var(--ink); text-align: left; text-decoration: none; transition: border-color .2s, box-shadow .3s var(--u-ease), transform .2s var(--u-ease); }
.sol-app a.kpi-tile:hover, .sol-app button.kpi-tile:hover { border-color: var(--u-line-2); box-shadow: var(--u-s2); transform: translateY(-1px); text-decoration: none; }
.sol-app button.kpi-tile { width: 100%; font: inherit; }
.sol-app .kpi-tile.on { border-color: var(--u-blue-2); box-shadow: 0 0 0 1px var(--u-blue-2), var(--u-s1); }
.sol-app .kpi-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--u-new-bg); color: var(--u-new-fg); grid-column: 1; grid-row: 1; }
/* each card's icon tile has its own soft tint, so the row is not five identical boxes (all inside the one blue family, nothing loud) */
.sol-app .kpi-tile:nth-child(2) .kpi-ic { background: var(--u-done-bg); color: var(--u-done-fg); }
.sol-app .kpi-tile:nth-child(3) .kpi-ic { background: #E6EDF6; color: #3D5473; }
.sol-app .kpi-tile:nth-child(4) .kpi-ic { background: #E1F1F7; color: #146C8E; }
.sol-app .kpi-tile:nth-child(5) .kpi-ic { background: #E7EAF7; color: #3A4A8C; }
.sol-app .kpi-tile > .label { grid-column: 2; grid-row: 1; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.25; }
.sol-app .kpi-tile > .value { grid-column: 1 / -1; grid-row: 2; font-size: var(--u-t-num); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.sol-app .kpi-tile > .tile-sub { grid-column: 1 / -1; grid-row: 3; margin-top: -6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); font-size: 12px; }
.sol-app .kpi-tile:has(.tone-amber) .tile-sub { color: var(--u-soon-fg); } .sol-app .kpi-tile:has(.tone-red) .tile-sub { color: var(--u-over-fg); }
.sol-app .dash-band { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 20px; }
.sol-app .dash-card { min-width: 0; padding: 18px 20px 20px; }
.sol-app .dash-pipe { grid-column: 1 / -1; }
.sol-app .dash-h { margin: 0 0 14px; font: 600 13px/1.3 var(--u-f); color: var(--muted); letter-spacing: 0; }
/* the pipeline: one hue, tint to GG blue as the work moves on */
.sol-app .pipe { display: flex; margin: 0; padding: 0; list-style: none; }
.sol-app .pipe-step { flex: 1 1 0; min-width: 0; margin-left: -10px; } .sol-app .pipe-step:first-child { margin-left: 0; }
.sol-app .pipe-step a, .sol-app .pipe-step a:visited { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 76px; padding: 10px 14px 10px 20px; background: var(--stg); color: var(--stg-fg); text-decoration: none; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); transition: filter .2s, transform .2s; }
.sol-app .pipe-step:first-child a { padding-left: 16px; border-radius: 12px 0 0 12px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.sol-app .pipe-step:last-child a { padding-right: 12px; border-radius: 0 12px 12px 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); }
.sol-app .pipe-step a:hover { filter: brightness(.95); transform: translateY(-1px); text-decoration: none; }
.sol-app .pipe-step a:focus-visible { box-shadow: none; outline: 2px solid var(--u-blue-2); outline-offset: -3px; }
.sol-app .pipe-n { font-size: 24px; font-weight: 500; line-height: 1; letter-spacing: -.02em; } .sol-app .pipe-l { font-size: 11.5px; font-weight: 600; line-height: 1.2; color: inherit; overflow-wrap: normal; }
.sol-app .pipe-step.is-empty a .pipe-n { opacity: .6; }
.sol-app .dash-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.sol-app .dash-big .n { font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.sol-app .dash-delta { color: var(--soft); font-size: 13px; } .sol-app .dash-delta.up { color: var(--u-done-fg); } .sol-app .dash-delta.down { color: var(--u-soon-fg); }
.sol-app .dash-bars { display: block; width: 100%; height: 92px; }
.sol-app .dash-bars .bar { fill: #BCCFE8; } .sol-app .dash-bars .bar-now { fill: var(--u-blue); } .sol-app .dash-bars .bar-nil { fill: var(--u-line); }
.sol-app .dash-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--soft); font-size: 12px; }
.sol-app .dash-axis-days { gap: 2px; } .sol-app .dash-axis-days span { flex: 1 1 0; text-align: center; }
.sol-app .dash-rows { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sol-app .dash-rows li { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 13px; }
.sol-app .dash-lab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.sol-app .dash-track { height: 8px; overflow: hidden; border-radius: 99px; background: var(--u-mist); box-shadow: inset 0 0 0 1px var(--u-line); }
.sol-app .dash-fill { display: block; height: 100%; border-radius: 99px; background: var(--u-blue); }
.sol-app .dash-val { text-align: right; font-weight: 600; white-space: nowrap; } .sol-app .dash-val small { color: var(--soft); font-weight: 500; }
.sol-app .dash-empty { color: var(--soft); font-size: 13px; }
/* a second series is silver, teal appears only for a confirmation (money received) */
.sol-app .chart[data-chart=ageing] .dash-rows li:last-child .dash-fill, .sol-app .chart[data-chart=revenue] .dash-rows li:nth-child(n+3) .dash-fill { background: #9AA7B8; }
.sol-app .chart[data-chart=revenue] .dash-rows li:first-child .dash-fill { background: var(--u-teal); }
.sol-app .chart, .sol-app .lchart, .sol-app .jchart { position: relative; min-width: 0; }
.sol-app .chart > .dash-card, .sol-app .lchart > .dash-card, .sol-app .jchart > .dash-card { height: 100%; }
.sol-app .chart .dash-h, .sol-app .lchart .dash-h, .sol-app .jchart .dash-h { padding-right: 36px; }
.sol-app .chart[data-chart=kw] .dash-bars { height: 150px; } .sol-app .chart[data-chart=leads] .dash-bars { height: 96px; }
.sol-app .grip, .sol-app .gripper { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--u-r-c); background: transparent; color: var(--soft); cursor: grab; opacity: 0; transition: opacity .2s, background .2s; }
.sol-app .chart:hover .grip, .sol-app .sortable:hover .gripper, .sol-app .grip:focus-visible, .sol-app .gripper:focus-visible { opacity: 1; }
.sol-app .grip:hover, .sol-app .gripper:hover { background: rgba(15, 64, 123, .07); } .sol-app .grip .ic, .sol-app .gripper .ic { fill: currentColor; stroke: none; }
.sol-app .chart.dragging, .sol-app .sortable.dragging { opacity: .45; }
.sol-app .chart.over, .sol-app .sortable.over { outline: 2px dashed var(--u-blue-2); outline-offset: 3px; border-radius: var(--r); }
.sol-app .lbands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; } .sol-app .lbands .dash-bars { height: 110px; }

/* ---- [today] ---- */
.sol-app .sec { margin: 0 0 28px; }
.sol-app .sec-h { display: flex; align-items: baseline; gap: 6px; margin: 0 0 12px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sol-app .sec-h .head-tools { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--soft); font: 400 13px var(--u-f); }
.sol-app .today-cols { display: block; }
.sol-app .today-rail { margin-bottom: 28px; }
.sol-app .due-list, .sol-app .when-list { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.sol-app .due-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 124px auto; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; border-top: 1px solid var(--u-line); transition: background-color .2s; }
.sol-app .due-row:first-child { border-top: 0; } .sol-app .due-row:hover { background: var(--u-mist); }
.sol-app .due-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--u-new-bg); color: var(--u-new-fg); }
.sol-app .due-ic.amber { background: var(--u-soon-bg); color: var(--u-soon-fg); } .sol-app .due-ic.red { background: var(--u-over-bg); color: var(--u-over-fg); }
.sol-app .due-words { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.sol-app .due-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.sol-app .due-s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.sol-app .flag { font-weight: 600; } .sol-app .flag.red { color: var(--u-over-fg); } .sol-app .flag.amber { color: var(--u-soon-fg); }
.sol-app .due-st { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.sol-app .due-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--stg-dot, #9AA7B8); }
.sol-app .due-act { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.sol-app .q-quick { display: inline-flex; }
.sol-app .when-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-top: 1px solid var(--u-line); }
.sol-app .when-row:first-child { border-top: 0; }
.sol-app .when-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 50px; height: 46px; padding: 0 6px; border-radius: 10px; background: var(--u-tint); color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 1.1; text-transform: uppercase; }
.sol-app .when-date b { font-size: 18px; font-weight: 500; letter-spacing: -.02em; text-transform: none; } .sol-app .when-date.time b { font-size: 16px; }
.sol-app .when-words { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 1200px) {
  .sol-app .today-cols { display: grid; grid-template-columns: minmax(0, 1fr) 368px; column-gap: 28px; align-items: start; }
  .sol-app .today-rail { padding: 20px; background: var(--u-panel); border: 1px solid var(--u-line); border-radius: 20px; }
  .sol-app .today-rail .rail-sec:last-child { margin-bottom: 0; }
}

/* ---- [leads + jobs] ---- */
.sol-app .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; }
.sol-app .toolbar .view-toggle, .sol-app .toolbar .job-views { margin-left: auto; }
.sol-app .filter-note { color: var(--muted); font-size: 13px; }
.sol-app .cards { display: none; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sol-app .lead-card { padding: 16px; }
.sol-app .lc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sol-app .lc-mid { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0; }
.sol-app .lead-card .acts { margin-top: 10px; } .sol-app .lead-card .acts .uk-menu, .sol-app .acts .uk-menu:last-child { margin-left: auto; }
.sol-app .job-list { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.sol-app .job-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-height: 56px; padding: 10px 18px; border-top: 1px solid var(--u-line); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.sol-app .job-list li:first-child .job-row { border-top: 0; } .sol-app .job-row:hover { background: var(--u-mist); text-decoration: none; } .sol-app .job-row.on { background: var(--u-tint); }
.sol-app .jr-offer { margin-left: auto; }
.sol-app .mini { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sol-app .mini-bar, .sol-app .progress { display: block; overflow: hidden; border-radius: 99px; background: var(--u-line); }
.sol-app .mini-bar { width: 48px; height: 6px; } .sol-app .progress { height: 8px; margin-bottom: 8px; }
.sol-app .mini-bar span, .sol-app .progress span { display: block; height: 100%; border-radius: 99px; background: var(--u-blue); }

/* ---- [board] the shared React board, in our colours: tinted columns, white cards ---- */
.sol-app .board-wrap { overflow-x: auto; padding-bottom: 8px; }
.sol-app .board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 14px; align-items: start; }
.sol-app .board-col { display: flex; flex-direction: column; gap: 10px; min-height: 160px; padding: 12px; border: 1px solid var(--u-line); border-radius: var(--r); background: var(--u-panel); }
.sol-app .board-col-head { display: flex; align-items: center; gap: 6px; padding: 2px 4px 4px; font-size: 13px; font-weight: 600; }
.sol-app .board-part { display: inline-flex; align-items: center; gap: 8px; } .sol-app .board-part .n { color: var(--soft); font-weight: 500; }
.sol-app .board-part .stand-dot { background: var(--stg-dot); }
.sol-app .board-card { position: relative; display: grid; gap: 6px; padding: 12px 12px 10px; border: 1px solid var(--u-line); border-radius: var(--u-r-m); background: #fff; box-shadow: var(--u-s1); transition: box-shadow .3s var(--u-ease), transform .2s var(--u-ease), border-color .2s; }
.sol-app .board-card:hover { border-color: var(--u-line-2); box-shadow: var(--u-s2); transform: translateY(-1px); }
.sol-app .board-card .lead-name { justify-self: start; max-width: calc(100% - 28px); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.sol-app .lead-st { display: inline-flex; align-items: center; justify-self: start; max-width: 100%; padding: 3px 9px; border-radius: var(--u-r-p); background: var(--u-neutral-bg); color: var(--u-neutral-fg); font-size: 12px; font-weight: 600; white-space: normal; }
.sol-app .lead-st.late { background: var(--u-over-bg); color: var(--u-over-fg); } .sol-app .lead-st.warn { background: var(--u-soon-bg); color: var(--u-soon-fg); }
.sol-app .lead-meta { color: var(--muted); font-size: 12px; }
.sol-app .bc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 30px; }
.sol-app .bc-foot .btn.sm { height: 30px; margin-left: auto; padding: 0 12px; font-size: 12px; } .sol-app .bc-foot .badge { margin-left: 0; }
.sol-app .board-empty { margin: 4px; color: var(--soft); font-size: 13px; }
.sol-app .board-zones { display: flex; margin-top: 14px; }
.sol-app .board-zone { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1.5px dashed var(--u-line-2); border-radius: var(--u-r-m); background: rgba(255, 255, 255, .6); font-weight: 600; }
.sol-app .board-zone.drop-here { background: var(--u-over-bg); border-color: #C23A3A; outline: 0; } .sol-app .board-zone-hint { flex: 1; color: var(--muted); font-size: 13px; font-weight: 400; }
.sol-app .board-col.drop-here { outline: 2px dashed var(--u-blue-2); outline-offset: -2px; }
.sol-app .gg-card .gg-move { position: absolute; top: 8px; right: 6px; margin: 0; }
.sol-app .gg-card .gg-move select, .sol-app .gg-card .gg-move > .sr-only { display: none; }
.sol-app .gg-kebab { min-width: 28px; height: 28px; opacity: 0; transition: opacity .2s, background .2s; }
.sol-app .board-card:hover .gg-kebab, .sol-app .board-card:focus-within .gg-kebab, .sol-app .gg-kebab[data-state=open] { opacity: 1; }
@media (hover: none) { .sol-app .gg-kebab { opacity: 1; } }

/* ---- [drawer + modals] the drawer is tinted (--u-panel), the cards on it stay white ---- */
.sol-app .dr-head { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.sol-app .dr-av { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--u-line), var(--u-s1); color: var(--blue); font: 600 15px var(--u-f); } .sol-app .dr-av .ic { width: 20px; height: 20px; }
.sol-app .dr-t { min-width: 0; } .sol-app .dr-t h2 { font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; } .sol-app .dr-t .row-s { margin: 2px 0 8px; }
.sol-app .dr-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.sol-app .u-drawer-b > div, .sol-app .u-drawer-b .job-detail { display: flex; flex-direction: column; gap: 14px; }
.sol-app .dr-card { padding: 16px 18px; }
.sol-app .dr-move { display: flex; flex-direction: column; gap: 12px; }
.sol-app .dr-quick { display: flex; flex-wrap: wrap; gap: 8px; } .sol-app .dr-quick:empty { display: none; }
.sol-app .dr-card .card-h { margin-bottom: 10px; }
.sol-app .clockbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--u-r-m); background: var(--u-neutral-bg); color: var(--u-neutral-fg); font-size: 13px; font-weight: 600; }
.sol-app .clockbar.ok { background: var(--u-done-bg); color: var(--u-done-fg); } .sol-app .clockbar.warn { background: var(--u-soon-bg); color: var(--u-soon-fg); } .sol-app .clockbar.late { background: var(--u-over-bg); color: var(--u-over-fg); }
.sol-app .checklist { margin: 0; padding: 0; list-style: none; }
.sol-app .checklist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--u-line); font-size: 13px; color: var(--muted); }
.sol-app .checklist li:first-child { border-top: 0; }
.sol-app .check-l { display: inline-flex; align-items: center; gap: 8px; }
.sol-app .inv { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; } .sol-app .inv > div { display: flex; flex-direction: column; }
.sol-app .tline { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sol-app .tline li { position: relative; display: flex; flex-direction: column; padding-left: 22px; }
.sol-app .tline li::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: -14px; width: 1px; background: var(--u-line-2); } .sol-app .tline li:last-child::before { display: none; }
.sol-app .tl-dot { position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--u-blue-2); }
.sol-app .tl-t { font-weight: 600; } .sol-app .tl-s { color: var(--muted); font-size: 13px; }
.sol-app .quotes { margin-top: 4px; }
.sol-app .q-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--u-line); } .sol-app .q-row:first-child { border-top: 0; }
.sol-app .u-drawer-f > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.sol-app .u-modal .u-drawer-b { padding: 8px 20px 4px; }
.sol-app .m-line { color: var(--muted); }
.sol-app .q-lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.sol-app .q-line { display: grid; grid-template-columns: minmax(0, 1fr) 110px 70px 36px; align-items: end; gap: 8px; }
.sol-app .lost-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sol-app .lost-opts .btn { height: 52px; border-radius: var(--u-r-m); }
.sol-app .lost-opts .btn[aria-pressed=true] { border-color: var(--u-blue-2); background: var(--u-tint); color: var(--blue); box-shadow: 0 0 0 1px var(--u-blue-2); }

/* ---- [paperwork] one grid across all jobs ---- */
.sol-app .pw-tbl { min-width: 1080px; } .sol-app .pw-tbl th, .sol-app .pw-tbl td { height: auto; padding: 12px 14px; vertical-align: top; }
.sol-app .pw-card { overflow-x: auto; }
.sol-app .pw-h { min-width: 104px; } .sol-app .pw-h .ic { margin-right: 6px; } .sol-app .pw-h span { white-space: normal; }
.sol-app .pw-job { min-width: 240px; text-align: left; font-weight: 400; } .sol-app .pw-job .name { display: block; } .sol-app .pw-job .hold { display: block; margin-top: 8px; padding: 8px 10px; font-size: 12px; }
.sol-app .pw-check { align-items: flex-start; font-size: 12px; line-height: 1.3; } .sol-app .pw-check .box { margin-top: 1px; }
.sol-app .pw-check.late .pw-d { color: var(--u-over-fg); font-weight: 600; } .sol-app .pw-check.warn .pw-d { color: var(--u-soon-fg); font-weight: 600; } .sol-app .pw-check.ok .pw-d { color: var(--u-done-fg); }
.sol-app .pw-cards { display: none; } .sol-app .pw-n { color: var(--ink); font-weight: 500; }
.sol-app .pw-cards .checklist li { align-items: flex-start; } .sol-app .pw-cards .pw-check { flex-wrap: wrap; }

/* ---- [settings] a tab strip on top, one pane under it ---- */
.sol-app .set-tabs { margin: 0 0 20px; overflow-x: auto; } .sol-app .set-tabs .u-seg { max-width: 100%; }
.sol-app .set-pane { min-width: 0; }
.sol-app .set-pane > .card + .card { margin-top: var(--gap); }
.sol-app .tpl-pick { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.sol-app .tpl-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.sol-app .tpl-edit .card { display: flex; flex-direction: column; gap: 14px; } .sol-app .tpl-edit .card + .card { margin-top: 0; }
.sol-app .tpl-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; } .sol-app .tpl-top h2 { font-size: 18px; } .sol-app .tpl-top > div { display: flex; flex-wrap: wrap; gap: 6px; }
.sol-app .kind-note { margin: 0; } .sol-app .tpl-unknown:empty { display: none; } .sol-app .tpl-hint { min-height: 18px; }
.sol-app .tpl-acts .btn { flex: none; }
.sol-app .mail { padding: 16px 18px; border: 1px solid var(--u-line); border-radius: var(--u-r-m); background: #fff; font-size: 14px; }
.sol-app .mail-h { display: flex; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--u-line); font-size: 13px; } .sol-app .mail-h span { min-width: 56px; color: var(--muted); }
.sol-app .mail-b { padding: 12px 0 4px; } .sol-app .mail-b p { margin: 0 0 12px; }
.sol-app .mail.mail-shell { padding: 18px 16px; background: var(--u-mist); }
.sol-app .ms-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 12px; } .sol-app .ms-head .logo { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.sol-app .ms-card { padding: 6px 20px 12px; border-radius: var(--u-r-c); background: #fff; box-shadow: var(--u-s1); font-family: Arial, Helvetica, sans-serif; color: #1B2433; } .sol-app .ms-card .mail-b { padding: 14px 0 2px; font-size: 14px; line-height: 1.55; }
.sol-app .mail-f { margin: 0; padding: 12px 4px 0; color: var(--soft); font-size: 12px; text-align: center; word-break: break-word; } .sol-app .mail-f + .mail-f { padding-top: 4px; }
.sol-app .conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sol-app .conn-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--u-line); border-radius: var(--u-r-m); background: var(--u-mist); }
.sol-app .conn-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sol-app .conn-card .row-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--blue); box-shadow: var(--u-s1); } .sol-app .conn-card .row-ic .ic { width: 18px; height: 18px; }
.sol-app .conn-state { margin-top: 6px; font-size: 13px; } .sol-app .conn-foot { margin-top: 12px; }
.sol-app .light { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--l); box-shadow: 0 0 0 4px color-mix(in srgb, var(--l) 18%, transparent); }
.sol-app .light.st-green { --l: var(--u-teal); } .sol-app .light.st-amber { --l: #D69E2E; } .sol-app .light.st-red { --l: #C23A3A; } .sol-app .light.st-slate { --l: #9AA7B8; }
.sol-app .steps { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 var(--gap); padding: 14px 18px; list-style: none; background: var(--u-card); border: 1px solid var(--u-line); border-radius: var(--r); box-shadow: var(--u-s1); }
.sol-app .steps li { flex: 1; display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 13px; font-weight: 600; }
.sol-app .steps li span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--u-line-2); border-radius: 50%; background: #fff; font-size: 12px; }
.sol-app .steps li.on { color: var(--ink); } .sol-app .steps li.on span { border-color: var(--blue); background: var(--blue); color: #fff; } .sol-app .steps li.done span { border-color: #C9DBF0; background: var(--u-tint); color: var(--blue); }
.sol-app .steps li + li::before { content: ""; flex: 1; height: 1px; margin-right: 8px; background: var(--u-line-2); }
.sol-app .imp-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.sol-app .imp-tile { display: flex; flex-direction: column; padding: 14px; border-radius: var(--u-r-m); background: var(--u-mist); } .sol-app .imp-n { font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.sol-app .imp-l { color: var(--muted); font-size: 13px; font-weight: 600; } .sol-app .imp-s { color: var(--soft); font-size: 12px; }
.sol-app .imp-kv { grid-template-columns: 110px 1fr; } .sol-app .imp-file { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.sol-app .imp-bal { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--u-done-fg); font-weight: 600; } .sol-app .imp-h { margin: 18px 0 8px; font-size: 14px; }
.sol-app .imp-tbl { width: 100%; border-collapse: collapse; font-size: 13px; } .sol-app .imp-tbl th { padding: 8px 10px; border-bottom: 1px solid var(--u-line); color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; }
.sol-app .imp-tbl td { padding: 11px 10px; border-bottom: 1px solid var(--u-line); vertical-align: top; } .sol-app .imp-tbl tr:last-child td { border-bottom: 0; } .sol-app .imp-tbl + .acts { margin-top: 18px; }
.sol-app section.card > .fld, .sol-app section.card > .acts, .sol-app section.card > .hint, .sol-app section.card > .imp-tiles, .sol-app section.card > .imp-kv { margin-bottom: 14px; }
.sol-app .team-list .avatar { width: 36px; height: 36px; background: var(--u-tint); color: var(--blue); font-size: 13px; }
.sol-app .co-id { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; } .sol-app .co-logo { width: 48px; height: 48px; border-radius: 12px; font-size: 16px; }
.sol-app #co-postal { min-height: 84px; }
.sol-app .fu-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sol-app .fu { display: flex; flex-direction: column; gap: 12px; }
.sol-app .fu-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; } .sol-app .fu-who { display: flex; flex-direction: column; min-width: 0; }
.sol-app .fu-score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 96px; } .sol-app .fu-n { font-size: 24px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.sol-app .fu-bar { width: 96px; height: 6px; overflow: hidden; border-radius: 99px; background: var(--u-line); } .sol-app .fu-bar i { display: block; height: 100%; background: var(--u-blue); }
.sol-app .whys { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sol-app .whys li { padding: 3px 10px; border-radius: var(--u-r-p); background: var(--u-neutral-bg); color: var(--u-neutral-fg); font-size: 12px; font-weight: 600; }
.sol-app .fu-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .sol-app .fu-noc { display: flex; align-items: center; gap: 6px; }
.sol-app .snooze { min-width: 0; height: 34px; padding: 0 12px; border-radius: var(--u-r-p); font-size: 13px; font-weight: 600; }
.sol-app .fu-att { margin: 8px 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.sol-app .fu-log .u-trig { height: 30px; font-size: 12px; color: var(--muted); }

/* ---- [enquiry] ---- */
.sol-app .enq-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.sol-app .enq { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.sol-app .enq-rail { position: sticky; top: 84px; display: flex; flex-direction: column; gap: var(--gap); } .sol-app .enq-rail .card + .card { margin-top: 0; }
.sol-app .consent { display: flex; flex-direction: column; gap: 12px; }
.sol-app .consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sol-app .btn.consent-btn { height: auto; min-height: 64px; padding: 10px 20px; border-radius: 22px; white-space: normal; text-align: center; line-height: 1.3; font-size: 14px; }
.sol-app .grant { padding: 14px; border-radius: var(--u-r-m); background: var(--u-mist); }
.sol-app .grant.g-ok { background: var(--u-done-bg); } .sol-app .grant.g-no { background: var(--u-over-bg); } .sol-app .grant.g-check { background: var(--u-soon-bg); }
.sol-app .grant-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; } .sol-app .grant-top .row-t { display: inline-flex; align-items: center; gap: 8px; }
.sol-app .grant-amt { font-size: 17px; font-weight: 500; white-space: nowrap; } .sol-app .grant.g-ok .grant-amt { color: var(--u-done-fg); } .sol-app .grant.g-check .grant-amt { color: var(--u-soon-fg); }
.sol-app .grant-chk { margin: 0 0 8px; color: var(--u-soon-fg); font-size: 13px; font-weight: 500; } .sol-app .verified { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.sol-app .ns { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; } .sol-app .ns li { display: flex; align-items: flex-start; gap: 12px; } .sol-app .ns b { display: block; font-weight: 600; }
.sol-app .ns-n { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--u-tint); color: var(--blue); font: 600 12px var(--u-f); }
.sol-app .result h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; } .sol-app .result .acts { margin-top: 16px; }

/* ---- [sign-in] one centred card on the mist page ---- */
.sol-app.signed-out #app { display: block; } .sol-app.signed-out .sidebar, .sol-app.signed-out .topbar, .sol-app.signed-out .tabbar { display: none; }
.sol-app.signed-out .content { max-width: none; padding: 9vh 16px 40px; }
.sol-app .signin { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 420px; margin: 0 auto; padding: 32px; border-radius: 24px; box-shadow: var(--u-s3); }
.sol-app .signin h1 { font-size: 28px; letter-spacing: -.03em; } .sol-app .signin p { color: var(--muted); }
.sol-app .signin-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; } .sol-app .signin-brand .logo { width: 44px; height: 44px; border-radius: 12px; font-size: 16px; } .sol-app .signin-where { color: var(--ink); font: 600 16px var(--u-f); }
.sol-app .signin .signin-sub { margin-top: -8px; font-size: 14px; } .sol-app .signin form { display: flex; flex-direction: column; gap: 14px; }
.sol-app .signin .u-btn, .sol-app .signin .btn { width: 100%; height: 44px; } .sol-app .signin .u-btn:not(.is-secondary) { justify-content: space-between; padding-left: 20px; }
.sol-app .signin input { height: 44px; font-size: 16px; }
.sol-app .signin .signin-seg { align-self: stretch; } .sol-app .signin .signin-seg .u-seg-i { flex: 1 1 0; justify-content: center; height: 34px; }
.sol-app .signin-note:empty { display: none; } .sol-app .signin .signin-note.err { color: var(--u-over-fg); font-weight: 500; }
.sol-app .signin .signin-or { margin: 4px 0; text-align: center; font-size: 14px; }
.sol-app .signin .sso { display: flex; flex-direction: column; gap: 10px; }
.sol-app .signin .sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #747775; border-radius: var(--u-r-p); background: #fff; color: #1f1f1f; font: 500 14px Roboto, Arial, sans-serif; }
.sol-app .signin .sso-btn:hover { background: #f2f2f2; } .sol-app .signin .sso-btn:disabled { cursor: progress; }
.sol-app .signin .sso-google::before { content: ""; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.5 0 6.6 1.2 9.1 3.6l6.8-6.8C35.9 2.4 30.4 0 24 0 14.6 0 6.5 5.4 2.6 13.2l7.9 6.1C12.4 13.6 17.7 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.1 24.5c0-1.6-.1-3.1-.4-4.5H24v9h12.4c-.5 2.9-2.2 5.3-4.6 6.9l7.2 5.6c4.3-3.9 6.8-9.7 6.8-16z'/%3E%3Cpath fill='%23FBBC05' d='M10.5 28.7a14.5 14.5 0 0 1 0-9.4l-7.9-6.1a24 24 0 0 0 0 21.6l7.9-6.1z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.5 0 11.9-2.1 15.9-5.8l-7.2-5.6c-2 1.4-4.6 2.2-8.7 2.2-6.3 0-11.6-4.1-13.5-9.8l-7.9 6.1C6.5 42.6 14.6 48 24 48z'/%3E%3C/svg%3E"); }
.sol-app .signin .signin-foot { padding-top: 12px; border-top: 1px solid var(--u-line); font-size: 13px; }

/* ---- [responsive] ---- */
@media (max-width: 1100px) {
  .sol-app .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sol-app .enq-grid { grid-template-columns: 1fr; } .sol-app .enq-rail { position: static; }
  .sol-app .lbands { grid-template-columns: 1fr 1fr; }
  .sol-app .tpl-split { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .sol-app .dash-band, .sol-app .lbands { grid-template-columns: 1fr; }
  .sol-app .pipe { overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; } .sol-app .pipe-step { flex: 0 0 112px; scroll-snap-align: start; }
  .sol-app .view-toggle, .sol-app .only-wide { display: none; }
  .sol-app .pw-tbl, .sol-app .pw-card { display: none; } .sol-app .pw-cards { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
  .sol-app .toolbar .job-views { margin-left: 0; }
  .sol-app .imp-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (hover: none) { .sol-app .grip, .sol-app .gripper, .sol-app .hint-drag { display: none; } }
@media (max-width: 760px) {
  /* phone: the same zones. White top bar with a hairline, mist page, deep-blue bottom tab bar (the sidebar zone moved to the bottom). */
  .sol-app #app { display: block; } .sol-app .sidebar { display: none; }
  .sol-app .topbar { min-height: 54px; padding: 8px 16px; }
  .sol-app .top-title { display: block; } .sol-app .top-state { display: none; } .sol-app .top-gear, .sol-app .top-cmdk { display: inline-grid; } .sol-app .top-tools { margin-left: auto; }
  .sol-app .cmd-slot { display: none; position: absolute; inset: 0; z-index: 2; align-items: center; padding: 6px 12px; background: var(--u-top); }
  body.cmd-open .cmd-slot { display: flex; } .sol-app .cmd-slot .u-combo { height: 42px; }
  .sol-app .content { padding: 18px 16px 104px; }
  .sol-app .scr-title { font-size: 24px; }
  .sol-app .page-head { flex-direction: column; align-items: stretch; gap: 14px; } .sol-app .head-acts { flex-wrap: wrap; } .sol-app .head-acts .u-btn, .sol-app .head-acts .btn { flex: 1 1 auto; justify-content: center; }
  .sol-app .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--u-side-bg); border-top: 1px solid var(--u-side-line); }
  .sol-app .tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border: 0; border-radius: var(--u-r-c); background: transparent; color: var(--u-side-muted); font-size: 11px; font-weight: 600; text-decoration: none; }
  .sol-app .tab .ic { width: 22px; height: 22px; } .sol-app .tab:hover { text-decoration: none; }
  .sol-app .tab.on { background: var(--u-side-on-bg); color: var(--u-side-on-ink); } .sol-app .tab.on::after { content: ""; position: absolute; top: 5px; right: calc(50% - 18px); width: 6px; height: 6px; border-radius: 50%; background: var(--u-side-dot); }
  .sol-app .kpi-row { display: flex; gap: 10px; margin: 0 -2px 12px; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; }
  .sol-app .kpi-row .kpi-tile { flex: 0 0 168px; scroll-snap-align: start; padding: 14px 12px; column-gap: 8px; }
  .sol-app .kpi-tile > .value { font-size: 28px; } .sol-app .kpi-tile > .label { font-size: 12.5px; }
  .sol-app .lbands { display: flex; gap: 10px; margin: 0 -2px 12px; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; } .sol-app .lbands > * { flex: 0 0 86%; scroll-snap-align: start; }
  .sol-app .due-row { grid-template-columns: 40px minmax(0, 1fr) auto; row-gap: 10px; column-gap: 12px; padding: 12px 14px; }
  .sol-app .due-words { grid-column: 2 / -1; } .sol-app .due-st { grid-column: 2; grid-row: 2; } .sol-app .due-act { grid-column: 3; grid-row: 2; }
  .sol-app .due-t, .sol-app .due-s { white-space: normal; }
  .sol-app .sec-h .head-tools .hint-drag { display: none; }
  .sol-app .when-row { grid-template-columns: 48px minmax(0, 1fr); } .sol-app .when-row > .btn, .sol-app .when-row > .pill { grid-column: 2; justify-self: start; }
  .sol-app .dash-rows li { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .sol-app .lead-tbl { display: none; } .sol-app .cards { display: flex; }
  .sol-app .srch { flex: 1 1 100%; max-width: none; }
  .sol-app .toolbar > .uk-chips { display: block; flex: 1 1 100%; min-width: 0; max-width: 100%; overflow-x: auto; }
  .sol-app .u-chips { flex-wrap: nowrap; padding-bottom: 2px; } .sol-app .u-chipf { flex: none; }
  .sol-app .toolbar { margin-bottom: 14px; }
  .sol-app .job-row .jr-offer { margin-left: 0; flex-basis: 100%; }
  .sol-app .gripper { display: none; }
  .sol-app .btn { height: 44px; } .sol-app .btn.sm { height: 40px; } .sol-app .u-btn { height: 44px; } .sol-app .u-btn.is-sm { height: 40px; }
  .sol-app .form-row, .sol-app .consent-btns, .sol-app .lost-opts { grid-template-columns: 1fr; }
  .sol-app .q-line { grid-template-columns: 1fr 1fr 1fr 36px; } .sol-app .q-line .fld:first-child { grid-column: 1 / -1; } .sol-app .q-line .icon-btn { grid-column: 4; grid-row: 2; }
  .sol-app .imp-tiles { grid-template-columns: 1fr 1fr; }
  .sol-app .steps { padding: 12px; } .sol-app .steps li { gap: 6px; font-size: 12px; }
  .sol-app .imp-tbl thead { display: none; } .sol-app .imp-tbl td { display: block; padding: 2px 0; border: 0; } .sol-app .imp-tbl tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--u-line); } .sol-app .imp-tbl td:first-child { font-weight: 600; }
  .sol-app .conn-grid { grid-template-columns: 1fr; }
  .sol-app .enq { padding: 16px; }
  .sol-app .fu-top { flex-direction: column; } .sol-app .fu-score { align-items: flex-start; }
  .sol-app .fu-acts .btn { flex: 1 1 140px; } .sol-app .tpl-acts .btn, .sol-app .tpl-acts .u-btn { flex: 1 1 140px; }
  .sol-app .mail-h { flex-direction: column; gap: 0; }
  .sol-app .signin { padding: 24px 18px; } .sol-app.signed-out .content { padding-top: 24px; }
  .sol-app .u-drawer-f > * { flex: 1 1 auto; }
  .sol-app .u-drawer .icon-btn { min-width: 44px; min-height: 44px; }
  .sol-app .gg-kebab { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .sol-app * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---- Contacts (2 Oct 2026) ---- */
.sol-app .chip.yes { background: var(--u-done-bg); color: var(--u-done-fg); } .sol-app .chip.yes .dot { background: var(--u-done-fg); }
.sol-app .chip.life-customer { background: var(--u-tint); color: var(--blue); } .sol-app .chip.life-past_customer, .sol-app .chip.life-other { background: var(--u-neutral-bg); color: var(--u-neutral-fg); }
.sol-app .con-tbl th.ck, .sol-app .con-tbl td.ck { width: 40px; padding-right: 0; } .sol-app input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--u-blue-2); cursor: pointer; }
.sol-app .con-tbl tr.picked td { background: var(--u-mist); }
.sol-app .tags { display: inline-flex; flex-wrap: wrap; gap: 4px; } .sol-app .tagc { padding: 1px 8px; border-radius: var(--u-r-p); background: var(--u-mist); color: var(--muted); font-size: 12px; font-weight: 500; }
.sol-app .con-filters { align-items: center; } .sol-app .con-filters .fsel { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-app .happened { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--muted); font-size: 13px; } .sol-app .happened .ic { width: 15px; height: 15px; color: var(--u-done-fg); }
.sol-app .bulk { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--u-line); border-radius: var(--r); background: var(--u-card); box-shadow: var(--u-shadow-2, 0 6px 20px rgba(15, 64, 123, .12)); }
.sol-app .con-row { display: grid; grid-template-columns: 110px auto 1fr; align-items: center; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--u-line); } .sol-app .con-row:last-of-type { border-bottom: 0; }
.sol-app .con-row .row-s { grid-column: 3; } .sol-app .con-sum { margin: 8px 0 0; }
.sol-app .tasks, .sol-app .notes { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sol-app .task { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--u-line); } .sol-app .task-b { flex: 1; min-width: 0; display: flex; flex-direction: column; } .sol-app .task.done .row-t { text-decoration: line-through; color: var(--soft); }
.sol-app .task-add { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.sol-app .note-r { position: relative; padding: 10px 40px 10px 12px; border-radius: var(--u-r-c); background: var(--u-mist); } .sol-app .note-r .note { margin: 0 0 4px; white-space: pre-wrap; } .sol-app .note-r .uk-menu { position: absolute; top: 4px; right: 4px; }
.sol-app .dup-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; } .sol-app .dup-row > span { display: flex; flex-direction: column; min-width: 0; }
.sol-app .dup-pair { padding: 12px 0; border-bottom: 1px solid var(--u-line); } .sol-app .dup-why { margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--u-soon-fg); }
.sol-app .dup-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .sol-app .dup-two > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border: 1px solid var(--u-line); border-radius: var(--u-r-c); }
.sol-app .btn.danger { color: var(--u-over-fg); border-color: var(--u-over-fg); }
.sol-app .lc-top input[type=checkbox] { flex: none; }
@media (max-width: 899px) { .sol-app .con-row { grid-template-columns: 90px auto; } .sol-app .con-row .row-s { grid-column: 1 / -1; } .sol-app .dup-two { grid-template-columns: 1fr; } .sol-app .bulk { top: 4px; } .sol-app .con-filters .fsel { width: 100%; } }
.sol-app .con-tbl td:nth-child(2) { min-width: 250px; } .sol-app .con-tbl .name { display: inline; }
.sol-app .lead-card .lc-top .name { flex: 1; min-width: 0; text-align: left; }

/* Marketing (area F, 2 Oct 2026): a few rules the shared kit does not have */
.sol-app .mk-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sol-app .mk-scroll .tbl { min-width: 640px; }
.sol-app .mk-scroll .tbl th, .sol-app .mk-scroll .tbl td { white-space: nowrap; }
.sol-app .mk-pad { padding: 16px 16px 0; }
.sol-app .tbl th.r, .sol-app .tbl td.r { text-align: right; }
.sol-app .mk-cards { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.sol-app .mk-cards .card { display: flex; flex-direction: column; gap: 6px; }
.sol-app .mk-cards .lc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; }
.sol-app .mk-cards .lc-top .row-t { margin-right: 4px; }
.sol-app .mk-cards .acts, .sol-app .mk-soon .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sol-app .mk-hl { margin: 2px 0 0; font-weight: 600; }
.sol-app .mk-soon { margin: 16px 0; }
.sol-app .mk-soon .card-h { flex-wrap: wrap; }
.sol-app .mk-claims, .sol-app .mk-note { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: var(--u-soon-bg); color: var(--u-soon-fg); font-size: 13px; line-height: 1.45; }
.sol-app .mk-note { background: var(--u-new-bg); color: var(--u-new-fg); }
.sol-app .mk-claims svg, .sol-app .mk-note svg { flex: none; margin-top: 2px; }
.sol-app .mk-tick { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; font-size: 14px; color: inherit; font-weight: 500; }
.sol-app .mk-prev { display: flex; flex-direction: column; gap: 10px; }
.sol-app .mk-prev h2 { font-size: 20px; line-height: 1.25; margin: 0; }
.sol-app .mk-mail { padding: 8px 4px; }
.sol-app .mk-mail p { margin: 0 0 10px; }
.sol-app .mk-stop { border-top: 1px solid var(--u-line); padding-top: 10px; }
.sol-app .mk-link { margin: 10px 0; padding: 10px 12px; background: var(--u-card); border: 1px solid var(--u-line); border-radius: 10px; overflow-wrap: anywhere; }
.sol-app .mk-code { font-size: 14px; letter-spacing: .08em; font-weight: 600; }
.sol-app .mk-list { list-style: none; margin: 0; padding: 0; }
.sol-app .mk-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 12px 16px; border-top: 1px solid var(--u-line); }
.sol-app .mk-list li > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.sol-app .mk-when { min-width: 64px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sol-app .mk-when.late { color: var(--u-over-fg); } .sol-app .mk-when.warn { color: var(--u-soon-fg); }
.sol-app .toolbar .grow { flex: 1; }
.sol-app .card > .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* phone More sheet (app.js A["more-open"]) and the Today "Needs you" band (screens/today.js) */
.sol-app .more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sol-app .more-row { width: 100%; display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; border: 0; border-radius: var(--u-r-c); background: transparent; color: var(--u-ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.sol-app .more-row:hover, .sol-app .more-row.on { background: var(--u-tint, rgba(15, 64, 123, .08)); } .sol-app .more-row .ic { width: 20px; height: 20px; color: var(--u-muted); }
.sol-app .needs-you { margin: 0 0 16px; } .sol-app .needs-you .sec-h { display: flex; align-items: center; gap: 8px; } .sol-app .needs-you .sec-h .ic { width: 18px; height: 18px; color: var(--u-soon-fg); }
.sol-app .ny-list { list-style: none; margin: 0; padding: 0; background: var(--u-card); border: 1px solid var(--u-line); border-radius: var(--r); box-shadow: var(--u-s1); overflow: hidden; }
.sol-app .ny-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 14px; min-height: 52px; padding: 8px 16px; color: var(--u-ink); text-decoration: none; font-weight: 600; } .sol-app .ny-list li + li .ny-row { border-top: 1px solid var(--u-line); }
.sol-app .ny-row:hover { background: var(--u-tint, rgba(15, 64, 123, .06)); } .sol-app .ny-row > .ic { width: 16px; height: 16px; color: var(--u-muted); }
.sol-app .row-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; padding: 4px 0; } .sol-app .row-link:hover .row-t { text-decoration: underline; } .sol-app .row-link:focus-visible { outline: 2px solid var(--u-accent, currentColor); outline-offset: 2px; border-radius: 4px; }

/* grouped menu (2 Oct 2026): a small heading over each group in the sidebar and in the phone's More sheet */
.sol-app .nav-h { margin: 14px 0 4px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--u-side-muted); opacity: .75; }
.sol-app .nav-group > .nav-h:first-child { margin-top: 0; }
.sol-app .more-h { margin: 10px 0 2px; padding: 0 10px; list-style: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--u-muted); }
.sol-app a.more-row { text-decoration: none; }

/* ==== [redesign 5 Oct 2026] shared system, step 1. Tokens in ui/tokens.css. Old class names kept and restyled here; new ones:
   .figures-strip > .fig (button, aria-pressed) > .fig-l + .fig-n + .fig-s | .tag (+ .good .warn .bad) | .u-seg.is-tabs or .tabs-u (underline tabs)
   | .u-chipf / .chip-f (6px filter chip) | charts: fill var(--chart-1..6), ageing/funnel var(--ramp-1..6). ==== */
.sol-app { --r: 8px; --gap: 16px; --logo-bg: var(--navy); --logo-ink: #FFFFFF; font-feature-settings: "tnum" 1; }
body.sol-app { font: var(--t-body); font-variant-numeric: tabular-nums; }
.sol-app h1, .sol-app h2, .sol-app h3 { font-weight: 600; }
.sol-app h2 { font-size: 15px; line-height: 22px; letter-spacing: -.01em; } .sol-app h3 { font-size: 13px; }
.sol-app .scr-title { font: var(--t-title); letter-spacing: -.02em; }
.sol-app .sub { font-size: 13px; color: var(--meta); }
.sol-app a { color: var(--accent); }
/* every stage tag is grey: position on the board already says the order. No 11-shade navy scale. */
.sol-app [class*="stg-"] { --stg: var(--sunken); --stg-fg: var(--ink-2); --stg-dot: #9A9DAA; }
.sol-app .stg-lost { --stg-dot: var(--bad); } .sol-app .stg-q-accepted { --stg-dot: var(--good); }
/* buttons: 8px, flat. primary = accent, secondary = white + hairline, outline = accent line */
.sol-app .btn { height: 36px; padding: 0 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--hairline-2); box-shadow: none; font: 600 13px/1 var(--u-f); color: var(--ink-1); }
.sol-app .btn:hover { background: var(--sunken); box-shadow: none; }
.sol-app .btn:active { transform: none; }
.sol-app .btn.sm { height: 30px; padding: 0 10px; font-size: 12px; }
.sol-app .btn.ghost:hover { background: var(--sunken); }
.sol-app .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: none; }
.sol-app .btn.primary:hover { background: var(--accent-h); transform: none; }
.sol-app .btn.outline, .sol-app .btn.consent-btn { background: var(--card); border-color: var(--accent); color: var(--accent); box-shadow: none; }
.sol-app .btn.outline:hover, .sol-app .btn.consent-btn:hover { background: var(--accent-tint); transform: none; }
.sol-app .u-btn { height: 36px; } .sol-app .u-btn.is-sm { height: 30px; }
.sol-app .u-trig-btn, .sol-app .foot-kebab { border-radius: var(--r); }
/* cards: hairline, no shadow, 8px */
.sol-app .card, .sol-app .dash-card, .sol-app .dr-card, .sol-app .job-list, .sol-app .due-list, .sol-app .when-list, .sol-app .empty-ic { border-radius: var(--r); box-shadow: none; }
.sol-app .card-h { font: var(--t-sec); }
/* tags: grey by default, 6px, one dot max. .chip/.lead-st/.badge/.pill keep working with the same look. */
.sol-app .tag, .sol-app .chip, .sol-app .lead-st, .sol-app .badge, .sol-app .pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-chip); background: var(--sunken); color: var(--ink-2); font: 500 12px/1 var(--u-f); }
.sol-app .tag.good, .sol-app .pill.ok { background: var(--good-bg); color: var(--good); }
.sol-app .tag.warn, .sol-app .pill.wait, .sol-app .lead-st.warn { background: var(--warn-bg); color: var(--warn); }
.sol-app .tag.bad, .sol-app .chip.late, .sol-app .lead-st.late, .sol-app .badge.stop { background: var(--bad-bg); color: var(--bad); }
.sol-app .chip .dot, .sol-app .stand-dot { width: 6px; height: 6px; }
.sol-app .own-av { background: var(--sunken); color: var(--ink-2); }
.sol-app .note-law { background: var(--sunken); border-left: 2px solid var(--hairline-2); border-radius: 0 var(--r) var(--r) 0; } .sol-app .note-law .ic { color: var(--meta); }
/* filter chips (plain-HTML version of .u-chipf) */
.sol-app .chip-f { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--hairline); border-radius: var(--r-chip); background: var(--card); color: var(--ink-1); font: 500 12px/1 var(--u-f); cursor: pointer; }
.sol-app .chip-f:hover { background: var(--sunken); } .sol-app .chip-f[aria-pressed=true], .sol-app .chip-f.on { background: var(--accent-tint); border-color: #BFD3F7; color: var(--accent); }
/* tables */
.sol-app .tbl th { height: 36px; font: 500 12px/16px var(--u-f); color: var(--meta); background: var(--card); }
.sol-app .tbl td { height: 44px; } .sol-app .tbl tbody tr:hover td { background: var(--ground); }
.sol-app .tbl td, .sol-app .tbl th { font-variant-numeric: tabular-nums; }
/* figures strip: one flat white bar, up to 4 figures, hairline dividers, no icons. Each .fig is a button; aria-pressed=true marks the filter. */
.sol-app .figures-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0 0 20px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.sol-app .figures-strip .fig { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 16px; margin: 0; border: 0; border-left: 1px solid var(--hairline); border-radius: 0; background: none; color: var(--ink-1); text-align: left; font: inherit; cursor: pointer; }
.sol-app .figures-strip .fig:first-child { border-left: 0; }
.sol-app .figures-strip .fig:hover { background: var(--ground); }
.sol-app .figures-strip .fig[aria-pressed=true] { background: var(--accent-tint); box-shadow: inset 0 -2px 0 var(--accent); }
.sol-app .figures-strip .fig:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sol-app .fig-l { font: var(--t-label); color: var(--meta); }
.sol-app .fig-n { font: var(--t-fig); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sol-app .fig-s { font: var(--t-label); color: var(--meta); font-weight: 400; } .sol-app .fig-s.warn { color: var(--warn); } .sol-app .fig-s.bad { color: var(--bad); }
@media (max-width: 640px) { .sol-app .figures-strip { grid-template-columns: 1fr 1fr; } .sol-app .figures-strip .fig:nth-child(odd) { border-left: 0; } .sol-app .figures-strip .fig:nth-child(n+3) { border-top: 1px solid var(--hairline); } }
/* old number cards: flat, no icon squares, figure is the hero */
.sol-app .kpi-row { gap: 12px; }
.sol-app .kpi-tile { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 14px 16px; border-radius: var(--r); box-shadow: none; }
.sol-app a.kpi-tile:hover, .sol-app button.kpi-tile:hover { box-shadow: none; transform: none; background: var(--ground); }
.sol-app .kpi-tile.on { border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.sol-app .kpi-ic, body.sol-app .kpi-ic { display: none; }
.sol-app .kpi-tile > .label { grid-column: 1; font: var(--t-label); color: var(--meta); }
.sol-app .kpi-tile > .value { grid-column: 1; font: var(--t-fig); letter-spacing: -.01em; }
.sol-app .kpi-tile > .tile-sub { grid-column: 1; margin-top: 0; }
.sol-app .dash-card { box-shadow: none; } .sol-app .dash-h { font: var(--t-sec); color: var(--ink-1); }
.sol-app .dash-big .n { font: var(--t-fig); font-size: 28px; }
/* pipeline arrows: grey, figure + label */
.sol-app .pipe-step a, .sol-app .pipe-step a:visited { background: var(--sunken); color: var(--ink-1); }
.sol-app .pipe-step:nth-child(even) a { background: #E9ECF1; }
.sol-app .pipe-n { font: var(--t-fig); } .sol-app .pipe-l { color: var(--ink-2); font-weight: 500; }
/* CHART RULES: one colour per series (--chart-1 default, --chart-2 second series), ageing/funnel on --ramp-*, no tracks, no dashes/hatching,
   values tabular in --ink. State colours and the accent never appear in charts. */
.sol-app .dash-bars .bar, .sol-app .dash-bars .bar-now { fill: var(--chart-1); } .sol-app .dash-bars .bar { fill-opacity: .45; } .sol-app .dash-bars .bar-now { fill-opacity: 1; }
.sol-app .dash-bars .bar-nil { fill: var(--hairline); }
.sol-app .dash-track, body.sol-app .mny-card .dash-track { background: none; box-shadow: none; border-radius: 0; }
.sol-app .dash-fill, body.sol-app .mny-card .dash-fill { background: var(--chart-1); border-radius: 2px; }
.sol-app .chart[data-chart=revenue] .dash-rows li .dash-fill { background: var(--chart-1); }
.sol-app .chart[data-chart=ageing] .dash-rows li:nth-child(1) .dash-fill { background: var(--ramp-3); }
.sol-app .chart[data-chart=ageing] .dash-rows li:nth-child(2) .dash-fill { background: var(--ramp-4); }
.sol-app .chart[data-chart=ageing] .dash-rows li:nth-child(3) .dash-fill { background: var(--ramp-5); }
.sol-app .chart[data-chart=ageing] .dash-rows li:nth-child(n+4) .dash-fill { background: var(--ramp-6); }
.sol-app .dash-val { color: var(--ink-1); font-weight: 500; font-variant-numeric: tabular-nums; } .sol-app .dash-val small { margin-left: 6px; color: var(--meta); }
.sol-app .dash-axis { color: var(--chart-axis); }
.sol-app .mini-bar, .sol-app .progress, .sol-app .fu-bar { background: none; box-shadow: none; }
.sol-app .mini-bar span, .sol-app .progress span, .sol-app .fu-bar i { background: var(--chart-1); border-radius: 2px; }
body.sol-app .mny-bar.mny-in, body.sol-app .mny-sw.mny-in { fill: var(--chart-1); background: var(--chart-1); }
body.sol-app .mny-bar.mny-out, body.sol-app .mny-sw.mny-out { fill: var(--chart-2); background: var(--chart-2); }
body.sol-app .mny-bar.mny-ghost.mny-in { fill: var(--chart-1); fill-opacity: .35; stroke: none; stroke-dasharray: none; }
body.sol-app .mny-bar.mny-ghost.mny-out { fill: var(--chart-2); fill-opacity: .35; stroke: none; stroke-dasharray: none; }
body.sol-app .mny-sw.mny-ghost-sw { border: 0; background: var(--chart-1); opacity: .35; }
.sol-app .chart.over, .sol-app .sortable.over { outline-style: solid; }
.sol-app .light.st-green { --l: var(--good); } .sol-app .light.st-amber { --l: #E39A1B; } .sol-app .light.st-red { --l: var(--bad); }
/* board: no tinted wells, column header carries count, white cards with hairline, no shadow */
.sol-app .board-col { padding: 4px 0 0; border: 0; border-radius: 0; background: none; gap: 8px; }
.sol-app .board-col-head { padding: 0 2px 6px; border-bottom: 1px solid var(--hairline); font: 600 13px/20px var(--u-f); }
.sol-app .board-card { border-radius: var(--r); box-shadow: none; }
.sol-app .board-card:hover { box-shadow: none; transform: none; border-color: var(--hairline-2); }
.sol-app .board-card .lead-name { font-size: 13px; }
.sol-app .board-zone { border-style: solid; border-width: 1px; border-radius: var(--r); }
.sol-app .board-col.drop-here { outline-style: solid; outline-color: var(--accent); }
/* money screen pieces that use the shared look: tab strip = underline tabs; ageing bars = ramp (no red) */
body.sol-app .mny-tabs { gap: 20px; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; }
body.sol-app .mny-tab { position: relative; padding: 10px 0; border-radius: 0; font: 500 13px/16px var(--u-f); color: var(--meta); }
body.sol-app .mny-tab:hover { background: none; color: var(--ink-1); }
body.sol-app .mny-tab.on { background: none; color: var(--ink-1); font-weight: 600; }
body.sol-app .mny-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
body.sol-app .mny-aged .mny-age:nth-child(1) .dash-fill { background: var(--ramp-3); }
body.sol-app .mny-aged .mny-age:nth-child(2) .dash-fill { background: var(--ramp-4); }
body.sol-app .mny-aged .mny-age:nth-child(3) .dash-fill { background: var(--ramp-5); }
body.sol-app .mny-aged .mny-age:nth-child(n+4) .dash-fill { background: var(--ramp-6); }

/* ==== [mix 5 Oct] Studio x Field mix, accent GG deep blue. Contract: tools/solar/plan/design-review/LOOK-CONTRACT.md. Screen builders do not edit this block. ==== */
.sol-app { --logo-bg: var(--accent); --logo-ink: #FFFFFF; --u-soft: var(--meta); }
body.sol-app { background: var(--ground); color: var(--ink-1); font: var(--t-body); }
.sol-app .scr-title, .sol-app h1 { font: var(--t-title); letter-spacing: -.02em; }
.sol-app .late { color: var(--bad); } .sol-app .warn { color: var(--warn); } .sol-app .ok { color: var(--good); } .sol-app .err { color: var(--bad); }
/* stage zones: --stg-c is the stage hue */
.sol-app .stg-enquiry, .sol-app .stg-paperwork { --stg-c: var(--stage-1); }
.sol-app .stg-contacted, .sol-app .stg-commissioned { --stg-c: var(--stage-2); }
.sol-app .stg-survey_booked, .sol-app .stg-installed { --stg-c: var(--stage-3); }
.sol-app .stg-quote_sent, .sol-app .stg-aftercare { --stg-c: var(--stage-4); }
.sol-app .stg-accepted, .sol-app .stg-paid { --stg-c: var(--stage-5); }
.sol-app .stg-install_booked { --stg-c: var(--stage-6); }
.sol-app .stg-lost { --stg-c: var(--bad); }
.sol-app [class*="stg-"] { --stg-dot: var(--stg-c, #9A9DAA); }
.sol-app .chip[class*="stg-"] .dot { background: var(--stg-c, #9A9DAA); }
/* shell: LIGHT sidebar, white top bar */
.sol-app .sidebar { background: var(--side); color: var(--ink-1); border-right: 1px solid var(--hairline); gap: 14px; }
.sol-app .brand-name { color: var(--ink-1); }
.sol-app .nav-h { padding: 14px 12px 4px; font: 500 11px/16px var(--u-f); letter-spacing: .06em; text-transform: uppercase; color: var(--meta); }
.sol-app .navlink { min-height: 36px; color: var(--ink-2); font-weight: 500; border-radius: var(--r); }
.sol-app .navlink:hover { background: #F0F1F4; color: var(--ink-1); }
.sol-app .navlink.on { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.sol-app .navlink.on::before { left: -12px; width: 3px; height: 22px; margin-top: -11px; border-radius: 0 3px 3px 0; background: var(--accent); }
.sol-app .navlink .ic { color: currentColor; }
.sol-app .nav-n { background: var(--neutral-bg); color: var(--neutral); }
.sol-app .navlink.on .nav-n { background: var(--accent); color: #fff; }
.sol-app .side-foot { color: var(--ink-2); border-top-color: var(--hairline); }
.sol-app .avatar { background: var(--accent-tint); color: var(--accent); }
.sol-app .topbar { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--hairline); }
/* buttons: .btn default = accent; secondary/outline/ghost/destructive */
.sol-app .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--hairline-2); background: var(--card); color: var(--ink-1); font: 600 13px/1 var(--u-f); box-shadow: none; transition: background .15s, border-color .15s; }
.sol-app .btn:hover { background: var(--well); }
.sol-app .btn.primary, .sol-app .btn.default { background: var(--accent); border-color: var(--accent); color: #fff; }
.sol-app .btn.primary:hover, .sol-app .btn.default:hover { background: var(--accent-h); border-color: var(--accent-h); }
.sol-app .btn.secondary { background: var(--neutral-bg); border-color: transparent; color: var(--ink-1); } .sol-app .btn.secondary:hover { background: #E7E8EB; }
.sol-app .btn.outline { background: var(--card); border-color: var(--hairline-2); color: var(--ink-1); } .sol-app .btn.outline:hover { background: var(--well); }
.sol-app .btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); } .sol-app .btn.ghost:hover { background: var(--neutral-bg); color: var(--ink-1); }
.sol-app .btn.destructive, .sol-app .btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; } .sol-app .btn.destructive:hover, .sol-app .btn.danger:hover { background: #991B1B; }
.sol-app .btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.sol-app .btn[disabled] { opacity: .45; pointer-events: none; }
.sol-app .btn:focus-visible { box-shadow: var(--u-focus); }
/* badges / tags: tinted by default, .solid = act-now filled */
.sol-app .badge, .sol-app .tag, .sol-app .chip, .sol-app .lead-st, .sol-app .pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-chip); background: var(--neutral-bg); color: var(--neutral); font: 500 12px/1 var(--u-f); white-space: nowrap; }
.sol-app .badge.info, .sol-app .tag.info { background: var(--info-bg); color: #1D4ED8; }
.sol-app .badge.good, .sol-app .tag.good, .sol-app .pill.ok { background: var(--good-bg); color: var(--good); }
.sol-app .badge.warn, .sol-app .tag.warn, .sol-app .pill.wait, .sol-app .lead-st.warn { background: var(--warn-bg); color: var(--warn); }
.sol-app .badge.bad, .sol-app .tag.bad, .sol-app .chip.late, .sol-app .lead-st.late, .sol-app .badge.stop { background: var(--bad-bg); color: var(--bad); }
.sol-app .badge.accent { background: var(--accent-tint); color: var(--accent); }
.sol-app .badge.outline { background: var(--card); box-shadow: inset 0 0 0 1px var(--hairline-2); color: var(--ink-2); }
.sol-app .badge.solid.warn, .sol-app .tag.solid.warn { background: var(--warn); color: #fff; }
.sol-app .badge.solid.bad, .sol-app .tag.solid.bad, .sol-app .chip.late.solid { background: var(--bad); color: #fff; }
.sol-app .badge.solid.info { background: var(--info); color: #fff; } .sol-app .badge.solid.good { background: var(--good); color: #fff; }
.sol-app .badge .ic, .sol-app .tag .ic { width: 12px; height: 12px; }
/* underline tabs with counts */
.sol-app .tabs-u { display: flex; gap: 22px; border-bottom: 1px solid var(--hairline); overflow-x: auto; scrollbar-width: none; }
.sol-app .tabs-u > * { display: inline-flex; align-items: center; gap: 6px; height: 38px; color: var(--ink-2); font: 500 13.5px/1 var(--u-f); }
.sol-app .tabs-u > [aria-selected=true], .sol-app .tabs-u > .on { color: var(--ink-1); font-weight: 600; }
.sol-app .tabs-u > [aria-selected=true]::after, .sol-app .tabs-u > .on::after, .u-seg.is-tabs .u-seg-i[data-state=on]::after { background: var(--ink-1); }
.sol-app .tabs-u .n { min-width: 18px; padding: 2px 6px; border-radius: 999px; background: var(--neutral-bg); color: var(--meta); font: 500 11px/1 var(--u-f); text-align: center; }
/* segmented control */
.sol-app .seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r); background: var(--neutral-bg); }
.sol-app .seg > * { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); font: 500 13px/1 var(--u-f); }
.sol-app .seg > [aria-pressed=true], .sol-app .seg > .on { background: var(--card); color: var(--ink-1); font-weight: 600; box-shadow: 0 1px 2px rgba(11,13,18,.08), 0 0 0 1px var(--hairline); }
/* filter chips: dashed when empty, accent outline + value when set */
.sol-app .chip-f { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px dashed var(--hairline-2); border-radius: var(--r); background: var(--card); color: var(--ink-2); font: 500 13px/1 var(--u-f); cursor: pointer; }
.sol-app .chip-f:hover { background: var(--well); color: var(--ink-1); }
.sol-app .chip-f.set, .sol-app .chip-f[aria-pressed=true], .sol-app .chip-f.on { border: 1px solid var(--accent); background: var(--accent-tint); color: var(--accent); }
.sol-app .chip-f b { font-weight: 600; } .sol-app .chip-f.set b::before { content: ""; display: inline-block; width: 1px; height: 14px; margin: 0 8px -2px 0; background: currentColor; opacity: .3; }
.sol-app .chip-f.set.bad { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); }
.sol-app .chip-f .x { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: -4px; border: 0; border-radius: 4px; background: none; color: inherit; }
/* action menu + popover */
.sol-app .menu, .sol-app .popover { z-index: var(--u-z-pop); min-width: 220px; padding: 5px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-pop); box-shadow: var(--shadow-float); }
.sol-app .menu-l { padding: 6px 9px 4px; font: var(--t-label); color: var(--meta); }
.sol-app .menu-i { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 0 9px; border: 0; border-radius: 6px; background: none; color: var(--ink-1); font: 500 13.5px/1 var(--u-f); text-align: left; cursor: pointer; }
.sol-app .menu-i .ic { color: var(--ink-2); } .sol-app .menu-i:hover, .sol-app .menu-i:focus-visible { background: var(--accent-tint); color: var(--accent); box-shadow: none; } .sol-app .menu-i:hover .ic { color: var(--accent); }
.sol-app .menu-i kbd, .u-kbd { margin-left: auto; padding: 0; border: 0; background: none; color: var(--meta); font: 500 11px/1 var(--u-f); }
.sol-app .menu-sep { height: 1px; margin: 5px -5px; background: var(--hairline); }
.sol-app .menu-i.danger, .sol-app .menu-i.danger .ic { color: var(--bad); } .sol-app .menu-i.danger:hover { background: var(--bad-bg); color: var(--bad); }
.sol-app .popover { padding: 0; min-width: 240px; }
.sol-app .pop-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-bottom: 1px solid var(--hairline); color: var(--meta); }
.sol-app .pop-search input { flex: 1; border: 0; outline: 0; background: none; }
.sol-app .pop-row { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 12px; cursor: pointer; } .sol-app .pop-row:hover { background: var(--well); }
.sol-app .pop-row input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.sol-app .pop-row .n { margin-left: auto; color: var(--meta); font-size: 12px; }
.sol-app .pop-foot { padding: 8px; border-top: 1px solid var(--hairline); text-align: center; }
/* drawer (plain .drawer and the SolarUI .u-drawer share the look) */
.sol-app .drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--u-z-drawer); width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--card); border-left: 1px solid var(--hairline); box-shadow: var(--shadow-float); }
.sol-app .drawer-h { padding: 18px 20px 12px; } .sol-app .drawer-h h2 { font: 600 19px/26px var(--u-f); letter-spacing: -.01em; } .sol-app .drawer-h .sub { color: var(--meta); }
.sol-app .drawer-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.sol-app .stepper { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.sol-app .stepper > i { height: 4px; border-radius: 2px; background: var(--hairline); }
.sol-app .stepper > i.done, .sol-app .stepper > i.now { background: var(--stg-c, var(--meta)); }
.sol-app .stepper-l { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: 6px; font: var(--t-label); color: var(--meta); text-align: center; } .sol-app .stepper-l .now { color: var(--ink-1); font-weight: 600; }
.sol-app .drawer .kv, .u-drawer .kv { grid-template-columns: 110px 1fr; gap: 10px 12px; font-size: 13.5px; } .sol-app .drawer .kv dt, .u-drawer .kv dt { color: var(--meta); font-size: 13px; }
.sol-app .timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sol-app .timeline > li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.sol-app .tl-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--neutral-bg); color: var(--neutral); } .sol-app .tl-ic .ic { width: 14px; height: 14px; }
.sol-app .tl-ic.info { background: var(--info-bg); color: var(--info); } .sol-app .tl-ic.good { background: var(--good-bg); color: var(--good); } .sol-app .tl-ic.warn { background: var(--warn-bg); color: var(--warn); } .sol-app .tl-ic.bad { background: var(--bad-bg); color: var(--bad); }
.sol-app .timeline .tl-t { font-weight: 500; } .sol-app .timeline .tl-s { color: var(--meta); font-size: 12px; }
.sol-app .note-box { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--hairline-2); border-radius: var(--r); background: var(--card); color: var(--meta); }
.sol-app .note-box textarea, .sol-app .note-box input { flex: 1; border: 0; outline: 0; background: none; resize: vertical; }
/* tooltip, toast, skeleton */
.sol-app .tooltip { position: absolute; z-index: calc(var(--u-z-toast) + 1); max-width: 240px; padding: 6px 9px; border-radius: 6px; background: var(--ink-1); color: #fff; font: 500 12px/1.35 var(--u-f); box-shadow: var(--shadow-float); pointer-events: none; }
.sol-app .toast { position: fixed; left: calc(var(--side) + 24px); bottom: 24px; z-index: var(--u-z-toast); display: flex; align-items: flex-start; gap: 10px; min-width: 300px; max-width: calc(100vw - 32px); padding: 12px 14px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-pop); box-shadow: var(--shadow-float); }
.sol-app .toast-ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--good); color: #fff; flex: none; }
.sol-app .toast-t { font-weight: 600; } .sol-app .toast-s { color: var(--meta); font-size: 12.5px; }
.sol-app .toast-undo { margin-left: auto; border: 0; background: none; color: var(--accent); font-weight: 600; }
.sol-app .skeleton { display: block; height: 12px; border-radius: 4px; background: linear-gradient(90deg, #EEF0F3 0%, #F6F7F9 50%, #EEF0F3 100%) 0 0 / 200% 100%; animation: sk 1.4s ease-in-out infinite; }
.sol-app .skeleton.card { height: 84px; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sol-app .skeleton { animation: none; } }
/* figure cards (Tremor). .figure-card and the old .figures-strip > .fig share the look. Marker colour from data-tone. */
.sol-app .figure-card, .sol-app .figures-strip .fig { --fc: var(--neutral); }
/* tone must beat the strip default above (3-selector rule): repeat the tone rules at the same depth */
.sol-app .figures-strip .fig[data-tone=info], .sol-app .figure-card[data-tone=info] { --fc: var(--info); } .sol-app .figures-strip .fig[data-tone=good], .sol-app .figure-card[data-tone=good] { --fc: var(--good); } .sol-app .figures-strip .fig[data-tone=warn], .sol-app .figure-card[data-tone=warn] { --fc: var(--warn); } .sol-app .figures-strip .fig[data-tone=bad], .sol-app .figure-card[data-tone=bad] { --fc: var(--bad); }
.sol-app .figures-strip .fig[data-tone=s1], .sol-app .figure-card[data-tone=s1] { --fc: var(--stage-1); } .sol-app .figures-strip .fig[data-tone=s2], .sol-app .figure-card[data-tone=s2] { --fc: var(--stage-2); } .sol-app .figures-strip .fig[data-tone=s3], .sol-app .figure-card[data-tone=s3] { --fc: var(--stage-3); } .sol-app .figures-strip .fig[data-tone=s4], .sol-app .figure-card[data-tone=s4] { --fc: var(--stage-4); } .sol-app .figures-strip .fig[data-tone=s5], .sol-app .figure-card[data-tone=s5] { --fc: var(--stage-5); } .sol-app .figures-strip .fig[data-tone=s6], .sol-app .figure-card[data-tone=s6] { --fc: var(--stage-6); }
.sol-app [data-tone=info] { --fc: var(--info); } .sol-app [data-tone=good] { --fc: var(--good); } .sol-app [data-tone=warn] { --fc: var(--warn); } .sol-app [data-tone=bad] { --fc: var(--bad); }
.sol-app [data-tone=s1] { --fc: var(--stage-1); } .sol-app [data-tone=s2] { --fc: var(--stage-2); } .sol-app [data-tone=s3] { --fc: var(--stage-3); } .sol-app [data-tone=s4] { --fc: var(--stage-4); } .sol-app [data-tone=s5] { --fc: var(--stage-5); } .sol-app [data-tone=s6] { --fc: var(--stage-6); }
.sol-app .figures-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 20px; background: none; border: 0; border-radius: 0; overflow: visible; }
.sol-app .figure-card, .sol-app .figures-strip .fig { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 6px 8px; min-width: 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r); color: var(--ink-1); text-align: left; font: inherit; }
.sol-app .figures-strip .fig, .sol-app .figures-strip .fig:first-child { border-left: 1px solid var(--hairline); }
.sol-app .figures-strip .fig { cursor: pointer; } .sol-app .figures-strip .fig:hover { background: var(--card); border-color: var(--hairline-2); }
.sol-app .figures-strip .fig[aria-pressed=true], .sol-app .figure-card.on { background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sol-app .fc-l, .sol-app .figures-strip .fig-l { grid-column: 1; display: inline-flex; align-items: center; gap: 7px; font: var(--t-label); color: var(--ink-2); }
.sol-app .fc-l::before, .sol-app .figures-strip .fig-l::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--fc); flex: none; }
.sol-app .fc-d { grid-column: 2; grid-row: 1; justify-self: end; }
.sol-app .fc-n, .sol-app .figures-strip .fig-n { grid-column: 1; font: var(--t-fig); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sol-app .fc-spark { grid-column: 2; grid-row: 2 / span 2; align-self: end; width: 96px; height: 32px; }
.sol-app .fc-s, .sol-app .figures-strip .fig-s { grid-column: 1 / -1; font: 400 12px/16px var(--u-f); color: var(--meta); }
.sol-app .fc-s.warn, .sol-app .fig-s.warn { color: var(--warn); } .sol-app .fc-s.bad, .sol-app .fig-s.bad { color: var(--bad); } .sol-app .fc-s.good, .sol-app .fig-s.good { color: var(--good); }
.sol-app .figures-strip .fig > *:not(.fig-l):not(.fig-n):not(.fig-s):not(.fc-spark):not(.fc-d) { grid-column: 1 / -1; }
@media (max-width: 640px) { .sol-app .figures-strip { grid-template-columns: 1fr 1fr; gap: 8px; } .sol-app .figures-strip .fig:nth-child(n+3) { border-top: 1px solid var(--hairline); } .sol-app .figures-strip .fig:nth-child(odd) { border-left: 1px solid var(--hairline); } .sol-app .fc-spark { display: none; } .sol-app .toast { left: 16px; right: 16px; bottom: 78px; min-width: 0; } }
/* board: well column, 4px stage band, stage dot in header */
.sol-app .board-col { position: relative; padding: 14px 10px 10px; border: 1px solid var(--hairline); border-radius: var(--r); background: var(--well); gap: 8px; overflow: hidden; }
.sol-app .board-col::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--stg-c, var(--hairline-2)); }
.sol-app .board-col-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 6px; border-bottom: 0; font: 600 13.5px/20px var(--u-f); }
.sol-app .board-col-head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--stg-c, var(--meta)); flex: none; }
.sol-app .board-card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r); box-shadow: none; }
.sol-app .board-card:hover { border-color: var(--hairline-2); }
.sol-app .board-card.sel, .sol-app .board-card[aria-selected=true] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
/* charts: series in stage order */
.sol-app .dash-bars .bar, .sol-app .dash-bars .bar-now, .sol-app .dash-fill, .sol-app .mini-bar span, .sol-app .progress span, .sol-app .fu-bar i { fill: var(--chart-3); background: var(--chart-3); }
body.sol-app .mny-bar.mny-in, body.sol-app .mny-sw.mny-in { fill: var(--chart-3); background: var(--chart-3); }
body.sol-app .mny-bar.mny-out, body.sol-app .mny-sw.mny-out { fill: var(--chart-1); background: var(--chart-1); }
body.sol-app .mny-bar.mny-ghost.mny-in { fill: var(--chart-3); } body.sol-app .mny-bar.mny-ghost.mny-out { fill: var(--chart-1); } body.sol-app .mny-sw.mny-ghost-sw { background: var(--chart-3); }
body.sol-app .mny-tab.on::after { background: var(--ink-1); }
