/* Application shell — dashboard, admin, onboarding only. Mobile first. */
.fz .dash { display:grid; grid-template-columns:minmax(0,1fr); min-height:calc(100vh - var(--header-h)); color:var(--text); }
.fz .side-nav { position:sticky; top:var(--header-h); z-index:25; min-width:0; background:var(--white); border-bottom:1px solid var(--line); align-self:start; }
.fz .tab-strip { display:flex; gap:8px; padding:8px 16px 0; overflow-x:auto; scrollbar-width:none; }
.fz .tab-strip a { display:flex; flex-shrink:0; gap:8px; align-items:center; padding:12px; font-size:14px; font-weight:500; white-space:nowrap; border-bottom:2px solid transparent; }
.fz .tab-strip a[aria-current=page] { color:var(--ink); font-weight:600; border-color:var(--accent); }
.fz .tab-strip a:hover { background:var(--paper); color:var(--ink); }
.fz .tab-strip svg { width:20px; height:20px; stroke-width:1.65; flex-shrink:0; }
.fz .nav-group,.fz .side-account { display:none; }
.fz .dash-content { min-width:0; width:100%; max-width:1184px; padding:24px 16px 48px; margin:0 auto; }
.fz .page-head { display:flex; align-items:start; flex-wrap:wrap; justify-content:space-between; gap:16px; margin-bottom:24px; }
.fz .page-head h1 { font-size:24px; line-height:1.25; letter-spacing:-.5px; font-weight:700; }
.fz .page-head p { font-size:15px; color:var(--muted); margin-top:8px; }
.fz #vendor-content { display:grid; gap:24px; min-width:0; overflow-wrap:anywhere; }
.fz #vendor-content>h2 { display:none; }
.fz .dash h2,.fz #wizard h2 { font-size:18px; font-weight:600; line-height:1.3; letter-spacing:-.2px; margin:0 0 16px; }
.fz .dash h3 { font-size:16px; font-weight:600; letter-spacing:0; line-height:1.35; }
.fz .dash p { font-size:14px; }
.fz .dash .card { margin:0; min-width:0; }
.fz .dash form:not(.profile-form):has(>.field) { background:var(--white); padding:20px; border:1px solid var(--line); border-radius:var(--radius-l); }
.fz .dash .field,.fz #wizard .field { font-size:13px; font-weight:600; color:var(--ink); }
.fz :is(.dash,#wizard) :is(input,textarea,select) { max-width:100%; min-width:0; font-size:15px; font-weight:400; }
.fz :is(.dash,#wizard) .field :is(input,select,textarea) { min-height:44px; border:1px solid var(--line); border-radius:var(--radius); background:var(--white); padding:12px; }
.fz :is(.dash,#wizard) textarea { resize:vertical; min-height:140px; }
.fz :is(.dash,#wizard) fieldset { border:0; min-width:0; }
.fz .status-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.fz .stat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.fz .stat { padding:20px; border:1px solid var(--line); border-radius:var(--radius-l); background:white; box-shadow:var(--shadow-1); min-width:0; }
.fz .stat>p { color:var(--muted); font-size:13px; }
.fz .stat>strong { display:block; font-size:28px; font-weight:700; line-height:1.2; letter-spacing:-.5px; font-variant-numeric:tabular-nums; margin-top:12px; }
.fz .stat .stat-caption { margin-top:8px; font-size:12px; font-weight:400; }
.fz .usage-grid { display:grid; gap:20px; }
.fz .usage-item p { display:flex; justify-content:space-between; gap:8px; font-size:13px; color:var(--muted); margin-bottom:8px; }
.fz .usage-item progress { appearance:none; display:block; width:100%; height:6px; border:0; border-radius:6px; overflow:hidden; background:var(--paper); color:var(--accent); }
.fz .usage-item progress::-webkit-progress-bar { background:var(--paper); }
.fz .usage-item progress::-webkit-progress-value { background:var(--accent); border-radius:6px; }
.fz .usage-item progress::-moz-progress-bar { background:var(--accent); }
.fz .usage-item .near-limit::-webkit-progress-value { background:var(--warn); }
.fz .usage-item .near-limit::-moz-progress-bar { background:var(--warn); }
.fz .card-head { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.fz .card-head h2 { margin:0; }
.fz .flash--warn { background:var(--warn-soft); color:var(--warn); }
.fz .flash--warn a { text-decoration:underline; }
.fz .table { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--white); }
.fz .table-head { display:none; }
.fz .table-row { display:grid; gap:12px; align-items:start; padding:20px; border-bottom:1px solid var(--line); font-size:13px; min-width:0; }
.fz .table-row:last-child { border-bottom:0; }
.fz .table-row .badge { width:max-content; font-size:12px; }
.fz .table-row p { font-size:13px; }
.fz .table-row h3 { font-size:14px; }
.fz .table-actions { display:flex; gap:8px; flex-wrap:wrap; }
.fz .table-row form { min-width:0; }
.fz .table-row form .field { margin-bottom:8px; }
.fz .table-row form:has(>.field) { border:0; padding:0; }
.fz .table-row img { width:72px; height:56px; object-fit:cover; border-radius:8px; }
.fz .table-row .btn { font-size:12px; padding:8px 12px; }
.fz .profile-form { display:grid; gap:16px; }
.fz .profile-form>h2 { display:none; }
.fz .mobile-save { position:sticky; bottom:0; z-index:15; padding:12px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-2); }
.fz .mobile-save .btn { width:100%; }
.fz .dash .media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:24px; }
.fz .dash .media-card { padding:12px; }
.fz .dash .media-card img { width:100%; height:140px; object-fit:cover; border-radius:8px; }
.fz .dash .media-card .btn { font-size:12px; padding:8px; margin-top:8px; }
.fz .dash .dashboard-nav { display:flex; flex-wrap:wrap; gap:12px; font-size:13px; }
.fz .analytics-chart svg { width:100%; height:auto; fill:var(--accent); }
.fz .chart-dates { display:flex; justify-content:space-between; font-size:12px; color:var(--muted); }
.fz .plan-grid { display:grid; gap:16px; }
.fz .plan-grid p { margin:12px 0; }
.fz .choices__inner { background:var(--white); border-color:var(--line); min-height:44px; }
.fz .choices__list--dropdown { background:var(--white); border-color:var(--line); box-shadow:var(--shadow-2); }
.fz .choices__list--dropdown .choices__item--selectable.is-highlighted { background:var(--paper); }
.fz .filepond--panel-root { background:var(--paper); }
.fz #wizard { padding:24px 0 48px; width:min(760px,calc(100% - 32px)); }
.fz #wizard h1 { font-size:24px; letter-spacing:-.5px; }
.fz .wizard-progress { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); list-style:none; margin:24px 0; gap:0; }
.fz .wizard-progress li { position:relative; text-align:center; color:var(--muted); min-width:0; }
.fz .wizard-progress li::before { content:''; position:absolute; height:1px; background:var(--line); left:0; right:0; top:14px; }
.fz .wizard-progress li:first-child::before { left:50%; }
.fz .wizard-progress li:last-child::before { right:50%; }
.fz .wizard-progress span { display:grid; place-items:center; width:28px; height:28px; margin:0 auto 8px; border:1px solid var(--line); border-radius:50%; background:white; position:relative; font-size:12px; }
.fz .wizard-progress .is-complete span { background:var(--accent); color:white; border-color:var(--accent); }
.fz .wizard-progress small { display:block; font-size:10px; line-height:1.3; overflow-wrap:anywhere; }
.fz #wizard .wizard-card { padding:20px; }
.fz #wizard .card-head p { margin:0; color:var(--muted); font-size:13px; }
.fz #wizard form>.btn:last-child { margin:16px 0 0 auto; width:auto; display:flex; background:var(--accent); color:white; }
.fz #wizard .btn--ghost { width:auto; }
.fz #wizard [data-photo-setup] { margin-bottom:20px; }
@media(min-width:640px) {
 .fz .dash-content { padding:24px 24px 48px; }
 .fz .usage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .fz .dash .media-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .fz .plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .fz .wizard-progress small { font-size:12px; }
 .fz #wizard .wizard-card { padding:24px; }
}
@media(min-width:900px) {
 .fz .dash { grid-template-columns:240px minmax(0,1fr); }
 .fz .side-nav { height:calc(100vh - var(--header-h)); display:flex; flex-direction:column; border-right:1px solid var(--line); border-bottom:0; padding:24px 16px; }
 .fz .tab-strip { display:block; padding:0; overflow-y:auto; flex:1 1 auto; min-height:0; }
 .fz .tab-strip a { height:auto; min-height:36px; white-space:normal; line-height:1.35; padding:8px 12px; margin-bottom:4px; border:0; border-radius:var(--radius-s); font-size:14px; }
 .fz .tab-strip a[aria-current=page] { background:var(--paper); }
 .fz .tab-strip svg { width:16px; height:16px; }
 .fz .nav-group { display:block; font-size:11px; font-weight:700; letter-spacing:1.25px; text-transform:uppercase; color:var(--muted); padding:16px 12px 12px; }
 .fz .nav-group:first-child { padding-top:0; }
 .fz .side-account { display:grid; gap:12px; border-top:1px solid var(--line); margin-top:auto; padding:20px 12px 0; overflow-wrap:anywhere; font-size:13px; }
 .fz .side-account .badge { width:max-content; }
 .fz .side-account a { display:flex; gap:8px; align-items:center; }
 .fz .side-account svg { width:16px; height:16px; }
 .fz .side-account .btn { padding:0; min-height:36px; }
 .fz .dash-content { padding:32px; }
 .fz .page-head h1 { font-size:30px; line-height:1.2; }
 .fz .stat-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .fz .stat>strong { font-size:32px; }
 .fz .dash h2 { font-size:20px; }
 .fz .card { padding:24px; }
 .fz .table-head,.fz .table-row { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1.5fr) minmax(0,.8fr) minmax(0,1.2fr); gap:16px; padding:16px; align-items:center; }
 .fz .table-head { background:var(--paper); color:var(--muted); font-size:11px; text-transform:uppercase; font-weight:600; }
 .fz .team-table .table-row { grid-template-columns:1fr 1fr 1fr auto; }
 .fz .shared-table .table-row { grid-template-columns:80px 1fr; }
 .fz .admin-vendor-row { grid-template-columns:1fr 1fr 1fr 1fr; }
 .fz .admin-promo-row { grid-template-columns:1fr 1fr 1fr 2fr; }
 .fz .mobile-save { position:static; box-shadow:none; border:0; padding:0; background:transparent; }
 .fz .mobile-save .btn { width:auto; }
}
@media(min-width:1190px) { .fz .dash .media-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }

