.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:1100px; margin:0 auto; color:var(--text); }
.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-bottom { margin-top:24px; padding:20px 0 8px; border-top:1px solid var(--light-line); }
.brand-editor-bottom .brand-editor-actions { justify-content:flex-end; margin-top:12px; }
.brand-palette-picker { min-width:0; border:0; padding:0; margin:20px 0 0; }
.brand-palette-picker legend { padding:0; font-size:13px; 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:13px; 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-palette-shades span:nth-child(3) { background:var(--brand-ink); }
.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; }
@media(max-width:480px) { .brand-shade-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }
.brand-analytics { width:100%; min-width:0; }
.brand-analytics h1 { font-size:28px; letter-spacing:-.03em; margin:20px 0 6px; }
.brand-analytics label { display:block; font-size:13px; font-weight:600; margin:10px 0 6px; }
.brand-analytics input, .brand-analytics select { width:100%; min-width:0; box-sizing:border-box; border:1px solid #dcd7d0; border-radius:10px; padding:11px; background:#fff; color:var(--text); font:inherit; font-size:14px; }
.brand-analytics :is(button,input,select,a,summary):focus-visible { outline:3px solid #50715e; outline-offset:3px; }
.brand-analytics button, .brand-analytics .brand-secondary { min-height:44px; }
.ba-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:20px 0; }
.ba-filters > div { flex:1 1 150px; min-width:0; }
.ba-filters button { flex:0 0 auto; }
.ba-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:20px 0; }
.ba-metrics > div { padding:18px; border:1px solid #e2ded6; border-radius:14px; background:#fff; }
.ba-metrics span { display:block; color:var(--muted); font-size:12px; }
.ba-metrics strong { display:block; font-size:25px; margin-top:10px; overflow-wrap:anywhere; }
.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:12px; 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:13px; }
.ba-table th, .ba-table td { padding:12px 10px; border-bottom:1px solid #ece8e2; vertical-align:top; }
.ba-table thead th { color:var(--muted); font-size:12px; 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:13px; line-height:1.7; color:var(--muted); }
.brand-analytics summary { cursor:pointer; }
#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; }
  .brand-analytics .brand-section { padding:16px; }
}
.brand-editor h1 { font-size:30px; letter-spacing:-.03em; margin:8px 0; }
.brand-editor-head p, .brand-hint { color:var(--muted); font-size:13px; line-height:1.6; margin:6px 0; }
.brand-workspace { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:start; gap:32px; }
.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:13px; 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:14px; }
.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:13px; text-decoration:none; }
.brand-secondary:hover { background:#f5f3ee; }
.brand-check { display:inline-flex; align-items:center; gap:6px; font-size:12px; 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:13px; font-weight:600; }
.brand-drag-handle { display:inline-block; padding:6px; cursor:grab; }
.brand-link-tools { margin-top:10px; gap:6px; }
.brand-link-tools button { padding:7px 9px; font-size:12px; }
.brand-link-tools [data-link-action=delete] { color:#8c2929; margin-left:auto; }
.brand-preview-panel { position:sticky; top:20px; min-width:0; }
.brand-preview-label { text-align:center; font-size:12px; 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:13px; line-height:1.6; color:var(--muted); margin:8px 0; overflow-wrap:anywhere; }
.brand-error { color:#922e2e; font-size:14px; 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:14px; 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; }
.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-share { min-height:44px; padding:8px 14px; border:1px solid var(--brand-line); border-radius:999px; background:var(--brand-card); color:inherit; font:inherit; font-size:13px; cursor:pointer; }
.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:15px; line-height:1.65; margin:0 auto 18px; white-space:pre-line; }
.brand-socials { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-bottom:24px; }
.brand-socials a { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:inherit; text-decoration:none; }
.brand-socials .mc-svg { width:22px; height:22px; }
.brand-links { display:flex; flex-direction:column; gap:12px; max-width:580px; margin:24px auto; }
.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:15px; 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:10px; text-transform:uppercase; letter-spacing:.12em; font-weight:500; }
.brand-attribution { display:inline-block; color:inherit; font-size:12px; text-decoration:none; padding:12px; margin-top:16px; opacity:.8; }
.brand-page .brand-status { color:inherit; }
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-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; } }
