@import url('/settings.css');
@import url('/tokens.css');
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-color:var(--border-strong) var(--background)}body{margin:0;background:var(--background);color:var(--text-primary);font-family:var(--font);font-size:var(--ui-body,14px);line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.38}a{color:inherit;text-decoration:none}img,svg{vertical-align:middle}img{max-width:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:550}h1{font-size:clamp(28px,2.4vw,38px);line-height:1.2;letter-spacing:-1.35px}h2{font-size:var(--ui-section,18px);letter-spacing:-.45px;line-height:1.3}h3{font-size:var(--ui-body,15px)}p{color:var(--text-secondary)}small{font-size:var(--ui-support,11px)}strong{font-weight:600}em{font-family:var(--font-editorial);font-weight:400}fieldset{border:0;padding:0;margin:0}legend{padding:0}.icon{flex:none;width:20px;height:20px}.muted{color:var(--text-muted)}.small{font-size:var(--ui-label,12px)}.full{width:100%}.micro,.eyebrow{font-size:var(--ui-fine,10px);letter-spacing:1.65px;font-weight:600}.micro{color:var(--text-muted)}.eyebrow{color:var(--text-secondary);margin-bottom:12px}.accent-dot,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}.status-dot{background:var(--success)}.title-dot{color:var(--accent)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.skip-link{position:fixed;top:12px;left:12px;z-index:1000;transform:translateY(-150%);padding:12px 20px;background:var(--accent);color:var(--on-accent);border-radius:var(--radius-sm)}.skip-link:focus{transform:translateY(0)}::selection{background:var(--accent);color:var(--on-accent)}
.btn,.icon-btn,.text-button{border:0;background:none;display:inline-flex;justify-content:center;align-items:center;gap:9px;white-space:nowrap;font-weight:550}.btn{min-height:42px;padding:10px 17px;border-radius:var(--radius-sm);border:1px solid transparent;font-size:var(--ui-label,12px);position:relative;transition:background var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-standard),transform var(--motion-fast) var(--ease-standard)}.btn .icon{width:17px;height:17px}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:active:not(:disabled){transform:scale(.97)}.btn.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.btn.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover);box-shadow:0 4px 20px var(--accent-subtle)}.btn.primary:active{background:var(--accent-pressed)}.btn.secondary{background:var(--surface-raised);border-color:var(--border);color:var(--text-primary)}.btn.secondary:hover{background:var(--surface-hover);border-color:var(--border-strong)}.btn.ghost{color:var(--text-secondary);padding:8px 10px}.btn.ghost:hover{color:var(--text-primary);background:var(--surface-hover)}.btn.danger{background:var(--surface-raised);color:var(--danger);border-color:var(--border)}.btn[aria-busy=true]{opacity:.75;pointer-events:none}.btn[aria-busy=true]::after{content:'';width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.btn .icon:last-child{transition:transform var(--motion-standard) var(--ease-standard)}.btn:hover .icon:last-child{transform:translateX(2px)}.icon-btn{width:36px;height:36px;border-radius:var(--radius-sm);color:var(--text-muted);transition:color var(--motion-fast),background var(--motion-fast),transform var(--motion-fast)}.icon-btn:hover:not(:disabled){background:var(--surface-hover);color:var(--text-primary)}.icon-btn:active:not(:disabled){transform:scale(.9)}[data-direction=left] .icon,[data-direction=up] .icon{transform:rotate(180deg)}[data-direction=up] .icon{transform:rotate(-90deg)}[data-direction=down] .icon{transform:rotate(90deg)}.text-button{font-size:inherit;color:var(--text-primary);padding:4px 2px;border-radius:3px}.text-button:hover{color:var(--accent)}.badge{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--border);background:var(--surface-hover);border-radius:6px;padding:4px 8px;font-size:var(--ui-fine,10px);font-weight:550;white-space:nowrap;color:var(--text-secondary)}.badge.subtle{background:var(--surface);color:var(--text-secondary)}.badge.scheduled{background:var(--accent-subtle);color:var(--accent-hover);border-color:transparent}.badge.success,.badge.published{color:var(--success)}.badge.failed{color:var(--danger)}.badge.cancelled{color:var(--text-muted)}.badge.warning{color:var(--warning)}.badge.draft{color:var(--text-secondary)}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;min-width:0;position:relative}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;position:relative;z-index:1}.panel-heading p{font-size:var(--ui-support,11px);margin-top:6px;color:var(--text-muted)}.panel-heading h2{font-size:var(--ui-section,16px)}.panel-heading>.btn{margin-top:-6px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-heading .eyebrow{font-size:var(--ui-fine,9px);letter-spacing:1.8px;margin-bottom:12px}.page-subtitle{font-size:var(--ui-body,13px);margin-top:10px;color:var(--text-muted)}.heading-actions{display:flex;gap:10px;align-items:center}.page-heading h1 em{font-style:italic}.two-column{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-top:20px}.two-column>.panel{height:100%}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 18px;min-width:0;font-size:var(--ui-label,12px)}.field>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:550;color:var(--text-secondary)}.field small{color:var(--text-muted);font-weight:400}.field>span small{font-size:var(--ui-fine,9px);letter-spacing:.5px}input:not([type=checkbox],[type=radio],[type=file]),select,textarea{background:var(--background);color:var(--text-primary);border:1px solid var(--border);border-radius:var(--radius-sm);min-height:44px;padding:11px 13px;outline:none;min-width:0;max-width:100%;transition:border-color var(--motion-fast),box-shadow var(--motion-fast),background var(--motion-fast);color-scheme:dark}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:var(--text-muted);opacity:.75}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-subtle);outline:none}input[readonly]{color:var(--text-muted)}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}select{font-size:var(--ui-label,12px);cursor:pointer}input[aria-invalid=true]{border-color:var(--danger)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{min-height:22px;color:var(--danger);font-size:var(--ui-label,12px);margin:8px 0 12px;line-height:1.5}.form-error:empty{margin:0;min-height:10px}.save-state{font-size:var(--ui-fine,10px);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--text-muted)}.save-state.unsaved .status-dot{background:var(--warning)}.note-panel{display:flex;gap:12px;padding:18px 0;align-items:flex-start}.note-panel>.icon{color:var(--text-muted);width:17px;height:17px;margin-top:2px}.note-panel p{font-size:var(--ui-support,11px);color:var(--text-muted);line-height:1.8}.empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px 16px;min-height:190px}.empty-icon{width:48px;height:48px;border:1px solid var(--border);border-radius:14px;display:grid;place-items:center;color:var(--text-muted);margin-bottom:14px;background:var(--surface-raised)}.empty h3{font-size:var(--ui-body,14px);margin-bottom:6px}.empty p{font-size:var(--ui-support,11px);max-width:270px;color:var(--text-muted);line-height:1.7}.empty>.btn{margin-top:16px}.avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--surface-active);border:1px solid var(--border-strong);font-size:var(--ui-support,11px);color:var(--text-secondary);overflow:hidden;font-weight:600}.avatar.large{width:62px;height:62px;font-size:20px}.avatar img{width:100%;height:100%;object-fit:cover}.brand-symbol{display:inline-flex;align-items:center;gap:10px}.brand-symbol .brand-mark{width:34px;height:34px}.brand-symbol.large .brand-mark{width:48px;height:48px}.platform-icon{width:32px;height:32px;border:1px solid var(--border);border-radius:9px;background:var(--surface-raised);display:inline-flex;align-items:center;justify-content:center;font-size:var(--ui-section,18px);line-height:1;font-weight:500;flex:none;font-family:var(--font)}
/* Persistent application frame */
.workspace{--sidebar-width:236px;min-height:100vh}.sidebar{width:var(--sidebar-width);height:100dvh;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:26px 16px 14px;z-index:40;overflow-y:auto;overflow-x:hidden}.sidebar-brand{display:flex;justify-content:space-between;align-items:center;padding:0 9px 26px}.sidebar-brand>.icon-btn{width:30px;height:30px}.workspace-switch{display:flex;align-items:center;gap:10px;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 10px;text-align:left;margin:0 0 24px;min-height:60px;width:100%}.workspace-initial{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;background:var(--accent-subtle);color:var(--accent-hover);font-size:var(--ui-body,13px)}.workspace-switch .nav-label{flex:1}.workspace-switch strong,.account-control strong{font-size:var(--ui-support,11px);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-switch small,.account-control small{font-size:var(--ui-fine,10px);color:var(--text-muted);display:block;margin-top:2px}.workspace-switch>.icon{width:14px;height:14px;color:var(--text-muted)}.side-nav{display:flex;flex-direction:column;gap:3px;position:relative}.nav-section{font-size:var(--ui-fine,8px);font-weight:600;letter-spacing:1.4px;color:var(--text-muted);padding:11px 14px 9px}.nav-item{display:flex;align-items:center;gap:12px;background:none;border:0;border-radius:8px;min-height:42px;padding:10px 14px;position:relative;color:var(--text-secondary);font-size:var(--ui-label,12px);text-align:left;transition:color var(--motion-fast),background var(--motion-fast)}.nav-item>.icon{width:18px;height:18px;color:var(--text-muted)}.nav-item:hover{color:var(--text-primary);background:var(--surface-hover)}.nav-item.active{color:var(--text-primary)}.nav-item.active>.icon{color:var(--accent)}.nav-indicator{position:absolute;top:0;left:0;right:0;height:42px;background:var(--surface-hover);border:1px solid var(--border);border-radius:8px;pointer-events:none;transition:transform var(--motion-slow) var(--ease-standard)}.nav-indicator::before{content:'';position:absolute;left:-1px;top:12px;bottom:12px;width:2px;border-radius:2px;background:var(--accent)}.nav-count{margin-left:auto;background:var(--surface-active);font-size:var(--ui-fine,9px);padding:0 5px;border-radius:4px}.nav-divider{height:1px;background:var(--border);margin:16px 10px 10px}.sidebar-bottom{margin-top:auto;padding-top:30px}.sandbox-note{border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px 13px;position:relative;overflow:hidden}.sandbox-symbol{display:block;color:var(--accent);margin-bottom:12px}.sandbox-note strong{font-size:var(--ui-support,11px)}.sandbox-note p{font-size:var(--ui-fine,10px);line-height:1.7;color:var(--text-muted);margin-top:5px}.sandbox-note>.btn{font-size:var(--ui-fine,10px);padding:9px 0 0;min-height:30px;flex-direction:row-reverse;justify-content:space-between;width:100%;margin-top:8px}.account-control{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;border-top:1px solid var(--border);margin-top:20px;padding:17px 6px 0;text-align:left}.account-control>.nav-label{flex:1;min-width:0}.account-control>.icon{width:17px;color:var(--text-muted)}.app-body{margin-left:var(--sidebar-width);min-width:0}.topbar{height:76px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 36px;background:var(--background);position:sticky;top:0;z-index:30}.header-context{display:flex;gap:15px;align-items:center;white-space:nowrap;font-size:var(--ui-support,11px)}.context-parent{color:var(--text-muted)}.context-divider{color:var(--border-strong)}.header-context>[data-action=mobile-menu]{display:none}.header-tools{display:flex;align-items:center;gap:15px}.command-trigger{display:flex;align-items:center;gap:9px;background:none;border:0;color:var(--text-muted);font-size:var(--ui-support,11px);padding:7px}.command-trigger .icon{width:16px}.command-trigger kbd,kbd{font-family:var(--font);font-size:var(--ui-fine,9px);border:1px solid var(--border);background:var(--surface);border-radius:4px;padding:2px 5px;color:var(--text-muted);margin-left:16px}.mode-label{font-size:var(--ui-fine,8px);letter-spacing:1px;color:var(--text-muted);display:flex;gap:5px;align-items:center;white-space:nowrap}.mode-label .status-dot{width:4px;height:4px;background:var(--accent)}.header-avatar{border:0;background:none;padding:0;border-radius:50%}.header-tools>.btn.primary{min-height:36px;padding:8px 12px;font-size:var(--ui-support,11px)}.main-content{padding:36px;max-width:1680px;margin:auto;min-height:calc(100vh - 140px);outline:0}.workspace-footer{display:flex;justify-content:space-between;gap:12px;padding:0 36px 24px;color:var(--text-muted);font-size:var(--ui-fine,9px);max-width:1680px;margin:auto}.workspace-footer>span{display:flex;align-items:center;gap:7px}.workspace-footer .icon{width:13px;height:13px}.workspace-footer .status-dot{width:4px;height:4px}.sidebar-scrim{display:none}.workspace.collapsed{--sidebar-width:76px}.collapsed .sidebar{padding:26px 10px 14px}.collapsed .nav-label,.collapsed .nav-section,.collapsed .nav-count,.collapsed .sandbox-note,.collapsed .workspace-switch>.icon,.collapsed .account-control>.icon{display:none}.collapsed .sidebar-brand{padding:0 10px 22px;flex-direction:column;gap:12px}.collapsed .workspace-switch{padding:12px;margin-bottom:16px}.collapsed .nav-item{justify-content:center;padding:12px}.collapsed .account-control{justify-content:center;padding:16px 0}.collapsed .sidebar-bottom{padding-top:15px}
/* Authentication: one bounded composition, never two viewport-sized panels. */
.auth-layout{width:100%;min-height:100vh;min-height:100dvh;display:grid;align-items:center;padding:40px 0;background:var(--background)}
.auth-composition{width:min(calc(100% - 64px),1200px);margin-inline:auto;display:grid;grid-template-columns:minmax(0,580px) minmax(0,460px);justify-content:center;gap:clamp(48px,4vw,80px);align-items:center;min-height:900px}
.auth-story{min-width:0;position:relative;isolation:isolate}
.auth-brand{display:flex;align-items:center;gap:18px}
.auth-layout .auth-brand .brand-wordmark{font-size:26px}.auth-brand .brand-symbol .brand-mark{width:40px;height:40px}
.story-copy{margin-top:32px;position:relative}
.story-copy .eyebrow{font-size:12px;letter-spacing:1.3px;display:flex;align-items:center;gap:9px;margin-bottom:18px;min-height:18px}
.story-copy h1{font-size:clamp(80px,6.12vw,88px);letter-spacing:-4px;line-height:1.01;font-weight:500}
.story-copy h1 em{color:var(--accent);font-weight:400;letter-spacing:-4px;line-height:1.1}
.story-copy>p{font-size:16px;line-height:1.75;margin-top:20px;max-width:480px;min-height:56px;color:var(--text-secondary)}
/* Artwork owns its full bounds. A closest-side glow reaches transparency before
   every edge, unlike the former story-sized gradient that ended mid-fade. */
.product-composition{height:390px;position:relative;width:100%;max-width:580px;margin:24px 0 0;isolation:isolate}
.product-composition::before{content:'';position:absolute;inset:-16px;z-index:-2;background:radial-gradient(ellipse closest-side at 50% 50%,var(--accent-subtle),transparent 100%);pointer-events:none}
.orbit{position:absolute;border:1px solid var(--border);border-radius:50%;z-index:-1;pointer-events:none}
.orbit-one{width:96%;height:88%;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-16deg);border-color:var(--accent-glow)}
.orbit-two{width:82%;height:92%;top:50%;left:50%;transform:translate(-50%,-50%) rotate(22deg);border-color:var(--border-strong)}
.preview-tile{background:var(--surface-raised);border:1px solid var(--border-strong);border-radius:18px;box-shadow:var(--shadow);position:absolute}
.composition-profile{width:264px;padding:20px;left:22px;top:22px;transform:rotate(-7deg);text-align:center;z-index:2}
.composition-profile>.micro{font-size:12px;letter-spacing:.6px;color:var(--text-secondary)}
.abstract-avatar{width:48px;height:48px;border-radius:50%;margin:12px auto 10px;background:var(--accent-subtle);color:var(--accent);display:grid;place-items:center}
.abstract-avatar .icon{width:26px;height:26px}.composition-profile>strong{font-size:24px;line-height:1.25;font-family:var(--font-editorial);font-weight:400;display:block}
.composition-profile>p{font-size:13px;line-height:1.5;margin:6px 0 14px;text-wrap:balance}
.sample-link{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:12px;line-height:1.5;background:var(--accent);color:var(--on-accent);border-radius:6px;padding:9px 10px;margin:8px 0;font-weight:600}
.sample-link.muted{background:var(--surface-active);color:var(--text-secondary)}.sample-link .icon{width:13px;height:13px}
.composition-caption{font-size:12px;letter-spacing:.6px;color:var(--text-secondary);display:block;margin-top:12px}
.composition-post{width:232px;left:306px;top:66px;transform:rotate(7deg);padding:22px;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center}
.sample-kicker{font-size:12px;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--text-secondary);width:100%}
.sample-kicker .status-dot{width:5px;height:5px}
.sample-wave{height:54px;display:flex;align-items:center;justify-content:center;gap:6px;margin:20px 0;width:100%}
.sample-wave i{width:14px;height:30%;border-radius:4px;background:var(--accent)}.sample-wave i:nth-child(2n){height:60%;opacity:.65}.sample-wave i:nth-child(3n){height:90%;opacity:.85}
.composition-post>strong{font-size:25px;letter-spacing:-.7px;line-height:1.18;display:block;margin-bottom:20px;width:100%;text-wrap:balance}.composition-post>.micro{font-size:12px;letter-spacing:.4px;color:var(--text-secondary);width:100%}
.composition-note{position:absolute;left:218px;bottom:12px;font-size:12px;border-radius:8px;background:var(--surface-hover);border:1px solid var(--border-strong);padding:12px 15px;box-shadow:var(--shadow);z-index:3;transform:rotate(-3deg);display:flex;gap:8px;align-items:center;white-space:nowrap}
.composition-note .icon{color:var(--accent);width:14px;height:14px}
/* Stable form rail: reserve the largest mode's footprint, then use positive
   internal breathing room to align its visual centre with the complete hero. */
