.brand-editor[hidden], .brand-recovery[hidden], .brand-editor [hidden] { display:none !important; }
.user-menu-actions-vertical [hidden] { display:none !important; }
.mc-primary.create-bio-cta { background:var(--cta); color:#fff; }
.mc-primary.create-bio-cta:hover { background:var(--cta-hover); }
.mc-primary.create-bio-cta:active { background:#07489a; }
.mc-primary.create-bio-cta:focus-visible { outline:3px solid #0a66d9; outline-offset:3px; }
.brand-use-card { margin:16px 0; }
body.editor-view .hero > #brandEditor { display:block !important; width:100%; }
body.editor-view .hero > #brandEditor[hidden] { display:none !important; }
.brand-editor { max-width:1200px; margin:0 auto; color:var(--text); text-align:left; }
.brand-editor.is-choosing-audience > .brand-workspace,
.brand-editor.is-choosing-audience > .brand-mobile-tabs,
.brand-editor.is-choosing-audience .brand-editor-actions { display:none !important; }
.brand-audience-choice { padding:24px; border:1px solid #dfe4d8; border-radius:20px; background:#fff; overflow-y:auto; min-height:0; }
.brand-audience-choice h2 { margin:0 0 8px; font-size:26px; letter-spacing:-.03em; }
.brand-audience-choice > p { font-size:1rem; color:#626b5b; line-height:1.6; }
.brand-audience-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0; }
.brand-audience-options button { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:10px; padding:24px; border:1px solid #d9e1d3; border-radius:18px; background:#f9fbf6; color:#243b2c; font:inherit; cursor:pointer; }
.brand-audience-options button:hover { border-color:#42654c; background:#f0f5e9; }
.brand-audience-options strong { font-size:23px; }
.brand-audience-options span:not(.brand-audience-icon), .brand-audience-options small { font-size:.9375rem; line-height:1.6; }
.brand-audience-options b { font-size:.9375rem; margin-top:auto; padding-top:10px; }
.brand-audience-icon { font-size:30px; }
.brand-audience-summary { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; background:#f1f5ec; font-size:.9375rem; margin-bottom:16px; }
.brand-profile-next { width:100%; margin-top:20px; border-radius:12px; }
.brand-suggestions { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0; }
.brand-suggestions:empty { display:none; }
.brand-suggestions p { flex-basis:100%; }
.brand-suggestions button { max-width:100%; overflow-wrap:anywhere; font-size:.875rem; text-align:left; }
.brand-suggestions button small { display:inline-block; margin-left:4px; padding:2px 6px; border-radius:4px; background:#eeebf7; color:#51436e; font-size:.875rem; }
@media(max-width:600px) { .brand-audience-options { grid-template-columns:1fr; } .brand-audience-choice { padding:18px; } .brand-audience-options button { padding:18px; } }
.brand-editor-head, .brand-editor-actions, .brand-link-tools, .brand-upload-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.brand-editor-head { justify-content:space-between; margin:0 0 24px; }
.brand-editor .brand-editor-head h1 { font-family:inherit; font-weight:600; }
.brand-editor #brandChangePurpose { border:0; background:none; padding:0; color:#52644f; font:inherit; font-size:.875rem; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.brand-palette-picker { min-width:0; border:0; padding:0; margin:20px 0 0; }
.brand-palette-picker legend { padding:0; font-size:.9375rem; font-weight:600; }
.brand-palette-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:10px; margin-top:10px; }
.brand-palette-card { position:relative; border:1px solid #dcd7d0; border-radius:12px; background:#fff; padding:8px; color:#36332f; font:inherit; font-size:.9375rem; cursor:pointer; }
.brand-palette-card[aria-pressed=true] { border-color:#365b45; box-shadow:0 0 0 2px #365b45; }
.brand-palette-shades { display:flex; height:40px; overflow:hidden; border-radius:6px; margin-bottom:8px; border:1px solid var(--brand-line); }
.brand-palette-shades span { flex:1; background:var(--brand-bg); }
.brand-palette-shades span:nth-child(2) { background:var(--brand-card); }
.brand-content-goal { margin-top:24px; padding-top:20px; border-top:1px solid #e5e3e9; }
.brand-imported-colour { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0 0 24px; padding:16px; border:1px solid #e5e3e9; border-radius:14px; background:#faf9fc; }
.brand-imported-swatch { width:36px; height:36px; border:1px solid #0002; border-radius:10px; flex:none; }
.brand-imported-colour > div { flex:1; min-width:140px; }
.brand-imported-colour strong, .brand-imported-colour code { display:block; }
.brand-imported-colour code { margin-top:4px; font-size:.9375rem; }
.brand-imported-colour .brand-hint { margin:4px 0 0; }
.brand-imported-colour .brand-status { flex-basis:100%; margin:0; }
.brand-imported-colour .brand-status:empty { display:none; }
.brand-palette-shades span:nth-child(3) { background:var(--brand-ink); }
.brand-colour-styles .brand-palette-shades span:nth-child(3) { background:var(--brand-action); }
.brand-colour-styles { grid-template-columns:repeat(4,minmax(0,1fr)); }
.brand-colour-styles-title { font-size:.9375rem; font-weight:600; margin:18px 0 0; }
.brand-more-colours { margin-top:20px; }
.brand-more-colours summary { cursor:pointer; font-size:.9375rem; padding:12px 0; }
.brand-palette-check { visibility:hidden; margin-left:6px; color:#365b45; }
.brand-palette-card[aria-pressed=true] .brand-palette-check { visibility:visible; }
.brand-shade-grid { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:5px; margin:10px 0 16px; }
.brand-shade { min-width:0; padding:0; border:1px solid #0003; border-radius:5px; cursor:pointer; font-size:18px; }
.brand-shade span { visibility:hidden; }
.brand-shade[aria-pressed=true] { outline:2px solid #365b45; outline-offset:2px; }
.brand-shade[aria-pressed=true] span { visibility:visible; }
.brand-custom-colour { display:grid; grid-template-columns:90px minmax(0,1fr); align-items:end; gap:16px; }
.brand-custom-colour input[type=color] { height:46px; padding:4px; cursor:pointer; }
.brand-page :is(a,button):focus-visible { outline-color:var(--brand-ink); }
.brand-page .brand-hint { color:inherit; }
.brand-consent { margin-top:20px; font:400 .85rem/1.5 system-ui,sans-serif; text-align:left; color:var(--brand-ink); }
.brand-consent-settings { border:0; background:transparent; color:inherit; text-decoration:underline; cursor:pointer; padding:8px 0; font:inherit; }
.brand-consent-dialog { padding:14px; border:1px solid currentColor; border-radius:12px; }
.brand-consent-dialog[hidden] { display:none; }
.brand-consent-dialog p { margin:0 0 10px; }
.brand-consent-dialog label { display:block; margin:8px 0; }
.brand-consent-dialog button { min-height:42px; margin:10px 8px 0 0; padding:8px 14px; border:1px solid currentColor; border-radius:8px; background:transparent; color:inherit; cursor:pointer; font:inherit; }
@media(max-width:480px) { .brand-shade-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media(max-width:600px) { .brand-colour-styles { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.brand-analytics { width:100%; min-width:0; }
.brand-analytics [hidden] { display:none !important; }
.brand-analytics h1 { font-size:28px; letter-spacing:-.03em; margin:20px 0 6px; }
.brand-analytics h2 { margin:0 0 6px; font:600 1.125rem var(--ui-font,system-ui,sans-serif); color:#252d40; }
.brand-analytics label, .ba-page-picker label { display:block; font-size:.875rem; font-weight:600; margin:0 0 6px; color:#394259; }
.brand-analytics input, .brand-analytics select, .ba-page-picker select { width:100%; min-width:0; min-height:46px; box-sizing:border-box; border:1px solid #dce1ec; border-radius:10px; padding:11px; background:#fff; color:#252d40; font:inherit; font-size:.9375rem; }
.brand-analytics :is(button,input,select,a,summary,.ba-table-wrap):focus-visible, .ba-page-picker select:focus-visible { outline:3px solid #5a76ca; outline-offset:3px; }
.brand-analytics button, .brand-analytics .brand-secondary { min-height:44px; }
.ba-page-picker { display:flex; align-items:center; gap:16px; padding:16px; border:1px solid #e3e7f0; border-radius:16px; background:#f7f9fd; }
.ba-page-picker label { flex-shrink:0; margin:0; }
.ba-page-picker select { flex:1; }
.ba-filters { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:14px; align-items:end; margin:16px 0; padding:16px; border:1px solid #e3e7f0; border-radius:16px; background:#fff; }
.ba-filters > div { min-width:0; }
.brand-analytics .ba-filters :is(input,select) { height:46px; min-height:46px; margin:0; }
.ba-filters button { margin:0; min-height:46px; padding:10px 16px; border-radius:10px; font-size:.9375rem; }
.ba-filters #baExport { border-color:#dce1ec; color:#394259; white-space:nowrap; }
.ba-filters .ba-custom-dates { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; grid-column:1 / -1; align-items:end; gap:14px; padding-top:14px; border-top:1px solid #e8ecf3; }
.ba-filter-note { grid-column:1 / -1; margin:0; color:#626b80; font-size:.875rem; line-height:1.5; }
.brand-analytics .brand-error:empty { display:none; }
.brand-analytics #baStatus { margin:12px 0 16px; color:#626b80; font-size:.875rem; line-height:1.6; }
.brand-analytics #baRetry { margin-bottom:16px; }
.ba-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:16px 0 20px; }
.ba-metrics > div { padding:18px; border:1px solid #e3e7f0; border-radius:16px; background:#f1f5ff; }
.ba-metrics > div:nth-child(2) { background:#f4f1fb; }
.ba-metrics > div:nth-child(3) { background:#eef7f5; }
.ba-metrics > div:nth-child(4) { background:#faf4ed; }
.ba-metrics span { display:block; color:#45516a; font-size:.875rem; font-weight:600; }
.ba-metrics strong { display:block; color:#252d40; font-size:28px; margin:8px 0; overflow-wrap:anywhere; }
.ba-metrics small { display:block; color:#626b80; font-size:.875rem; line-height:1.5; }
.ba-tabs { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 20px; padding-bottom:12px; border-bottom:1px solid #e3e7f0; }
.ba-tabs button { padding:10px 16px; border:1px solid transparent; border-radius:10px; background:transparent; color:#626b80; font:600 .9375rem var(--ui-font,system-ui,sans-serif); cursor:pointer; }
.ba-tabs button:hover { background:#f2f5fa; }
.ba-tabs button[aria-pressed=true] { background:#eaf0ff; border-color:#d6e2ff; color:#234a9a; }
.brand-analytics .brand-section { min-width:0; margin:0 0 16px; padding:20px; border:1px solid #e3e7f0; border-radius:16px; background:#fff; }
.ba-overview-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:16px; }
.ba-legend { display:flex; flex-wrap:wrap; gap:16px; color:#626b80; font-size:.875rem; }
.ba-legend > span { display:flex; align-items:center; gap:6px; }
.ba-top-links { padding:0; margin:12px 0 0; list-style:none; }
.ba-top-links li { display:flex; align-items:center; gap:10px; padding:16px 0; border-bottom:1px solid #edf0f6; }
.ba-top-links li:last-child { border-bottom:0; }
.ba-rank { display:grid; place-items:center; flex:0 0 28px; height:28px; border-radius:8px; background:#eef2fb; color:#50638c; font-size:.875rem; }
.ba-top-title { flex:1; min-width:0; overflow-wrap:anywhere; color:#394259; font-size:.9375rem; line-height:1.5; }
.ba-top-links strong { flex-shrink:0; color:#252d40; text-align:right; font-size:1.125rem; }
.ba-top-links strong small { display:block; color:#626b80; font-size:.875rem; font-weight:400; }
.ba-empty { padding:18px; margin:0 0 16px; border:1px solid #dce5f4; border-radius:14px; background:#f5f8ff; color:#394259; }
.ba-empty p, .ba-empty-copy { color:#626b80; font-size:.9375rem; line-height:1.6; }
.ba-empty p { margin:6px 0 0; }
.ba-product-detail { margin-top:18px; border-top:1px solid #e3e7f0; padding-top:8px; }
.ba-next-step { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin:16px 0; font-size:.9375rem; }
.ba-demo-filter { max-width:400px; margin:20px 0; }
.ba-chart { display:flex; height:170px; gap:3px; align-items:stretch; border-bottom:1px solid #dcd7d0; margin-top:20px; }
.ba-chart-day { flex:1; min-width:0; display:flex; align-items:end; gap:1px; }
.ba-chart-day span { flex:1; background:#426851; border-radius:3px 3px 0 0; }
.ba-chart-day span + span { background:#839fc4; }
.ba-chart-dates { display:flex; justify-content:space-between; color:var(--muted); font-size:.875rem; margin:8px 0 16px; }
.ba-key { display:inline-block; width:10px; height:10px; border-radius:3px; }
.ba-key-visits { background:#426851; }
.ba-key-clicks { background:#839fc4; }
.ba-table-wrap { overflow-x:auto; max-width:100%; margin-top:12px; }
.ba-table { width:100%; border-collapse:collapse; text-align:left; font-size:.9375rem; }
.ba-table th, .ba-table td { padding:12px 10px; border-bottom:1px solid #edf0f6; vertical-align:top; }
.ba-table thead th { color:#626b80; background:#f8f9fc; font-size:.875rem; font-weight:600; }
.ba-table tbody th { font-weight:500; overflow-wrap:anywhere; min-width:120px; max-width:240px; }
.ba-breakdowns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ba-breakdowns .brand-section { min-width:0; }
.ba-campaign-form { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ba-campaign-form p, .ba-campaign-form button { grid-column:1 / -1; }
.ba-campaign-form button { justify-self:start; }
.brand-analytics details p { font-size:.9375rem; line-height:1.7; color:var(--muted); }
.brand-analytics summary { min-height:44px; box-sizing:border-box; padding:12px 0; cursor:pointer; font-size:.9375rem; font-weight:600; color:#394259; }
#baCampaignUrl { margin-bottom:12px; }
@media(max-width:760px) {
  .ba-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ba-breakdowns, .ba-campaign-form { grid-template-columns:1fr; }
  .ba-overview-grid { grid-template-columns:1fr; }
  .ba-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ba-filters #baExport { grid-column:1 / -1; justify-self:start; }
  .ba-filters .ba-custom-dates { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ba-custom-dates button { grid-column:1 / -1; justify-self:start; }
  .brand-analytics .brand-section { padding:16px; }
}
@media(max-width:420px) {
  .ba-page-picker { display:block; }
  .ba-page-picker label { margin-bottom:6px; }
  .ba-filters, .ba-filters .ba-custom-dates { grid-template-columns:minmax(0,1fr); }
  .ba-metrics { gap:8px; }
  .ba-metrics > div { padding:12px; }
  .ba-metrics strong { font-size:24px; }
  .ba-tabs { gap:4px; }
  .ba-tabs button { padding:10px; font-size:.875rem; }
}
.brand-editor h1 { font-size:30px; letter-spacing:-.03em; margin:8px 0; }
.brand-editor-head p, .brand-hint { color:var(--muted); font-size:.9375rem; line-height:1.6; margin:6px 0; }
.brand-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.65fr); align-items:start; gap:28px; }
.brand-edit-panel { display:flex; flex-direction:column; min-height:0; }
.brand-section-nav { display:flex; gap:4px; padding:6px; border:1px solid #e1e4dc; border-radius:14px; background:#fff; margin-bottom:12px; flex-shrink:0; scrollbar-width:thin; }
.brand-section-nav button { flex:1; min-width:0; padding:10px 6px; border:0; border-radius:9px; color:#5c6459; background:transparent; font:inherit; font-size:.875rem; cursor:pointer; }
.brand-section-nav button[aria-selected=true] { background:#263c2d; color:#fff; font-weight:600; }
.brand-section-scroll { min-height:0; }
.brand-section-scroll > .brand-section { margin-bottom:0; }
@media(min-width:761px) {
  body.editor-view:has(#brandEditor:not([hidden])) .page-shell { max-width:1280px; box-sizing:border-box; padding:16px 28px; }
  body.editor-view:has(#brandEditor:not([hidden])) .topbar { flex-shrink:0; width:100%; margin:0 0 8px; padding-bottom:8px; }
  body.editor-view:has(#brandEditor:not([hidden])) .hero { display:block; width:100%; max-width:1200px; box-sizing:border-box; }
  body.editor-view:has(#brandEditor:not([hidden])) .site-footer { display:none; }
  .brand-editor-head { flex-shrink:0; margin-bottom:8px; }
  .brand-editor .brand-editor-head h1 { font-size:24px; }
  .brand-editor-head p { margin:2px 0; }
  .brand-editor > .brand-status:empty { display:none; }
  .brand-editor > .brand-error, .brand-editor > .brand-status { max-height:15vh; overflow-y:auto; }
  .brand-section-nav { position:sticky; top:12px; z-index:2; }
  .brand-workspace > .brand-preview-panel { position:sticky; top:24px; display:flex; flex-direction:column; height:min(800px,calc(100dvh - 48px)); box-sizing:border-box; }
  .brand-preview-panel .brand-live-preview { flex:1; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; width:100%; min-height:0; box-sizing:border-box; margin:0 auto; }
  .brand-preview-label { flex-shrink:0; }
}
@media(min-width:761px) and (max-height:700px) {
  .brand-editor .brand-editor-head h1 { font-size:20px; margin:4px 0; }
  body.editor-view:has(#brandEditor:not([hidden])) #backNav { margin-bottom:4px; }
}
.brand-edit-panel { min-width:0; }
.brand-section { background:#fff; border:1px solid var(--light-line); border-radius:18px; padding:22px; margin-bottom:16px; }
.brand-section h2 { font-size:19px; margin:0 0 16px; }
.brand-section > summary { cursor:pointer; font-size:19px; font-weight:600; }
.brand-editor label:not(.brand-check) { display:block; font-size:.9375rem; font-weight:600; margin:14px 0 6px; }
.brand-editor input:not([type=checkbox]):not([type=file]), .brand-editor textarea, .brand-editor select { width:100%; min-width:0; box-sizing:border-box; border:1px solid #dcd7d0; border-radius:10px; padding:12px; color:var(--text); background:#fff; font:inherit; font-size:1rem; }
.brand-editor textarea { resize:vertical; min-height:80px; }
.brand-editor :is(button,a,input,select,textarea):focus-visible, .brand-page :is(a,button):focus-visible { outline:3px solid var(--brand-ink, #50715e); outline-offset:3px; }
.brand-editor button { min-height:44px; }
.mc-actions [hidden] { display:none !important; }
.brand-upload-actions label.brand-secondary { position:relative; min-height:44px; box-sizing:border-box; }
.brand-file-input { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.brand-upload-actions label:focus-within { outline:3px solid #50715e; outline-offset:3px; }
.brand-secondary { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 13px; border:1px solid #dcd7d0; border-radius:10px; background:#fff; color:#36332f; cursor:pointer; font:inherit; font-size:.9375rem; text-decoration:none; }
.brand-secondary:hover { background:#f5f3ee; }
.brand-check { display:inline-flex; align-items:center; gap:6px; font-size:.875rem; min-height:44px; }
.brand-check input { accent-color:#365b45; }
.brand-upload-actions img { width:48px; height:48px; object-fit:cover; border-radius:9px; }
.brand-link-editor { padding:16px; margin:12px 0; border:1px solid #e6e1d9; border-radius:12px; background:#fbfaf8; }
.brand-link-editor legend { padding:0 6px; font-size:.9375rem; font-weight:600; }
.brand-drag-handle { display:inline-flex; align-items:center; justify-content:center; width:28px; height:44px; cursor:grab; touch-action:none; user-select:none; }
.brand-drag-handle svg { width:16px; height:24px; pointer-events:none; }
.brand-reorder-item { border:1px solid #dfe6e0; border-radius:16px; margin:12px 0; background:#fff; }
.brand-order-tools { display:flex; align-items:center; gap:8px; padding:4px 10px; background:#f3f7f3; border-radius:16px 16px 0 0; }
.brand-order-position { flex:1; font-size:.875rem; color:#52645b; }
.brand-order-tools .brand-secondary { width:44px; min-width:44px; min-height:44px; padding:0; border-radius:9px; }
.brand-order-tools button svg { width:20px; height:20px; }
.brand-order-tools button:disabled { opacity:.4; cursor:not-allowed; }
.brand-reorder-item .brand-content-item { margin:0; border:0; border-radius:0 0 16px 16px; border-top:1px solid #e7ece8; }
.brand-reorder-item .brand-content-item > summary { padding:12px; }
.brand-reorder-item.is-dragging { opacity:.55; }
#brandLinkEditors.is-reordering, #brandLinkEditors.is-reordering * { cursor:grabbing; user-select:none; }
.brand-reorder-item.brand-drop-before { box-shadow:0 -4px 0 #34794b; }
.brand-reorder-item.brand-drop-after { box-shadow:0 4px 0 #34794b; }
.brand-order-status:empty { display:none; }
@media(max-width:480px) { .brand-order-tools .brand-drag-handle { display:none; } }
.brand-link-tools { margin-top:10px; gap:6px; }
.brand-link-tools button { padding:7px 9px; font-size:.875rem; }
.brand-link-tools [data-link-action=delete] { color:#8c2929; margin-left:auto; }
.brand-content-section { padding:24px; }
.brand-editor-content-tabs { display:flex; gap:12px; border-bottom:1px solid #e8e7e4; margin:0 0 18px; }
.brand-editor-content-tabs button { position:relative; border:0; background:none; padding:12px 14px; color:#65655f; font:inherit; font-size:1rem; cursor:pointer; }
.brand-editor-content-tabs button[aria-selected=true] { color:#151a16; font-weight:600; }
.brand-editor-content-tabs button[aria-selected=true]::after { content:''; position:absolute; bottom:-1px; left:0; right:0; height:4px; background:#19291f; border-radius:4px; }
.brand-editor-content-tabs span { display:inline-grid; place-items:center; min-width:22px; height:22px; border-radius:999px; background:#f0f1ed; font-size:.875rem; margin-left:5px; }
.brand-content-actions { display:flex; gap:10px; margin:16px 0 12px; }
.brand-content-actions > button { flex:1; border-radius:999px; font-size:1rem; min-height:48px; }
.brand-content-primary { background:#18251d; color:#fff; border:1px solid #18251d; font:inherit; cursor:pointer; padding:12px; }
.brand-content-primary:hover { background:#2b4233; }
.brand-content-actions button:disabled { opacity:.5; cursor:not-allowed; }
.brand-shop-visibility { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; margin:16px 0; background:#edf0e7; border-radius:18px; }
.brand-shop-visibility strong { font-size:1rem; }
.brand-shop-visibility p { font-size:.875rem; line-height:1.6; margin:5px 0 0; color:#505b4c; }
.brand-editor label.brand-switch { position:relative; display:flex; align-items:center; margin:0; width:44px; height:44px; flex-shrink:0; cursor:pointer; }
.brand-switch input { position:absolute; inset:0; margin:0; opacity:0; width:100%; height:100%; cursor:pointer; }
.brand-switch span { position:relative; display:block; width:44px; height:26px; border-radius:99px; background:#7b8175; pointer-events:none; }
.brand-switch span::after { content:''; display:block; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:#fff; }
.brand-switch input:checked + span { background:#315b40; }
.brand-switch input:checked + span::after { left:21px; }
.brand-switch:focus-within { outline:3px solid #50715e; outline-offset:4px; border-radius:99px; }
.brand-content-item { border:1px solid #e5e5e0; border-radius:20px; margin:12px 0; background:#fff; overflow:hidden; }
.brand-content-item > summary { display:flex; align-items:center; gap:12px; padding:16px; cursor:pointer; list-style:none; min-height:64px; box-sizing:border-box; }
.brand-content-item > summary::-webkit-details-marker { display:none; }
.brand-content-item > summary > img, .brand-item-placeholder { width:46px; height:46px; border-radius:12px; object-fit:cover; flex-shrink:0; }
.brand-item-placeholder { display:grid; place-items:center; background:#f1f3ed; color:#365b45; font-size:24px; }
.brand-item-summary { flex:1; min-width:0; }
.brand-item-summary strong, .brand-item-summary small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.brand-item-summary strong { font-size:1rem; }
.brand-item-summary small { color:#687064; font-size:.875rem; margin-top:5px; }
.brand-item-edit { font-size:.875rem; color:#46604b; }
.brand-item-done-label, .brand-content-item[open] .brand-item-edit-label { display:none; }
.brand-content-item[open] .brand-item-done-label { display:inline; }
.brand-content-item[open] > summary { border-bottom:1px solid #eceee8; }
.brand-content-item .brand-link-editor { margin:12px; background:#fafbf8; }
.brand-item-finish { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:16px; padding-top:16px; border-top:1px solid #dfe6e0; }
.brand-item-finish p { flex:1 1 180px; margin:0; color:#52645b; font-size:.875rem; line-height:1.6; }
.brand-item-finish .brand-secondary { margin-left:auto; background:#315b40; border-color:#315b40; color:#fff; }
.brand-item-finish .brand-secondary:hover { background:#244830; }
.brand-content-empty { padding:32px 18px; text-align:center; border:1px dashed #daddd2; border-radius:18px; margin:16px 0; }
.brand-content-empty strong { font-size:1rem; }
.brand-content-empty p { font-size:.9375rem; line-height:1.6; color:#687064; margin-bottom:0; }
.brand-collection-form { background:#f6f7f2; border:1px solid #e2e5d9; padding:16px; border-radius:16px; margin:12px 0; }
@media(max-width:480px) { .brand-content-section { padding:16px; } .brand-content-actions { gap:8px; } .brand-content-actions > button { font-size:.875rem; padding:10px 8px; } }
.brand-preview-panel { position:sticky; top:20px; min-width:0; }
.brand-preview-label { text-align:center; font-size:.875rem; color:var(--muted); margin:0 0 10px; }
.brand-live-preview { border:1px solid #e5dfd6; border-radius:28px; overflow:hidden; box-shadow:0 16px 50px #24201c0b; max-width:420px; margin:auto; }
.brand-live-preview .brand-page { min-height:500px; }
.brand-status { font-size:.9375rem; line-height:1.6; color:var(--muted); margin:8px 0; overflow-wrap:anywhere; }
.brand-error { color:#922e2e; font-size:1rem; line-height:1.6; }
.brand-error:empty { display:none; }
.brand-recovery { background:#f0f5ee; border:1px solid #c9d7c7; padding:18px; border-radius:14px; margin-bottom:20px; }
.brand-recovery p { font-size:1rem; line-height:1.6; }
.brand-mobile-tabs { display:none; }
.brand-page, .brand-colours { --brand-bg:#f3f5ef; --brand-ink:#223c2d; --brand-card:#fff; --brand-line:#d8e1d5; }
.brand-page { background:var(--brand-bg); color:var(--brand-ink); min-height:70vh; padding:20px 24px 32px; box-sizing:border-box; text-align:center; overflow-wrap:anywhere; }
:is(.brand-page,.brand-colours)[data-palette=sand] { --brand-bg:#f5eee4; --brand-ink:#503d29; --brand-line:#e4d7c7; }
:is(.brand-page,.brand-colours)[data-palette=rose] { --brand-bg:#f8edf1; --brand-ink:#693748; --brand-line:#e8ced8; }
:is(.brand-page,.brand-colours)[data-palette=ocean] { --brand-bg:#edf3fa; --brand-ink:#274865; --brand-line:#cedeea; }
:is(.brand-page,.brand-colours)[data-palette=ink] { --brand-bg:#20262c; --brand-ink:#f4f3ef; --brand-card:#303840; --brand-line:#515d68; }
:is(.brand-page,.brand-colours)[data-palette=coastal] { --brand-bg:#f2f7fd; --brand-ink:#1450aa; --brand-card:#fff; --brand-line:#5590d9; --brand-accent:#02a4d3; }
.brand-page[data-theme=brand] .brand-link { border-radius:24px; }
.brand-page[data-theme=creator] .brand-cover { height:290px; }
.brand-page-top { display:flex; justify-content:flex-end; max-width:580px; margin:0 auto 16px; }
.brand-cover { display:block; width:calc(100% + 48px); max-width:none; height:200px; object-fit:cover; margin:-20px -24px 24px; }
.brand-avatar { width:88px; height:88px; border-radius:50%; object-fit:cover; margin:0 auto 16px; display:grid; place-items:center; background:var(--brand-card); border:1px solid var(--brand-line); font-size:30px; font-weight:600; }
.brand-page h1, .brand-page h2.brand-name { font-family:inherit; font-size:28px; line-height:1.2; letter-spacing:-.035em; margin:0 auto 12px; max-width:580px; color:inherit; }
.brand-bio { max-width:440px; font-size:1rem; line-height:1.65; margin:0 auto 18px; white-space:pre-line; }
.brand-socials { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; max-width:580px; margin:32px auto 4px; }
.brand-socials a { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; border:1px solid var(--brand-line); background:var(--brand-card); color:inherit; text-decoration:none; transition:transform .15s, box-shadow .15s; }
.brand-socials a:hover { transform:translateY(-2px); box-shadow:0 6px 14px #0000000f; }
.brand-socials svg { width:20px; height:20px; }
.brand-links { display:flex; flex-direction:column; gap:12px; max-width:580px; margin:24px auto; }
.brand-link-group { display:flex; flex-direction:column; gap:12px; }
.brand-link-group[hidden] { display:none !important; }
.brand-link { display:flex; align-items:center; gap:14px; min-height:68px; padding:14px 18px; border:1px solid var(--brand-line); border-radius:14px; background:var(--brand-card); color:inherit; text-decoration:none; font-size:1rem; font-weight:600; line-height:1.4; box-sizing:border-box; transition:transform .15s, box-shadow .15s; }
.brand-link:hover { transform:translateY(-2px); box-shadow:0 6px 18px #0000000c; }
.brand-link-title { flex:1; text-align:left; }
.brand-link img { width:48px; height:48px; object-fit:cover; border-radius:10px; flex-shrink:0; }
.brand-link.featured { min-height:86px; border:2px solid currentColor; }
.brand-link small { display:block; margin-bottom:4px; font-size:.875rem; text-transform:uppercase; letter-spacing:.12em; font-weight:500; }
.brand-attribution { display:inline-block; color:inherit; font-size:.875rem; text-decoration:none; padding:12px; margin-top:16px; opacity:.8; }
body.brand-public .topbar, body.brand-public .site-footer, body.brand-public #backNav { display:none !important; }
body.brand-public .page-shell { max-width:none; padding:0; }
body.brand-public #publicPreview { margin:0; padding:0; border:0; max-width:none; border-radius:0; background:none; box-shadow:none; }
.brand-published-preview { max-width:680px; margin:auto; border-radius:20px; overflow:hidden; }
.brand-preview-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:16px; background:#fff; border:1px solid #e2ded6; border-radius:12px; margin-bottom:16px; }
@media(max-width:760px) {
  .brand-workspace { grid-template-columns:minmax(0,1fr); }
  .brand-section-nav { flex-wrap:nowrap; overflow-x:auto; }
  .brand-section-nav button { flex:1 0 auto; }
  .brand-preview-panel { position:static; display:none; }
  .brand-mobile-tabs { display:flex; gap:8px; margin-bottom:16px; }
  .brand-mobile-tabs button { flex:1; }
  .brand-mobile-tabs button[aria-pressed=true] { background:#263c2d; color:#fff; }
  .brand-editor.is-preview .brand-edit-panel { display:none; }
  .brand-editor.is-preview .brand-preview-panel { display:block; }
  .brand-editor-head { align-items:flex-start; }
  .brand-editor-actions { width:100%; }
  .brand-editor-actions > button { flex:1; justify-content:center; }
  .brand-section { padding:16px; }
  .brand-editor h1 { font-size:26px; }
}
@media(prefers-reduced-motion:reduce) { .brand-link { transition:none; } .brand-link:hover { transform:none; } }

.brand-page[data-theme=studio] { position:relative; isolation:isolate; padding-bottom:40px; }
.brand-page[data-theme=studio] > :not(.brand-background,.page-style-backdrop) { position:relative; }
.brand-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.12; z-index:-1; pointer-events:none; }
.brand-page[data-theme=studio][data-pattern=grid] { background-image:linear-gradient(90deg,transparent 31px,color-mix(in srgb,var(--brand-ink) 7%,transparent) 32px),linear-gradient(transparent 31px,color-mix(in srgb,var(--brand-ink) 7%,transparent) 32px); background-size:32px 32px; }
.brand-page[data-theme=studio][data-pattern=dots] { background-image:radial-gradient(color-mix(in srgb,var(--brand-ink) 16%,transparent) 1px,transparent 1px); background-size:18px 18px; }
.brand-page[data-theme=studio][data-font=editorial] .brand-name,
.brand-page[data-theme=studio][data-font=editorial] .brand-link-heading { font-family:Georgia,'Times New Roman',serif; font-weight:500; }
.brand-page[data-theme=studio][data-font=rounded] { font-family:'Trebuchet MS',Verdana,sans-serif; }
.brand-page[data-theme=studio] .brand-name { font-size:clamp(34px,6vw,52px); letter-spacing:-.045em; max-width:580px; }
.brand-page[data-theme=studio] .brand-bio { font-size:1rem; max-width:400px; }
.brand-page[data-theme=studio] .brand-avatar { width:96px; height:96px; box-shadow:0 6px 24px #0000000a; }
.brand-page[data-theme=studio] .brand-link { border-radius:20px; padding:12px; box-shadow:0 4px 16px #00000005; }
.brand-page[data-theme=studio] .brand-link-title { text-align:center; }
.brand-page[data-theme=studio] .brand-link img { width:52px; height:52px; border-radius:12px; }
.brand-page[data-theme=studio][data-card-style=glass] .brand-link { background:var(--brand-card); background:color-mix(in srgb,var(--brand-card) 88%,transparent); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
.brand-content-tabs { display:flex; gap:6px; max-width:300px; margin:24px auto; padding:5px; background:var(--brand-card); border:1px solid var(--brand-line); border-radius:999px; }
.brand-content-tabs button { flex:1; min-height:44px; padding:10px 24px; border:0; border-radius:999px; font:inherit; font-size:1rem; font-weight:600; color:inherit; background:transparent; cursor:pointer; }
.brand-content-tabs button[aria-pressed=true] { background:var(--brand-action,var(--brand-ink)); color:var(--brand-action-ink,var(--brand-bg)); box-shadow:0 2px 6px #00000012; }
.brand-page .brand-link-heading { margin:20px 4px 2px; font-size:23px; line-height:1.3; color:inherit; text-align:left; }
.brand-page .brand-link.brand-media-card { display:flex; flex-direction:column; gap:0; padding:0; overflow:hidden; position:relative; }
.brand-page .brand-link.brand-media-card img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:0; }
.brand-media-card .brand-link-title { padding:18px 42px; align-self:stretch; }
.brand-media-card > span:last-child { position:absolute; right:18px; bottom:19px; }
.brand-play-icon { position:absolute; top:20px; left:20px; width:44px; height:44px; display:grid; place-items:center; background:#fff; color:#15251d; border-radius:50%; box-shadow:0 4px 16px #0003; font-size:1.125rem; }
.brand-visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:480px) { .brand-page[data-theme=studio] { padding-left:18px; padding-right:18px; } .brand-page[data-theme=studio] .brand-cover { width:calc(100% + 36px); margin-left:-18px; margin-right:-18px; } }
.brand-page[data-palette=coastal] .brand-link { border-color:var(--brand-line); border-top:3px solid var(--brand-accent); box-shadow:0 6px 20px #1450aa0a; }
.brand-editor .brand-optional-settings.brand-import { margin:0 0 20px; padding:16px 18px; border:1px solid #e5e3e9; border-radius:16px; background:#fff; }
.brand-editor .brand-import > summary { gap:10px; min-height:36px; }
.brand-editor .brand-import > summary .brand-import-title { margin:0; color:#202024; font-size:1.125rem; font-weight:700; letter-spacing:-.025em; line-height:1.3; }
.brand-editor .brand-import > summary .brand-import-badge { margin-left:auto; padding:4px 8px; border-radius:6px; background:#f2eff8; color:#655078; font-size:.875rem; font-weight:600; }
.brand-editor .brand-import > summary::after { content:'\203A'; font-size:22px; color:#77737f; transform:rotate(90deg); }
.brand-editor .brand-import[open] > summary::after { content:'\203A'; transform:rotate(-90deg); }
.brand-editor .brand-import-copy { margin:10px 0 14px; color:#62616a; font-size:.875rem; line-height:1.5; }
.brand-import-input { display:flex; gap:8px; align-items:center; }
.brand-editor .brand-import-input input { min-width:0; flex:1; margin:0; min-height:48px; }
.brand-editor .brand-import-input button { flex-shrink:0; min-height:48px; padding:12px 16px; border:1px solid #202024; border-radius:12px; background:#202024; color:#fff; font-size:.875rem; font-weight:700; }
.brand-editor .brand-import-input button:hover:not(:disabled) { background:#39383f; }
.brand-editor .brand-import #brandImportManual { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:52px; margin:12px 0 0; padding:8px 12px; border:1px solid #e5e3e9; border-radius:10px; background:#faf9fc; color:#37333e; font:inherit; text-align:left; cursor:pointer; }
.brand-editor #brandImportManual > span:first-child { display:grid; gap:2px; }
.brand-editor #brandImportManual strong { font-size:.875rem; font-weight:600; line-height:1.3; }
.brand-editor #brandImportManual small { font-size:.875rem; color:#62616a; line-height:1.3; }
.brand-editor #brandImportManual > span:last-child { font-size:20px; }
.brand-editor .brand-import #brandImportManual:hover { border-color:#c9bfd9; background:#f4f1f8; }
.brand-editor .brand-import .brand-status { margin:12px 0 0; line-height:1.5; }
.brand-import .brand-status:empty { display:none; }
@media(max-width:480px) { .brand-editor .brand-optional-settings.brand-import { padding:12px; } .brand-editor .brand-import > summary .brand-import-title { font-size:1rem; } .brand-editor .brand-import-copy { margin:8px 0 12px; } .brand-import-input { flex-wrap:wrap; } .brand-editor .brand-import-input input { flex-basis:140px; } .brand-editor .brand-import-input button { flex-grow:1; } }
.brand-import-review { margin-top:16px; text-align:left; }
.brand-import-review-heading strong { display:block; font-size:1rem; color:#202024; }
.brand-import-review-heading p { margin:4px 0 12px; font-size:.875rem; color:#62616a; }
.brand-import-selection { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 16px; margin:12px 0; font-size:.875rem; }
.brand-editor .brand-import-selection label { display:flex; align-items:center; gap:8px; margin:0; cursor:pointer; }
.brand-import-selection > span { color:#62616a; }
.brand-editor .brand-import-review input[type=checkbox] { width:20px; height:20px; min-height:20px; padding:0; margin:0; flex:none; accent-color:#7154a1; cursor:pointer; }
.brand-import-review input[type=checkbox]:focus-visible { outline:2px solid #7154a1; outline-offset:3px; }
.brand-import-list { max-height:340px; overflow:auto; overscroll-behavior:contain; margin:12px 0; border:1px solid #e5e3e9; border-radius:12px; }
.brand-import-group { min-width:0; margin:0; padding:0; border:0; }
.brand-import-group + .brand-import-group { border-top:1px solid #e5e3e9; }
.brand-import-group legend { display:flex; align-items:center; gap:8px; width:100%; box-sizing:border-box; padding:8px 12px; background:#f4f2f7; color:#51445f; font-size:.875rem; font-weight:700; }
.brand-import-group legend span { padding:1px 6px; border-radius:5px; background:#e8e2f0; font-size:.875rem; }
.brand-editor label.brand-import-row { display:flex; align-items:center; gap:10px; min-height:72px; box-sizing:border-box; padding:12px; margin:0; border-bottom:1px solid #eae7ee; cursor:pointer; transition:background .15s; }
.brand-import-row:last-child { border-bottom:0; }
.brand-import-row:has(input:checked) { background:#faf8fd; }
.brand-import-row:hover { background:#f2eef8; }
.brand-import-row:focus-within { outline:2px solid #b2a0c8; outline-offset:-2px; }
.brand-import-row img, .brand-import-placeholder { width:44px; height:44px; flex:none; border-radius:8px; background:#fff; }
.brand-import-row img { object-fit:cover; }
.brand-import-placeholder { display:grid; place-items:center; border:1px solid #e5e3e9; color:#8a7c99; font-size:20px; box-sizing:border-box; }
.brand-import-link-copy { display:block; min-width:0; flex:1; overflow-wrap:anywhere; }
.brand-import-link-copy strong { display:block; color:#202024; font-size:.875rem; font-weight:600; line-height:1.4; }
.brand-import-link-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:3px; color:#77717e; font-size:.875rem; line-height:1.4; }
.brand-import-note { margin:12px 0; color:#62616a; font-size:.875rem; line-height:1.5; }
.brand-editor .brand-import-review #brandImportApply { width:100%; min-height:48px; padding:12px 14px; font-size:.875rem; line-height:1.4; }
.brand-import-review #brandImportApply:disabled { opacity:.45; cursor:not-allowed; }
.brand-import-progress { box-sizing:border-box; margin:18px 0; padding:20px; border:1px solid #cbd9fb; border-radius:16px; background:linear-gradient(135deg,#edf3ff,#f9faff); box-shadow:0 6px 20px #1955ed08; text-align:left; }
.brand-import-progress-title { display:block; color:#143573; font-size:1.125rem; line-height:1.4; }
.brand-import-progress .brand-import-progress-copy { margin:6px 0 16px; color:#4d5f80; font-size:.875rem; line-height:1.6; }
.brand-import-progress-track { position:relative; height:5px; overflow:hidden; border-radius:999px; background:#dbe5fb; }
.brand-import-progress-track > span { position:absolute; inset:0 auto 0 0; width:35%; border-radius:inherit; background:#3868df; }
.brand-import-progress-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; list-style:none; margin:18px 0 0; padding:0; }
.brand-import-progress-steps li { display:flex; align-items:center; gap:10px; min-width:0; padding:12px 10px; border:1px solid #e0e7f5; border-radius:10px; background:#ffffffb8; color:#65728a; }
.brand-import-progress-steps li > strong { font-size:.875rem; line-height:1.4; font-weight:500; }
.brand-import-step-number { position:relative; display:grid; place-items:center; width:28px; height:28px; flex:none; border:1px solid #d6deed; border-radius:50%; background:#fff; font-size:.875rem; font-weight:600; }
.brand-import-progress-steps :is(.is-current,.is-running) { color:#1646b1; border-color:#cfdbf7; }
.brand-import-progress-steps :is(.is-current,.is-running) > strong { font-weight:600; }
.brand-import-progress-steps :is(.is-current,.is-running) .brand-import-step-number::after { content:''; position:absolute; inset:-4px; border:2px solid #577be5; border-right-color:transparent; border-radius:50%; }
.brand-import-progress-steps .is-done .brand-import-step-number { background:#e9f4ed; color:#2b6547; border-color:#bed7c7; }
.brand-import-progress.is-paused .brand-import-progress-track > span, .brand-import-progress.is-paused .brand-import-progress-steps .brand-import-step-number::after { animation-play-state:paused; }
@media(prefers-reduced-motion:no-preference) {
  .brand-import-progress-track > span { animation:brand-import-travel 2.2s linear infinite; }
  .brand-import-progress-steps :is(.is-current,.is-running) .brand-import-step-number::after { animation:brand-import-orbit 1.2s linear infinite; }
  .brand-import-progress-steps li:nth-child(2) .brand-import-step-number::after { animation-delay:-.4s; }
  .brand-import-progress-steps li:nth-child(3) .brand-import-step-number::after { animation-delay:-.8s; }
}
@keyframes brand-import-travel { from { transform:translateX(-100%); } to { transform:translateX(350%); } }
@keyframes brand-import-orbit { to { transform:rotate(360deg); } }
@media(max-width:560px) {
  .brand-import-progress { padding:16px; }
  .brand-import-progress-steps { grid-template-columns:minmax(0,1fr); gap:8px; }
  .brand-import-progress-steps li { min-height:48px; box-sizing:border-box; }
}
.brand-lead-card { margin:24px 0 0; padding:16px; border:1px solid var(--brand-line,#ddd); border-radius:18px; background:var(--brand-card,#fff); text-align:left; }
.brand-lead-card summary { cursor:pointer; font-weight:700; }
.brand-lead-form fieldset { border:0; padding:16px 0 0; margin:0; min-width:0; }
.brand-lead-form label { display:block; margin-bottom:12px; font-size:1rem; }
.brand-lead-form input:not([type=checkbox]), .brand-lead-form textarea { display:block; width:100%; box-sizing:border-box; min-height:44px; margin-top:5px; padding:10px; font:inherit; color:#202020; background:#fff; border:1px solid #b7b7b7; border-radius:10px; }
.brand-lead-form .lead-consent { display:flex; align-items:flex-start; gap:8px; }
.lead-consent input { width:18px; height:18px; flex-shrink:0; margin:3px 0; }
.brand-lead-submit { width:100%; min-height:44px; padding:10px; border-radius:999px; border:0; background:#202020; color:white; font:inherit; cursor:pointer; }
.brand-lead-submit:disabled { opacity:.65; cursor:default; }
.brand-lead-status { font-size:1rem; overflow-wrap:anywhere; }
.brand-lead-privacy { color:inherit; font-size:.9rem; }
.lead-honeypot { position:absolute !important; left:-10000px; width:1px; height:1px; overflow:hidden; }
.brand-publish-handoff, .brand-publish-handoff * { box-sizing:border-box; }
.brand-publish-handoff { width:min(520px,calc(100% - 32px)); max-width:none; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow:auto; padding:24px; border:1px solid #e5e2eb; border-radius:20px; background:#fff; color:#222331; font-family:var(--ui-font,system-ui,sans-serif); box-shadow:0 24px 80px #10142733; }
.brand-publish-handoff::backdrop { background:#050d3099; }
.brand-publish-handoff form { position:relative; margin:0; }
.brand-publish-close { position:absolute; top:0; right:0; display:grid; place-items:center; width:44px; height:44px; padding:10px; border:0; border-radius:50%; background:#f5f4f7; color:#62616e; cursor:pointer; }
.brand-publish-close svg { width:20px; height:20px; }
.brand-publish-heading { text-align:center; }
.brand-celebration { position:relative; flex:none; width:44px; height:44px; pointer-events:none; }
.brand-celebration-icon { position:relative; z-index:1; display:grid; place-items:center; width:100%; height:100%; border-radius:14px; background:#f5f0fc; }
.brand-celebration-icon svg { width:36px; height:36px; }
.brand-celebration-confetti { position:absolute; z-index:2; inset:0; }
.brand-celebration-confetti i { position:absolute; left:50%; top:50%; width:5px; height:8px; border-radius:2px; background:#c5b2e4; opacity:0; }
.brand-celebration-confetti i:nth-child(1) { --celebration-x:-30px; --celebration-y:-22px; --celebration-turn:-50deg; }
.brand-celebration-confetti i:nth-child(2) { --celebration-x:-10px; --celebration-y:-32px; --celebration-turn:30deg; background:#edc679; }
.brand-celebration-confetti i:nth-child(3) { --celebration-x:28px; --celebration-y:-25px; --celebration-turn:80deg; background:#a9c5eb; }
.brand-celebration-confetti i:nth-child(4) { --celebration-x:33px; --celebration-y:8px; --celebration-turn:110deg; }
.brand-celebration-confetti i:nth-child(5) { --celebration-x:13px; --celebration-y:29px; --celebration-turn:-40deg; background:#eab6a0; }
.brand-celebration-confetti i:nth-child(6) { --celebration-x:-30px; --celebration-y:20px; --celebration-turn:70deg; background:#a9c5eb; }
.brand-publish-heading .brand-celebration { margin:0 auto 8px; }
.preparation-result-heading { display:flex; align-items:center; gap:12px; }
@media (prefers-reduced-motion:no-preference) {
  .brand-celebration.is-celebrating .brand-celebration-icon { animation:brand-celebration-pop .5s ease-out both; }
  .brand-celebration.is-celebrating .brand-celebration-confetti i { animation:brand-celebration-burst 1.05s ease-out both; }
}
@keyframes brand-celebration-pop {
  0% { opacity:0; transform:scale(.9) rotate(-6deg); }
  55% { opacity:1; transform:scale(1.06) rotate(3deg); }
  100% { opacity:1; transform:scale(1) rotate(0); }
}
@keyframes brand-celebration-burst {
  0% { opacity:0; transform:translate(-50%,-50%) scale(.4); }
  18% { opacity:.85; }
  100% { opacity:0; transform:translate(calc(-50% + var(--celebration-x)),calc(-50% + var(--celebration-y))) rotate(var(--celebration-turn)); }
}
.brand-publish-congrats { margin:0 0 6px; color:#76529b; font-size:.875rem; font-weight:600; }
.brand-publish-handoff h2 { margin:0 0 8px; font-size:1.75rem; font-weight:700; letter-spacing:-.035em; line-height:1.2; }
.brand-publish-handoff #brandPublishHandoffIntro { margin:0 0 20px; color:#62616e; font-size:.9375rem; line-height:1.5; }
.brand-publish-link-card { padding:16px; border:1px solid #e9e5f0; border-radius:14px; background:#f8f7fb; }
.brand-publish-handoff label { display:block; font-size:.9375rem; font-weight:600; }
.brand-publish-handoff input { display:block; width:100%; min-width:0; min-height:48px; margin:10px 0 12px; padding:11px 12px; border:1px solid #dcd9e4; border-radius:10px; background:#fff; color:#343343; font:inherit; font-size:1rem; }
.brand-publish-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.brand-publish-handoff .brand-secondary, .brand-publish-handoff .brand-publish-copy { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:10px 14px; border-radius:12px; font:inherit; font-size:.9375rem; font-weight:600; text-align:center; text-decoration:none; }
.brand-publish-handoff .brand-secondary { border-color:#dfdce6; background:#fff; color:#353342; }
.brand-publish-handoff .brand-publish-copy { margin:0; border:1px solid #242331; background:#242331; color:#fff; cursor:pointer; }
.brand-publish-copy svg { width:18px; height:18px; flex-shrink:0; }
.brand-publish-handoff .brand-publish-copy:hover { background:#393746; }
.brand-publish-handoff .brand-secondary:hover, .brand-publish-close:hover { background:#eeebf4; }
.brand-publish-handoff :is(button,a,input):focus-visible { outline:3px solid #7762ad; outline-offset:3px; }
.brand-publish-handoff .brand-publish-status { margin:12px 0 0; font-size:.9375rem; line-height:1.5; overflow-wrap:anywhere; }
.brand-publish-status:empty { display:none; }
.brand-publish-next { margin-top:20px; padding-top:18px; border-top:1px solid #e9e5f0; }
.brand-publish-next p { margin:0 0 12px; color:#62616e; font-size:.9375rem; line-height:1.5; text-align:center; }
.brand-publish-handoff .brand-publish-campaign { justify-content:space-between; border-color:#dfd2ee; background:#f3eef9; color:#593785; }
.brand-publish-done { display:block; min-height:44px; margin:12px auto 0; padding:10px 24px; border:0; border-radius:12px; background:transparent; color:#62616e; cursor:pointer; font:inherit; font-size:.9375rem; }
.brand-publish-done:hover { background:#f5f4f7; }
@media (max-width:420px) {
  .brand-publish-handoff { width:calc(100% - 24px); padding:20px; border-radius:20px; }
  .brand-publish-handoff h2 { font-size:1.5rem; }
  .brand-publish-link-card { padding:14px; }
  .brand-publish-actions { grid-template-columns:1fr; }
}