.fz .wizard-actions { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:24px; }
.fz #wizard .wizard-actions .btn { width:auto; }
.fz .wizard-actions>.btn:last-child { margin-left:auto; }
.fz .wizard-actions svg { width:16px; height:16px; stroke-width:1.65; }
.fz #wizard .setup-fields legend { font-size:16px; }
@media(min-width:900px) { .fz .moderation-table .table-row { grid-template-columns:80px minmax(0,1fr) minmax(0,1fr) minmax(0,2fr); } }
/* Phase 18: availability. */
:root .fz .availability-add { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; align-items:end; margin-top:16px; }
:root .fz .lock { width:15px; height:15px; color:var(--ink); stroke:var(--ink); stroke-width:3; vertical-align:-2px; margin-right:5px; flex-shrink:0; }
/* Owner redesign 2026-10-29 (Dashboard redesign, Vendor Details): text sidebar, breadcrumb, cards, switches, chips, save bar. */
:root .fz .page-head .page-crumb { font-size:13px; color:var(--muted); margin:0 0 6px; }
:root .fz .side-who { display:flex; gap:10px; align-items:center; }
:root .fz .side-avatar { width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:13px; font-weight:600; flex:none; }
:root .fz .side-who > span:last-child { display:flex; flex-direction:column; line-height:1.25; min-width:0; }
:root .fz .side-who small { color:var(--muted); font-size:12px; }
@media(min-width:900px) {
  :root .fz .side-nav { background:transparent; border-right:0; }
  :root .fz .tab-strip a { color:var(--text); font-weight:400; padding:9px 12px; border-radius:8px; }
  :root .fz .tab-strip a:hover { background:#e7eaf0; color:var(--ink); }
  :root .fz .tab-strip a[aria-current=page] { background:var(--white); color:var(--ink); font-weight:600; box-shadow:0 1px 2px rgba(16,24,40,.06); }
}
:root .fz .details-page { display:flex; gap:40px; align-items:flex-start; }
:root .fz .details-main { flex:1; min-width:0; max-width:760px; display:flex; flex-direction:column; gap:20px; }
:root .fz .details-progress { display:flex; align-items:center; gap:12px; font-size:13px; color:var(--muted); }
:root .fz .details-progress progress { appearance:none; flex:1; max-width:280px; height:6px; border:0; border-radius:3px; background:var(--line); overflow:hidden; }
:root .fz .details-progress progress::-webkit-progress-bar { background:var(--line); }
:root .fz .details-progress progress::-webkit-progress-value { background:var(--ink); }
:root .fz .details-progress progress::-moz-progress-bar { background:var(--ink); }
:root .fz .details-toc { display:none; }
@media(min-width:1200px) {
  :root .fz .details-toc { display:flex; flex-direction:column; gap:4px; width:180px; flex:none; position:sticky; top:calc(var(--header-h) + 32px); font-size:13px; }
  :root .fz .details-toc p { font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:0 10px 8px; margin:0; }
  :root .fz .details-toc a { padding:6px 10px; border-left:2px solid var(--line); color:var(--muted); }
  :root .fz .details-toc a:hover { border-color:var(--ink); color:var(--ink); }
}
:root .fz .dash-card { background:var(--white); border:1px solid var(--line); border-radius:14px; padding:20px; display:flex; flex-direction:column; gap:20px; min-width:0; scroll-margin-top:calc(var(--header-h) + 16px); }
@media(min-width:640px) { :root .fz .dash-card { padding:28px; } }
:root .fz .dash-card header h2 { margin:0 0 4px; font-size:18px; }
:root .fz .dash-card header p { margin:0; font-size:14px; color:var(--muted); line-height:1.5; }
:root .fz .switch-list { border:1px solid var(--line); border-radius:10px; }
:root .fz .switch-row:first-child { border-radius:10px 10px 0 0; } :root .fz .switch-row:last-child { border-radius:0 0 10px 10px; } :root .fz .switch-row:only-child { border-radius:10px; }
:root .fz .switch-row { display:flex; align-items:center; gap:16px; padding:14px 16px; cursor:pointer; font-size:15px; font-weight:400; color:var(--ink); }
:root .fz .switch-row + .switch-row { border-top:1px solid var(--line); }
:root .fz .switch-row:hover { background:var(--paper); }
:root .fz .switch-row > label { min-width:0; cursor:pointer; }
:root .fz .switch-row > button.tip { margin-right:auto; }
:root .fz .dash input.switch { appearance:none; width:40px; height:24px; min-height:0; padding:0; margin:0; border:0; border-radius:12px; background:#cfd4dc; position:relative; cursor:pointer; flex:none; transition:background .15s; }
:root .fz .dash input.switch::after { content:''; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.2); transition:left .15s; }
:root .fz .dash input.switch:checked { background:var(--ink); }
:root .fz .dash input.switch:checked::after { left:19px; }
:root .fz .dash input.switch:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
:root .fz .fact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; }
:root .fz .fact-grid .field { margin:0; }
:root .fz .chip-group { border:0; padding:0; margin:0; min-width:0; }
:root .fz .chip-group legend { font-size:13px; font-weight:600; color:var(--ink); padding:0; margin-bottom:10px; }
:root .fz .chip-group > div { display:flex; flex-wrap:wrap; gap:10px; }
:root .fz .chip-opt { position:relative; }
:root .fz .dash .chip-opt input { position:absolute; opacity:0; width:1px; height:1px; min-height:0; }
:root .fz .chip-opt span { display:inline-flex; align-items:center; min-height:40px; padding:0 18px; border-radius:20px; border:1px solid #cfd4dc; background:var(--white); color:var(--ink); font-size:14px; font-weight:400; cursor:pointer; }
:root .fz .chip-opt input:checked + span { background:var(--ink); border-color:var(--ink); color:#fff; }
:root .fz .chip-opt input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }
:root .fz .dash-card--pro { background:#eceef2; border-color:transparent; }
:root .fz .pro-head { display:flex; flex-wrap:wrap; gap:16px; align-items:flex-start; justify-content:space-between; }
:root .fz .pro-head > div { flex:1; min-width:220px; }
:root .fz .pro-badge { display:inline-flex; font-size:11px; font-weight:600; letter-spacing:.08em; background:var(--ink); color:#fff; border-radius:4px; padding:3px 7px; margin-bottom:10px; }
:root .fz .locked-grid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:8px; }
:root .fz .locked-grid li { background:var(--white); border-radius:8px; padding:12px 14px; display:flex; align-items:center; gap:10px; font-size:14px; color:var(--text); }
:root .fz .save-bar { position:sticky; bottom:0; z-index:15; padding:16px 0 24px; background:linear-gradient(transparent,var(--paper) 30%); }
:root .fz .save-bar > div { background:var(--ink); color:#fff; border-radius:12px; padding:12px; display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
:root .fz .save-state { flex:1 1 100%; font-size:14px; color:#a3a8b3; padding-left:8px; }
:root .fz .save-bar[data-saved] .save-state--clean { color:#fff; }
:root .fz .save-state--dirty, :root .fz form[data-dirty] .save-state--clean { display:none; }
:root .fz form[data-dirty] .save-state--dirty { display:block; color:#fff; }
:root .fz .dash :is(.save-discard,.save-submit) { flex:1; height:40px; min-height:40px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border-radius:8px; font-size:14px; opacity:.45; width:auto; }
:root .fz .dash .save-discard { border:1px solid #4b5160; color:#fff; }
:root .fz .dash .save-submit { border:0; background:#fff; color:var(--ink); font-weight:600; cursor:pointer; }
:root .fz .dash form[data-dirty] :is(.save-discard,.save-submit) { opacity:1; }
@media(min-width:640px) { :root .fz .save-state { flex:1 1 auto; } :root .fz .dash :is(.save-discard,.save-submit) { flex:none; } }
:root .fz #terms-form textarea { min-height:240px; }
/* Field tooltips and guide links: a ? after each label; on phones the text docks at the bottom of the screen. */
:root .fz .field-label { display:inline-flex; align-items:center; flex-wrap:wrap; }
:root .fz button.tip { position:relative; display:inline-grid; place-items:center; width:18px; height:18px; min-height:0; padding:0; margin:0 0 0 6px; border:1px solid #c3c8d1; border-radius:50%; background:var(--white); color:var(--muted); font-size:11px; font-weight:700; line-height:1; vertical-align:2px; cursor:help; flex:none; }
:root .fz .tip:is(:hover,:focus-visible) { color:var(--ink); border-color:var(--ink); }
:root .fz .tip::after { content:attr(data-tip); display:none; position:fixed; z-index:40; left:16px; right:16px; bottom:16px; padding:10px 12px; border-radius:10px; background:var(--ink); color:#fff; font-size:13px; font-weight:400; line-height:1.45; text-align:left; letter-spacing:0; text-transform:none; white-space:normal; box-shadow:0 8px 24px rgba(16,24,40,.25); }
:root .fz .tip:is(:hover,:focus)::after { display:block; }
@media(min-width:640px) { :root .fz .tip::after { position:absolute; left:-8px; right:auto; bottom:calc(100% + 8px); width:max-content; max-width:280px; font-size:12px; } }
:root .fz .doc-link { display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:500; color:var(--muted); white-space:nowrap; }
:root .fz .doc-link:hover { color:var(--ink); text-decoration:underline; }
:root .fz .doc-link svg { width:14px; height:14px; }
:root .fz .page-head .doc-link { margin-top:8px; }
:root .fz .dash-card header .card-head { margin-bottom:4px; }
/* Documentation: dashboard shell, article cards, pager. */
:root .fz .docs-article .dash-card { gap:12px; }
:root .fz .docs-article :is(p,li) { font-size:15px; line-height:1.65; color:var(--text); }
:root .fz .docs-article h2 { margin:0; }
:root .fz .docs-article ul { margin:0; padding-left:20px; display:grid; gap:6px; }
:root .fz .page-crumb a:hover { color:var(--ink); text-decoration:underline; }
:root .fz .docs-pager { display:flex; gap:12px; }
:root .fz .docs-pager a { flex:1; max-width:50%; min-width:0; display:flex; flex-direction:column; gap:2px; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:var(--white); font-weight:600; color:var(--ink); }
:root .fz .docs-pager a:hover { border-color:var(--ink); }
:root .fz .docs-pager small { font-size:12px; font-weight:400; color:var(--muted); }
:root .fz .docs-pager .docs-next { margin-left:auto; text-align:right; }
