:root {
  --ui-font:Arial,Helvetica,system-ui,sans-serif;
  --bg:#faf9f7;
  --card:#fff;
  --pill:#f1f0ee;
  --text:#202020;
  --muted:#595959;
  --dark:#202020;
  --accent:#6d28d9;
  --cta:#0961d4;
  --cta-hover:#074da9;
  --light-line:#e5e3df;
  --line:#e5e3df;
}

body {
  font-family:var(--ui-font);
  font-size:1.125rem;
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:auto;
  text-rendering:auto;
}

button, input, select, textarea { font-family:inherit; font-size:1rem; }
input, select, textarea { line-height:1.5; }
input::placeholder, textarea::placeholder { color:#646464; opacity:1; }
[data-message-nav][hidden], #accountMessages[hidden] { display:none !important; }
:is(a,button,input,textarea,select,summary):focus-visible { outline:3px solid #0961d4; outline-offset:3px; }
:is(p,li,label,button,summary) { overflow-wrap:break-word; }

.hero-intro > h1 { font-family:var(--ui-font); font-size:clamp(2.5rem,5.2vw,4.5rem); font-weight:700; line-height:1.12; letter-spacing:-.025em; }
.hero-intro > h1 em { color:var(--text); line-height:1.15; font-weight:700; }
.hero-one-link { background:#ffeb3b; color:#202020; }
.hero-intro > .subcopy { font-size:1.25rem; line-height:1.7; font-weight:400; }
.hero .primary-btn, #openSignup { background:var(--cta); border-color:var(--cta); }
.hero .primary-btn:hover, #openSignup:hover { background:var(--cta-hover); border-color:var(--cta-hover); }
.section-label, .account-eyebrow { letter-spacing:normal; text-transform:none; }
.crumb-link { color:var(--muted); }
.how-copy p, .step-text, .story p, .story blockquote { font-size:1.125rem; line-height:1.75; }
.bio-uses, .share-strip { border-color:var(--light-line); }
.bio-uses { background:#fff; }
.bio-uses h2 span, .bio-uses-heading .use-hint, .use-card-action, .use-detail strong { color:#5b21b6; }
.use-detail { background:#f4f0fa; }
.cta-card { background:#f0eafa; border:1px solid #e3d8f4; }
.footer-cols { gap:24px; }
.footer-cols h2 { font-size:1rem; letter-spacing:normal; text-transform:none; }
.footer-cols a { display:inline-block; padding:3px 0; line-height:1.65; }
.site-footer { color:var(--muted); }

.topbar, body[data-page] > header { background:#ffffffd9; border:1px solid #e5e3df; border-radius:22px; box-shadow:0 4px 20px #20202005; }
.topbar { box-sizing:border-box; padding:14px 20px; }
body[data-page] > header { margin-top:20px; padding-top:14px; padding-bottom:14px; }
.topbar > .brand, body[data-page] > header > .brand { gap:12px; font-family:var(--ui-font); font-size:1.75rem; font-weight:700; letter-spacing:-.045em; color:#202020; }
.topbar .brand-name { font-size:1.75rem; font-weight:700; letter-spacing:-.045em; }
.topbar > .brand img, body[data-page] > header > .brand img { width:40px !important; height:40px !important; border-radius:12px; box-shadow:0 4px 12px #0961d424; }
.header-pricing, .page-header-nav > a[href="/pricing"] { box-sizing:border-box; min-height:44px; padding:10px 18px; border:1px solid #e6dcf4; border-radius:999px; background:#f5f0fc; color:#562194; font-family:var(--ui-font); font-size:1rem; font-weight:600; text-decoration:none; transition:background .15s,border-color .15s; }
.header-pricing:hover, .page-header-nav > a[href="/pricing"]:hover { background:#ece2fa; border-color:#cdb6e6; text-decoration:none; }
#userToggle, .account-header > summary { box-sizing:border-box; min-height:48px; padding:5px 12px 5px 5px !important; gap:10px; border:1px solid #ded8ec; border-radius:999px; background:#fff; box-shadow:0 2px 8px #20202006; }
#userToggle:hover, .account-header > summary:hover { background:#f7f3fc; border-color:#bca4da; }
#userToggle[aria-expanded=true], .account-header[open] > summary { background:#f1eafa; border-color:#bca4da; }
#userToggle .user-initial, .account-header .account-avatar { width:36px; height:36px; border-radius:50%; background:#eee5fa; color:#562194; box-shadow:inset 0 0 0 1px #6d28d912; }
#userAvatarSmall { border-radius:50% !important; }
.user-menu, .account-dropdown { top:calc(100% + 12px); box-shadow:0 12px 40px #20202014; }
.user-menu { box-sizing:border-box; max-width:calc(100vw - 32px); padding:18px; }
.user-menu-profile .user-initial-lg, .user-menu-profile img { border-radius:50%; }
.user-menu-actions-vertical { align-items:stretch; gap:6px; }
.user-menu-actions-vertical .auth-btn { max-width:none; min-height:44px; padding:10px 14px; border:0; border-radius:12px; text-align:left; background:transparent; color:var(--text); font-size:1rem; }
.user-menu-actions-vertical .auth-btn:hover { background:#f3eef9; box-shadow:none; }
.user-menu-actions-vertical #menuProfileBtn { justify-content:space-between; }
.user-menu-actions-vertical #menuLogoutBtn { border-top:1px solid var(--line); border-radius:0 0 12px 12px; margin-top:6px; }
@media(max-width:600px) {
  .topbar { padding:12px 14px; border-radius:18px; }
  .topbar > .brand, .topbar .brand-name, body[data-page] > header > .brand { font-size:1.5rem; }
  .topbar > .brand img, body[data-page] > header > .brand img { width:34px !important; height:34px !important; border-radius:10px; }
  .header-pricing, .page-header-nav > a[href="/pricing"] { padding:10px 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .header-pricing, .page-header-nav > a[href="/pricing"] { transition:none; }
}

.field-group label { text-transform:none; letter-spacing:normal; font-size:1rem; color:var(--text); }
.field-group :is(input,textarea,select), .auth-fields input { font-size:1.125rem; min-width:0; }
.form-card p, .field-note, .auth-fields label, .account-email, .account-subtitle,
.account-details dt, .editor-draft-hint { color:var(--muted); }
.form-card .field-error { color:#b3261e; }
.purpose-picker legend { font-size:1.125rem; }
.purpose-picker label { background:#fff; border-color:var(--light-line); }
.purpose-picker label:has(input:checked) { background:#f4effb; border-color:var(--accent); }
.account-nav a[aria-current="page"] { background:#eae7e3; color:#6024b5; box-shadow:none; }
.account-nav a:hover { background:#efedeb; }
.auth-fields input:focus, .field-group :is(input,select,textarea):focus {
  border-color:var(--cta);
  box-shadow:0 0 0 3px #0961d426;
}

.brand-editor, .brand-analytics { line-height:1.6; }
.brand-section-nav button { line-height:1.4; }
.brand-section-nav button[aria-selected=true] { background:#fff; color:var(--text); box-shadow:0 2px 6px #2020200d; }
.brand-audience-options button { background:#f5f4f2; color:var(--text); }
.brand-audience-options button:last-child { background:#f3eef9; color:var(--text); }
.brand-audience-options button:hover { border-color:#0961d4; }
.brand-audience-summary { background:#f3f1ef; }
.brand-editor .brand-hint, .brand-content-empty p, .brand-item-summary small { color:var(--muted); }
.brand-shop-visibility { background:#f3f1ef; }
.brand-content-primary { background:var(--cta); border-color:var(--cta); }
.brand-content-primary:hover { background:var(--cta-hover); }
.brand-editor .mc-primary, .brand-preview-toolbar .mc-primary, .auth-submit { background:var(--cta); border-color:var(--cta); color:#fff; }
.brand-editor .mc-primary:hover, .brand-preview-toolbar .mc-primary:hover, .auth-submit:hover { background:var(--cta-hover); border-color:var(--cta-hover); }
.brand-page .brand-bio { line-height:1.75; }
.brand-page .brand-link { line-height:1.55; }
.brand-page .brand-hint { color:inherit; }

.message-bubble, .message-welcome p { font-size:1rem; line-height:1.7; }
.message-thread-preview, .message-thread-page, .message-thread-top time,
.message-bubble small, .message-inbox-hint { color:var(--muted); }
.message-compose textarea { font-size:1rem; line-height:1.6; }
.message-bubble.mine { background:#eee6fa; border-color:#e1d3f2; }

body[data-page] { background:var(--bg); font-weight:400; }
body[data-page] :is(header,main,footer) { max-width:860px; }
body[data-page] p, body[data-page] li { font-size:1.125rem; line-height:1.8; }
body[data-page] h2 { line-height:1.35; }
body[data-page] :is(.plan-card p,.plan-card li,.pricing-faq p,.about-step p,.about-bottom p) { font-size:1rem; line-height:1.75; }
.plan-card.free { background:#fff; border-color:#b9a2d8; }
.plan-card.pro { background:#f4f0fa; border-color:#ded5ea; }
.plan-card.pro .plan-badge { background:#e8e1ff; color:#51417a; }
.pricing-assurance { padding:16px 20px; border:1px solid var(--line); border-radius:16px; background:#fff; color:var(--muted); font-size:1rem !important; line-height:1.7 !important; }
.pricing-table thead th { background:#f2f1ef; }
.plan-comparison { margin-top:48px; }
.plan-comparison > h2 { margin:0 0 12px; font-size:1.75rem; letter-spacing:-.025em; }
.plan-comparison .pricing-table-wrap { border-radius:24px; border-color:#e5e0eb; box-shadow:0 8px 28px #20202005; }
.plan-comparison .pricing-table { table-layout:fixed; font-size:1rem; line-height:1.65; }
.plan-comparison .pricing-table caption { padding:20px 24px; background:#fff; font-size:1rem; line-height:1.65; color:var(--muted); }
.plan-comparison .pricing-table th, .plan-comparison .pricing-table td { padding:20px; border-top:1px solid #eae7ed; overflow-wrap:anywhere; }
.plan-comparison .pricing-table thead th { background:#f7f6f4; vertical-align:middle; font-weight:600; }
.plan-comparison .pricing-table thead th:first-child { width:28%; color:var(--muted); font-size:1rem; }
.plan-comparison .pricing-table thead th:nth-child(2) { background:#f0f7f2; }
.plan-comparison .pricing-table thead th:nth-child(3) { background:#f2ecfa; }
.comparison-plan { display:block; font-size:1.5rem; font-weight:700; letter-spacing:-.025em; margin-bottom:8px; color:var(--text); }
.comparison-badge { display:inline-block; padding:5px 9px; border-radius:8px; font-size:.875rem; font-weight:500; line-height:1.5; }
.comparison-badge.available { background:#deeee3; color:#245c36; }
.comparison-badge.planned { background:#e6d9f7; color:#562194; }
.plan-comparison .pricing-table tbody th { font-weight:600; color:var(--text); background:#fff; }
.plan-comparison .pricing-table tbody td { color:#4b4b4b; }
.plan-comparison .pricing-table tbody td:last-child { background:#fbf9fd; }
.comparison-included { display:inline-flex; align-items:center; gap:8px; color:#245c36; font-weight:500; }
.comparison-included::before { content:""; width:7px; height:12px; border:solid #2c7746; border-width:0 2px 2px 0; transform:rotate(45deg); margin:0 4px 4px; }
@media(max-width:600px) {
  .plan-comparison { margin-top:36px; }
  .plan-comparison .pricing-table-wrap { overflow:visible; border:0; background:none; box-shadow:none; }
  .plan-comparison .pricing-table, .plan-comparison .pricing-table tbody { display:block; }
  .plan-comparison .pricing-table caption { display:block; padding:0 0 16px; background:none; }
  .plan-comparison .pricing-table thead { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .plan-comparison .pricing-table tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:14px; border:1px solid #e5e0eb; border-radius:18px; overflow:hidden; background:#fff; }
  .plan-comparison .pricing-table tbody th { grid-column:1 / -1; padding:16px; border:0; background:#f5f4f2; font-size:1rem; }
  .plan-comparison .pricing-table tbody td { display:block; padding:14px; font-size:1rem; border:0; }
  .plan-comparison .pricing-table tbody td:last-child { border-left:1px solid #eae7ed; }
  .plan-comparison .pricing-table tbody td::before { content:attr(data-plan); display:block; font-size:.875rem; font-weight:700; margin-bottom:8px; color:#245c36; }
  .plan-comparison .pricing-table tbody td:last-child::before { content:attr(data-plan) " (planned)"; color:#562194; }
}
.about-bottom { background:#f0eafa; }
.about-use-card:nth-child(2n) { background:#f7f5fa; }

.shell { line-height:1.6; }
.shell .btn { min-height:44px; height:auto; padding:10px 16px; }
.shell .btn.primary { background:var(--cta); border-color:var(--cta); }
.shell .btn.primary:hover { background:var(--cta-hover); }
.shell :is(th,.stat dt,.group-title) { text-transform:none; letter-spacing:.01em; }
.shell th { background:#f3f2f0; }
.shell .stat:nth-child(2n) { background:#f5f1fb; }
.shell .funnel-fill { background:var(--accent); }

.form-card h2, .account-content h1, .modal-inner h3, .auth-page :is(h1,h2,h3),
.share-strip h2, .stories h2, .cta-card h2, .how-it-works h2, .bio-uses h2,
.brand-editor .brand-editor-head h1, .brand-audience-choice h2,
.brand-analytics h1, .shell :is(h1,h2,h3), body[data-page] :is(h1,h2,h3) {
  font-family:var(--ui-font);
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.25;
}
.brand, .brand-name, .footer-logo, .hero .bio-preview-url,
.brand-showcase > h2 { font-family:var(--ui-font); }
.brand-name { font-weight:600; }
.account-content h1, .form-card h2, body[data-page] h1 { font-size:clamp(1.75rem,3vw,2.25rem); }
.brand-editor .brand-editor-head h1 { font-size:1.75rem; }
.brand-section h2, .account-content .dash-card h2 { font-size:1.25rem; font-weight:700; letter-spacing:-.01em; }
.account-subtitle, .preview-sub, .how-copy p, .how-example p,
.share-strip .share-copy > p:last-child, .cta-card p { font-weight:400; }
.account-eyebrow, .account-crumbs, .mc-draft-heading, .mc-stats dt,
.section-eyebrow, .detail-meta, .register-heading { text-transform:none; letter-spacing:normal; color:var(--muted); }
.account-crumbs { line-height:1.5; flex-wrap:wrap; }
.account-sidebar { background:#f1f0ee; border:0; border-radius:20px; padding:24px 16px; }
.account-nav { gap:4px; }
.account-nav a { font-size:1.0625rem; font-weight:500; padding:13px 14px; border-radius:12px; }
.account-identity { padding-bottom:22px; }
.account-content .dash-card, .mc-list, .mc-stats, .brand-section,
.brand-audience-choice, .auth-page .auth-card { border:1px solid var(--line); border-radius:22px; box-shadow:none; }
.mc-row { padding:24px; gap:8px 24px; }
.mc-row:hover { background:#f7f6f4; }
.mc-thumb { border-radius:16px; }
.mc-title { font-size:1.25rem; letter-spacing:-.015em; }
.mc-actions { gap:8px; flex-wrap:wrap; }
.mc-icon-btn { min-width:44px; min-height:44px; height:auto; border-radius:999px; }
.mc-primary, .auth-btn, .brand-secondary, .bio-uses-cta { border-radius:999px; }
.brand-content-primary { border-radius:999px; }
.brand-section-nav { background:#eeece9; border:0; padding:6px; border-radius:16px; }
.brand-section-nav button { font-family:var(--ui-font); font-size:.9375rem; color:var(--muted); border-radius:11px; }
.brand-editor label:not(.brand-check), .auth-fields label, .modal-grid label,
#listingForm .field-group > label, .register-card label, .pf-field label {
  font-size:1rem; color:var(--text); font-weight:500; letter-spacing:normal; text-transform:none;
}
.brand-editor input:not([type=checkbox]):not([type=file]):not([type=color]),
.brand-editor textarea, .brand-editor select, .auth-fields input, .modal-grid input,
.contact-form input, .contact-form textarea {
  font-family:var(--ui-font); font-size:1.0625rem; line-height:1.5;
  background:#f5f4f2; border-color:#d8d5d0; border-radius:14px;
}
.brand-editor input:not([type=checkbox]):not([type=file]):not([type=color]):focus,
.brand-editor :is(textarea,select):focus, .auth-fields input:focus { background:#fff; }
.brand-content-item { border-color:var(--line); border-radius:20px; }
.brand-item-summary strong { font-size:1.0625rem; font-weight:600; color:var(--text); }
.brand-content-profile strong { font-size:1.25rem; letter-spacing:-.015em; }
.brand-content-profile p, .brand-shop-visibility p { font-size:1rem; color:var(--muted); }
.brand-link-tools button { font-size:.9375rem; }
.brand-editor-content-tabs button { font-size:1.0625rem; }
.brand-editor-content-tabs button[aria-selected=true] { color:var(--text); }
.brand-editor-content-tabs button[aria-selected=true]::after { background:var(--accent); height:3px; }
.brand-preview-label { font-family:var(--ui-font); color:var(--muted); }
.brand-page { font-family:'DM Sans',system-ui,sans-serif; }
.message-layout > .account-sidebar .account-nav a { font-size:1rem; }
.message-workspace { border-color:var(--line); box-shadow:none; border-radius:24px; }
.message-inbox { border-color:var(--line); }
.message-workspace .message-inbox-title h1, .message-head :is(h1,h2), .message-welcome h2 {
  font-family:var(--ui-font); font-weight:700; letter-spacing:-.02em; color:var(--text);
}
.message-head, .message-compose { border-color:var(--line); }
.message-inbox #messageSearch { background:#f3f2f0; border-color:#e6e3de; font-size:1rem; border-radius:999px; }
.message-filters button { font-family:var(--ui-font); font-size:.9375rem; color:var(--muted); }
.message-filters button[aria-pressed=true] { background:#eee7f6; border-color:#e0d3ef; color:#562194; }
.message-thread-link[aria-current=page] { background:#f2edf8; box-shadow:inset 3px 0 var(--accent); }
.message-thread-link:hover { background:#f6f4f9; }
.message-thread-top strong { font-size:1rem; color:var(--text); }
.message-thread-preview { font-size:.9375rem; }
.message-history { background:#f5f4f2; }
.message-bubble { border-color:var(--line); box-shadow:none; }
.message-compose textarea { background:#f5f4f2; border-color:#d8d5d0; }
.message-thread-shell #messageStatus:not(.message-error), .message-thread-shell #messageAvailability { color:var(--muted); background:#faf9f7; }
.message-welcome-shell #messageContent { background:#faf9f7; }
.brand-chat-dialog { font-family:var(--ui-font); }
.how-row { background:#f4efe9; }
.how-row:nth-of-type(2) { background:#f0edf5; }
.how-row:nth-of-type(3) { background:#edf3ee; }
.story, .use-card, .share-strip { box-shadow:none; border-color:var(--line); }
.use-card strong { font-size:1.125rem; }
.use-card small { font-size:1rem; line-height:1.6; }
.use-card:hover { transform:none; box-shadow:0 6px 20px #20202008; }
.use-card.is-demo, .bio-uses.is-visible .use-card.is-demo { animation:none; border-color:#9c80c5; background:#f6f2fb; }
.plan-card { border-radius:24px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color:#646464; }
.account-dropdown, .user-menu { border-radius:18px; border-color:var(--line); }
.bs-gallery-note, .bs-caption, .bs-pause { font-family:var(--ui-font); color:var(--muted); }

body:not(.auth-view):not(.profile-view):not(.editor-view):not(.course-view) .page-shell,
body:not(.auth-view):not(.profile-view):not(.editor-view):not(.course-view) .footer-inner { max-width:1280px; }
.hero-launch { grid-template-columns:minmax(0,1fr); padding:40px 0 28px; text-align:center; }
.hero-launch .hero-intro { width:100%; max-width:960px; margin:0 auto; }
.hero-launch .hero-intro > h1 { margin:0 auto; font-size:clamp(2.5rem,7vw,6rem); font-weight:700; line-height:1.08; letter-spacing:-.04em; }
.hero-launch .hero-intro > h1 em { margin-top:14px; line-height:1.2; }
.hero-launch .hero-one-link { padding:.015em .14em .055em; border-radius:.09em; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.hero-launch .hero-intro > .subcopy { max-width:720px; margin:30px auto 0; font-size:1.5rem; line-height:1.65; color:#4b4b4b; text-wrap:pretty; }
.hero-launch .cta-row { align-items:stretch; justify-content:center; gap:14px; margin-top:32px; }
.hero-launch .primary-btn.offer-btn { min-height:64px; padding:18px 30px; border-radius:16px; font-size:1.25rem; font-weight:700; box-shadow:0 6px 18px #0961d41f; }
.hero-launch .cta-row > .bio-preview { display:flex; align-items:stretch; }
.hero-launch .cta-row .bio-preview-url { align-content:center; padding:16px 20px; border-radius:16px; border-color:#d8d5d0; font-size:1.125rem; }
.hero-launch .free-create-note { margin:18px 0 0; font-size:1.0625rem; color:#4b4b4b; }
.creation-shortcuts { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px; margin-top:16px; font-size:.875rem; line-height:1.5; }
.creation-shortcuts > span { color:var(--muted); }
.creation-shortcuts a { display:inline-flex; align-items:center; min-height:44px; box-sizing:border-box; padding:8px 6px; border-radius:999px; text-decoration:none; color:#562194; background:#f3edf9; font-weight:600; animation:creation-shortcut-highlight 1.1s ease-in-out .65s 2; transition:transform .18s ease, background-color .18s ease; }
.creation-shortcuts a:nth-of-type(2) { animation-delay:.95s; }
.creation-shortcuts a:nth-of-type(3) { animation-delay:1.25s; }
.creation-shortcuts a:nth-of-type(4) { animation-delay:1.55s; }
.creation-shortcuts a:hover, .creation-shortcuts a:focus-visible { animation:none; background:#e9ddf6; transform:translateY(-2px); }
@keyframes creation-shortcut-highlight {
  0%, 100% { transform:translateY(0); background:#f3edf9; box-shadow:0 0 0 0 #ffeb3b00; }
  45% { transform:translateY(-3px); background:#fff3a3; box-shadow:0 0 0 4px #ffeb3b35; }
}
@media(prefers-reduced-motion:reduce) {
  .creation-shortcuts a { animation:none; transition:none; }
  .creation-shortcuts a:hover, .creation-shortcuts a:focus-visible { transform:none; }
}
.auth-view .auth-controls { display:none !important; }
.auth-page { padding:40px 0 48px; }
.auth-page .auth-card { padding:32px; }
.auth-heading { margin-bottom:24px; }
.auth-heading h1 { margin:0; font-size:2rem; }
.auth-heading p { margin:10px 0 0; color:var(--muted); font-size:1rem; line-height:1.6; }
.auth-page .auth-submit { min-height:50px; height:auto; font-weight:600; }
.auth-page .auth-switch { margin:24px 0 0; padding-top:20px; border-top:1px solid var(--line); text-align:center; line-height:1.6; }
.auth-switch a { color:#562194; font-weight:600; text-underline-offset:3px; }
@media(max-width:600px) {
  .auth-page { padding:20px 0 32px; }
  .auth-page .auth-card { padding:24px 20px; }
  .auth-heading h1 { font-size:1.75rem; }
}
.brand-showcase { max-width:none; margin-top:48px; }
.brand-showcase > h2 { max-width:900px; margin:0 auto 28px; line-height:1.25; letter-spacing:-.025em; }

@media(max-width:760px) {
  .hero-launch { padding:24px 0 16px; }
  .hero-launch .hero-intro > .subcopy { font-size:1.25rem; margin-top:24px; }
  .brand-showcase { margin-top:40px; }
  .account-sidebar { padding:18px; }
  .mc-row { padding:18px; gap:10px 16px; }
}
@media(max-width:600px) {
  .hero-launch .primary-btn.offer-btn { width:100%; min-height:60px; padding:16px 18px; font-size:1.125rem; }
  .hero-launch .cta-row > .bio-preview { width:100%; }
  .hero-launch .cta-row .bio-preview-url { width:100%; }
  .hero-intro > .subcopy { font-size:1.125rem; }
  .header-actions { flex-wrap:wrap; justify-content:flex-end; }
  .brand-content-actions { flex-wrap:wrap; }
  .brand-content-actions > button { flex-basis:100%; }
}
@media(min-width:761px) and (max-height:700px) {
  .brand-editor .brand-editor-head h1 { font-size:1.375rem; }
}

.bio-phone { position:relative; box-sizing:border-box; width:100%; max-width:420px; margin:24px auto; }
.bio-phone-screen { min-width:0; }
.preview:has(> .bio-phone), .preview:has(> .brand-published-preview) { margin-left:auto; margin-right:auto; }
.bio-phone .preview-inner { box-sizing:border-box; padding:24px 20px; }
.bio-phone .preview-headline { font-size:2.25rem; overflow-wrap:anywhere; }
.bio-phone .details-grid, .bio-phone .contact-details-grid { grid-template-columns:minmax(0,1fr); }
.bio-phone .detail-val { overflow-wrap:anywhere; }
.bio-phone .photo-slider { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:8px; }
.bio-phone .slider-main { width:100%; grid-column:1 / -1; grid-row:1; }
.bio-phone :is(.slider-prev,.slider-next) { grid-row:1; z-index:1; min-height:44px; background:#ffffffeb; border-radius:50%; margin:0 4px; padding:0; }
.bio-phone .slider-prev { grid-column:1; }
.bio-phone .slider-next { grid-column:3; }
.bio-phone .photo-slider:has(.slider-thumb:only-child) :is(.slider-prev,.slider-next,.slider-thumbs) { display:none; }
.bio-phone .slider-main img { height:220px; }
.bio-phone .slider-thumbs { grid-column:1 / -1; flex-direction:row; max-width:100%; margin-left:0; overflow-x:auto; }
.bio-phone .slider-thumb { flex-shrink:0; width:72px; height:48px; }
@media(min-width:761px) {
  .bio-phone { display:flex; flex-direction:column; height:820px; padding:26px 0 18px; border:8px solid #252525; border-radius:46px; background:#fff; box-shadow:0 20px 60px #20202018,0 0 0 1px #00000014; }
  .bio-phone::before { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:88px; height:12px; background:#252525; border-radius:999px; }
  .bio-phone::after { content:""; position:absolute; bottom:6px; left:50%; transform:translateX(-50%); width:100px; height:4px; background:#252525; border-radius:999px; }
  .bio-phone-screen { flex:1; min-height:0; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; border-radius:14px; }
  .bio-phone-screen > .brand-page { min-height:100%; }
  .bio-phone .brand-page[data-theme=studio] .brand-name { font-size:2.125rem; }
  .bio-phone .preview-inner { border:0; border-radius:0; box-shadow:none; }
  .brand-preview-panel .brand-live-preview { position:relative; overflow:visible; border:0; border-radius:0; box-shadow:none; scrollbar-gutter:auto; background:none; }
  .brand-live-preview > .bio-phone { position:absolute; top:0; left:50%; width:420px; max-width:none; height:820px; margin:0 0 0 -210px; transform:scale(var(--bio-phone-scale,1)); transform-origin:top center; }
  .brand-published-preview { max-width:none; border-radius:0; overflow:visible; }
}
@media(max-width:760px) {
  .bio-phone { max-width:none; margin:0; }
  .bio-phone-screen { display:contents; }
  .brand-live-preview .bio-phone { max-width:420px; margin:auto; }
}

.account-profile { grid-template-columns:210px minmax(0,1fr); gap:28px; }
.account-profile .account-sidebar { background:linear-gradient(160deg,#f3edfc,#eef5ff); border:1px solid #e3dcf1; }
.account-profile .account-avatar { border-radius:50%; background:#e6dbf8; color:#562194; }
.account-profile .account-identity { gap:8px; }
.profile-account-name { margin-top:6px; font-size:1.0625rem; line-height:1.4; }
.profile-account-caption { font-size:.875rem; color:#615273; }
.account-profile .account-nav a[aria-current="page"] { background:#fff; color:#562194; box-shadow:0 2px 8px #5621940a; }
.account-profile .account-nav a:hover { background:#ffffffb3; }
.account-profile .mc-page-head { padding:24px 28px; border:1px solid #e3dcf1; border-radius:22px; background:linear-gradient(115deg,#f7f1ff,#eff7ff); }
.account-profile .account-content > .dash-card { padding:28px; }
.account-profile .profile-account-details { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; margin-bottom:24px; }
.profile-account-details .pf-photo-row { gap:20px; }
.profile-account-details .pf-photo { width:88px; height:88px; }
.profile-account-details .pf-photo > span { background:#eee5fa; color:#562194; }
.profile-account-details .pf-phone { min-width:0; margin:0; padding-top:24px; }
.profile-account-details .pf-phone-row { display:grid; grid-template-columns:110px minmax(0,1fr) auto; max-width:none; align-items:stretch; }
.profile-account-details :is(.pf-phone-code,.pf-phone-number,.pf-phone-save) { box-sizing:border-box; width:100%; height:50px; }
.profile-account-details .pf-wa-toggle { max-width:none; }
.account-profile :is(.pf-change,.profile-preview-copy,.profile-preview-own) { min-height:44px; background:#f4effb; border-color:#e2d5f3; color:#562194; }
.account-profile :is(.pf-change,.profile-preview-copy,.profile-preview-own):hover { background:#ebe0f9; border-color:#cbb6e6; }
.account-profile .mc-primary, .profile-account-details .pf-phone-save:not(:disabled) { background:var(--cta); border-color:var(--cta); color:#fff; }
.account-profile .mc-primary:hover, .profile-account-details .pf-phone-save:not(:disabled):hover { background:var(--cta-hover); border-color:var(--cta-hover); }
.profile-setup-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,1fr); align-items:stretch; gap:24px; }
.profile-setup-grid > .dash-card { padding:28px; }
.profile-setup-grid .pp-card { min-width:0; margin-top:0; }
.account-content .profile-preview-panel { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:linear-gradient(160deg,#f7f3fc,#f0f7ff); border-color:#e3dcf1; }
.profile-setup-grid :is(.pp-head,.profile-preview-heading) { margin:0 0 20px; }
.profile-setup-grid :is(.pp-head,.profile-preview-heading) h2 { margin:0; font-size:1.25rem; }
.profile-setup-grid :is(.pp-head,.profile-preview-heading) p { margin:8px 0 0; font-size:.9375rem; line-height:1.5; }
.profile-preview-heading { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
.profile-preview-heading h2 { margin:0; }
.profile-preview-heading h2 { min-width:0; }
.profile-preview-copy { display:inline-flex; align-items:center; justify-content:center; align-self:flex-end; gap:8px; flex:none; max-width:100%; font-size:.875rem; }
.profile-preview-copy .mc-svg { width:16px; height:16px; }
.profile-copy-status { margin:0 0 12px; font-size:.9375rem; color:var(--muted); }
.profile-copy-status:empty { display:none; }
.account-bio-empty .account-sidebar { background:linear-gradient(160deg,#f3edfc,#eef5ff); border:1px solid #e3dcf1; }
.mc-welcome { display:flex; justify-content:center; padding:28px; border:1px solid #e3dcf1; border-radius:22px; background:linear-gradient(120deg,#f5ecff,#edf7ff 70%,#f0faf4); }
.mc-welcome .mc-primary { display:inline-flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:64px; padding:16px 24px; border-radius:16px; background:var(--cta); border-color:var(--cta); color:#fff; font-size:1.25rem; font-weight:700; box-shadow:0 8px 20px #0961d420; }
.mc-onboarding > .mc-latest-draft { margin-top:24px; }
.mc-welcome .mc-primary:hover { background:var(--cta-hover); border-color:var(--cta-hover); }
.mc-inspiration-heading { margin:32px 0 20px; }
.mc-inspiration-heading h2 { margin:0; font-size:1.375rem; line-height:1.4; }
.mc-inspiration-heading p, .mc-sample-hint { margin:8px 0 0; color:var(--muted); font-size:.9375rem; line-height:1.6; }
.mc-sample-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; min-width:0; }
.mc-sample-card { display:flex; flex-direction:column; gap:20px; min-width:0; padding:24px; border:1px solid var(--line); border-radius:22px; background:#fff; }
.mc-sample-heading { min-height:108px; }
.mc-sample-category { display:inline-block; padding:4px 12px; border-radius:999px; background:var(--sample-bg); color:var(--sample-ink); font-size:.875rem; font-weight:600; }
.mc-sample-heading h3 { margin:12px 0 0; font-size:1.0625rem; line-height:1.5; font-weight:600; }
.mc-sample-card .bs-phone { box-sizing:border-box; width:100%; max-width:300px; }
.mc-sample-card .bs-screen { height:auto; aspect-ratio:17 / 30; scrollbar-width:thin; }
.mc-sample-card .bs-screen::-webkit-scrollbar { display:initial; width:6px; }
.mc-sample-card .bs-device-bar i { width:64px; }
.mc-sample-card .bs-device-bar { padding-left:12px; padding-right:12px; }
.mc-sample-create { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; margin-top:auto; padding:12px 16px; border:1px solid #e2d5f3; border-radius:12px; background:#f5f0fc; color:#562194; text-decoration:none; font-size:1rem; font-weight:600; }
.mc-sample-create:hover { background:#ebe0f9; border-color:#cbb6e6; }
.mc-sample-hint { margin-top:16px; text-align:center; }
@media(max-width:600px) {
  .mc-welcome { padding:16px; }
  .mc-welcome .mc-primary { font-size:1.125rem; padding:16px; }
  .mc-sample-gallery { grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:90%; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding-bottom:16px; }
  .mc-sample-card { padding:18px; scroll-snap-align:start; }
  .mc-sample-heading { min-height:120px; }
}
.pp-section { min-width:0; margin:0; padding:20px 0; border:0; border-top:1px solid var(--line); }
.pp-section legend { float:left; width:100%; margin:0 0 12px; padding:0; font-size:1.0625rem; font-weight:600; }
.pp-section > label { display:block; clear:both; margin:0 0 10px; font-size:1rem; font-weight:500; }
.pp-section-hint { clear:both; margin:0 0 16px; color:var(--muted); font-size:.9375rem; line-height:1.6; }
.pp-section .pp-socials { clear:both; grid-template-columns:minmax(0,1fr); gap:12px; }
.pp-section .pp-social { display:flex; flex-direction:column; align-items:stretch; gap:6px; }
.pp-social-label { font-size:1rem; font-weight:500; }
.pp-social-input { display:flex; align-items:center; gap:12px; min-width:0; }
.pp-section .pp-social-input { gap:0; border:1px solid #dcd7e5; border-radius:12px; background:#fff; overflow:hidden; }
.pp-section .pp-social-icon { width:38px; height:38px; margin:6px; border-radius:9px; }
.pp-section .pp-social input[type=text] { border:0; border-radius:0; }
.pp-section .pp-social-input:focus-within, .account-profile .pp-handle:focus-within { outline:3px solid var(--cta); outline-offset:3px; }
.pp-section .pp-social input:focus { outline:none; }
.account-profile .pp-prefix { background:#f4effb; color:#615273; }
.account-profile .pp-section legend { color:#562194; }
.account-profile .pp-actions { margin-top:auto; padding-top:20px; border-top:1px solid var(--line); }
.pp-section .pp-social input[type=text] { min-height:50px; }
.pp-section textarea { min-height:120px; margin-bottom:0; }
.profile-preview-own { align-self:center; margin-top:16px; }
.profile-preview-own[hidden] { display:none; }
.profile-preview-pause { align-self:center; margin-top:16px; min-height:44px; }
.profile-preview-pause[hidden] { display:none; }
.profile-preview-device[data-mode=example] .tp-head { background:linear-gradient(145deg,#f1e5ff,#eaf5ff 65%,#fff5e7); border-color:#ded2ef; box-shadow:0 8px 24px #5621940a; }
.profile-preview-device[data-mode=example] .tp-avatar { border:4px solid #fff; box-sizing:border-box; box-shadow:0 4px 16px #56219420; }
.profile-preview-device[data-mode=example] .tp-head h1 { font-family:var(--ui-font); font-weight:700; color:#402461; }
.profile-preview-device[data-mode=example] .tp-bio { color:#514663; }
.profile-preview-device[data-mode=example] .tp-course { border-color:#e4dcef; box-shadow:0 4px 14px #5621940a; }
.profile-preview-device[data-mode=example] .tp-body { background:linear-gradient(120deg,#fff,#faf7ff); }
.profile-preview-device[data-mode=example] .tp-thumb { aspect-ratio:16 / 9; }
.profile-preview-device[data-mode=blank] .tp-head { background:#faf7ff; border:1px dashed #cbb6e6; }
.profile-preview-device[data-mode=blank] .tp-avatar { background:#eee5fa; color:#7954a3; border:1px dashed #cbb6e6; }
.profile-preview-device[data-mode=blank] .tp-avatar .mc-svg { width:32px; height:32px; }
.profile-preview-device[data-mode=blank] .tp-head h1 { color:#562194; }
.profile-preview-device { margin-top:8px; }
.profile-preview-device .bio-phone { display:flex; flex-direction:column; max-width:340px; height:640px; min-height:0; margin:16px auto; padding:26px 0 18px; border:8px solid #252525; border-radius:46px; background:#fff; box-shadow:0 12px 32px #20202018; overflow:hidden; }
.profile-preview-device .bio-phone::before { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:88px; height:12px; background:#252525; border-radius:999px; }
.profile-preview-device .bio-phone::after { content:""; position:absolute; bottom:6px; left:50%; transform:translateX(-50%); width:100px; height:4px; background:#252525; border-radius:999px; }
.profile-preview-device .bio-phone-screen { display:block; flex:1; min-height:0; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; scrollbar-gutter:stable; border-radius:14px; }
.profile-preview-device .tp-page { padding-top:16px; }
.profile-preview-device .tp-head { padding:24px 18px; border-radius:16px; }
.profile-preview-device .tp-avatar { width:88px; height:88px; font-size:32px; }
.profile-preview-device .tp-head h1 { font-size:24px; overflow-wrap:anywhere; }
.profile-preview-device .tp-bio { overflow-wrap:anywhere; }
.profile-preview-device .tp-preview-hint { margin:10px 0 0; color:#77716b; font-size:.9375rem; line-height:1.5; }
.profile-preview-device .tp-social-hint { margin-top:12px; }
.profile-preview-device .tp-missing-socials { display:grid; width:100%; gap:8px; margin-top:16px; }
.profile-preview-device .tp-add-social { display:flex; align-items:center; gap:8px; width:100%; padding:12px; border:1px dashed var(--line); border-radius:12px; background:#faf9f7; color:var(--text); font:inherit; font-size:.875rem; text-align:left; cursor:pointer; }
.profile-preview-device .tp-add-social .mc-svg { width:18px; height:18px; flex:none; }
.profile-preview-device .tp-add-social-label { margin-left:auto; color:var(--muted); }
.profile-preview-device .tp-add-social:hover { background:#f4f2ef; }
.profile-preview-device .tp-add-social:focus-visible { outline:2px solid var(--text); outline-offset:2px; }
.profile-preview-device .tp-section { margin-top:24px; }
.profile-preview-device .tp-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
.profile-preview-device .tp-course { pointer-events:none; }
.profile-preview-device a[aria-disabled=true] { cursor:default; pointer-events:none; }
.profile-preview-footnote { margin:10px 0 0; color:var(--muted); font-size:.875rem; line-height:1.5; text-align:center; }
@media(min-width:761px) {
  .public-profile-device .bio-phone { max-width:340px; height:auto; min-height:660px; margin:0 auto 16px; }
  .public-profile-device { padding:24px 0; }
  .public-profile-device .bio-phone-screen { overflow:visible; flex:none; }
  .public-profile-device .tp-page { padding-top:16px; }
  .public-profile-device .tp-head { padding:24px 18px; border-radius:16px; }
  .public-profile-device .tp-avatar { width:88px; height:88px; font-size:32px; }
  .public-profile-device .tp-head h1 { font-size:24px; overflow-wrap:anywhere; }
  .public-profile-device .tp-bio { overflow-wrap:anywhere; }
  .public-profile-device .tp-section { margin-top:24px; }
  .public-profile-device .tp-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
}
@media(min-width:1101px) {
  .account-profile .profile-account-details { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
  .profile-account-details .pf-phone { padding:0 0 0 24px; border-top:0; border-left:1px solid var(--line); }
  .profile-setup-grid :is(.pp-head,.profile-preview-heading) { box-sizing:border-box; min-height:156px; padding-bottom:16px; border-bottom:1px solid var(--line); }
  .profile-preview-heading { flex-direction:column; flex-wrap:nowrap; justify-content:flex-start; }
  .profile-setup-grid .pp-section:first-of-type { border-top:0; padding-top:0; }
  .profile-preview-device { display:flex; align-items:flex-start; margin-top:0; }
  .profile-preview-device .bio-phone { margin-top:0; }
}
@media(max-width:1100px) {
  .profile-setup-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:900px) {
  .account-profile { grid-template-columns:minmax(0,1fr); gap:24px; }
  .account-profile .account-sidebar { padding:18px; }
  .account-profile .account-identity { flex-direction:row; align-items:center; flex-wrap:wrap; gap:12px; padding:0 0 16px; }
  .account-profile .account-avatar { width:44px; height:44px; font-size:20px; }
  .profile-account-name { margin-top:0; }
  .profile-account-caption { flex-basis:100%; }
  .account-profile .account-nav { flex-direction:row; flex-wrap:wrap; }
}
@media(max-width:600px) {
  .profile-setup-grid > .dash-card, .account-profile .account-content > .dash-card, .account-profile .mc-page-head { padding:20px; }
  .profile-account-details .pf-photo-row { flex-direction:row; align-items:center; gap:16px; }
  .profile-account-details .pf-photo { width:72px; height:72px; }
  .profile-account-details .pf-phone-row { grid-template-columns:90px minmax(0,1fr); }
  .profile-account-details .pf-phone-save { grid-column:1 / -1; }
  .account-profile .pp-prefix { padding:0 8px; font-size:.875rem; }
  .profile-preview-heading { gap:16px; }
}
@media(max-width:760px) {
  .profile-preview-device .bio-phone { height:auto; aspect-ratio:17 / 32; }
  .public-profile-device .bio-phone .tp-page { padding:24px 0 56px; }
}
