/* Shared brand, type and controls. Keep Creator teal and Brand yellow. */
:root{--s33-header-logo-size:42px;--s33-teal:#26f5c9;--s33-yellow:#ffd21f;--s33-ink:#07090d;--s33-text:#f5f7fa;--s33-muted:#a8bac2;--s33-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif}
body{font-family:var(--s33-font)!important}
button,input,select,textarea{font-family:inherit}
body[data-account-role=brand]{--s33-action:var(--s33-yellow)}
body[data-account-role=creator]{--s33-action:var(--s33-teal)}
a.s33-brand-link,.logo.home-logo,.creator-app-header .creator-app-logo,header .ref-logo,.mp-header>a.s33-brand-link{display:inline-flex!important;align-items:center!important;flex-shrink:0;font-size:var(--s33-header-logo-size)!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;text-decoration:none!important;cursor:pointer;min-height:44px;color:var(--s33-teal);background:none;border:0;padding:0;--neon-first:var(--s33-yellow);--neon-second:var(--s33-teal)}
.s33-brand-link:focus-visible,.logo.home-logo:focus-visible{outline:2px solid var(--s33-action,var(--s33-teal));outline-offset:5px;border-radius:4px}
body .creator-app-header,body #creatorProfile .creator-app-header{height:auto!important;min-height:48px!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:16px!important;margin-bottom:16px!important}
.creator-app-header .creator-app-page-label{justify-self:end!important;white-space:normal!important;font-size:12px!important;line-height:1.4!important;text-align:right!important}
.mp-page .creator-app-header{display:none!important}
body:has(.mp-page.active) .nav{display:none!important}
.mp-header{flex-wrap:nowrap!important;gap:14px!important}
.mp-header>span{min-width:0!important;overflow-wrap:anywhere;font-size:14px!important}
.mp-header>button{flex-shrink:0;font-size:13px!important}
.field label,.mp-form label,.hub-card form label{font-size:15px!important;font-weight:800!important;line-height:1.5!important}
.field input,.field select,.field textarea,.mp-form input,.mp-form select,.mp-form textarea,.hub-card input,.hub-card select{font-size:16px!important;min-height:48px;min-width:0;max-width:100%}
.page .small,.page .hub-caption,.page .hub-card p,.page .hub-page-heading p,.page .brand-disclosure-note,.page .brand-history-note,.page .match-explanation,.page .match-explanation p{font-size:14px!important;line-height:1.6!important}
.page .hub-foundations small,.page .hub-details,.page .hub-status,.page .brand-disclosure-item small,.page .brand-disclosure-item .provided,.page .brand-disclosure-item .not-shared,.page .search-ad-card>p,.page .search-ad-facts small,.page .search-ad-category span,.page .match-factor small{font-size:13px!important;line-height:1.5!important}
.page button.primary,.page button.secondary,.page .page-back{min-height:44px;font-size:15px;font-weight:800}
.page .primary{background:var(--s33-action,var(--s33-teal));color:#07110e}
.page .primary:hover{background:var(--s33-action,var(--s33-teal));filter:brightness(1.08)}
.page .primary:disabled{filter:none}
.page .search-ad-actions button,.page .profile-social-row button,.page .creator-featured-video-edit{font-size:14px!important;min-height:44px!important}
.page .search-ad-facts b{white-space:normal!important;font-size:14px!important}
.page .search-ad-card>p{min-height:0}
.page .search-ad-match{font-size:12px!important;max-width:none}
.page .hub-form-row,.page .formgrid{min-width:0}
.footer{font-size:13px!important;line-height:1.7;color:var(--s33-muted);padding:24px 20px!important}
/* The logo returns home; keep one set of Creator / Brand entry buttons. */
.nav>.navlinks{display:none!important}
/* The home header stays on one line, including at smaller phone widths. */
.nav .beta-pill{font-size:8px!important;letter-spacing:.06em;padding:4px 5px!important;margin-left:5px!important}
.nav>.actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;flex-shrink:0}
.nav>.actions button{white-space:nowrap;min-height:44px;font-size:14px!important;padding:10px 14px!important}
/* Match the dedicated sign-in screen to the rest of S33KVA. */
body:has(#auth-content){background:radial-gradient(ellipse at 10% 70%,#26f5c90c,transparent 55%),var(--s33-ink);color:var(--s33-text)}
body:has(#auth-content) .card{background:#0b1920;border-color:#29434a}
body:has(#auth-content) a,body:has(#auth-content) .eyebrow,body:has(#auth-content) .benefit{color:var(--s33-action,var(--s33-teal))}
body:has(#auth-content) p,body:has(#auth-content) .benefit span{color:#b8c9cf}
body:has(#auth-content) label{font-size:16px;font-weight:800}
body:has(#auth-content) input,body:has(#auth-content) select{font-size:16px;background:#071217;border-color:#34545c}
body:has(#auth-content) input:focus,body:has(#auth-content) select:focus{outline-color:var(--s33-action,var(--s33-teal))}
body:has(#auth-content) button:not(.google-signin):not(.secondary){background:var(--s33-action,var(--s33-teal));color:#07110e}
body:has(#auth-content) .consent{font-size:14px;font-weight:500}
body:has(#auth-content) .consent input{accent-color:var(--s33-action,var(--s33-teal))}
body:has(#auth-content) .footnote{font-size:13px;color:#a8bac2;border-color:#29434a}
.s33-yt-public{font-family:var(--s33-font)!important;background:var(--s33-ink);color:var(--s33-text)}
@media(max-width:650px){
 :root{--s33-header-logo-size:36px}
 .nav{padding:0 12px!important;gap:8px!important;min-height:64px;height:auto!important}
 .nav>.actions{gap:6px!important}
 .nav>.actions button{font-size:13px!important;padding:9px 11px!important}
 .nav>.navlinks{display:none!important}
 .nav>div:first-child{min-width:0;flex-shrink:0}
 .nav .tag{display:none!important}
 .mp-header{gap:10px!important;flex-wrap:wrap!important}
 .mp-header>a{margin-right:auto}
 .mp-header>span{order:3;flex-basis:100%;font-size:13px!important}
 .mp-header>button{font-size:12px!important}
 .page .hub-form-row{grid-template-columns:minmax(0,1fr)}
 .page .search-ad-grid{grid-template-columns:minmax(0,1fr)}
 body:has(#auth-content) header{gap:14px}
 body:has(#auth-content) header>a:last-child{font-size:13px}
}
@media(max-width:359px){.nav{padding:0 8px!important;gap:5px!important}.nav>.actions button{padding:9px!important}.nav .beta-pill{font-size:7px!important;padding:3px!important;margin-left:3px!important}}
/* Screens mounted beside .app must not leave an empty viewport above their content. */
body:has(.mp-page.active)>.app,body:has(#notifications.active)>.app{min-height:0!important}
/* Override the older global teal gradient on Brand actions as well. */
.page .primary{background:var(--s33-action,var(--s33-teal))!important;color:#07110e!important}
.page .primary:hover{background:var(--s33-action,var(--s33-teal))!important}
.mp-page .eyebrow{color:var(--mp-accent)!important}
.mp-page[data-mp-role=brand] .primary{box-shadow:0 0 20px #ffd21f20!important}
.mp-page input:focus,.mp-page select:focus,.mp-page textarea:focus{outline-color:var(--mp-accent);border-color:var(--mp-accent)}
/* Plain links inherit the side's accent instead of the browser's dark blue/purple. */
:where(a:link,a:visited){color:var(--s33-action,var(--s33-teal))}
:where(a:not([class]):any-link){text-decoration-thickness:.08em;text-underline-offset:.18em}
:where(a[href]):focus-visible{outline:2px solid var(--s33-action,var(--s33-teal));outline-offset:3px}

/* Dismiss only the completed dashboard strength card; retain its edit-profile summary. */
#creatorStrengthTile{position:relative;min-width:0}
#creatorStrengthTile .ref-strength{width:100%;box-sizing:border-box;padding-right:42px!important}
#creatorStrengthTile[hidden],#creatorStrengthDismiss[hidden]{display:none!important}
#creatorStrengthDismiss{position:absolute;top:17px;right:4px;width:36px;height:36px;min-height:36px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#9cafba;font-size:22px;line-height:1;cursor:pointer}
#creatorStrengthDismiss:hover{color:#26f5c9;background:rgba(38,245,201,.08)}
#creatorStrengthDismiss:focus-visible{outline:2px solid #26f5c9;outline-offset:1px}

/* Floating artwork belongs to Home only; workspace accents follow the current side. */
.handshake-bg{display:none!important}
body:has(#home.active) .handshake-bg{display:block!important}
body:not(:has(#home.active)){--s33-workspace-glow:rgba(38,245,201,.055);background:radial-gradient(ellipse at 85% 8%,var(--s33-workspace-glow),transparent 52%),#020508!important;background-attachment:fixed!important}
body[data-account-role=brand]:not(:has(#home.active)){--s33-workspace-glow:rgba(255,210,31,.055)}
body:not(:has(#home.active))::before{content:none!important;animation:none!important}
#brandDashboard .mp-dashboard-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
#brandDashboard .mp-dashboard-actions button{flex:none;margin:0;min-height:44px}
#brandDashboard .mp-dashboard-actions [data-page=brandProfile]{color:#ffd21f!important;border-color:#706022!important;background:rgba(255,210,31,.06)!important}

/* One logo scale across Home, workspaces, account and public profile pages. */
.mp-header>a.s33-brand-link{margin-right:auto}
body:has(#auth-content) header,.s33-yt-public header{flex-wrap:wrap}
@media(max-width:650px){
 .nav{flex-wrap:wrap!important;padding-top:10px!important;padding-bottom:10px!important}
 .nav>.actions{margin-left:auto!important}
 body .creator-app-header,body #creatorProfile .creator-app-header{gap:8px!important}
 .creator-app-header .creator-app-page-label{min-width:0;overflow-wrap:anywhere}
 header.ref-brandbar{flex-wrap:wrap;height:auto!important;row-gap:12px;padding-top:8px;padding-bottom:8px}
}
