/* Creators uses the existing application theme tokens. */
.creators-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.creators-actions [data-application-action=approve],.creators-actions button[type=submit]{border-color:var(--accent);font-weight:700}.creators-confirm{box-sizing:border-box}.creators-member>.creators-row{align-items:flex-start}.creators-member>.creators-row>div{flex:1 1 280px}
.creators-confirm{max-width:560px;margin:auto}.creators-promotion.creators-preview-panel{position:relative;inset:auto;width:100%;max-width:410px;max-height:none;z-index:auto;margin:0}
/* The official white wordmark needs a contrasting display plate, without recoloring the asset. */
:root[data-theme="light"] .creators-resource-logo{background:var(--text)}
:root[data-theme="light"] .admin-sidebar-brand .brand-logo img{background:var(--text);padding:5px;border-radius:6px;box-sizing:content-box}
.creators-dialog,.creators-admin,.creators-promotion,.creators-toast{color:var(--text);font-family:inherit;font-size:14px;line-height:1.6;color-scheme:inherit;overflow-wrap:anywhere}
.creators-dialog{width:min(1060px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box;border:1px solid var(--border);border-radius:18px;background:var(--bg-elev);padding:0;box-shadow:var(--shadow);overflow:auto;overscroll-behavior:contain}
.creators-dialog::backdrop{background:color-mix(in srgb,var(--bg) 72%,transparent);backdrop-filter:blur(4px)}
.creators-header{padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);background:var(--bg-elev)}
.creators-header h1{margin:0;font-size:28px;line-height:1.2}.creators-eyebrow{font-size:11px;letter-spacing:.14em;color:var(--text);font-weight:700}
.creators-content{padding:26px;min-width:0}.creators-content h2,.creators-content h3{color:var(--text)}.creators-content p{margin:12px 0}
.creators-tabs{display:flex;gap:6px;padding:12px 24px;overflow-x:auto;border-bottom:1px solid var(--border);scrollbar-width:thin}.creators-tabs button{flex-shrink:0}
.creators-tabs [aria-current=page]{background:color-mix(in srgb,var(--accent) 14%,var(--bg-elev-2));border-color:var(--accent);font-weight:700}
.creators-hero h2{font-size:clamp(25px,4vw,42px);line-height:1.16;max-width:760px;margin:12px 0 22px;letter-spacing:-.025em}.creators-hero p{max-width:760px}
.creators-card{border:1px solid var(--border);border-radius:12px;padding:20px;background:var(--bg-elev-2);margin:12px 0;min-width:0}.creators-card h2{font-size:20px;margin:0}
.creators-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:14px;min-width:0}.creators-grid>div,.creators-grid>label{min-width:0}.creators-grid strong{display:block;font-size:25px;margin-top:10px;line-height:1.3}.creators-grid span{font-size:13px;color:var(--text)}
.creators-notice{padding:12px 16px;background:color-mix(in srgb,var(--warning) 10%,var(--bg-elev));border:1px solid color-mix(in srgb,var(--warning) 48%,var(--border));border-radius:8px;font-size:13px;color:var(--text)}
.creators-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between}.creators-row>*{min-width:0}
.creators-dialog button,.creators-admin button,.creators-promotion button,.creators-link-button{cursor:pointer;min-height:44px;padding:9px 14px;background:var(--bg-elev-2);color:var(--text);border:1px solid color-mix(in srgb,var(--text-muted) 75%,var(--border));border-radius:8px;font:inherit;font-size:13px;line-height:1.4;white-space:normal;max-width:100%;text-align:center}
.creators-dialog button:hover:not(:disabled),.creators-admin button:hover:not(:disabled),.creators-promotion button:hover:not(:disabled),.creators-link-button:hover{background:color-mix(in srgb,var(--accent) 12%,var(--bg-elev-2));border-color:var(--accent)}
.creators-dialog button:active:not(:disabled),.creators-admin button:active:not(:disabled),.creators-promotion button:active:not(:disabled){background:color-mix(in srgb,var(--accent) 22%,var(--bg-elev-2))}
.creators-dialog button:disabled,.creators-admin button:disabled{color:var(--text-muted);background:var(--bg);border-color:var(--border);cursor:not-allowed;opacity:1}
.creators-dialog :focus-visible,.creators-admin :focus-visible,.creators-promotion :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.creators-dialog label,.creators-admin label{display:grid;gap:6px;margin:12px 0;min-width:0}.creators-dialog input,.creators-dialog textarea,.creators-dialog select,.creators-admin input,.creators-admin select,.creators-admin textarea{box-sizing:border-box;max-width:100%;min-width:0;width:100%;min-height:44px;padding:10px;border:1px solid color-mix(in srgb,var(--text-muted) 75%,var(--border));background:var(--bg-elev-2);color:var(--text);border-radius:7px;font:inherit;color-scheme:inherit}.creators-dialog input::placeholder,.creators-admin input::placeholder{color:var(--text-muted);opacity:1}
.creators-dialog .creators-check,.creators-admin .creators-check{display:flex;align-items:flex-start;gap:10px}.creators-check input{width:20px;height:20px;min-height:20px;flex-shrink:0;margin-top:3px;accent-color:var(--accent)}
.creators-reward{font-size:36px;display:block;color:var(--text);margin-top:12px;letter-spacing:-.02em}.creators-pill{font-size:12px;border:1px solid var(--border);border-radius:20px;padding:3px 10px;background:var(--bg-elev);color:var(--text)}
.creators-table-wrap{overflow:auto;max-height:480px;max-width:100%;border:1px solid var(--border);border-radius:8px;scrollbar-width:thin}.creators-dialog table,.creators-admin table{border-collapse:collapse;width:100%;font-size:13px;background:var(--bg-elev-2)}.creators-dialog td,.creators-admin td,.creators-dialog th,.creators-admin th{padding:12px;text-align:left;border-bottom:1px solid var(--border);overflow-wrap:anywhere;vertical-align:top}.creators-dialog th,.creators-admin th{background:var(--bg-elev);font-weight:700}.creators-table-wrap tr:last-child td{border-bottom:0}.creators-admin td:has(form){min-width:260px}
/* Keep financial/review columns readable inside the existing touch-scroll container. */
.creators-admin table{min-width:780px}.creators-admin th,.creators-admin td{min-width:90px}.creators-admin td:has(.creators-notice){min-width:180px}
.creators-embed{width:100%;height:650px;border:1px solid var(--border);border-radius:10px;margin-top:20px;background:var(--bg-elev-2)}
.creators-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 20px;background:var(--bg-elev-2);border:1px solid var(--accent);border-radius:10px;box-shadow:var(--shadow);z-index:100050}
.creators-promotion{position:fixed;right:20px;bottom:20px;box-sizing:border-box;max-width:410px;width:calc(100vw - 40px);max-height:calc(100dvh - 32px);overflow:auto;padding:28px;background:var(--bg-elev);border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:14px;box-shadow:var(--shadow);z-index:300}
.creators-promotion img{width:100%;max-height:160px;object-fit:contain;border-radius:8px;margin-bottom:12px}.creators-promotion strong{display:block;font-size:23px;line-height:1.2;padding-right:22px;letter-spacing:-.02em}.creators-promotion p{margin:14px 0}.creators-promotion small{display:block;margin-top:12px;font-size:12px}.creators-promotion .creators-promo-close{position:absolute;right:4px;top:4px;min-width:44px;padding:2px 8px;background:transparent;border-color:transparent;font-size:22px}.creators-promotion [data-explore]{font-weight:700;border-color:var(--accent)}
.creators-admin{padding:20px 0;min-width:0}.creators-admin h2{margin:18px 0 12px}.creators-admin fieldset{border:1px solid var(--border);border-radius:12px;margin:16px 0;padding:18px;min-width:0}.creators-admin legend{padding:0 8px;font-weight:700;max-width:100%}.creators-admin details{margin:16px 0}.creators-admin summary,.creators-dialog summary{cursor:pointer;min-height:44px;padding:8px 0;font-weight:600}.creators-admin pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-width:100%}.creators-admin a,.creators-dialog a{color:var(--text);text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}.creators-admin [role=status]{min-height:26px;color:var(--text)}
.creators-preview{border:1px dashed var(--text-muted);padding:20px;border-radius:10px;max-width:100%;box-sizing:border-box;background:var(--bg-elev)}.creators-preview[data-device=mobile]{width:330px}
.creators-promotion-banner{position:relative;right:auto;bottom:auto;width:calc(100% - 28px);max-width:none;margin:10px 14px;padding:12px 48px 12px 18px;box-shadow:none;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.creators-promotion-banner p{margin:0;flex:1;min-width:180px}.creators-promotion-banner strong{font-size:15px}.creators-promotion-contextual{bottom:90px;font-size:13px;width:300px}.creators-promotion-postExport,.creators-promotion-popup{bottom:24px;right:24px}
.creators-resource-logo{width:min(100%,300px);height:100px;object-fit:contain;padding:16px;border-radius:10px;background:var(--bg);border:1px solid var(--border)}.creators-resource-copy{white-space:pre-line}.creators-link-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important}.creators-loading{padding:28px;color:var(--text)}
.creators-dialog [hidden],#creatorsEntry[hidden],#creatorsAdminNav[hidden],.creators-admin [hidden],.creators-toast[hidden]{display:none!important}
@media(max-width:600px){.creators-dialog{width:calc(100vw - 12px);max-height:96dvh;margin:auto;border-radius:12px}.creators-header,.creators-content{padding:16px}.creators-tabs{padding:10px}.creators-row{align-items:flex-start}.creators-admin{padding:10px 0}.creators-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creators-card{padding:14px}.creators-grid strong{font-size:22px}.creators-dialog table{min-width:460px}.creators-admin fieldset{padding:12px}.creators-promotion{right:12px;bottom:12px;width:calc(100vw - 24px);padding:22px}.creators-promotion-banner{right:auto;bottom:auto;width:calc(100% - 24px);margin:10px 12px}.creators-content input,.creators-admin input,.creators-admin textarea,.creators-admin select{font-size:16px}.creators-embed{height:600px}}
@media(prefers-reduced-motion:reduce){.creators-dialog *,.creators-admin *,.creators-promotion *{scroll-behavior:auto;animation:none;transition:none}}
/* The in-page invitation is compact; expanded details remain in the portal. */
.creators-promotion-banner{display:grid;flex:none;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 48px 12px 16px}
.creators-promotion-banner p{min-width:0;margin:4px 0 0;font-size:13px}.creators-promotion-banner strong{font-size:14px;padding:0}.creators-promotion-banner [data-explore]{max-width:100%;justify-self:start}
/* Keep the permanent Creators entry and existing account controls reachable on phones. */
@media(max-width:600px){
 .account-header-block:has(#creatorsEntry:not([hidden])) .topbar-layout{gap:4px;min-width:0}
 .account-header-block:has(#creatorsEntry:not([hidden])) .top-brand-logo{width:76px;max-width:76px;height:auto}
 .account-header-block:has(#creatorsEntry:not([hidden])) .top-brand-version{display:none}
 .account-header-block:has(#creatorsEntry:not([hidden])) .topbar-left{gap:3px;min-width:0}
 .account-header-block:has(#creatorsEntry:not([hidden])) .account-pill-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .account-header-block:has(#creatorsEntry:not([hidden])) .account-pill{width:44px;min-width:44px;min-height:44px;padding:4px}
 .account-header-block:has(#creatorsEntry:not([hidden])) .topbar-premium-btn{width:44px;min-width:44px;min-height:44px;padding:4px;font-size:0}
 .account-header-block:has(#creatorsEntry:not([hidden])) .topbar-premium-btn::after{content:'★';font-size:18px}
 .account-header-block:has(#creatorsEntry:not([hidden])) .notification-bell-btn,.account-header-block:has(#creatorsEntry:not([hidden])) .topbar-language-select{min-width:44px;min-height:44px}
 #creatorsEntry:not([hidden]){min-height:44px;padding:6px;font-size:10px;flex-shrink:0}
 .creators-promotion-banner strong{font-size:12px}.creators-promotion-banner p{font-size:12px}
}

