body:has(.adsm-shell){background:#f5f7fb;margin:0}.adsm-shell{--studio-primary:#5b42ff;--studio-primary-strong:#4324ee;--studio-primary-soft:#eeebff;--studio-cyan:#00cfe8;--studio-neon:#b9ff25;--studio-success:#10b981;--studio-warning:#f59e0b;--studio-danger:#ef4444;--studio-bg:#f5f7fb;--studio-surface:#fff;--studio-surface-soft:#f8fafc;--studio-surface-raised:#fff;--studio-border:#e2e8f0;--studio-border-strong:#cbd5e1;--studio-text:#172033;--studio-muted:#64748b;--studio-faint:#94a3b8;--studio-shadow:0 1px 2px #0f172a0a, 0 8px 28px #0f172a0f;--studio-shadow-lg:0 22px 55px #0f172a24;--meta-blue:var(--studio-primary);--meta-green:var(--studio-success);--meta-bg:var(--studio-bg);--meta-border:var(--studio-border);--meta-text:var(--studio-text);--meta-muted:var(--studio-muted);--meta-panel:var(--studio-surface);min-height:100vh;color:var(--studio-text);background:radial-gradient(circle at 74% -20%, #635bff17, transparent 31rem), var(--studio-bg);font-family:var(--font-geist-sans), Inter, ui-sans-serif, system-ui, sans-serif;grid-template-columns:238px minmax(0,1fr);transition:color .2s,background .2s;display:grid}.adsm-shell[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--studio-primary:#8b83ff;--studio-primary-strong:#a29bfe;--studio-primary-soft:#7c70ff29;--studio-cyan:#1de7ff;--studio-neon:#b9ff25;--studio-success:#34d399;--studio-warning:#fbbf24;--studio-danger:#fb7185;--studio-bg:#0b1020;--studio-surface:#111827;--studio-surface-soft:#151e2f;--studio-surface-raised:#182235;--studio-border:#263247;--studio-border-strong:#37445a;--studio-text:#f1f5f9;--studio-muted:#a8b3c7;--studio-faint:#71809a;--studio-shadow:0 1px 2px #00000038, 0 12px 34px #00000038;--studio-shadow-lg:0 24px 65px #0000006b;background:radial-gradient(circle at 75% -20%, #635bff2b, transparent 34rem), var(--studio-bg)}.adsm-shell *{scrollbar-color:var(--studio-border-strong) transparent}.adsm-shell ::-webkit-scrollbar{width:9px;height:9px}.adsm-shell ::-webkit-scrollbar-thumb{background:var(--studio-border-strong);background-clip:padding-box;border:2px solid #0000;border-radius:99px}.adsm-shell .adsm-rail{z-index:30;background:linear-gradient(#11162a 0%,#161b35 52%,#0f1428 100%);border:0;border-right:1px solid #ffffff14;align-items:stretch;gap:8px;width:238px;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0;box-shadow:12px 0 45px #0f172a1f}.adsm-brand{border-bottom:1px solid #ffffff1a;align-items:center;gap:11px;min-height:48px;padding:4px 7px 17px;display:flex}.adsm-shell .adsm-meta-mark{color:#fff;background:linear-gradient(135deg,#786cff,#15c3da);border-radius:13px;flex:none;width:40px;height:40px;margin:0;font-size:19px;box-shadow:0 10px 24px #635bff59}.adsm-brand-copy{gap:1px;min-width:0;display:grid}.adsm-brand-copy strong{color:#fff;letter-spacing:-.02em;font-size:16px}.adsm-brand-copy span{color:#929fbe;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:700}.adsm-rail-label{color:#727f9e;letter-spacing:.14em;text-transform:uppercase;margin:13px 10px 3px;font-size:10px;font-weight:800}.adsm-rail-nav{gap:5px;display:grid}.adsm-shell .adsm-rail-nav button{color:#aeb9d1;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:24px 1fr;justify-content:start;align-items:center;gap:10px;width:100%;height:43px;padding:0 12px;font-size:13px;font-weight:650;display:grid}.adsm-shell .adsm-rail-nav button:hover{color:#fff;background:#ffffff0f;border-color:#ffffff14}.adsm-shell .adsm-rail-nav button.active{color:#fff;background:linear-gradient(90deg,#635bff4d,#635bff1a);border-color:#978fff52;box-shadow:inset 3px 0 #8c83ff}.adsm-rail-nav button svg{color:#8f9bb9}.adsm-rail-nav button.active svg{color:#b6b0ff}.adsm-rail-status{background:#ffffff0b;border:1px solid #ffffff17;border-radius:12px;grid-template-columns:9px minmax(0,1fr);align-items:center;gap:9px;margin-top:auto;padding:11px;display:grid}.adsm-rail-status>span{background:#f87171;border-radius:999px;width:9px;height:9px;box-shadow:0 0 0 4px #f871711f}.adsm-rail-status.online>span{background:#34d399;box-shadow:0 0 0 4px #34d3991f}.adsm-rail-status div{min-width:0}.adsm-rail-status strong,.adsm-rail-status small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.adsm-rail-status strong{color:#e8edf8;font-size:11px}.adsm-rail-status small{color:#8491ad;margin-top:2px;font-size:10px}.adsm-shell .adsm-app{align-content:start;gap:14px;min-width:0;padding:0 24px 34px;display:grid}.adsm-shell .adsm-alert{border-color:var(--studio-border);min-height:42px;color:var(--studio-text);background:color-mix(in srgb, var(--studio-surface) 88%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);grid-template-columns:8px auto minmax(0,1fr) auto;gap:10px;margin:0 -24px;padding:0 24px}.adsm-shell .adsm-alert span{color:var(--studio-muted)}.adsm-live-dot{background:var(--studio-success);width:8px;height:8px;box-shadow:0 0 0 4px color-mix(in srgb, var(--studio-success) 15%, transparent);border-radius:999px}.adsm-shell .adsm-header{grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:24px;padding:20px 0 6px}.adsm-eyebrow{color:var(--studio-primary);letter-spacing:.12em;text-transform:uppercase;align-items:center;margin-bottom:5px;font-size:11px;font-weight:800;display:inline-flex}.adsm-eyebrow:before{content:"";background:linear-gradient(90deg, var(--studio-primary), var(--studio-cyan));border-radius:99px;width:18px;height:2px;margin-right:7px}.adsm-shell .adsm-title-block h1{color:var(--studio-text);letter-spacing:-.045em;font-size:clamp(27px,2.25vw,38px);font-weight:760}.adsm-shell .adsm-title-block p{max-width:620px;color:var(--studio-muted);margin-top:6px;font-size:14px}.adsm-shell .adsm-header-controls{border:1px solid var(--studio-border);background:var(--studio-surface);box-shadow:var(--studio-shadow);border-radius:14px;align-items:end;gap:9px;padding:10px;display:flex}.adsm-shell .adsm-header-controls label{min-width:170px;color:var(--studio-muted)}.adsm-shell .adsm-header-controls label:nth-child(2){min-width:230px}.adsm-shell .adsm-header-controls label span{color:var(--studio-faint);letter-spacing:.1em;font-size:9px}.adsm-shell .adsm-theme-toggle{border-color:var(--studio-border);background:var(--studio-surface-soft);width:auto;color:var(--studio-text);padding:0 10px}.adsm-theme-toggle span{font-size:11px}.adsm-shell button,.adsm-shell input,.adsm-shell select,.adsm-shell textarea{transition:border-color .16s,background .16s,color .16s,box-shadow .16s,transform .16s}.adsm-shell button{border-color:var(--studio-border);min-height:38px;color:var(--studio-text);background:var(--studio-surface);border-radius:9px;font-size:12px;font-weight:700}.adsm-shell button:hover:not(:disabled){border-color:color-mix(in srgb, var(--studio-primary) 45%, var(--studio-border));color:var(--studio-primary-strong);background:var(--studio-primary-soft);transform:translateY(-1px)}.adsm-shell button:focus-visible,.adsm-shell input:focus-visible,.adsm-shell select:focus-visible,.adsm-shell textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--studio-primary) 22%, transparent);outline-offset:1px}.adsm-shell .adsm-primary{box-shadow:0 8px 20px #635bff38;color:#fff!important;background:linear-gradient(135deg, var(--studio-primary), #7267f5)!important;border-color:#0000!important}.adsm-shell .adsm-primary:hover:not(:disabled){background:linear-gradient(135deg, var(--studio-primary-strong), #6258eb)!important}.adsm-shell .adsm-green{box-shadow:0 8px 20px #10b9812e;color:#fff!important;background:linear-gradient(135deg,#059669,#10b981)!important;border-color:#0000!important}.adsm-shell input,.adsm-shell select,.adsm-shell textarea{border-color:var(--studio-border);color:var(--studio-text);background:var(--studio-surface-raised);border-radius:9px}.adsm-shell input::placeholder,.adsm-shell textarea::placeholder{color:var(--studio-faint)}.adsm-shell input:focus,.adsm-shell select:focus,.adsm-shell textarea:focus{border-color:var(--studio-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--studio-primary) 14%, transparent)}.adsm-shell .adsm-actionbar{z-index:20;border-color:var(--studio-border);background:color-mix(in srgb, var(--studio-surface) 94%, transparent);box-shadow:var(--studio-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:15px;align-items:end;gap:14px;padding:11px 12px;display:flex;position:sticky;top:8px}.adsm-action-group{border-right:1px solid var(--studio-border);align-items:center;gap:7px;padding-right:14px;display:flex}.adsm-action-group>span{color:var(--studio-faint);letter-spacing:.1em;text-transform:uppercase;align-self:center;margin-right:2px;font-size:9px;font-weight:800}.adsm-action-group button b{min-width:19px;height:19px;color:var(--studio-primary);background:var(--studio-primary-soft);border-radius:99px;place-items:center;margin-left:2px;padding:0 5px;font-size:10px;display:inline-grid}.adsm-soft-active{border-color:color-mix(in srgb, var(--studio-primary) 35%, var(--studio-border))!important;color:var(--studio-primary-strong)!important;background:var(--studio-primary-soft)!important}.adsm-action-menu{position:relative}.adsm-action-menu summary{border:1px solid var(--studio-border);min-height:38px;color:var(--studio-muted);background:var(--studio-surface);cursor:pointer;border-radius:9px;align-items:center;padding:0 12px;font-size:12px;font-weight:700;list-style:none;display:flex}.adsm-action-menu summary::-webkit-details-marker{display:none}.adsm-action-menu summary:after{content:"⌄";color:var(--studio-faint);margin-left:8px}.adsm-action-menu[open] summary{border-color:var(--studio-primary);color:var(--studio-primary)}.adsm-action-menu>div{z-index:80;border:1px solid var(--studio-border);background:var(--studio-surface-raised);width:220px;box-shadow:var(--studio-shadow-lg);border-radius:12px;gap:5px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0}.adsm-action-menu>div button{background:0 0;border-color:#0000;justify-content:flex-start;width:100%}.adsm-action-menu .danger-ghost{color:var(--studio-danger)}.adsm-simulate{border-color:color-mix(in srgb, var(--studio-primary) 35%, var(--studio-border))!important;color:var(--studio-primary-strong)!important}.adsm-publish{min-width:122px}.adsm-shell .adsm-readiness{border:0;border-left:4px solid var(--studio-warning);color:var(--studio-text);background:color-mix(in srgb, var(--studio-warning) 9%, var(--studio-surface));box-shadow:0 1px 0 var(--studio-border);border-radius:12px;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:14px;padding:12px 14px}.adsm-shell .adsm-readiness>div{min-width:0}.adsm-shell .adsm-readiness ul{justify-content:flex-start;min-width:0}.adsm-shell .adsm-readiness.ok{border-color:var(--studio-success);background:color-mix(in srgb, var(--studio-success) 8%, var(--studio-surface))}.adsm-shell .adsm-readiness span{color:var(--studio-muted)}.adsm-shell .adsm-readiness li{border-color:color-mix(in srgb, var(--studio-warning) 40%, var(--studio-border));color:color-mix(in srgb, var(--studio-warning) 75%, var(--studio-text));background:var(--studio-surface-raised)}.adsm-shell .adsm-readiness-ok{color:#fff!important;background:var(--studio-success)!important}.adsm-shell .adsm-level-tabs{scroll-snap-type:x proximity;gap:8px;padding:4px 0 2px;display:flex;overflow-x:auto}.adsm-shell .adsm-level-tabs button{border-color:var(--studio-border);background:var(--studio-surface);scroll-snap-align:start;border-radius:12px;flex:1 0 128px;min-width:128px;min-height:62px;padding:9px 10px;box-shadow:0 1px 2px #0f172a06}.adsm-shell .adsm-level-tabs button span{color:var(--studio-muted);background:var(--studio-surface-soft)}.adsm-shell .adsm-level-tabs button strong{color:var(--studio-text)}.adsm-shell .adsm-level-tabs button small{color:var(--studio-muted)}.adsm-shell .adsm-level-tabs button.active{border-color:color-mix(in srgb, var(--studio-primary) 42%, var(--studio-border));background:linear-gradient(145deg, var(--studio-primary-soft), var(--studio-surface));box-shadow:inset 0 -3px 0 var(--studio-primary), 0 8px 20px #635bff1a}.adsm-shell .adsm-level-tabs button.active span{color:#fff;background:var(--studio-primary)}.adsm-shell .adsm-workspace{grid-template-columns:248px minmax(480px,1fr) minmax(360px,430px);gap:14px}.adsm-shell .adsm-tree,.adsm-shell .adsm-panel,.adsm-shell .adsm-edit-card,.adsm-shell .adsm-filterbar{border-color:var(--studio-border);color:var(--studio-text);background:var(--studio-surface);box-shadow:var(--studio-shadow);border-radius:14px}.adsm-shell .adsm-tree{padding:14px;top:80px}.adsm-shell .adsm-editor{gap:12px;padding-right:3px;top:80px}.adsm-shell .adsm-tree-head{border-color:var(--studio-border)}.adsm-shell .adsm-tree-head small,.adsm-shell .adsm-tree p,.adsm-shell .adsm-tree summary,.adsm-shell .adsm-panel-head span,.adsm-shell .adsm-table td small{color:var(--studio-muted)}.adsm-shell .adsm-tree summary:hover,.adsm-shell .adsm-tree-row:hover,.adsm-shell .adsm-check-row:hover{background:var(--studio-surface-soft)!important}.adsm-shell .adsm-tree-row,.adsm-shell .adsm-check-row{color:var(--studio-text);background:0 0!important}.adsm-shell .adsm-panel{overflow:clip}.adsm-shell .adsm-panel-head{border-color:var(--studio-border);background:var(--studio-surface);padding:15px 16px}.adsm-shell .adsm-panel-head strong{color:var(--studio-text);font-size:15px}.adsm-shell .adsm-filterbar{padding:11px}.adsm-shell .adsm-edit-card{gap:12px;padding:16px}.adsm-shell .adsm-edit-card h2{color:var(--studio-text);letter-spacing:-.015em;align-items:center;gap:9px;font-size:16px;display:flex}.adsm-shell .adsm-edit-card h2:before{content:"";background:linear-gradient(180deg, var(--studio-primary), var(--studio-cyan));border-radius:99px;width:4px;height:18px}.adsm-shell .adsm-header-controls label,.adsm-shell .adsm-edit-card label,.adsm-shell .adsm-field-stack,.adsm-shell .adsm-field-stack>strong{color:var(--studio-muted)}.adsm-shell .adsm-wizard-card{box-shadow:0 12px 34px #635bff17;border-color:color-mix(in srgb, var(--studio-primary) 35%, var(--studio-border))!important}.adsm-shell .adsm-wizard-metrics div,.adsm-shell .adsm-structure-wizard,.adsm-shell .adsm-duplicate-box{border-color:var(--studio-border);color:var(--studio-text);background:var(--studio-surface-soft)}.adsm-shell .adsm-wizard-metrics span,.adsm-shell .adsm-wizard-metrics small,.adsm-shell .adsm-structure-wizard span{color:var(--studio-muted)}.adsm-shell .adsm-wizard-metrics strong{color:var(--studio-primary)}.adsm-shell .adsm-table,.adsm-shell .adsm-table td{color:var(--studio-text);background:var(--studio-surface)}.adsm-shell .adsm-table th{border-color:var(--studio-border);color:var(--studio-muted);background:var(--studio-surface-soft)}.adsm-shell .adsm-table td{border-color:var(--studio-border)}.adsm-shell .adsm-table tr:hover td{background:var(--studio-primary-soft)}.adsm-shell .adsm-account-divider td{color:var(--studio-primary-strong);background:var(--studio-primary-soft)!important}.adsm-shell :is(.adsm-empty,.adsm-import-box,.adsm-model-card,.adsm-model-card dl div,.adsm-local-creative-list,.adsm-local-creative-row,.adsm-selected-list,.adsm-picker-list,.adsm-selected-row,.adsm-audience-list,.adsm-audience-row,.adsm-placement-grid,.adsm-checklist,.adsm-special-cats,.adsm-special-cats label,.adsm-inline-create,.adsm-ai,.adsm-ai-log,.adsm-chat-preview,.adsm-chat-preview div,.adsm-upload-progress,.adsm-upload-progress-row,.adsm-dashboard-actions,.adsm-rule-create,.adsm-rule-card){border-color:var(--studio-border);color:var(--studio-text);background:var(--studio-surface-soft)}.adsm-shell :is(.adsm-model-card,.adsm-local-creative-list,.adsm-selected-list,.adsm-checklist,.adsm-audience-row,.adsm-special-cats label,.adsm-ai-log,.adsm-chat-preview div,.adsm-upload-progress-row,.adsm-rule-create,.adsm-rule-card){background:var(--studio-surface-raised)}.adsm-shell :is(.adsm-model-card strong,.adsm-local-creative-row strong,.adsm-selected-head strong,.adsm-audience-row strong,.adsm-upload-progress-row strong,.adsm-rule-card strong,.adsm-target-head strong,.adsm-rules-head strong){color:var(--studio-text)}.adsm-shell :is(.adsm-model-card span,.adsm-model-card dt,.adsm-local-creative-row small,.adsm-selected-row small,.adsm-picker-list button small,.adsm-audience-row small,.adsm-upload-progress-row em,.adsm-rule-card span,.adsm-rule-card small,.adsm-rules-head span,.adsm-target-head span){color:var(--studio-muted)}.adsm-shell .adsm-picker-list button{color:var(--studio-text);background:var(--studio-surface-raised)!important}.adsm-shell .adsm-picker-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-content:start;gap:8px;max-height:260px}.adsm-shell .adsm-editor .adsm-picker-list{grid-template-columns:minmax(0,1fr)}.adsm-shell .adsm-picker-list>button{text-align:left;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);place-content:center stretch;place-items:start stretch;gap:4px;width:100%;min-width:0;line-height:normal;overflow:hidden;height:auto!important;min-height:58px!important;padding:9px 11px!important;display:grid!important}.adsm-shell .adsm-picker-list>button>strong,.adsm-shell .adsm-picker-list>button>small{text-overflow:ellipsis;white-space:nowrap;grid-column:1;width:100%;min-width:0;max-width:100%;margin:0;padding:0;overflow:hidden;display:block!important;position:static!important}.adsm-shell .adsm-picker-list>button>strong{color:var(--studio-text);grid-row:1;font-size:12px;line-height:1.35!important}.adsm-shell .adsm-picker-list>button>small{grid-row:2;font-size:10px;line-height:1.35!important}.adsm-shell .adsm-checkbox-line{color:var(--studio-text)!important}.adsm-shell .adsm-checkbox-line:hover{background:var(--studio-primary-soft)}.adsm-shell .adsm-dashboard-panel{border-radius:16px}.adsm-shell .adsm-dashboard-actions,.adsm-shell .adsm-rules-panel{border-color:var(--studio-border);background:var(--studio-surface-soft)}.adsm-shell .adsm-rule-card.enabled{border-left-color:var(--studio-success)}.adsm-shell .adsm-rule-card.disabled{border-left-color:var(--studio-faint)}.adsm-shell .adsm-rule-create{border-color:color-mix(in srgb, var(--studio-primary) 35%, var(--studio-border))}.adsm-shell .adsm-status{color:var(--studio-muted);background:var(--studio-surface-soft)}.adsm-shell .adsm-status.on{color:#047857;background:#d1fae5}.adsm-shell[data-theme=dark] .adsm-status.on{color:#6ee7b7;background:#10b98126}.adsm-shell .adsm-toast,.adsm-shell .adsm-submit-progress,.adsm-shell .adsm-result-panel,.adsm-shell .adsm-secret{box-shadow:var(--studio-shadow);border-radius:13px}.adsm-shell .adsm-toast.ok{border-color:color-mix(in srgb, var(--studio-success) 35%, var(--studio-border));color:color-mix(in srgb, var(--studio-success) 78%, var(--studio-text));background:color-mix(in srgb, var(--studio-success) 9%, var(--studio-surface))}.adsm-shell .adsm-toast.error{border-color:color-mix(in srgb, var(--studio-danger) 35%, var(--studio-border));color:color-mix(in srgb, var(--studio-danger) 80%, var(--studio-text));background:color-mix(in srgb, var(--studio-danger) 9%, var(--studio-surface))}.adsm-shell .adsm-submit-progress{border-color:color-mix(in srgb, var(--studio-primary) 32%, var(--studio-border));background:var(--studio-surface)}.adsm-shell .adsm-upload-progress-bar{background:color-mix(in srgb, var(--studio-primary) 12%, var(--studio-surface-soft));height:9px}.adsm-shell .adsm-upload-progress-bar span{background:linear-gradient(90deg, var(--studio-primary), var(--studio-cyan), var(--studio-success))}.adsm-shell .adsm-upload-progress-head{color:var(--studio-text)}.adsm-shell .adsm-upload-progress-head span{color:var(--studio-primary)}.adsm-shell .adsm-submit-log small{color:var(--studio-muted)}.adsm-shell .adsm-result-panel{border-color:color-mix(in srgb, var(--studio-success) 34%, var(--studio-border));background:color-mix(in srgb, var(--studio-success) 6%, var(--studio-surface))}.adsm-shell .adsm-result-card{border-color:var(--studio-border);color:var(--studio-text);background:var(--studio-surface-raised)}.adsm-shell .adsm-result-card strong{color:var(--studio-text)}.adsm-shell .adsm-result-card span,.adsm-shell .adsm-result-card small{color:var(--studio-muted)}.adsm-shell .adsm-result-card.ok{border-color:color-mix(in srgb, var(--studio-success) 35%, var(--studio-border));background:color-mix(in srgb, var(--studio-success) 8%, var(--studio-surface))}.adsm-shell .adsm-result-card.warn{border-color:color-mix(in srgb, var(--studio-danger) 32%, var(--studio-border));background:color-mix(in srgb, var(--studio-danger) 7%, var(--studio-surface))}.adsm-shell .adsm-secret{border-color:color-mix(in srgb, var(--studio-warning) 45%, var(--studio-border));background:color-mix(in srgb, var(--studio-warning) 8%, var(--studio-surface))}.adsm-shell .adsm-secret span{color:var(--studio-muted)}.adsm-shell .adsm-context-note.ok{border-color:color-mix(in srgb, var(--studio-success) 34%, var(--studio-border));color:color-mix(in srgb, var(--studio-success) 75%, var(--studio-text));background:color-mix(in srgb, var(--studio-success) 8%, var(--studio-surface))}.adsm-shell .adsm-context-note.warn{border-color:color-mix(in srgb, var(--studio-warning) 40%, var(--studio-border));color:color-mix(in srgb, var(--studio-warning) 74%, var(--studio-text));background:color-mix(in srgb, var(--studio-warning) 8%, var(--studio-surface))}.adsm-shell .adsm-multi-account{border:1px solid var(--studio-border);background:color-mix(in srgb, var(--studio-surface) 94%, var(--studio-primary) 6%);border-radius:14px;gap:12px;padding:12px;display:grid}.adsm-shell .adsm-multi-account.active{border-color:color-mix(in srgb, var(--studio-primary) 48%, var(--studio-border));box-shadow:0 0 0 3px color-mix(in srgb, var(--studio-primary) 9%, transparent)}.adsm-shell .adsm-multi-account-toggle{align-items:flex-start}.adsm-shell .adsm-multi-account-toggle>span,.adsm-shell .adsm-multi-business-title>span,.adsm-shell .adsm-multi-account-row>span{gap:2px;min-width:0;display:grid}.adsm-shell .adsm-multi-account-toggle strong{color:var(--studio-text);font-size:13px}.adsm-shell .adsm-multi-account-toggle small,.adsm-shell .adsm-multi-business-title small,.adsm-shell .adsm-multi-account-row small{color:var(--studio-muted);font-size:11px;font-weight:500}.adsm-shell .adsm-multi-account-body{gap:10px;display:grid}.adsm-shell .adsm-multi-account-summary{grid-template-columns:minmax(0,1fr) minmax(110px,.45fr) minmax(190px,.65fr);gap:8px;display:grid}.adsm-shell .adsm-multi-account-summary>div,.adsm-shell .adsm-multi-account-summary>label{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:10px;gap:4px;min-width:0;padding:10px;display:grid}.adsm-shell .adsm-multi-account-summary span{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.adsm-shell .adsm-multi-account-actions{flex-wrap:wrap;gap:7px;display:flex}.adsm-shell .adsm-multi-account-groups{gap:8px;max-height:360px;display:grid;overflow:auto}.adsm-shell .adsm-multi-account-groups article{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:11px;gap:7px;padding:10px;display:grid}.adsm-shell .adsm-multi-business-title{border-bottom:1px solid var(--studio-border);padding-bottom:8px}.adsm-shell .adsm-multi-account-groups article>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.adsm-shell .adsm-multi-account-row{border:1px solid var(--studio-border);background:color-mix(in srgb, var(--studio-surface) 92%, var(--studio-bg) 8%);border-radius:9px;min-width:0;padding:8px}.adsm-shell .adsm-multi-account-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adsm-shell .adsm-multi-account-runs{gap:6px;display:grid}.adsm-shell .adsm-multi-account-runs>div{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:10px;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;display:grid}.adsm-shell .adsm-multi-account-runs>div>span{background:var(--studio-bg);width:24px;height:24px;color:var(--studio-muted);border-radius:999px;place-items:center;font-size:11px;font-weight:800;display:grid}.adsm-shell .adsm-multi-account-runs p{gap:2px;min-width:0;margin:0;display:grid}.adsm-shell .adsm-multi-account-runs p small{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adsm-shell .adsm-multi-account-runs b{color:var(--studio-muted);text-transform:uppercase;font-size:10px}.adsm-shell .adsm-multi-account-runs .running,.adsm-shell .adsm-multi-account-runs .waiting{border-color:color-mix(in srgb, var(--studio-primary) 45%, var(--studio-border))}.adsm-shell .adsm-multi-account-runs .success{border-color:color-mix(in srgb, var(--studio-success) 45%, var(--studio-border))}.adsm-shell .adsm-multi-account-runs .partial{border-color:color-mix(in srgb, var(--studio-warning) 48%, var(--studio-border))}.adsm-shell .adsm-multi-account-runs .error{border-color:color-mix(in srgb, var(--studio-danger) 48%, var(--studio-border))}.adsm-shell .adsm-api-loading{background:color-mix(in srgb, var(--studio-bg) 78%, transparent)}.adsm-shell .adsm-api-loading>div{border-color:var(--studio-border);color:var(--studio-text);background:var(--studio-surface-raised);box-shadow:var(--studio-shadow-lg)}.adsm-shell .adsm-api-loading strong{color:var(--studio-text)}.adsm-shell .adsm-api-loading span{color:var(--studio-muted)}.adsm-shell .adsm-api-loading svg{color:var(--studio-primary)}.adsm-shell .adsm-rules-panel{border:1px solid var(--studio-border);border-radius:18px;gap:18px;padding:18px}.adsm-rule-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.adsm-rule-summary article{border:1px solid var(--studio-border);background:var(--studio-surface-raised);box-shadow:var(--studio-shadow-sm);border-radius:14px;gap:2px;padding:14px 16px;display:grid}.adsm-rule-summary strong{color:var(--studio-text);font-size:22px;line-height:1}.adsm-rule-summary span{color:var(--studio-muted);text-transform:uppercase;letter-spacing:.055em;font-size:11px;font-weight:750}.adsm-rule-section{gap:10px;display:grid}.adsm-rule-section-head{justify-content:space-between;align-items:end;gap:12px;display:flex}.adsm-rule-section-head strong{color:var(--studio-text);font-size:14px;display:block}.adsm-rule-section-head span{color:var(--studio-muted);margin-top:3px;font-size:12px;display:block}.adsm-rule-template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.adsm-rule-template-grid article{border:1px solid color-mix(in srgb, var(--studio-primary) 24%, var(--studio-border));background:linear-gradient(145deg, color-mix(in srgb, var(--studio-primary) 7%, var(--studio-surface-raised)), var(--studio-surface-raised));border-radius:14px;align-content:start;gap:8px;min-height:170px;padding:15px;display:grid}.adsm-rule-template-grid article>strong{color:var(--studio-text);font-size:13px}.adsm-rule-template-grid article p{color:var(--studio-muted);margin:0;font-size:11px;line-height:1.5}.adsm-rule-template-grid article button{align-self:end;margin-top:auto}.adsm-rule-kind{letter-spacing:.08em;border-radius:999px;width:fit-content;padding:4px 7px;font-weight:850;margin:0!important;font-size:9px!important;display:inline-flex!important}.adsm-rule-kind.template{color:color-mix(in srgb, var(--studio-primary) 82%, var(--studio-text));background:color-mix(in srgb, var(--studio-primary) 13%, transparent)}.adsm-rule-kind.platform{color:color-mix(in srgb, var(--studio-cyan) 80%, var(--studio-text));background:color-mix(in srgb, var(--studio-cyan) 13%, transparent)}.adsm-rule-kind.meta{color:color-mix(in srgb, var(--studio-success) 80%, var(--studio-text));background:color-mix(in srgb, var(--studio-success) 13%, transparent)}.adsm-rule-builder{border:1px solid color-mix(in srgb, var(--studio-primary) 38%, var(--studio-border));background:var(--studio-surface-raised);box-shadow:var(--studio-shadow-md);border-radius:16px;gap:14px;padding:16px;display:grid}.adsm-rule-builder-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.adsm-rule-builder-head strong{color:var(--studio-text);font-size:15px;display:block}.adsm-rule-builder-head span{color:var(--studio-muted);margin-top:3px;font-size:11px;display:block}.adsm-rule-mode-switch{background:var(--studio-surface-soft);border-radius:13px;grid-template-columns:1fr 1fr;gap:8px;padding:5px;display:grid}.adsm-shell .adsm-rule-mode-switch button{background:0 0;border-color:#0000;justify-items:start;gap:2px;min-height:58px;padding:10px 13px;display:grid}.adsm-shell .adsm-rule-mode-switch button strong{color:var(--studio-text);font-size:12px}.adsm-shell .adsm-rule-mode-switch button span{color:var(--studio-muted);font-size:10px}.adsm-shell .adsm-rule-mode-switch button.active{border-color:color-mix(in srgb, var(--studio-primary) 45%, var(--studio-border));background:var(--studio-surface-raised);box-shadow:var(--studio-shadow-sm)}.adsm-shell .adsm-rule-create,.adsm-native-rule-create{background:0 0;border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;display:grid}.adsm-shell .adsm-rule-create label,.adsm-native-rule-create label{color:var(--studio-muted);letter-spacing:.035em;align-content:start;gap:5px;font-size:10px;font-weight:800;display:grid}.adsm-native-rule-create label small{min-height:28px;color:var(--studio-muted);letter-spacing:normal;font-weight:500;line-height:1.35}.adsm-rule-notice{border:1px solid color-mix(in srgb, var(--studio-success) 30%, var(--studio-border));background:color-mix(in srgb, var(--studio-success) 7%, var(--studio-surface));border-radius:11px;grid-column:1/-1;gap:3px;padding:11px 13px;display:grid}.adsm-rule-notice strong{color:var(--studio-text);font-size:12px}.adsm-rule-notice span{color:var(--studio-muted);font-size:11px}.adsm-rule-advanced{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:11px;grid-column:1/-1;padding:10px 12px}.adsm-rule-advanced summary{color:var(--studio-text);cursor:pointer;font-size:11px;font-weight:800}.adsm-rule-advanced p{color:var(--studio-muted);font-size:10px}.adsm-rule-advanced textarea{width:100%}.adsm-rule-save-row{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;padding-top:4px;display:flex}.adsm-rule-save-row span{color:var(--studio-muted);font-size:11px}.adsm-rule-kind-row{align-items:center;gap:7px;margin-bottom:7px;display:flex}.adsm-rule-kind-row .adsm-status{margin:0}.adsm-rule-card-copy{min-width:0}.adsm-shell .adsm-rule-card{min-height:150px;box-shadow:var(--studio-shadow-sm);border-radius:14px}.adsm-abo-planner{border:1px solid color-mix(in srgb, var(--studio-primary) 38%, var(--studio-border));background:linear-gradient(145deg, color-mix(in srgb, var(--studio-primary) 6%, var(--studio-surface)), var(--studio-surface));border-radius:15px;gap:13px;padding:14px;display:grid}.adsm-abo-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.adsm-abo-head>div{gap:3px;display:grid}.adsm-abo-head strong{color:var(--studio-text);font-size:14px}.adsm-abo-head span{color:var(--studio-muted);font-size:11px;line-height:1.45}.adsm-abo-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.adsm-abo-summary span{border:1px solid var(--studio-border);color:var(--studio-muted);background:var(--studio-surface-raised);border-radius:10px;align-items:baseline;gap:6px;padding:9px 11px;font-size:10px;font-weight:750;display:flex}.adsm-abo-summary strong{color:var(--studio-primary);font-size:18px}.adsm-abo-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.adsm-abo-group-grid article{border:1px solid var(--studio-border);border-left:4px solid var(--studio-faint);background:var(--studio-surface-raised);border-radius:11px;gap:8px;min-width:0;padding:11px;display:grid}.adsm-abo-group-grid article.configured{border-left-color:var(--studio-success)}.adsm-abo-group-grid article>small{color:var(--studio-muted);font-size:10px}.adsm-abo-group-title{grid-template-columns:28px minmax(0,1fr) 30px;align-items:center;gap:7px;display:grid}.adsm-abo-group-title>span{color:#fff;background:var(--studio-primary);border-radius:8px;place-items:center;width:28px;height:28px;font-size:11px;font-weight:850;display:grid}.adsm-shell .adsm-abo-group-title input{min-width:0;height:34px;color:var(--studio-text);font-weight:800}.adsm-shell .adsm-abo-group-title button{border-color:color-mix(in srgb, var(--studio-danger) 35%, var(--studio-border));width:30px;min-width:30px;height:30px;color:var(--studio-danger);background:color-mix(in srgb, var(--studio-danger) 7%, var(--studio-surface));padding:0;font-size:18px}.adsm-abo-page-chips{flex-wrap:wrap;gap:5px;min-height:28px;display:flex}.adsm-abo-page-chips span{max-width:100%;color:color-mix(in srgb, var(--studio-success) 75%, var(--studio-text));background:color-mix(in srgb, var(--studio-success) 12%, var(--studio-surface));text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:5px 7px;font-size:9px;font-weight:750;overflow:hidden}.adsm-abo-page-chips em{color:var(--studio-warning);font-size:10px;font-style:normal}.adsm-abo-assignments{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:11px;gap:7px;padding:11px;display:grid}.adsm-abo-assignments>strong{color:var(--studio-text);font-size:12px}.adsm-abo-assignments>span{color:var(--studio-muted);font-size:10px}.adsm-abo-assignments>div{gap:6px;max-height:300px;display:grid;overflow:auto}.adsm-abo-assignments label{border:1px solid var(--studio-border);background:var(--studio-surface-raised);border-radius:9px;grid-template-columns:minmax(0,1fr) minmax(150px,220px);align-items:center;gap:9px;padding:8px 9px;display:grid!important}.adsm-abo-assignments label>span{min-width:0;display:grid}.adsm-abo-assignments label b{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.adsm-abo-assignments label small{color:var(--studio-muted);text-overflow:ellipsis;font-size:9px;overflow:hidden}.adsm-shell .adsm-abo-assignments select{min-width:0;height:34px}.adsm-bulk-selection-bar{border:1px solid color-mix(in srgb, var(--studio-primary) 26%, var(--studio-border));background:color-mix(in srgb, var(--studio-primary) 7%, var(--studio-surface));border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.adsm-bulk-selection-bar>div:first-child{align-items:baseline;gap:8px;display:flex}.adsm-bulk-selection-bar strong{color:var(--studio-primary);font-size:20px;line-height:1}.adsm-bulk-selection-bar span{color:var(--studio-muted);font-size:11px;font-weight:750}.adsm-dashboard-actions{border:1px solid var(--studio-border);border-radius:12px;flex-wrap:wrap;align-items:end;gap:8px;padding:12px;display:flex}.adsm-dashboard-actions label{min-width:125px;color:var(--studio-muted);gap:4px;font-size:10px;font-weight:800;display:grid}.adsm-dashboard-table{min-width:1960px}.adsm-dashboard-table th:nth-last-child(2),.adsm-dashboard-table td:nth-last-child(2){z-index:2;min-width:150px;box-shadow:-8px 0 12px -12px color-mix(in srgb, var(--studio-text) 35%, transparent);position:sticky;right:180px}.adsm-dashboard-table th:last-child,.adsm-dashboard-table td:last-child{z-index:2;min-width:180px;position:sticky;right:0}.adsm-dashboard-table th:nth-last-child(-n+2){z-index:4;background:var(--studio-surface-soft)}.adsm-dashboard-table td:nth-last-child(-n+2){background:var(--studio-surface-raised)}.adsm-dashboard-table .adsm-account-divider td{z-index:3;position:sticky;left:0;right:auto}.adsm-dashboard-table tbody tr:not(.adsm-account-divider){border-left:4px solid #0000}.adsm-dashboard-table tbody tr.adsm-cost-good{border-left-color:var(--studio-success)}.adsm-dashboard-table tbody tr.adsm-cost-warning{border-left-color:var(--studio-warning)}.adsm-dashboard-table tbody tr.adsm-cost-danger{border-left-color:var(--studio-danger)}.adsm-dashboard-table tbody tr.adsm-cost-good td{background:color-mix(in srgb, var(--studio-success) 3%, var(--studio-surface))}.adsm-dashboard-table tbody tr.adsm-cost-warning td{background:color-mix(in srgb, var(--studio-warning) 4%, var(--studio-surface))}.adsm-dashboard-table tbody tr.adsm-cost-danger td{background:color-mix(in srgb, var(--studio-danger) 4%, var(--studio-surface))}.adsm-cost-pill{border-radius:999px;align-items:center;min-width:76px;padding:5px 8px;font-size:10px;font-weight:850;display:inline-flex}.adsm-cost-pill.good{color:color-mix(in srgb, var(--studio-success) 82%, var(--studio-text));background:color-mix(in srgb, var(--studio-success) 13%, transparent)}.adsm-cost-pill.warning{color:color-mix(in srgb, var(--studio-warning) 82%, var(--studio-text));background:color-mix(in srgb, var(--studio-warning) 15%, transparent)}.adsm-cost-pill.danger{color:var(--studio-danger);background:color-mix(in srgb, var(--studio-danger) 12%, transparent)}.adsm-cost-pill.neutral{color:var(--studio-muted);background:var(--studio-surface-soft)}.adsm-inline-status{border-radius:999px!important;min-width:74px!important;height:30px!important;padding:0 9px!important;font-size:10px!important;font-weight:850!important}.adsm-inline-status.on{border-color:color-mix(in srgb, var(--studio-success) 40%, var(--studio-border))!important;color:var(--studio-success)!important;background:color-mix(in srgb, var(--studio-success) 10%, var(--studio-surface))!important}.adsm-inline-status.off{color:var(--studio-muted)!important;background:var(--studio-surface-soft)!important}.adsm-inline-money{border:1px solid var(--studio-border);background:var(--studio-surface-raised);border-radius:8px;grid-template-columns:auto 78px;align-items:center;min-width:115px;padding:3px 6px;gap:4px!important;display:grid!important}.adsm-inline-money span{color:var(--studio-muted);font-size:9px;font-weight:850}.adsm-shell .adsm-inline-money input{width:78px;height:28px;box-shadow:none;background:0 0;border:0;padding:3px 5px}.adsm-inline-bid{align-items:center;gap:5px;display:flex}.adsm-inline-bid button{height:29px!important;padding:0 7px!important;font-size:9px!important}.adsm-inline-bid small{color:var(--studio-success);white-space:nowrap;font-weight:800}.adsm-shell .adsm-hierarchy-name{text-align:left;border-color:#0000;grid-template-columns:18px minmax(0,1fr);justify-content:stretch;align-items:center;gap:7px;width:100%;min-width:180px;min-height:36px;background:0 0!important;padding:4px 6px!important;display:grid!important}.adsm-shell .adsm-hierarchy-name:hover{border-color:var(--studio-border);background:var(--studio-primary-soft)!important}.adsm-hierarchy-name>span:first-child{color:var(--studio-primary);font-size:16px;font-weight:900}.adsm-hierarchy-name>span:last-child,.adsm-hierarchy-static>span:last-child{gap:2px;min-width:0;display:grid}.adsm-hierarchy-name strong,.adsm-hierarchy-static strong{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adsm-hierarchy-name small,.adsm-hierarchy-static small{color:var(--studio-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adsm-hierarchy-name.child{padding-left:14px!important}.adsm-hierarchy-static{grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;min-width:180px;padding-left:28px;display:grid}.adsm-hierarchy-static>span:first-child{color:var(--studio-muted);font-weight:900}.adsm-child-row.adset td{background:color-mix(in srgb, var(--studio-primary) 4%, var(--studio-surface))!important}.adsm-child-row.ad td{background:color-mix(in srgb, var(--studio-muted) 5%, var(--studio-surface))!important}.adsm-child-row td{vertical-align:middle;border-bottom-style:dashed}.adsm-child-row.compact .adsm-hierarchy-name{min-width:220px}.adsm-level-budget{white-space:nowrap;min-height:30px!important;color:var(--studio-primary-strong)!important;background:var(--studio-primary-soft)!important;border-style:dashed!important;padding:0 9px!important;font-size:10px!important}.adsm-inline-money{cursor:text}.adsm-inline-money:focus-within{border-color:var(--studio-primary);box-shadow:0 0 0 2px color-mix(in srgb, var(--studio-primary) 18%, transparent)}.adsm-shell .adsm-inline-money input{cursor:text;font-weight:850}.adsm-pixel-permission{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid!important}.adsm-pixel-permission div{gap:3px;display:grid}.adsm-pixel-permission strong{color:var(--studio-text);font-size:11px}.adsm-pixel-permission span{color:var(--studio-muted);font-size:10px;line-height:1.4}.adsm-pixel-permission a{border:1px solid color-mix(in srgb, var(--studio-warning) 45%, var(--studio-border));color:color-mix(in srgb, var(--studio-warning) 75%, var(--studio-text));background:color-mix(in srgb, var(--studio-warning) 8%, var(--studio-surface));white-space:nowrap;border-radius:9px;padding:8px 11px;font-size:10px;font-weight:850;text-decoration:none}.adsm-grok-studio{border:1px solid color-mix(in srgb, var(--studio-cyan) 40%, var(--studio-border));background:linear-gradient(145deg, color-mix(in srgb, var(--studio-cyan) 6%, var(--studio-surface)), color-mix(in srgb, var(--studio-primary) 5%, var(--studio-surface)));box-shadow:var(--studio-shadow-sm);border-radius:16px;gap:12px;padding:14px;display:grid}.adsm-grok-toggle{background:0 0!important;padding:5px!important}.adsm-grok-toggle span{gap:3px;display:grid}.adsm-grok-toggle strong{color:var(--studio-text);font-size:13px}.adsm-grok-toggle small{color:var(--studio-muted);font-size:10px}.adsm-grok-body{border-top:1px solid var(--studio-border);gap:11px;padding-top:11px;display:grid}.adsm-grok-key-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;display:grid}.adsm-grok-key-row label,.adsm-grok-grid label,.adsm-grok-prompts,.adsm-grok-post>label{color:var(--studio-muted);gap:5px;font-size:10px;font-weight:800;display:grid}.adsm-grok-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.adsm-grok-prompts textarea{resize:vertical}.adsm-grok-post{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:11px;flex-wrap:wrap;align-items:center;gap:10px;padding:10px;display:flex}.adsm-grok-post>strong{width:100%;color:var(--studio-text);font-size:11px}.adsm-grok-post .adsm-checkbox{min-width:150px}.adsm-grok-generate{justify-self:start;background:linear-gradient(110deg, var(--studio-primary), #7c3aed, var(--studio-cyan))!important;background-size:180% 100%!important;min-height:42px!important;padding-inline:18px!important}.adsm-grok-progress{border:1px solid var(--studio-border);background:var(--studio-surface-raised);border-radius:12px;gap:8px;padding:11px;display:grid}.adsm-grok-progress>div:first-child{color:var(--studio-text);justify-content:space-between;font-size:11px;display:flex}.adsm-grok-progress ol{gap:5px;max-height:270px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.adsm-grok-progress li{border:1px solid var(--studio-border);border-radius:8px;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px;display:grid}.adsm-grok-progress li>span{color:#fff;background:var(--studio-primary);border-radius:7px;place-items:center;width:23px;height:23px;font-size:9px;font-weight:900;display:grid}.adsm-grok-progress li strong{color:var(--studio-text);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.adsm-grok-progress li em{color:var(--studio-muted);font-size:9px;font-style:normal}.adsm-grok-progress li.done{border-color:color-mix(in srgb, var(--studio-success) 35%, var(--studio-border))}.adsm-grok-progress li.done em{color:var(--studio-success)}.adsm-grok-progress li.error{border-color:color-mix(in srgb, var(--studio-danger) 35%, var(--studio-border))}.adsm-grok-progress li.error em{max-width:300px;color:var(--studio-danger);white-space:normal}.adsm-live-dot{box-shadow:0 0 0 0 color-mix(in srgb, var(--studio-neon) 65%, transparent);animation:2s infinite automafantt-pulse}.adsm-publish:not(:disabled){box-shadow:0 8px 22px #5b42ff40, 0 0 0 1px color-mix(in srgb, var(--studio-neon) 25%, transparent)!important}@keyframes automafantt-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--studio-neon) 50%, transparent)}70%{box-shadow:0 0 0 9px #0000}to{box-shadow:0 0 #0000}}@media (max-width:1480px){.adsm-shell{grid-template-columns:76px minmax(0,1fr)}.adsm-shell .adsm-rail{width:76px;padding-inline:10px}.adsm-brand{justify-content:center;padding-inline:0}.adsm-brand-copy,.adsm-rail-label,.adsm-rail-nav button span,.adsm-rail-status div{display:none}.adsm-shell .adsm-rail-nav button{grid-template-columns:1fr;place-items:center;padding:0;display:grid}.adsm-rail-status{grid-template-columns:1fr;justify-items:center}.adsm-shell .adsm-workspace{grid-template-columns:220px minmax(440px,1fr) minmax(340px,390px)}.adsm-action-group>span{display:none}}@media (max-width:1180px){.adsm-shell .adsm-header{grid-template-columns:1fr}.adsm-shell .adsm-header-controls{grid-template-columns:1fr 1fr auto auto;display:grid}.adsm-shell .adsm-header-controls label{min-width:0!important}.adsm-shell .adsm-workspace{grid-template-columns:1fr}.adsm-shell .adsm-tree,.adsm-shell .adsm-editor{max-height:none;position:relative;top:auto}.adsm-shell .adsm-tree{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.adsm-shell .adsm-tree-head,.adsm-shell .adsm-structure-wizard{grid-column:1/-1}.adsm-shell .adsm-actionbar{flex-wrap:wrap}.adsm-action-spacer{display:none}.adsm-rule-template-grid,.adsm-rule-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){body:has(.adsm-shell){background:var(--studio-bg)}.adsm-shell{min-width:0;padding-bottom:68px;display:block}.adsm-shell .adsm-rail{z-index:100;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0f1428f5;border:0;border-top:1px solid #ffffff1a;grid-template-columns:auto 1fr;align-items:center;width:100%;height:64px;padding:7px 9px;display:grid;position:fixed;inset:auto 0 0}.adsm-brand{border:0;padding:0 5px 0 0}.adsm-shell .adsm-meta-mark{width:38px;height:38px}.adsm-rail-nav{justify-content:space-around;gap:2px;display:flex;overflow-x:auto}.adsm-shell .adsm-rail-nav button{flex:0 0 43px;width:43px;height:43px}.adsm-rail-status{display:none}.adsm-shell .adsm-app{padding:0 10px 22px}.adsm-shell .adsm-alert{grid-template-columns:8px minmax(0,1fr) auto;margin:0 -10px;padding:0 12px}.adsm-shell .adsm-alert strong{display:none}.adsm-shell .adsm-alert span:not(.adsm-live-dot){font-size:11px}.adsm-shell .adsm-header{padding-top:15px}.adsm-shell .adsm-title-block h1{font-size:28px}.adsm-shell .adsm-header-controls{grid-template-columns:1fr}.adsm-shell .adsm-theme-toggle{width:100%}.adsm-shell .adsm-actionbar{grid-template-columns:1fr 1fr;gap:8px;padding:9px;display:grid;position:relative;top:auto}.adsm-action-group{display:contents}.adsm-action-menu{grid-column:1/-1}.adsm-action-menu summary{justify-content:center}.adsm-action-menu>div{width:100%;box-shadow:none;margin-top:7px;position:static}.adsm-actionbar>button{width:100%}.adsm-shell .adsm-level-tabs button{flex-basis:116px;min-width:116px}.adsm-shell .adsm-tree{grid-template-columns:1fr}.adsm-shell .adsm-tree-head,.adsm-shell .adsm-structure-wizard{grid-column:1}.adsm-shell .adsm-readiness,.adsm-shell .adsm-two,.adsm-shell .adsm-three,.adsm-shell .adsm-targeting-grid,.adsm-shell .adsm-multi-account-summary,.adsm-shell .adsm-multi-account-groups article>div{grid-template-columns:1fr}.adsm-shell .adsm-multi-account-runs>div{grid-template-columns:26px minmax(0,1fr)}.adsm-shell .adsm-multi-account-runs>div>b{grid-column:2}.adsm-shell .adsm-secret,.adsm-shell .adsm-filterbar,.adsm-shell .adsm-panel-head,.adsm-shell .adsm-result-grid,.adsm-shell .adsm-models-grid,.adsm-rule-template-grid,.adsm-rule-summary,.adsm-rule-mode-switch,.adsm-shell .adsm-rule-create,.adsm-native-rule-create{grid-template-columns:1fr}.adsm-rule-builder-head,.adsm-rule-save-row{flex-direction:column;align-items:stretch}.adsm-rule-save-row button{width:100%}.adsm-abo-head{flex-direction:column;align-items:stretch}.adsm-abo-head button{width:100%}.adsm-abo-summary,.adsm-abo-group-grid,.adsm-abo-assignments label{grid-template-columns:1fr}.adsm-dashboard-actions{grid-template-columns:1fr 1fr;display:grid}.adsm-dashboard-actions label,.adsm-dashboard-actions button{width:100%;min-width:0}.adsm-bulk-selection-bar{flex-direction:column;align-items:stretch}.adsm-bulk-selection-bar .adsm-inline-actions{grid-template-columns:1fr 1fr;display:grid}.adsm-grok-key-row,.adsm-grok-grid{grid-template-columns:1fr}.adsm-grok-post{flex-direction:column;align-items:stretch}.adsm-grok-generate{width:100%}.adsm-pixel-permission{grid-template-columns:1fr}.adsm-pixel-permission a{text-align:center}}@media (prefers-reduced-motion:reduce){.adsm-shell *,.adsm-shell :before,.adsm-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.adsm-status-levels{border:1px solid color-mix(in srgb,var(--studio-blue) 24%,var(--studio-border));background:color-mix(in srgb,var(--studio-blue) 5%,var(--studio-surface));border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:11px;display:grid}.adsm-status-levels label{color:var(--studio-muted);text-transform:uppercase;gap:5px;font-size:11px;font-weight:900;display:grid}.adsm-message-library{border:1px solid color-mix(in srgb,var(--studio-violet) 26%,var(--studio-border));background:linear-gradient(135deg,color-mix(in srgb,var(--studio-violet) 7%,var(--studio-surface)),var(--studio-surface));border-radius:13px;gap:9px;padding:12px;display:grid}.adsm-message-library>strong{color:var(--studio-text);font-size:13px}.adsm-message-library>small{color:var(--studio-muted)}.adsm-message-variation-head{border:1px solid color-mix(in srgb,var(--studio-cyan) 30%,var(--studio-border));background:linear-gradient(120deg,color-mix(in srgb,var(--studio-cyan) 8%,var(--studio-surface)),color-mix(in srgb,var(--studio-violet) 6%,var(--studio-surface)));border-radius:13px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.adsm-message-variation-head>div{gap:3px;display:grid}.adsm-message-variation-head strong{color:var(--studio-text);font-size:13px}.adsm-message-variation-head span{color:var(--studio-muted);font-size:10px}.adsm-message-variation-head button{color:#fff!important;background:linear-gradient(120deg,var(--studio-blue),var(--studio-violet))!important;border-color:#0000!important}.adsm-message-variation{border:1px solid var(--studio-border);background:var(--studio-surface-raised);box-shadow:var(--studio-shadow-sm);border-radius:14px;gap:10px;padding:12px;display:grid}.adsm-message-variation.primary{border-color:color-mix(in srgb,var(--studio-cyan) 44%,var(--studio-border));background:linear-gradient(145deg,color-mix(in srgb,var(--studio-cyan) 5%,var(--studio-surface-raised)),var(--studio-surface-raised))}.adsm-message-variation>header{border-bottom:1px solid var(--studio-border);justify-content:space-between;align-items:center;gap:10px;padding-bottom:7px;display:flex}.adsm-message-variation>header strong{color:var(--studio-text);font-size:12px}.adsm-message-variation>header em{color:var(--studio-muted);font-size:9px;font-style:normal}.adsm-message-variation>header .danger{color:var(--studio-danger)!important;background:color-mix(in srgb,var(--studio-danger) 8%,var(--studio-surface))!important}.adsm-message-ai{border:1px solid color-mix(in srgb,var(--studio-violet) 35%,var(--studio-border));background:linear-gradient(135deg,color-mix(in srgb,var(--studio-violet) 8%,var(--studio-surface)),color-mix(in srgb,var(--studio-blue) 5%,var(--studio-surface)));border-radius:14px;grid-template-columns:120px minmax(0,1fr) auto;align-items:end;gap:10px;padding:13px;display:grid}.adsm-message-ai>div{grid-column:1/-1;gap:3px;display:grid}.adsm-message-ai>div strong{color:var(--studio-text);font-size:12px}.adsm-message-ai>div span{color:var(--studio-muted);font-size:10px}.adsm-message-ai>label{color:var(--studio-muted);gap:5px;font-size:10px;font-weight:800;display:grid}.adsm-message-ai>button{min-height:39px;color:#fff!important;background:linear-gradient(110deg,var(--studio-violet),var(--studio-blue))!important;border-color:#0000!important}.adsm-greeting-report .adsm-winning-table td:nth-child(2){min-width:360px;max-width:700px;line-height:1.5}.adsm-greeting-report .adsm-winning-table td:nth-child(3) b{color:var(--studio-success);font-size:13px}.adsm-winning-report{background:var(--studio-surface);overflow:visible}.adsm-winning-tabs{flex-wrap:wrap;gap:7px;padding:0 16px;display:flex}.adsm-winning-tabs button.active{box-shadow:0 8px 20px color-mix(in srgb,var(--studio-violet) 24%,transparent);border-color:var(--studio-violet)!important;background:var(--studio-violet)!important;color:#fff!important}.adsm-winning-table-wrap{border:1px solid var(--studio-border);border-radius:14px;max-height:calc(100vh - 350px);margin:0 16px 16px;overflow:auto}.adsm-winning-table{border-collapse:collapse;width:100%;min-width:980px}.adsm-winning-table th,.adsm-winning-table td{border-bottom:1px solid var(--studio-border);text-align:left;vertical-align:top;padding:12px 13px}.adsm-winning-table th{z-index:2;color:var(--studio-muted);background:var(--studio-surface-soft);letter-spacing:.07em;text-transform:uppercase;font-size:10px;position:sticky;top:0}.adsm-winning-table td{color:var(--studio-text);font-size:12px}.adsm-winning-table td:nth-child(2){white-space:normal;max-width:560px}.adsm-winning-table td small{color:var(--studio-muted);margin-top:5px;display:block}.adsm-winning-table tbody tr:hover{background:color-mix(in srgb,var(--studio-blue) 5%,transparent)}.adsm-winning-rank{color:#fff;background:linear-gradient(135deg,var(--studio-violet),var(--studio-blue));border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.adsm-winning-filters{grid-template-columns:minmax(280px,1fr) minmax(240px,auto);margin-top:10px}.adsm-winning-sources{gap:7px;min-width:320px;max-width:520px;display:grid}.adsm-winning-sources>span{border:1px solid var(--studio-border);background:var(--studio-surface-soft);border-radius:10px;gap:2px;padding:8px 10px;display:grid}.adsm-winning-sources b{color:var(--studio-text);font-size:11px}.adsm-winning-sources small{overflow-wrap:anywhere;margin:0!important}.adsm-winning-sources>em{color:var(--studio-violet);font-size:10px;font-style:normal;font-weight:800}@media (max-width:760px){.adsm-status-levels{grid-template-columns:1fr}.adsm-message-variation-head{flex-direction:column;align-items:stretch}.adsm-message-ai{grid-template-columns:1fr}.adsm-message-ai>div{grid-column:1}.adsm-message-ai>button{width:100%}.adsm-winning-table-wrap{max-height:none;margin-inline:8px}.adsm-winning-filters{grid-template-columns:1fr}.adsm-winning-sources{min-width:240px}}.adsm-shell .adsm-workspace{grid-template-columns:248px minmax(0,1fr);align-items:start}.adsm-shell .adsm-center{display:none}.adsm-shell .adsm-editor{grid-column:2;min-width:0;max-height:none;position:relative;top:auto;overflow:visible}.adsm-shell .adsm-editor>.adsm-edit-card{display:none}.adsm-shell .stage-pages #stage-pages,.adsm-shell .stage-campaigns #stage-campaigns,.adsm-shell .stage-adsets #stage-adsets,.adsm-shell .stage-creatives #stage-creatives,.adsm-shell .stage-ads #stage-ads,.adsm-shell .stage-targeting #stage-targeting,.adsm-shell .stage-placements #stage-placements,.adsm-shell .stage-messages #stage-messages{display:grid}.adsm-shell .tab-models .adsm-center,.adsm-shell .stage-review.tab-builder .adsm-center{grid-column:2;min-width:0;display:grid}.adsm-shell .tab-models .adsm-editor,.adsm-shell .stage-review.tab-builder .adsm-editor,.adsm-shell .tab-models .adsm-builder-operations,.adsm-shell .tab-models .adsm-review-preview,.adsm-shell .stage-review .adsm-builder-operations{display:none}.adsm-shell .adsm-review-preview{min-height:360px}.adsm-stage-toolbar{z-index:18;border:1px solid color-mix(in srgb, var(--studio-primary) 26%, var(--studio-border));background:color-mix(in srgb, var(--studio-surface) 94%, transparent);box-shadow:var(--studio-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:14px;grid-template-columns:minmax(180px,auto) minmax(140px,1fr) auto;align-items:center;gap:14px;padding:12px 14px;display:grid;position:sticky;top:78px}.adsm-stage-toolbar-copy{gap:2px;min-width:0;display:grid}.adsm-stage-toolbar-copy>span{color:var(--studio-primary);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:900}.adsm-stage-toolbar-copy>strong{color:var(--studio-text);font-size:15px}.adsm-stage-toolbar-copy>small{color:var(--studio-muted);font-size:10px}.adsm-stage-toolbar-progress{background:var(--studio-surface-soft);border-radius:99px;height:7px;overflow:hidden}.adsm-stage-toolbar-progress>span{border-radius:inherit;background:linear-gradient(90deg, var(--studio-primary), var(--studio-cyan), var(--studio-neon));height:100%;transition:width .24s;display:block}.adsm-stage-toolbar-actions{gap:8px;display:flex}.adsm-stage-toolbar-actions button{white-space:nowrap}.adsm-shell .adsm-editor>.adsm-edit-card[id^=stage-]{border-color:color-mix(in srgb, var(--studio-primary) 18%, var(--studio-border));width:100%;padding:clamp(18px,2.2vw,30px);box-shadow:0 18px 45px #0f172a14}.adsm-shell .adsm-editor>.adsm-edit-card[id^=stage-]>h2{border-bottom:1px solid var(--studio-border);padding-bottom:12px;font-size:19px}.adsm-shell .adsm-level-tabs button span{place-items:center;display:inline-grid}.adsm-shell .adsm-manual-event{grid-template-columns:minmax(220px,1fr) auto;align-items:center}.adsm-shell .adsm-manual-event small{color:var(--studio-muted);grid-column:1/-1;line-height:1.45}.adsm-meridiem-toggle{grid-template-columns:1fr 1fr;gap:7px;margin-top:6px;display:grid}.adsm-meridiem-field{align-content:start;min-width:0;display:grid}.adsm-meridiem-field .adsm-field-label{color:var(--studio-text);font-size:12px;font-weight:800}.adsm-meridiem-field small{color:var(--studio-muted);margin-top:5px;line-height:1.35}.adsm-meridiem-toggle button{border:1px solid var(--studio-border);background:var(--studio-surface-soft);min-height:40px;color:var(--studio-muted);border-radius:10px;font-weight:850}.adsm-meridiem-toggle button.active{border-color:var(--studio-primary);background:color-mix(in srgb, var(--studio-primary) 14%, var(--studio-surface));color:var(--studio-primary);box-shadow:0 0 0 2px color-mix(in srgb, var(--studio-primary) 12%, transparent)}.adsm-meridiem-toggle button:disabled{cursor:not-allowed;opacity:.48}.adsm-schedule-card{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:14px;grid-column:1/-1;gap:12px;padding:14px;display:grid}.adsm-schedule-card.scheduled{border-color:color-mix(in srgb, var(--studio-primary) 58%, var(--studio-border));box-shadow:0 0 0 3px color-mix(in srgb, var(--studio-primary) 9%, transparent)}.adsm-schedule-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.adsm-schedule-heading div{gap:3px;display:grid}.adsm-schedule-heading small{color:var(--studio-muted)}.adsm-schedule-heading>span{background:color-mix(in srgb, var(--studio-primary) 12%, var(--studio-surface));color:var(--studio-primary);letter-spacing:.08em;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.adsm-schedule-mode{grid-template-columns:1fr 1fr;gap:8px;display:grid}.adsm-schedule-mode label{border:1px solid var(--studio-border);background:color-mix(in srgb, var(--studio-bg) 72%, var(--studio-surface));cursor:pointer;border-radius:10px;align-items:center;gap:9px;min-height:42px;padding:9px 11px;display:flex!important}.adsm-schedule-mode input{width:17px!important;min-height:17px!important}.adsm-schedule-summary{border:1px solid var(--studio-border);border-radius:10px;padding:10px 11px;font-size:12px;line-height:1.45}.adsm-schedule-summary.ok{border-color:color-mix(in srgb, var(--studio-success) 42%, var(--studio-border));background:color-mix(in srgb, var(--studio-success) 8%, var(--studio-surface))}.adsm-schedule-summary.warn{border-color:color-mix(in srgb, var(--studio-warning) 45%, var(--studio-border));background:color-mix(in srgb, var(--studio-warning) 8%, var(--studio-surface))}.adsm-schedule-fields{border:1px solid color-mix(in srgb, var(--studio-primary) 32%, var(--studio-border));background:color-mix(in srgb, var(--studio-primary) 4%, var(--studio-surface));border-radius:14px;grid-column:1/-1;gap:11px;padding:14px;display:grid}.adsm-schedule-fields.disabled{opacity:.62}.adsm-schedule-fields-heading{gap:3px;display:grid}.adsm-schedule-fields-heading strong{font-size:14px}.adsm-schedule-fields-heading small{color:var(--studio-muted)}.adsm-schedule-date-grid{grid-template-columns:minmax(78px,.65fr) minmax(170px,1.5fr) minmax(100px,.8fr) minmax(130px,1fr);gap:10px;display:grid}.adsm-schedule-date-grid label{min-width:0}.adsm-schedule-date-grid select,.adsm-schedule-date-grid input{font-variant-numeric:tabular-nums;min-height:44px}.adsm-schedule-confirmation{border:1px solid color-mix(in srgb, var(--studio-success) 38%, var(--studio-border));background:color-mix(in srgb, var(--studio-success) 8%, var(--studio-surface));border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:12px;display:flex}.adsm-schedule-confirmation span{color:var(--studio-muted)}.adsm-schedule-confirmation strong{color:var(--studio-text);text-align:right}@media (max-width:800px){.adsm-schedule-date-grid{grid-template-columns:1fr 1fr}}@media (max-width:680px){.adsm-schedule-mode{grid-template-columns:1fr}.adsm-schedule-heading{align-items:flex-start}.adsm-schedule-confirmation{flex-direction:column;align-items:flex-start}.adsm-schedule-confirmation strong{text-align:left}}.adsm-meta-token-alert{box-shadow:var(--studio-shadow);border:1px solid;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin:0 16px 14px;padding:14px 16px;display:flex}.adsm-meta-token-alert>div{gap:3px;display:grid}.adsm-meta-token-alert strong{font-size:14px}.adsm-meta-token-alert span{font-size:12px;line-height:1.45}.adsm-meta-token-alert button{color:#fff;white-space:nowrap;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 14px;font-weight:850;display:inline-flex}.adsm-meta-token-alert.error{border-color:color-mix(in srgb, #ef4444 45%, var(--studio-border));background:color-mix(in srgb, #ef4444 9%, var(--studio-surface));color:color-mix(in srgb, #ef4444 82%, var(--studio-text))}.adsm-meta-token-alert.error button{background:#dc2626}.adsm-meta-token-alert.warning{border-color:color-mix(in srgb, #f59e0b 50%, var(--studio-border));background:color-mix(in srgb, #f59e0b 10%, var(--studio-surface));color:color-mix(in srgb, #b45309 80%, var(--studio-text))}.adsm-meta-token-alert.warning button{background:#d97706}@media (max-width:1180px){.adsm-shell .adsm-workspace{grid-template-columns:1fr}.adsm-shell .adsm-editor,.adsm-shell .tab-models .adsm-center,.adsm-shell .stage-review.tab-builder .adsm-center{grid-column:1}.adsm-stage-toolbar{top:8px}}@media (max-width:760px){.adsm-stage-toolbar{grid-template-columns:1fr;position:relative;top:auto}.adsm-stage-toolbar-actions{grid-template-columns:1fr 1fr;display:grid}.adsm-stage-toolbar-actions button{width:100%}.adsm-shell .adsm-editor>.adsm-edit-card[id^=stage-]{padding:15px 12px}.adsm-shell .adsm-manual-event{grid-template-columns:1fr}.adsm-shell .adsm-manual-event small{grid-column:1}.adsm-meta-token-alert{flex-direction:column;align-items:stretch;margin-inline:8px}.adsm-meta-token-alert button{width:100%}.adsm-shell,.adsm-shell .adsm-app,.adsm-shell .adsm-workspace,.adsm-shell .adsm-editor,.adsm-shell .adsm-edit-card{width:100%;min-width:0;max-width:100%}.adsm-shell input,.adsm-shell select,.adsm-shell textarea{max-width:100%;font-size:16px}.adsm-shell .adsm-table-wrap,.adsm-shell .adsm-dashboard-table-wrap{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.adsm-shell .adsm-level-tabs{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.adsm-shell .adsm-level-tabs>*{scroll-snap-align:start}}@media (max-width:430px){.adsm-stage-toolbar-actions{grid-template-columns:1fr}}
