:root{--bg:#f5f6f8;--panel:#fff;--panel2:#fafafa;--line:#e5e7eb;--text:#16181d;--muted:#7b8493;--accent:#ff6b5d;--accent2:#756cf5;--danger:#e84c5b;--warn:#d79622;--shadow:0 16px 45px rgba(20,24,32,.08)}
html,body{background:var(--bg);color:var(--text)}.app{background:var(--bg)}#nav>.nav-item{display:flex!important}.top-actions{display:flex!important}.sidebar-bottom{display:block!important}.sidebar{background:#fff;border-color:var(--line);box-shadow:8px 0 30px rgba(20,24,32,.025)}.sidebar .brand{color:#111827}.brand b{color:#8b93a1}.brand-mark{background:linear-gradient(145deg,#ff7869,#ff5f50);color:#fff;box-shadow:0 8px 24px rgba(255,107,93,.22)}.workspace{background:#fff7f5;border-color:#ffe1dc}.workspace-dot,.pulse{background:var(--accent);box-shadow:0 0 0 5px rgba(255,107,93,.10)}.workspace small{color:#ae827b}.workspace strong{color:#3b2521}.nav-item,.nav-sub button{color:#6d7480}.nav-item:hover,.nav-item.active{background:#fff2ef;color:#24262b}.nav-item.active{box-shadow:inset 3px 0 var(--accent)}.nav-item.active .nav-icon{color:var(--accent)}.nav-icon{color:#9da4af}.nav-divider{padding:18px 12px 7px;color:#a5abb5;font-size:9px;font-weight:800;letter-spacing:.13em}.ai-status{background:#fafafa;border-color:var(--line)}.ai-status b{color:#333842}.topbar{background:rgba(255,255,255,.94);border-color:var(--line);box-shadow:0 5px 18px rgba(20,24,32,.025)}.topbar h2{color:#20242b}.breadcrumb{color:#adb3bd}.client-filter,.stack input,.field input,.field textarea,.field select,.search{background:#fff;border-color:#dfe2e7;color:#23272f}.btn.primary{background:var(--accent);color:#fff;box-shadow:0 7px 18px rgba(255,107,93,.17)}.btn.ghost,.small-btn{background:#fff;color:#555d69;border-color:#dfe2e7}.panel,.client-card,.content-card,.strategy-card,.workflow-card,.memory-card,.channel-card,.metric-card{background:#fff;border-color:var(--line);box-shadow:0 5px 18px rgba(20,24,32,.025)}.panel-empty{color:#8c94a0}.panel-empty b{color:#343a44}.modal-shell{background:#fff;border-color:#e0e3e7;color:#22262d}.modal-head,.modal-actions{border-color:#e6e8ec}.modal-head h3{color:#20242b}.modal-head small{color:var(--accent)}.field,.stack label{color:#626b78}.form-help{background:#fafafa;border-color:#e4e6ea;color:#697381}.tag{background:#f6f7f9;border-color:#e6e8ec;color:#717987}.toast{background:#252a33;color:#fff;border-color:#252a33}.text-link{color:#ef5c50}.status.scheduled,.status.active,.status.published{background:#ecf8f2;color:#297c58}.status.draft,.status.idea{background:#f0f1ff;color:#6258d7}.status.paused{background:#fff5df;color:#9b6917}
.neo-kicker{display:inline-block;color:#ef6658;font-size:10px;font-weight:850;letter-spacing:.13em;margin-bottom:8px}.social-page-head,.video-editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.social-page-head h1,.video-editor-head h1{font-size:30px;letter-spacing:-.045em;margin:0;color:#181b20}.social-page-head p{color:#7d8591;margin:7px 0 0;font-size:13px}.header-actions,.hero-actions{display:flex;gap:9px;align-items:center}.social-hero{min-height:225px;border:1px solid #e5e6ea;border-radius:24px;padding:34px 36px;background:radial-gradient(circle at 86% 25%,rgba(255,107,93,.11),transparent 28%),linear-gradient(135deg,#fff,#fbfaf9);display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:0 8px 28px rgba(25,28,34,.035);margin-bottom:16px}.social-hero h1{font-size:38px;letter-spacing:-.055em;margin:0 0 10px}.social-hero p{max-width:700px;color:#6e7682;line-height:1.6;margin:0 0 20px}.autopilot-card{display:flex;gap:12px;align-items:center;border:1px solid #ffd8d2;background:#fff8f6;border-radius:16px;padding:16px 18px;min-width:240px}.autopilot-card small{display:block;color:#ac7b74;font-size:9px;letter-spacing:.1em;font-weight:800}.autopilot-card b{display:block;margin-top:4px;font-size:12px}.live-dot{width:10px;height:10px;border-radius:50%;background:#43b778;box-shadow:0 0 0 6px rgba(67,183,120,.1)}.social-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.social-stats>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px 18px}.social-stats span{color:#878e99;font-size:10px;font-weight:750}.social-stats strong{display:block;font-size:26px;margin:8px 0 2px;letter-spacing:-.04em}.social-stats small{font-size:10px;color:#a1a7b0}.social-home-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:14px}.neo-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 20px rgba(20,24,32,.025);overflow:hidden}.neo-card-head{padding:16px 18px;border-bottom:1px solid #eceef1;display:flex;justify-content:space-between;align-items:center;gap:12px}.neo-card-head h3{margin:0;font-size:14px}.neo-card-head p{margin:4px 0 0;color:#8a919c;font-size:10px}.approval-stack{padding:0 18px}.approval-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:13px;align-items:center;padding:17px 0;border-bottom:1px solid #eef0f2}.approval-row:last-child{border:0}.network-token{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-size:12px;font-weight:900;text-transform:uppercase;background:#f0f2f5;color:#606775;flex:none}.network-token.facebook,.channel-logo.facebook{background:#edf3ff;color:#3772d5}.network-token.instagram,.channel-logo.instagram{background:#f8eefb;color:#a257af}.network-token.youtube,.channel-logo.youtube{background:#fff0f0;color:#d84b4b}.approval-copy small,.post-meta{color:#959ca6;font-size:9px}.approval-copy h4{margin:5px 0 4px;font-size:13px}.approval-copy p{margin:0;color:#737b86;font-size:11px;line-height:1.45}.approval-actions{display:flex;gap:7px}.clean-empty{padding:48px 20px;text-align:center;color:#9198a3;display:grid;gap:5px}.clean-empty.small{padding:22px 10px}.clean-empty b{color:#414650}.strategy-summary{padding-bottom:15px}.strategy-focus{padding:20px}.strategy-focus span{font-size:9px;font-weight:800;color:#a5abb4;letter-spacing:.1em}.strategy-focus strong{display:block;font-size:18px;margin:6px 0 8px}.strategy-focus p{font-size:11px;color:#777f8a;line-height:1.5}.strategy-mini{padding:0 20px 18px;display:grid;gap:7px}.strategy-mini span{font-size:10px;padding:9px 10px;border-radius:9px;background:#f7f7f8;color:#646c77}.channel-health{border-top:1px solid #eceef1;padding:14px 20px;display:grid;gap:10px}.channel-health>div{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px}.channel-health .network-token{width:28px;height:28px}.channel-health b{font-size:11px}.channel-health small{font-size:9px;color:#959ca7}
.social-tabs{display:flex;gap:7px;margin-bottom:14px}.social-tabs button{border:1px solid #e1e3e7;background:#fff;color:#757d88;padding:8px 12px;border-radius:10px;font-size:11px;font-weight:700}.social-tabs button.active{border-color:#ffd1cb;background:#fff3f1;color:#d95649}.post-queue{display:grid;gap:10px}.post-queue-card{background:#fff;border:1px solid #e4e6e9;border-radius:17px;padding:16px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:13px;align-items:start}.post-main h3{margin:6px 0 7px;font-size:15px}.post-main p{margin:0 0 9px;color:#6f7782;line-height:1.55;font-size:12px}.post-main>small{color:#9aa0aa;font-size:9px}.post-meta{display:flex;align-items:center;gap:6px}.queue-status{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f1f2f4;color:#6f7782;font-size:8px;text-transform:uppercase;font-weight:800}.queue-status.ready,.queue-status.done{background:#eaf8f1;color:#34805d}.queue-status.rendering,.queue-status.scheduled{background:#fff3df;color:#99691c}.post-actions{display:flex;gap:7px}.btn.compact{padding:8px 10px;font-size:10px}
.calendar-shell{padding:14px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.calendar-weekdays span{text-align:center;color:#9299a4;font-size:9px;font-weight:800;padding:8px}.calendar-cell{min-height:116px;border-top:1px solid #eceef1;border-left:1px solid #eceef1;padding:9px;background:#fff}.calendar-cell:nth-child(7n){border-right:1px solid #eceef1}.calendar-grid .calendar-cell:nth-last-child(-n+7){border-bottom:1px solid #eceef1}.calendar-cell>b{font-size:11px}.calendar-cell.today>b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ff6b5d;color:#fff}.muted-day{background:#fafafa}.calendar-event{width:100%;border:0;margin-top:6px;border-radius:7px;padding:6px 7px;font-size:9px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f4f5f7;color:#59606b}.calendar-event.facebook{background:#eff4ff}.calendar-event.youtube{background:#fff1f1}.calendar-event.instagram{background:#faf0fb}.calendar-event span{margin-right:4px}
.media-layout{display:grid;grid-template-columns:275px 1fr;gap:14px}.media-folders{padding:14px;height:max-content}.media-folders>h3{font-size:13px;margin:3px 5px 12px}.folder-row{width:100%;border:0;background:transparent;border-radius:11px;padding:10px;display:grid;grid-template-columns:28px 1fr 22px;align-items:center;gap:7px;text-align:left;color:#555d68}.folder-row:hover,.folder-row.active{background:#fff3f1;color:#2f333a}.folder-row>span{font-size:16px;color:#9a7a73}.folder-row b{display:block;font-size:11px}.folder-row small{display:block;font-size:9px;color:#9ca2ab;margin-top:2px}.folder-row i{font-style:normal;text-align:center;color:#afb4bc}.drive-box{margin-top:16px;border-top:1px solid #eceef1;padding:15px 8px 3px;display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center}.drive-box>span{width:30px;height:30px;border-radius:9px;background:#f1f3f6;display:grid;place-items:center;font-weight:900}.drive-box b{font-size:10px;display:block}.drive-box small{font-size:8px;color:#9aa1aa}.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.media-asset{position:relative;background:#fff;border:1px solid #e4e6e9;border-radius:15px;overflow:hidden}.media-asset video,.media-asset img,.file-tile{width:100%;aspect-ratio:16/10;object-fit:cover;background:#eff1f4}.file-tile{display:grid;place-items:center;color:#808894;font-weight:800}.media-asset>div:not(.file-tile){padding:10px}.media-asset b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-asset small{font-size:8px;color:#9ba1aa}.media-asset>button{position:absolute;right:7px;top:7px;width:25px;height:25px;border-radius:50%;border:1px solid #e2e4e8;background:rgba(255,255,255,.92);color:#6f7680}
.video-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.video-project-card{position:relative;border:1px solid #e3e5e9;border-radius:18px;background:#fff;overflow:hidden;cursor:pointer}.video-project-card>video,.video-placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;background:#1d2026}.video-placeholder{display:grid;place-items:center;align-content:center;color:#fff;gap:6px}.video-placeholder span{font-size:28px}.video-placeholder small{color:#aeb4bd}.video-project-info{padding:14px}.video-project-info h3{margin:9px 0 4px;font-size:14px}.video-project-info p{margin:0;color:#9299a3;font-size:9px}.video-delete{position:absolute;right:9px;top:9px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:#656c76}.video-editor-head{align-items:center}.video-editor-head h1{font-size:23px}.render-state{font-size:10px;font-weight:800;padding:7px 9px;border-radius:999px;background:#f1f2f4;color:#727985}.render-state.done,.render-state.ready{background:#eaf8f1;color:#2f8059}.render-state.running,.render-state.queued{background:#fff2dc;color:#97691d}.video-editor-layout{display:grid;grid-template-columns:minmax(0,1.4fr) 320px;gap:14px;margin-bottom:14px}.video-preview-panel{padding:14px}.video-preview{background:#17191e;border-radius:15px;display:grid;place-items:center;overflow:hidden;max-height:520px;margin:auto}.video-preview[class~="16-9"]{aspect-ratio:16/9}.video-preview[class~="9-16"]{aspect-ratio:9/16;max-width:300px}.video-preview[class~="1-1"]{aspect-ratio:1}.video-preview video{width:100%;height:100%;object-fit:contain}.preview-empty{color:#fff;display:grid;place-items:center;gap:7px}.preview-empty span{font-size:28px}.preview-empty small{color:#a8afb9}.render-progress{height:5px;background:#edf0f2;border-radius:999px;overflow:hidden;margin-top:12px}.render-progress>div{height:100%;background:#ff6b5d;transition:.3s}.video-source-panel{padding:18px;height:max-content}.video-source-panel h3{margin:0 0 7px}.video-source-panel p{font-size:10px;color:#838b96;line-height:1.5}.video-source-panel select,.overlay-form select,.overlay-form input,.overlay-form textarea,.clip-fields input,.clip-fields select{width:100%;border:1px solid #e0e3e7;background:#fff;border-radius:9px;padding:9px;color:#333942}.video-source-panel select{margin:12px 0 9px}.video-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) 350px;gap:14px}.clip-list{padding:0 16px}.clip-row{display:grid;grid-template-columns:28px 110px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #eef0f2}.clip-row video{width:110px;height:66px;border-radius:9px;object-fit:cover;background:#1c1f24}.clip-index{width:26px;height:26px;border-radius:8px;background:#f4f5f7;display:grid;place-items:center;font-size:9px;font-weight:800}.clip-copy>b{font-size:10px}.clip-copy>small{display:block;color:#969da7;font-size:8px;margin-top:3px}.clip-fields{display:grid;grid-template-columns:80px 80px 110px;gap:6px;margin-top:8px}.clip-fields label{font-size:8px;color:#969da7}.clip-fields input,.clip-fields select{padding:6px;font-size:9px;margin-top:3px}.clip-actions{display:grid;grid-template-columns:repeat(2,28px);gap:4px}.clip-actions button{border:1px solid #e1e3e6;background:#fff;border-radius:7px;height:27px;color:#6e7580}.clip-actions button:last-child{grid-column:1/3;color:#bd5a50}.overlay-panel{height:max-content}.overlay-list{padding:12px 14px;display:grid;gap:7px}.overlay-chip{display:grid;grid-template-columns:1fr 24px;gap:7px;align-items:center;background:#f7f8f9;border-radius:9px;padding:8px 9px}.overlay-chip b{font-size:9px;display:block}.overlay-chip small{font-size:8px;color:#969da6}.overlay-chip button{border:0;background:transparent;color:#9b6160}.overlay-form{border-top:1px solid #eceef1;padding:14px;display:grid;gap:8px}.overlay-form textarea{min-height:70px;resize:vertical}.overlay-time{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.goal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:26px}.goal-card{border:1px solid #e3e5e9;background:#fff;border-radius:17px;padding:20px 16px;text-align:left;color:#343941;transition:.18s}.goal-card:hover{border-color:#ffc9c2;box-shadow:0 10px 28px rgba(255,107,93,.08);transform:translateY(-2px)}.goal-card>span{width:34px;height:34px;border-radius:11px;background:#fff1ef;color:#e75d50;display:grid;place-items:center;font-weight:900}.goal-card b{display:block;font-size:14px;margin:13px 0 4px}.goal-card small{color:#9299a4;font-size:9px;line-height:1.4}.neo-section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.neo-section-title h2{font-size:17px}.strategy-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.channel-connect-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.channel-connect-card{background:#fff;border:1px solid #e3e5e9;border-radius:18px;padding:18px;display:grid;grid-template-columns:44px 1fr auto;gap:13px;align-items:center}.channel-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-weight:900}.channel-logo.drive{background:#f2f4f7;color:#5572b5}.channel-connect-card h3{font-size:13px;margin:0 0 4px}.channel-connect-card p{margin:0;color:#858d98;font-size:10px}.integration-state{display:inline-block;margin-top:8px;font-size:8px;font-weight:800;padding:4px 7px;border-radius:999px}.integration-state.off{background:#f2f3f5;color:#9299a3}.integration-state.ready{background:#fff3df;color:#966a22}.integration-state.ok{background:#eaf8f1;color:#367d5e}.integration-note{padding:17px 18px;margin-top:14px}.integration-note b{font-size:11px}.integration-note p{font-size:10px;color:#858d98;line-height:1.55}.integration-setup h3{margin:0 0 8px}.integration-setup p{color:#737b86;font-size:11px;line-height:1.6}.setup-code{padding:12px;background:#f4f5f7;border-radius:9px;font-family:ui-monospace,monospace;font-size:10px;margin-top:12px}
@media(max-width:1200px){.media-grid{grid-template-columns:repeat(3,1fr)}.goal-grid{grid-template-columns:repeat(3,1fr)}.video-project-grid{grid-template-columns:repeat(2,1fr)}.video-workspace{grid-template-columns:1fr}.overlay-panel{order:-1}.social-home-grid{grid-template-columns:1fr}.social-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.social-hero{padding:24px;align-items:flex-start;flex-direction:column}.social-hero h1{font-size:31px}.autopilot-card{width:100%}.social-page-head,.video-editor-head{align-items:flex-start;flex-direction:column}.header-actions{width:100%}.media-layout,.video-editor-layout{grid-template-columns:1fr}.media-folders{position:static}.media-grid{grid-template-columns:repeat(2,1fr)}.video-project-grid,.strategy-list,.channel-connect-grid{grid-template-columns:1fr}.goal-grid{grid-template-columns:repeat(2,1fr)}.post-queue-card{grid-template-columns:36px 1fr}.post-actions{grid-column:2}.approval-row{grid-template-columns:34px 1fr}.approval-actions{grid-column:2}.calendar-cell{min-height:90px}.calendar-event{font-size:0;height:10px;padding:0}.clip-row{grid-template-columns:24px 80px 1fr}.clip-row video{width:80px;height:54px}.clip-actions{grid-column:3;display:flex}.clip-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){.media-grid{grid-template-columns:1fr 1fr}.goal-grid{grid-template-columns:1fr 1fr}.social-stats{grid-template-columns:1fr 1fr}.social-hero{padding:20px}.social-hero h1{font-size:27px}.clip-row{grid-template-columns:24px 1fr}.clip-row video{grid-column:2;width:100%;height:120px}.clip-copy{grid-column:2}.clip-actions{grid-column:2}.calendar-cell{min-height:68px;padding:5px}.calendar-cell>b{font-size:9px}}
.goal-actions{display:flex;gap:6px;margin-top:16px}.goal-actions button{flex:1}.strategy-autopilot-note{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;padding:15px 17px;margin:-10px 0 20px}.strategy-autopilot-note b{font-size:11px}.strategy-autopilot-note p{font-size:10px;color:#858d98;line-height:1.5;margin:4px 0 0}.drive-action{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}.connected-accounts{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.connected-accounts span{display:inline-flex;gap:5px;align-items:center;padding:4px 7px;background:#f5f6f8;border-radius:8px;font-size:8px}.connected-accounts button{border:0;background:transparent;color:#a06b67;padding:0}.channel-coming{opacity:.85}

/* Automation Library */
.automation-library-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.automation-library-head h1{font-size:32px;line-height:1.05;margin:5px 0 8px}.automation-library-head p{margin:0;color:#6c7280;max-width:760px;font-size:14px}.automation-template-section,.automation-owned-section{margin-bottom:30px}.automation-section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.automation-section-title h2{font-size:18px;margin:0 0 3px}.automation-section-title p{font-size:12px;color:#8b9099;margin:0}.automation-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.automation-template-card{background:#fff;border:1px solid #e7e5e8;border-radius:18px;padding:18px;min-height:250px;display:flex;flex-direction:column;box-shadow:0 8px 26px rgba(28,25,31,.035);position:relative;overflow:hidden}.automation-template-card:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:#ff6a5d}.automation-template-card.accent-blue:before{background:#5d79ff}.automation-template-card.accent-red:before{background:#ff5b63}.automation-template-card.accent-green:before{background:#41b978}.automation-template-card.accent-purple:before{background:#865ef5}.automation-template-icon{width:42px;height:42px;border:1px solid #ece8eb;background:#faf9fa;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:17px;margin-bottom:14px}.automation-template-copy{flex:1}.automation-template-copy>small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#9a929c;font-weight:750}.automation-template-copy h3{font-size:16px;margin:6px 0 8px}.automation-template-copy p{font-size:12px;line-height:1.6;color:#6d6871;margin:0}.automation-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.automation-tags span{font-size:9px;font-weight:700;padding:5px 8px;border-radius:99px;background:#f6f4f6;color:#6f6871}.automation-template-foot{border-top:1px solid #f0edf0;margin-top:16px;padding-top:13px;display:flex;align-items:center;justify-content:space-between}.automation-template-foot>span{font-size:10px;color:#9b959e}.automation-owned-list{display:grid;gap:8px}.automation-owned-row{background:#fff;border:1px solid #e8e5e9;border-radius:13px;padding:12px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:12px;align-items:center}.automation-owned-row h3{font-size:13px;margin:0 0 3px}.automation-owned-row p{font-size:10px;color:#88818a;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.automation-status-dot{width:9px;height:9px;border-radius:50%;background:#b7b1b8}.automation-status-dot.on{background:#38b879;box-shadow:0 0 0 4px #e9f8f0}.automation-state-pill{font-size:9px;padding:5px 8px;border-radius:99px;background:#f3f1f3;color:#817a83}.automation-state-pill.on{background:#eaf8f0;color:#278056}.automation-delete{border:0;background:transparent;color:#aaa1aa;font-size:18px;cursor:pointer}.automation-delete:hover{color:#e45454}.automation-back-btn{border:1px solid #e3dfe4;background:#fff;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:700;color:#5f5861;cursor:pointer;margin-right:10px}.workflow-title-area{display:flex;align-items:center}.template-editor .workflow-palette{overflow:auto}.automation-node-summary{display:flex;align-items:center;gap:10px;padding:4px 0 16px;border-bottom:1px solid #eee9ee}.automation-node-summary .wf-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;border:1px solid #e5e0e5}.automation-node-summary b{display:block;font-size:12px}.automation-node-summary small{display:block;margin-top:3px;color:#918992;font-size:9px}.automation-config-stack{display:grid;gap:12px;padding:16px 0}.automation-config-field{display:grid;gap:6px}.automation-config-field>span{font-size:10px;font-weight:700;color:#69626b}.automation-config-field input,.automation-config-field select{width:100%;border:1px solid #ded9df;background:#fff;border-radius:8px;padding:9px 10px;font-size:11px;outline:none}.automation-config-field input:focus,.automation-config-field select:focus{border-color:#ff7668;box-shadow:0 0 0 3px #fff0ed}.automation-switch-row{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #e9e4e9;border-radius:10px;padding:12px}.automation-switch-row b{font-size:11px}.automation-switch-row small{display:block;font-size:9px;color:#8e8790;margin-top:3px}.automation-switch-row input{width:18px;height:18px}.automation-config-note{font-size:10px;color:#837b85;line-height:1.5;background:#f8f6f8;border:1px solid #ece8ec;border-radius:9px;padding:10px}.automation-config-note.strong{margin-top:6px;color:#645d66}.automation-node-summary .tone-ai{background:#fff7df;color:#9b731a;border-color:#f3e2af}.automation-node-summary .tone-logic{background:#eef8f1;color:#318556;border-color:#d6ecdc}.automation-node-summary .tone-source{background:#fff2ee;color:#e05b46;border-color:#ffd8cf}.automation-node-summary .tone-action{background:#f0efff;color:#6657d8;border-color:#dcd8ff}@media(max-width:1100px){.automation-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.automation-template-grid{grid-template-columns:1fr}.automation-owned-row{grid-template-columns:auto minmax(0,1fr) auto}.automation-owned-row .automation-state-pill{display:none}.automation-owned-row .small-btn{grid-column:2}.automation-delete{grid-column:3;grid-row:1 / span 2}.automation-library-head h1{font-size:26px}}

/* NEO Delight System · premium interaction layer */
:root{--neo-coral:#ff695c;--neo-coral-2:#ff8a72;--neo-violet:#7a6df6;--neo-green:#39b97a;--neo-ink:#17191f;--neo-soft:#f6f7fa;--neo-glow:0 18px 55px rgba(255,105,92,.16);--neo-ease:cubic-bezier(.2,.8,.2,1)}
*{-webkit-tap-highlight-color:transparent}body{background:radial-gradient(circle at 82% -10%,rgba(122,109,246,.055),transparent 28%),radial-gradient(circle at 34% -15%,rgba(255,105,92,.07),transparent 30%),#f6f7f9}.page{animation:neoPageIn .42s var(--neo-ease) both}.sidebar{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(22px);box-shadow:18px 0 55px rgba(25,24,32,.035)!important}.sidebar .brand{font-size:14px;letter-spacing:-.025em}.brand-mark{background:linear-gradient(145deg,#ff8a72,#ff5f55)!important;box-shadow:0 9px 26px rgba(255,105,92,.27)!important;transition:transform .25s var(--neo-ease),box-shadow .25s var(--neo-ease)}.brand:hover .brand-mark{transform:rotate(-7deg) scale(1.08);box-shadow:0 14px 34px rgba(255,105,92,.34)!important}.workspace{background:linear-gradient(135deg,#fff8f6,#fff)!important;border-color:#ffe5df!important;box-shadow:inset 0 1px rgba(255,255,255,.8)}
.nav-item{position:relative;overflow:hidden;transition:transform .18s var(--neo-ease),background .18s,color .18s}.nav-item:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,105,92,.10),transparent);opacity:0;transform:translateX(-20%);transition:.24s var(--neo-ease)}.nav-item:hover{transform:translateX(3px)}.nav-item:hover:before,.nav-item.active:before{opacity:1;transform:none}.nav-item.active{background:#fff3f1!important;box-shadow:inset 3px 0 var(--neo-coral),0 6px 18px rgba(255,105,92,.06)!important}.nav-item.active .nav-icon{transform:scale(1.12)}.nav-icon{transition:transform .2s var(--neo-ease)}
.topbar{background:rgba(255,255,255,.82)!important;backdrop-filter:blur(24px) saturate(1.2)!important;border-bottom:1px solid rgba(225,227,232,.8)!important;box-shadow:0 8px 30px rgba(29,28,36,.035)!important}.topbar h2{font-weight:780;letter-spacing:-.035em}.avatar{background:linear-gradient(145deg,#fff,#f2f3f6)!important;box-shadow:0 4px 14px rgba(35,34,43,.08);transition:.2s var(--neo-ease)}.avatar:hover{transform:translateY(-2px) rotate(2deg)}
.btn,.small-btn,.save-btn,.run-btn,.automation-back-btn{position:relative;overflow:hidden;transition:transform .16s var(--neo-ease),box-shadow .2s var(--neo-ease),border-color .2s,background .2s!important}.btn:hover,.small-btn:hover,.save-btn:hover,.run-btn:hover,.automation-back-btn:hover{transform:translateY(-2px)}.btn:active,.small-btn:active,.save-btn:active,.run-btn:active,.automation-back-btn:active{transform:translateY(0) scale(.975)!important}.btn.primary,.run-btn{background:linear-gradient(135deg,#ff7b69,#ff5e56)!important;border:0!important;box-shadow:0 9px 22px rgba(255,95,83,.23)!important}.btn.primary:hover,.run-btn:hover{box-shadow:0 13px 30px rgba(255,95,83,.31)!important;filter:saturate(1.03)}.btn.primary:disabled,.run-btn:disabled{box-shadow:none!important;opacity:.55}.save-btn,.small-btn,.btn.ghost,.automation-back-btn{box-shadow:0 3px 10px rgba(28,27,34,.035)}
.neo-kicker{font-size:9px!important;letter-spacing:.16em!important;background:linear-gradient(90deg,#e85a50,#7a6df6);-webkit-background-clip:text;background-clip:text;color:transparent!important}.automation-library-head{position:relative;min-height:210px;align-items:center!important;margin:-2px 0 28px!important;padding:32px 34px;border:1px solid #e9e8ed;border-radius:28px;background:radial-gradient(circle at 88% 15%,rgba(122,109,246,.16),transparent 28%),radial-gradient(circle at 76% 85%,rgba(255,105,92,.15),transparent 30%),linear-gradient(135deg,#fff,#fbfbfe);box-shadow:0 18px 60px rgba(31,29,40,.07);overflow:hidden}.automation-library-head:before,.automation-library-head:after{content:"";position:absolute;border-radius:50%;filter:blur(.2px);pointer-events:none}.automation-library-head:before{width:150px;height:150px;right:80px;top:-80px;border:1px solid rgba(122,109,246,.14);box-shadow:0 0 0 26px rgba(122,109,246,.035),0 0 0 54px rgba(122,109,246,.02)}.automation-library-head:after{width:80px;height:80px;right:220px;bottom:-45px;background:linear-gradient(135deg,rgba(255,105,92,.18),rgba(255,255,255,0))}.automation-library-head>div{position:relative;z-index:2}.automation-library-head h1{font-size:42px!important;line-height:1.02!important;letter-spacing:-.06em!important;max-width:760px}.automation-library-head h1 em{font-style:normal;background:linear-gradient(90deg,#ff675b,#826ef6);-webkit-background-clip:text;background-clip:text;color:transparent}.automation-library-head p{font-size:14px!important;line-height:1.65;max-width:690px!important}.automation-hero-proof{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.automation-hero-proof span{padding:7px 10px;border:1px solid #ebe8ef;border-radius:999px;background:rgba(255,255,255,.78);box-shadow:0 4px 14px rgba(29,27,36,.035);font-size:9px;font-weight:760;color:#66606d;backdrop-filter:blur(8px)}
.automation-section-title{margin-bottom:14px!important}.automation-section-title h2{font-size:20px!important;letter-spacing:-.035em}.automation-library-count{font-size:9px;font-weight:800;color:#7e7682;background:#fff;border:1px solid #e6e3e9;border-radius:999px;padding:6px 9px;box-shadow:0 4px 12px rgba(34,31,40,.035)}.automation-template-grid{gap:16px!important}.automation-template-card{isolation:isolate;min-height:305px!important;border-radius:22px!important;padding:19px!important;border-color:#e9e6eb!important;box-shadow:0 12px 36px rgba(35,31,42,.055)!important;transform:translateZ(0);transition:transform .28s var(--neo-ease),box-shadow .28s var(--neo-ease),border-color .28s!important}.automation-template-card:before{height:0!important}.automation-template-card:after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at var(--mx,85%) var(--my,8%),rgba(255,105,92,.13),transparent 34%);opacity:.62;pointer-events:none;z-index:-1}.automation-template-card.accent-blue:after{background:radial-gradient(circle at var(--mx,85%) var(--my,8%),rgba(93,121,255,.15),transparent 34%)}.automation-template-card.accent-red:after{background:radial-gradient(circle at var(--mx,85%) var(--my,8%),rgba(255,91,99,.14),transparent 34%)}.automation-template-card.accent-green:after{background:radial-gradient(circle at var(--mx,85%) var(--my,8%),rgba(65,185,120,.15),transparent 34%)}.automation-template-card.accent-purple:after{background:radial-gradient(circle at var(--mx,85%) var(--my,8%),rgba(134,94,245,.15),transparent 34%)}.automation-template-card:hover{transform:translateY(-7px) scale(1.012);border-color:#ddd8e1!important;box-shadow:0 24px 60px rgba(38,32,45,.12)!important}.automation-template-card.is-featured{border-color:#ffd5cf!important;box-shadow:0 14px 42px rgba(255,105,92,.10)!important}.automation-template-top{display:flex;align-items:center;justify-content:space-between}.automation-template-icon{width:48px!important;height:48px!important;border-radius:15px!important;background:rgba(255,255,255,.9)!important;box-shadow:0 8px 22px rgba(34,31,40,.075);transition:transform .28s var(--neo-ease),box-shadow .28s}.automation-template-card:hover .automation-template-icon{transform:rotate(-4deg) scale(1.08);box-shadow:0 12px 30px rgba(34,31,40,.11)}.automation-popular{font-size:8px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;color:#e45b4f;background:#fff1ef;border:1px solid #ffd9d3;padding:5px 8px;border-radius:999px}.automation-template-copy h3{font-size:18px!important;letter-spacing:-.035em;margin-top:8px!important}.automation-template-copy p{font-size:11px!important;line-height:1.62!important}.automation-tags span{background:#f6f5f8!important;border:1px solid #eeebf0;color:#716a75!important}.automation-template-foot{position:relative;z-index:2}.automation-template-foot>span{font-size:9px!important}.automation-template-foot>span b{color:#353039}.automation-template-foot .btn b{font-size:14px;margin-left:3px}.automation-card-orb{position:absolute;width:90px;height:90px;right:-45px;bottom:-40px;border-radius:50%;background:rgba(255,105,92,.06);transition:transform .35s var(--neo-ease)}.automation-template-card:hover .automation-card-orb{transform:scale(1.7)}
.automation-mini-flow{display:flex;align-items:center;gap:5px;margin:15px 0 3px;padding:11px 10px;border:1px solid #ece9ee;border-radius:13px;background:rgba(249,248,251,.82);overflow:hidden}.automation-mini-step{min-width:0;display:flex;align-items:center;gap:5px}.automation-mini-step span{width:24px;height:24px;border-radius:8px;background:#fff;display:grid;place-items:center;border:1px solid #e6e2e8;color:#655e69;box-shadow:0 3px 9px rgba(30,27,35,.035)}.automation-mini-step span svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.automation-mini-step span .automation-brand-img{width:14px;height:14px;object-fit:contain}.automation-mini-step b{font-size:8px;white-space:nowrap;color:#625b65}.automation-mini-flow>i{font-style:normal;color:#bbb4be;font-size:10px}.automation-template-card:hover .automation-mini-flow>i{animation:neoArrowPulse .8s var(--neo-ease) infinite alternate}.automation-template-icon .automation-brand-img{width:29px;height:29px;object-fit:contain;display:block}.automation-template-icon img[src*="neo-icon"]{width:31px;height:31px}.automation-template-icon img[src*="youtube"]{width:31px;height:31px}.automation-template-icon img[src*="googledrive"]{width:30px;height:30px}.automation-template-icon img[src*="woocommerce"]{width:31px;height:31px}.automation-template-card:hover .automation-brand-img{filter:saturate(1.08)}
.automation-owned-list{gap:10px!important}.automation-owned-row{border-radius:16px!important;padding:14px 16px!important;box-shadow:0 6px 20px rgba(31,28,37,.035);transition:.2s var(--neo-ease)}.automation-owned-row:hover{transform:translateY(-2px);border-color:#ddd8e0;box-shadow:0 12px 28px rgba(31,28,37,.07)}.automation-status-dot.on{animation:neoStatusPulse 2.1s ease-in-out infinite}.automation-state-pill.on{box-shadow:inset 0 0 0 1px rgba(56,184,121,.08)}
.workflow-editor{border-radius:18px!important;border-color:#e4e1e6!important;box-shadow:0 16px 50px rgba(33,29,40,.07)!important}.workflow-canvas{background-color:#fbfafc!important;background-image:radial-gradient(circle,#d8d3dc 1px,transparent 1px)!important;background-size:20px 20px!important}.workflow-canvas:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 20%,rgba(122,109,246,.035),transparent 40%)}.wf-node{border-radius:13px!important;border-color:#ddd8e0!important;box-shadow:0 7px 20px rgba(38,33,45,.08)!important;transition:transform .2s var(--neo-ease),box-shadow .2s,border-color .2s!important}.wf-node:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(38,33,45,.12)!important}.wf-node.selected{transform:translateY(-2px) scale(1.015);border-color:#ff7b6c!important;box-shadow:0 0 0 4px rgba(255,105,92,.10),0 18px 38px rgba(255,105,92,.14)!important}.wf-node.selected .wf-icon{animation:neoIconPop .34s var(--neo-ease)}.wf-port{transition:.2s}.wf-node:hover .wf-port,.wf-node.selected .wf-port{transform:translateY(-50%) scale(1.18)}.workflow-lines path{stroke:#bcb6c1!important;stroke-width:2!important;stroke-dasharray:7 6;animation:neoFlowDash 2.2s linear infinite}.workflow-inspector{background:linear-gradient(180deg,#fff,#fdfcfd)!important}.inspector-head{background:rgba(255,255,255,.82);backdrop-filter:blur(14px)}.automation-config-field input:focus,.automation-config-field select:focus,.inspector-field input:focus,.inspector-field select:focus,.inspector-field textarea:focus{border-color:#ff8b7e!important;box-shadow:0 0 0 4px rgba(255,105,92,.09)!important}.automation-switch-row{transition:.2s var(--neo-ease)}.automation-switch-row:has(input:checked){border-color:#cfe9da;background:#f4fbf7;box-shadow:0 5px 15px rgba(57,185,122,.06)}
.toast{border-radius:14px!important;padding:13px 16px!important;background:rgba(31,31,38,.94)!important;backdrop-filter:blur(16px);box-shadow:0 16px 42px rgba(0,0,0,.22)!important}.toast.show{animation:neoToastPop .34s var(--neo-ease)}.toast:not(.error):before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:#3fb879;color:#fff;font-size:10px;font-weight:900}.toast.error:before{content:"!";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:#e35b67;color:#fff;font-size:10px;font-weight:900}.btn-spinner{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;display:inline-block;vertical-align:-2px;margin-right:6px;animation:neoSpin .7s linear infinite}
.neo-click-ripple{position:absolute;border-radius:50%;pointer-events:none;background:rgba(255,255,255,.42);transform:translate(-50%,-50%) scale(0);animation:neoRipple .52s ease-out forwards;z-index:5}.save-btn .neo-click-ripple,.small-btn .neo-click-ripple,.btn.ghost .neo-click-ripple{background:rgba(255,105,92,.16)}
@keyframes neoPageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes neoArrowPulse{to{transform:translateX(3px);color:#ff6a5d}}@keyframes neoStatusPulse{0%,100%{box-shadow:0 0 0 4px #e9f8f0}50%{box-shadow:0 0 0 7px rgba(56,184,121,.08)}}@keyframes neoIconPop{0%{transform:scale(.86)}70%{transform:scale(1.12)}100%{transform:scale(1)}}@keyframes neoFlowDash{to{stroke-dashoffset:-26}}@keyframes neoToastPop{0%{transform:translateY(14px) scale(.96);opacity:0}100%{transform:none;opacity:1}}@keyframes neoRipple{to{transform:translate(-50%,-50%) scale(1);opacity:0}}@keyframes neoSpin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
@media(max-width:900px){.automation-library-head{padding:25px 22px;min-height:180px}.automation-library-head h1{font-size:34px!important}.automation-template-card{min-height:285px!important}}
@media(max-width:560px){.automation-library-head{border-radius:20px;padding:22px 18px}.automation-library-head h1{font-size:30px!important}.automation-hero-proof{gap:5px}.automation-hero-proof span{font-size:8px}.automation-mini-flow{overflow-x:auto}.automation-template-card:hover{transform:none}.workflow-editor{border-radius:13px!important}}

/* Premium navigation icon system */
.nav-item{min-height:42px;gap:11px!important;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important}
.nav-item:hover{transform:translateX(2px)}
.nav-icon{width:28px!important;height:28px!important;flex:0 0 28px;display:grid!important;place-items:center;border-radius:9px;color:#99a0ad!important;transition:all .18s ease;background:transparent}
.nav-icon svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.nav-item:hover .nav-icon{color:#5f6672!important;background:#f5f3f7;transform:scale(1.04)}
.nav-item.active .nav-icon{color:#ff675a!important;background:linear-gradient(145deg,#fff1ee,#ffe9e5);box-shadow:inset 0 0 0 1px rgba(255,103,90,.13),0 5px 14px rgba(255,103,90,.10);transform:scale(1.05)}
.nav-item.active{font-weight:760!important}
.nav-item.active:before{content:"";position:absolute;left:0;width:3px;height:22px;border-radius:0 4px 4px 0;background:linear-gradient(#ff7a6d,#ff5e51);box-shadow:0 0 13px rgba(255,103,90,.25)}
#nav .nav-item{position:relative}
@media(max-width:820px){.nav-icon{width:30px!important;height:30px!important;flex-basis:30px}.nav-icon svg{width:18px;height:18px}}

/* NEO brand system */
.neo-brand-wrap{gap:0!important;align-items:center!important}
.neo-brand-logo{display:block;width:auto;height:auto;object-fit:contain;object-position:left center;user-select:none;-webkit-user-drag:none}
.neo-brand-logo--sidebar{width:142px;max-width:100%;height:auto}
.sidebar .neo-brand-wrap{padding:5px 9px 20px!important;min-height:49px}
.neo-brand-logo--login{width:176px;max-width:78%;height:auto}
.login-card .neo-brand-wrap{margin-bottom:2px}
@media(max-width:760px){.neo-brand-logo--sidebar{width:132px}.neo-brand-logo--login{width:154px}}

/* 2026-11-02: simplified production admin + truthful workflow states */
#nav>.nav-item:not([data-page="workflows"]),#nav>.nav-divider,#nav>.nav-sub{display:none!important}
#nav>.nav-item[data-page="workflows"]{display:flex!important}
.template-execution{font-weight:800!important;letter-spacing:.01em}.template-execution.real{color:#247a53!important;background:#eaf8f0;border:1px solid #d4efdf;border-radius:999px;padding:5px 8px}.template-execution.guided{color:#776b32!important;background:#fff8dd;border:1px solid #f0e4af;border-radius:999px;padding:5px 8px}
.automation-status-dot.live,.automation-status-dot.ready{background:#38b879;box-shadow:0 0 0 4px #e9f8f0}.automation-status-dot.live{animation:neoStatusPulse 2.1s ease-in-out infinite}.automation-status-dot.warn,.automation-status-dot.setup{background:#e6a23c;box-shadow:0 0 0 4px #fff5df}.automation-status-dot.configured{background:#8c83a7;box-shadow:0 0 0 4px #f0edf7}
.automation-state-pill.live,.automation-state-pill.ready{background:#eaf8f0;color:#278056}.automation-state-pill.warn,.automation-state-pill.setup{background:#fff5df;color:#93620f}.automation-state-pill.configured{background:#f0edf7;color:#655b7e}
.workflow-top-actions .automation-state-pill{display:inline-flex;align-items:center;min-height:32px;padding:7px 10px}
.product-flow-note b{color:#433c45}
@media(max-width:720px){#nav>.nav-item[data-page="workflows"]{display:flex!important}}

/* Google Ads management section visible next to automations */
#nav>.nav-item[data-page="googleads"]{display:flex!important}

/* NEO scan inspector: compact status first, advanced controls hidden by default */
.source-advanced-methods{margin:13px 0 0;border:1px solid #e8e5ec;border-radius:12px;background:#fff;overflow:hidden}
.source-advanced-methods>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:#6b6875;font-size:12px;font-weight:730;padding:13px 14px;list-style:none;line-height:1.4}
.source-advanced-methods>summary::-webkit-details-marker{display:none}
.source-advanced-methods>summary:after{content:'⌄';font-size:16px;font-weight:700;transition:transform .16s;opacity:.65}
.source-advanced-methods[open]>summary:after{transform:rotate(180deg)}
.source-advanced-methods[open]>summary{border-bottom:1px solid #efedf2;color:#40404a}
.source-advanced-inner{padding:11px}
.source-advanced-inner>.source-feed-panel{margin:0 0 8px!important}
.source-advanced-inner>.source-feed-panel:last-child{margin-bottom:0!important}
.scan-console:not([open]){margin-bottom:11px!important;max-height:none!important}
.scan-console:not([open])>summary{min-height:52px!important}
.scan-console:not([open]) .scan-console-actions button{display:none}
.scan-console:not([open])>summary span small{font-size:10px;opacity:.7}
.source-scanner-required{margin:12px 0 14px;padding:15px;border:1px solid #cbdcf4;border-radius:14px;background:linear-gradient(145deg,#f7fbff,#fff);display:flex;flex-direction:column;gap:10px}
.source-scanner-required b{font-size:13px;font-weight:800;color:#355176;display:block;margin-bottom:4px;line-height:1.4}
.source-scanner-required small{font-size:11px;color:#75849c;display:block;line-height:1.6}
.source-scanner-actions{display:flex;gap:7px;flex-wrap:wrap}
.source-scanner-actions .save-btn{border-radius:10px;min-height:39px;padding:9px 11px;font-size:11px;text-decoration:none;flex:1;min-width:0;display:inline-flex;justify-content:center;align-items:center;white-space:normal;text-align:center}
.source-scanner-actions .save-btn:hover{text-decoration:none}
.source-brief-error{margin:8px 0!important;padding:13px!important}
.source-brief-error b{display:block;font-size:12px;color:#9c6556;font-weight:770}
.source-brief-error small{display:block;font-size:11px;line-height:1.55;color:#8c8090;margin-top:5px}
@media(max-width:500px){.source-scanner-actions{flex-direction:column}.source-scanner-actions .save-btn{flex:auto;width:100%}.source-advanced-methods>summary{font-size:11px}}

/* Product scan: discovered categories and verified product counts */
.catalog-note{margin:11px 0 13px;padding:12px 13px;background:#f8fbff;border:1px solid #e1ebf8;border-radius:11px;color:#62728b;font-size:11px;line-height:1.55}
.publish-category-group>summary strong{font-size:10px;line-height:1.4;white-space:normal;text-align:right;color:#7b7183;max-width:123px}
.publish-category-group>summary{min-height:44px}
.publish-category-groups{min-height:0}
#authorizeWpFallbackLink{margin-top:9px;text-decoration:none;text-align:center}
@media(max-width:540px){.publish-category-group>summary strong{max-width:106px;font-size:10px}.catalog-note{font-size:11px}}
