/* =====================================================================
   Respar Cartoons — v4 layer
   1. Header account state   2. Dashboard shell & demo banner
   3. Tiles, cards, lists     4. Status pills, stepper, progress
   5. Threads & composer      6. Forms, persona & type cards
   7. Receipts & tables       8. Brand landing
   9. Data-driven home content (adventures / about / social)
   10. Universal section options & stack component
   11. Print
   ===================================================================== */

/* ---------- 1. Header account state ---------- */
#accountBtn { position: relative; }
#accountBtn.signed-in svg { opacity: 0; }
.acct-initial { position: absolute; inset: 5px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-brand); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: .66rem; letter-spacing: .02em; pointer-events: none; }

/* ---------- 2. Dashboard shell ---------- */
.page-dash .page-hero { padding-bottom: clamp(20px, 3vw, 34px); }
.page-dash .ph-title { font-size: clamp(1.9rem, 6vw, 3.2rem); }
.dash-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.org-chip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: rgba(255, 255, 255, .8); }
.page-dash > .container.light-body { padding-bottom: clamp(60px, 9vw, 110px); }
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 22px; padding: 12px 14px; border-radius: 18px; color: #4a3200; font-size: .84rem; line-height: 1.45;
  background: repeating-linear-gradient(-45deg, #fff4d6 0 14px, #fff0c7 14px 28px); border: 1px solid #ffd666; }
.demo-banner p { flex: 1 1 280px; margin: 0; }
.db-tag { flex: none; padding: 4px 9px; border-radius: 8px; background: #1b1035; color: var(--sun); font-family: var(--font-display); font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.db-act { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-nav .dn-sep { display: none; }
.dash-nav .dn-btn { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid #e4dbf3; background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: .86rem; cursor: pointer; }
.dash-nav .dn-btn svg.ico { width: 17px; height: 17px; }
.dash-nav .dn-btn .nu-count, .dash-nav a .nu-count { position: static; box-shadow: none; }
@media (min-width: 900px) {
  .dash-nav .dn-sep { display: block; margin: 12px 14px 4px; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
  .dash-nav .dn-btn { border: 0; border-radius: 14px; background: none; }
  .dash-nav .dn-btn:hover { background: #f6f1fd; }
  .dash-nav .dn-btn .nu-count { margin-left: auto; }
  .dash-layout { grid-template-columns: 260px minmax(0, 1fr); }
}
.dash-main { min-width: 0; display: grid; gap: 18px; align-content: start; }
.dash-main > * { margin: 0; }
.dash-main .acct-card { margin: 0; }
.dash-skel { height: 90px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dash-head .acct-h { margin: 0 0 4px; }
.dash-head p.muted { margin: 0; font-size: .9rem; max-width: 62ch; }
.dash-head p.muted a { color: var(--violet); font-weight: 700; }
.dash-head-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.link-btn.back { justify-self: start; font-weight: 700; font-size: .86rem; text-decoration: none; }
.dash-callout { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 16px; background: #f4edff; border: 1px solid #e3d5fb; font-size: .88rem; color: var(--ink); }
.dash-callout p { margin: 0; }
.dash-callout a { color: var(--violet); font-weight: 700; }
.dash-callout svg.ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--violet); }
.dash-callout.warn { background: #fff7e0; border-color: #ffe08a; } .dash-callout.warn svg.ico { color: #b77900; }
.dash-callout.bad { background: #ffeef3; border-color: #ffc2d3; } .dash-callout.bad svg.ico { color: #d61f5b; }
.signed-as { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; margin-bottom: 18px; border-radius: 16px; background: #fff; border: 1px solid #ece4f7; }
.signed-as p { margin: 0; flex: 1 1 220px; font-size: .9rem; }
.signed-as > svg.ico { width: 20px; height: 20px; color: var(--violet); }

/* ---------- 3. Tiles, cards, lists ---------- */
.dash-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1100px) { .dash-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dash-tile { --tc: var(--violet); position: relative; display: grid; gap: 2px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid #ece4f7; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease-spring), box-shadow .35s; }
.dash-tile::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: color-mix(in srgb, var(--tc) 14%, transparent); }
.dash-tile:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(27, 16, 53, .55); }
.dash-tile .dt-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: color-mix(in srgb, var(--tc) 14%, #fff); color: var(--tc); margin-bottom: 8px; }
.dash-tile .dt-ico svg { width: 18px; height: 18px; }
.dash-tile b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
.dash-tile > span:not(.dt-ico) { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.dash-tile small { font-size: .74rem; color: var(--ink-soft); }
.dash-tile.alert { border-color: color-mix(in srgb, var(--tc) 50%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 14%, transparent); }
.dash-cols { display: grid; gap: 16px; }
@media (min-width: 1100px) { .dash-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card-h h3 { margin: 0 !important; }
.acct-card h3 { display: flex; align-items: center; gap: 8px; }
.acct-card h3 + .row-list, .acct-card h4 { margin-top: 10px; }
.acct-card h4 { font-size: .86rem; margin-bottom: 6px; }
.row-list { list-style: none; margin: 0; padding: 0; display: grid; }
.row-list > li { border-top: 1px solid #f0eaf8; }
.row-list > li:first-child { border-top: 0; }
.row-list > li > a, .row-list > li:not(:has(> a)) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; color: var(--ink); text-decoration: none; }
.row-list > li > a:hover b { color: var(--violet); }
.rl-main { display: grid; gap: 2px; min-width: 0; }
.rl-main b { font-size: .92rem; overflow-wrap: anywhere; }
.rl-main small, .row-list small { color: var(--ink-soft); font-size: .78rem; }
.rl-side { display: grid; justify-items: end; gap: 4px; flex: none; text-align: right; }
.row-list.cards { gap: 10px; }
.row-list.cards > li { border: 1px solid #ece4f7; border-radius: 18px; background: #fff; }
.row-list.cards > li > a { padding: 14px 16px; }
.row-list.cards > li > a:hover { box-shadow: 0 18px 34px -28px rgba(27, 16, 53, .5); }
.group-h { font-family: var(--font-display); font-size: .95rem; margin: 6px 0 -6px; display: flex; gap: 8px; align-items: baseline; }
.group-h small { color: var(--ink-soft); font-family: var(--font-body); font-size: .78rem; }
.dot-new { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 6px; vertical-align: middle; }
.quick-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .quick-acts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qa { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none; font: inherit; font-weight: 700; font-size: .86rem; border: 0; cursor: pointer; text-align: left; transition: transform .3s var(--ease-spring); }
.qa:hover { transform: translateY(-2px); }
.qa svg.ico { flex: none; width: 18px; height: 18px; color: var(--sun); }
.action-card { border-color: #ffd0a8 !important; background: linear-gradient(180deg, #fff8f0, #fff) !important; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row .chip-btn { text-decoration: none; }
.chip-row .chip-btn.on { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.chip-row small { opacity: .7; margin-left: 2px; }
.sub-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #e9e1f6; }
.sub-tabs a { flex: none; padding: 10px 14px; font-weight: 700; font-size: .86rem; color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sub-tabs a.on { color: var(--ink); border-color: var(--coral); }
.kv { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 8px 14px; margin: 0; font-size: .88rem; }
.kv dt { color: var(--ink-soft); font-weight: 700; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv dd small { color: var(--ink-soft); }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #f4edff; font-size: .76rem; font-weight: 700; margin: 0 2px 4px 0; }
.pre { white-space: pre-wrap; margin: 0 0 12px; }
.ticks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks svg.ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #0d9488; }
.small { font-size: .8rem; }
.rel { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .86rem; }
.rel a { color: var(--violet); font-weight: 700; }
.total-row { display: flex; justify-content: space-between; padding-top: 10px; margin-top: 6px; border-top: 1px dashed #e4dbf3; }
.notif-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notif-list li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #ece4f7; }
.notif-list li.unread { border-color: #ffc2d3; background: linear-gradient(90deg, #fff4f7, #fff 40%); }
.notif-list .nl-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: #e4dbf3; }
.notif-list li.unread .nl-dot { background: var(--coral); }
.notif-list p { margin: 2px 0; font-size: .86rem; color: var(--ink-soft); }
.notif-list small { color: var(--ink-soft); font-size: .74rem; }
.purchase .pu-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.dl-list.v4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-list.v4 > li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid #ece4f7; }
.dl-list.v4 > li > div { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.dl-list.v4 .files { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; display: grid; gap: 6px; }
.dl-list.v4 .files li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #f8f4fe; font-size: .86rem; }
.dl-list.v4 .files span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.dl-list.v4 .files svg.ico { width: 15px; height: 15px; flex: none; }
.dl-list.v4 .dl-revoked, .dl-list.v4 .dl-pending { background: #fbf9fe; }
.dl-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #f4edff; color: var(--violet); }
.dl-ico svg { width: 20px; height: 20px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid #ece4f7; }
.doc-list li > div { display: grid; gap: 2px; min-width: 0; }
.doc-list li > .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 640px) { .doc-list li { grid-template-columns: 44px 1fr auto; } .doc-list li > .btn { grid-column: auto; } }
.doc-list small { color: var(--ink-soft); font-size: .78rem; }
.doc-list small a { color: var(--violet); font-weight: 700; }
[aria-disabled="true"].btn { opacity: .55; cursor: not-allowed; }
.mk-card { display: grid; gap: 14px; align-items: start; }
@media (min-width: 900px) { .mk-card { grid-template-columns: 1fr auto; } }
.danger-zone { border-color: #ffd0dc !important; }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: .9rem; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.check-row.big span { display: grid; }
.check-row small { color: var(--ink-soft); }
.topic-set { border: 0; margin: 6px 0 0; padding: 0 0 0 28px; }
.topic-set legend { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 0; margin-bottom: 2px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.guest-hero { display: grid; gap: 20px; padding: clamp(20px, 4vw, 34px); border-radius: var(--r-lg); background: #fff; border: 1px solid #ece4f7; }
@media (min-width: 900px) { .guest-hero { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.guest-hero .acct-h { margin-bottom: 8px; }
.guest-hero .row-btns { margin-top: 16px; }

/* ---------- 4. Status pills, stepper, progress ---------- */
.st-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; background: #efeaf7; color: #4b3f66; }
.st-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.st-pill.tone-ok { background: #dcfce7; color: #166534; }
.st-pill.tone-warn { background: #fff1c2; color: #8a5a00; }
.st-pill.tone-info { background: #e0f2fe; color: #075985; }
.st-pill.tone-bad { background: #ffe1ea; color: #b4123f; }
.st-pill.tone-done { background: #ede9fe; color: #5b21b6; }
.st-pill.tone-muted { background: #f1eef6; color: #6b6280; }
.stepper { list-style: none; margin: 0; padding: 4px 2px 2px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; counter-reset: s; }
.stepper li { position: relative; flex: 1 0 92px; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .72rem; color: var(--ink-soft); }
.stepper li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 3px; border-radius: 3px; background: #e9e1f6; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: linear-gradient(90deg, var(--violet), var(--coral)); }
.stepper span { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid #e4dbf3; font-weight: 800; font-size: .78rem; }
.stepper span svg { width: 14px; height: 14px; }
.stepper li.done span { background: var(--violet); border-color: var(--violet); color: #fff; }
.stepper li.now span { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 0 0 5px rgba(255, 92, 138, .2); }
.stepper li.now b { color: var(--ink); }
.stepper li.rej span { background: #b4123f; border-color: #b4123f; color: #fff; }
.stepper li.rej b { color: #b4123f; }
.stepper.is-rejected li:not(.rej) { opacity: .45; }
.progress { height: 10px; border-radius: 999px; background: #f1ebfa; overflow: hidden; margin: 6px 0 4px; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--sky), var(--violet)); transition: width .6s var(--ease-out); }
.milestones { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.milestones li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #f0eaf8; }
.milestones li:first-child { border-top: 0; }
.milestones li > div { display: grid; }
.milestones small { color: var(--ink-soft); font-size: .78rem; }
.ms-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d9cdee; color: #fff; }
.ms-dot svg { width: 12px; height: 12px; }
.ms-done .ms-dot { background: #16a34a; border-color: #16a34a; }
.ms-in-progress .ms-dot { border-color: #f59e0b; background: radial-gradient(circle, #f59e0b 40%, transparent 45%); }
.proposal.awaiting { border-color: #ffc89e !important; box-shadow: 0 0 0 4px rgba(255, 138, 61, .12), 0 30px 60px -44px rgba(27, 16, 53, .5) !important; }
.respond { display: grid; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed #e4dbf3; }
.respond label { font-weight: 700; font-size: .86rem; }
.respond label small { font-weight: 500; color: var(--ink-soft); }
.respond textarea, .composer textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #e4dbf3; font: inherit; resize: vertical; background: #fff; color: var(--ink); }
.respond textarea:focus, .composer textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
.fine { font-size: .74rem; color: var(--ink-soft); margin: 4px 0 0; }
details.hist { margin: 4px 0 8px; font-size: .82rem; }
details.hist summary { cursor: pointer; font-weight: 700; color: var(--violet); }
details.hist ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-soft); }
details.hist time { font-weight: 700; color: var(--ink); margin-right: 4px; }

/* ---------- 5. Threads & composer ---------- */
.thread { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.msg { max-width: min(560px, 92%); padding: 12px 14px; border-radius: 18px; background: #f6f2fc; justify-self: start; border-bottom-left-radius: 6px; }
.msg.mine { justify-self: end; background: var(--ink); color: #fff; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.msg.staff:not(.mine) { background: linear-gradient(135deg, #fff1f5, #f4edff); }
.msg-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: .74rem; margin-bottom: 4px; opacity: .8; }
.msg-meta time { margin-left: auto; }
.msg p { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.thread-empty { margin: 0 0 12px; }
.composer { display: grid; gap: 8px; }
.composer.invalid textarea { border-color: var(--coral); }
.composer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------- 6. Forms, personas, type cards ---------- */
.dash-form { display: grid; gap: 16px; }
.dash-form h3 { font-family: var(--font-display); font-size: 1rem; margin: 6px 0 -4px; }
.field.full { grid-column: 1 / -1; }
.field .req { color: var(--coral); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend, .field .label { font-weight: 700; font-size: .86rem; margin-bottom: 6px; padding: 0; display: block; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1.5px solid #e4dbf3; background: #fff; font-size: .82rem; font-weight: 700; transition: background .2s, border-color .2s; }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid rgba(139, 92, 246, .45); outline-offset: 2px; }
.upload-off { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 2px dashed #ddd2ef; color: var(--ink-soft); font-size: .84rem; background: #fbf9fe; }
.upload-off svg { flex: none; width: 18px; height: 18px; }
.form-status { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: .86rem; font-weight: 600; }
.form-status.ok { background: #dcfce7; color: #166534; }
.form-status.bad { background: #ffe1ea; color: #b4123f; }
.form-status svg.ico { width: 16px; height: 16px; flex: none; }
.file-btn { cursor: pointer; }
.type-grid { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.type-card { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: 20px; background: #fff; border: 2px solid #ece4f7; cursor: pointer; transition: border-color .2s, transform .3s var(--ease-spring); }
.type-card.static { cursor: default; }
.type-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-card b { font-family: var(--font-display); font-size: .92rem; }
.type-card small { color: var(--ink-soft); font-size: .8rem; }
.type-card:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .14); }
.type-card:has(input:focus-visible) { outline: 3px solid rgba(139, 92, 246, .45); outline-offset: 2px; }
.type-card:not(.static):hover { transform: translateY(-2px); }
.auth-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 980px) { .auth-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.page-auth .auth-card { margin: 0; max-width: none; }
.auth-card.demo-card { background: linear-gradient(180deg, #fffaf0, #fff); border: 1px solid #ffe5a3; }
.auth-card.wide { margin-top: 18px; }
.auth-alt { margin: 16px 0 0; font-size: .86rem; color: var(--ink-soft); }
.auth-alt a { color: var(--violet); font-weight: 700; }
.auth-alt.center { text-align: center; }
.auth-note span a { color: var(--violet); }
.personas { display: grid; gap: 8px; margin-top: 10px; }
.persona-g { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.persona-g svg { width: 14px; height: 14px; }
.persona { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; border-radius: 18px; border: 1.5px solid #ece4f7; background: #fff; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .3s var(--ease-spring), box-shadow .3s; }
.persona:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: 0 18px 30px -24px rgba(27, 16, 53, .6); }
.persona > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.persona b { font-size: .92rem; }
.persona small { font-size: .76rem; font-weight: 700; color: var(--violet); }
.persona em { font-style: normal; font-size: .76rem; color: var(--ink-soft); }
.persona > svg.ico { width: 16px; height: 16px; color: var(--ink-soft); }
.persona.off { opacity: .55; }
.persona.loading { opacity: .6; pointer-events: none; }
.avatar.sm { width: 40px; height: 40px; font-size: .86rem; }
.reg-choice { display: grid; gap: 18px; }
@media (min-width: 900px) { .reg-choice { grid-template-columns: 1fr 1fr; align-items: start; } }
.rc-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--bg); font-size: 1.6rem; margin-bottom: 12px; }
.org-head { display: flex !important; flex-wrap: wrap; align-items: center; gap: 16px; }
.org-head > div { flex: 1 1 200px; }
.org-head h3 { margin: 0 0 4px !important; }
.org-head p { margin: 0; }
.org-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--grad-cool); color: #fff; font-family: var(--font-display); font-weight: 800; overflow: hidden; flex: none; }
.org-logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.nu-count.soft { position: static; background: #efe8fa; color: var(--ink); box-shadow: none; }

/* ---------- 7. Tables & receipts ---------- */
.dash-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; border-radius: 18px; overflow: hidden; }
.dash-table th, .dash-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #f0eaf8; vertical-align: top; }
.dash-table thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: #faf7fe; }
.dash-table a { color: var(--violet); font-weight: 700; }
.dash-table select { padding: 6px 8px; border-radius: 10px; border: 1px solid #e4dbf3; font: inherit; font-size: .84rem; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid #ece4f7; }
.receipt { max-width: 720px; padding: clamp(20px, 4vw, 36px); border-radius: 24px; background: #fff; border: 1px solid #ece4f7; box-shadow: 0 30px 60px -44px rgba(27, 16, 53, .5); display: grid; gap: 18px; }
.receipt header { display: flex; align-items: center; gap: 12px; }
.receipt header svg { width: 46px; height: 46px; }
.receipt header div { display: grid; flex: 1; }
.receipt header small { color: var(--ink-soft); }
.rc-lines { width: 100%; border-collapse: collapse; font-size: .88rem; }
.rc-lines th, .rc-lines td { padding: 10px 6px; border-bottom: 1px solid #f0eaf8; text-align: left; }
.rc-lines td:nth-child(n+2), .rc-lines th:nth-child(n+2) { text-align: right; }
.rc-lines tfoot th { text-align: right; }
.rc-lines tfoot td { font-weight: 800; }
.rc-lines small { color: var(--ink-soft); }

/* ---------- 8. Brand landing ---------- */
.how-steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); counter-reset: hs; }
.how-steps li { position: relative; display: grid; gap: 4px; padding: 18px 16px; border-radius: 22px; background: #fff; border: 1px solid #ece4f7; counter-increment: hs; }
.how-steps li::after { content: counter(hs); position: absolute; top: 12px; right: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #efe7fa; }
.how-steps .hs-ico { font-size: 1.6rem; }
.how-steps b { font-family: var(--font-display); font-size: .95rem; }
.how-steps p { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.page-brand .light-body > .dash-main.solo { display: grid; gap: 18px; }
.page-brand .light-body > .dash-main.solo > .acct-h { margin: 10px 0 0; }

/* ---------- 9. Data-driven home content ---------- */
.adv-card .scene-blank { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--ac, #8b5cf6) 70%, #fff), var(--ac, #8b5cf6)); }
.adv-empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: var(--ink-soft); }
.about-art { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1; max-width: 520px; justify-self: center; width: 100%; box-shadow: var(--shadow-pop); }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-grid.no-art { grid-template-columns: 1fr !important; max-width: 820px; }
.s-card .s-desc { margin: 0; color: rgba(255, 255, 255, .72); }
.btn-social { background: var(--sc, var(--violet)); color: #fff; }
.s-preview.img-prev img { width: 100%; display: block; border-radius: 16px; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 10. Universal section options ---------- */
.section.w-narrow > .container { max-width: 920px; }
.section.w-wide > .container { max-width: 1480px; }
.section.w-full > .container { max-width: none; }
.section.al-center .section-head, .section.al-center .cs-rich, .section.al-center .stack-blocks { text-align: center; justify-items: center; margin-inline: auto; }
.section.al-center .section-head.split { flex-direction: column; align-items: center; }
.section.al-left .section-head.center { text-align: left; justify-items: start; margin-inline: 0; }
.section.hs-sm .h-section, .section.hs-sm .display.h-section { font-size: clamp(1.6rem, 4.4vw, 2.6rem); }
.section.hs-lg .h-section, .section.hs-lg .display.h-section { font-size: clamp(2.4rem, 7.4vw, 5rem); }
.section.has-bg-color { background: var(--sec-bg) !important; }
.sec-extra-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(26px, 4vw, 44px); position: relative; z-index: 2; }
.section.al-left .sec-extra-actions { justify-content: flex-start; }
.stack-blocks { display: grid; gap: clamp(16px, 2.6vw, 26px); max-width: 980px; }
.stack-blocks.al-center { margin-inline: auto; text-align: center; justify-items: center; }
.stk-quote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.8rem); line-height: 1.35; }
.stk-quote cite { display: block; margin-top: 8px; font-family: var(--font-body); font-size: .9rem; font-style: normal; opacity: .7; }
.stk-img { margin: 0; width: 100%; }
.stk-img img { width: 100%; border-radius: var(--r-lg); display: block; }
.stk-img.sz-small { max-width: 420px; } .stk-img.sz-default { max-width: 760px; }
.stk-img figcaption { margin-top: 8px; font-size: .84rem; opacity: .7; }
.stk-divider { width: 100%; height: 2px; border: 0; background: linear-gradient(90deg, transparent, currentColor, transparent); opacity: .2; margin: 0; }
.stk-spacer.sz-sm { height: 12px; } .stk-spacer.sz-md { height: 32px; } .stk-spacer.sz-lg { height: 64px; }
.stk-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-blocks.al-center .stk-btns { justify-content: center; }
.stack-blocks .cs-features { width: 100%; }

/* ---------- 11. Print (receipts) ---------- */
@media print {
  .site-header, .site-footer, .dash-nav, .demo-banner, .page-hero, .dash-head .btn, #toTop, #announce, .dash-head a { display: none !important; }
  .page { padding: 0 !important; }
  .light-body { box-shadow: none !important; background: #fff !important; }
  .receipt { box-shadow: none; border: 0; }
}