.auth-form-side{min-width:0;width:100%;max-width:460px;position:relative;align-self:stretch;justify-self:end;padding-top:48px}
.auth-form-wrap{width:100%;padding:32px;border:1px solid var(--border);border-radius:var(--radius-lg);background:linear-gradient(145deg,var(--surface),var(--background) 65%);box-shadow:var(--shadow);position:relative;isolation:isolate}
.auth-form-wrap::before{content:'';position:absolute;inset:0;border:1px solid var(--accent);border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--motion-standard)}
.auth-layout[data-transitioning] .auth-form-wrap::before{opacity:.22}
.auth-mode-nav{display:grid;grid-template-columns:1fr 1fr;position:relative;border-bottom:1px solid var(--border);margin-bottom:28px}
.auth-mode-nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;font-size:14px;color:var(--text-secondary);border-radius:4px 4px 0 0;transition:color var(--motion-fast),background var(--motion-fast)}
.auth-mode-nav a:hover{color:var(--text-primary);background:var(--surface-raised)}.auth-mode-nav a[aria-current]{color:var(--text-primary)}
.auth-mode-nav a[aria-disabled=true]{cursor:wait;color:var(--text-muted)}
.auth-mode-indicator{position:absolute;bottom:-1px;left:0;height:2px;width:50%;background:var(--accent);border-radius:2px;pointer-events:none;transform:translateX(0);transition:transform 260ms var(--ease-standard)}
.auth-mode-nav[data-mode=login] .auth-mode-indicator{transform:translateX(100%)}
.auth-stage{min-width:0;display:flow-root}
.auth-layout[data-transitioning] .auth-stage{overflow:clip;overflow-clip-margin:4px}
.auth-content{display:flow-root;min-width:0}
.auth-content>h2{font-size:42px;line-height:1.14;letter-spacing:-1.6px;margin-bottom:16px;font-weight:500;border-radius:4px}
.auth-description{font-size:15px;color:var(--text-secondary);line-height:1.7;margin-bottom:24px;max-width:394px}
.auth-progress{display:flex;align-items:center;gap:6px;margin-bottom:22px}
.auth-progress>span{height:2px;width:38px;background:var(--border);border-radius:2px}.auth-progress>span.active{background:var(--accent)}
.auth-progress>small{font-family:var(--font-mono);font-size:12px;color:var(--text-muted);margin-left:7px}
.auth-form-wrap .field{margin-bottom:20px;gap:8px}.auth-form-wrap .field>span:first-child{font-size:14px}
.auth-form-wrap .field small{font-size:12px;line-height:1.6}.auth-form-wrap input{min-height:52px;font-size:15px}
.auth-form-wrap input::placeholder{color:var(--text-secondary);opacity:1}
.auth-form-wrap .btn.full{min-height:52px;justify-content:space-between;padding:12px 18px;margin-top:4px;font-size:14px}
.auth-form-wrap .form-error{font-size:13px;line-height:1.5;min-height:20px;margin:0 0 8px}
.auth-switch{font-size:13px;color:var(--text-secondary);text-align:center;margin:18px 0 0;min-height:36px}
.auth-switch a{margin-left:3px;font-size:13px;min-height:36px;white-space:normal}
.auth-assurance{border-top:1px solid var(--border);padding-top:20px;margin-top:20px;display:flex;gap:10px;align-items:flex-start}
.auth-assurance>.icon{color:var(--text-muted);width:16px;height:16px;margin-top:3px}
.auth-assurance>p{font-size:12px;color:var(--text-secondary);line-height:1.7}
.auth-bottom{font-size:12px;color:var(--text-muted);letter-spacing:.7px;display:flex;align-items:center;justify-content:center;gap:10px;padding-top:22px;text-align:center}
.auth-bottom .icon{width:14px;height:14px}.auth-mobile-mark{display:none}
.password-wrap{position:relative;display:flex!important}.password-wrap>input{width:100%;padding-right:49px}
.password-wrap>.icon-btn{position:absolute;right:4px;top:4px;width:44px;height:44px}
.identity-summary{display:flex;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:15px;margin-bottom:22px;min-width:0}
.identity-summary>span{color:var(--accent)}.identity-summary>div{flex:1;min-width:0;overflow-wrap:anywhere}
.identity-summary strong{font-size:14px}.identity-summary p{font-size:13px}.identity-summary+.field{margin-top:24px}
@media(min-width:768px) and (max-width:1100px){
  .auth-layout{padding:36px 0}
  .auth-composition{width:calc(100% - 48px);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px;min-height:900px}
  .story-copy{margin-top:32px}.story-copy h1{font-size:clamp(52px,6.7vw,72px);letter-spacing:-3px}.story-copy h1 em{letter-spacing:-3px}
  .story-copy .eyebrow{letter-spacing:.7px}.story-copy>p{font-size:15px;min-height:53px}
  .product-composition{height:420px;margin-top:24px}
  .composition-profile{width:230px;left:16px;top:20px;padding:18px}
  .composition-post{width:210px;left:auto;right:12px;top:104px;padding:18px}
  .composition-post>strong{font-size:23px}.composition-post>.micro{letter-spacing:0}
  .composition-note{left:auto;right:16px;bottom:8px}
  .auth-form-side{padding-top:36px}
  .auth-form-wrap{padding:24px}.auth-content>h2{font-size:34px;letter-spacing:-1.2px}
  .auth-assurance>p br{display:none}
}
@media(min-width:768px) and (max-width:1000px){
  .auth-composition{gap:28px}.auth-form-wrap{padding:20px}
  .product-composition{height:580px}
  .composition-profile{width:230px;left:18px;top:18px;padding:16px}
  .composition-profile .abstract-avatar{display:none}
  .composition-profile>strong{margin-top:12px}
  .composition-post{width:210px;right:20px;top:292px;z-index:3}
  .composition-post .sample-wave{height:42px;margin:14px 0}
  .composition-note{bottom:8px;z-index:4}
  .orbit-one{width:78%;height:80%}.orbit-two{width:72%;height:82%}
  .auth-bottom{letter-spacing:.3px}
}
@media(max-width:767px){
  .auth-layout{padding:28px 0 32px;align-items:start}
  .auth-composition{width:min(calc(100% - 40px),420px);grid-template-columns:minmax(0,1fr);gap:28px;min-height:0}
  .auth-form-side{order:0;padding-top:0}.auth-mobile-mark{display:block;margin:0 0 30px}
  .auth-form-wrap{padding:0;border:0;background:transparent;box-shadow:none}
  .auth-form-wrap::before{display:none}
  .auth-mode-nav{margin-bottom:24px}.auth-mode-nav a{min-height:48px;font-size:14px}
  .auth-content>h2{font-size:37px;letter-spacing:-1.5px}.auth-description{font-size:15px;margin-bottom:22px}
  .auth-form-wrap input{font-size:16px;min-height:52px}
  .auth-switch{font-size:13px;min-height:44px}.auth-switch a{font-size:13px;min-height:44px}
  .auth-assurance{margin-top:12px;padding-top:18px}
  .auth-bottom{letter-spacing:.3px;padding-top:22px}
  .auth-story{order:1;border-top:1px solid var(--border);padding-top:24px;text-align:center}
  .auth-story .auth-brand,.auth-story h1,.auth-story .eyebrow,.product-composition{display:none}
  .story-copy{margin:0}.story-copy>p{margin:0;min-height:0;font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  .auth-layout[data-transitioning] .auth-form-wrap::before{opacity:0}
}

/* Overview, genuine analytics, interactive plots */
.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{padding:20px 22px;overflow:hidden}.metric-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.metric-icon{height:30px;width:30px;display:grid;place-items:center;border-radius:8px;background:var(--surface-hover);color:var(--text-secondary)}.metric-icon>.icon{width:16px;height:16px}.metric-top .micro{font-size:var(--ui-fine,7px);letter-spacing:1px}.metric>p{font-size:var(--ui-support,11px);color:var(--text-secondary);margin-bottom:5px}.metric>strong{font-size:32px;letter-spacing:-1.1px;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px}.chart-panel{min-height:330px}.chart{position:relative;margin:28px 0 0;padding-left:26px;outline-offset:8px;border-radius:4px}.chart-axis{position:absolute;left:0;top:0;bottom:30px;display:flex;flex-direction:column;justify-content:space-between;font-family:var(--font-mono);font-size:var(--ui-fine,9px);color:var(--text-muted)}.chart-plot{height:190px;position:relative;cursor:crosshair}.chart-plot>svg{width:100%;height:100%;overflow:visible}.chart-grid{stroke:var(--border);stroke-dasharray:3 5;stroke-width:1}.chart-line{fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;animation:draw-line var(--motion-cinematic) var(--ease-standard) both}.views-line{stroke:var(--accent)}.clicks-line{stroke:var(--text-secondary);stroke-width:1.8}.area-start{stop-color:var(--accent);stop-opacity:.18}.area-end{stop-color:var(--accent);stop-opacity:0}.chart-dates{display:flex;justify-content:space-between;color:var(--text-muted);font-size:var(--ui-fine,9px);margin-top:14px;font-family:var(--font-mono)}.chart-legend{display:flex;align-items:center;gap:19px;margin-top:22px;font-size:var(--ui-fine,10px);color:var(--text-secondary);flex-wrap:wrap}.chart-legend>span{display:inline-flex;align-items:center;gap:6px}.legend-dot{width:5px;height:5px;background:var(--accent);border-radius:50%}.legend-dot.clicks{background:var(--text-secondary)}.chart-source{margin-left:auto;font-size:var(--ui-fine,8px);color:var(--text-muted)}.chart-empty{font-size:var(--ui-fine,10px);margin-top:12px;color:var(--text-muted)}.chart-tooltip{position:absolute;top:8px;left:0;z-index:5;pointer-events:none;background:var(--surface-active);border:1px solid var(--border-strong);border-radius:7px;padding:10px 12px;font-size:var(--ui-fine,10px);box-shadow:var(--shadow);min-width:138px;transition:translate var(--motion-fast) var(--ease-standard)}.chart-tooltip strong{display:block;margin-bottom:4px;color:var(--text-primary)}.chart-tooltip span{color:var(--text-secondary)}.chart-cursor{position:absolute;top:0;bottom:0;left:0;border-left:1px dashed var(--accent);pointer-events:none;transition:translate var(--motion-instant) linear}.segmented{display:inline-flex;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--background);gap:2px;flex:none}.segmented button{background:none;border:0;border-radius:5px;padding:5px 11px;min-height:29px;font-size:var(--ui-fine,10px);color:var(--text-muted);transition:color var(--motion-fast),background var(--motion-fast)}.segmented button:hover{color:var(--text-primary)}.segmented button.selected{background:var(--surface-active);color:var(--text-primary);box-shadow:0 1px 4px var(--overlay)}.connection-panel{overflow:hidden;display:flex;flex-direction:column}.connection-orbit{height:180px;position:relative;display:flex;align-items:center;justify-content:center;margin:0 auto;width:240px;max-width:100%}.connection-orbit>div:last-child{display:flex;flex-direction:column;align-items:center}.connection-orbit strong{font-size:42px;letter-spacing:-2px;font-weight:500}.connection-orbit strong small{font-size:var(--ui-section,17px);color:var(--text-muted);margin-left:4px;letter-spacing:-.4px}.connection-orbit>div>span{font-size:var(--ui-fine,6px);letter-spacing:1.5px;color:var(--text-muted)}.orbit-ring{position:absolute;inset:2px 32px;border:1px solid var(--border);border-radius:50%;transform:rotate(-25deg)}.orbit-ring::after{content:'';position:absolute;inset:18px;border:1px dashed var(--border);border-radius:50%}.orbit-platform{position:absolute}.orbit-platform .platform-icon{width:37px;height:37px;box-shadow:0 4px 15px var(--overlay);border-color:var(--border-strong)}.p-one{top:0;left:68px;transform:rotate(-8deg)}.p-two{right:8px;top:74px;transform:rotate(7deg)}.p-three{bottom:9px;left:22px;transform:rotate(-10deg)}.connection-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:10px}.connection-bottom p{font-size:var(--ui-fine,9px);color:var(--text-muted)}.connection-bottom>.btn{font-size:var(--ui-fine,10px);padding:6px 0}.post-rows{display:flex;flex-direction:column}.post-row{width:100%;display:flex;gap:12px;align-items:center;border:0;border-bottom:1px solid var(--border);background:none;padding:14px 0;text-align:left}.post-row:last-child{border-bottom:0;padding-bottom:0}.post-row:first-child{padding-top:0}.post-thumb{width:40px;height:45px;display:grid;place-items:center;border-radius:7px;background:var(--surface-raised);color:var(--text-muted);flex:none;overflow:hidden}.post-thumb img{width:100%;height:100%}.post-row-copy{flex:1;min-width:0}.post-row-copy strong{display:block;font-size:var(--ui-support,11px);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color var(--motion-fast)}.post-row:hover .post-row-copy strong{color:var(--accent-hover)}.post-row-copy small{display:block;font-size:var(--ui-fine,9px);color:var(--text-muted);margin-top:6px}.post-row>.icon{width:13px;color:var(--text-muted)}.post-row .badge{font-size:var(--ui-fine,8px);padding:3px 6px}.upcoming-panel{min-height:235px}.inspiration-panel{overflow:hidden;min-height:235px;padding:28px}.inspiration-panel>.eyebrow{font-size:var(--ui-fine,7px);letter-spacing:1.6px;color:var(--accent-hover)}.inspiration-panel h2{font-size:25px;line-height:1.2;letter-spacing:-.85px;position:relative;z-index:1}.inspiration-panel h2 em{font-size:29px}.inspiration-panel>p{font-size:var(--ui-fine,10px);margin:14px 0 22px;color:var(--text-muted);position:relative;z-index:1}.inspiration-panel>.btn{min-height:35px;font-size:var(--ui-fine,10px);padding:8px 12px;z-index:1}.inspiration-art{position:absolute;right:-20px;bottom:-60px;width:160px;height:260px;transform:rotate(30deg);opacity:.8}.inspiration-art>span{position:absolute;width:140px;height:220px;border:1px solid var(--border-strong);border-radius:80px;transform:rotate(20deg)}.inspiration-art>span:nth-child(2){transform:rotate(45deg);border-color:var(--accent);opacity:.7}.inspiration-art>span:nth-child(3){transform:rotate(70deg)}.launch-steps{display:flex;flex-direction:column;gap:15px}.launch-steps>button{display:flex;align-items:center;gap:14px;border:0;background:none;padding:0;text-align:left;border-radius:6px}.step-number{width:30px;height:30px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;font-family:var(--font-mono);font-size:var(--ui-fine,10px);color:var(--text-muted);flex:none}.step-number.done{color:var(--accent);border-color:var(--accent-subtle);background:var(--accent-subtle)}.step-number .icon{width:14px}.launch-steps>button>span:nth-child(2){flex:1}.launch-steps strong,.activity-row strong{font-size:var(--ui-support,11px);font-weight:500;display:block}.launch-steps small,.activity-row small{display:block;color:var(--text-muted);font-size:var(--ui-fine,9px);margin-top:4px}.launch-steps>button>.icon{width:15px;color:var(--text-muted);transition:transform var(--motion-standard)}.launch-steps>button:hover>.icon{color:var(--accent);transform:translateX(3px)}.activity-row{display:flex;gap:12px;align-items:center;background:none;border:0;width:100%;padding:12px 0;text-align:left}.activity-row>span:nth-child(2){flex:1;min-width:0}.activity-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-row>.icon{width:13px;color:var(--text-muted)}.activity-icon{width:29px;height:29px;border:1px solid var(--border);display:grid;place-items:center;border-radius:50%;color:var(--text-muted)}.activity-icon>.icon{width:13px}.activity-row:hover strong{color:var(--accent-hover)}.analytics-chart-panel .chart-plot{height:250px}.top-link{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--border)}.top-link:last-child{border:0}.rank{font-family:var(--font-mono);font-size:var(--ui-fine,10px);color:var(--text-muted)}.top-link>span:nth-child(2){flex:1;min-width:0}.top-link strong{font-size:var(--ui-label,12px);font-weight:500;display:block}.top-link small{display:block;font-size:var(--ui-fine,9px);margin-top:4px;color:var(--text-muted);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.top-link>strong{text-align:right;font-size:var(--ui-section,16px)}.top-link>strong small{font-size:var(--ui-fine,9px)}.platform-breakdown>div{display:flex;gap:10px;align-items:center;padding:7px 0}.platform-breakdown .platform-icon{width:26px;height:26px;font-size:var(--ui-body,15px);border-radius:7px}.platform-breakdown>div>span:nth-child(2){flex:1;font-size:var(--ui-support,11px)}.platform-breakdown strong{font-size:var(--ui-body,13px)}.platform-breakdown small{color:var(--text-muted);font-size:var(--ui-fine,9px)}.platform-breakdown+p{margin-top:15px;line-height:1.7}.comparison-panel{margin-top:20px}.comparison-panel>div:last-child{display:flex;gap:50px;align-items:center}.comparison-panel>div>span{font-size:var(--ui-support,11px);color:var(--text-secondary);min-width:120px}.comparison-panel strong{display:block;font-size:27px;color:var(--text-primary);font-weight:500}.comparison-panel small{color:var(--text-muted)}.comparison-panel>div>p{font-size:var(--ui-support,11px);max-width:450px;color:var(--text-muted);margin-left:auto;line-height:1.8}
/* Profile editing and live preview */
.profile-setup-note{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:22px 26px;margin-bottom:24px}
.profile-setup-note strong,.profile-visibility strong{font-size:var(--ui-body,15px)}
.profile-setup-note p,.profile-visibility p{font-size:var(--ui-body,13px);line-height:1.6;color:var(--text-secondary);margin:6px 0 0}
.profile-setup-note .btn{flex-shrink:0}
.profile-link-panel h2{font-size:20px;letter-spacing:-.5px;margin:0 0 8px}
.profile-link-panel>p{font-size:var(--ui-body,14px);line-height:1.6;color:var(--text-secondary)}
.profile-link-panel form{margin-top:24px}
.profile-link-panel .field{font-size:var(--ui-body,14px);margin-bottom:8px}
.profile-link-panel input{min-height:48px;font-size:var(--ui-section,16px)}
#profile-link-help,.profile-link-environment,#profile-link-status{font-size:var(--ui-body,13px);line-height:1.65;color:var(--text-secondary);margin:10px 0}
.profile-link-preview{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--surface-raised);border:1px solid var(--border);border-radius:10px;margin-top:20px;min-width:0}
.profile-link-preview>.icon{width:18px;flex-shrink:0;color:var(--accent)}
.profile-link-preview output{font-size:var(--ui-body,14px);overflow-wrap:anywhere;min-width:0}
.profile-link-actions{display:flex;flex-wrap:wrap;gap:10px}
.profile-link-panel .btn{min-height:44px;font-size:var(--ui-body,13px)}
.profile-visibility{border-top:1px solid var(--border);padding-top:22px;margin-top:26px;display:flex;flex-wrap:wrap;align-items:center;gap:18px}
.profile-visibility>div{flex:1 1 220px}
.profile-preview-dialog .bio-card{max-width:360px;margin:24px auto 0;border:1px solid var(--border);border-radius:20px}
@media(max-width:767px){.profile-setup-note{align-items:flex-start;flex-direction:column;padding:20px;gap:16px}.profile-link-actions>.btn{flex:1}.profile-link-panel .field{font-size:var(--ui-body,14px)}.profile-link-panel .form-error{font-size:var(--ui-body,13px)}.profile-visibility>.btn{width:100%}}
.builder-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:50px}.builder-edit>.panel+.panel{margin-top:22px}.profile-photo-row{display:flex;align-items:center;gap:16px;margin-bottom:25px}.profile-photo-row>div{flex:1}.profile-photo-row small{display:block;font-size:var(--ui-fine,9px);color:var(--text-muted);margin-top:7px}.file-label{position:relative;cursor:pointer;overflow:hidden;font-size:var(--ui-support,11px)}.file-label input,.upload-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.file-label:focus-within,.upload-label:focus-within{outline:2px solid var(--accent);outline-offset:4px}.profile-form .panel-heading{margin-bottom:28px}.theme-field{margin:0 0 22px}.theme-field legend{font-size:var(--ui-label,12px);color:var(--text-secondary);margin-bottom:12px}.theme-options{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.theme-choice{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;cursor:pointer;font-size:var(--ui-fine,10px);color:var(--text-muted)}.theme-choice input{position:absolute;opacity:0;width:100%;height:100%;cursor:pointer}.theme-swatch{height:64px;width:100%;background:var(--background);border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;transition:border-color var(--motion-fast),box-shadow var(--motion-standard)}.theme-swatch i{height:8px;width:50%;border-radius:3px;background:var(--surface-active)}.swatch-ember i{background:var(--accent)}.swatch-outline i{background:none;border:1px solid var(--border-strong)}.swatch-editorial{background:var(--surface-raised)}.swatch-editorial i{border-radius:0;background:var(--text-secondary)}.theme-choice input:checked~.theme-swatch{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-subtle)}.theme-choice input:checked~span:last-child{color:var(--text-primary)}.theme-choice input:focus-visible~.theme-swatch{outline:2px solid var(--accent);outline-offset:3px}.social-editor{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:24px;padding:16px 0}.social-editor summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:var(--ui-label,12px);color:var(--text-secondary)}.social-editor summary .icon{width:16px}.social-editor>p{margin:12px 0 18px}.social-editor>.field:last-child{margin-bottom:0}.profile-form .form-footer>span{font-size:var(--ui-fine,9px);max-width:230px}.link-row{display:flex;align-items:center;gap:10px;background:var(--surface-raised);border:1px solid var(--border);border-radius:10px;padding:12px 8px;margin:10px 0;transition:border-color var(--motion-fast),opacity var(--motion-fast)}.link-row:first-child{margin-top:0}.link-row.is-hidden{opacity:.55}.link-row:hover{border-color:var(--border-strong)}.link-copy{background:none;border:0;text-align:left;padding:0;flex:1;min-width:0}.link-copy>strong{display:block;font-size:var(--ui-support,11px);font-weight:500;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.link-copy>small{display:block;font-size:var(--ui-fine,9px);color:var(--text-muted);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.block-icon{color:var(--text-muted);display:grid;place-items:center;width:30px}.block-icon>.icon{width:17px}.link-row .icon-btn{width:26px;height:32px}.link-row .icon-btn>.icon{width:15px;height:15px}.row-controls{display:flex;gap:1px;align-items:center}.drag-grip{cursor:grab;touch-action:none}.builder-tip{display:flex;align-items:center;gap:8px;font-size:var(--ui-fine,9px);color:var(--text-muted);margin-top:16px}.builder-tip>.icon{width:13px;height:13px}.preview-column{max-width:342px;width:100%;margin:0 auto;align-self:start;position:sticky;top:100px}.preview-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;gap:16px;color:var(--text-muted)}.preview-label>span{font-size:var(--ui-fine,8px);letter-spacing:1.5px;display:flex;gap:7px;align-items:center}.preview-label .status-dot{width:4px;height:4px}.preview-label>.icon{width:16px;height:16px}.preview-label>select{min-height:34px;padding:7px 10px;font-size:var(--ui-fine,10px);background:var(--surface)}.phone-shell{padding:14px 8px 20px;border:1px solid var(--border-strong);border-radius:42px;background:var(--surface);box-shadow:0 22px 60px var(--overlay);position:relative;overflow:hidden;min-height:570px}.phone-shell::before{content:'';position:absolute;inset:4px;border:1px solid var(--border);border-radius:38px;pointer-events:none}.phone-camera{height:6px;width:48px;border-radius:10px;background:var(--background);margin:0 auto 15px}.phone-home{width:90px;height:3px;border-radius:2px;background:var(--border-strong);margin:12px auto 0}.phone-shell #bio-preview{min-height:510px;overflow:hidden;border-radius:30px}.bio-card{padding:36px 23px 24px;text-align:center;background:var(--background);min-height:510px;display:flex;flex-direction:column;align-items:center;transition:background var(--motion-slow),color var(--motion-slow);width:100%}.bio-avatar{width:67px;height:67px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--surface-active);border:1px solid var(--border-strong);color:var(--text-primary);font-size:23px;overflow:hidden;margin:0 auto 17px;flex:none}.bio-avatar img{width:100%;height:100%}.bio-card h2,.bio-card h1{font-size:22px;letter-spacing:-.6px;margin:0;line-height:1.2}.bio-handle{font-size:var(--ui-fine,10px);color:var(--text-muted);margin-top:7px}.bio-description{font-size:var(--ui-support,11px);line-height:1.75;margin:16px 0 20px;max-width:280px;overflow-wrap:anywhere;white-space:pre-line}.bio-links{width:100%;display:flex;flex-direction:column;gap:11px}.bio-links>a,.preview-link{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;padding:13px 15px;border-radius:10px;background:var(--accent);border:1px solid transparent;color:var(--on-accent);font-weight:600;font-size:var(--ui-support,11px);min-height:44px;overflow-wrap:anywhere;transition:background var(--motion-standard),transform var(--motion-standard),border-color var(--motion-standard)}.bio-links>a:hover{transform:translateY(-2px);background:var(--accent-hover)}.preview-link>.icon{width:14px;height:14px}.preview-link.placeholder{opacity:.45;background:var(--surface-active);color:var(--text-secondary);font-weight:400;font-size:var(--ui-fine,10px)}.bio-card footer{margin-top:auto;padding-top:35px;opacity:.65}.bio-card footer .brand-mark{width:20px;height:20px}.bio-card footer img.brand-wordmark{height:22px;width:auto}.theme-graphite .preview-link,.theme-graphite .bio-links>a{background:var(--surface-active);color:var(--text-primary);border-color:var(--border-strong)}.theme-outline .preview-link,.theme-outline .bio-links>a{background:none;border-color:var(--border-strong);color:var(--text-primary)}.theme-editorial{background:var(--surface-raised)}.theme-editorial .preview-link,.theme-editorial .bio-links>a{background:var(--text-primary);color:var(--background);border-radius:0}.font-editorial h1,.font-editorial h2,.font-editorial .bio-description{font-family:var(--font-editorial);font-weight:400}.font-mono h1,.font-mono h2,.font-mono .bio-description,.font-mono .preview-link{font-family:var(--font-mono);letter-spacing:-.6px}.social-links{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:0 0 20px}.social-links:empty{display:none}.social-links .platform-icon{width:24px;height:24px;background:none;border:0;font-size:var(--ui-section,17px)}.social-links>a{font-size:var(--ui-support,11px);color:var(--text-secondary);border:1px solid var(--border);padding:6px 9px;border-radius:6px}.bio-image{margin:0;overflow:hidden;border-radius:10px;border:1px solid var(--border);background:var(--surface)}.bio-image img{width:100%;max-height:250px;display:block}.bio-image figcaption,.bio-image>a{font-size:var(--ui-support,11px);padding:10px 12px;display:block;color:var(--text-secondary)}.preview-hint{text-align:center;font-size:var(--ui-fine,10px);color:var(--text-muted);line-height:1.8;margin:23px 0}.public-page{padding:50px 20px;min-height:100vh;display:flex;justify-content:center}.public-page>.bio-card{width:440px;max-width:100%;min-height:620px;border:1px solid var(--border);border-radius:24px;padding:50px 35px}.public-page .bio-links{max-width:350px}
/* Composer and media */
.composer-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:28px}.composer-editor{padding:0 26px 22px}.composer-section{padding:24px 0;border-bottom:1px solid var(--border)}.step-label{display:flex;gap:10px;align-items:center;margin-bottom:13px}.step-label>span{font-family:var(--font-mono);font-size:var(--ui-fine,9px);color:var(--accent-hover);width:22px}.step-label h2{font-size:var(--ui-body,14px);letter-spacing:-.2px}.composer-section>.muted{font-size:var(--ui-fine,10px)}.channel-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.channel-chip{position:relative;cursor:pointer;display:flex;align-items:center;gap:9px;background:var(--background);border:1px solid var(--border);border-radius:10px;padding:10px 12px;transition:background var(--motion-standard),border-color var(--motion-fast)}.channel-chip>input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.channel-chip .platform-icon{width:27px;height:27px;font-size:var(--ui-section,17px)}.channel-chip>span:not(.platform-icon){font-size:var(--ui-fine,10px)}.channel-chip small{font-size:var(--ui-fine,8px);display:block;color:var(--text-muted);margin-top:2px}.channel-chip>.icon{width:14px;height:14px;color:var(--border-strong)}.channel-chip:has(input:checked){border-color:var(--accent);background:var(--accent-subtle)}.channel-chip:has(input:checked)>.icon{color:var(--accent)}.channel-chip:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.inline-empty{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:var(--ui-support,11px);color:var(--text-muted);padding:8px 0}.inline-empty>span{flex:1;min-width:140px}.caption-input{width:100%;border:0;background:none;padding:6px 0;min-height:190px;resize:vertical;font-size:var(--ui-body,14px);line-height:1.8;border-radius:0}.caption-input:focus-visible{box-shadow:none;border:0;outline:0}.caption-input:focus-visible+div{border-color:var(--accent)}.caption-bottom{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:0 0 13px;transition:border-color var(--motion-fast)}.caption-bottom>span{font-size:var(--ui-fine,9px)}.caption-bottom output{font-family:var(--font-mono);font-size:var(--ui-fine,9px);color:var(--text-muted)}.platform-limits{font-size:var(--ui-fine,9px);color:var(--text-muted);padding:8px 0;display:flex;flex-wrap:wrap;gap:10px;min-height:28px}.platform-limits .invalid{color:var(--danger)}.upload-zone{border:1px dashed var(--border-strong);border-radius:9px;margin-top:8px;transition:border-color var(--motion-fast),background var(--motion-fast)}.upload-label{display:flex;gap:12px;align-items:center;position:relative;padding:20px 14px;cursor:pointer}.upload-label>span{flex:1}.upload-label strong{font-size:var(--ui-support,11px);font-weight:500;display:block}.upload-label small{font-size:var(--ui-fine,9px);color:var(--text-muted);display:block;margin-top:5px}.upload-label>.icon{color:var(--text-muted);width:19px}.upload-zone.file-over{border-color:var(--accent);background:var(--accent-subtle)}.media-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.media-grid:empty{display:none}.media-card{border:1px solid var(--border);border-radius:8px;overflow:hidden;position:relative;aspect-ratio:1;background:var(--background)}.media-card>img{width:100%;height:100%;display:block}.media-card-actions{position:absolute;left:0;right:0;bottom:0;background:var(--overlay);display:flex;justify-content:center;gap:0;padding:2px}.media-card-actions>.icon-btn{width:27px;height:27px;color:var(--text-primary)}.media-card-actions>.icon-btn>.icon{width:14px}.media-card-actions>[data-media-grip]{cursor:grab;touch-action:none}.composer-section .field{margin-bottom:8px}.composer-section .field small{font-size:var(--ui-fine,9px)}.composer-section>.small{font-size:var(--ui-fine,9px)}.composer-actions{display:flex;align-items:center;gap:7px;margin-top:16px;flex-wrap:wrap}.composer-actions>.btn{font-size:var(--ui-support,11px);flex:1;padding:10px 12px}.composer-actions>.btn.ghost{flex:.9}.cancel-edit{font-size:var(--ui-fine,10px);margin-top:16px}.drafts-panel{margin-top:22px}.post-preview-column{align-self:start;position:sticky;top:100px;max-width:390px;width:100%;margin:0 auto}.social-preview{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden}.social-preview-header{display:flex;align-items:center;gap:10px;padding:16px 18px}.social-preview-header>span:nth-child(2){flex:1}.social-preview-header strong{display:block;font-size:var(--ui-support,11px)}.social-preview-header small{display:block;font-size:var(--ui-fine,9px);color:var(--text-muted);margin-top:3px}.social-preview-header>.platform-icon{width:24px;height:24px;font-size:var(--ui-section,16px);border:0;background:none}.preview-art{height:310px;background:var(--surface-raised);position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.preview-art>span{font-size:40px;font-weight:550;line-height:1.1;letter-spacing:-1.8px;z-index:1}.preview-art>span em{color:var(--accent-hover);font-size:47px;line-height:1.3}.preview-art>small{position:absolute;bottom:18px;font-size:var(--ui-fine,6px);letter-spacing:1.4px;color:var(--text-muted)}.preview-art-lines{width:280px;height:280px;border:1px solid var(--border);border-radius:50%;position:absolute;transform:rotate(-30deg) scaleY(.8)}.preview-art-lines::before,.preview-art-lines::after{content:'';position:absolute;inset:20px;border:1px solid var(--border);border-radius:50%}.preview-art-lines::after{inset:40px}.social-preview-media{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;max-height:360px}.social-preview-media img{width:100%;flex:0 0 100%;object-fit:contain;scroll-snap-align:start;background:var(--background)}.social-preview-caption{font-size:var(--ui-label,12px);line-height:1.8;padding:18px;overflow-wrap:anywhere;max-height:280px;overflow-y:auto;min-height:70px}.social-preview-footer{padding:12px 18px;border-top:1px solid var(--border);font-size:var(--ui-fine,8px);color:var(--text-muted);display:flex;align-items:center;gap:7px}.social-preview-footer>.icon{width:12px;height:12px}
/* Calendar */
.calendar-panel{padding:0;overflow:hidden}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;gap:20px}.calendar-date-nav{display:flex;align-items:center;gap:8px}.calendar-date-nav h2{font-size:20px;letter-spacing:-.5px;min-width:170px;text-align:center}.calendar-date-nav>.btn{font-size:var(--ui-support,11px);margin-left:10px;min-height:32px}.calendar-date-nav .icon-btn{width:28px;height:32px}.calendar-filters{display:flex;align-items:center;gap:10px;padding:0 24px 18px}.calendar-filters>label{display:flex;align-items:center;background:var(--surface-raised);border:1px solid var(--border);border-radius:7px;padding-left:9px}.calendar-filters>label>.icon{width:14px;height:14px;color:var(--text-muted)}.calendar-filters select{background:transparent;border:0;font-size:var(--ui-fine,10px);min-height:32px;padding:6px 9px}.timezone-label{font-size:var(--ui-fine,9px);display:flex;align-items:center;gap:5px;margin-left:auto;color:var(--text-muted)}.timezone-label>.icon{width:13px;height:13px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--border)}.weekday{padding:12px 16px;font-size:var(--ui-fine,8px);letter-spacing:1px;color:var(--text-muted);border-bottom:1px solid var(--border)}.calendar-day{min-height:134px;border-bottom:1px solid var(--border);border-right:1px solid var(--border);padding:8px;transition:background var(--motion-fast);position:relative;min-width:0}.calendar-day:nth-child(7n){border-right:0}.calendar-day.outside{background:var(--background)}.calendar-day.outside .day-heading>span{color:var(--border-strong)}.day-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.day-heading>span{display:grid;place-items:center;width:25px;height:25px;font-size:var(--ui-fine,10px);color:var(--text-secondary);font-variant-numeric:tabular-nums}.today .day-heading>span{background:var(--accent);color:var(--on-accent);border-radius:6px;font-weight:600}.day-add.icon-btn{width:24px;height:24px;opacity:0}.day-add>.icon{width:12px;height:12px}.calendar-day:hover .day-add,.calendar-day:focus-within .day-add{opacity:1}.calendar-post{border:1px solid var(--border-strong);border-left:2px solid var(--text-muted);border-radius:7px;background:var(--surface-raised);padding:8px;margin-bottom:6px;min-width:0;transition:box-shadow var(--motion-standard),border-color var(--motion-fast)}.calendar-post.scheduled{border-left-color:var(--accent);background:var(--surface-raised)}.calendar-post.published{border-left-color:var(--success)}.calendar-post.failed{border-left-color:var(--danger)}.calendar-post.cancelled{opacity:.6}.calendar-post:hover{box-shadow:0 4px 12px var(--overlay);border-color:var(--border-strong)}.calendar-post-top{display:flex;align-items:center;gap:3px;font-size:var(--ui-fine,8px);color:var(--text-muted);position:relative}.calendar-post-top>span{display:flex;gap:3px}.calendar-post-top .platform-icon{width:17px;height:17px;border:0;font-size:var(--ui-label,12px);border-radius:3px;background:var(--surface-active)}.calendar-post-top>time{margin-left:auto;white-space:nowrap;font-size:var(--ui-fine,8px)}.calendar-grip.icon-btn{height:19px;width:14px;cursor:grab;touch-action:none}.calendar-grip>.icon{width:12px;height:14px}.calendar-post-open{background:none;border:0;font-size:var(--ui-fine,10px);line-height:1.5;text-align:left;padding:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;min-height:38px;overflow-wrap:anywhere}.calendar-status{font-size:var(--ui-fine,7px);text-transform:capitalize;color:var(--text-muted);display:flex;align-items:center;gap:4px}.calendar-status>i{height:3px;width:3px;border-radius:50%;background:currentColor}.scheduled .calendar-status{color:var(--accent-hover)}.published .calendar-status{color:var(--success)}.calendar-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;color:var(--text-muted);font-size:var(--ui-fine,8px);line-height:1.7}.calendar-footer>span:first-child{display:flex;gap:6px;align-items:center}.calendar-footer .icon{width:12px;height:12px}.calendar-footer>span:last-child{font-size:var(--ui-fine,7px);letter-spacing:1px;white-space:nowrap}.week-view>.calendar-day{min-height:430px}.calendar-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px}.calendar-bottom>.small{font-size:var(--ui-fine,10px)}.calendar-bottom>.btn{font-size:var(--ui-fine,10px);min-height:36px}.agenda-list{min-height:300px;border-top:1px solid var(--border);padding:12px 24px}.agenda-row{display:flex;gap:24px;padding:14px 0;border-bottom:1px solid var(--border);align-items:flex-start}.agenda-row:last-child{border:0}.agenda-row>div:first-child{min-width:70px;display:flex;flex-direction:column;gap:5px;padding-top:10px;font-size:var(--ui-label,12px)}.agenda-row>div:first-child>span{font-size:var(--ui-fine,10px);color:var(--text-muted)}.agenda-row>.calendar-post{flex:1;padding:14px;max-width:700px}.agenda-row .calendar-post-open{font-size:var(--ui-label,12px);-webkit-line-clamp:3}.agenda-row .calendar-status{font-size:var(--ui-fine,9px)}.agenda-row .calendar-post-top time{font-size:var(--ui-fine,10px)}.agenda-row .calendar-grip{display:none}.agenda-row .calendar-post-top .platform-icon{width:24px;height:24px;font-size:var(--ui-section,17px)}
/* Accounts, writing studio, preferences */
.integration-notice{display:flex;align-items:center;gap:16px;padding:20px 24px;border:1px solid var(--border);border-radius:var(--radius);margin-bottom:24px;background:var(--surface)}.integration-notice>.icon{color:var(--accent);width:22px}.integration-notice>div{flex:1}.integration-notice strong{font-size:var(--ui-label,12px)}.integration-notice p{font-size:var(--ui-fine,10px);color:var(--text-muted);margin-top:5px}.integration-notice>.btn{font-size:var(--ui-fine,10px)}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-card{padding:23px;overflow:hidden}.account-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.account-card-top>.platform-icon{width:42px;height:42px;font-size:24px;background:var(--surface-hover);border-color:var(--border)}.account-card-top>.badge{font-size:var(--ui-fine,8px)}.account-card h2{font-size:var(--ui-section,19px);margin-bottom:7px}.account-card>p{font-size:var(--ui-fine,10px);color:var(--text-muted)}.official-state{display:flex;align-items:center;gap:7px;font-size:var(--ui-fine,9px);color:var(--text-muted);margin:20px 0}.official-state>.icon{width:12px;height:12px}.account-simulation{display:flex;align-items:center;gap:9px;padding-top:18px;border-top:1px solid var(--border);min-height:65px}.account-simulation>div{flex:1;min-width:0}.account-simulation strong{font-size:var(--ui-support,11px);display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-simulation small{font-size:var(--ui-fine,8px);display:block;color:var(--text-muted);margin-top:4px}.account-simulation>.btn{font-size:var(--ui-fine,9px);padding:6px 8px;min-height:32px;gap:5px}.account-simulation>.btn>.icon{width:12px;height:12px}.studio-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:24px}.studio-provider{display:flex;gap:14px;background:var(--background);border:1px solid var(--border);border-radius:10px;padding:20px;margin:22px 0}.studio-provider>.icon{color:var(--accent);margin-top:2px}.studio-provider strong{font-size:var(--ui-label,12px)}.studio-provider p{font-size:var(--ui-support,11px);line-height:1.8;color:var(--text-muted);margin:8px 0 16px}.studio-provider>.btn{font-size:var(--ui-fine,10px)}.writing-panel{display:flex;flex-direction:column}.writing-panel>textarea{flex:1;min-height:330px;background:transparent;border:0;box-shadow:none;padding:0;outline:0;line-height:1.9;font-size:var(--ui-body,14px);resize:none}.writing-panel>textarea:focus-visible{outline:1px solid var(--accent);outline-offset:8px}.writing-panel .form-footer{border-top:1px solid var(--border);padding-top:18px}.writing-panel .form-footer>.small{font-size:var(--ui-fine,9px);max-width:140px}.money-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:36px 40px;overflow:hidden}.money-hero h2{font-size:32px;line-height:1.2;letter-spacing:-1.2px}.money-hero h2 em{color:var(--accent-hover)}.money-hero p{font-size:var(--ui-label,12px);color:var(--text-muted);margin-top:18px;max-width:400px}.money-hero .eyebrow{color:var(--accent-hover);font-size:var(--ui-fine,8px)}.money-symbol{width:150px;height:150px;border:1px solid var(--border-strong);border-radius:38px;display:grid;place-items:center;transform:rotate(-12deg);background:var(--surface-raised);box-shadow:var(--shadow);margin-right:40px;flex:none}.money-symbol>.icon{width:70px;height:70px;color:var(--accent);stroke-width:1}.readiness-list>div{display:flex;align-items:flex-start;gap:13px;padding:18px 0;border-bottom:1px solid var(--border)}.readiness-list>div:last-child{border:0}.readiness-list>div>.icon{color:var(--text-muted);width:17px;height:17px;margin-top:2px}.readiness-list>div>span:nth-child(2){flex:1}.readiness-list strong{font-size:var(--ui-label,12px);display:block}.readiness-list small{font-size:var(--ui-fine,10px);color:var(--text-muted);display:block;line-height:1.8;margin-top:5px}.readiness-list+.btn{margin-top:20px}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1100px}.settings-layout>form{align-self:start}.settings-layout>div>.panel+.panel{margin-top:24px}.preference-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 0}.preference-row strong{display:block;font-size:var(--ui-label,12px)}.preference-row small{display:block;font-size:var(--ui-fine,10px);color:var(--text-muted);margin-top:5px;max-width:220px}
/* Shared overlays and effects */
[data-spotlight]{isolation:isolate;overflow:hidden}[data-spotlight]::before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(420px circle at var(--pointer-x,50%) var(--pointer-y,50%),var(--accent-subtle),transparent 65%);opacity:0;transition:opacity var(--motion-slow);z-index:-1}[data-spotlight]::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:1px solid transparent;background:radial-gradient(240px circle at var(--pointer-x,50%) var(--pointer-y,50%),var(--accent-glow),transparent 70%) border-box;mask:linear-gradient(var(--text-primary) 0 0) padding-box,linear-gradient(var(--text-primary) 0 0);mask-composite:exclude;opacity:0;transition:opacity var(--motion-standard)}[data-spotlight][data-lit=true]::before,[data-spotlight][data-lit=true]::after{opacity:1}.drag-preview{position:fixed!important;top:0!important;left:0!important;pointer-events:none!important;z-index:200!important;margin:0!important;transform:translate(var(--drag-x),var(--drag-y)) rotate(2deg);box-shadow:var(--shadow-floating)!important;border-color:var(--accent)!important;opacity:.96;will-change:transform}.drag-source{opacity:.25}.is-dragging{cursor:grabbing;user-select:none}.drop-target{background:var(--accent-subtle)!important;outline:1px solid var(--accent);outline-offset:-1px}.drag-preview .icon-btn{visibility:hidden}dialog{background:var(--surface);color:var(--text-primary);border:1px solid var(--border-strong);border-radius:20px;width:540px;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px);padding:0;box-shadow:var(--shadow-floating);overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:var(--overlay);backdrop-filter:blur(7px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--border);gap:16px}.dialog-header h2{font-size:var(--ui-section,19px)}.dialog-body{padding:24px}.dialog-body>p{font-size:var(--ui-label,12px);line-height:1.9;color:var(--text-secondary);margin-bottom:15px}.dialog-body .btn{font-size:var(--ui-support,11px)}.dialog-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.dialog-content-text{font-size:var(--ui-body,14px)!important;white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;background:var(--background);border:1px solid var(--border);border-radius:10px}.post-detail-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px;font-size:var(--ui-fine,10px);color:var(--text-muted)}.target-receipt{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid var(--border);padding:14px 0}.target-receipt>div{flex:1;min-width:0}.target-receipt strong{font-size:var(--ui-support,11px)}.target-receipt small{font-size:var(--ui-fine,9px);color:var(--text-muted);display:block;overflow-wrap:anywhere;margin-top:4px}.target-receipt>.badge{font-size:var(--ui-fine,8px)}.dialog-alert{font-size:var(--ui-support,11px);color:var(--danger);background:var(--background);padding:12px;border-radius:8px;margin-top:15px}.notification-row{padding:15px 0;border-bottom:1px solid var(--border);font-size:var(--ui-label,12px)}.notification-row:last-child{border:0}.notification-row strong{display:block;margin-bottom:5px}.notification-row p{font-size:var(--ui-support,11px);color:var(--text-muted);line-height:1.8}.account-menu{display:flex;align-items:center;gap:14px;margin-bottom:20px}.account-menu strong{font-size:var(--ui-body,14px)}.account-menu p{font-size:var(--ui-support,11px);margin-top:4px}.account-menu-actions{display:flex;flex-direction:column;gap:8px}.account-menu-actions>.btn{justify-content:flex-start}.command-dialog{width:580px}.command-input-wrap{display:flex;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid var(--border)}.command-input-wrap>.icon{color:var(--text-muted)}#command-search{background:none;border:0;box-shadow:none;min-height:30px;flex:1;padding:0;font-size:var(--ui-body,15px)}#command-search:focus-visible{outline:0}.command-input-wrap kbd{margin-left:0}.command-list{padding:10px;max-height:400px;overflow:auto}.command-option{display:flex;align-items:center;gap:14px;background:none;border:0;border-radius:8px;width:100%;padding:13px 14px;text-align:left;font-size:var(--ui-label,12px)}.command-option>span{flex:1}.command-option>.icon{color:var(--text-muted);width:17px;height:17px}.command-option>small{color:var(--text-muted);font-size:var(--ui-fine,9px)}.command-option:hover,.command-option:focus-visible{background:var(--surface-hover);outline:0}.command-option:focus-visible{box-shadow:inset 2px 0 var(--accent)}.command-footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:12px 22px;font-size:var(--ui-fine,9px);color:var(--text-muted)}#toast{position:fixed;bottom:26px;left:50%;translate:-50% 0;z-index:1000;background:var(--surface-active);color:var(--text-primary);border:1px solid var(--border-strong);box-shadow:var(--shadow-floating);border-radius:10px;padding:14px 20px;font-size:var(--ui-label,12px);display:flex;align-items:center;gap:10px;max-width:calc(100vw - 32px)}#toast .icon{width:16px;height:16px;color:var(--success)}#toast.error .icon{color:var(--danger)}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.boot p{font-size:var(--ui-label,12px);color:var(--text-muted)}.loading-skeleton{background:linear-gradient(100deg,var(--surface) 20%,var(--surface-hover) 50%,var(--surface) 80%);background-size:200% 100%;animation:skeleton 1.5s linear infinite;border-radius:12px;min-height:150px}.skeleton-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.skeleton-grid .loading-skeleton{min-height:160px}.skeleton-chart{min-height:300px;margin-top:22px}.dialog-setup-list{padding-left:20px;font-size:var(--ui-label,12px);color:var(--text-secondary);line-height:2}.inline-notice{font-size:var(--ui-support,11px);color:var(--text-muted);line-height:1.8;margin-bottom:18px}.error-screen{max-width:450px;text-align:center;padding:30px}.error-screen h1{font-size:28px;margin:22px 0 12px}.error-screen p{font-size:var(--ui-body,13px);margin-bottom:22px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes draw-line{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes skeleton{to{background-position:-200% 0}}
/* Purpose-built smaller layouts */
@media(min-width:1600px){.main-content{padding:46px 48px}.topbar{padding:0 48px}.workspace-footer{padding:0 48px 28px}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(350px,1fr)}.metric{padding:24px 26px}.metric>strong{font-size:38px}.chart-plot{height:220px}.chart-panel{min-height:370px}.connection-orbit{height:205px;width:260px}.orbit-ring{inset:10px 30px}.inspiration-panel{padding:30px}.inspiration-panel h2{font-size:30px}.inspiration-panel h2 em{font-size:34px}.post-row{padding:20px 0}.post-row-copy strong{font-size:var(--ui-label,12px)}.post-row-copy small{font-size:var(--ui-fine,10px)}}
@media(max-width:1250px){.workspace{--sidebar-width:212px}.main-content{padding:28px}.topbar{padding:0 28px}.header-tools{gap:9px}.command-trigger span,.command-trigger kbd{display:none}.mode-label{display:none}.sidebar{padding-left:12px;padding-right:12px}.sidebar-brand{padding-bottom:22px}.nav-item{font-size:var(--ui-support,11px);padding:10px 12px}.nav-item>.icon{width:17px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}.panel{padding:20px}.metric{padding:18px}.panel-heading{gap:10px}.panel-heading h2{font-size:var(--ui-body,14px)}.panel-heading p{font-size:var(--ui-fine,10px)}.connection-bottom{flex-direction:column;align-items:flex-start;gap:5px}.connection-bottom p br{display:none}.chart-panel .panel-heading{flex-wrap:wrap}.chart{margin-top:22px}.chart-plot{height:170px}.chart-source{display:none}.inspiration-panel h2{font-size:23px}.inspiration-panel h2 em{font-size:26px}.post-row>.icon{display:none}.post-row-copy small>span{display:block;margin-top:3px}.builder-layout{gap:25px;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.row-controls{flex-wrap:wrap;max-width:56px}.link-copy>small{max-width:150px}.link-row{gap:5px}.link-row .block-icon{display:none}.composer-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:20px}.composer-editor{padding:0 20px 20px}.composer-actions>.btn{font-size:var(--ui-fine,10px);padding:10px}.preview-art{height:260px}.preview-art>span{font-size:34px}.preview-art>span em{font-size:40px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-panel{padding:0}.calendar-toolbar{padding:20px 18px}.calendar-filters{padding:0 18px 16px;gap:7px}.calendar-filters select{font-size:var(--ui-fine,9px)}.calendar-date-nav h2{font-size:var(--ui-section,18px);min-width:145px}.calendar-post{padding:6px}.calendar-post-top .platform-icon{width:13px;height:15px;font-size:var(--ui-fine,10px)}.calendar-post-top>span .platform-icon:nth-child(2){display:none}.calendar-post-open{font-size:var(--ui-fine,9px)}.calendar-post-top time{font-size:var(--ui-fine,7px)}.calendar-day{padding:6px}.studio-layout{gap:20px}.money-hero{padding:30px}.money-symbol{margin-right:10px;width:120px;height:120px}}
@media(max-width:1023px){.workspace{--sidebar-width:76px}.sidebar{padding:22px 10px 14px}.sidebar-brand{padding:0 10px 24px;justify-content:center}.sidebar-brand>.icon-btn,.nav-label,.nav-section,.nav-count,.sandbox-note,.workspace-switch>.icon,.account-control>.icon{display:none}.workspace-switch{padding:12px;margin-bottom:16px}.nav-item{justify-content:center;padding:12px}.nav-item>.icon{width:19px;height:19px}.sidebar-bottom{padding-top:15px}.account-control{justify-content:center;padding:16px 0}.workspace.collapsed .sidebar-brand>.icon-btn{display:none}.main-content{padding:27px}.topbar{padding:0 27px;height:68px}.workspace-footer{padding:0 27px 24px}.page-heading h1{font-size:28px;letter-spacing:-1px}.page-heading .eyebrow{font-size:var(--ui-fine,8px)}.page-subtitle{font-size:var(--ui-support,11px)}.metric{padding:17px}.metric-top .micro{font-size:var(--ui-fine,6px);letter-spacing:.7px}.metric>strong{font-size:29px}.metric>p{font-size:var(--ui-fine,10px)}.connection-orbit{height:160px;width:215px}.orbit-ring{inset:0 30px}.connection-orbit strong{font-size:36px}.connection-orbit>div>span{font-size:var(--ui-fine,5px)}.connection-orbit .platform-icon{width:31px;height:31px}.panel-heading .btn{font-size:var(--ui-fine,10px)}.calendar-filters{flex-wrap:wrap}.timezone-label{font-size:var(--ui-fine,8px)}.calendar-toolbar{gap:12px}.calendar-date-nav h2{font-size:var(--ui-section,17px);min-width:130px}.calendar-date-nav{gap:3px}.calendar-date-nav>.btn{margin-left:3px;font-size:var(--ui-fine,10px)}.calendar-toolbar .segmented button{padding:5px 8px}.week-view>.calendar-day{min-height:350px}.money-hero h2{font-size:27px}}
@media(max-width:767px){.workspace,.workspace.collapsed{--sidebar-width:0px}.sidebar{width:248px;padding:24px 16px 16px;transform:translateX(-100%);transition:transform var(--motion-standard) var(--ease-standard);z-index:80;box-shadow:var(--shadow-floating)}.sidebar .sidebar-brand{padding:0 9px 25px;justify-content:flex-start}.sidebar .nav-label,.sidebar .nav-section,.sidebar .nav-count,.sidebar .workspace-switch>.icon,.sidebar .account-control>.icon{display:block}.sidebar .workspace-switch{padding:12px 10px;margin-bottom:16px}.sidebar .nav-item{justify-content:flex-start;padding:10px 14px;font-size:var(--ui-label,12px)}.sidebar .nav-section{font-size:var(--ui-fine,8px)}.sidebar .account-control{padding:17px 6px 0;justify-content:flex-start}.sidebar .sandbox-note{display:none}.workspace.mobile-open .sidebar{transform:translateX(0)}.workspace.mobile-open .sidebar-scrim{display:block;position:fixed;inset:0;background:var(--overlay);z-index:70;border:0;backdrop-filter:blur(3px)}.header-context>[data-action=mobile-menu]{display:flex}.header-context{gap:8px;font-size:var(--ui-support,11px)}.context-parent,.context-divider{display:none}.topbar{height:64px;padding:0 16px;gap:10px}.header-tools{gap:5px}.header-tools>.btn.primary{font-size:0;padding:0;width:34px;height:34px;gap:0;min-height:34px}.header-tools>.btn.primary>.icon{width:17px;height:17px}.header-tools>.btn.primary>span{display:none}.header-tools>[data-action=notifications]{width:30px}.header-tools>.command-trigger{padding:6px}.header-avatar{display:none}.main-content{padding:26px 18px;min-height:calc(100dvh - 120px)}.page-heading{align-items:flex-start;gap:15px;margin-bottom:24px;flex-wrap:wrap}.page-heading h1{font-size:28px;letter-spacing:-1px;line-height:1.18}.page-heading .eyebrow{font-size:var(--ui-fine,7px);letter-spacing:1.5px;margin-bottom:10px}.page-subtitle{font-size:var(--ui-support,11px);line-height:1.8;margin-top:10px}.heading-actions{width:100%;justify-content:space-between}.heading-actions>.btn,.heading-actions>.badge{font-size:var(--ui-fine,10px);min-height:36px;padding:8px 12px}.heading-actions>.save-state{min-height:0}.workspace-footer{padding:0 18px 22px;font-size:var(--ui-fine,8px);line-height:1.7}.workspace-footer>span:last-child{display:none}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.metric{padding:17px}.metric-top{margin-bottom:16px}.metric-top .micro{font-size:var(--ui-fine,6px);letter-spacing:.7px}.metric-icon{width:26px;height:26px;border-radius:7px}.metric-icon>.icon{width:14px;height:14px}.metric>strong{font-size:32px}.metric>p{font-size:var(--ui-fine,10px)}.dashboard-grid{grid-template-columns:1fr;gap:18px}.panel{padding:20px;border-radius:13px}.panel-heading{margin-bottom:20px;gap:12px}.panel-heading h2{font-size:var(--ui-body,15px)}.panel-heading p{font-size:var(--ui-fine,10px);line-height:1.8}.chart-panel{min-height:300px}.chart-panel .panel-heading{flex-wrap:nowrap;align-items:flex-start}.chart-panel .panel-heading h2{font-size:var(--ui-body,14px);max-width:155px}.segmented button{font-size:var(--ui-fine,9px);padding:4px 8px}.chart{margin-top:26px;padding-left:21px}.chart-plot{height:165px}.chart-axis,.chart-dates{font-size:var(--ui-fine,8px)}.chart-legend{font-size:var(--ui-fine,9px);margin-top:18px;gap:15px}.chart-source{display:none}.chart-empty{font-size:var(--ui-fine,9px);line-height:1.7}.connection-panel{min-height:280px}.connection-orbit{height:160px;width:230px;margin-top:-10px}.connection-orbit .orbit-ring{inset:0 35px}.connection-orbit strong{font-size:40px}.connection-orbit>div>span{font-size:var(--ui-fine,6px)}.connection-bottom{flex-direction:row;align-items:center}.connection-bottom p{font-size:var(--ui-fine,9px);max-width:160px}.connection-bottom>.btn{font-size:var(--ui-fine,10px)}.inspiration-panel{min-height:235px;padding:26px}.inspiration-panel h2{font-size:27px}.inspiration-panel h2 em{font-size:30px}.inspiration-panel>.eyebrow{font-size:var(--ui-fine,7px)}.inspiration-panel>p{font-size:var(--ui-fine,10px)}.inspiration-art{right:5px;bottom:-50px}.post-row-copy strong{font-size:var(--ui-support,11px)}.post-row-copy small{font-size:var(--ui-fine,8px)}.post-row-copy small>span{display:block}.post-row .badge{font-size:var(--ui-fine,7px)}.post-row>.icon{display:none}.post-thumb{width:32px;height:40px}.post-row{gap:10px}.launch-steps small{font-size:var(--ui-fine,9px)}.activity-panel .empty{min-height:150px}.two-column{grid-template-columns:1fr;gap:18px;margin-top:18px}.analytics-chart-panel .chart-plot{height:190px}.analytics-chart-panel .panel-heading{flex-wrap:wrap}.comparison-panel>div:last-child{gap:24px;flex-wrap:wrap}.comparison-panel>div>p{margin-left:0;font-size:var(--ui-fine,10px)}.comparison-panel>div>span{min-width:0;flex:1}.builder-layout{grid-template-columns:1fr;gap:28px}.builder-edit{min-width:0}.preview-column{position:static;max-width:310px;order:2}.preview-label{margin-bottom:17px}.phone-shell{min-height:540px}.phone-shell #bio-preview{min-height:480px}.phone-shell .bio-card{min-height:480px}.builder-edit>.panel+.panel{margin-top:18px}.profile-form .panel-heading{flex-wrap:wrap;margin-bottom:20px}.field-grid{gap:12px}.field{font-size:var(--ui-support,11px)}.field small{font-size:var(--ui-fine,9px)}.field>span small{font-size:var(--ui-fine,8px)}.profile-photo-row{gap:13px}.profile-photo-row .btn{font-size:var(--ui-fine,10px);min-height:36px;padding:8px 12px}.profile-photo-row .avatar.large{width:54px;height:54px}.theme-options{gap:9px}.theme-swatch{height:58px}.theme-choice{font-size:var(--ui-fine,9px)}.profile-form .form-footer{align-items:flex-start;flex-direction:column}.profile-form .form-footer>.btn{width:100%}.profile-form .form-footer>span{max-width:100%}.link-row{padding:10px 6px;gap:5px;flex-wrap:wrap}.link-row>.link-copy{min-width:120px;flex:1}.link-row>.row-controls{max-width:none;flex-wrap:nowrap;justify-content:flex-end;margin-left:auto;gap:3px;width:100%}.link-row .row-controls .icon-btn{width:35px;height:32px;background:var(--surface)}.link-copy>small{max-width:220px}.link-row .drag-grip{width:30px;height:36px}.builder-tip{font-size:var(--ui-fine,9px);line-height:1.8}.link-editor .panel-heading{align-items:center}.link-editor .panel-heading>div{max-width:180px}.link-editor .panel-heading>.btn{font-size:var(--ui-fine,10px);padding:8px 10px;min-height:34px;gap:5px;margin-top:0}.link-editor .panel-heading h2{font-size:var(--ui-body,14px)}.link-editor .panel-heading p{font-size:var(--ui-fine,9px)}.composer-layout{grid-template-columns:1fr;gap:25px}.composer-editor{padding:0 20px 20px}.composer-section{padding:23px 0}.composer-section .field>span{align-items:flex-start;flex-direction:column;gap:5px}.composer-section .field small{font-size:var(--ui-fine,9px)}.step-label h2{font-size:var(--ui-body,14px)}.caption-input{font-size:var(--ui-body,14px);min-height:200px}.upload-label{padding:18px 12px;gap:10px}.upload-label strong{font-size:var(--ui-fine,10px)}.upload-label small{font-size:var(--ui-fine,8px);line-height:1.8}.upload-label>.icon{width:17px}.upload-label>.icon:last-child{width:13px}.media-grid{grid-template-columns:repeat(2,1fr)}.composer-actions{gap:8px}.composer-actions>.btn{min-height:43px}.composer-actions>.btn.primary{flex:1 0 100%;margin-top:4px}.composer-section>.small{font-size:var(--ui-fine,9px)}.post-preview-column{position:static;max-width:360px}.preview-art{height:300px}.preview-art>span{font-size:40px}.preview-art>span em{font-size:46px}.channel-chip{padding:9px 10px;gap:7px}.channel-chip .platform-icon{width:25px;height:25px}.channel-chip>span:not(.platform-icon){font-size:var(--ui-fine,10px)}.channel-chips{gap:8px}.drafts-panel{margin-top:18px}.calendar-panel{padding:0}.calendar-toolbar{flex-direction:column;align-items:stretch;padding:18px 14px;gap:15px}.calendar-date-nav{justify-content:space-between;gap:3px}.calendar-date-nav h2{min-width:120px;flex:1;font-size:var(--ui-section,18px)}.calendar-date-nav>.btn{min-height:32px;margin-left:5px;font-size:var(--ui-fine,10px)}.calendar-toolbar>.segmented{align-self:flex-start}.calendar-toolbar .segmented button{font-size:var(--ui-support,11px);padding:6px 17px}.calendar-filters{padding:0 14px 16px;gap:8px}.calendar-filters>label{flex:1;min-width:100px}.calendar-filters>label>select{width:100%;font-size:var(--ui-fine,9px);padding:7px 5px}.calendar-filters>label:first-child{min-width:130px}.timezone-label{font-size:var(--ui-fine,8px);margin:4px 0 0;width:100%;justify-content:flex-start}.calendar-scroll{overflow-x:auto;overscroll-behavior-x:contain}.calendar-grid{min-width:680px}.calendar-day{min-height:120px;padding:6px}.weekday{padding:10px 12px;font-size:var(--ui-fine,7px)}.calendar-post-top time{font-size:var(--ui-fine,7px)}.calendar-post-open{font-size:var(--ui-fine,9px)}.day-add.icon-btn{opacity:1}.calendar-footer{padding:14px;gap:10px;flex-direction:column;align-items:flex-start;font-size:var(--ui-fine,8px)}.calendar-footer>span:last-child{display:none}.calendar-bottom{align-items:flex-start;flex-direction:column;gap:14px}.calendar-bottom>.small{font-size:var(--ui-fine,9px);line-height:1.8}.calendar-bottom>.btn{width:100%;min-height:40px;font-size:var(--ui-support,11px)}.agenda-list{padding:10px 14px;min-height:250px}.agenda-row{gap:12px}.agenda-row>div:first-child{min-width:46px;font-size:var(--ui-fine,10px)}.agenda-row>div:first-child>span{font-size:var(--ui-fine,9px)}.agenda-row>.calendar-post{padding:10px}.agenda-row .calendar-post-open{font-size:var(--ui-support,11px)}.agenda-row .calendar-post-top .platform-icon{width:19px;height:19px;font-size:var(--ui-body,14px)}.agenda-row .calendar-post-top time{font-size:var(--ui-fine,9px)}.agenda-row .calendar-status{font-size:var(--ui-fine,8px)}.week-view>.calendar-day{min-height:300px}.integration-notice{padding:18px;gap:12px;flex-wrap:wrap;margin-bottom:18px;align-items:flex-start}.integration-notice>.icon{width:18px;margin-top:2px}.integration-notice strong{font-size:var(--ui-support,11px)}.integration-notice p{font-size:var(--ui-fine,10px);line-height:1.8}.integration-notice>.btn{margin-left:24px;padding:0 6px;min-height:28px;font-size:var(--ui-fine,10px)}.account-grid{grid-template-columns:1fr;gap:16px}.account-card{padding:22px}.account-card-top{margin-bottom:18px}.account-card-top>.badge{font-size:var(--ui-fine,9px)}.account-card>p{font-size:var(--ui-support,11px)}.account-simulation>.btn{min-height:36px;font-size:var(--ui-fine,10px);padding:8px 10px}.account-simulation small{font-size:var(--ui-fine,9px)}.official-state{font-size:var(--ui-fine,10px)}.studio-layout{grid-template-columns:1fr;gap:18px}.studio-provider{padding:17px;gap:11px}.studio-provider p{font-size:var(--ui-fine,10px)}.studio-provider .btn{font-size:var(--ui-fine,10px)}.writing-panel>textarea{min-height:300px}.writing-panel .form-footer{flex-wrap:wrap}.writing-panel .form-footer>.small{max-width:100%}.writing-panel .form-footer>.btn{width:100%}.money-hero{padding:25px;min-height:280px}.money-hero h2{font-size:25px;line-height:1.3;position:relative;z-index:1}.money-hero p{font-size:var(--ui-fine,10px);line-height:1.8;position:relative;z-index:1;max-width:240px}.money-symbol{position:absolute;right:-50px;bottom:-20px;width:120px;height:120px;opacity:.35;border-radius:30px}.money-symbol>.icon{width:60px;height:60px}.money-hero .eyebrow{font-size:var(--ui-fine,7px)}.readiness-list small{font-size:var(--ui-fine,10px)}.settings-layout{grid-template-columns:1fr;gap:18px}.settings-layout>div>.panel+.panel{margin-top:18px}.settings-layout>form>.btn{width:100%}.dialog-header{padding:20px}.dialog-body{padding:20px}.dialog-header h2{font-size:var(--ui-section,18px)}dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:16px}.dialog-actions{gap:8px}.dialog-actions>.btn{flex:1}.dialog-body .field-grid{grid-template-columns:1fr}.command-input-wrap{padding:18px}.command-option{min-height:46px}.command-footer{font-size:var(--ui-fine,8px);padding:12px 18px}.command-input-wrap kbd{display:none}.command-input-wrap #command-search{font-size:var(--ui-body,14px);width:100%}#toast{bottom:18px;width:max-content;max-width:calc(100vw - 24px);font-size:var(--ui-support,11px);padding:13px 16px}.skeleton-grid{grid-template-columns:repeat(2,1fr)}}
@media(pointer:coarse){[data-spotlight]::before,[data-spotlight]::after{display:none}.day-add.icon-btn{opacity:1}.icon-btn{min-height:40px;min-width:40px}.row-controls .icon-btn{min-width:36px}.calendar-grip.icon-btn{min-width:26px;min-height:32px}.calendar-post-top{flex-wrap:wrap}.calendar-post-open{min-height:40px}.sidebar-brand .icon-btn{min-width:30px}.calendar-date-nav>.icon-btn{min-width:32px}.day-heading .icon-btn{min-width:26px;min-height:26px}.media-card-actions>.icon-btn{min-width:32px;min-height:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}[data-spotlight]::before,[data-spotlight]::after{display:none}.btn:hover:not(:disabled),.bio-links>a:hover{transform:none}.loading-skeleton{background:var(--surface-raised)}.drag-preview{will-change:auto}}

.brand-wordmark{font-size:20px;font-weight:600;letter-spacing:-.75px;color:var(--text-primary)}.sidebar-brand .brand-symbol{gap:7px}.sidebar-brand .brand-symbol .brand-mark{width:30px;height:30px}.sidebar-brand .brand-wordmark{font-size:var(--ui-section,19px)}.collapsed .brand-wordmark{display:none}.bio-card footer .brand-wordmark{font-size:var(--ui-fine,9px);letter-spacing:-.25px}.bio-card footer .brand-symbol{gap:4px}.auth-brand .brand-wordmark{font-size:22px}.auth-brand>.micro{display:none}.spacer{height:22px}@media(max-width:1023px) and (min-width:768px){.sidebar .brand-wordmark{display:none}}@media(max-width:767px){.sidebar .brand-wordmark,.collapsed .sidebar .brand-wordmark{display:inline}.auth-mobile-mark .brand-wordmark{font-size:22px}}

.social-preview-caption{white-space:pre-wrap}@media(prefers-reduced-motion:reduce),(pointer:coarse){[data-magnetic]{translate:none!important}}
@media(min-width:768px) and (max-height:850px){.sandbox-note{display:none}.sidebar-bottom{padding-top:15px}.sidebar{padding-top:20px}.sidebar-brand{padding-bottom:18px}.workspace-switch{margin-bottom:12px}}

.link-row.is-hidden{opacity:1;background:var(--background);border-style:dashed}.calendar-post.cancelled{opacity:1;border-left-style:dashed}.calendar-day.outside .day-heading>span{color:var(--text-muted)}.preview-link.placeholder{opacity:1;background:var(--surface-raised);color:var(--text-muted)}input::placeholder,textarea::placeholder{opacity:1}.chart-legend>.chart-source{color:var(--text-muted)}@media(max-width:767px){.chart-legend>.chart-source{display:none}.connection-bottom p br{display:initial}}

.composer-layout>div{min-width:0}

@media(max-width:767px){.upcoming-panel{min-height:0}}

.loading-workspace{max-width:1150px;padding:50px 32px;margin:auto}.loading-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:36px}.loading-heading p{font-size:var(--ui-label,12px);color:var(--text-muted)}.loading-skeleton{position:relative;overflow:hidden;background:var(--surface);animation:none}.loading-skeleton::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--surface-hover),transparent);transform:translateX(-100%);animation:skeleton-sweep 1.4s var(--ease-standard) infinite}@keyframes skeleton-sweep{to{transform:translateX(100%)}}@media(max-width:767px){.loading-workspace{padding:30px 18px}.loading-heading{align-items:flex-start;flex-direction:column}.loading-heading p{font-size:var(--ui-support,11px)}}@media(prefers-reduced-motion:reduce){.loading-skeleton::after{display:none}}

