/* Breadslice onboarding (onboard.breadslice.com), ported from the onboarding mock of 2026-11-03
   (breadslice/frontend/public/onboarding-mock/styles.css): the dashboard's palette and Lato, the
   Bubblegum wizard's shape (stepper, one card per screen, a dev screen map on the left). The mock's
   fake Google prompt and the set-aside first-event screens are not ported. */
:root {
	--accent: #8a2433; --accent-2: #6f1c29; --accent-soft: #fdf5f4; --accent-line: #eaddda;
	--ink: #2b1a1c; --muted: #8a6f72; --subtle: #b49a9c; --line: #eaddda; --canvas: #faf6f5; --panel: #fff;
	--ok: #2f7a55; --ok-soft: #eaf6ef; --warn: #a86a10; --warn-soft: #fdf4e3; --bad: #b3261e; --bad-soft: #fdecea;
	--li: #0a66c2; --g: #1a73e8;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--canvas); color: var(--ink); font: 400 15px/1.55 Lato, system-ui, sans-serif; }
h1, h2, h3 { font-weight: 900; margin: 0; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; }
a { color: var(--accent); }
[hidden] { display: none !important; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px 24px; background: rgba(250, 246, 245, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mark { font: 600 22px Lato, system-ui, sans-serif; color: var(--ink); text-decoration: none; }
.mark i { color: var(--accent); font-style: normal; }
.top .grow { flex: 1; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.who b { display: block; font-size: 14px; line-height: 1.2; }
.who small { color: var(--muted); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 900; font-size: 13px; border: 1px solid var(--accent-line); }
.devbtn { border: 1px dashed var(--subtle); background: none; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; color: var(--muted); cursor: pointer; }

/* dev screen map */
.shell { display: flex; min-height: calc(100vh - 63px); }
.devside { width: 270px; flex: none; border-right: 1px solid var(--line); background: #fff; padding: 16px 14px 40px; font-size: 13px; position: sticky; top: 63px; height: calc(100vh - 63px); overflow-y: auto; }
body:not(.dev) .devside { display: none; }
.devside h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.devside p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.devside .g { margin: 0 0 12px; }
.devside .g b { display: block; font-size: 12.5px; margin-bottom: 3px; }
.devside a { display: block; padding: 3px 8px; border-radius: 7px; color: var(--ink); text-decoration: none; }
.devside a:hover { background: var(--accent-soft); }
.devside a.on { background: var(--accent-soft); color: var(--accent); font-weight: 800; }

main { flex: 1; min-width: 0; padding: 32px 24px 80px; }
.wrap { max-width: 720px; margin: 0 auto; }
.wrap.wide { max-width: 1060px; }

/* stepper */
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.stepper li { display: flex; align-items: center; gap: 7px; flex: none; font-size: 12.5px; color: var(--muted); padding: 6px 11px 6px 6px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.stepper .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #f1e8e6; color: var(--muted); }
.stepper li.done { color: var(--ok); } .stepper li.done .n { background: var(--ok-soft); color: var(--ok); }
.stepper li.now { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 800; } .stepper li.now .n { background: var(--accent); color: #fff; }

/* card */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px 32px; box-shadow: 0 1px 2px rgba(60, 20, 25, .04); }
.eyebrow { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin-bottom: 8px; }
.card h1 { font-size: 30px; line-height: 1.15; margin-bottom: 12px; }
.card h2 { font-size: 19px; margin: 22px 0 8px; }
.card p { margin: 0 0 12px; }
.lead { font-size: 16.5px; color: #4a3437; }
.hint { color: var(--muted); font-size: 13.5px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.row + * { margin-top: 22px; } /* Wizard rule: anything under a button row gets room */
.btn { display: inline-flex; align-items: center; gap: 9px; border: 0; background: var(--accent); color: #fff; font-weight: 900; font-size: 15px; padding: 12px 22px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--accent-2); }
.btn[disabled] { opacity: .45; cursor: default; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.btn.google { background: #fff; color: #3c4043; border: 1px solid #dadce0; font-weight: 800; }
.btn.google:hover { background: #f8f9fa; }
.btn.google .gl { width: 18px; height: 18px; }
.link { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-block; margin-top: 22px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.back:hover { color: var(--accent); }

/* notes and alerts */
.note { display: flex; gap: 12px; border-radius: 14px; padding: 14px 16px; margin: 16px 0; font-size: 14.5px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.note.bad { background: var(--bad-soft); border-color: #f3c7c2; }
.note.warn { background: var(--warn-soft); border-color: #f1dcb2; }
.note.ok { background: var(--ok-soft); border-color: #cbe7d6; }
.note .i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: #fff; }
.note.bad .i { color: var(--bad); } .note.warn .i { color: var(--warn); } .note.ok .i { color: var(--ok); }
.note p { margin: 0; } .note p + p { margin-top: 6px; }
.fine { font-size: 12px; color: var(--subtle); margin-top: 8px; }
.fine code { font-size: 11.5px; }


/* address field */
.addr { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; margin-top: 8px; }
.addr:focus-within { border-color: var(--accent); }
.addr.bad { border-color: var(--bad); } .addr.ok { border-color: var(--ok); }
.addr input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 4px 13px 16px; font: 800 17px Lato, sans-serif; color: var(--ink); text-align: right; }
.addr span { padding: 13px 16px 13px 2px; font: 700 17px Lato, sans-serif; color: var(--muted); }
.fmsg { margin: 8px 0 0; font-size: 13.5px; font-weight: 700; }
.fmsg.ok { color: var(--ok); } .fmsg.bad { color: var(--bad); }
label.f { display: block; font-weight: 800; margin: 18px 0 2px; }
.txt { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font: 700 15px Lato, sans-serif; color: var(--ink); outline: 0; }
.txt:focus { border-color: var(--accent); }

/* checklist (running screens) */
.checks { list-style: none; padding: 0; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 16px; border-top: 1px solid #f3ece9; }
.checks li:first-child { border-top: 0; }
.checks .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; background: #f1e8e6; color: var(--subtle); margin-top: 1px; }
.checks li.done .ck { background: var(--ok-soft); color: var(--ok); }
.checks li.run .ck { background: #fff; border: 2.5px solid var(--accent-line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.checks li.fail .ck { background: var(--bad-soft); color: var(--bad); }
.checks li.wait .ck { background: var(--warn-soft); color: var(--warn); }
.checks b { display: block; font-size: 14.5px; }
.checks small { display: block; color: var(--muted); font-size: 13px; }
.checks li:not(.done):not(.run):not(.fail):not(.wait) b { color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 6px; border-radius: 3px; background: #f1e8e6; overflow: hidden; margin-top: 18px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .5s; }




/* live screen */
.linkbox { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--accent-line); background: var(--accent-soft); border-radius: 16px; padding: 14px 16px; margin-top: 14px; }
.linkbox code { flex: 1; font: 900 18px Lato, sans-serif; color: var(--accent); overflow-wrap: anywhere; }
.next { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.next li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.next li .grow { flex: 1; } .next li small { display: block; color: var(--muted); font-size: 13px; }
.chip { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; background: #f4eeec; color: var(--muted); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }

/* side sheet (learn more) */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet .shade { position: absolute; inset: 0; background: rgba(40, 15, 20, .3); animation: fade .2s; }
.sheet .sp { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; padding: 28px 28px 40px; overflow-y: auto; animation: slide .25s ease-out; box-shadow: -10px 0 40px rgba(40, 15, 20, .15); }
.sheet .sp h2 { font-size: 22px; margin: 0 0 12px; padding-right: 40px; }
.sheet .sp h3 { font-size: 15.5px; margin: 18px 0 4px; }
.sheet .sp p { margin: 0 0 10px; }
.x { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; font-size: 15px; color: var(--muted); }
.x:hover { color: var(--accent); border-color: var(--accent-line); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }

@media (max-width: 900px) { .devside { display: none !important; } }
@media (max-width: 560px) { main { padding: 20px 16px 60px; } .card { padding: 22px 18px 24px; } .card h1 { font-size: 25px; } .top { padding: 10px 16px; } .who span:not(.av) { display: none; } }
.card .row + * { margin-top: 22px; }
.stepper { flex-wrap: wrap; overflow: visible; }
/* the address box: sized to a name, typed left to right (2026-11-03) */
.addr { display: inline-flex; width: min(420px, 100%); }
.addr input { text-align: left; padding: 10px 2px 10px 14px; font-size: 16px; }
.addr span { padding: 10px 14px 10px 0; font-size: 16px; }
.fmsg:empty { display: none; }
.addr { cursor: text; }
.addr input { flex: 0 1 auto; field-sizing: content; min-width: 2ch; max-width: 100%; }
.addr span { flex: 1; }
/* step 4, from the Bubblegum wizard (2026-11-03) */
.choices { display: grid; gap: 10px; margin: 18px 0 0; }
.choice { display: block; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 15px 18px; cursor: pointer; }
.choice:hover { border-color: var(--accent); background: var(--accent-soft); }
.choice .t { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 16px; }
.choice .d { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.tag { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 2px 8px; }
.callout { background: #faf6f5; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 14px; margin: 14px 0; }
.perm { margin: 8px 0 0; padding-left: 20px; } .perm li { margin: 4px 0; }
.ack { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 14.5px; margin-top: 14px; cursor: pointer; }
.ack input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.steps { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; }
.steps .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 900; font-size: 13px; }
.steps small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.steps code, .callout code, .note code { font-size: 12.5px; background: #f4eeec; border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pid { max-width: 420px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.btn .gl { width: 18px; height: 18px; flex: none; }
.btn:not(.google) .gl { width: 22px; height: 22px; padding: 3px; background: #fff; border-radius: 50%; }
.optlist { list-style: none; padding: 0; margin: 6px 0 4px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.optlist li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 16px; border-top: 1px solid #f3ece9; font-weight: 700; }
.optlist li:first-child { border-top: 0; }
.optlist .link { flex: none; font-size: 14px; }

/* dev: account picker (links to the backend's fake Google) */
.acctpick { display: grid; gap: 4px; margin: 6px 0 18px; }
.acctpick a { display: block; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; color: var(--ink); text-decoration: none; }
.acctpick a b { display: block; font-size: 12.5px; } .acctpick a small { color: var(--muted); font-size: 11.5px; }
.acctpick a:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn.google .gl, .btn .gl { width: 18px; height: 18px; flex: none; }
.btn:not(.google) .gl { width: 22px; height: 22px; padding: 3px; background: #fff; border-radius: 50%; }
.loading { display: grid; place-items: center; min-height: 50vh; color: var(--muted); }
img.av { object-fit: cover; padding: 0; }
/* sign out (2026-11-03) */
.outbtn { border: 0; background: none; color: var(--muted); font: 700 13px Lato, sans-serif; cursor: pointer; padding: 4px 6px; margin-left: 2px; }
.outbtn:hover { color: var(--accent); text-decoration: underline; }
.pop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.pop .shade { position: absolute; inset: 0; background: rgba(40, 15, 20, .35); animation: fade .2s; }
.pop .pbox { position: relative; width: min(480px, 100%); background: #fff; border-radius: 20px; padding: 26px 28px 28px; box-shadow: 0 24px 60px rgba(40, 15, 20, .25); animation: slide .2s ease-out; }
.pop .pbox h2 { font-size: 22px; margin: 0 0 12px; }
.pop .pbox p { margin: 0 0 10px; }
/* the preview of Google's request on step 1 (2026-11-03) */
.gask { border: 1px solid #dadce0; border-radius: 14px; background: #fff; padding: 16px 20px; margin: 4px 0 8px; max-width: 520px; font-family: Roboto, Arial, sans-serif; color: #1f1f1f; }
.gask-h { margin: 0 0 12px; font-size: 17px; font-family: 'Google Sans', Roboto, Arial, sans-serif; }
.gask-h b { color: #0b57d0; font-weight: 500; }
.gask-row { display: flex; align-items: flex-start; gap: 16px; font-size: 15px; }
.gask-row img { flex: none; }

/* closer to Google's own (2026-11-03 comparison): plain white, small icon, narrow text, info icon */
.gask { border: 0; border-radius: 4px; max-width: 460px; padding: 22px 28px 26px; }
.gask-h { font: 400 19px/1.3 'Google Sans', Roboto, Arial, sans-serif !important; margin: 0 0 20px !important; }
.gask-row { gap: 18px; font-size: 16px; line-height: 1.55; align-items: flex-start; }
.gask-row img { margin-top: 3px; }
.gask-row span { flex: 1; max-width: 300px; }
.gask-i { flex: none; width: 21px; height: 21px; border-radius: 50%; border: 1.8px solid #0b57d0; color: #0b57d0; display: grid; place-items: center; font: 700 12px Georgia, serif; margin: 3px 0 0 auto; }
.gask { border: 1px solid #dadce0; border-radius: 8px; }
.gask-h b { font-weight: 700; } .gask { box-shadow: 0 1px 2px rgba(60, 64, 67, .12), 0 6px 18px -6px rgba(60, 64, 67, .22); }
/* stepper on one line (2026-11-03): wider than the card, centred over it, scrolling sideways only on
   a screen too narrow for all seven steps */
.stepper { flex-wrap: nowrap; overflow-x: auto; width: max-content; max-width: calc(100vw - 32px); position: relative; left: 50%; transform: translateX(-50%); gap: 4px; }
