/* G Flow on Rightway's dashboard styles: small additions only. */
.top-inner img.top-logo { width: auto; height: 26px; max-width: 96px; object-fit: contain; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast.is-error { background: rgba(179, 38, 30, .88); }
.page-wide { max-width: 1280px; }
.saved-state:empty { display: none; }
.staff-list li { padding: 12px 0; }
.staff-row { display: grid; gap: 10px; }
.staff-row > div:first-child { display: grid; gap: 2px; }
.staff-acts { display: flex; gap: 16px; flex-wrap: wrap; }
.push-cta { margin: 6px 0 14px; }
.gf .sec { padding: 22px 18px 24px; }
.set-group .gf .grid { display: grid; gap: 12px; }
html.dark .gf { --bg: transparent; }
@media (min-width: 820px) { .home-cols > section:only-child { grid-column: 1 / -1; } }
.top-inner img.top-g { width: auto; height: 28px; }
html.dark .g-mark { filter: invert(1); }
/* Core / Pro screens */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 15px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--black, #111); }
.gf-form .field { display: block; margin-bottom: 12px; }
.gf-form fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.gf-form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-form .chips label { display: inline-flex; }
.gf-form .chips input { position: absolute; opacity: 0; pointer-events: none; }
.gf-form .chips span { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.gf-form .chips input:checked + span { background: var(--black, #111); color: var(--white, #fff); border-color: transparent; }
.gf-form .chips input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(70px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.bars .bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .bb { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bars .bb i { display: block; height: 100%; border-radius: 6px; background: var(--black, #111); transition: width .5s ease; }
.bars .bv { font-variant-numeric: tabular-nums; color: var(--muted, #666); }
.figs small { display: block; font-size: 12px; margin-top: 4px; }
.figs small.up { color: #1f8a4c; } .figs small.down { color: #b3261e; }
.today-extra { margin-top: 8px; }
.sheet .gf-form { padding-bottom: 12px; }
.sheet .gf-form .label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.sheet .gf-form .help { display: block; font-size: 13px; color: var(--muted, #666); margin-bottom: 6px; }
.search input[type="date"] { min-width: 0; }

/* ---- Stage 2: setup guide and billing ---- */
.wiz { display: grid; gap: 14px; }
.wiz-bar { height: 8px; border-radius: 99px; background: var(--line, #e5e5ea); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; background: var(--brand, #111); border-radius: inherit; transition: width .3s; }
.wiz-progress p { margin: 6px 0 0; }
.wiz-dots { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.wiz-dots a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; text-decoration: none; color: inherit; border: 1px solid var(--line, #e5e5ea); }
.wiz-dots .done a { background: var(--mist, #f2f2f6); }
.wiz-dots .on a { background: var(--brand, #111); color: var(--on-brand, #fff); border-color: transparent; }
.wiz-body { background: var(--card, #fff); border-radius: 18px; padding: 18px 16px; border: 1px solid var(--line, #e5e5ea); }
.wiz-body h2 { margin: 0 0 8px; font-size: 22px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: sticky; bottom: 76px; padding: 8px 0; }
.wiz-list { padding-left: 20px; } .wiz-list li { margin: 4px 0; }
.wiz-logo { min-height: 90px; display: grid; place-items: center; background: var(--mist, #f2f2f6); border-radius: 14px; margin: 12px 0; padding: 12px; }
.wiz-logo img { max-height: 80px; max-width: 100%; }
.wiz-colours { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wiz-colours input[type=color] { width: 100%; height: 52px; border: 1px solid var(--line, #e5e5ea); border-radius: 12px; padding: 4px; background: none; }
.wiz-swatch { display: flex; gap: 8px; margin: 6px 0 10px; } .wiz-swatch span { color: #fff; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.wiz-svcs { list-style: none; padding: 0; margin: 0 0 12px; }
.wiz-add, .wiz-bo { display: grid; gap: 8px; grid-template-columns: 1fr auto; align-items: end; }
.wiz-bo { grid-template-columns: 1fr 1fr; } .wiz-bo .btn { grid-column: 1 / -1; } .wiz-bo .field:nth-of-type(3) { grid-column: 1 / -1; }
.wiz-preview { border: 1px solid var(--line, #e5e5ea); border-radius: 14px; overflow: hidden; height: 520px; }
.wiz-preview iframe { width: 100%; height: 100%; border: 0; }
.wiz-check { list-style: none; padding: 0; } .wiz-check li { padding: 6px 0; } .wiz-check li.ok { color: var(--ok, #1a7f37); }
.bill-head h2 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--mist, #f2f2f6); }
.pill.ok { background: #e3f6e8; color: #1a7f37; } .pill.warn { background: #fff4d6; color: #8a5a00; } .pill.err { background: #fde8e8; color: #b42318; }
.bill-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.bill-facts div { background: var(--mist, #f2f2f6); border-radius: 12px; padding: 10px 12px; } .bill-facts dt { font-size: 13px; opacity: .7; } .bill-facts dd { margin: 2px 0 0; font-weight: 600; }
.bill-inv li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 10px 0; }
html.dark .wiz-body { background: #1c1c1e; border-color: #2c2c2e; }
html.dark .pill.ok { background: #12351d; color: #7ee2a0; } html.dark .pill.warn { background: #3a2e0b; color: #ffd66b; } html.dark .pill.err { background: #3d1414; color: #ff9b9b; }

/* Stage 4: inputs visible on white cards */
.gf .input, .gf .textarea { border-color: var(--line); }
/* Stage 4: comfortable tap targets on phones */
.gf .filter > button, .gf .btn.sm, .gf .btn-quiet { min-height: 40px; }
/* Stage 4 (re-check): list rows inside grey boxes get side padding so text doesn't touch the edge */
.gf .rows > li { padding-left: 14px; padding-right: 14px; }