.sidebar{overflow:hidden}.sidebar-brand,.workspace-switch,.sidebar-bottom{flex-shrink:0}.side-nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.nav-item,.nav-section,.nav-divider{flex-shrink:0}.sidebar-bottom{padding-top:18px}@media(min-width:768px) and (max-height:1050px){.sandbox-note{display:none}}
.commerce-designer-page{width:min(100% - 32px,1500px);margin:32px auto}.commerce-designer-page #printful-designer{min-height:72dvh;margin-top:24px}.commerce-designer-page iframe{width:100%;min-height:72dvh;border:1px solid var(--border);border-radius:16px}#ambassador-estimate{display:block;margin-top:20px;color:var(--text-secondary)}.commerce-stats>div{min-width:0;padding:12px}.commerce-stats>div>strong{display:block;font-size:1.5rem}

/* Logo: the wordmark image (globe + SocialBall.io) scales with the existing wordmark font sizes; the globe-only mark shows only where the wordmark is hidden. */
img.brand-wordmark{display:block;height:2.1em;width:auto;max-width:100%}.brand-symbol .brand-mark{display:none;border-radius:8px}.brand-symbol.large img.brand-wordmark{height:3.6em}
.collapsed .sidebar-brand .brand-mark{display:block}
@media(max-width:1023px) and (min-width:768px){.sidebar .brand-mark{display:block}}
@media(max-width:767px){.sidebar .brand-mark,.collapsed .sidebar .brand-mark{display:none}.sidebar img.brand-wordmark,.collapsed .sidebar img.brand-wordmark{display:block}}
/* Sign-in logo: smaller, with its top level with the top of the form box (the form column has the same top padding). */
@media(min-width:768px){.auth-brand .brand-symbol.large img.brand-wordmark{height:48px}.auth-brand{padding-top:48px}}
@media(min-width:768px) and (max-width:1100px){.auth-brand .brand-symbol.large img.brand-wordmark{height:40px}.auth-brand{padding-top:13px}}

/* Profile (LinkMe layout): cover photo fading to black, identity over it, round icons, image cards, product grid. Shared by the public page and the in-app preview. */
.bio-card.profile{padding:0 0 28px;min-height:0;align-items:stretch;background:#000;overflow:hidden;position:relative;color:#fff}
.profile-cover{position:relative;width:100%;aspect-ratio:1/1;max-height:440px;background:radial-gradient(120% 90% at 50% 0%,var(--accent-subtle),transparent 70%)}.profile:not(.has-cover) .profile-cover{aspect-ratio:auto;height:110px}
.profile-cover img{display:block;width:100%;height:100%;object-fit:cover}.profile-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.5) 62%,#000 100%)}
.profile-head{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0 20px}.profile.has-cover .profile-head{margin-top:-120px}.profile.has-cover .profile-head .bio-avatar{display:none}
.profile .profile-head .bio-avatar{width:88px;height:88px;margin:-44px 0 8px;font-size:30px;border:3px solid #000}
.profile .profile-head h1,.profile .profile-head h2{margin:4px 0 0;color:#fff;font-size:28px;font-weight:750;letter-spacing:-.6px;line-height:1.15;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.profile .bio-handle{margin:0;color:rgba(255,255,255,.62);font-size:13px}
.profile-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:10px 0 2px}.profile .social-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0}.profile .social-links>a.profile-social{padding:0;border:0;border-radius:50%;font-size:14px}
.profile-social{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:#111;font-size:14px;font-weight:700;line-height:1;text-decoration:none;transition:transform var(--motion-fast)}a.profile-social:hover{transform:translateY(-2px)}
.profile-tip{display:inline-flex;align-items:center;gap:3px;height:32px;padding:0 10px 0 13px;border-radius:999px;background:#fff;color:#111;font-size:14px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;transition:transform var(--motion-fast)}a.profile-tip:hover{transform:translateY(-2px)}a.profile-tip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.profile .bio-description{max-width:420px;margin:8px auto 0;color:rgba(255,255,255,.85);font-size:14px;line-height:1.55}.profile .bio-description:empty{display:none}
.profile .bio-links{display:grid;gap:12px;width:100%;max-width:none;margin:0;padding:22px 16px 0}
.profile .bio-links>a,.profile .bio-links>.preview-link{min-height:56px;padding:14px 18px;border-radius:12px;font-size:15px}
.profile-media{position:relative;margin:0;overflow:hidden;border-radius:12px;aspect-ratio:16/10;background:#111}.profile-media img{display:block;width:100%;height:100%;object-fit:cover}
.profile-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.78));pointer-events:none}
.profile-media-icon{position:absolute;top:10px;left:10px;z-index:2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff}
.profile-media a,.profile-media figcaption{position:absolute;inset:0;z-index:1;display:flex;align-items:flex-end;justify-content:center;padding:14px 16px;color:#fff;font-size:18px;font-weight:650;text-decoration:none;text-shadow:0 1px 8px rgba(0,0,0,.6)}.profile-media a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:12px}
.profile-collection h2{margin:10px 0 12px;color:#fff;font-size:18px;font-weight:800}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.profile-tile{position:relative;display:block;overflow:hidden;border-radius:12px;aspect-ratio:16/11;background:#151517;color:#fff;text-decoration:none}.profile-tile img,.profile-tile-blank{display:block;width:100%;height:100%;object-fit:cover}.profile-tile-blank{background:radial-gradient(90% 90% at 30% 20%,var(--accent-subtle),transparent)}
.profile-tile-text{position:absolute;inset:auto 0 0;display:grid;gap:2px;padding:22px 12px 10px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.85));text-align:left}.profile-tile-text strong{font-size:14px;line-height:1.25}.profile-tile-text small{font-size:12px;opacity:.8}a.profile-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.theme-editorial .profile-media,.theme-editorial .profile-tile,.theme-editorial .bio-links>a,.theme-editorial .bio-links>.preview-link{border-radius:0}
.profile footer{margin-top:auto;padding-top:34px;text-align:center;opacity:.65}
/* Public page: black, one centred column, blurred cover behind it on wider screens, compact header on scroll. */
.public-page{display:block;min-height:100vh;padding:0;background:#000}.public-page>main{position:relative;z-index:1;max-width:560px;min-height:100vh;margin:0 auto}.public-page .bio-card.profile{min-height:100vh}
.profile-backdrop{position:fixed;inset:-60px;z-index:0;width:calc(100% + 120px);height:calc(100% + 120px);object-fit:cover;filter:blur(48px) brightness(.32) saturate(1.2)}
@media(min-width:600px){.public-page>main{padding:24px 0}.public-page .bio-card.profile{min-height:calc(100vh - 48px);border:1px solid rgba(255,255,255,.08);border-radius:24px}}
.profile-sticky{position:fixed;top:0;left:50%;z-index:10;display:flex;align-items:center;gap:10px;width:min(560px,100%);padding:10px 16px;background:rgba(0,0,0,.74);backdrop-filter:blur(14px);color:#fff;transform:translate(-50%,-110%);transition:transform .25s ease}.profile-sticky.is-visible{transform:translate(-50%,0)}
.profile-sticky .avatar{width:28px;height:28px;font-size:12px}.profile-sticky strong{overflow:hidden;font-size:15px;white-space:nowrap;text-overflow:ellipsis}
/* Tip bottom sheet (a dialog): slides up on phones, centred on wider screens. */
.tip-sheet{width:min(460px,100%);max-width:100%;margin:auto auto 0;padding:12px 20px 22px;border:1px solid var(--border);border-radius:20px 20px 0 0;background:var(--surface);color:var(--text-primary);text-align:center}.tip-sheet::backdrop{background:rgba(0,0,0,.62)}.tip-sheet[open]{animation:tip-sheet-up .25s ease-out}
@keyframes tip-sheet-up{from{opacity:0;transform:translateY(40px)}}@media(min-width:600px){.tip-sheet{margin:auto;border-radius:20px}}
.tip-sheet-grip{width:40px;height:4px;margin:0 auto 16px;border-radius:2px;background:var(--border-strong)}.tip-sheet-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--accent);color:#fff}
.tip-sheet h2{margin:12px 0 4px;font-size:20px}.tip-sheet p{margin:0 0 18px;color:var(--text-secondary);font-size:14px;line-height:1.5}
.tip-sheet-amounts{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:10px;margin-bottom:14px}.tip-sheet-amounts button{min-height:50px;border:1px solid var(--border);border-radius:12px;background:var(--background);color:var(--text-primary);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.tip-sheet-amounts button.selected{border-color:var(--accent);background:var(--accent-subtle);box-shadow:0 0 0 3px var(--accent-subtle)}.tip-sheet-amounts button:focus-visible,.tip-sheet-continue:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tip-sheet-continue{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:12px;background:var(--accent);color:var(--on-accent,#fff);font-weight:600;text-decoration:none}.tip-sheet small{display:block;margin-top:10px;color:var(--text-muted);font-size:12px}
.tip-sheet-close{position:absolute;top:10px;right:12px;width:34px;height:34px;border:0;border-radius:50%;background:none;color:var(--text-secondary);font-size:22px;line-height:1;cursor:pointer}.tip-sheet-close:hover{background:var(--surface-hover);color:var(--text-primary)}
@media(prefers-reduced-motion:reduce){.profile-sticky,.tip-sheet[open],.profile-social{transition:none;animation:none}}

/* Real social logos (public/social-logos.js). */
.platform-icon .social-logo{display:block;width:.95em;height:.95em}.profile-social .social-logo{display:block;width:16px;height:16px}
.profile-social.logo-instagram{color:#FF0069}.profile-social.logo-facebook{color:#0866FF}.profile-social.logo-tiktok{color:#000000}.profile-social.logo-youtube{color:#FF0000}.profile-social.logo-linkedin{color:#0A66C2}.profile-social.logo-threads{color:#000000}.profile-social.logo-x{color:#000000}.profile-social.logo-whatsapp{color:#25D366}
/* Tip sheet: Other amount. */
.tip-sheet-custom{display:grid;gap:6px;margin:0 0 6px;text-align:left;font-size:13px;color:var(--text-secondary)}.tip-sheet-input{display:flex;align-items:center;gap:8px;padding:0 14px;border:1px solid var(--border);border-radius:12px;background:var(--background)}.tip-sheet-input:focus-within{border-color:var(--accent)}
.tip-sheet-input b{color:var(--text-secondary);font-weight:600}.tip-sheet-input input{flex:1;min-width:0;min-height:48px;padding:0;border:0!important;background:none!important;box-shadow:none!important;color:var(--text-primary);font:inherit;font-size:16px;outline:none}
.tip-sheet-error{min-height:18px;margin:0 0 6px!important;color:var(--danger,#ff6b6b)!important;font-size:12px!important;text-align:left}.tip-sheet-error:empty{min-height:0;margin:0 0 4px!important}.tip-sheet-continue[aria-disabled]{opacity:.5;cursor:not-allowed}
.profile.font-editorial .profile-head h1,.profile.font-editorial .profile-head h2{font-weight:400;letter-spacing:-.3px}.profile.font-mono .profile-head h1,.profile.font-mono .profile-head h2{font-weight:600;letter-spacing:-1px}

/* Cover video sits over the photo in the profile cover. */
.profile-cover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Connect with: email box under the bio, like LinkMe. */
.profile-connect{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:min(100%,440px);margin:16px auto 0;padding:0;border-radius:0;background:none}
.profile-connect-row{display:flex;align-items:center;gap:6px;width:100%;padding:4px 4px 4px 16px;border-radius:999px;background:#fff}.profile-connect-row input{flex:1;min-width:0;min-height:40px;padding:0;border:0!important;background:none!important;box-shadow:none!important;color:#111;font:inherit;font-size:14px;outline:none}.profile-connect-row input::placeholder{color:#8a8a8f}
.profile-connect button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 4px 0 14px;border:0;border-radius:999px;background:#2b2b2e;color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.profile-connect button:disabled{opacity:.6}.profile-connect button .avatar{width:32px;height:32px;font-size:12px}
.profile-connect-row:focus-within{box-shadow:0 0 0 3px var(--accent-subtle)}.profile-connect-status{flex-basis:100%;margin:0;padding:0 4px;color:inherit;font-size:12px;text-align:left}.profile-connect-status:empty{display:none}.profile-connect.is-done .profile-connect-row{background:#f3fff7}
/* My profile panels. */
.profile-extras{display:grid;gap:24px;margin-top:24px}.profile-cover-current{display:flex;align-items:center;gap:14px;margin-bottom:14px}.profile-cover-current video{width:120px;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:#000}.profile-cover-current>div{flex:1;min-width:0}.profile-cover-current small{display:block;color:var(--text-muted)}
.profile-cover-hint{display:block;margin-top:8px;color:var(--text-muted);font-size:13px}#cover-progress{width:100%;margin-top:10px;accent-color:var(--accent)}.profile-signup-count{color:var(--text-secondary);font-size:14px}

/* Selects draw their own chevron so it sits the same distance from the edge as the text does on the left. */
select:not([multiple]){appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239a9aa2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:12px!important;padding-right:34px!important}

/* My profile phone preview: one fixed phone shape whatever the column width or profile length; the profile scrolls inside it. */
.preview-column .phone-shell{width:min(100%,340px);min-height:0;margin-inline:auto}.preview-column .phone-shell #bio-preview{min-height:0;aspect-ratio:9/18.5;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;clip-path:inset(0 round 30px)}.preview-column .phone-shell #bio-preview::-webkit-scrollbar{display:none}.preview-column .phone-shell .bio-card{min-height:100%}
/* Chrome can paint a playing video outside rounded overflow clipping; clip-path holds it. */
.profile-cover{overflow:hidden}.profile-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(min-width:600px){.public-page .bio-card.profile{clip-path:inset(0 round 24px)}}
.preview-label .icon-btn{width:32px;height:32px;min-height:32px;color:var(--text-muted)}.preview-label .icon-btn:hover{color:var(--text-primary)}.preview-hint a{color:var(--text-secondary);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.profile-owner-banner{position:relative;z-index:3;margin:0;padding:10px 16px;background:#2b2b2e;color:#fff;font-size:13px;text-align:center}
.cover-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.cover-kinds button{justify-content:center}.profile-cover-current img{width:120px;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:#000}

/* LinkMe proportions: a 566px column, a near-square cover (566x546) with the name over its lower fade, 14px side gutters. */
.profile-cover{aspect-ratio:566/546;max-height:none}.profile .bio-links{padding:22px 14px 0}
.profile.has-cover .profile-head .bio-avatar{display:grid}.profile.has-cover.with-avatar .profile-head{margin-top:-170px}.profile.has-cover .profile-head .bio-avatar{width:76px;height:76px;margin:0 0 6px;border:2px solid rgba(255,255,255,.9)}
.public-page>main{max-width:566px}@media(min-width:600px){.public-page>main{padding:34px 0}.public-page .bio-card.profile{min-height:calc(100vh - 68px)}}
.public-page .profile-connect-row input{min-height:44px;font-size:16px}.public-page .profile-connect button{min-height:40px;font-size:15px}
.profile-photo-toggle{margin:-6px 0 24px}
.profile-connect{width:100%}
/* The name sits about four fifths down the cover at any width: percentage margins follow the card width, and the cover height does too. */
.profile.has-cover .profile-head{margin-top:-20%}.profile.has-cover.with-avatar .profile-head{margin-top:calc(-20% - 82px)}

/* Public column matches LinkMe: 566px. */
.public-page>main{max-width:566px}
/* Carousels: image blocks sharing a carousel name slide sideways, one card at a time, like LinkMe collections. */
.profile-carousel{display:grid;gap:10px;min-width:0}.profile-carousel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 4px 0}.profile-carousel-head h3{margin:0;color:rgba(255,255,255,.88);font-size:15px;font-weight:700}
.profile-carousel-nav{display:flex;gap:8px}.profile-carousel-nav button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#2a2a2d;color:#fff;cursor:pointer}.profile-carousel-nav button:disabled{opacity:.35;cursor:default}.profile-carousel-nav button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.profile-carousel-track{display:grid;grid-auto-flow:column;grid-auto-columns:80%;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}.profile-carousel-track::-webkit-scrollbar{display:none}.profile-carousel-track>.profile-media{scroll-snap-align:start;aspect-ratio:429/316}.profile-carousel-track .profile-media a,.profile-carousel-track .profile-media figcaption{font-size:15px}
/* Contact email: a quiet dark row with a mail icon, whatever the theme. */
.profile .bio-links>.profile-email{display:flex;justify-content:flex-start;align-items:center;gap:12px;min-height:52px;padding:14px 16px;border:0;border-radius:12px;background:#161618;color:#fff;font-size:15px;font-weight:650;text-decoration:none;overflow-wrap:anywhere}.profile .bio-links>a.profile-email:hover{background:#1f1f22}
/* Footer: SocialBall wordmark, then Privacy Policy | Terms | Report. */
.profile .profile-footer{display:grid;justify-items:center;gap:12px;padding:36px 16px 4px;opacity:1}.profile-footer-brand img{display:block;width:auto;height:26px}.profile-footer nav{display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.5);font-size:12px}.profile-footer-link{color:rgba(255,255,255,.62);text-decoration:underline;text-underline-offset:2px}a.profile-footer-link:hover{color:#fff}
.report-field{display:grid;gap:6px;margin:0 0 12px;text-align:left}.report-field>span{color:rgba(255,255,255,.72);font-size:13px}.report-field select,.report-field textarea,.report-field input{width:100%}.report-sheet h2{margin-top:6px}.report-done{margin:18px 0 6px;color:#fff}
.legal-page{min-height:100vh;background:#000;color:#fff}.legal-page main{max-width:640px;margin:0 auto;padding:64px 24px}.legal-logo{display:block;height:30px;width:auto;margin-bottom:36px}.legal-page h1{font-size:32px;margin:0 0 12px}.legal-page p{color:rgba(255,255,255,.75);line-height:1.6}
.report-sheet button.tip-sheet-continue{display:flex;justify-content:center;width:100%;border:0;cursor:pointer;font:inherit;font-weight:700}.report-sheet button.tip-sheet-continue:disabled{opacity:.6}.report-field select{font-size:15px}

/* Total Followers line under the social icons, and the sheet listing each account. */
.profile-followers{display:inline-flex;align-items:center;gap:4px;margin:10px auto 0;padding:4px 8px;border:0;border-radius:8px;background:none;color:#fff;font:inherit;font-size:15px;cursor:pointer}.profile-followers strong{font-weight:750}button.profile-followers:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.followers-sheet h2 strong{font-weight:800}.followers-list{display:grid;gap:4px;margin:16px 0 0;padding:0;list-style:none;text-align:left}.followers-list a{display:flex;align-items:center;gap:14px;padding:8px 6px;border-radius:12px;color:#fff;text-decoration:none}.followers-list a:hover,.followers-list a:focus-visible{background:#18181a;outline:none}
.followers-avatar{position:relative;flex:none;width:46px;height:46px;overflow:visible;font-size:15px}.followers-avatar>img{width:100%;height:100%;border-radius:50%;object-fit:cover}.followers-avatar>i{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:20px;height:20px;border:2px solid #000;border-radius:50%;background:#fff;font-style:normal}.followers-avatar>i svg{width:11px;height:11px}
.followers-list strong{display:block;font-size:15px}.followers-list small{color:rgba(255,255,255,.62);font-size:14px}

/* Platform badges on the followers sheet use the same brand colours as the profile icons. */
.followers-avatar>i.logo-instagram{color:#FF0069}.followers-avatar>i.logo-facebook{color:#0866FF}.followers-avatar>i.logo-tiktok{color:#000000}.followers-avatar>i.logo-youtube{color:#FF0000}.followers-avatar>i.logo-linkedin{color:#0A66C2}.followers-avatar>i.logo-threads{color:#000000}.followers-avatar>i.logo-x{color:#000000}.followers-avatar>i.logo-whatsapp{color:#25D366}

/* My profile: one Save profile bar at the end of the page that stays in view while you scroll. */
.profile-save-bar{position:sticky;bottom:16px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding:14px 16px 14px 20px;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);box-shadow:0 12px 32px var(--overlay)}.profile-save-bar>span{max-width:520px}@media(max-width:600px){.profile-save-bar{flex-direction:column;align-items:stretch}.profile-save-bar>.btn{width:100%}}

/* Tip wizard steps inside the sheet. */
.tip-sheet{position:relative;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}.tip-step[hidden]{display:none}
.tip-sheet button.tip-sheet-continue{width:100%;border:0;cursor:pointer;font:inherit;font-weight:700}
.tip-sheet-back{display:block;margin:0 0 4px;padding:6px 8px 6px 0;border:0;background:none;color:var(--text-secondary);font:inherit;font-size:14px;cursor:pointer}.tip-sheet-back:hover{color:var(--text-primary)}
.tip-field{display:grid;gap:6px;margin:0 0 12px;text-align:left;font-size:13px;color:var(--text-secondary)}.tip-field input,.tip-field textarea{width:100%;font-size:16px}.tip-field textarea{resize:vertical}.tip-sheet .tip-count{margin:0;text-align:right}
.tip-checkout{min-height:120px;margin:4px -8px 8px;border-radius:12px;overflow:hidden}.tip-checkout-status{padding:40px 0;margin:0!important}
.tip-checkout-status.is-error{padding:32px 8px;color:var(--text-primary);font-size:15px}

/* Brand colours for every profile network (generated with public/social-logos.js). */
.profile-social.logo-instagram,.followers-avatar>i.logo-instagram{color:#FF0069}.profile-social.logo-tiktok,.followers-avatar>i.logo-tiktok{color:#000000}.profile-social.logo-youtube,.followers-avatar>i.logo-youtube{color:#FF0000}.profile-social.logo-x,.followers-avatar>i.logo-x{color:#000000}.profile-social.logo-facebook,.followers-avatar>i.logo-facebook{color:#0866FF}.profile-social.logo-threads,.followers-avatar>i.logo-threads{color:#000000}.profile-social.logo-snapchat,.followers-avatar>i.logo-snapchat{color:#000000;background:#FFFC00}.profile-social.logo-linkedin,.followers-avatar>i.logo-linkedin{color:#0A66C2}.profile-social.logo-pinterest,.followers-avatar>i.logo-pinterest{color:#BD081C}.profile-social.logo-whatsapp,.followers-avatar>i.logo-whatsapp{color:#FFFFFF;background:#25D366}.profile-social.logo-telegram,.followers-avatar>i.logo-telegram{color:#26A5E4}.profile-social.logo-discord,.followers-avatar>i.logo-discord{color:#5865F2}.profile-social.logo-twitch,.followers-avatar>i.logo-twitch{color:#9146FF}.profile-social.logo-kick,.followers-avatar>i.logo-kick{color:#000000;background:#53FC19}.profile-social.logo-reddit,.followers-avatar>i.logo-reddit{color:#FF4500}.profile-social.logo-bluesky,.followers-avatar>i.logo-bluesky{color:#0285FF}.profile-social.logo-mastodon,.followers-avatar>i.logo-mastodon{color:#6364FF}.profile-social.logo-tumblr,.followers-avatar>i.logo-tumblr{color:#36465D}.profile-social.logo-spotify,.followers-avatar>i.logo-spotify{color:#000000;background:#1ED760}.profile-social.logo-applemusic,.followers-avatar>i.logo-applemusic{color:#FA243C}.profile-social.logo-youtubemusic,.followers-avatar>i.logo-youtubemusic{color:#FF0000}.profile-social.logo-soundcloud,.followers-avatar>i.logo-soundcloud{color:#FF5500}.profile-social.logo-tidal,.followers-avatar>i.logo-tidal{color:#000000}.profile-social.logo-bandcamp,.followers-avatar>i.logo-bandcamp{color:#408294}.profile-social.logo-audiomack,.followers-avatar>i.logo-audiomack{color:#FFFFFF;background:#FFA200}.profile-social.logo-vimeo,.followers-avatar>i.logo-vimeo{color:#1AB7EA}.profile-social.logo-rumble,.followers-avatar>i.logo-rumble{color:#FFFFFF;background:#85C742}.profile-social.logo-dailymotion,.followers-avatar>i.logo-dailymotion{color:#0A0A0A}.profile-social.logo-flickr,.followers-avatar>i.logo-flickr{color:#0063DC}.profile-social.logo-unsplash,.followers-avatar>i.logo-unsplash{color:#000000}.profile-social.logo-behance,.followers-avatar>i.logo-behance{color:#1769FF}.profile-social.logo-dribbble,.followers-avatar>i.logo-dribbble{color:#EA4C89}.profile-social.logo-artstation,.followers-avatar>i.logo-artstation{color:#13AFF0}.profile-social.logo-deviantart,.followers-avatar>i.logo-deviantart{color:#05CC47}.profile-social.logo-github,.followers-avatar>i.logo-github{color:#181717}.profile-social.logo-medium,.followers-avatar>i.logo-medium{color:#000000}.profile-social.logo-substack,.followers-avatar>i.logo-substack{color:#FF6719}.profile-social.logo-patreon,.followers-avatar>i.logo-patreon{color:#000000}.profile-social.logo-kofi,.followers-avatar>i.logo-kofi{color:#FF6433}.profile-social.logo-buymeacoffee,.followers-avatar>i.logo-buymeacoffee{color:#000000;background:#FFDD00}.profile-social.logo-gumroad,.followers-avatar>i.logo-gumroad{color:#000000;background:#FF90E8}.profile-social.logo-onlyfans,.followers-avatar>i.logo-onlyfans{color:#00AFF0}.profile-social.logo-etsy,.followers-avatar>i.logo-etsy{color:#F16521}.profile-social.logo-shopify,.followers-avatar>i.logo-shopify{color:#FFFFFF;background:#7AB55C}.profile-social.logo-paypal,.followers-avatar>i.logo-paypal{color:#003087}.profile-social.logo-cashapp,.followers-avatar>i.logo-cashapp{color:#00C244}.profile-social.logo-venmo,.followers-avatar>i.logo-venmo{color:#008CFF}.profile-social.logo-signal,.followers-avatar>i.logo-signal{color:#3B45FD}.profile-social.logo-line,.followers-avatar>i.logo-line{color:#00C300}.profile-social.logo-wechat,.followers-avatar>i.logo-wechat{color:#07C160}.profile-social.logo-vk,.followers-avatar>i.logo-vk{color:#0077FF}.profile-social.logo-clubhouse,.followers-avatar>i.logo-clubhouse{color:#000000;background:#FFE450}.profile-social.logo-bereal,.followers-avatar>i.logo-bereal{color:#000000}.profile-social.logo-steam,.followers-avatar>i.logo-steam{color:#000000}.profile-social.logo-playstation,.followers-avatar>i.logo-playstation{color:#0070D1}.profile-social.logo-letterboxd,.followers-avatar>i.logo-letterboxd{color:#202830}.profile-social.logo-goodreads,.followers-avatar>i.logo-goodreads{color:#372213}.profile-social.logo-strava,.followers-avatar>i.logo-strava{color:#FC4C02}.profile-social.logo-imdb,.followers-avatar>i.logo-imdb{color:#000000;background:#F5C518}.profile-social.logo-calendly,.followers-avatar>i.logo-calendly{color:#006BFF}.profile-social.logo-website,.followers-avatar>i.logo-website{color:#111111}

/* Social icons on the profile: one line that scrolls as a marquee when it does not fit; off wraps onto more lines. */
.profile .profile-actions{flex-wrap:nowrap;width:100%;max-width:100%}.profile .profile-actions:has(.social-links[data-marquee=off]){flex-wrap:wrap}
.profile .social-links{flex:0 1 auto;flex-wrap:nowrap;min-width:0;padding:3px 0;overflow:hidden}.profile .social-links[data-marquee=off]{flex-wrap:wrap}.profile .profile-tip{flex:none}
.profile .social-links.is-marquee{flex:1 1 auto;justify-content:flex-start;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent)}
.social-track{display:flex;gap:8px;width:max-content;padding-right:8px;animation:social-marquee var(--marquee-duration,20s) linear infinite}.social-links.is-marquee:hover .social-track,.social-links.is-marquee:focus-within .social-track{animation-play-state:paused}@keyframes social-marquee{to{transform:translateX(-50%)}}
.profile .social-links.is-still{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.profile .social-links.is-still::-webkit-scrollbar{display:none}
/* Social icons editor in My profile. */
.social-editor{min-width:0;margin:24px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--border)}.social-editor legend{float:left;width:100%;margin-bottom:6px;font-weight:650}.social-editor>p{clear:both;margin:0 0 14px}
.social-list{display:grid;gap:10px;margin-bottom:12px}.social-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background)}.social-row .field{margin:0}.social-row .field>span{font-size:13px}
.social-row .profile-social{width:32px;height:32px;border:1px solid var(--border);font-size:16px}.social-row .row-controls{display:flex;gap:4px}
.social-add{position:relative;display:flex;align-items:center;margin-bottom:16px}.social-add>.icon{position:absolute;left:14px;width:16px;height:16px;color:var(--text-secondary);pointer-events:none}.social-add select{width:100%;padding-left:38px}
@media(max-width:600px){.social-row{grid-template-columns:auto auto minmax(0,1fr)}.social-row .row-controls{grid-column:1/-1;justify-content:flex-end}}
.profile .social-links>*,.social-track>*{flex:none}
/* Compact social rows: the brand icon names the network; the label stays for screen readers. */
.social-row .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.social-row{padding:6px 8px}.social-row .field input{min-height:40px}
.social-row .field{display:block;margin:0!important;padding:0;gap:0}.social-row .field input{display:block;width:100%;margin:0}

/* ---- My profile: view mode and the profile editor. ---- */
.profile-viewer [hidden],.profile-editor [hidden]{display:none!important}
.profile-link-chip{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:3px 4px 3px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:13px}.profile-link-chip>span{color:var(--text-muted);white-space:nowrap}.profile-link-chip>a{min-width:0;margin-left:6px;overflow:hidden;color:var(--text-primary);font-weight:600;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}.profile-link-chip>a:hover{text-decoration:underline}.profile-link-chip .icon-btn{width:32px;height:32px;min-height:32px}
.profile-viewer-bar,.profile-editor-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px}.profile-viewer-bar>.btn.primary{margin-left:auto}
.profile-stage{display:flex;justify-content:center;padding:34px 16px;border-radius:var(--radius);background:radial-gradient(120% 80% at 50% 0%,var(--accent-subtle),transparent 60%),#050506}.profile-stage-card{width:min(100%,566px)}
.profile-stage .bio-card.profile,.profile-canvas .bio-card.profile{min-height:0;border:1px solid rgba(255,255,255,.08);border-radius:24px;clip-path:inset(0 round 24px)}
.autosave-state{color:var(--text-muted);font-size:13px}.autosave-state.is-error{color:var(--danger,#ff6b6b)}.profile-editor-bar .device-toggle{margin-left:auto}.device-toggle button{display:grid;place-items:center;min-width:36px}
.profile-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.profile-canvas{display:flex;justify-content:center;min-height:70vh;padding:28px 16px;border-radius:var(--radius);background:radial-gradient(120% 80% at 50% 0%,var(--accent-subtle),transparent 60%),#050506}.profile-canvas-inner{width:100%;max-width:440px;transition:max-width var(--motion-standard,.2s)}.profile-canvas[data-device=desktop] .profile-canvas-inner{max-width:566px}
.profile-panel{position:sticky;top:calc(var(--header-height,72px) + 16px);max-height:calc(100vh - var(--header-height,72px) - 32px);overflow-y:auto;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.profile-panel-sheet-head{display:none}
.editor-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-bottom:16px}.editor-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;font-size:13px}.editor-tabs .icon{width:16px;height:16px}
.editor-group h3{margin:18px 0 8px;color:var(--text-muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.editor-group:first-child h3{margin-top:4px}.editor-tiles{display:grid;gap:8px}
.editor-tile{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);color:var(--text-primary);font:inherit;text-align:left;cursor:pointer}.editor-tile strong{font-size:14px}.editor-tile small{grid-column:1;color:var(--text-muted);font-size:12px}.editor-tile .icon{grid-row:1/3;grid-column:2;width:16px;height:16px;color:var(--text-muted)}.editor-tile:hover{border-color:var(--border-strong)}
.editor-panel-head{display:flex;align-items:center;gap:6px;margin-bottom:14px}.editor-panel-head h2{margin:0;font-size:17px}.editor-panel-head .icon-btn .icon{transform:rotate(180deg)}
.editor-panel .panel{padding:0;border:0;background:none;box-shadow:none}.editor-panel .profile-link-panel h2{display:none}.editor-panel .link-editor .panel-heading{margin-bottom:14px}.editor-panel .social-editor{margin-top:0;padding-top:0;border-top:0}.editor-panel .social-editor legend{display:none}
.editor-intro h2{margin:0 0 4px;font-size:17px}.editor-intro p{margin:0 0 14px}
.sections-list{display:grid;gap:8px}.sections-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:6px;padding:6px 10px 6px 6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background)}.sections-row>span{font-size:14px;font-weight:600}.sections-row.is-off>span{opacity:.5}.restore-defaults{margin-top:14px;color:var(--text-secondary);font-size:13px}
.section-switch{position:relative;display:inline-block;flex:none;width:36px;height:20px}.section-switch input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.section-switch span{position:absolute;inset:0;border-radius:999px;background:#3a3a3e;transition:background var(--motion-fast,.15s)}.section-switch span::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform var(--motion-fast,.15s)}.section-switch input:checked+span{background:var(--accent)}.section-switch input:checked+span::after{transform:translateX(16px)}.section-switch input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
/* Sections on the public page; centred ones line up under the header. */
.profile-section.is-center:not(.is-editable){display:flex;flex-direction:column;align-items:center;padding:0 20px;text-align:center}
/* Sections on the editor canvas: a dashed outline, a bar with the controls, switched-off ones dimmed. */
.profile.is-editor .profile-section.is-editable{position:relative;margin:10px 12px 0;padding:0 0 12px;border:1px dashed rgba(255,255,255,.16);border-radius:14px}.profile.is-editor .profile-section.is-editable:hover{border-color:rgba(255,255,255,.34)}
.section-bar{display:flex;align-items:center;gap:6px;padding:6px 8px;color:rgba(255,255,255,.75);font-size:12px;font-weight:600;text-align:left}.section-name{flex:1;min-width:0}
.section-grip,.section-edit{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:none;color:inherit;cursor:pointer}.section-grip{cursor:grab}.section-grip:hover,.section-edit:hover{background:rgba(255,255,255,.08)}.section-grip:focus-visible,.section-edit:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.profile-section.is-off .section-body{opacity:.35}.section-empty{margin:2px 14px 0;color:rgba(255,255,255,.5);font-size:13px;text-align:center}
.profile.is-editor .profile-section.is-center .section-body{display:flex;flex-direction:column;align-items:center;padding:0 8px;text-align:center}.profile.is-editor .section-body .bio-links{padding:4px 10px 0}
.profile-head-edit{position:absolute;top:12px;right:12px;left:12px;z-index:3;display:flex;justify-content:flex-end;gap:8px}.profile-head-edit button{padding:7px 12px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer;backdrop-filter:blur(8px)}.profile-head-edit button:hover{background:rgba(0,0,0,.75)}
/* Setup checklist above the canvas card. */
.profile-checklist{margin:0 0 14px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.profile-checklist-head{display:flex;justify-content:space-between;margin-bottom:8px;font-size:14px}.profile-checklist-head span{color:var(--text-muted);font-size:13px}
.profile-checklist-bar{display:block;width:100%;height:6px;margin-bottom:10px;border:0;border-radius:3px;background:var(--surface-active);appearance:none;overflow:hidden}.profile-checklist-bar::-webkit-progress-bar{background:var(--surface-active)}.profile-checklist-bar::-webkit-progress-value{background:var(--accent);border-radius:3px}.profile-checklist-bar::-moz-progress-bar{background:var(--accent)}
.profile-checklist-step{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;margin-top:6px;padding:9px 10px;border:0;border-radius:10px;background:var(--background);color:var(--text-primary);font:inherit;font-size:13px;text-align:left;cursor:pointer}.profile-checklist-step small{color:var(--text-secondary)}.profile-checklist-step.is-done{cursor:default;opacity:.6}.profile-checklist-step.is-done>span:nth-child(2){text-decoration:line-through}
.check-dot{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--border-strong);border-radius:50%}.is-done .check-dot{border-color:var(--accent);background:var(--accent);color:var(--on-accent,#fff)}.check-dot .icon{width:12px;height:12px}
.profile-qr{display:block;margin:12px auto 16px;border-radius:12px;background:#fff}
.editor-fabs{display:none}
@media(max-width:900px){
  .profile-editor-body{grid-template-columns:1fr}.profile-canvas{min-height:0;padding:16px 8px 90px}
  .profile-panel{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:90;max-height:82vh;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px var(--overlay);transform:translateY(105%);transition:transform var(--motion-standard,.25s) ease-out}.profile-panel.is-open{transform:none}
  .profile-panel-sheet-head{position:relative;display:flex;justify-content:center;margin-bottom:8px}.profile-panel-sheet-head .icon-btn{position:absolute;top:-6px;right:-6px}
  .editor-fabs{position:fixed;right:16px;bottom:16px;left:16px;z-index:80;display:flex;justify-content:center;gap:10px}.editor-fabs .btn{box-shadow:0 8px 24px var(--overlay)}
  .profile-editor-bar .autosave-state{order:5;width:100%}.profile-link-chip>span{display:none}
}
@media(prefers-reduced-motion:reduce){.profile-panel{transition:none}}

/* Profile view mode fills the whole area under the top bar: blurred cover behind, link centred, Edit profile in the corner. */
.workspace .main-content.profile-view-main,.main-content.profile-view-main{max-width:none;padding:0}
.profile-viewer{position:relative;min-height:calc(100dvh - var(--header-height,72px));overflow:hidden;background:#050506}
.profile-viewer-backdrop{position:absolute;inset:0;overflow:hidden}.profile-viewer-backdrop>img,.profile-viewer-backdrop>video{position:absolute;inset:-60px;width:calc(100% + 120px);height:calc(100% + 120px);object-fit:cover;filter:blur(48px) brightness(.32) saturate(1.2)}
.profile-viewer-bar{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:0;padding:20px 24px}.profile-viewer-bar>.btn.primary{justify-self:end;margin:0}.profile-viewer-link{display:flex;align-items:center;gap:8px;min-width:0}
.profile-viewer-link .profile-link-chip{background:rgba(20,20,22,.72);backdrop-filter:blur(10px)}
.profile-viewer .profile-stage{position:relative;z-index:1;padding:4px 16px 48px;border-radius:0;background:none}
@media(max-width:700px){.profile-viewer-bar{grid-template-columns:1fr;justify-items:center;padding:16px}.profile-viewer-bar>span:first-child{display:none}.profile-viewer-bar>.btn.primary{justify-self:center}}
@media(prefers-reduced-motion:reduce){.profile-viewer-backdrop>video{display:none}}

/* ---- Profile look and feel (Appearance). Values arrive as custom properties; see public/profile-style.js. ---- */
/* Background: solid colour or gradient; the cover fades into it. */
.bio-card.profile.bg-solid,.bio-card.profile.bg-gradient{background:var(--profile-bg,#000)}
.profile.bg-solid .profile-cover::after,.profile.bg-gradient .profile-cover::after{background:linear-gradient(180deg,transparent 30%,color-mix(in srgb,var(--profile-bg-base,#000) 55%,transparent) 62%,var(--profile-bg-base,#000) 100%)}
.profile.bg-solid:not(.has-cover) .profile-cover,.profile.bg-gradient:not(.has-cover) .profile-cover{background:none}
/* Text colours. */
.bio-card.profile.has-title-color .profile-head h1,.bio-card.profile.has-title-color .profile-head h2,.bio-card.profile.has-title-color .profile-collection h2,.bio-card.profile.has-title-color .profile-carousel-head h3,.bio-card.profile.has-title-color .profile-header-block{color:var(--profile-title)}
.bio-card.profile.has-text-color .bio-description,.bio-card.profile.has-text-color .bio-handle,.bio-card.profile.has-text-color .profile-followers,.bio-card.profile.has-text-color .profile-footer nav,.bio-card.profile.has-text-color .profile-footer-link{color:var(--profile-text)}
/* Buttons: filled, outline or soft, in the creator's colour; shapes apply to link buttons and the email row. */
.bio-card.profile.btn-filled .bio-links>a:not(.profile-email),.bio-card.profile.btn-filled .bio-links>.preview-link{background:var(--btn-color);color:var(--btn-text);border-color:transparent}
.bio-card.profile.btn-outline .bio-links>a:not(.profile-email),.bio-card.profile.btn-outline .bio-links>.preview-link{background:transparent;color:var(--btn-color);border:1.5px solid var(--btn-color)}
.bio-card.profile.btn-soft .bio-links>a:not(.profile-email),.bio-card.profile.btn-soft .bio-links>.preview-link{background:color-mix(in srgb,var(--btn-color) 24%,transparent);color:var(--btn-text);border-color:transparent}
.bio-card.profile.shape-pill .bio-links>a,.bio-card.profile.shape-pill .bio-links>.preview-link{border-radius:999px}
.bio-card.profile.shape-square .bio-links>a,.bio-card.profile.shape-square .bio-links>.preview-link,.bio-card.profile.shape-square .profile-media,.bio-card.profile.shape-square .profile-tile{border-radius:0}
/* A block's own colours win over the theme and button style. */
.bio-card.profile .bio-links>[data-block].has-color,.bio-card.profile .profile-carousel-track>[data-block].has-color{background:var(--block-bg,var(--btn-color));color:var(--block-text,inherit);border-color:transparent}
/* Block sizes. */
.profile .bio-links>a.block-big,.profile .bio-links>.preview-link.block-big{min-height:72px;padding:20px 22px;font-size:17px}
.profile .bio-links>a.block-small,.profile .bio-links>.preview-link.block-small{min-height:44px;padding:10px 14px;font-size:13px}
.profile-media.block-small{aspect-ratio:21/9}.profile-media.block-big{aspect-ratio:4/3}
.profile-carousel.carousel-small .profile-carousel-track{grid-auto-columns:46%}.profile-carousel.carousel-small .profile-media{aspect-ratio:1/1}
/* Gentle animations that draw the eye to one block. */
.profile .anim-pulse{animation:block-pulse 2.4s ease-in-out infinite}.profile .anim-shake{animation:block-shake 3.2s ease-in-out infinite}.profile .anim-glow{animation:block-glow 2.6s ease-in-out infinite}
@keyframes block-pulse{50%{transform:scale(1.025)}}
@keyframes block-shake{0%,86%,100%{transform:none}88%{transform:translateX(-3px) rotate(-1deg)}91%{transform:translateX(3px) rotate(1deg)}94%{transform:translateX(-2px)}97%{transform:translateX(2px)}}
@keyframes block-glow{50%{box-shadow:0 0 0 4px color-mix(in srgb,var(--block-bg,var(--btn-color,#ff5a1f)) 35%,transparent),0 0 24px color-mix(in srgb,var(--block-bg,var(--btn-color,#ff5a1f)) 45%,transparent)}}
@media(prefers-reduced-motion:reduce){.profile .anim-pulse,.profile .anim-shake,.profile .anim-glow{animation:none}}
/* Header blocks split the links into sections. */
.profile-header-block{margin:10px 4px 0;color:#fff;font-size:17px;font-weight:750;line-height:1.3}.profile-header-block.align-center{text-align:center}.profile-header-block.align-left{text-align:left}
/* Social icons: size, and the Soft, Mono, Bold and one-colour styles (Brand is the default). */
.profile .profile-actions .profile-social,.profile-dock .profile-social{width:var(--icon-size,32px);height:var(--icon-size,32px);font-size:calc(var(--icon-size,32px) * .44)}
.bio-card.profile.icons-soft .profile-social{background:rgba(255,255,255,.13)}
.bio-card.profile.icons-mono .profile-social{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35)}
.bio-card.profile.icons-custom .profile-social{background:var(--icon-color);color:var(--icon-glyph,#fff);box-shadow:none}
/* Stick to the bottom: a glass bar with the icons once the header row has scrolled away (public page). */
.profile-dock{position:sticky;bottom:16px;z-index:5;display:flex;justify-content:center;margin:18px auto 0;padding:8px 12px;max-width:calc(100% - 28px);width:max-content;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(18,18,20,.62);backdrop-filter:blur(14px);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s,transform .2s}.profile-dock.is-visible{opacity:1;transform:none;pointer-events:auto}.profile-dock .social-links{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none}
@media(prefers-reduced-motion:reduce){.profile-dock{transition:none}}
/* ---- Appearance panel controls. ---- */
.appearance-group{padding:14px 0;border-top:1px solid var(--border)}.appearance-group:first-child{padding-top:0;border-top:0}.appearance-group h3{margin:0 0 10px;font-size:14px}.appearance-group .theme-options{margin-bottom:8px}
.style-choice{display:flex;width:100%;margin-bottom:10px}.style-choice label{flex:1;position:relative}.style-choice input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}.style-choice span{display:block;padding:6px 8px;border-radius:5px;color:var(--text-muted);font-size:12px;text-align:center}.style-choice input:checked+span{background:var(--surface-active);color:var(--text-primary);box-shadow:0 1px 4px var(--overlay)}.style-choice input:focus-visible+span{outline:2px solid var(--accent)}
.colour-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.colour-field{display:inline-flex;align-items:center;gap:8px;margin:0 0 8px;font-size:13px;color:var(--text-secondary);cursor:pointer}.colour-field input[type=color]{width:34px;height:34px;padding:2px;border:1px solid var(--border);border-radius:8px;background:var(--background);cursor:pointer}.colour-optional{display:flex;width:100%}.colour-optional>span{flex:1}
.field.compact{margin-bottom:10px}.field.compact select{min-height:38px}
.font-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-bottom:12px}.font-choice{position:relative;display:grid;justify-items:center;gap:2px;padding:10px 6px;border:1px solid var(--border);border-radius:10px;background:var(--background);cursor:pointer}.font-choice input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}.font-choice:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-subtle)}.font-choice:has(input:focus-visible){outline:2px solid var(--accent)}.font-sample{font-size:22px;line-height:1.2;color:var(--text-primary)}.font-choice small{max-width:100%;overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.font-sample-editorial{font-family:Georgia,'Times New Roman',serif}.font-sample-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.block-look{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* Bold social icons: brand colour fills the circle (generated from public/social-logos.js). */
.bio-card.profile.icons-bold .profile-social.logo-instagram{background:#FF0069;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-tiktok{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-youtube{background:#FF0000;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-x{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-facebook{background:#0866FF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-threads{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-snapchat{background:#FFFC00;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-linkedin{background:#0A66C2;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-pinterest{background:#BD081C;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-whatsapp{background:#25D366;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-telegram{background:#26A5E4;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-discord{background:#5865F2;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-twitch{background:#9146FF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-kick{background:#53FC19;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-reddit{background:#FF4500;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-bluesky{background:#0285FF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-mastodon{background:#6364FF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-tumblr{background:#36465D;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-spotify{background:#1ED760;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-applemusic{background:#FA243C;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-youtubemusic{background:#FF0000;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-soundcloud{background:#FF5500;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-tidal{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-bandcamp{background:#408294;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-audiomack{background:#FFA200;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-vimeo{background:#1AB7EA;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-rumble{background:#85C742;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-dailymotion{background:#0A0A0A;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-flickr{background:#0063DC;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-unsplash{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-behance{background:#1769FF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-dribbble{background:#EA4C89;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-artstation{background:#13AFF0;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-deviantart{background:#05CC47;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-github{background:#181717;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-medium{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-substack{background:#FF6719;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-patreon{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-kofi{background:#FF6433;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-buymeacoffee{background:#FFDD00;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-gumroad{background:#FF90E8;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-onlyfans{background:#00AFF0;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-etsy{background:#F16521;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-shopify{background:#7AB55C;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-paypal{background:#003087;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-cashapp{background:#00C244;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-venmo{background:#008CFF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-signal{background:#3B45FD;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-line{background:#00C300;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-wechat{background:#07C160;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-vk{background:#0077FF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-clubhouse{background:#FFE450;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-bereal{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-steam{background:#000000;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}.bio-card.profile.icons-bold .profile-social.logo-playstation{background:#0070D1;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-letterboxd{background:#202830;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-goodreads{background:#372213;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-strava{background:#FC4C02;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-imdb{background:#F5C518;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-calendly{background:#006BFF;color:#fff}.bio-card.profile.icons-bold .profile-social.logo-website{background:#111111;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}
/* Soft social icons: the brand colour on a see-through circle (black brands in white). */
.bio-card.profile.icons-soft .profile-social.logo-instagram{color:#FF0069}.bio-card.profile.icons-soft .profile-social.logo-tiktok{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-youtube{color:#FF0000}.bio-card.profile.icons-soft .profile-social.logo-x{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-facebook{color:#0866FF}.bio-card.profile.icons-soft .profile-social.logo-threads{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-snapchat{color:#FFFC00}.bio-card.profile.icons-soft .profile-social.logo-linkedin{color:#0A66C2}.bio-card.profile.icons-soft .profile-social.logo-pinterest{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-whatsapp{color:#25D366}.bio-card.profile.icons-soft .profile-social.logo-telegram{color:#26A5E4}.bio-card.profile.icons-soft .profile-social.logo-discord{color:#5865F2}.bio-card.profile.icons-soft .profile-social.logo-twitch{color:#9146FF}.bio-card.profile.icons-soft .profile-social.logo-kick{color:#53FC19}.bio-card.profile.icons-soft .profile-social.logo-reddit{color:#FF4500}.bio-card.profile.icons-soft .profile-social.logo-bluesky{color:#0285FF}.bio-card.profile.icons-soft .profile-social.logo-mastodon{color:#6364FF}.bio-card.profile.icons-soft .profile-social.logo-tumblr{color:#36465D}.bio-card.profile.icons-soft .profile-social.logo-spotify{color:#1ED760}.bio-card.profile.icons-soft .profile-social.logo-applemusic{color:#FA243C}.bio-card.profile.icons-soft .profile-social.logo-youtubemusic{color:#FF0000}.bio-card.profile.icons-soft .profile-social.logo-soundcloud{color:#FF5500}.bio-card.profile.icons-soft .profile-social.logo-tidal{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-bandcamp{color:#408294}.bio-card.profile.icons-soft .profile-social.logo-audiomack{color:#FFA200}.bio-card.profile.icons-soft .profile-social.logo-vimeo{color:#1AB7EA}.bio-card.profile.icons-soft .profile-social.logo-rumble{color:#85C742}.bio-card.profile.icons-soft .profile-social.logo-dailymotion{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-flickr{color:#0063DC}.bio-card.profile.icons-soft .profile-social.logo-unsplash{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-behance{color:#1769FF}.bio-card.profile.icons-soft .profile-social.logo-dribbble{color:#EA4C89}.bio-card.profile.icons-soft .profile-social.logo-artstation{color:#13AFF0}.bio-card.profile.icons-soft .profile-social.logo-deviantart{color:#05CC47}.bio-card.profile.icons-soft .profile-social.logo-github{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-medium{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-substack{color:#FF6719}.bio-card.profile.icons-soft .profile-social.logo-patreon{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-kofi{color:#FF6433}.bio-card.profile.icons-soft .profile-social.logo-buymeacoffee{color:#FFDD00}.bio-card.profile.icons-soft .profile-social.logo-gumroad{color:#FF90E8}.bio-card.profile.icons-soft .profile-social.logo-onlyfans{color:#00AFF0}.bio-card.profile.icons-soft .profile-social.logo-etsy{color:#F16521}.bio-card.profile.icons-soft .profile-social.logo-shopify{color:#7AB55C}.bio-card.profile.icons-soft .profile-social.logo-paypal{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-cashapp{color:#00C244}.bio-card.profile.icons-soft .profile-social.logo-venmo{color:#008CFF}.bio-card.profile.icons-soft .profile-social.logo-signal{color:#3B45FD}.bio-card.profile.icons-soft .profile-social.logo-line{color:#00C300}.bio-card.profile.icons-soft .profile-social.logo-wechat{color:#07C160}.bio-card.profile.icons-soft .profile-social.logo-vk{color:#0077FF}.bio-card.profile.icons-soft .profile-social.logo-clubhouse{color:#FFE450}.bio-card.profile.icons-soft .profile-social.logo-bereal{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-steam{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-playstation{color:#0070D1}.bio-card.profile.icons-soft .profile-social.logo-letterboxd{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-goodreads{color:#fff}.bio-card.profile.icons-soft .profile-social.logo-strava{color:#FC4C02}.bio-card.profile.icons-soft .profile-social.logo-imdb{color:#F5C518}.bio-card.profile.icons-soft .profile-social.logo-calendly{color:#006BFF}.bio-card.profile.icons-soft .profile-social.logo-website{color:#fff}
/* Doubled attribute: outranks the workspace input sizing so the swatch stays square. */
.colour-field input[type=color][type=color]{min-height:0;width:36px;height:36px;padding:3px;flex:none}.colour-field input[type=color]::-webkit-color-swatch-wrapper{padding:0}.colour-field input[type=color]::-webkit-color-swatch{border:1px solid rgba(255,255,255,.18);border-radius:6px}.colour-field input[type=color]::-moz-color-swatch{border:1px solid rgba(255,255,255,.18);border-radius:6px}
/* Background colours only matter for Solid and Gradient; the second colour and direction only for Gradient. */
.appearance-group:has(input[name=style_bg_type][value=cover]:checked) .colour-row{display:none}.appearance-group:has(input[name=style_bg_type][value=solid]:checked) .colour-row>:not(:first-child){display:none}

/* ---- Phase 3 profile sections: gallery, events, form, age gate, scheduled blocks, footer logo. ---- */
.profile-gallery h2,.profile-events h2,.profile-form-block h2{margin:10px 0 12px;color:#fff;font-size:18px;font-weight:800}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.gallery-item{display:block;padding:0;border:0;border-radius:10px;overflow:hidden;background:#151517;aspect-ratio:1/1;cursor:zoom-in}.gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.gallery-item:hover img{transform:scale(1.04)}.gallery-item:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.gallery-lightbox{max-width:min(92vw,960px);max-height:92vh;padding:0;border:0;border-radius:14px;background:#000;color:#fff;overflow:visible}.gallery-lightbox::backdrop{background:rgba(0,0,0,.85)}.gallery-lightbox img{display:block;max-width:min(92vw,960px);max-height:82vh;border-radius:14px;object-fit:contain}.gallery-caption{margin:10px 14px 12px;font-size:14px;text-align:center}.gallery-caption:empty{display:none}
.gallery-nav{position:absolute;top:50%;width:42px;height:42px;margin-top:-21px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:26px;line-height:1;cursor:pointer}.gallery-nav.is-prev{left:10px}.gallery-nav.is-next{right:10px}.gallery-lightbox .tip-sheet-close{top:8px;right:8px;background:rgba(0,0,0,.55);color:#fff}
.profile-events{display:grid;gap:10px}.event-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-radius:14px;background:#151517;color:#fff}.event-card.is-pinned{box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.event-date{display:grid;justify-items:center;width:52px;padding:6px 0;border-radius:10px;background:#fff;color:#111;line-height:1.1}.event-date span{font-size:11px;font-weight:800;letter-spacing:.06em}.event-date strong{font-size:20px}
.event-text strong{display:block;font-size:15px}.event-text small{display:block;margin-top:2px;color:rgba(255,255,255,.65);font-size:13px}
.event-tickets{padding:8px 14px;border-radius:999px;background:var(--btn-color,var(--accent));color:var(--btn-text,#fff);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}.event-sold{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);color:rgba(255,255,255,.75);font-size:12px;font-weight:700}
.profile-form-block{display:grid;gap:10px;padding:16px;border-radius:16px;background:#151517;color:#fff;text-align:left}.profile-form-block h2{margin:0}.profile-form-block>p{margin:0;color:rgba(255,255,255,.7);font-size:14px}
.profile-form-field{display:grid;gap:6px;font-size:13px;color:rgba(255,255,255,.75)}.profile-form-field input,.profile-form-field textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#0c0c0e;color:#fff;font:inherit;font-size:16px}
.profile-form-block button[type=submit]{min-height:46px;border:0;border-radius:12px;background:var(--btn-color,var(--accent));color:var(--btn-text,#fff);font:inherit;font-weight:700;cursor:pointer}.profile-form-block button:disabled{opacity:.6}.profile-form-status{margin:0;font-size:13px}.profile-form-status:empty{display:none}.profile-form-block.is-done .profile-form-status{color:#7ee2a8}
.bio-card.profile.has-text-color .event-text small,.bio-card.profile.has-text-color .profile-form-block>p{color:var(--profile-text)}.bio-card.profile.has-title-color .profile-gallery h2,.bio-card.profile.has-title-color .profile-events h2,.bio-card.profile.has-title-color .profile-form-block h2{color:var(--profile-title)}
.profile .is-scheduled{opacity:.45;position:relative}.profile .is-scheduled::after{content:"Scheduled";position:absolute;top:6px;right:8px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.7);color:#fff;font-size:11px;font-weight:700}
.profile.no-footer-logo .profile-footer-brand{display:none}
/* Age gate: the profile stays blurred until the visitor confirms. */
body.is-age-gated main,body.is-age-gated .profile-backdrop,body.is-age-gated .profile-sticky{filter:blur(22px);pointer-events:none;user-select:none}
.age-gate{width:min(420px,calc(100% - 32px));padding:24px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:#111113;color:#fff;text-align:center}.age-gate::backdrop{background:rgba(0,0,0,.6)}.age-gate h2{margin:0 0 8px;font-size:20px}.age-gate p{margin:0 0 16px;color:rgba(255,255,255,.75);font-size:14px;line-height:1.5}
.age-gate-actions{display:grid;gap:8px}.age-gate-actions button{min-height:46px;border:0;border-radius:12px;font:inherit;font-weight:700;cursor:pointer}.age-gate-yes{background:var(--accent);color:#fff}.age-gate-no{background:rgba(255,255,255,.1);color:#fff}
.age-gate-dob{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px;margin-bottom:12px}.age-gate-dob input{min-height:46px;padding:0 10px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#0c0c0e;color:#fff;font:inherit;font-size:16px;text-align:center}.age-gate-error{color:#ff8b8b!important;font-size:13px!important}.age-gate-error:empty{display:none}
/* ---- Phase 3 editor panels. ---- */
.gallery-editor,.events-editor{display:grid;gap:8px;margin-top:14px}.gallery-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background)}.gallery-row img{width:48px;height:48px;border-radius:8px;object-fit:cover}.gallery-row input{min-height:38px}
.event-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background)}.event-row strong{display:block;font-size:14px}.event-row small{color:var(--text-muted);font-size:12px}.event-row.is-past{opacity:.55}.row-controls{display:flex;gap:4px}
.form-builder{display:grid;gap:4px}.form-fields{margin:6px 0 10px;padding:0;border:0}.form-fields legend{margin-bottom:8px;font-weight:650}.form-field-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:8px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background)}.form-field-row select,.form-field-row input[type=text]{min-height:38px}.form-field-required{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-secondary)}.form-field-required input{accent-color:var(--accent)}.form-field-row .row-controls{justify-content:flex-end}
.form-builder-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 18px}
.options-form{display:grid;gap:6px}.options-form h3{margin:12px 0 4px;font-size:14px}.options-form h3:first-child{margin-top:0}.block-schedule{margin:6px 0 0;padding:0;border:0}.block-schedule legend{margin-bottom:6px;font-size:13px;font-weight:650}
.event-card{text-align:left}

/* ---- Phase 4: video rows, music smart links, cookie banner. ---- */
.profile-videos .profile-carousel-head h3{display:flex;align-items:center;gap:8px}.profile-videos .profile-carousel-head h3 .social-logo{width:18px;height:18px}
.profile-videos .profile-carousel-track{grid-auto-columns:72%}.profile-videos.is-tiktok .profile-carousel-track{grid-auto-columns:44%}
.video-card{position:relative;display:block;overflow:hidden;border-radius:12px;aspect-ratio:16/9;background:#151517;color:#fff;text-decoration:none;scroll-snap-align:start}.profile-videos.is-tiktok .video-card{aspect-ratio:9/16}
.video-card img{display:block;width:100%;height:100%;object-fit:cover}.video-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.8))}
.video-play{position:absolute;top:50%;left:50%;z-index:1;width:42px;height:42px;margin:-21px 0 0 -21px;border-radius:50%;background:rgba(0,0,0,.55)}.video-play::before{content:"";position:absolute;top:13px;left:16px;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff}
.video-title{position:absolute;right:10px;bottom:8px;left:10px;z-index:1;overflow:hidden;font-size:13px;font-weight:650;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.music-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px 12px;align-items:center;padding:12px;border-radius:14px;background:#151517;color:#fff;text-align:left}.music-card>img,.music-cover{width:64px;height:64px;border-radius:10px;object-fit:cover;background:#26262a}
.music-text strong{display:block;font-size:15px}.music-text small{display:block;color:rgba(255,255,255,.65);font-size:13px}
.music-platforms{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.music-platform{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border-radius:999px;background:#fff;color:#111;font-size:18px;text-decoration:none}.music-platform span{font-size:12px;font-weight:700}.music-platform:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.music-platform.logo-spotify{background:#1ED760;color:#000}.music-platform.logo-applemusic{color:#FA243C}.music-platform.logo-youtubemusic,.music-platform.logo-youtube{color:#FF0000}.music-platform.logo-soundcloud{color:#FF5500}.music-platform.logo-tidal{color:#000}
.bio-card.profile .music-card.has-color{background:var(--block-bg);color:var(--block-text)}
.cookie-banner{position:fixed;right:16px;bottom:16px;left:16px;z-index:100;max-width:520px;margin:0 auto;padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(17,17,19,.96);color:#fff;box-shadow:0 12px 40px rgba(0,0,0,.5)}.cookie-banner p{margin:0 0 12px;font-size:14px;line-height:1.5}
.cookie-actions{display:flex;justify-content:flex-end;gap:8px}.cookie-actions button{min-height:42px;padding:0 18px;border:0;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}.cookie-accept{background:var(--accent);color:#fff}.cookie-decline{background:rgba(255,255,255,.12);color:#fff}
.panel-logo-title{display:flex;align-items:center;gap:8px}.panel-logo-title .social-logo{width:18px;height:18px}.inline-form{display:grid;gap:4px}.video-row-title{min-width:0;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
#tracking-form{margin-top:28px}
.inline-form{min-width:0}.inline-form>*{min-width:0}.inline-form input{width:100%;min-width:0}.inline-form .form-builder-actions{flex-wrap:wrap;justify-content:flex-start}

/* ---- Cover styles (LinkMe's video profile styles): where the cover sits and how the backdrop looks. ---- */
.profile-backdrop.is-contained{position:absolute}
.profile-backdrop.backdrop-frame,.profile-backdrop.backdrop-motion,.profile-backdrop.backdrop-background{inset:0;width:100%;height:100%;filter:brightness(.6)}
.profile-backdrop.backdrop-motion,.profile-backdrop.backdrop-background{filter:brightness(.72)}
.profile-backdrop.backdrop-blur{filter:blur(36px) brightness(.55) saturate(1.25)}
.bio-card.profile.cover-is-behind{background:transparent}
.bio-card.profile.cover-is-behind .profile-cover{background:none}.bio-card.profile.cover-is-behind .profile-cover::after{display:none}
.bio-card.profile.cover-is-behind .profile-head h1,.bio-card.profile.cover-is-behind .profile-head h2,.bio-card.profile.cover-is-behind .bio-handle{text-shadow:0 2px 14px rgba(0,0,0,.55)}
.profile-stage .bio-card.profile.cover-is-behind,.profile-canvas .bio-card.profile.cover-is-behind{border-color:rgba(255,255,255,.14)}
@media(max-width:600px){body.public-page .bio-card.profile.cover-motion.cover-is-behind{background:linear-gradient(180deg,transparent 0,transparent 300px,var(--profile-bg-base,#000) 460px)}}
.profile-canvas[data-device=phone] .bio-card.profile.cover-motion.cover-is-behind{background:linear-gradient(180deg,transparent 0,transparent 300px,var(--profile-bg-base,#000) 460px)}

/* ---- Editor shell like LinkMe: the cover backdrop fills the canvas, the link sits centred, the panel runs full height on the right edge. ---- */
.workspace .main-content.profile-editor-main,.main-content.profile-editor-main{max-width:none;padding:0}
.profile-editor-bar .autosave-state{white-space:nowrap}
.workspace:has(.profile-editor-main) .workspace-footer{display:none}
.profile-editor-body{grid-template-columns:minmax(0,1fr) 440px;gap:0;min-height:calc(100dvh - var(--header-height,76px))}
.profile-canvas-column{position:relative;min-width:0;overflow:hidden;background:#050506}
.profile-canvas-backdrop{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.profile-canvas-backdrop>.profile-backdrop{inset:-60px;width:calc(100% + 120px);height:calc(100% + 120px);object-fit:cover}
.profile-canvas-backdrop>.backdrop-frame,.profile-canvas-backdrop>.backdrop-motion,.profile-canvas-backdrop>.backdrop-background{inset:0;width:100%;height:100%}
.profile-editor-bar{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:0;padding:18px 24px}
.editor-bar-start,.editor-bar-end{display:flex;align-items:center;gap:10px;min-width:0}.editor-bar-end{justify-content:flex-end}.profile-editor-bar .device-toggle{margin-left:0}
.profile-editor-bar .profile-link-chip{background:rgba(20,20,22,.72);backdrop-filter:blur(10px)}
.profile-canvas{position:relative;z-index:1;min-height:0;padding:4px 16px 56px;border-radius:0;background:none}
.profile-panel{top:var(--header-height,76px);height:calc(100dvh - var(--header-height,76px));max-height:none;padding:20px;border:0;border-left:1px solid var(--border);border-radius:0;background:#0b0b0d}
@media(min-width:1600px){.profile-editor-body{grid-template-columns:minmax(0,1fr) 480px}}
@media(max-width:1250px){.profile-editor-body{grid-template-columns:minmax(0,1fr) 400px}}
@media(max-width:900px){
  .profile-editor-body{grid-template-columns:1fr;min-height:calc(100dvh - var(--header-height,64px))}
  .profile-panel{top:auto;height:auto;max-height:82vh;border:1px solid var(--border);border-radius:20px 20px 0 0}
  .profile-editor-bar{grid-template-columns:1fr auto;padding:14px 16px}.profile-editor-bar .profile-link-chip{grid-column:1/-1;grid-row:2;justify-self:center}
  .profile-canvas{padding:4px 8px 90px}
}

/* Cover style cards: each is a tiny page drawn with the creator's own cover. */
.editor-switch-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 12px;padding:14px 16px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.editor-switch-card strong{display:block;font-size:14px}.editor-switch-card small{display:block;margin-top:2px;color:var(--text-muted);font-size:12px;line-height:1.45}
.cover-style-picker{margin-top:12px;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.cover-style-picker h3{margin:0 0 10px;font-size:13px}
.cover-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cover-style{position:relative;padding:0;border:1px solid var(--border);border-radius:14px;background:#000;color:#fff;font:inherit;overflow:hidden;cursor:pointer}.cover-style:hover{border-color:var(--border-strong)}.cover-style.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.cover-style:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cover-thumb{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;background:#0d0d0f}
.thumb-back,.thumb-top{position:absolute;display:block;object-fit:cover;pointer-events:none}.thumb-back{inset:0;width:100%;height:100%}
.thumb-top{top:0;left:0;width:100%;height:46%;-webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent)}
.thumb-avatar{position:absolute;top:36%;left:50%;width:26px;height:26px;margin-left:-13px;border:2px solid #fff;border-radius:50%;background:rgba(255,255,255,.18)}
.thumb-line{position:absolute;top:55%;right:30%;left:30%;height:4px;border-radius:4px;background:rgba(255,255,255,.85)}.thumb-line.short{top:60%;right:38%;left:38%;background:rgba(255,255,255,.45)}
.thumb-check{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:20px;height:20px;border:1.5px solid rgba(255,255,255,.7);border-radius:50%}.thumb-check .icon{width:12px;height:12px;opacity:0}.cover-style.selected .thumb-check{border-color:var(--accent);background:var(--accent)}.cover-style.selected .thumb-check .icon{opacity:1}
.cover-style-name{position:absolute;right:6px;bottom:8px;left:6px;font-size:11px;font-weight:700;line-height:1.3;text-align:center;text-shadow:0 1px 6px #000}
.thumb-cinematic .thumb-back{filter:blur(8px) brightness(.4)}.thumb-static .thumb-back{display:none}
.thumb-motion .thumb-top,.thumb-background .thumb-top,.thumb-blur .thumb-top{display:none}
.thumb-motion .thumb-back{filter:brightness(.8)}.thumb-motion::after{content:"";position:absolute;inset:58% 0 0;background:linear-gradient(transparent,#000 70%)}
.thumb-frame .thumb-back{filter:brightness(.5)}.thumb-frame .thumb-top{top:6%;left:12%;width:76%;height:40%;border-radius:8px}
.thumb-background .thumb-back{filter:brightness(.85)}.thumb-blur .thumb-back{filter:blur(8px) brightness(.6)}

/* ---- Profile dashboard like LinkMe: grouped cards of two-column icon tiles, switches on quick settings. ---- */
.editor-dashboard-title{margin:6px 2px 14px;font-size:20px;font-weight:750;letter-spacing:-.01em}
.editor-dashboard .editor-group{margin:0 0 12px;padding:6px 10px 10px;border:1px solid rgba(255,255,255,.06);border-radius:20px;background:#141416}
.editor-dashboard .editor-group>summary{display:flex;align-items:center;justify-content:space-between;padding:10px 6px;list-style:none;cursor:pointer}.editor-dashboard .editor-group>summary::-webkit-details-marker{display:none}
.editor-dashboard .editor-group h3{margin:0;color:var(--text-primary);font-size:15px;font-weight:700;letter-spacing:0;text-transform:none}
.editor-dashboard .editor-group>summary .icon{width:16px;height:16px;color:var(--text-muted);transition:transform var(--motion-fast,.15s)}.editor-dashboard .editor-group:not([open])>summary .icon{transform:rotate(-90deg)}
.editor-dashboard .editor-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.editor-dashboard .editor-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px;min-height:78px;padding:12px 12px 13px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#1c1c1f;color:var(--text-primary);text-align:left}
.editor-dashboard .editor-tile:hover{border-color:rgba(255,255,255,.22);background:#222226}.editor-dashboard .editor-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.editor-dashboard .editor-tile>.icon{grid-row:auto;grid-column:auto;width:22px;height:22px;color:var(--text-primary)}
.editor-dashboard .editor-tile strong{font-size:13.5px;font-weight:650;line-height:1.25}
.editor-dashboard .editor-tile.is-toggle{cursor:pointer}.editor-dashboard .editor-tile.is-toggle .section-switch{position:absolute;top:12px;right:12px}
.editor-dashboard .editor-tile.is-toggle:focus-within{outline:2px solid var(--accent);outline-offset:2px}
/* Drawer panels: title and a line of help, close on the right, softer pill inputs. */
.profile-panel .editor-panel-head{align-items:flex-start;justify-content:space-between;gap:12px;margin:2px 0 18px}
.profile-panel .editor-panel-head h2{margin:0;font-size:20px;font-weight:750;letter-spacing:-.01em}.profile-panel .editor-panel-head p{margin:4px 0 0;color:var(--text-muted);font-size:13px;line-height:1.45}
.profile-panel .editor-panel-head .icon-btn .icon{transform:none}
.profile-panel .editor-tabs{margin-bottom:16px}
.profile-panel .field input,.profile-panel .field select,.profile-panel .field textarea{border-radius:14px;background:#1c1c1f;border-color:rgba(255,255,255,.08)}
.profile-panel .field input,.profile-panel .field select{min-height:44px;border-radius:999px;padding-left:16px;padding-right:16px}
.profile-panel .appearance-group,.profile-panel .options-form{padding:16px;margin-bottom:12px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#141416}
.profile-panel .appearance-group+.appearance-group{border-top:1px solid rgba(255,255,255,.08)}
.profile-panel .btn.primary{border-radius:999px}

/* Manage platforms: rows of added networks, then a searchable grid of round brand icons. */
.profile-panel .social-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#141416}
.profile-panel .social-row>.field{min-width:0;margin:0}.profile-panel .social-row>.field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.profile-panel .social-row .row-controls{display:flex;gap:2px;max-width:none;flex-wrap:nowrap}.profile-panel .social-row .row-controls .icon-btn{width:30px;height:30px;min-height:30px}
.profile-panel .social-list{display:grid;gap:8px;margin-bottom:14px}
.platform-picker{margin-top:16px}.platform-picker-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}.platform-picker-head h3{margin:0;font-size:15px}.platform-picker-head small{color:var(--text-muted);font-size:12px}
.platform-search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#1c1c1f;color:var(--text-muted)}.platform-search .icon{width:16px;height:16px;flex:none}.platform-search input{flex:1;min-width:0;border:0;background:none;color:var(--text-primary);font:inherit;outline:0}
.platform-search:focus-within{border-color:var(--accent)}
.platform-group h4{margin:18px 0 10px;font-size:13px;font-weight:650}.platform-group h4 span{color:var(--text-muted);font-weight:500}
.platform-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:12px 6px}
.platform-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:4px 0;border:0;background:none;color:var(--text-secondary);font:inherit;font-size:11.5px;cursor:pointer}.platform-tile[hidden]{display:none}
.platform-tile .profile-social{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;transition:transform var(--motion-fast,.15s)}.platform-tile .profile-social svg{width:26px;height:26px}
.platform-tile:hover .profile-social{transform:scale(1.06)}.platform-tile:focus-visible{outline:none}.platform-tile:focus-visible .profile-social{outline:2px solid var(--accent);outline-offset:3px}
.video-no-thumb{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(160deg,#25f4ee22,#151517 45%,#fe2c5522)}.video-no-thumb svg{width:44px;height:44px;opacity:.85}

/* Drawer screens: a tool pushed onto the panel, with a back arrow and its button pinned to the bottom. */
.profile-panel .screen-head{justify-content:flex-start}.profile-panel .screen-head .icon-btn{flex:none;margin:2px 2px 0 -6px}.profile-panel .screen-head .icon-btn .icon{transform:rotate(180deg)}
.editor-screen .screen-form{display:grid;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#141416}
.editor-screen .screen-form>.btn.primary.full{position:sticky;bottom:12px;z-index:2;min-height:48px;margin-top:6px;box-shadow:0 -14px 28px 6px #0b0b0d}
.editor-screen .screen-form .block-look{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.block-type-chips{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 14px}.block-type-chips .btn{min-height:34px;padding:6px 12px;border-radius:999px;font-size:13px}

/* ---- Round two block looks: icons on links, header weight / right / image, music display sizes and modes. ---- */
.bio-links .block-title{flex:1;min-width:0}
.bio-links .block-icon-img{flex:none;width:30px;height:30px;margin:-4px 0;border-radius:8px;object-fit:cover}
.profile .bio-links>a.has-icon,.profile .bio-links>.preview-link.has-icon{justify-content:flex-start}
.profile-header-block.align-right{text-align:right}
.profile-header-block.weight-300{font-weight:300}.profile-header-block.weight-400{font-weight:400}.profile-header-block.weight-500{font-weight:500}.profile-header-block.weight-600{font-weight:600}.profile-header-block.weight-700{font-weight:700}.profile-header-block.weight-800{font-weight:800}.profile-header-block.weight-900{font-weight:900}
.profile-header-block.has-color{padding:10px 14px;border-radius:12px;background:var(--block-bg,transparent);color:var(--block-text,inherit)}
.profile-header-block.has-image{display:flex}.profile-header-block.has-image img{display:block;max-width:100%;max-height:96px;object-fit:contain}
.profile-header-block.has-image.align-center{justify-content:center}.profile-header-block.has-image.align-right{justify-content:flex-end}
/* Music: Big puts a wide cover on top, Square a square cover, Small keeps the cover beside the title. */
.music-card.music-size-big,.music-card.music-size-square{grid-template-columns:1fr}
.music-card.music-size-big>img,.music-card.music-size-big>.music-cover{width:100%;height:auto;aspect-ratio:16/9;border-radius:12px}
.music-card.music-size-square>img,.music-card.music-size-square>.music-cover{width:100%;height:auto;aspect-ratio:1;border-radius:12px}
.music-card.music-mode-compact .music-platform{min-width:32px;height:32px;padding:0 8px;font-size:15px}
.music-card.music-mode-full .music-platforms{flex-direction:column;gap:6px}
.music-card.music-mode-full .music-platform{justify-content:flex-start;gap:10px;width:100%;height:46px;padding:0 8px 0 12px;border-radius:12px;background:rgba(255,255,255,.08)}
.music-card.music-mode-full .music-platform-logo{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;font-size:15px}
.music-card.music-mode-full .music-platform-name{flex:1;font-size:14px;font-weight:650;text-align:left}
.music-card.music-mode-full .music-play{padding:6px 14px;border-radius:999px;background:#fff;color:#111;font-size:12px;font-weight:750}
.music-card.music-mode-full .music-platform.music-platform{background:rgba(255,255,255,.08)}.music-card.music-mode-full .music-platform-name{color:#fff}

/* ---- Block screens like LinkMe: live preview, picture options, cards of fields and folded extras. ---- */
.block-preview-wrap{margin-bottom:2px}.block-preview-label{margin:0 0 6px;color:var(--text-muted);font-size:12px;font-weight:650}
.block-preview{padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#000}
.block-preview .block-preview-card{min-height:0!important;padding:0;border:0!important;border-radius:0;clip-path:none;background:transparent!important}
.block-preview .bio-links{margin:0}.block-preview .profile-header-block{margin:0}
.form-card{display:grid;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#1a1a1d}
.option-cards{display:grid;gap:8px;margin:0;padding:0;border:0;min-width:0}.option-cards.cols-2{grid-template-columns:repeat(2,1fr)}.option-cards.cols-3{grid-template-columns:repeat(3,1fr)}.option-cards.cols-4{grid-template-columns:repeat(4,1fr)}
.option-cards legend{grid-column:1/-1;margin-bottom:6px;padding:0;color:var(--text-muted);font-size:12px;font-weight:650;text-align:center}
.option-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:68px;padding:10px 6px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#141416;color:var(--text-secondary);font-size:13px;font-weight:650;cursor:pointer}
.option-card input{position:absolute;opacity:0;pointer-events:none}.option-card:hover{border-color:rgba(255,255,255,.22)}
.option-card:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,#141416);color:var(--text-primary)}.option-card:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
/* Small drawings for each choice. */
.option-glyph{position:relative;display:block;width:24px;height:18px;border:1.6px solid currentColor;border-radius:4px}
.glyph-big::after,.glyph-medium::after,.glyph-small::after,.glyph-square::after{content:"";position:absolute;right:3px;bottom:3px;left:3px;height:3px;border-radius:2px;background:currentColor}
.glyph-medium{height:14px}.glyph-small{height:10px}.glyph-square{width:18px;height:18px}
.glyph-button,.glyph-compact,.glyph-full,.glyph-none,.glyph-pulse,.glyph-shake,.glyph-glow{height:12px;border-radius:999px}
.glyph-compact{width:26px;border-style:dashed}.glyph-full{width:16px;height:18px;border-radius:3px;background:linear-gradient(currentColor,currentColor) 50% 30%/10px 1.6px no-repeat,linear-gradient(currentColor,currentColor) 50% 70%/10px 1.6px no-repeat}
.glyph-pulse{box-shadow:0 0 0 3px color-mix(in srgb,currentColor 30%,transparent)}.glyph-shake{transform:rotate(-8deg)}.glyph-glow{box-shadow:0 0 8px currentColor}
.glyph-align-left,.glyph-align-center,.glyph-align-right{border:0;background:linear-gradient(currentColor,currentColor) 0 2px/100% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 8px/60% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 14px/80% 2px no-repeat}
.glyph-align-center{background-position:0 2px,50% 8px,50% 14px}.glyph-align-right{background-position:0 2px,100% 8px,100% 14px}
.picture-slot{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px;border:1px dashed rgba(255,255,255,.18);border-radius:16px;background:#141416}
.picture-slot.has-picture{border-style:solid}.picture-thumb{display:grid;place-items:center;width:52px;height:52px;overflow:hidden;border-radius:12px;background:#222226;color:var(--text-muted)}.picture-thumb img{width:100%;height:100%;object-fit:cover}
.picture-text strong{display:block;font-size:13px}.picture-text small{display:block;color:var(--text-muted);font-size:12px;line-height:1.4}
.file-label.small{min-height:34px;padding:6px 12px;border-radius:999px;font-size:12.5px}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.switch-row strong{display:block;font-size:13.5px}.switch-row small{display:block;margin-top:2px;color:var(--text-muted);font-size:12px}
.fold-list{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#1a1a1d}
.fold-row+.fold-row{border-top:1px solid rgba(255,255,255,.07)}.fold-row>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;list-style:none;cursor:pointer}.fold-row>summary::-webkit-details-marker{display:none}
.fold-row>summary strong{display:block;font-size:13.5px}.fold-row>summary small{display:block;color:var(--text-muted);font-size:12px}.fold-row>summary .icon{width:16px;height:16px;color:var(--text-muted);transition:transform var(--motion-fast,.15s)}.fold-row[open]>summary .icon{transform:rotate(90deg)}
.fold-body{display:grid;gap:12px;padding:0 14px 14px}
.colour-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.colour-chip{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#141416;font-size:13px;cursor:pointer}
.colour-chip input[type=color]{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
.range-row{display:flex;align-items:center;gap:10px}.range-row input{flex:1;accent-color:var(--accent)}.range-a.light{font-weight:300;font-size:15px}.range-a.heavy{font-weight:900;font-size:19px}
.platforms-card strong{font-size:14px}.platforms-card>small{color:var(--text-muted);font-size:12px}.platforms-card ul{display:grid;gap:6px;margin:4px 0 0;padding:0;list-style:none}.platforms-card li{display:flex;justify-content:space-between;padding:8px 10px;border-radius:10px;background:#141416;font-size:13px}.platforms-card li small{color:var(--text-muted)}
.editor-screen .block-form{gap:14px;padding:0;border:0;background:none}
/* Link scheduler. */
.filter-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.filter-pills button{min-height:34px;padding:0 14px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#141416;color:var(--text-secondary);font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.filter-pills button span{color:var(--text-muted);font-weight:500}.filter-pills button.selected{border-color:#fff;background:#fff;color:#111}.filter-pills button.selected span{color:#555}
.dashed-empty{display:grid;justify-items:center;gap:6px;padding:28px 18px;border:1px dashed rgba(255,255,255,.18);border-radius:16px;text-align:center}.dashed-empty .icon{width:22px;height:22px;color:var(--text-muted)}.dashed-empty strong{font-size:14px}.dashed-empty small{max-width:280px;color:var(--text-muted);font-size:12.5px;line-height:1.5}
.scheduler-list{display:grid;gap:8px}.scheduler-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#141416}
.scheduler-text strong{display:block;overflow:hidden;font-size:13.5px;text-overflow:ellipsis;white-space:nowrap}.scheduler-text small{display:block;color:var(--text-muted);font-size:12px}
.scheduler-status{padding:3px 9px;border-radius:999px;font-size:11px;font-weight:750}.status-live{background:#163d27;color:#5ee19a}.status-scheduled{background:#1d2c4a;color:#8fb6ff}.status-draft{background:#2c2c30;color:#c9c9cf}.status-expired{background:#3d1d1d;color:#ff9b9b}
.sticky-action{position:sticky;bottom:12px;z-index:2;margin-top:16px;min-height:48px;box-shadow:0 -14px 28px 6px #0b0b0d}
/* Colour picker popover. */
.colour-picker{position:fixed;z-index:200;display:grid;gap:12px;width:264px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:#151517;box-shadow:0 18px 50px rgba(0,0,0,.6)}
.cp-square{position:relative;height:150px;border-radius:12px;background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,var(--hue,red));cursor:crosshair;touch-action:none}
.cp-square:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cp-knob{position:absolute;width:18px;height:18px;margin:-9px 0 0 -9px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.4),0 2px 6px rgba(0,0,0,.5);pointer-events:none}
.cp-hue{width:100%;height:14px;margin:0;border-radius:999px;background:linear-gradient(90deg,red,#ff0,lime,cyan,blue,#f0f,red);-webkit-appearance:none;appearance:none;cursor:pointer}
.cp-hue::-webkit-slider-thumb{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:transparent;box-shadow:0 0 0 1px rgba(0,0,0,.4);-webkit-appearance:none}
.cp-hue::-moz-range-thumb{width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:transparent}
.cp-row{display:flex;align-items:center;gap:8px}.cp-swatch{flex:none;width:32px;height:32px;border:2px solid rgba(255,255,255,.2);border-radius:50%;background:var(--c,#000)}
.cp-hex{flex:1;min-width:0;height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#1c1c1f;color:var(--text-primary);font:600 13px ui-monospace,monospace;text-transform:lowercase}
.cp-presets{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.cp-preset{aspect-ratio:1;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:var(--c);cursor:pointer}.cp-preset:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* Video feeds as platform cards. */
.feed-card{display:grid;gap:12px;margin-bottom:10px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#141416}
.feed-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.feed-card-head .profile-social{width:40px;height:40px;font-size:20px}
.feed-card-head strong{display:block;font-size:14.5px}.feed-card-head small{display:block;color:var(--text-muted);font-size:12.5px}
.feed-state{padding:5px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:var(--text-muted);font-size:12px;font-weight:650;white-space:nowrap}.feed-state.is-on{border-color:transparent;background:#163d27;color:#5ee19a}
.feed-card .inline-form{gap:8px}.feed-card>p.muted{margin:0}
.colour-picker{box-sizing:border-box}.colour-picker input.cp-hue{display:block;min-height:0;height:14px;padding:0;border:0;background:linear-gradient(90deg,red,#ff0,lime,cyan,blue,#f0f,red)}
.source-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px;align-items:end}.source-row .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.link-gate-page{display:grid;min-height:100dvh;place-items:center;padding:24px;background:#050506;color:#fff}.link-gate{display:grid;gap:14px;max-width:420px;padding:28px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:#111113;text-align:center}.link-gate h1{margin:0;font-size:22px}.link-gate p{margin:0;color:rgba(255,255,255,.7);line-height:1.5}.link-gate-actions{display:grid;gap:10px;margin-top:6px}.link-gate-actions .btn{justify-content:center;min-height:46px;border-radius:999px}
/* Carousels panel and screen. */
.carousel-list{display:grid;gap:8px}.carousel-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#141416}
.carousel-thumbs{display:flex}.carousel-thumbs img{width:34px;height:34px;margin-left:-10px;border:2px solid #141416;border-radius:8px;object-fit:cover}.carousel-thumbs img:first-child{margin-left:0}
.form-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.form-card-head strong{display:block;font-size:14px}.form-card-head small{display:block;color:var(--text-muted);font-size:12px}
.small-pill{min-height:32px;padding:4px 12px;border-radius:999px;font-size:12.5px}
.carousel-picks{display:grid;gap:6px}.carousel-pick{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#141416;cursor:pointer}
.carousel-pick:has(input:checked){border-color:var(--accent)}.carousel-pick input{width:18px;height:18px;accent-color:var(--accent)}.carousel-pick img{width:40px;height:40px;border-radius:8px;object-fit:cover}
.carousel-pick strong{display:block;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.carousel-pick small{display:block;color:var(--text-muted);font-size:11.5px}
.source-row .field{margin:0}.fold-body .source-row+.source-row{margin-top:-4px}

/* ---- Video thumbnails: per-platform list, preview, cards and lists. ---- */
.thumb-platforms-title{margin:18px 0 8px;font-size:14px}
.thumb-platforms{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.thumb-platforms li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.thumb-platforms li strong{display:block;font-size:13px}.thumb-platforms li small{display:block;color:var(--text-muted);font-size:11.5px;line-height:1.4}.thumb-platforms li em{color:var(--text-secondary);font-size:12px;font-style:normal;font-weight:650;white-space:nowrap}
.thumb-platforms li.has-problem{border-color:var(--danger,#ff6b6b)}.thumb-platforms li.has-problem em,.thumb-platforms li.has-problem small{color:var(--danger,#ff6b6b)}
.current-thumb{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:12px 0;padding:10px;border:1px solid var(--border);border-radius:12px}.current-thumb img{width:72px;height:48px;border-radius:8px;object-fit:cover}.current-thumb strong{display:block;font-size:13px}.current-thumb small{color:var(--text-muted);font-size:12px}
.preview-mode{display:flex;margin:0 0 12px}.preview-mode button{flex:1}
.thumb-preview{display:grid;gap:10px}.thumb-frame{position:relative;overflow:hidden;border-radius:14px;background:#000}
.thumb-wide .thumb-frame{aspect-ratio:16/9}.thumb-tall .thumb-frame{width:min(100%,260px);margin:0 auto;aspect-ratio:9/16}
.thumb-frame img,.thumb-frame video{display:block;width:100%;height:100%;object-fit:cover}
.thumb-play{position:absolute;top:50%;left:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:rgba(0,0,0,.55)}.thumb-play::before{content:"";position:absolute;top:14px;left:18px;border-style:solid;border-width:9px 0 9px 14px;border-color:transparent transparent transparent #fff}
.thumb-auto{position:absolute;right:10px;bottom:10px;left:10px;padding:6px 10px;border-radius:8px;background:rgba(0,0,0,.65);color:#fff;font-size:12px;text-align:center}
.thumb-caption{margin:0}.thumb-caption strong{display:block;font-size:14px}.thumb-caption small{color:var(--text-muted);font-size:12px}
.cover-state{display:block;color:var(--accent);font-size:11px}
.post-thumb{position:relative}.post-thumb img{width:100%;height:100%;object-fit:cover}.thumb-video-badge{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;width:14px;height:14px;border-radius:4px;background:rgba(0,0,0,.7);color:#fff}.thumb-video-badge .icon{width:10px;height:10px}
.calendar-thumb{position:relative;display:block;flex:none;width:30px;height:30px;overflow:hidden;border-radius:6px;background:var(--surface-active)}.calendar-thumb img{width:100%;height:100%;object-fit:cover}.calendar-thumb>.icon{width:14px;height:14px;margin:8px}
.calendar-post-open{display:flex;align-items:center;gap:8px}
.thumb-platforms li em{font-family:inherit;letter-spacing:0}
/* Live accounts. */
.account-state.is-live{color:#5ee19a}.status-dot.live{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.18)}
.live-connection{display:flex;align-items:center;gap:10px;margin-top:12px}.live-connection>div{flex:1;min-width:0}.live-connection strong{display:block}.live-connection small{color:var(--text-muted);font-size:var(--ui-fine,11px)}
.official-connect{display:grid;gap:8px;margin:12px 0}.official-connect .btn{justify-content:center}
.account-card.is-live{border-color:rgba(34,197,94,.35)}
.youtube-settings{margin:0 0 14px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm)}.youtube-settings legend{display:flex;align-items:center;gap:6px;padding:0 6px;font-size:13px;font-weight:650}.youtube-settings legend .platform-icon{width:18px;height:18px}.youtube-settings>small{display:block;margin-top:6px;font-size:11.5px;line-height:1.5}
.target-note{display:block;margin-top:2px;color:var(--warning,#f5b544)}
/* TikTok Direct Post settings in the composer (laid out to TikTok's content-sharing guidelines) */
.tiktok-settings{margin:0 0 14px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);display:grid;gap:12px}.tiktok-settings legend{display:flex;align-items:center;gap:6px;padding:0 6px;font-size:13px;font-weight:650}.tiktok-settings legend .platform-icon{width:18px;height:18px}.tiktok-settings>small{display:block;font-size:11.5px;line-height:1.5}
.tiktok-settings [data-tiktok-direct]{display:grid;gap:12px}.tiktok-settings [data-tiktok-direct][hidden]{display:none}
.tiktok-creator{display:flex;align-items:center;gap:10px;min-height:36px}.tiktok-creator img{width:36px;height:36px;border-radius:50%;object-fit:cover}.tiktok-creator span{display:grid;line-height:1.3}.tiktok-creator strong{font-size:14px}.tiktok-creator small{font-size:11.5px;color:var(--muted)}.tiktok-creator .form-error{margin:0}
.tiktok-checks{border:0;margin:0;padding:0}.tiktok-checks legend{font-size:12.5px;font-weight:600;padding:0;margin-bottom:6px}.check-row{display:flex;flex-wrap:wrap;gap:8px 18px}
.check-option{display:flex;align-items:flex-start;gap:8px;cursor:pointer}.check-option input{margin-top:3px;accent-color:var(--accent)}.check-option span{display:grid;gap:2px}.check-option strong{font-size:13px;font-weight:600}.check-option small{font-size:11.5px;line-height:1.45;color:var(--muted)}.check-option:has(input:disabled){opacity:.5;cursor:not-allowed}
.tiktok-disclosure{display:grid;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-2,rgba(255,255,255,.04))}.tiktok-disclosure[hidden]{display:none}.tiktok-disclosure .inline-notice{margin:0}
.tiktok-consent{margin:4px 0 10px;font-size:12px;line-height:1.5;color:var(--muted)}.tiktok-consent a{color:inherit;text-decoration:underline}
/* SocialBall Free: paid tiles stay visible, locked, and open Plan & billing */
.editor-tile.is-locked{position:relative;opacity:.62}.editor-tile.is-locked:hover,.editor-tile.is-locked:focus-visible{opacity:.9}
.tile-plan{display:inline-flex;align-items:center;gap:4px;margin-top:2px;font-size:10.5px;font-weight:650;letter-spacing:.02em;color:var(--accent)}.tile-plan .icon{width:11px;height:11px}

.tip-sheet{--accent:var(--btn-color,#ff5a1f);--accent-subtle:color-mix(in srgb,var(--btn-color,#ff5a1f) 18%,transparent);--on-accent:var(--btn-text,#fff)}
/* Shared interaction motion: use the existing easing tokens, without delaying actions. */
.workspace :is(.btn,.icon-btn,.text-button){transition-timing-function:var(--ease-standard)}
.workspace :is(.nav-item,.settings-nav,.editor-tabs button,.editor-tile,.device-toggle button){transition:background-color var(--motion-fast) var(--ease-standard),border-color var(--motion-fast) var(--ease-standard),color var(--motion-fast) var(--ease-standard),box-shadow var(--motion-fast) var(--ease-standard)}
.workspace :is(.field input,.field textarea,.field select){transition:border-color var(--motion-fast) var(--ease-standard),box-shadow var(--motion-fast) var(--ease-standard),background-color var(--motion-fast) var(--ease-standard)}
.workspace .section-switch span{transition:background-color var(--motion-fast) var(--ease-standard)}
.workspace .section-switch span::after{transition:transform var(--motion-standard) var(--ease-enter)}
.workspace :is(.sidebar,.profile-panel,.profile-canvas-inner){transition-timing-function:var(--ease-enter)}
.workspace .editor-group>summary .icon{transition-timing-function:var(--ease-standard)}
.workspace .editor-panel:not([hidden]):not(#profile-screen){animation:workspace-panel-enter var(--motion-standard) var(--ease-enter)}
.workspace .editor-dashboard .editor-group[open]>:not(summary){animation:workspace-section-enter var(--motion-fast) var(--ease-enter)}
.workspace #settings-content>.settings-panel{animation:workspace-panel-enter var(--motion-standard) var(--ease-enter)}
dialog[open]::backdrop{animation:workspace-backdrop-enter var(--motion-fast) var(--ease-standard)}
.profile-sticky,.profile-dock{transition-timing-function:var(--ease-standard)}
.tip-sheet[open]{animation-timing-function:var(--ease-enter)}
@keyframes workspace-panel-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes workspace-section-enter{from{opacity:0}to{opacity:1}}
@keyframes workspace-backdrop-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 .workspace :is(.btn,.icon-btn,.text-button,.nav-item,.settings-nav,.editor-tabs button,.editor-tile,.device-toggle button,.field input,.field textarea,.field select,.section-switch span,.section-switch span::after,.sidebar,.profile-panel,.profile-canvas-inner,.editor-group>summary .icon){transition:none}
 .workspace .editor-panel:not([hidden]):not(#profile-screen),.workspace .editor-dashboard .editor-group[open]>:not(summary),.workspace #settings-content>.settings-panel,dialog[open]::backdrop{animation:none}
}
/* Desktop sidebar and workspace move together when collapsed or expanded. */
@media(min-width:1024px){
 .workspace .sidebar{transition:width var(--motion-slow) var(--ease-standard),padding var(--motion-slow) var(--ease-standard)}
 .workspace .app-body{transition:margin-left var(--motion-slow) var(--ease-standard)}
 .workspace .sidebar .nav-label{white-space:nowrap}
}
@media(min-width:1024px) and (prefers-reduced-motion:reduce){.workspace .sidebar,.workspace .app-body{transition:none}}
/* Shared default for visible boolean controls. New checkboxes inherit the switch design.
   Existing section switches and selectable cards keep their intentionally hidden inputs. */
input[type=checkbox][type=checkbox]:not(.section-switch input):not(.channel-chip input):not(.merch-size input){
 appearance:none;-webkit-appearance:none;box-sizing:border-box;position:relative;display:inline-block;vertical-align:middle;
 width:42px;height:24px;min-width:42px;min-height:24px;max-width:42px;max-height:24px;flex:0 0 42px;
 padding:0;border:0;border-radius:999px;margin:0;background:#3a3a3e;box-shadow:none;cursor:pointer;
 transition:background-color var(--motion-fast,.15s) var(--ease-standard,cubic-bezier(.22,1,.36,1));
}
input[type=checkbox][type=checkbox]:not(.section-switch input):not(.channel-chip input):not(.merch-size input)::after{
 content:'';position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;
 box-shadow:0 1px 2px #0002;transition:transform var(--motion-standard,.22s) var(--ease-standard,cubic-bezier(.22,1,.36,1));
}
input[type=checkbox][type=checkbox]:not(.section-switch input):not(.channel-chip input):not(.merch-size input):checked{background:var(--accent,#ff5a0a)}
input[type=checkbox][type=checkbox]:not(.section-switch input):not(.channel-chip input):not(.merch-size input):checked::after{transform:translateX(18px)}
input[type=checkbox][type=checkbox]:not(.section-switch input):not(.channel-chip input):not(.merch-size input):focus-visible{outline:2px solid var(--accent,#ff5a0a);outline-offset:3px}
input[type=checkbox][type=checkbox]:not(.section-switch input):not(.channel-chip input):not(.merch-size input):disabled{opacity:.45;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){input[type=checkbox][type=checkbox],input[type=checkbox][type=checkbox]::after{transition:none!important}}
@media(forced-colors:active){input[type=checkbox][type=checkbox]:not(.section-switch input):not(.channel-chip input):not(.merch-size input){border:1px solid ButtonText;background:Canvas;forced-color-adjust:none}input[type=checkbox][type=checkbox]:checked{background:Highlight!important}input[type=checkbox][type=checkbox]::after{background:ButtonText}}

/* Shared modal scrolling: keep the shell and header clear of the scroll track. */
#detail-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
#detail-dialog>.dialog-header{flex:none}
#detail-dialog>.dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin:0 6px 8px 0;padding-right:18px}
[data-workspace-post] .media-grid>div{min-width:0;overflow-wrap:anywhere}
[data-workspace-post] .media-grid :is(canvas,img,video){display:block;max-width:100%;height:auto}
/* Independent public sheets and stacked warnings share the same quiet thumb. */
dialog,dialog :is(.dialog-body,.command-list,.followers-list){scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;overscroll-behavior:contain}
@supports selector(::-webkit-scrollbar){
 dialog,dialog :is(.dialog-body,.command-list,.followers-list){scrollbar-width:auto}
 dialog::-webkit-scrollbar,dialog ::-webkit-scrollbar{width:10px;height:10px}
 dialog::-webkit-scrollbar-track{background:transparent;margin-block:18px}
 dialog ::-webkit-scrollbar-track{background:transparent}
 dialog::-webkit-scrollbar-thumb,dialog ::-webkit-scrollbar-thumb{background:var(--border-strong);background-clip:padding-box;border:2px solid transparent;border-radius:999px}
 dialog::-webkit-scrollbar-corner,dialog ::-webkit-scrollbar-corner{background:transparent}
}
@media(max-width:600px){#detail-dialog>.dialog-body{padding-right:14px}}
#detail-dialog.command-dialog>.command-input-wrap,#detail-dialog.command-dialog>.command-footer{flex:none}
#detail-dialog.command-dialog>.command-list{min-height:0;overflow-y:auto;scrollbar-gutter:stable;margin-right:6px}

/* Agency uses the same surfaces, type scale and controls as the creator workspace. */
#agency-root{display:grid;gap:22px;min-width:0}
.agency-steps .ambassador-step-emoji>.icon{width:26px;height:26px;color:var(--accent)}
.agency-steps .ambassador-step-share .ambassador-step-emoji>.icon{color:#b58fff}
.agency-steps .ambassador-step-grow .ambassador-step-emoji>.icon{color:#47d297}
.agency-workspace-card,.agency-client-card{transition:transform var(--motion-slow) var(--ease-standard),border-color var(--motion-slow) var(--ease-standard),background var(--motion-fast)}
@media(hover:hover) and (pointer:fine){.agency-workspace-card:hover{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.agency-workspace-card,.agency-client-card{transition:none}.agency-workspace-card:hover{transform:none}}
#agency-root .page-heading{margin:0 0 4px}
#agency-root .page-heading h1{font-size:clamp(26px,2.3vw,34px)}
#agency-root .panel-heading{margin-bottom:20px}
#agency-root .panel-heading p{line-height:1.7;max-width:580px}
#agency-root .btn{gap:8px;white-space:normal}
#agency-root .btn>.icon{width:16px;height:16px}
#agency-root .agency-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;background:linear-gradient(120deg,var(--surface-raised),var(--surface));overflow:hidden}
.agency-kicker{display:inline-flex;align-items:center;gap:8px;font-size:var(--ui-fine,10px);font-weight:600;letter-spacing:1.5px;color:var(--accent);margin-bottom:12px}
.agency-kicker>.icon{width:16px;height:16px}
.agency-intro h2{font-size:24px;margin-bottom:9px;letter-spacing:-.7px}
.agency-intro p{max-width:600px;line-height:1.8;font-size:var(--ui-body,13px)}
.agency-intro-mark{width:84px;height:84px;border-radius:24px;border:1px solid var(--border);background:var(--background);color:var(--accent);display:grid;place-items:center;flex:none}
.agency-intro-mark>.icon{width:36px;height:36px}
.agency-toolbar{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}
.agency-toolbar>.field{margin:0;min-width:210px;max-width:340px;flex:1}
.agency-toolbar>.btn{margin-bottom:1px}
.agency-role{margin-left:auto;align-self:center;padding:6px 10px;background:var(--surface);border:1px solid var(--border);border-radius:7px;font-size:var(--ui-support,11px);color:var(--text-secondary)}
.agency-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.agency-stat{display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0}
.agency-stat-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--surface-raised);color:var(--text-muted);flex:none}
.agency-stat strong{font-size:25px;line-height:1.2;display:block;margin-bottom:6px;font-weight:550;letter-spacing:-.7px}
.agency-stat div>span{color:var(--text-muted);font-size:var(--ui-support,11px)}
.agency-tabs{display:flex;padding:5px;gap:5px;width:fit-content;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.agency-tabs>[role=tab]{display:flex;align-items:center;gap:9px;padding:11px 20px;border-radius:8px;background:transparent;border:1px solid transparent;color:var(--text-muted);font-size:var(--ui-label,12px);transition:background var(--motion-fast),color var(--motion-fast)}
.agency-tabs>[role=tab]>.icon{width:16px;height:16px}
.agency-tabs>[aria-selected=true]{background:var(--surface-raised);border-color:var(--border-strong);color:var(--text-primary)}
.agency-tabs>[aria-selected=true]>.icon{color:var(--accent)}
.agency-search,.agency-report-filters{display:flex;align-items:flex-end;gap:12px;margin-bottom:22px;flex-wrap:wrap}
.agency-search>.field{flex:1;min-width:150px;margin:0}
.agency-report-filters>.field{flex:1;min-width:140px;max-width:260px;margin:0}
.agency-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#agency-root .agency-client-card{display:flex;flex-direction:column;align-items:stretch;gap:18px;background:var(--surface-raised);border:1px solid var(--border);border-radius:12px;padding:20px;min-width:0}
.agency-record-title{display:flex;align-items:center;gap:12px;min-width:0}
.agency-record-title>div{min-width:0;flex:1}
.agency-record-title h3,.agency-record-title strong{overflow-wrap:anywhere}
.agency-record-title p{font-size:var(--ui-support,11px);margin-top:4px;overflow-wrap:anywhere;color:var(--text-muted)}
.agency-monogram{width:44px;height:44px;border:1px solid var(--border-strong);border-radius:12px;display:grid;place-items:center;background:var(--background);color:var(--text-secondary);font-size:15px;font-weight:600;flex:none}
.agency-status{background:var(--surface);color:var(--text-muted);border-radius:6px;padding:4px 7px;font-size:var(--ui-fine,10px);flex:none}
.agency-status.is-active{color:var(--success)}
.agency-grants{display:flex;gap:6px;flex-wrap:wrap}
.agency-grants>span{padding:4px 8px;border:1px solid var(--border);background:var(--surface);border-radius:6px;color:var(--text-secondary);font-size:var(--ui-fine,10px)}
.agency-client-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:auto}
.agency-client-menu{width:100%;border-top:1px solid var(--border);padding-top:12px}
.agency-client-menu>summary,.agency-help>summary,.agency-advanced>summary,.agency-form-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-size:var(--ui-label,12px);font-weight:550}
.agency-client-menu>summary::-webkit-details-marker,.agency-help>summary::-webkit-details-marker,.agency-advanced>summary::-webkit-details-marker,.agency-form-section>summary::-webkit-details-marker{display:none}
.agency-client-menu>summary>.icon,.agency-help>summary>.icon,.agency-advanced>summary>.icon,.agency-form-section>summary>.icon{width:14px;height:14px;color:var(--text-muted);transition:transform var(--motion-fast)}
.agency-client-menu[open]>summary>.icon,.agency-help[open]>summary>.icon,.agency-advanced[open]>summary>.icon,.agency-form-section[open]>summary>.icon{transform:rotate(180deg)}
.agency-client-menu>div{display:flex;gap:8px;flex-wrap:wrap;padding-top:14px}
.agency-client-menu .btn{min-height:34px;font-size:var(--ui-support,11px);padding:7px 10px}
.agency-assignment{width:100%;padding-top:12px;border-top:1px solid var(--border);display:grid;gap:8px}
.agency-assignment>small{color:var(--text-muted);overflow-wrap:anywhere}
.agency-assignment>.btn{justify-self:start}
.agency-advanced{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
.agency-advanced>p,.agency-help>p{font-size:var(--ui-support,11px);line-height:1.8;margin-top:14px;color:var(--text-muted)}
.agency-advanced>.btn{margin-top:14px}
.agency-help{border:1px solid var(--border);border-radius:12px;padding:18px 22px;color:var(--text-secondary)}
.agency-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.agency-workspace-card{display:flex;align-items:center;gap:12px;text-align:left;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-raised);min-width:0;transition:border-color var(--motion-fast),background var(--motion-fast)}
.agency-workspace-card:hover{border-color:var(--border-strong);background:var(--surface-hover)}
.agency-workspace-card>span:not(.agency-monogram){flex:1;min-width:0}
.agency-workspace-card strong{font-size:var(--ui-label,12px);display:block;overflow-wrap:anywhere}
.agency-workspace-card small{color:var(--text-muted);display:block;margin-top:5px}
.agency-workspace-card>.icon{width:16px;height:16px;color:var(--text-muted)}
.agency-empty{text-align:center;padding:28px 14px;display:grid;justify-items:center;gap:10px}
.agency-empty-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;border:1px solid var(--border);background:var(--surface-raised);color:var(--accent);margin-bottom:4px}
.agency-empty h3{font-size:var(--ui-body,14px)}
.agency-empty p{font-size:var(--ui-support,11px);line-height:1.8;max-width:340px;color:var(--text-muted)}
.agency-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:6px 0}
.agency-steps>div>span{font-size:11px;color:var(--accent);letter-spacing:1px;display:block;margin-bottom:12px}
.agency-steps h3{font-size:var(--ui-label,13px);margin-bottom:8px}
.agency-steps p{font-size:var(--ui-support,11px);line-height:1.8;color:var(--text-muted)}
.agency-note{color:var(--text-muted);font-size:var(--ui-support,11px);line-height:1.8;margin-top:14px}
.agency-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.agency-back{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#agency-root .agency-client-header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.agency-client-header h1{font-size:26px;letter-spacing:-.7px;overflow-wrap:anywhere}
.agency-client-header .agency-kicker{margin-bottom:6px}
.agency-client-header .agency-monogram{width:56px;height:56px;font-size:20px}
.agency-editor-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:22px;align-items:start}
.agency-editor-fields{display:grid;gap:22px;min-width:0}
.agency-preview{position:sticky;top:24px;min-width:0}
.agency-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}
.agency-preview-heading>span{font-size:var(--ui-fine,10px);color:var(--text-muted)}
.agency-preview-frame{border-radius:14px;border:1px solid var(--border);overflow:hidden;background:var(--background);max-height:650px;overflow-y:auto;scrollbar-width:thin}
#agency-root .agency-preview-frame .bio-card{width:100%;max-width:100%;min-width:0;margin:0;border-radius:0;box-shadow:none;min-height:0}
.agency-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:18px}
.agency-form-section{padding:16px 0;border-top:1px solid var(--border);margin-top:8px}
.agency-form-section[open]>summary{margin-bottom:14px}
.agency-form-section .field:last-child{margin-bottom:0}
.agency-upload{display:flex;align-items:center;gap:12px;padding:16px;border:1px dashed var(--border-strong);border-radius:12px;cursor:pointer;flex-wrap:wrap;margin:8px 0 20px}
.agency-upload strong{display:block;font-size:var(--ui-label,12px)}
.agency-upload small{display:block;color:var(--text-muted);margin-top:4px}
.agency-upload input{width:100%;font-size:var(--ui-support,11px)}
.agency-save{text-align:right;margin-top:12px}
.agency-save .form-error{text-align:left}
.agency-publish{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--border);padding-top:20px;margin-top:22px}
.agency-publish strong{font-size:var(--ui-label,12px)}
.agency-publish p{font-size:var(--ui-support,11px);color:var(--text-muted);margin-top:5px}
#agency-root .agency-block{display:flex;align-items:center;gap:12px}
.agency-block>div:first-of-type{flex:1;min-width:0}
.agency-block p{overflow-wrap:anywhere;font-size:var(--ui-support,11px)}
.agency-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
.agency-gallery article{min-width:0;display:grid;gap:8px}
.agency-gallery img{width:100%;aspect-ratio:4/3;border-radius:10px}
.agency-boundary{display:flex;align-items:center;gap:8px;margin:0}
.agency-boundary>.icon{width:14px;height:14px}
.agency-error>.agency-actions{justify-content:center}
.agency-error>.agency-note{text-align:center}
.agency-loading{display:grid;justify-items:center;gap:12px;padding:40px}
.agency-capabilities{display:grid;gap:8px;padding:16px;border:1px solid var(--border);border-radius:12px;margin:14px 0 18px}
.agency-capabilities>legend{font-size:var(--ui-label,12px);padding:0 6px;color:var(--text-secondary)}
.agency-capabilities .settings-switch{margin:0;padding:8px 0;gap:12px}
.agency-modal-copy{font-size:var(--ui-label,12px);line-height:1.8;color:var(--text-muted);margin:0 0 20px}
.agency-verification{display:flex;align-items:center;gap:14px;border:1px solid var(--border-strong);border-radius:12px;padding:18px 22px;background:var(--surface)}
.agency-verification>div{flex:1}
.agency-verification strong{font-size:var(--ui-label,12px)}
.agency-verification p{font-size:var(--ui-support,11px);line-height:1.8;color:var(--text-muted);margin-top:5px}
@media(max-width:600px){.agency-verification{align-items:flex-start;flex-wrap:wrap}.agency-verification>.btn{width:100%}}
.agency-invitation{gap:18px;flex-wrap:wrap}
.agency-invitation .agency-grants{margin:12px 0}
.agency-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.agency-report-metrics .agency-stat{background:var(--surface-raised)}
@media(max-width:1100px){.agency-editor-grid{grid-template-columns:1fr}.agency-preview{position:static}.agency-preview-frame{max-width:440px;margin-inline:auto}.agency-client-grid{grid-template-columns:1fr}.agency-preview>.agency-note{text-align:center}}
@media(max-width:600px){#agency-root{gap:16px}#agency-root .page-heading{align-items:flex-start;flex-direction:column}#agency-root .agency-intro{padding:22px}.agency-intro-mark{display:none}.agency-intro h2{font-size:21px}.agency-stats{gap:8px}.agency-stat{padding:14px 10px;gap:8px}.agency-stat>.agency-stat-icon{display:none}.agency-stat strong{font-size:23px}.agency-stat div>span{font-size:10px;line-height:1.5;display:block}.agency-toolbar>.field{min-width:100%;max-width:none}.agency-role{margin-left:0}.agency-tabs{width:100%}.agency-tabs>[role=tab]{flex:1;justify-content:center;padding:11px 14px}.agency-workspace-grid,.agency-steps,.agency-field-grid{grid-template-columns:1fr}.agency-steps{gap:20px}.agency-steps>div{border-top:1px solid var(--border);padding-top:16px}.agency-record-title{flex-wrap:wrap}.agency-record-title>.agency-status{margin-left:56px}.agency-client-header{flex-direction:column;align-items:stretch!important}.agency-client-header h1{font-size:23px}.agency-client-header>.agency-actions>.btn{flex:1}.agency-publish{align-items:stretch;flex-direction:column}.agency-back>.btn{font-size:11px;padding-inline:10px}.agency-report-filters>.field{max-width:none}.agency-report-filters>.btn{width:100%}.agency-block{flex-wrap:wrap}.agency-block>.agency-actions{width:100%;justify-content:flex-end}.agency-report-metrics{gap:6px}.agency-client-footer>.btn{width:100%}.agency-invitation>.agency-actions{width:100%}.agency-invitation>.agency-actions>.btn{flex:1}}
@media(max-width:600px){.agency-client-card .agency-record-title{display:grid;grid-template-columns:44px minmax(0,1fr)}.agency-client-card .agency-status{grid-column:2;justify-self:start;margin-left:0}.agency-search>.field,.agency-search>.btn{width:100%;flex-basis:100%}.agency-relationships .settings-record{flex-wrap:wrap}.agency-relationships .settings-record>div{max-width:100%}.agency-relationships .agency-actions{width:100%}}

.agency-back [data-agency=roster]>.icon{rotate:180deg}

/* Modal dismiss controls: fixed position, danger tint, centred cross rotation. */
:is(dialog,[role="dialog"]) button:is([aria-label^="Close"],[data-action="close-dialog"],[data-close-plans]){
 transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
:is(dialog,[role="dialog"]) button:is([aria-label^="Close"],[data-action="close-dialog"],[data-close-plans]):is(:hover,:focus-visible):not(:disabled){
 color:#ff6b6b;border-color:#ff6b6b80;background:#ff454522;box-shadow:0 0 16px #ff45451a;transform:none;
}
:is(dialog,[role="dialog"]) button:is([aria-label^="Close"],[data-action="close-dialog"],[data-close-plans]) .icon{
 transform-origin:center;transition:transform .2s ease;
}
:is(dialog,[role="dialog"]) button:is([aria-label^="Close"],[data-action="close-dialog"],[data-close-plans]):is(:hover,:focus-visible):not(:disabled) .icon{
 transform:rotate(90deg)!important;color:inherit;
}
@media(prefers-reduced-motion:reduce){
 :is(dialog,[role="dialog"]) button:is([aria-label^="Close"],[data-action="close-dialog"],[data-close-plans]) .icon{transition:none}
 :is(dialog,[role="dialog"]) button:is([aria-label^="Close"],[data-action="close-dialog"],[data-close-plans]):is(:hover,:focus-visible):not(:disabled) .icon{transform:none!important}
}

/* Explicit public marketing choice uses the existing profile form palette. */
.profile-connect .profile-marketing-consent{display:flex;align-items:flex-start;gap:8px;flex-basis:100%;text-align:left;font-size:12px;line-height:1.5;color:inherit;padding:0 4px}
.profile-connect .profile-marketing-consent input[type=checkbox]{background:#3a3a3e!important;flex:none}
.profile-connect .profile-marketing-consent input[type=checkbox]:checked{background:var(--accent,#ff5a0a)!important}
.profile-connect .profile-marketing-consent input[type=checkbox]:focus-visible{outline:2px solid var(--accent,#ff5a0a)!important;outline-offset:3px}
@media(forced-colors:active){.profile-connect .profile-marketing-consent input[type=checkbox]{background:Canvas!important}.profile-connect .profile-marketing-consent input[type=checkbox]:checked{background:Highlight!important}}
.campaign-message{white-space:pre-wrap;overflow-wrap:anywhere}
.campaign-form textarea{min-height:12rem}
.campaign-table-wrap{overflow-x:auto}
[data-campaign-html-preview]{display:block;width:100%;min-height:16rem;border:1px solid var(--border);background:#fff}

/* Approved transparent plan identities; preserve the native soft glow. */
.profile .bio-handle{display:flex;align-items:center;justify-content:center;gap:4px}
.profile-plan-badge{display:block;width:28px;height:28px;object-fit:contain;flex:none}
.profile-footer-brand.is-socialball-brand{display:block;max-width:100%}
.profile-footer-brand.is-socialball-brand img{height:38px;max-width:100%;object-fit:contain}

/* The consent choice sits beneath the compact email row, with a regular checkbox. */
.profile-connect .profile-marketing-consent input[type=checkbox]{appearance:auto;flex:none;width:14px;height:14px;min-height:0;margin:2px 0 0;padding:0;border-radius:2px;box-shadow:none}

/* The strict-cookie OAuth return intentionally has no app script. Scope its static card
   by the existing first-party continuation link, keeping the authorization flow intact. */
body:has(>main.panel>a[href^="/api/oauth/"][href*="/continue?handoff="]){display:grid;place-items:center;min-height:100vh;min-height:100svh;padding:32px 20px}
body>main.panel:has(>a[href^="/api/oauth/"][href*="/continue?handoff="]){width:min(100%,540px);padding:clamp(24px,5vw,44px);border-radius:20px;overflow-wrap:anywhere}
body>main.panel:has(>a[href^="/api/oauth/"][href*="/continue?handoff="])::before{content:"";display:block;width:200px;height:44px;max-width:100%;margin-bottom:30px;background:url('/logo-noslogan.png') left center/contain no-repeat}
body>main.panel:has(>a[href^="/api/oauth/"][href*="/continue?handoff="])>h1{font-size:clamp(26px,3vw,32px);line-height:1.2;letter-spacing:-.9px;margin-bottom:16px}
body>main.panel:has(>a[href^="/api/oauth/"][href*="/continue?handoff="])>p{font-size:14px;line-height:1.75}
body>main.panel:has(>a[href^="/api/oauth/"][href*="/continue?handoff="])>.btn{display:flex;width:100%;min-height:48px;justify-content:center;margin:26px 0 24px;font-size:14px}
body>main.panel:has(>a[href^="/api/oauth/"][href*="/continue?handoff="])>p:last-child{border-top:1px solid var(--border);padding-top:20px;font-size:12px;color:var(--text-muted)}
/* Share to X: free self-post or automatic sending with included credits, shown under an unsent X account. */
.share-x{margin:14px 0;background:var(--background);border:1px solid var(--border);border-radius:14px;overflow:hidden}
.share-x-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--border)}
.share-x-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:var(--text-primary);color:var(--background)}
.share-x-mark .social-logo{width:14px;height:14px}
.share-x-head strong{display:block;font-size:var(--ui-label,12px);color:var(--text-primary)}
.share-x-head small{display:block;margin-top:2px;font-size:var(--ui-fine,10px);color:var(--text-muted)}
.share-x-options{display:grid}
.share-x-option{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 18px}
.share-x-option+.share-x-option{border-top:1px solid var(--border)}
.share-x-option-copy{flex:1 1 240px;min-width:0}
.share-x-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:var(--ui-support,11px);font-weight:600;color:var(--text-primary)}
.share-x-option-copy small{display:block;margin-top:5px;font-size:var(--ui-fine,10px);line-height:1.7;color:var(--text-muted)}
.share-x-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;border:1px solid var(--border-strong);font-size:var(--ui-fine,9px);font-weight:600;letter-spacing:.02em;color:var(--text-secondary);background:var(--surface)}
.share-x-pill.is-free{color:var(--success);border-color:color-mix(in srgb,var(--success) 45%,transparent);background:color-mix(in srgb,var(--success) 12%,transparent)}
.share-x-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.btn.share-x-open{background:var(--text-primary);color:var(--background);border-color:var(--text-primary);text-decoration:none;gap:8px}
.btn.share-x-open:hover{opacity:.88}.btn.share-x-open:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.btn.share-x-open .social-logo{width:14px;height:14px}
.share-x .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:560px){.share-x-actions{width:100%}.share-x-actions .btn{flex:1;justify-content:center}}
/* "It's on X" confirmation after posting yourself. */
.x-celebrate{text-align:center;padding:8px 4px 0}
.x-celebrate h3{margin-top:18px;font-size:var(--ui-section,19px);color:var(--text-primary)}
.x-celebrate p{margin:8px auto 0;max-width:340px;font-size:var(--ui-label,12px);line-height:1.8;color:var(--text-secondary)}
.x-celebrate .dialog-actions{justify-content:center}
.x-celebrate-badge{position:relative;width:76px;height:76px;margin:6px auto 0}
.x-celebrate-badge svg{position:relative;z-index:1;width:76px;height:76px;fill:none;stroke-linecap:round;stroke-linejoin:round}
.x-celebrate-badge circle{stroke:var(--success);stroke-width:3;fill:color-mix(in srgb,var(--success) 14%,transparent);stroke-dasharray:151;stroke-dashoffset:151;animation:x-celebrate-ring .55s ease-out forwards}
.x-celebrate-badge path{stroke:var(--success);stroke-width:4;stroke-dasharray:36;stroke-dashoffset:36;animation:x-celebrate-tick .35s .45s ease-out forwards}
.x-celebrate-burst{position:absolute;inset:0;border-radius:50%;pointer-events:none}
.x-celebrate-burst::before,.x-celebrate-burst::after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:50%;background:var(--success);box-shadow:0 -44px 0 var(--accent),31px -31px 0 var(--success),44px 0 0 var(--accent),31px 31px 0 var(--success),0 44px 0 var(--accent),-31px 31px 0 var(--success),-44px 0 0 var(--accent),-31px -31px 0 var(--success);opacity:0;transform:scale(.4);animation:x-celebrate-burst .7s .5s ease-out forwards}
.x-celebrate-burst::after{transform:scale(.3) rotate(22deg);animation-delay:.6s}
@keyframes x-celebrate-ring{to{stroke-dashoffset:0}}
@keyframes x-celebrate-tick{to{stroke-dashoffset:0}}
@keyframes x-celebrate-burst{0%{opacity:0;transform:scale(.4)}35%{opacity:1}100%{opacity:0;transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.x-celebrate-badge circle,.x-celebrate-badge path{animation:none;stroke-dashoffset:0}.x-celebrate-burst{display:none}}
/* "Finish posting in X" card shown behind the X window. */
.x-session{text-align:center;padding:6px 4px 0}
.x-session-mark{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;background:var(--text-primary);color:var(--background);animation:x-session-pulse 1.8s ease-in-out infinite}
.x-session-mark .social-logo{width:22px;height:22px}
.x-session h3{margin-top:16px;font-size:var(--ui-section,19px);color:var(--text-primary)}
.x-session-steps{margin:14px auto 0;max-width:330px;padding:0;list-style:none;counter-reset:xs;text-align:left}
.x-session-steps li{counter-increment:xs;position:relative;padding:7px 0 7px 32px;font-size:var(--ui-label,12px);line-height:1.6;color:var(--text-secondary)}
.x-session-steps li::before{content:counter(xs);position:absolute;left:0;top:6px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--surface-hover);color:var(--text-primary);font-size:var(--ui-fine,10px);font-weight:600}
.x-session .dialog-actions{justify-content:center}
.x-session-focus{display:block;margin:14px auto 0;background:none;border:0;padding:4px;font-size:var(--ui-fine,10px);color:var(--text-muted);text-decoration:underline;cursor:pointer}
.x-session-focus:hover{color:var(--text-primary)}
@keyframes x-session-pulse{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--text-primary) 35%,transparent)}50%{box-shadow:0 0 0 10px transparent}}
@media (prefers-reduced-motion:reduce){.x-session-mark{animation:none}}
/* Split-screen posting panel: steps on the left, the X window placed over the stage on the right. */
dialog.is-x-session{width:min(1020px,calc(100vw - 40px))}
dialog.is-x-session .x-session{display:grid;grid-template-columns:minmax(260px,1fr) minmax(420px,580px);gap:48px;align-items:stretch;text-align:left;padding:0}
dialog.is-x-session .x-session-guide{display:flex;flex-direction:column;justify-content:center;padding:8px 4px}
dialog.is-x-session .x-session h3{margin-top:14px}
dialog.is-x-session .x-session-steps{margin:14px 0 0;max-width:none}
.x-session-actions{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.x-session-actions .btn{justify-content:center}
.x-session-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:min(520px,calc(100dvh - 220px));min-height:400px;margin:8px 4px 8px 0;border:1px solid var(--border);border-radius:12px;background:#000;color:var(--text-muted);box-shadow:0 4px 12px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.04)}
.x-session-stage-mark{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:var(--surface-hover);color:var(--text-primary)}
.x-session-stage-mark .social-logo{width:18px;height:18px}
.x-session-stage p{font-size:var(--ui-label,12px)}
dialog:not(.is-x-session) .x-session-stage{display:none}
dialog.is-x-session.is-edge .x-session-stage{margin-bottom:23px}
@media (max-width:899px){dialog.is-x-session .x-session{grid-template-columns:1fr}dialog.is-x-session .x-session-stage{display:none}}
/* Create Post: offer to bring back a post that was just posted to X by hand. */
.composer-restore{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 16px;padding:12px 16px;border:1px solid color-mix(in srgb,var(--success) 40%,var(--border));border-radius:12px;background:color-mix(in srgb,var(--success) 9%,var(--surface))}
.composer-restore-copy{font-size:var(--ui-label,12px);color:var(--text-secondary)}
.composer-restore-copy strong{color:var(--text-primary)}
.composer-restore-actions{display:flex;gap:8px;flex-wrap:wrap}
/* Agency page: X auto-posts pool. */
.x-pool{display:grid;gap:16px}
.x-pool-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-start}
.x-pool-head h3{font-size:var(--ui-section,17px);color:var(--text-primary)}
.x-pool-head p{margin-top:4px;font-size:var(--ui-label,12px);color:var(--text-secondary);max-width:520px}
.x-pool-buy{display:grid;gap:6px;justify-items:end}
.x-pool-buy small{font-size:var(--ui-fine,10px);color:var(--text-muted)}
.x-pool-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.x-pool-stat{padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--background)}
.x-pool-stat strong{display:block;font-size:22px;color:var(--text-primary)}
.x-pool-stat span{font-size:var(--ui-fine,10px);color:var(--text-muted)}
.x-pool-warning{padding:10px 14px;border-radius:10px;border:1px solid color-mix(in srgb,var(--warning,#f5a524) 45%,transparent);background:color-mix(in srgb,var(--warning,#f5a524) 10%,transparent);color:var(--text-primary);font-size:var(--ui-label,12px)}
.x-pool-table{display:grid;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.x-pool-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;padding:10px 14px;font-size:var(--ui-label,12px);color:var(--text-secondary);border-top:1px solid var(--border)}
.x-pool-row:first-child{border-top:0}
.x-pool-row-head{background:var(--surface);font-size:var(--ui-fine,10px);text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}
.x-pool-row strong{color:var(--text-primary)}
.x-pool-row small{color:var(--text-muted)}
.x-pool-muted,.x-pool-error{font-size:var(--ui-label,12px);color:var(--text-muted)}
.x-pool-error{color:var(--danger)}
@media (max-width:640px){.x-pool-buy{justify-items:start}.x-pool-row-head{display:none}.x-pool-row{grid-template-columns:1fr 1fr}.x-pool-row span:first-child{grid-column:1/-1}.x-pool-row span[data-label]::before{content:attr(data-label) ": ";color:var(--text-muted)}}
/* Agency controls row: X auto-posts item and its details window. */
.client-slots-panel>.btn.x-pool-plain{color:var(--text-secondary);background:transparent;border-color:var(--border)}
.client-slots-panel>.btn.x-pool-plain:hover{color:var(--text-primary);border-color:var(--border-strong)}
.x-pool-chip.is-low{border-color:color-mix(in srgb,var(--warning,#f5a524) 45%,var(--border))}
.x-pool-low{color:var(--warning,#f5a524);font-weight:600}
dialog.x-pool-dialog{width:min(760px,calc(100vw - 32px))}
.x-pool-note{font-size:var(--ui-fine,10px);line-height:1.7;color:var(--text-muted)}
/* Agency controls row: fill the full width of the banner evenly. */
.agency-control-row>.feature-navigation,.agency-control-row>.client-slots-panel,.agency-control-row>.agency-actions-panel{flex:1 1 auto;width:auto}
.agency-control-row>.client-slots-panel>div{flex:1 1 auto}
.agency-control-row>.agency-actions-panel{justify-content:space-between}
.agency-control-row>.agency-actions-panel>.btn{flex:1 1 auto;justify-content:center;white-space:nowrap}
.x-pool-chip .x-pool-error{display:block;margin-top:5px;font-size:10px;color:var(--danger)}
