.tp-app-shell{--tp-dark: var(--ink);--tp-ink: var(--ink);--tp-muted: var(--muted);--tp-soft: var(--surface-soft);--tp-line: var(--line);--tp-purple: var(--blue);--tp-purple-soft: var(--blue-soft);--tp-subtle: var(--subtle);min-height:100vh;color:var(--tp-ink);background:var(--bg);font-family:inherit}.tp-app-shell button,.tp-app-shell input,.tp-app-shell select,.tp-app-shell textarea{font:inherit}.tp-account-avatar{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:10px;color:#1e3a5f;background:var(--tp-purple-soft);font-size:12px;font-weight:850}.tiktok-publish-main{min-width:0;background:var(--bg)}.tp-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:100vh;margin-left:0}.tp-plan-column{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:22px 12px;border-right:1px solid var(--tp-line);background:#fff}.tp-column-title{display:flex;align-items:center;gap:12px;padding:0 8px 20px}.tp-title-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#fff;background:var(--blue)}.tp-column-title>span:last-child{display:grid}.tp-column-title small,.tp-plan-heading small,.tp-records-heading small,.tp-task-panel header small,.tp-auth-modal header small,.tp-wizard-header small{color:var(--blue);font-size:12px;font-weight:800;letter-spacing:0}.tp-column-title strong{font-size:18px}.tp-plan-tools{display:grid;grid-template-columns:1fr 40px;gap:10px;padding:0 8px}.tp-primary-button,.tp-dark-button,.tp-outline-button,.tp-square-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border-radius:8px;font-size:13px;font-weight:800}.tp-primary-button,.tp-dark-button{border:1px solid #1d4ed8;color:#fff;background:var(--blue)}.tp-outline-button,.tp-square-button{border:1px solid var(--tp-line);color:var(--tp-ink);background:#fff}.tp-square-button{width:auto;min-width:40px;padding:0 11px}.tp-primary-button:hover,.tp-dark-button:hover{background:#1d4ed8}.tp-primary-button:disabled,.tp-dark-button:disabled,.tp-outline-button:disabled,.tp-square-button:disabled{opacity:.55;cursor:not-allowed}.tp-search-field{display:flex;align-items:center;gap:9px;min-height:42px;margin:12px 8px;padding:0 12px;border:1px solid var(--tp-line);border-radius:10px;color:#8d9196}.tp-search-field input,.tp-record-filters input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:13px}.tp-plan-list{display:grid;gap:10px;min-height:0;overflow-y:auto;padding:0 0 18px}.tp-plan-card{position:relative;display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:start;width:100%;min-height:82px;padding:13px;border:1px solid transparent;border-radius:10px;color:var(--tp-ink);background:#fff;text-align:left}.tp-plan-card:hover{background:#fafafa}.tp-plan-card.is-active{border-color:#b7cffd;background:#eff5ff}.tp-plan-kind{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:#1d4ed8;background:var(--blue-soft)}.tp-plan-card-copy{min-width:0}.tp-plan-card-copy strong,.tp-plan-card-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tp-plan-card-copy strong{font-size:13px}.tp-plan-card-copy small{margin-top:4px;color:var(--tp-muted);font-size:12px}.tp-plan-card-copy i{display:block;width:100%;height:3px;margin-top:9px;overflow:hidden;border-radius:10px;background:#e7e5e1}.tp-plan-card-copy i b{display:block;height:100%;border-radius:inherit;background:var(--tp-purple)}.tp-status-badge{padding:4px 8px;border-radius:999px;color:#0f766e;background:var(--teal-soft);font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.tp-status-badge.is-running{color:#7a5b16;background:#fff1c6}.tp-status-badge.is-draft{color:#6b6e75;background:#eceeeb}.tp-detail-column{min-width:0;background:var(--bg)}.tp-detail-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;min-height:70px;padding:0 24px;border-bottom:1px solid var(--tp-line);background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.tp-tabs{align-self:stretch;display:flex;gap:22px}.tp-tabs button{position:relative;border:0;color:var(--tp-muted);background:transparent;font-size:13px;font-weight:800}.tp-tabs button.is-active{color:var(--tp-ink)}.tp-tabs button.is-active:after{position:absolute;right:0;bottom:0;left:0;height:2px;background:var(--tp-purple);content:""}.tp-header-actions{display:flex;align-items:center;gap:9px}.tp-safe-mode{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border-radius:999px;color:#0f766e;background:var(--teal-soft);font-size:12px;font-weight:800}.tp-detail-scroll,.tp-records{padding:24px}.tp-plan-heading,.tp-records-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.tp-plan-heading h1,.tp-records-heading h1{margin:3px 0 0;font-size:clamp(24px,2.3vw,34px);letter-spacing:-.04em}.tp-progress-banner{position:relative;display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;margin-top:14px;padding:18px 16px 20px;overflow:hidden;border:1px solid var(--tp-line);border-radius:14px}.tp-success-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#31856a;background:#e5f6ef}.tp-progress-banner div{display:grid;gap:2px}.tp-progress-banner small{color:var(--blue);font-size:12px;font-weight:800}.tp-progress-banner strong{font-size:15px}.tp-progress-banner p{margin:3px 0 0;color:var(--tp-muted);font-size:12px}.tp-progress-count{color:#0f766e;font-size:12px;font-weight:800}.tp-progress-banner>i{position:absolute;right:16px;bottom:12px;left:16px;height:3px;overflow:hidden;border-radius:10px;background:#eceae6}.tp-progress-banner>i b{display:block;height:100%;background:var(--blue)}.tp-plan-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:13px;border:1px solid var(--tp-line);border-radius:14px}.tp-plan-stats>div{display:grid;gap:4px;min-height:74px;padding:15px;border-right:1px solid var(--tp-line)}.tp-plan-stats>div:last-child{border-right:0}.tp-plan-stats small{color:var(--tp-muted);font-size:12px}.tp-plan-stats strong{font-size:13px}.tp-plan-stats span{color:var(--tp-muted);font-size:11px}.tp-task-panel{margin-top:26px;overflow:hidden;border:1px solid var(--tp-line);border-radius:16px}.tp-task-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:88px;padding:16px 20px}.tp-task-panel h2{margin:3px 0 0;font-size:22px}.tp-task-filters{display:flex;align-items:center;padding:3px;border:1px solid var(--tp-line);border-radius:999px;background:#fafafa}.tp-task-filters button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 11px;border:0;border-radius:999px;color:var(--tp-muted);background:transparent;font-size:12px;font-weight:800}.tp-task-filters button.is-active{color:var(--tp-ink);background:#fff;box-shadow:0 2px 7px #12161914}.tp-task-filters button:disabled{opacity:.45;cursor:not-allowed}.tp-task-table-wrap{overflow-x:auto}.tp-task-table{width:100%;border-collapse:collapse}.tp-task-table th{padding:12px 15px;border-top:1px solid var(--tp-line);border-bottom:1px solid var(--tp-line);color:var(--tp-muted);background:#f8fafc;font-size:12px;font-weight:800;text-align:left;white-space:nowrap}.tp-task-table td{min-width:80px;padding:14px 15px;border-bottom:1px solid var(--line-soft);color:#334155;font-size:13px;vertical-align:middle}.tp-task-table tr:last-child td{border-bottom:0}.tp-video-cell{display:flex;align-items:center;gap:10px;min-width:205px}.tp-thumb,.tp-asset-thumb{position:relative;display:block;flex:0 0 auto;width:40px;height:58px;overflow:hidden;border-radius:9px;background:#ddd}.tp-thumb img,.tp-asset-thumb img,.tp-preview-video img{width:100%;height:100%;object-fit:cover}.tp-thumb>i,.tp-asset-thumb>i{position:absolute;inset:50% auto auto 50%;display:grid;place-items:center;width:22px;height:22px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.8);border-radius:50%;color:#fff;background:#1216197a}.tp-video-cell>span:last-child{min-width:0}.tp-video-cell small,.tp-video-cell strong,.tp-video-cell em{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tp-video-cell small{color:var(--tp-muted);font-size:11px}.tp-video-cell strong{margin-top:3px;color:var(--tp-ink);font-size:13px}.tp-video-cell em{margin-top:4px;color:var(--tp-muted);font-size:11px;font-style:normal}.tp-record-id{margin-top:4px;color:var(--tp-muted);font-size:11px}.tp-task-status{display:inline-flex;align-items:center;gap:6px;font-weight:800;white-space:nowrap}.tp-task-status i{width:7px;height:7px;border-radius:50%;background:#9da1a5}.tp-task-status.is-published i{background:#4cb38a;box-shadow:0 0 0 3px #e8f7f0}.tp-task-status.is-failed i{background:#da665c}.tp-task-status.is-queued i,.tp-task-status.is-processing i{background:var(--blue)}.tp-task-error{max-width:180px;margin-top:5px;color:#b42318;font-size:11px;line-height:1.4}.tp-row-action{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;color:#777;background:transparent}.tp-loading,.tp-empty{display:grid;place-items:center;align-content:center;min-height:calc(100vh - 77px);color:#878b90}.tp-loading svg,.tp-spin{animation:tp-spin .8s linear infinite}.tp-loading span{margin-top:10px;font-size:12px}.tp-empty>span{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;color:var(--blue);background:var(--blue-soft)}.tp-empty h2{margin:16px 0 5px;color:var(--tp-ink)}.tp-empty p{margin:0 0 18px;font-size:12px}.tp-list-empty{padding:28px 12px;color:var(--tp-muted);font-size:13px;text-align:center}.tp-load-error{display:grid;place-items:center;align-content:center;gap:10px;min-height:calc(100vh - 70px);padding:24px;color:var(--tp-muted);text-align:center}.tp-load-error svg{color:var(--red)}.tp-load-error strong{color:var(--tp-ink);font-size:16px}.tp-load-error span{max-width:460px;font-size:13px;line-height:1.55}.tp-table-empty{padding:28px!important;color:var(--tp-muted)!important;text-align:center}.tp-records-heading h1{font-size:32px}.tp-record-tabs{display:flex;gap:18px;margin-top:26px;border-bottom:1px solid var(--tp-line)}.tp-record-tabs button{padding:0 2px 12px;border:0;border-bottom:2px solid transparent;color:var(--tp-muted);background:transparent;font-size:13px;font-weight:800}.tp-record-tabs button.is-active{border-color:var(--tp-purple);color:var(--tp-ink)}.tp-record-filters{display:flex;gap:10px;margin:14px 0}.tp-record-filters label{display:flex;align-items:center;gap:8px;width:min(360px,100%);min-height:40px;padding:0 12px;border:1px solid var(--tp-line);border-radius:10px}.tp-record-filters select{min-width:140px;padding:0 10px;border:1px solid var(--tp-line);border-radius:8px;background:#fff;font-size:13px}.tp-record-table{margin-top:0}.tp-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#0f172a85;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.tp-wizard{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1120px,calc(100vw - 48px));height:min(700px,calc(100vh - 48px));overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 30px 90px #0f172a47}.tp-wizard-header,.tp-auth-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 28px 18px}.tp-wizard-header h2,.tp-auth-modal h2{margin:4px 0 0;font-size:26px;letter-spacing:-.02em}.tp-wizard-header p,.tp-auth-modal header p{margin:6px 0 0;color:var(--tp-muted);font-size:13px}.tp-wizard-header>button,.tp-auth-modal>header>button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--tp-line);border-radius:8px;color:var(--tp-muted);background:#fff}.tp-stepper{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--tp-line)}.tp-stepper>div{position:relative;display:flex;align-items:center;gap:10px;padding:12px 28px;color:var(--tp-muted);font-size:12px}.tp-stepper>div:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:transparent;content:""}.tp-stepper>div.is-active{color:var(--blue)}.tp-stepper>div.is-active:after{background:var(--tp-purple)}.tp-stepper span{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--tp-line);border-radius:8px;font-weight:900}.tp-stepper .is-active span,.tp-stepper .is-done span{border-color:#b7cffd;color:#1d4ed8;background:var(--blue-soft)}.tp-wizard-body{overflow-y:auto;padding:14px 28px 28px;background:#f8fafc}.tp-dry-run-notice,.tp-form-error{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #bfe7df;border-radius:8px;color:#0f766e;background:#effcf9;font-size:12px}.tp-dry-run-notice span{display:flex;gap:7px}.tp-form-error{margin-top:12px;border-color:#f1c7c2;color:#a44840;background:#fff3f1}.tp-form-stack{display:grid;gap:14px;margin-top:14px}.tp-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tp-choice-grid>button,.tp-account-grid>button,.tp-product-grid>button{position:relative;display:grid;text-align:left}.tp-choice-grid>button{grid-template-columns:44px 1fr;grid-template-rows:auto auto;gap:2px 12px;min-height:84px;padding:14px 16px;border:1px solid var(--tp-line);border-radius:10px;color:var(--tp-ink);background:#fff}.tp-choice-grid>button>span{grid-row:1 / 3;display:grid;place-items:center;width:44px;height:44px;border-radius:10px;color:#1d4ed8;background:var(--blue-soft)}.tp-choice-grid>button strong{align-self:end;font-size:13px}.tp-choice-grid>button small{color:var(--tp-muted);font-size:12px}.tp-choice-grid>button>i,.tp-account-grid>button>i,.tp-product-grid>button>i{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#fff;background:var(--tp-purple)}.tp-choice-grid>button.is-selected,.tp-account-grid>button.is-selected,.tp-product-grid>button.is-selected{border-color:#7da7f7;background:#f3f7ff;box-shadow:inset 0 0 0 1px #c8d9fb}.tp-choice-grid>button:disabled{opacity:.48;cursor:not-allowed}.tp-field-card{padding:16px;border:1px solid var(--tp-line);border-radius:12px;background:#fff}.tp-field-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.tp-field-card h3{margin:0;font-size:13px}.tp-field-card header p{margin:4px 0 0;color:var(--tp-muted);font-size:12px}.tp-field-card header>em{padding:4px 8px;border-radius:999px;color:var(--tp-muted);background:var(--surface-soft);font-size:11px;font-style:normal;font-weight:800}.tp-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tp-asset-grid>button{position:relative;display:flex;gap:10px;min-width:0;padding:10px;border:1px solid var(--tp-line);border-radius:14px;color:var(--tp-ink);background:#fff;text-align:left}.tp-asset-grid>button.is-selected{border-color:#7da7f7;background:#f3f7ff}.tp-asset-grid>button.is-disabled{opacity:.55}.tp-asset-thumb{width:48px;height:66px}.tp-asset-grid>button>span:nth-child(2){min-width:0}.tp-asset-grid strong,.tp-asset-grid small,.tp-asset-grid em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tp-asset-grid strong{font-size:12px}.tp-asset-grid small{margin-top:5px;color:var(--tp-muted);font-size:11px}.tp-asset-grid em{margin-top:7px;color:#1d4ed8;font-size:11px;font-style:normal}.tp-asset-grid b{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#fff;background:var(--tp-purple)}.tp-account-grid,.tp-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tp-account-grid>button{grid-template-columns:42px 1fr;gap:10px;padding:12px;border:1px solid var(--tp-line);border-radius:14px;color:var(--tp-ink);background:#fff}.tp-account-grid strong,.tp-account-grid small,.tp-account-grid em{display:block}.tp-account-grid strong{font-size:13px}.tp-account-grid small{margin-top:3px;color:var(--tp-muted);font-size:12px}.tp-account-grid em{margin-top:6px;color:#1d4ed8;font-size:11px;font-style:normal}.tp-product-grid>button{grid-template-columns:58px 1fr;gap:10px;padding:10px;border:1px solid var(--tp-line);border-radius:14px;color:var(--tp-ink);background:#fff}.tp-product-grid img{width:58px;height:58px;object-fit:cover;border-radius:10px}.tp-product-grid strong,.tp-product-grid small,.tp-product-grid em{display:block}.tp-product-grid strong{font-size:13px}.tp-product-grid small{margin-top:4px;color:var(--tp-muted);font-size:11px}.tp-product-grid em{margin-top:7px;color:#1d4ed8;font-size:12px;font-style:normal;font-weight:850}.tp-inline-empty{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px;border:1px dashed var(--tp-line);border-radius:10px;color:var(--tp-muted);background:#f8fafc;font-size:12px}.tp-media-config{display:grid;grid-template-columns:210px 1fr;gap:16px}.tp-preview-card{display:grid;align-content:start;padding:12px;border:1px solid var(--tp-line);border-radius:10px;background:#fff}.tp-preview-video{position:relative;height:245px;overflow:hidden;border-radius:8px}.tp-preview-video>span{position:absolute;inset:50% auto auto 50%;display:grid;place-items:center;width:44px;height:44px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.8);border-radius:50%;color:#fff;background:#12161980}.tp-preview-card>strong{margin-top:10px;font-size:13px}.tp-preview-card>small{margin-top:4px;color:var(--tp-muted);font-size:11px}.tp-metadata-form{display:grid;gap:13px;padding:16px;border:1px solid var(--tp-line);border-radius:10px;background:#fff}.tp-metadata-form>label,.tp-schedule-fields label,.tp-invite-form label{display:grid;gap:7px;color:#334155;font-size:12px;font-weight:800}.tp-segmented{display:flex;gap:4px;padding:3px;border:1px solid var(--tp-line);border-radius:10px;background:#f5f5f2}.tp-segmented button{flex:1;min-height:34px;border:0;border-radius:7px;color:var(--tp-muted);background:transparent;font-size:12px;font-weight:800}.tp-segmented button.is-active{color:var(--tp-ink);background:#fff;box-shadow:0 2px 8px #12161914}.tp-segmented button:disabled{cursor:not-allowed;opacity:.52}.tp-metadata-form textarea{resize:vertical;width:100%;padding:10px;border:1px solid var(--tp-line);border-radius:8px;outline:0;font-size:13px}.tp-metadata-form label>small{justify-self:end;color:var(--tp-muted);font-size:11px}.tp-music-row{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 12px;border:1px solid var(--tp-line);border-radius:8px;color:var(--tp-muted);background:#f8fafc;text-align:left}.tp-music-row:disabled{cursor:not-allowed;opacity:.68}.tp-music-row span{display:grid;flex:1}.tp-music-row strong{color:var(--tp-ink);font-size:12px}.tp-music-row small{margin-top:3px;color:var(--tp-muted);font-size:11px}.tp-toggle-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.tp-toggle-list label{display:flex;align-items:center;justify-content:space-between;min-height:40px;font-size:13px}.tp-toggle-list input{position:absolute;opacity:0}.tp-toggle-list i{position:relative;width:36px;height:20px;border-radius:999px;background:#d9dbd8;transition:.15s ease}.tp-toggle-list i:after{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;content:"";transition:.15s ease}.tp-toggle-list input:checked+i{background:var(--tp-purple)}.tp-toggle-list input:checked+i:after{transform:translate(16px)}.tp-schedule-grid{grid-template-columns:repeat(3,1fr)}.tp-schedule-fields>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tp-schedule-fields select,.tp-schedule-fields input,.tp-invite-form select{width:100%;min-height:42px;padding:0 10px;border:1px solid var(--tp-line);border-radius:8px;color:var(--tp-ink);background:#fff;font-size:13px}.tp-plan-summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--tp-line);border-radius:16px;background:#fff}.tp-plan-summary>span{display:grid;grid-template-columns:24px 1fr;gap:2px 8px;align-items:center;padding:14px;border-right:1px solid var(--tp-line)}.tp-plan-summary>span:last-child{border-right:0}.tp-plan-summary svg{grid-row:1 / 3;color:#684fc8}.tp-plan-summary small{color:var(--tp-muted);font-size:11px}.tp-plan-summary strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.tp-wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px;padding:0 28px;border-top:1px solid var(--tp-line);background:#fff}.tp-wizard-footer>strong{font-size:12px}.tp-wizard-footer>strong b{font-size:15px}.tp-wizard-footer>div{display:flex;gap:9px}.tp-auth-modal{display:grid;grid-template-rows:auto auto minmax(0,1fr);width:min(900px,calc(100vw - 48px));height:min(760px,calc(100vh - 48px));overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 30px 90px #0f172a47}.tp-auth-tabs{display:flex;gap:18px;padding:0 28px;border-bottom:1px solid var(--tp-line)}.tp-auth-tabs button{padding:0 2px 12px;border:0;border-bottom:2px solid transparent;color:var(--tp-muted);background:transparent;font-size:13px;font-weight:800}.tp-auth-tabs button.is-active{border-color:var(--tp-purple);color:var(--tp-ink)}.tp-auth-body{display:grid;align-content:start;gap:14px;min-height:0;overflow-y:auto;padding:18px 28px 28px;background:#f8fafc}.tp-auth-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--tp-line);border-radius:10px;background:#fff}.tp-auth-summary>div{display:flex;align-items:center;gap:12px}.tp-auth-summary>div>span{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#1d4ed8;background:var(--blue-soft)}.tp-auth-summary strong{display:block;font-size:13px}.tp-auth-summary p{margin:4px 0 0;color:var(--tp-muted);font-size:12px}.tp-auth-summary>em{padding:5px 9px;border-radius:999px;color:#0f766e;background:var(--teal-soft);font-size:11px;font-style:normal;font-weight:800}.tp-invite-builder{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px}.tp-invite-form,.tp-qr-panel{display:grid;align-content:start;gap:12px;padding:18px;border:1px solid var(--tp-line);border-radius:10px;background:#fff}.tp-invite-form>p{display:flex;align-items:center;gap:7px;margin:2px 0 0;color:var(--tp-muted);font-size:11px}.tp-auth-type-summary{display:grid;gap:5px;padding:11px 12px;border:1px solid var(--line-soft);border-radius:8px;background:#f8fafc}.tp-auth-type-summary small{color:var(--tp-muted);font-size:11px}.tp-auth-type-summary strong{font-size:13px}.tp-qr-panel{place-items:center;text-align:center}.tp-qr-panel>span{display:grid;place-items:center;width:92px;height:92px;border-radius:14px;color:#1d4ed8;background:var(--blue-soft)}.tp-qr-panel img{width:190px;height:190px;border:1px solid #eee;border-radius:12px}.tp-qr-panel strong{font-size:13px}.tp-qr-panel small{color:var(--tp-muted);font-size:11px}.tp-qr-panel code{display:block;width:100%;overflow:hidden;padding:8px;border-radius:8px;color:var(--tp-muted);background:var(--surface-soft);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.tp-connection-list{overflow:hidden;border:1px solid var(--tp-line);border-radius:10px;background:#fff}.tp-connection-list>header{display:flex;justify-content:space-between;padding:13px 16px;border-bottom:1px solid var(--tp-line);font-size:12px}.tp-connection-list>header span{color:#898d92}.tp-connection-list article{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line-soft)}.tp-connection-list article:last-child{border-bottom:0}.tp-connection-list article strong,.tp-connection-list article small{display:block}.tp-connection-list article strong{font-size:13px}.tp-connection-list article small{margin-top:4px;color:var(--tp-muted);font-size:11px}.tp-connection-list article em{color:#0f766e;font-size:11px;font-style:normal;font-weight:800}.tp-connection-empty{padding:24px 16px;color:var(--tp-muted);font-size:12px;text-align:center}.tp-app-shell button:focus-visible,.tp-app-shell input:focus-visible,.tp-app-shell select:focus-visible,.tp-app-shell textarea:focus-visible,.tp-toggle-list input:focus-visible+i{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}.tp-connection-list article button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:9px;color:#777;background:#f4f5f3}@keyframes tp-spin{to{transform:rotate(360deg)}}@media(max-width:1120px){.tp-workspace{grid-template-columns:280px minmax(0,1fr);margin-left:0}.tp-safe-mode{display:none}.tp-plan-stats{grid-template-columns:repeat(2,1fr)}.tp-plan-stats>div:nth-child(2){border-right:0}.tp-plan-stats>div:nth-child(-n+2){border-bottom:1px solid var(--tp-line)}.tp-asset-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:880px){.tp-workspace{grid-template-columns:1fr;margin-left:0}.tp-plan-column{position:relative;height:auto;max-height:350px}.tp-detail-header{top:0}.tp-media-config,.tp-invite-builder{grid-template-columns:1fr}}@media(max-width:640px){.tp-modal-backdrop{padding:0}.tp-wizard,.tp-auth-modal{width:100vw;height:100dvh;max-height:none;border-radius:0}.tp-wizard-header,.tp-auth-modal>header{padding:18px}.tp-wizard-header h2,.tp-auth-modal h2{font-size:22px}.tp-stepper>div{justify-content:center;padding:10px 4px}.tp-stepper strong{display:none}.tp-wizard-body,.tp-auth-body{padding:12px}.tp-choice-grid,.tp-account-grid,.tp-product-grid,.tp-asset-grid,.tp-schedule-grid,.tp-toggle-list,.tp-schedule-fields>div,.tp-plan-summary{grid-template-columns:1fr}.tp-plan-summary>span{border-right:0;border-bottom:1px solid var(--tp-line)}.tp-plan-summary>span:last-child{border-bottom:0}.tp-wizard-footer{padding:0 12px}.tp-wizard-footer>strong{display:none}.tp-wizard-footer>div{width:100%}.tp-wizard-footer button{flex:1}.tp-detail-header{align-items:center;flex-wrap:wrap;height:auto;padding:0 12px}.tp-tabs{flex:1 1 100%;min-width:0;min-height:52px;overflow-x:auto}.tp-tabs button{flex:1;min-width:max-content}.tp-header-actions{justify-content:flex-end;flex-wrap:wrap;width:100%;padding:10px 0}.tp-header-actions .tp-outline-button{width:40px;padding:0;font-size:0}.tp-detail-scroll,.tp-records{padding:14px 12px 28px}.tp-task-panel>header{align-items:flex-start;flex-direction:column}.tp-task-filters{max-width:100%;overflow-x:auto}.tp-record-filters{flex-direction:column}.tp-record-filters select{min-height:40px}}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:#f6f8fb;color:#122033;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #f6f8fb;--surface: #ffffff;--surface-soft: #f1f5f9;--ink: #122033;--muted: #65758b;--subtle: #8c9bae;--line: #dce5ef;--line-soft: #edf2f7;--blue: #2563eb;--blue-soft: #e8f0ff;--teal: #0f9f8f;--teal-soft: #e2f7f4;--amber: #f59e0b;--amber-soft: #fff3d6;--red: #ef4444;--red-soft: #ffe8e8;--green: #16a34a;--green-soft: #e4f8ea;--shadow: 0 16px 44px rgba(21, 35, 52, .08)}.scene-generation-main{min-width:0;overflow:auto;background:var(--bg)}.scene-studio{display:grid;gap:18px;width:min(1480px,100%);margin:0 auto;padding:28px 32px 54px}.scene-hero{padding:8px 0 4px}.scene-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--teal);font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.scene-hero h1{margin:7px 0 6px;color:var(--ink);font-size:clamp(28px,3vw,38px);letter-spacing:-.04em}.scene-hero p{margin:0;color:var(--muted);font-size:14px}.scene-toast-stack{position:fixed;z-index:1200;top:22px;right:24px;display:grid;gap:9px;width:min(390px,calc(100vw - 32px));pointer-events:none}.scene-toast{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid;border-radius:11px;padding:11px 11px 11px 13px;box-shadow:0 16px 38px #0f172a2e;font-size:12px;font-weight:750;pointer-events:auto;animation:scene-toast-in .22s ease-out}.scene-toast.success{border-color:#86efac;color:#166534;background:#f0fdf4}.scene-toast.error{border-color:#fca5a5;color:#991b1b;background:#fff7f7}.scene-toast button{display:grid;place-items:center;width:27px;height:27px;border:0;border-radius:7px;color:currentColor;background:transparent;cursor:pointer}.scene-toast button:hover{background:#0f172a0f}@keyframes scene-toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.scene-builder,.scene-batch-card{border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}.scene-builder{padding:22px}.scene-builder-heading,.scene-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px}.scene-builder-heading>div,.scene-section-title{justify-content:flex-start}.scene-builder-heading>div,.scene-section-title{display:flex;align-items:center;gap:11px}.scene-builder-heading>div>span,.scene-section-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#087f73;background:var(--teal-soft);font-size:12px;font-weight:900}.scene-builder h2,.scene-history h2{margin:0;color:var(--ink);font-size:17px}.scene-builder-heading p,.scene-section-title p{margin:3px 0 0;color:var(--subtle);font-size:11px}.scene-secondary-button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;color:#475569;background:var(--surface);cursor:pointer;font:700 11px inherit}.scene-upload-columns{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);align-items:center;gap:14px;margin-top:20px}.scene-multiply{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:#087f73;background:var(--teal-soft);font-weight:900}.scene-picker{align-self:stretch;display:grid;align-content:start;gap:11px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fbfdff}.scene-picker-title{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px}.scene-picker-title>span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;color:#fff;background:var(--teal);font-size:11px;font-weight:900}.scene-picker-title h3{margin:0;color:#0f172a;font-size:13px}.scene-picker-title p{margin:2px 0 0;color:var(--subtle);font-size:10px}.scene-picker-title em{color:var(--muted);font-size:10px;font-style:normal;font-weight:800}.scene-picker-tools{display:grid;justify-items:end;gap:6px}.scene-picker-tools button{display:inline-flex;align-items:center;gap:6px;min-height:32px;border:1px solid #b8ded9;border-radius:9px;padding:0 8px;color:#176f68;background:#f8fcfb;cursor:pointer;font-family:inherit;font-size:11px;font-weight:650;line-height:1;white-space:nowrap;transition:border-color .18s ease,background .18s ease,color .18s ease}.scene-picker-tools button svg{flex:0 0 auto;color:#2d8d84}.scene-picker-tools button b{display:grid;place-items:center;min-width:19px;height:19px;border-radius:999px;padding:0 5px;color:#0f766e;background:#dff4f1;font-size:9px;font-weight:800}.scene-picker-tools button:hover{border-color:#70c8bd;color:#0f766e;background:#eef9f7}.scene-dropzone{display:grid;place-items:center;gap:5px;min-height:122px;border:1px dashed #7dd3c7;border-radius:12px;color:#087f73;background:#f4fbfa;cursor:pointer;text-align:center;transition:.2s ease}.scene-dropzone:hover{border-color:var(--teal);background:var(--teal-soft)}.scene-dropzone.is-disabled{opacity:.55;cursor:wait}.scene-dropzone input{position:absolute;width:1px;height:1px;opacity:0}.scene-dropzone strong{color:#0f766e;font-size:12px}.scene-dropzone span{color:var(--subtle);font-size:9px}.scene-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px}.scene-asset-grid>div{position:relative;overflow:hidden;aspect-ratio:1;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}.scene-asset-grid img{width:100%;height:100%;object-fit:cover}.scene-asset-grid>div>span{position:absolute;left:5px;bottom:5px;display:grid;place-items:center;width:18px;height:18px;border-radius:999px;color:#fff;background:#0f172ab8;font-size:9px;font-weight:900}.scene-asset-actions{position:absolute;top:5px;right:5px;display:flex;gap:4px}.scene-asset-actions button{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:7px;color:#fff;background:#0f172ac2;cursor:pointer}.scene-asset-actions button.is-saved{color:#d1fae5;background:#047857}.scene-asset-actions button:disabled{cursor:default;opacity:.9}.scene-template-library{display:grid;gap:10px;margin-top:14px;padding:14px;border:1px solid #ccece7;border-radius:13px;background:#f7fcfb}.scene-template-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.scene-template-heading>span{display:flex;align-items:center;gap:7px;color:#0f766e}.scene-template-heading strong{font-size:12px}.scene-template-heading small{color:var(--muted);font-size:10px;font-weight:500}.scene-template-heading>em{color:var(--muted);font-size:10px;font-style:normal}.scene-template-create{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:9px}.scene-template-create input{min-width:0;border:1px solid var(--line);border-radius:9px;padding:9px 11px;color:var(--ink);background:#fff;outline:none;font:11px/1.4 inherit}.scene-template-create input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f9f8f1a}.scene-template-create button,.scene-template-upload{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #99d9d0;border-radius:9px;padding:9px 12px;color:#0f766e;background:var(--teal-soft);cursor:pointer;font:800 10px inherit;white-space:nowrap}.scene-template-upload{position:relative;background:#fff}.scene-template-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.scene-template-create button:disabled{opacity:.5;cursor:not-allowed}.scene-template-upload.is-disabled{opacity:.5;cursor:wait}.scene-template-draft{display:flex;align-items:center;gap:10px;border:1px dashed #99d9d0;border-radius:9px;padding:8px 10px;background:#fff}.scene-template-draft>span{flex:0 0 auto;color:var(--muted);font-size:9px;font-weight:750}.scene-template-draft>div{display:flex;gap:7px;overflow-x:auto}.scene-template-draft figure{position:relative;flex:0 0 50px;height:50px;overflow:hidden;margin:0;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.scene-template-draft img{width:100%;height:100%;object-fit:cover}.scene-template-draft button{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:18px;height:18px;border:0;border-radius:6px;padding:0;color:#fff;background:#0f172ac2;cursor:pointer}.scene-template-draft small{position:absolute;left:4px;bottom:3px;display:grid;place-items:center;width:15px;height:15px;border-radius:999px;color:#fff;background:#0f172ab8;font-size:8px;font-weight:800}.scene-template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:9px}.scene-template-grid button{position:relative;display:grid;gap:5px;overflow:hidden;border:1px solid var(--line);border-radius:10px;padding:6px;color:var(--ink);background:#fff;cursor:pointer;text-align:left}.scene-template-grid button.is-selected{border-color:var(--teal);box-shadow:0 0 0 2px #0f9f8f21}.scene-template-covers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:43px;gap:3px;overflow:hidden;border-radius:7px;background:var(--surface-soft)}.scene-template-covers img{width:100%;height:100%;min-height:0;border-radius:4px;object-fit:cover}.scene-template-grid button>span:not(.scene-template-covers){display:grid;overflow:hidden;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.scene-template-grid button>span small{color:var(--subtle);font-size:8px;font-weight:600}.scene-template-grid em{position:absolute;top:11px;right:11px;border-radius:999px;padding:3px 6px;color:#fff;background:#0f172ab3;font-size:8px;font-style:normal;font-weight:800}.scene-template-grid .is-selected em{background:var(--teal)}.scene-template-empty{display:flex;align-items:center;gap:7px;min-height:54px;border:1px dashed #99d9d0;border-radius:9px;padding:0 12px;color:var(--muted);font-size:10px}.scene-matrix-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:13px 15px;border-radius:12px;color:#0f766e;background:linear-gradient(90deg,var(--teal-soft),#f0f9ff)}.scene-matrix-summary>div{display:flex;align-items:center;gap:10px}.scene-matrix-summary span{display:grid;gap:2px}.scene-matrix-summary span strong{font-size:12px}.scene-matrix-summary span small{color:#0d9488;font-size:10px}.scene-matrix-summary>strong{display:flex;align-items:baseline;gap:7px;font-size:23px}.scene-matrix-summary>strong small{font-size:9px;letter-spacing:.06em}.scene-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}.scene-options.is-primary{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-options label{display:grid;align-content:start;gap:6px;color:#334155;font-size:11px;font-weight:800}.scene-options .is-wide{grid-column:1 / -1}.scene-options select,.scene-options textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:10px 11px;color:#0f172a;background:#fff;outline:none;font:12px/1.45 inherit}.scene-options select:focus,.scene-options textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f9f8f1a}.scene-options textarea{min-height:76px;resize:vertical}.scene-options label>small{justify-self:end;color:var(--subtle);font-size:9px;font-weight:500}.scene-advanced-settings{margin-top:10px;border:1px solid #dce8e7;border-radius:10px;color:#47616f;background:#fbfdfd}.scene-advanced-settings>summary{position:relative;display:flex;align-items:center;gap:11px;min-height:43px;padding:0 12px;cursor:pointer;list-style:none}.scene-advanced-settings>summary::-webkit-details-marker{display:none}.scene-advanced-heading{display:flex;align-items:center;gap:8px;color:#0f766e}.scene-advanced-heading>span{display:grid;gap:1px}.scene-advanced-heading strong{color:#164e4a;font-size:11px}.scene-advanced-heading small{color:var(--subtle);font-size:9px}.scene-advanced-value{overflow:hidden;margin-left:auto;color:#64748b;font-size:9px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.scene-advanced-chevron{flex:0 0 auto;color:#64748b;transition:transform .2s ease}.scene-advanced-settings[open] .scene-advanced-chevron{transform:rotate(180deg)}.scene-advanced-body{display:grid;grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr);align-items:end;gap:12px;border-top:1px solid #e5efee;padding:12px;background:#f8fcfb}.scene-advanced-model{display:grid;gap:6px;color:#334155;font-size:10px;font-weight:800}.scene-advanced-model select{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px 10px;color:#0f172a;background:#fff;outline:none;font:11px/1.45 inherit}.scene-advanced-model select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f9f8f1a}.scene-generation-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d9ebe8;border-radius:9px;padding:8px 10px;color:#47616f;background:#fff}.scene-generation-controls>div{display:flex;align-items:center;gap:18px}.scene-generation-controls label{display:flex;align-items:center;gap:7px;cursor:pointer}.scene-generation-controls input{width:14px;height:14px;accent-color:var(--teal)}.scene-generation-controls label>span{display:grid;gap:1px}.scene-generation-controls strong{color:#164e4a;font-size:10px}.scene-generation-controls small,.scene-generation-controls>span{color:var(--subtle);font-size:9px}.scene-generation-controls>span{border-radius:999px;padding:5px 9px;color:#0f766e;background:var(--teal-soft);font-weight:750;white-space:nowrap}.scene-provider-warning{margin-top:12px;border:1px solid #f5d78d;border-radius:9px;padding:9px 11px;color:#92400e;background:#fffbeb;font-size:10px;font-weight:700}.scene-create-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:15px;border:0;border-radius:11px;padding:12px 16px;color:#fff;background:linear-gradient(135deg,var(--teal),#0b7f91);box-shadow:0 10px 24px #0f9f8f33;cursor:pointer;font:850 13px inherit}.scene-create-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.scene-history{display:grid;gap:14px}.scene-batch-list{display:grid;gap:13px}.scene-batch-card{overflow:hidden}.scene-batch-card>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px}.scene-batch-card>header>div:first-child{display:flex;align-items:center;gap:10px}.scene-batch-card>header>div:first-child>span:last-child{display:grid;gap:4px}.scene-batch-card header strong{color:#0f172a;font-size:13px}.scene-generation-time{display:inline-flex;align-items:center;gap:6px;font-size:14px!important}.scene-generation-time svg{color:var(--teal)}.scene-batch-card header small{color:var(--subtle);font-size:9px}.scene-batch-actions{display:flex;align-items:center;gap:10px}.scene-batch-actions>strong{display:grid;justify-items:end;font-size:15px!important}.scene-batch-actions>strong small{font-size:8px;font-weight:600}.scene-batch-actions button,.scene-batch-download,.scene-result-card footer button,.scene-result-card footer a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:29px;height:29px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff;cursor:pointer;font:700 10px inherit;text-decoration:none}.scene-batch-actions .scene-cancel-button{min-width:64px;height:32px;padding:0 11px;color:#475569;font-family:inherit;font-size:11px;font-weight:700;line-height:1}.scene-batch-actions .scene-cancel-button:hover{border-color:#b9c7d6;color:#334155;background:#f8fafc}.scene-batch-download{border-color:#99d9d0;padding:0 10px;color:#0f766e;background:#f0fdfa}.scene-progress-track{height:3px;background:var(--surface-soft)}.scene-progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--blue));transition:width .35s ease}.scene-result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;padding:14px;background:#f8fafc}.scene-result-card{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.scene-result-images{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:4px;padding:7px}.scene-result-images button{overflow:hidden;min-width:0;border:0;border-radius:7px;padding:0;background:transparent;cursor:zoom-in}.scene-result-images img{display:block;width:100%;min-width:0;aspect-ratio:1.4;border-radius:7px;object-fit:cover;transition:transform .2s ease}.scene-result-images button:hover img{transform:scale(1.04)}.scene-result-images span{color:var(--subtle);font-size:10px;font-weight:900}.scene-output{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:1;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);color:var(--subtle);background:#f8fafc}.scene-output>button{width:100%;height:100%;border:0;padding:0;background:transparent;cursor:zoom-in}.scene-output>button>img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.scene-output>button:hover>img{transform:scale(1.025)}.scene-output>div{display:grid;place-items:center;gap:6px;font-size:10px}.scene-output.is-running{color:#fff;background:#e9f1f0}.scene-generation-preview{position:absolute;top:0;right:0;bottom:0;left:0;display:block!important;width:100%;height:100%}.scene-generation-preview>img{width:100%;height:100%;object-fit:contain;filter:saturate(.82) contrast(.94);transform:scale(1.015)}.scene-generation-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;justify-items:center;gap:5px;padding:18px;text-align:center;background:linear-gradient(180deg,#0720284d,#073437a3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.scene-generation-overlay>strong{color:#fff;font-size:12px;font-weight:800;text-shadow:0 1px 5px rgba(0,0,0,.22)}.scene-generation-overlay>small{color:#ffffffd1;font-size:9px}.scene-generation-spinner{display:grid;place-items:center;width:36px;height:36px;margin-bottom:3px;border:1px solid rgba(255,255,255,.32);border-radius:50%;color:#fff;background:#05968ab8;box-shadow:0 7px 22px #022c3440}.scene-generation-spinner svg{animation:scene-spin .9s linear infinite}.scene-result-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px}.scene-result-card footer>div{display:flex;gap:5px}.scene-status{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:850;white-space:nowrap}.scene-status.is-compact{padding:4px 7px}.scene-status.is-queued{color:#92400e;background:#fef3c7}.scene-status.is-running{color:#075985;background:#e0f2fe}.scene-status.is-succeeded{color:#166534;background:#dcfce7}.scene-status.is-partial{color:#9a3412;background:#ffedd5}.scene-status.is-failed{color:#991b1b;background:#fee2e2}.scene-status.is-cancelled{color:#475569;background:#e2e8f0}.scene-item-error{display:-webkit-box;overflow:hidden;margin:0;border-top:1px solid #fee2e2;padding:7px 8px 8px;color:#b91c1c;background:snow;font-size:9px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.scene-empty{display:grid;place-items:center;gap:7px;min-height:180px;border:1px dashed #cbd5e1;border-radius:14px;color:var(--subtle);background:#fff9;font-size:11px}.scene-empty strong{color:#475569;font-size:13px}.scene-lightbox{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:72px 88px 44px;background:#020c17eb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.scene-lightbox>img{max-width:100%;max-height:calc(100vh - 116px);border-radius:8px;object-fit:contain;box-shadow:0 24px 80px #0000007a}.scene-lightbox-toolbar{position:absolute;top:20px;right:24px;left:24px;display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#e2e8f0}.scene-lightbox-toolbar>span{margin-right:auto;font-size:12px;font-weight:800}.scene-lightbox-toolbar a,.scene-lightbox-toolbar button,.scene-lightbox-nav{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;border:1px solid rgba(255,255,255,.2);border-radius:9px;color:#fff;background:#0f172ab8;cursor:pointer;text-decoration:none}.scene-lightbox-toolbar a{padding:0 12px;font-size:11px;font-weight:750}.scene-lightbox-toolbar button{width:36px}.scene-lightbox-nav{position:absolute;top:50%;width:44px;height:52px;transform:translateY(-50%)}.scene-lightbox-nav.is-prev{left:24px}.scene-lightbox-nav.is-next{right:24px}.scene-library-backdrop{z-index:900;padding:24px;background:#0f172a85;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.scene-library-modal{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:18px;width:min(1080px,calc(100vw - 48px));max-height:min(88vh,850px);padding:24px;border:1px solid rgba(255,255,255,.75);border-radius:20px;background:#fff;box-shadow:0 28px 90px #0f172a40}.scene-library-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.scene-library-header>div{display:flex;align-items:center;gap:13px}.scene-library-header>div>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#0f766e;background:linear-gradient(145deg,#e7f8f5,#d9f2ee)}.scene-library-header h2{margin:0;color:var(--ink);font-size:20px;letter-spacing:-.015em}.scene-library-header p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.scene-library-header>button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;color:#475569;background:#fff;cursor:pointer;transition:background .18s ease,border-color .18s ease}.scene-library-header>button:hover{border-color:#c4d0dd;background:#f8fafc}.scene-library-create{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;border:1px solid #ccece7;border-radius:15px;padding:16px;background:linear-gradient(135deg,#f7fcfb,#f3faf9)}.scene-library-create-heading{grid-column:1 / -1;display:flex;align-items:baseline;gap:9px}.scene-library-create-heading strong{color:#0f766e;font-size:13px}.scene-library-create-heading small{color:var(--muted);font-size:11px}.scene-library-dropzone{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:84px;border:1px dashed #80cfc5;border-radius:12px;padding:12px 14px;color:#0f766e;background:#ffffffd6;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.scene-library-dropzone:hover,.scene-library-dropzone.is-dragging{border-color:var(--teal);background:#ecf9f7;box-shadow:0 0 0 3px #0f9f8f17}.scene-library-dropzone.is-disabled{opacity:.58;cursor:wait;box-shadow:none}.scene-library-dropzone>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.scene-library-dropzone-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;color:#0f766e;background:var(--teal-soft)}.scene-library-dropzone-copy{display:grid;gap:5px;min-width:0}.scene-library-dropzone-copy strong{color:#155e58;font-size:12px}.scene-library-dropzone-copy small{color:var(--muted);font-size:10px;line-height:1.45}.scene-library-dropzone>em{align-self:start;border-radius:999px;padding:4px 7px;color:#397a74;background:#e8f5f3;font-size:9px;font-style:normal;font-weight:800}.scene-library-form-row{grid-column:1 / -1;align-content:center;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.scene-library-form-row input{width:100%;min-width:0;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;color:var(--ink);background:#fff;outline:none;font-family:inherit;font-size:12px}.scene-library-form-row input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f9f8f1a}.scene-library-form-row button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border:1px solid var(--teal);border-radius:10px;padding:0 14px;color:#fff;background:var(--teal);cursor:pointer;font-family:inherit;font-size:11px;font-weight:750;white-space:nowrap;transition:background .18s ease,opacity .18s ease}.scene-library-form-row button:hover{background:#0b897c}.scene-library-form-row button:disabled{border-color:#b8dad6;color:#789a96;background:#e6f2f0;cursor:not-allowed}.scene-library-create .scene-template-draft{grid-column:1 / -1;padding:10px 12px}.scene-library-create .scene-template-draft figure{flex-basis:60px;height:60px;background:#fff}.scene-library-create .scene-template-draft img{object-fit:contain}.scene-library-saved-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.scene-library-saved-heading strong{color:var(--ink);font-size:14px}.scene-library-saved-heading span{border-radius:999px;padding:4px 8px;color:#397a74;background:#edf8f6;font-size:10px;font-weight:750}.scene-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;overflow-y:auto;padding:3px 6px 6px 3px}.scene-library-grid article{display:grid;gap:10px;align-content:start;min-width:0;border:1px solid var(--line);border-radius:13px;padding:11px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.scene-library-grid article:hover{border-color:#c7d7e5;box-shadow:0 8px 24px #0f172a12;transform:translateY(-1px)}.scene-library-grid article.is-selected{border-color:var(--teal);box-shadow:0 0 0 2px #0f9f8f21}.scene-library-grid article>div{display:grid;min-width:0;gap:2px}.scene-library-grid article>div strong{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.scene-library-grid article>div small{color:var(--subtle);font-size:10px}.scene-library-covers{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important;align-content:start}.scene-library-covers.is-count-1{grid-template-columns:minmax(0,108px)}.scene-library-covers.is-count-2{grid-template-columns:repeat(2,minmax(0,108px))}.scene-library-covers>button{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:1;border:1px solid #e4ebf2;border-radius:9px;padding:0;background:#f8fafc;cursor:zoom-in}.scene-library-covers img{display:block;width:100%;height:100%;object-fit:contain}.scene-library-covers>button>span{position:absolute;inset:auto 6px 6px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:7px;padding:5px 7px;opacity:0;color:#fff;background:#0f172ac2;font-size:9px;font-weight:700;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease}.scene-library-covers>button:hover>span,.scene-library-covers>button:focus-visible>span{opacity:1;transform:translateY(0)}.scene-library-covers>button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.scene-library-covers>button:hover img{transform:scale(1.025)}.scene-library-covers img{transition:transform .2s ease}.scene-library-grid footer{display:flex;align-items:center;justify-content:space-between;gap:7px}.scene-library-grid footer a,.scene-library-grid footer button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;border:1px solid var(--line);border-radius:9px;padding:0 11px;color:#475569;background:#fff;cursor:pointer;font-family:inherit;font-size:11px;font-weight:700;text-decoration:none}.scene-library-grid footer a:hover{border-color:#c4d0dd;background:#f8fafc}.scene-library-grid footer button{margin-left:auto;border-color:#99d9d0;color:#0f766e;background:#f0fdfa}.scene-library-grid footer button:hover{border-color:var(--teal);background:#e5f7f4}.scene-library-grid footer button.is-selected{color:#fff;background:var(--teal)}.scene-library-lightbox{z-index:1100}.is-spinning{animation:scene-spin .9s linear infinite}@keyframes scene-spin{to{transform:rotate(360deg)}}@media(max-width:1120px){.scene-options{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-options .is-wide{grid-column:1 / -1}}@media(max-width:900px){.scene-studio{padding:20px 16px 40px}.scene-upload-columns{grid-template-columns:1fr}.scene-multiply{justify-self:center}.scene-options{grid-template-columns:1fr}.scene-options .is-wide{grid-column:auto}.scene-generation-controls{align-items:stretch;flex-direction:column}.scene-generation-controls>div{align-items:stretch;flex-direction:column;gap:8px}.scene-generation-controls>span{align-self:flex-start;white-space:normal}.scene-advanced-settings>summary{align-items:flex-start;flex-wrap:wrap;padding-block:9px}.scene-advanced-value{width:calc(100% - 26px);margin-left:26px;white-space:normal}.scene-advanced-chevron{position:absolute;right:29px}.scene-advanced-body{grid-template-columns:1fr}.scene-batch-card>header{align-items:flex-start;flex-direction:column}.scene-batch-actions{width:100%;justify-content:space-between}.scene-lightbox{padding:70px 56px 34px}.scene-library-create{grid-template-columns:1fr}.scene-library-create-heading,.scene-library-create .scene-template-draft{grid-column:auto}}@media(max-width:560px){.scene-builder{padding:15px}.scene-builder-heading{align-items:flex-start}.scene-template-heading{align-items:flex-start;flex-direction:column}.scene-template-create{grid-template-columns:1fr}.scene-matrix-summary{align-items:flex-start;flex-direction:column}.scene-result-grid{grid-template-columns:1fr}.scene-lightbox{padding:62px 14px 28px}.scene-lightbox-nav{width:38px;height:44px}.scene-lightbox-nav.is-prev{left:8px}.scene-lightbox-nav.is-next{right:8px}.scene-toast-stack{top:12px;right:12px}.scene-library-backdrop{padding:10px}.scene-library-modal{width:100%;max-height:94vh;gap:14px;padding:16px;border-radius:16px}.scene-library-create-heading{align-items:flex-start;flex-direction:column}.scene-library-form-row{grid-template-columns:1fr}.scene-library-dropzone{grid-template-columns:auto minmax(0,1fr)}.scene-library-dropzone>em{display:none}.scene-library-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.scene-output.is-running:before,.scene-generation-mark,.scene-generation-track i{animation:none}}.boss-cockpit-stack{display:grid;gap:18px;min-width:0}.boss-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:240px;color:var(--muted)}.boss-voice-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:22px;overflow:hidden;padding:28px 30px;border:1px solid #c7d2fe;border-radius:20px;color:#f8fafc;background:radial-gradient(circle at 82% 20%,rgba(129,140,248,.38),transparent 28%),linear-gradient(135deg,#111827,#1e1b4b 70%,#312e81);box-shadow:0 22px 54px #1e1b4b2e}.boss-voice-copy{position:relative;z-index:2;display:grid;gap:12px}.boss-section-kicker{display:flex;align-items:center;gap:7px;color:#c7d2fe;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.boss-voice-copy h2{margin:0;font-size:26px;letter-spacing:-.02em}.boss-voice-copy>p{margin:0;color:#cbd5e1;font-size:13px}.boss-voice-copy form{display:grid;grid-template-columns:minmax(300px,1fr) auto auto;gap:9px;margin-top:4px}.boss-voice-copy input{min-width:0;border:1px solid rgba(255,255,255,.2);border-radius:11px;padding:11px 13px;color:#f8fafc;background:#0f172a94;outline:none;font:inherit}.boss-voice-copy input::placeholder{color:#94a3b8}.boss-voice-copy input:focus{border-color:#a5b4fc;box-shadow:0 0 0 3px #a5b4fc29}.boss-voice-copy .primary-button{border-color:#f8fafc;color:#111827;background:#f8fafc}.boss-mic-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(255,255,255,.24);border-radius:11px;padding:0 14px;color:#f8fafc;background:#6366f173;cursor:pointer;font-weight:800}.boss-question-suggestions{display:flex;flex-wrap:wrap;gap:7px}.boss-question-suggestions button{border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:6px 10px;color:#cbd5e1;background:#0f172a52;cursor:pointer;font-size:11px}.boss-question-suggestions button:hover{color:#fff;border-color:#ffffff5c}.boss-voice-orb{position:relative;z-index:2;align-self:center;justify-self:center;display:grid;place-items:center;width:112px;height:112px;border-radius:50%;color:#fff;background:radial-gradient(circle at 34% 30%,#c4b5fd,#6366f1 44%,#312e81 72%);box-shadow:0 0 0 12px #818cf81c,0 0 44px #818cf8a6}.boss-voice-orb span{position:absolute;top:-18px;right:-18px;bottom:-18px;left:-18px;border:1px solid rgba(196,181,253,.35);border-radius:50%}.boss-voice-orb.state-listening,.boss-voice-orb.state-speaking,.boss-voice-orb.state-connecting{animation:boss-pulse 1.6s ease-in-out infinite}.boss-voice-transcript{grid-column:1 / -1;z-index:2;margin:0;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:10px;color:#e2e8f0;background:#0f172a61;white-space:pre-wrap;font:12px/1.6 inherit}@keyframes boss-pulse{50%{transform:scale(1.06);box-shadow:0 0 0 19px #818cf814,0 0 62px #818cf8cc}}.boss-answer{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid #bfdbfe;border-radius:14px;color:#1e3a8a;background:#eff6ff}.boss-answer div{display:grid;gap:4px}.boss-answer p{margin:0;color:#1e293b;font-size:14px;line-height:1.65}.boss-answer small{color:#64748b;font-size:11px}.boss-meta-row{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px}.boss-meta-row .ghost-button{margin-left:auto}.boss-freshness{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:6px 10px;color:#166534;background:#dcfce7;font-weight:800}.boss-freshness i{width:7px;height:7px;border-radius:50%;background:#22c55e}.boss-freshness.freshness-delayed{color:#92400e;background:#fef3c7}.boss-freshness.freshness-delayed i{background:#f59e0b}.boss-freshness.freshness-stale,.boss-freshness.freshness-no_data{color:#991b1b;background:#fee2e2}.boss-freshness.freshness-stale i,.boss-freshness.freshness-no_data i{background:#ef4444}.boss-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.boss-kpi-card{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;row-gap:5px;min-height:118px;padding:17px 18px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 10px 30px #0f172a0a}.boss-kpi-icon{grid-row:1 / 4;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#3730a3;background:#eef2ff}.boss-kpi-card>span{color:var(--muted);font-size:12px;font-weight:700}.boss-kpi-card>strong{color:#0f172a;font-size:25px;letter-spacing:-.025em}.boss-kpi-card>small{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:11px}.boss-kpi-card .positive,.boss-change.positive{color:#15803d}.boss-kpi-card .negative,.boss-change.negative{color:#dc2626}.boss-insight-section{display:grid;gap:12px}.boss-section-heading span{display:flex;align-items:center;gap:7px;color:#7c3aed;font-size:12px;font-weight:800}.boss-section-heading h2{margin:5px 0 0;font-size:19px}.boss-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.boss-insight-card{display:grid;gap:8px;min-height:168px;padding:16px;border:1px solid var(--line);border-left-width:4px;border-radius:13px;background:#fff}.boss-insight-card.severity-positive{border-left-color:#22c55e}.boss-insight-card.severity-warning{border-left-color:#f59e0b}.boss-insight-card.severity-critical{border-left-color:#ef4444}.boss-insight-card>div{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;font-weight:800}.boss-evidence-badge{border-radius:999px;padding:4px 7px;color:#4338ca;background:#eef2ff;letter-spacing:.04em}.boss-insight-card h3{margin:0;font-size:15px}.boss-insight-card p{margin:0;color:#334155;font-size:13px;line-height:1.55}.boss-insight-card small{align-self:end;color:#94a3b8;font-size:10px;line-height:1.45}.boss-empty{grid-column:1 / -1;padding:26px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);text-align:center}.boss-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.boss-chart-panel{min-width:0;overflow:hidden}.boss-chart-body{min-height:300px;padding:10px 14px 8px 4px}.boss-store-table-panel .data-table td strong{color:#0f172a}.boss-change{font-weight:800}.spin{animation:boss-spin 1s linear infinite}@keyframes boss-spin{to{transform:rotate(360deg)}}.creator-ops-page{display:grid;gap:16px}.creator-toolbar,.creator-filter-row,.creator-actions,.creator-tabs{display:flex;align-items:center;gap:10px}.creator-toolbar{justify-content:space-between;flex-wrap:wrap}.creator-tabs{padding:4px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.creator-tabs button{border:0;border-radius:9px;background:transparent;padding:9px 14px;color:#64748b;font-weight:700;cursor:pointer}.creator-tabs button.is-active{color:#0f766e;background:#ecfdf5}.creator-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.creator-summary-card{display:flex;align-items:center;gap:12px;min-height:86px;padding:18px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#0f766e}.creator-summary-card div{display:grid;gap:2px}.creator-summary-card strong{color:#0f172a;font-size:24px}.creator-summary-card span{color:#64748b;font-size:13px}.creator-panel{border:1px solid #e5e7eb;border-radius:14px;background:#fff;overflow:hidden}.creator-filter-row{padding:14px 16px;border-bottom:1px solid #eef2f7}.creator-filter-row span{margin-left:auto;color:#64748b;font-size:13px}.creator-filter-row select,.creator-form select,.creator-form input,.creator-form textarea,.case-edit-form select,.case-edit-form input,.creator-modal textarea{width:100%;border:1px solid #dbe2ea;border-radius:9px;padding:9px 10px;background:#fff;color:#0f172a;font:inherit}.creator-filter-row select{width:auto;min-width:150px}.creator-table-wrap{overflow-x:auto}.creator-table{width:100%;border-collapse:collapse}.creator-table th{padding:11px 14px;background:#f8fafc;color:#64748b;font-size:12px;text-align:left;white-space:nowrap}.creator-table td{padding:13px 14px;border-top:1px solid #eef2f7;color:#334155;font-size:13px;vertical-align:middle}.creator-table td strong,.creator-table td small{display:block}.creator-table td small{margin-top:3px;color:#94a3b8}.creator-table .job-body{min-width:300px;max-width:520px;white-space:normal}.channel-chip,.case-status,.job-state{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.channel-chip.is-whatsapp{color:#047857;background:#d1fae5}.channel-chip.is-viber{color:#6d28d9;background:#ede9fe}.case-status{color:#1d4ed8;background:#dbeafe}.case-status.is-overdue,.case-status.is-shipment_exception,.job-state.is-failed,.job-state.is-send_unknown{color:#b91c1c;background:#fee2e2}.case-status.is-completed,.job-state.is-succeeded{color:#047857;background:#d1fae5}.job-state{color:#475569;background:#f1f5f9}.creator-notice{padding:11px 14px;border:1px solid #a7f3d0;border-radius:10px;color:#047857;background:#ecfdf5;font-size:13px}.creator-notice.is-error{border-color:#fecaca;color:#b91c1c;background:#fef2f2}.creator-two-column{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:16px}.panel-heading{display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid #eef2f7}.panel-heading div{display:grid;gap:2px}.panel-heading span{color:#64748b;font-size:12px}.knowledge-list{display:grid;gap:10px;padding:14px;max-height:650px;overflow-y:auto}.knowledge-list article{padding:13px;border:1px solid #e5e7eb;border-radius:10px}.knowledge-list article>div{display:flex;justify-content:space-between;gap:10px}.knowledge-list article span,.knowledge-list article p{color:#64748b;font-size:12px}.knowledge-list blockquote{margin:9px 0 0;padding-left:10px;border-left:3px solid #99f6e4;color:#334155}.creator-form,.case-edit-form{display:grid;gap:12px;padding:18px}.creator-form label,.case-edit-form label,.creator-modal label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:700}.creator-drawer-backdrop,.creator-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;justify-content:flex-end;background:#0f172a70}.creator-drawer{width:min(580px,100vw);height:100%;overflow-y:auto;background:#f8fafc;box-shadow:-18px 0 45px #0f172a2e}.creator-drawer>header,.creator-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #e5e7eb;background:#fff}.creator-drawer h2,.creator-modal h2{margin:0;font-size:20px}.creator-drawer header p,.creator-modal header p{margin:5px 0 0;color:#64748b;font-size:12px}.creator-drawer-body{display:grid;gap:14px;padding:14px}.case-metadata{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.case-metadata span{display:grid;gap:4px;padding:11px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#64748b;font-size:11px}.case-metadata strong{color:#0f172a;font-size:12px;overflow-wrap:anywhere}.case-edit-form,.message-timeline{border:1px solid #e5e7eb;border-radius:12px;background:#fff}.case-edit-form h3,.message-timeline h3{display:flex;align-items:center;gap:7px;margin:0}.message-timeline{display:grid;gap:9px;padding:16px}.message-timeline article{max-width:86%;padding:9px 11px;border-radius:12px;background:#f1f5f9}.message-timeline article.is-outbound{margin-left:auto;background:#d1fae5}.message-timeline p{margin:0;white-space:pre-wrap}.message-timeline time{display:block;margin-top:4px;color:#64748b;font-size:10px}.creator-modal-backdrop{align-items:center;justify-content:center;padding:20px}.creator-modal{width:min(760px,100%);max-height:92vh;overflow-y:auto;border-radius:16px;background:#fff;box-shadow:0 24px 70px #0f172a40}.creator-modal>label{margin:14px 18px}.creator-modal .consent-check{display:flex;grid-template-columns:18px 1fr;align-items:flex-start;flex-direction:row;font-weight:500}.creator-modal .consent-check input{margin-top:2px}.creator-modal .creator-notice{margin:0 18px}.creator-modal footer{display:flex;justify-content:flex-end;gap:9px;padding:16px 18px;border-top:1px solid #e5e7eb}.empty-copy{color:#94a3b8;font-size:13px}@media(max-width:1000px){.creator-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-two-column{grid-template-columns:1fr}}@media(max-width:640px){.creator-summary-grid{grid-template-columns:1fr}.creator-toolbar,.creator-actions{align-items:stretch;flex-direction:column}.case-metadata{grid-template-columns:1fr}}.ad-metrics-workspace{display:grid;gap:16px;overflow:visible;padding:20px;border-color:#d8e2ee;border-radius:12px;box-shadow:0 10px 30px #14263f0e}.ad-metrics-heading,.ad-metrics-title,.ad-metrics-title-line,.ad-metrics-heading-actions,.ad-sync-freshness,.ad-sync-progress>div,.ad-filter-panel-head,.ad-filter-panel-head>div,.ad-metric-toolbar,.ad-metric-toolbar>div,.ad-metric-toolbar>span,.ad-data-chip,.ad-pagination,.ad-pagination label{display:flex;align-items:center}.ad-metrics-heading{justify-content:space-between;gap:20px}.ad-metrics-title{min-width:0;align-items:flex-start;gap:12px}.ad-metrics-title-icon{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border:1px solid #cde9e4;border-radius:10px;color:#0f8377;background:#e9f8f6}.ad-metrics-title-line{flex-wrap:wrap;gap:9px}.ad-metrics-heading h2,.ad-metrics-heading p{margin:0}.ad-metrics-heading h2{color:#16263a;font-size:17px;font-weight:900;letter-spacing:-.01em}.ad-metrics-heading p{margin-top:5px;color:#718096;font-size:12px;font-weight:650}.ad-source-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #bfe8df;border-radius:999px;color:#08786d;background:#effbf8;font-size:10px;font-weight:850}.ad-metrics-heading-actions{flex:0 0 auto;gap:14px}.ad-sync-freshness{gap:8px;text-align:right}.ad-sync-freshness>span{width:8px;height:8px;border:2px solid #f3c56f;border-radius:50%;background:#fff4d9;box-shadow:0 0 0 4px #f59e0b1a}.ad-sync-freshness>span.is-ready{border-color:#50b99d;background:#d7f5e9;box-shadow:0 0 0 4px #0f9f8f17}.ad-sync-freshness small,.ad-sync-freshness strong{display:block}.ad-sync-freshness small{color:#8997aa;font-size:9px;font-weight:750}.ad-sync-freshness strong{margin-top:2px;color:#46576c;font-size:11px;font-weight:850}.ad-api-sync-button{min-height:40px;border-radius:9px;box-shadow:0 6px 14px #2563eb33}.ad-api-sync-button:disabled,.ad-metric-empty-state button:disabled{cursor:wait;opacity:.68}.ad-sync-progress{display:grid;grid-template-columns:minmax(220px,auto) minmax(160px,1fr) 42px;align-items:center;gap:14px;padding:11px 13px;border:1px solid #cfe0fa;border-radius:9px;color:#36547c;background:#f2f7ff}.ad-sync-progress>div{gap:8px}.ad-sync-progress>div>span{display:grid;gap:2px}.ad-sync-progress strong{color:#24466f;font-size:12px;font-weight:850}.ad-sync-progress small{color:#7890ad;font-size:10px;font-weight:650}.ad-sync-progress b{color:#315f9f;font-size:12px;text-align:right}.ad-sync-progress progress{width:100%;height:6px;overflow:hidden;border:0;border-radius:999px;color:var(--blue);background:#dce8f8}.ad-sync-progress progress::-webkit-progress-bar{background:#dce8f8}.ad-sync-progress progress::-webkit-progress-value{border-radius:999px;background:var(--blue)}.ad-level-navigation{overflow:hidden;border:1px solid #dce5ef;border-radius:12px;background:#fff}.ad-level-navigation-heading{display:flex;align-items:baseline;gap:9px;padding:9px 13px 7px;border-bottom:1px solid #edf1f5;background:#f8fafc}.ad-level-navigation-heading strong{color:#40536b;font-size:11px;font-weight:850}.ad-level-navigation-heading span{color:#8b99a9;font-size:9px;font-weight:650}.ad-level-tabs{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));overflow-x:auto;background:#fff}.ad-level-tabs button{position:relative;display:flex;align-items:center;gap:9px;min-width:145px;min-height:59px;padding:9px 24px 9px 12px;border:0;border-right:1px solid #edf1f5;border-bottom:3px solid transparent;color:#65758a;background:#fff;text-align:left;transition:color .15s,background .15s,border-color .15s}.ad-level-tabs button:last-child{border-right:0}.ad-level-tab-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;color:#72859c;background:#f1f4f8}.ad-level-tab-copy{display:grid;gap:2px;min-width:0}.ad-level-tab-copy strong{font-size:12px;font-weight:850}.ad-level-tab-copy small{color:#9aa6b5;font-size:9px;font-weight:700}.ad-level-tab-arrow{position:absolute;right:5px;color:#c0cbd7}.ad-level-tabs button:hover{color:#244f87;background:#f8fbff}.ad-level-tabs button.is-active{color:#174f9f;border-bottom-color:var(--blue);background:#f3f7fe}.ad-level-tabs button.is-active .ad-level-tab-icon{color:#fff;background:var(--blue);box-shadow:0 5px 12px #2f6fed38}.ad-level-tabs button.is-active .ad-level-tab-copy small{color:#6284b5}.ad-filter-panel{position:relative;z-index:4;display:grid;gap:11px;padding:13px;border:1px solid #e2e9f1;border-radius:10px;background:#f8fafc}.ad-filter-panel-head{justify-content:space-between;gap:12px}.ad-filter-panel-head>div{gap:8px}.ad-filter-panel-head strong{color:#44566d;font-size:11px;font-weight:850}.ad-filter-panel-head span{color:#8a98aa;font-size:10px;font-weight:650}.ad-filter-panel-actions{display:flex;align-items:center;gap:7px}.ad-filter-panel-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:0 10px;border-radius:7px;font-size:10px;font-weight:800}.ad-filter-panel-actions .ad-reset-filter{border:0;color:#66778d;background:transparent}.ad-filter-panel-actions .ad-reset-filter:hover{color:var(--blue)}.ad-metric-filters{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px}.ad-filter-field,.ad-keyword,.ad-store-picker>summary{min-height:42px;border:1px solid #d9e2ec;border-radius:8px;color:#53657b;background:#fff}.ad-filter-field{display:grid;gap:2px;min-width:154px;padding:5px 10px}.ad-filter-field>span,.ad-store-picker summary small{color:#96a2b2;font-size:9px;font-weight:750}.ad-filter-field input,.ad-filter-field select{min-width:132px;padding:0;border:0;outline:0;color:#34465d;background:transparent;font-size:11px;font-weight:800}.ad-filter-field:focus-within,.ad-keyword:focus-within,.ad-store-picker[open]>summary{border-color:#83aef2;box-shadow:0 0 0 3px #2563eb14}.ad-store-picker{position:relative;min-width:205px}.ad-store-picker>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 10px;cursor:pointer;list-style:none}.ad-store-picker>summary::-webkit-details-marker{display:none}.ad-store-picker[open]>summary>svg:last-child{transform:rotate(180deg)}.ad-store-picker summary>span{display:grid;gap:2px;min-width:0}.ad-store-picker summary strong{overflow:hidden;color:#34465d;font-size:11px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.ad-store-picker-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:20;display:grid;gap:3px;width:min(320px,82vw);max-height:310px;padding:7px;overflow-y:auto;border:1px solid #d8e2ee;border-radius:10px;background:#fff;box-shadow:0 16px 34px #192a4129}.ad-store-picker-menu>button,.ad-store-picker-menu>label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:43px;padding:6px 9px;border:0;border-radius:7px;color:#41546c;background:transparent;text-align:left}.ad-store-picker-menu>label{grid-template-columns:auto minmax(0,1fr);cursor:pointer}.ad-store-picker-menu>button:hover,.ad-store-picker-menu>button.is-selected,.ad-store-picker-menu>label:hover{background:#f1f6fc}.ad-store-picker-menu input{accent-color:var(--blue)}.ad-store-picker-menu span{display:grid;gap:2px;min-width:0}.ad-store-picker-menu strong,.ad-store-picker-menu small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ad-store-picker-menu strong{font-size:11px;font-weight:800}.ad-store-picker-menu small{color:#94a1b2;font-size:9px;font-weight:650}.ad-quick-dates{display:flex;align-items:stretch;overflow:hidden;border:1px solid #d9e2ec;border-radius:8px;background:#fff}.ad-quick-dates button{min-width:44px;border:0;border-right:1px solid #e6ecf3;padding:0 9px;color:#5c6d82;background:#fff;font-size:10px;font-weight:750}.ad-quick-dates button:hover{color:#1959b8;background:#f3f7fd}.ad-quick-dates button:disabled{cursor:not-allowed;color:#b5bfcb;background:#f8fafc}.ad-quick-dates button:last-child{border-right:0}.ad-keyword{display:flex;align-items:center;flex:1 1 240px;gap:8px;padding:0 11px}.ad-keyword svg{flex:0 0 auto;color:#8a99ab}.ad-keyword input{width:100%;border:0;outline:0;color:#34465d;background:transparent;font-size:11px;font-weight:700}.ad-preset-cards{display:flex;gap:8px;overflow-x:auto;padding:1px 1px 3px}.ad-preset-card{position:relative;flex:0 0 176px;min-width:176px;overflow:hidden;border:1px solid #dfe7f0;border-radius:9px;color:#263b54;background:#fff}.ad-preset-card:before{position:absolute;inset:0 auto 0 0;width:3px;background:#d5dfea;content:""}.ad-preset-card:hover{border-color:#b8c9dd;box-shadow:0 5px 14px #1e344e0f}.ad-preset-card.is-active{border-color:#8bb2ee;background:#f7faff;box-shadow:0 5px 14px #2563eb14}.ad-preset-card.is-active:before{background:var(--blue)}.ad-preset-card-select{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:4px;width:100%;min-height:86px;padding:11px 36px 11px 12px;border:0;color:inherit;background:transparent;text-align:left}.ad-preset-card-select>span{grid-column:1 / -1;overflow:hidden;color:#718096;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.ad-preset-card-select>em{grid-column:1 / -1;overflow:hidden;color:#8a99ab;font-size:8px;font-style:normal;font-weight:650;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.ad-preset-card-select>b{display:inline-flex;align-items:flex-end;gap:4px;width:max-content;font-weight:inherit}.ad-preset-card-select strong{color:#263b54;font-size:20px;font-weight:900;line-height:1}.ad-preset-card-select small{color:#9aa6b5;font-size:9px;font-weight:700;line-height:1.1}.ad-preset-edit{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid transparent;border-radius:6px;color:#8090a4;background:transparent}.ad-preset-edit:hover{border-color:#c9d8ea;color:#245fae;background:#fff}.ad-metric-toolbar{justify-content:space-between;gap:10px}.ad-metric-toolbar>div,.ad-metric-toolbar>span{flex-wrap:wrap;gap:7px}.ad-metric-toolbar button{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:0 9px;border:1px solid #d9e2ec;border-radius:7px;color:#506278;background:#fff;font-size:10px;font-weight:800}.ad-metric-toolbar button:hover{border-color:#afc3da;color:#1959b8;background:#f8fbff}.ad-data-chip{gap:5px;min-height:27px;padding:0 8px;border:1px solid #dbe5f0;border-radius:999px;color:#5c6d82;background:#f8fafc;font-size:9px;font-weight:800}.ad-data-chip.is-success{border-color:#c9e9df;color:#0d796e;background:#effaf7}.ad-metric-table-shell{border:1px solid #dce5ef;border-radius:10px;background:#fff;box-shadow:0 4px 14px #16263a09;overflow:hidden}.ad-metric-table-wrap{overflow:auto;max-height:min(56vh,580px);background:#fff}.ad-metric-total-wrap{position:relative;z-index:8;overflow:hidden;border-top:1px solid #cfdbe8;background:#edf3fa;box-shadow:0 -7px 14px -13px #1c2d42f2}.ad-metric-table{min-width:100%;width:max-content;border-collapse:separate;border-spacing:0;font-size:11px}.ad-metric-table tfoot{position:sticky;bottom:0;z-index:6}.ad-metric-total-wrap .ad-metric-table{min-width:max-content}.ad-metric-total-wrap .ad-metric-table tfoot{position:static}.ad-metric-total-wrap .ad-metric-table tfoot td{bottom:auto;border-top:0}.ad-metric-table th,.ad-metric-table td{min-width:124px;max-width:260px;padding:11px 12px;border-right:1px solid #edf1f5;border-bottom:1px solid #edf1f5;vertical-align:middle;background:#fff}.ad-metric-table th{position:sticky;top:0;z-index:3;color:#5d6e83;background:#f7f9fc}.ad-metric-table tfoot td{position:sticky;bottom:0;z-index:4;border-bottom:0;color:#26384d;background:#f4f7fb;box-shadow:0 -7px 12px -12px #1c2d42bf;font-weight:900}.ad-metric-table tfoot .is-sticky-left,.ad-metric-table tfoot .is-sticky-right{z-index:7;background:#edf3fa}.ad-metric-table tbody tr:hover td{background:#f9fbfe}.ad-metric-table .is-sticky-left{position:sticky;left:0;z-index:2;min-width:190px;box-shadow:7px 0 10px -11px #203248b3}.ad-metric-table .is-entity-column{min-width:250px;max-width:280px}.ad-metric-table.is-store th:nth-child(-n+2),.ad-metric-table.is-store td:nth-child(-n+2){min-width:88px;max-width:220px;padding-inline:9px}.ad-metric-table.is-store th:nth-child(1),.ad-metric-table.is-store td:nth-child(1){min-width:210px;max-width:220px}.ad-metric-table.is-store .metric-col-accountCount{text-align:center}.ad-metric-table.is-store td.metric-col-accountCount .ad-dimension-value{justify-items:center}.ad-metric-table.is-account th:nth-child(1),.ad-metric-table.is-account td:nth-child(1){min-width:230px;max-width:240px}.ad-metric-table.is-material th:nth-child(-n+3),.ad-metric-table.is-material td:nth-child(-n+3){min-width:220px;max-width:240px;padding-inline:9px}.ad-metric-table.is-product th:nth-child(1),.ad-metric-table.is-product td:nth-child(1){min-width:250px;max-width:270px}.ad-metric-table.is-product .metric-col-availableStock{min-width:82px;max-width:90px;padding-inline:8px;text-align:center}.ad-metric-table.is-product td.metric-col-availableStock .ad-dimension-value{color:#26384d;font-size:12px;font-weight:900}.ad-metric-table.is-campaign th:nth-child(1),.ad-metric-table.is-campaign td:nth-child(1){min-width:275px;max-width:295px}.ad-metric-table.is-campaign .metric-col-operationStatus{min-width:78px;max-width:86px;padding-inline:7px}.ad-metric-table th.is-sticky-left{z-index:5;background:#f7f9fc}.ad-metric-table .is-sticky-right{position:sticky;right:0;z-index:2;min-width:112px;max-width:148px;box-shadow:-7px 0 10px -11px #203248b3}.ad-metric-table.is-campaign .is-sticky-right{min-width:76px;max-width:84px;padding-inline:6px}.ad-metric-table.is-product .is-sticky-right{min-width:108px;max-width:116px}.ad-metric-table.is-material .is-sticky-right{min-width:82px;max-width:88px}.ad-metric-table th.is-sticky-right{z-index:5;background:#f7f9fc}.ad-metric-table tr.is-incomplete td{background:#fffaf1}.ad-metric-sort{display:inline-flex;align-items:center;gap:4px;border:0;padding:0;color:inherit;background:transparent;font:inherit;font-weight:800;cursor:pointer}.ad-metric-sort:disabled{cursor:default}.ad-metric-header-content{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:4px}.ad-column-help{position:relative;display:inline-grid;place-items:center;flex:0 0 auto;width:18px;height:18px;padding:0;border:0;border-radius:50%;color:#4c78ad;background:transparent;cursor:pointer}.ad-column-help:hover,.ad-column-help[aria-expanded=true]{color:#1f63b8;background:#e8f1fc}.ad-column-help-popup{position:absolute;top:calc(100% + 7px);left:50%;z-index:30;width:min(270px,70vw);padding:9px 10px;border:1px solid #cad9ea;border-radius:8px;color:#41546b;background:#fff;box-shadow:0 10px 28px #1f37532e;font-size:10px;font-weight:650;line-height:1.55;text-align:left;white-space:normal;transform:translate(-50%)}.ad-metric-cell,.ad-dimension-value{display:grid;gap:3px;overflow-wrap:anywhere}.ad-entity-cell{display:flex;align-items:center;gap:10px;min-width:0}.ad-entity-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #d8e5f4;border-radius:11px;color:#2f6fed;background:#edf4ff}.ad-product-thumb{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;padding:0;overflow:hidden;border:1px solid #dde6ef;border-radius:8px;color:#9aa8b8;background:#f3f6f9}button.ad-product-thumb{cursor:zoom-in;transition:border-color .15s,box-shadow .15s,transform .15s}button.ad-product-thumb:hover{border-color:#8db3e6;box-shadow:0 3px 10px #265d9f29;transform:translateY(-1px)}.ad-product-thumb img{width:100%;height:100%;object-fit:cover}.ad-product-thumb.is-small{flex-basis:40px;width:40px;height:40px}.ad-material-preview{position:relative;display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;padding:0;overflow:hidden;border:1px solid #d8e4f0;border-radius:9px;color:#2f6fed;background:#edf4ff;cursor:pointer;text-decoration:none}.ad-material-preview img{width:100%;height:100%;object-fit:cover}.ad-material-preview small{position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:999px;color:#fff;background:#183050c7;font-size:7px;font-weight:850;line-height:1.35}.ad-material-preview:hover{border-color:#8db3e6;box-shadow:0 3px 10px #265d9f29}.ad-material-preview.is-product-card{color:#7b5b16;background:#fff9e9}.ad-country-flag{font-size:20px;line-height:1}.ad-entity-copy{display:grid;gap:3px;min-width:0}.ad-entity-copy strong{display:-webkit-box;overflow:hidden;color:#26384d;font-size:11px;font-weight:850;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ad-product-link{display:flex;align-items:flex-start;gap:4px;min-width:0;color:inherit;text-decoration:none}.ad-product-link strong{flex:1 1 auto}.ad-product-link svg{flex:0 0 auto;margin-top:2px;color:#4d7fb9}.ad-product-link:hover strong{color:#1f63b8;text-decoration:underline}.ad-entity-copy small{overflow:hidden;color:#7f8ea1;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.ad-entity-copy .ad-row-trend{width:max-content;margin-top:1px;padding:2px 5px;border-radius:999px;background:#f5f7fa}.ad-metric-cell strong{color:#25384f;font-size:12px;font-weight:850}.ad-metric-value-line{display:inline-flex;align-items:center;gap:5px;width:max-content}.ad-inline-metric-edit{display:grid;place-items:center;flex:0 0 auto;width:22px;height:22px;padding:0;border:1px solid #cedbe9;border-radius:6px;color:#3f6f9f;background:#f7faff;cursor:pointer}.ad-inline-metric-edit:hover{border-color:#8eb2dc;color:#1f63b8;background:#edf5ff}.ad-inline-metric-edit:disabled{cursor:not-allowed;opacity:.4}.ad-metric-cell strong.is-api-unavailable{color:#8b98a8;font-size:10px;font-weight:750}.ad-metric-cell small,.ad-dimension-value small{font-size:9px;font-weight:650}.trend-up{color:#d33c32}.trend-down{color:#198754}.trend-none{color:#a7b1be}.scope-restricted{color:#9a6700}.ad-status-badge{display:inline-flex;align-items:center;width:max-content;min-width:52px;justify-content:center;border:1px solid transparent;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;white-space:nowrap}.ad-status-badge.is-active{color:#16794b;border-color:#b9e4ce;background:#eaf8f1}.ad-status-badge.is-paused{color:#6f7f91;border-color:#d9e1e9;background:#f3f6f8}.ad-status-badge.is-pending{color:#9a6700;border-color:#efd59c;background:#fff7e5}.ad-status-badge.is-danger{color:#b0362e;border-color:#edc3bf;background:#fff0ef}.ad-status-badge.is-unknown{color:#6c7786;border-color:#d9e1e9;background:#f6f8fa}.ad-metric-table .is-status-cell{text-align:center}.ad-metric-table td.is-status-cell .ad-status-badge{margin-inline:auto}.ad-operation-switch{display:inline-flex;align-items:center;gap:5px;border:0;padding:0;background:transparent;cursor:pointer}.ad-operation-switch span{width:27px;height:16px;border-radius:10px;background:#aab5c2;position:relative}.ad-operation-switch span:after{content:"";position:absolute;width:12px;height:12px;left:2px;top:2px;border-radius:50%;background:#fff;transition:transform .15s}.ad-operation-switch.is-on span{background:#2f6fed}.ad-operation-switch.is-on span:after{transform:translate(11px)}.ad-campaign-status-control{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.ad-metric-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.ad-metric-table.is-campaign .ad-metric-actions{flex-direction:column;flex-wrap:nowrap;align-items:stretch}.ad-metric-table.is-campaign .ad-metric-actions button{justify-content:center;width:100%;padding-inline:4px}.ad-metric-actions button{display:inline-flex;align-items:center;gap:3px;border:1px solid #d9e2ec;border-radius:6px;padding:5px 6px;color:#52657b;background:#fff;font-size:10px;font-weight:750}.ad-metric-actions button:hover{color:#245fae;border-color:#b8cbe2;background:#f8fbff}.ad-metric-actions button.is-active{color:#155fc0;border-color:#a9c7ef;background:#edf5ff}.ad-metric-actions button.is-blacklisted{color:#ae3029;border-color:#e5b9b5;background:#fff2f1}.ad-metric-actions button.is-heated{color:#b85b0a;border-color:#efca9f;background:#fff7ec}.ad-metric-total-label{display:grid;gap:2px}.ad-metric-total-label small{color:#9a6700}.ad-toast{position:fixed;top:22px;right:24px;z-index:1200;max-width:min(420px,calc(100vw - 32px));padding:11px 14px;border:1px solid #b9e4ce;border-radius:9px;color:#116b45;background:#edfaf3;box-shadow:0 12px 32px #1844312e;font-size:12px;font-weight:800;animation:ad-toast-in .18s ease-out}@keyframes ad-toast-in{0%{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}.ad-image-preview-backdrop{z-index:1100}.ad-image-preview{position:relative;display:grid;justify-items:center;gap:12px;width:min(720px,calc(100vw - 40px));max-height:calc(100vh - 56px);padding:20px;border-radius:14px;background:#fff;box-shadow:0 24px 70px #0f213752}.ad-image-preview img{display:block;max-width:100%;max-height:calc(100vh - 140px);border-radius:10px;object-fit:contain}.ad-image-preview>strong{max-width:100%;color:#30445d;font-size:12px;text-align:center}.ad-image-preview-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #dce4ed;border-radius:999px;color:#52657a;background:#fffffff0;box-shadow:0 3px 12px #1b2c401f}.ad-video-preview{position:relative;display:grid;justify-items:center;gap:12px;width:min(430px,calc(100vw - 40px));padding:18px;border-radius:14px;background:#111827;box-shadow:0 24px 70px #0f21376b}.ad-video-preview iframe{width:min(360px,calc(100vw - 76px));height:min(640px,calc(100vh - 130px));border:0;border-radius:10px;background:#0b1220}.ad-video-preview>a{display:inline-flex;align-items:center;gap:5px;color:#dbeafe;font-size:11px;font-weight:800;text-decoration:none}.ad-video-preview>a:hover{color:#fff;text-decoration:underline}.ad-metric-empty-state{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:122px;padding:24px;border:1px dashed #cad7e5;border-radius:10px;color:#63758b;background:#f8fafc}.ad-metric-empty-state.is-loading{grid-template-columns:auto minmax(0,1fr)}.ad-metric-empty-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #d5e3f2;border-radius:12px;color:#4e77aa;background:#edf4fc}.ad-metric-empty-state h3,.ad-metric-empty-state p{margin:0}.ad-metric-empty-state h3{color:#40546c;font-size:14px;font-weight:850}.ad-metric-empty-state p{max-width:680px;margin-top:5px;color:#8290a2;font-size:11px;font-weight:650;line-height:1.5}.ad-pagination{justify-content:flex-end;gap:9px;color:#718096;font-size:10px;font-weight:700}.ad-pagination label{gap:5px}.ad-pagination select,.ad-pagination button{min-height:30px;border:1px solid #d9e2ec;border-radius:6px;padding:0 8px;color:#52657b;background:#fff;font-size:10px;font-weight:750}.ad-pagination button:disabled{cursor:not-allowed;opacity:.45}.ad-column-dialog{max-width:520px}.ad-column-list{max-height:55vh;overflow:auto;display:grid;gap:5px}.ad-column-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px;border:1px solid #e3eaf2;border-radius:7px}.ad-column-list label{display:flex;align-items:center;gap:8px}.ad-column-list span{display:flex;gap:4px}.ad-column-list button{display:inline-flex;border:1px solid #d9e2ec;border-radius:5px;padding:4px;background:#fff}.preset-rule-dialog{width:min(520px,100%)}.preset-rule-definition{margin:18px 0 14px;padding:13px 14px;border:1px solid #dbe7f4;border-radius:8px;background:#f6f9fd}.preset-rule-definition strong{color:#35506f;font-size:11px;font-weight:850}.preset-rule-definition p{margin:5px 0 0;color:#667a91;font-size:12px;font-weight:650;line-height:1.55}.preset-rule-field{display:grid;gap:7px;color:#465a72;font-size:11px;font-weight:800}.preset-rule-field>div{display:flex;align-items:center;overflow:hidden;border:1px solid #cfdbe8;border-radius:8px;background:#fff}.preset-rule-field input{flex:1 1 auto;min-width:0;height:42px;padding:0 12px;border:0;outline:0;color:#263a52;font-size:14px;font-weight:850}.preset-rule-field b{align-self:stretch;display:grid;place-items:center;min-width:46px;border-left:1px solid #e1e8f0;color:#65788e;background:#f7f9fc}.campaign-log-modal{width:min(760px,100%)}.campaign-log-modal .modal-heading h2{display:flex;align-items:center;gap:7px}.campaign-log-list{display:grid;gap:8px;max-height:58vh;margin-top:14px;overflow:auto}.campaign-log-list article{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:11px;padding:12px;border:1px solid #e0e8f1;border-radius:9px;background:#fafbfd}.campaign-log-list article>div{display:grid;gap:4px}.campaign-log-list article strong{color:#31455e;font-size:12px}.campaign-log-list article p{margin:0;color:#53677f;font-size:11px;font-weight:700}.campaign-log-list article small{color:#8997a8;font-size:9px}.campaign-log-list article em{color:#a33730;font-size:10px;font-style:normal}.campaign-operations-panel{margin-top:14px}@media(max-width:1050px){.ad-metrics-heading{align-items:flex-start}.ad-metrics-heading-actions{align-items:flex-end;flex-direction:column}.ad-level-tabs{grid-template-columns:repeat(5,130px)}}@media(max-width:720px){.ad-metrics-workspace{padding:14px}.ad-metrics-heading,.ad-metric-toolbar{align-items:flex-start;flex-direction:column}.ad-metrics-heading-actions{align-items:stretch;width:100%}.ad-sync-freshness{text-align:left}.ad-api-sync-button{width:100%}.ad-sync-progress{grid-template-columns:1fr auto}.ad-sync-progress progress{grid-column:1 / -1;grid-row:2}.ad-filter-panel-head>div span{display:none}.ad-filter-panel-head{align-items:flex-start;flex-direction:column}.ad-filter-panel-actions{width:100%}.ad-filter-panel-actions button{flex:1 1 auto}.ad-metric-filters>label,.ad-store-picker,.ad-keyword{flex:1 1 100%;width:100%}.ad-quick-dates{flex:1 1 100%}.ad-quick-dates button{flex:1 1 auto;min-height:38px}.ad-metric-empty-state{grid-template-columns:1fr;text-align:center}.ad-metric-empty-icon{margin:0 auto}.ad-metric-empty-state button{width:100%}.ad-pagination{justify-content:flex-start;flex-wrap:wrap}}*{box-sizing:border-box}body{margin:0;min-width:320px;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{position:relative;display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh;background:linear-gradient(90deg,#ffffff 0 252px,var(--bg) 252px),var(--bg);overflow-x:hidden}.app-shell:before{position:absolute;top:0;bottom:0;left:251px;z-index:0;width:1px;background:var(--line);content:"";pointer-events:none}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:24px;background:linear-gradient(180deg,#ffffffc7,#f6f8fbf0),#eef4fb}.auth-card{width:min(420px,100%);padding:28px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow)}.auth-card-compact{display:grid;justify-items:center;gap:18px;width:min(360px,100%)}.auth-card-head{display:flex;gap:14px;align-items:center;margin-bottom:24px}.auth-mark{display:grid;place-items:center;width:72px;height:48px}.auth-mark img{display:block;width:100%;height:100%;object-fit:contain}.auth-card h1{margin:0;color:var(--ink);font-size:22px;line-height:1.2}.auth-card p{margin:6px 0 0;color:var(--muted);font-size:13px;font-weight:750}.auth-form{display:grid;gap:14px}.auth-form label{display:grid;gap:7px}.auth-form label span{color:var(--muted);font-size:12px;font-weight:850}.auth-form input{width:100%;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;outline:0}.auth-form input:focus{border-color:#8ab2f8;box-shadow:0 0 0 3px #2563eb1a}.auth-error{padding:10px 12px;border:1px solid #fecaca;border-radius:8px;color:#991b1b;background:#fff1f1;font-size:13px;font-weight:750}.auth-submit{width:100%;margin-top:2px}.auth-loading-row{display:inline-flex;align-items:center;gap:9px;color:#334155;font-size:14px;font-weight:800}.auth-loading-row svg{animation:spin .9s linear infinite}.sidebar{position:sticky;top:0;z-index:1;display:flex;flex-direction:column;height:100dvh;min-height:100vh;overflow:hidden;padding:18px 14px 14px;border-right:1px solid #e4eaf2;background:linear-gradient(180deg,#effaf8b8,#fff0 170px),#fff}.brand-block{display:flex;align-items:center;gap:12px;min-height:52px;margin:0 4px 18px;padding:0 2px 16px;border-bottom:1px solid #edf1f6}.brand-mark{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:58px;height:38px}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.brand-title{color:#17243a;font-size:14px;font-weight:850;line-height:1.2;letter-spacing:-.01em}.brand-subtitle{margin-top:4px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:0}.sidebar-nav-heading{display:flex;align-items:center;justify-content:space-between;margin:0 8px 8px;color:#7a879a;font-size:11px;font-weight:800;letter-spacing:.08em}.sidebar-nav-count{display:inline-grid;place-items:center;min-width:24px;height:20px;padding:0 7px;border-radius:999px;color:#51706d;background:#edf7f5;font-size:11px;letter-spacing:0}.nav-list{display:flex;flex-direction:column;flex:1 1 auto;gap:5px;min-height:0;overflow-y:auto;padding:0 3px 12px 0;scrollbar-width:thin}.nav-item{position:relative;display:flex;align-items:center;flex:0 0 auto;gap:10px;width:100%;min-height:44px;padding:5px 10px;border:1px solid transparent;border-radius:10px;color:#46566d;background:transparent;font-size:13px;font-weight:750;text-align:left;transition:color .14s ease,background .14s ease,border-color .14s ease,transform .14s ease}.nav-item:hover{color:#1e3a4d;background:#f5f8fb;border-color:#e9eef4;transform:translate(1px)}.nav-item.is-active{color:#096c66;border-color:#cfece7;background:linear-gradient(90deg,#e7f7f4,#f1fbfa);box-shadow:0 5px 14px #0f766e12}.nav-item.is-active:before{position:absolute;top:10px;bottom:10px;left:-4px;width:3px;border-radius:999px;background:#15998e;content:""}.nav-item:focus-visible{outline:3px solid rgba(20,184,166,.22);outline-offset:1px}.nav-item-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:8px;color:#637287;background:#f3f6f9;transition:color .14s ease,background .14s ease}.nav-item:hover .nav-item-icon{color:#31716d;background:#eaf4f2}.nav-item.is-active .nav-item-icon{color:#08746c;background:#ffffffd1;box-shadow:0 2px 7px #0f766e1a}.sidebar-account{position:static;flex:0 0 auto;display:grid;grid-template-columns:38px minmax(0,1fr) 34px 34px;gap:9px;align-items:center;width:auto;margin-top:10px;padding:9px;border:1px solid #e2e9f0;border-radius:12px;background:#f8fbfdeb;box-shadow:0 7px 20px #20344b0d}.sidebar-account-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:#0f766e;background:#e8f7f4;font-size:13px;font-weight:850}.sidebar-account-copy{min-width:0}.sidebar-account-copy strong,.sidebar-account-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-account-copy strong{color:var(--ink);font-size:12px;font-weight:850}.sidebar-account-copy span{margin-top:4px;color:var(--muted);font-size:11px;font-weight:750}.sidebar-account .icon-button{width:34px;min-height:34px;border-radius:9px}.no-access-shell{display:grid;place-items:center;min-height:100vh;padding:32px}.no-access-card{display:flex;gap:16px;align-items:flex-start;width:min(520px,100%);padding:24px;border:1px solid #dfe7ef;border-radius:14px;background:#fff;box-shadow:var(--shadow)}.no-access-card h1{margin:0 0 7px;color:var(--ink);font-size:20px}.no-access-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.no-access-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:12px;color:#a16207;background:#fff7db}.trial-panel{display:flex;gap:10px;margin-top:auto;padding:14px;border:1px solid #d9ede9;border-radius:8px;color:#0d5f58;background:#ecfbf8}.trial-panel strong{display:block;margin-bottom:5px;font-size:13px}.trial-panel span{display:block;color:#53766f;font-size:12px;line-height:1.45}.main-shell{position:relative;z-index:1;min-width:0}.top-bar{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:577px auto minmax(0,1fr);gap:14px;align-items:center;justify-content:start;padding:16px 24px;border-bottom:1px solid var(--line);background:#f6f8fbeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.search-box,.select-control,.ghost-button,.secondary-button,.primary-button,.danger-button,.status-button,.account-chip,.icon-button{display:inline-flex;align-items:center;border-radius:8px}.search-box{gap:10px;min-height:42px;padding:0 13px;border:1px solid var(--line);color:var(--muted);background:#fff}.search-box input{width:100%;border:0;outline:0;color:var(--ink);background:transparent;font-size:14px}.top-controls{display:flex;gap:10px;align-items:center}.select-control{position:relative;gap:8px;min-height:42px;padding:0 12px;border:1px solid var(--line);background:#fff}.select-control select{min-width:170px;border:0;outline:0;color:var(--ink);background:transparent;font-size:13px;font-weight:700;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ghost-button,.secondary-button,.primary-button,.danger-button,.status-button,.icon-button{justify-content:center;gap:8px;min-height:38px;border:1px solid var(--line);font-size:13px;font-weight:800}.ghost-button{padding:0 13px;color:#334155;background:#fff}.ghost-button:hover{border-color:#bfcedd;background:#f8fafc}.secondary-button{padding:0 13px;border-color:var(--line);color:#334155;background:#fff}.secondary-button:hover{border-color:#b7c7d8;background:#f8fafc}.secondary-button:disabled{cursor:not-allowed;opacity:.55}.primary-button{padding:0 14px;border-color:#1d4ed8;color:#fff;background:var(--blue)}.primary-button:hover{background:#1d4ed8}.danger-button{padding:0 14px;border-color:#f7b4b4;color:#b91c1c;background:#fff5f5}.danger-button:hover{background:#ffe8e8}.ghost-button:disabled,.primary-button:disabled,.danger-button:disabled{cursor:not-allowed;opacity:.55}.status-button{padding:0 13px;border-color:#c8ede7;color:#0f766e;background:#f0fffb}.account-chip{flex-direction:column;align-items:flex-start;gap:2px;min-height:42px;padding:7px 12px;border:1px solid var(--line);background:#fff}.account-chip span{color:var(--muted);font-size:11px;font-weight:800}.account-chip strong{font-size:12px;font-weight:800}.page-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start;padding:24px}.content-stack{display:grid;gap:18px;min-width:0}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.page-heading h1{margin:0;color:var(--ink);font-size:28px;font-weight:850;line-height:1.15;letter-spacing:0}.page-heading p{max-width:620px;margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.heading-actions,.toolbar-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.data-source-pill{display:inline-flex;flex-direction:column;justify-content:center;min-height:38px;padding:5px 11px;border:1px solid var(--line);border-radius:8px;background:#fff}.data-source-pill span{color:var(--ink);font-size:12px;font-weight:850;line-height:1.2}.data-source-pill small{max-width:220px;overflow:hidden;color:var(--muted);font-size:10px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.source-live{border-color:#b9eadf;background:#f0fffb}.source-live span,.source-database span{color:#0f766e}.source-database{border-color:#b9eadf;background:#f0fffb}.source-error{border-color:#f7b4b4;background:#fff5f5}.source-error span{color:#b91c1c}.toolbar-actions.with-note{justify-content:flex-end;max-width:340px}.automation-note{flex-basis:100%;color:var(--muted);font-size:11px;font-weight:700;line-height:1.4;text-align:right}.risk-pill{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid #f9caca;border-radius:8px;color:#b91c1c;background:var(--red-soft);font-size:13px;font-weight:800}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.ad-balance-panel{display:grid;gap:14px;padding:18px}.balance-panel-heading,.balance-heading-actions,.balance-summary-strip,.balance-bulk-toolbar,.balance-shop-heading,.balance-shop-heading>div,.balance-repair-button,.balance-action-ok,.permission-help-link a{display:flex;align-items:center}.balance-panel-heading{justify-content:space-between;gap:16px}.balance-heading-actions{gap:12px}.balance-bulk-menu,.balance-runs-menu{position:relative}.balance-bulk-menu>summary,.balance-runs-menu>summary{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:8px;color:#475569;background:#fff;cursor:pointer;font-size:12px;font-weight:800;list-style:none}.balance-bulk-menu>summary::-webkit-details-marker,.balance-runs-menu>summary::-webkit-details-marker{display:none}.balance-bulk-menu>summary strong{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;color:#1d4ed8;background:#dbeafe;font-size:10px}.balance-bulk-popover{position:absolute;z-index:12;top:calc(100% + 7px);right:0;display:grid;gap:10px;width:250px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.balance-bulk-popover label{display:flex;align-items:center;gap:7px;color:#334155;font-size:12px;font-weight:800}.balance-bulk-popover>span{color:var(--muted);font-size:11px;font-weight:750}.balance-bulk-popover .secondary-button{width:100%}.balance-runs-popover{position:absolute;z-index:14;top:calc(100% + 7px);right:0;display:grid;gap:10px;width:min(520px,78vw);max-height:520px;padding:12px;overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.balance-runs-title,.balance-run-item>summary,.balance-run-results>div{display:flex;align-items:center}.balance-runs-title{justify-content:space-between;gap:12px}.balance-runs-title>button{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--line);border-radius:6px;color:#475569;background:#fff;font-size:10px;font-weight:800}.balance-runs-list{display:grid;gap:7px}.balance-run-item{border:1px solid var(--line-soft);border-radius:8px;background:#f8fafc}.balance-run-item>summary{display:grid;grid-template-columns:minmax(120px,1fr) auto auto;gap:10px;padding:9px;cursor:pointer;color:#475569;font-size:10px;font-weight:800;list-style:none}.balance-run-item>summary::-webkit-details-marker{display:none}.balance-run-item>summary>span:first-child{display:grid;gap:2px}.balance-run-item>summary small{color:var(--muted)}.balance-run-status{padding:3px 7px;border-radius:999px}.balance-run-status.status-success{color:#166534;background:#dcfce7}.balance-run-status.status-partial,.balance-run-status.status-running{color:#92400e;background:#fef3c7}.balance-run-status.status-failed,.balance-run-status.status-aborted{color:#991b1b;background:#fee2e2}.balance-run-results{display:grid;gap:5px;padding:0 9px 9px}.balance-run-results>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;padding:7px;border-radius:6px;color:#475569;background:#fff;font-size:10px}.balance-run-results>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-runs-empty,.balance-runs-error{color:var(--muted);font-size:11px;font-weight:750}.balance-runs-error{color:#991b1b}.balance-sync-time{color:var(--muted);font-size:11px;font-weight:750}.spin{animation:spin .9s linear infinite}.balance-summary-strip{gap:10px;flex-wrap:wrap}.balance-summary-chip{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0 13px;border:1px solid var(--line);border-radius:8px;color:#475569;background:#f8fafc;font-size:12px;font-weight:800}.balance-summary-chip strong{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;color:#334155;background:#e8eef5;font-size:12px}.balance-summary-chip.attention{border-color:#fed7aa;color:#9a5b08;background:#fffaf0}.balance-summary-chip.attention strong{color:#9a3412;background:#ffedd5}.balance-summary-chip.permission{border-color:#fecaca;color:#991b1b;background:#fff7f7}.balance-summary-chip.permission strong{color:#991b1b;background:#fee2e2}.balance-summary-chip.is-active{border-color:#7ba5ee;box-shadow:0 0 0 2px #2563eb17}.balance-coverage{margin-left:auto;color:var(--muted);font-size:12px;font-weight:750}.balance-coverage strong{color:var(--teal);font-size:15px}.balance-panel-error,.balance-modal-warning,.permission-repair-status{display:flex;gap:9px;align-items:flex-start;padding:11px 13px;border-radius:8px;font-size:12px;font-weight:750;line-height:1.5}.balance-panel-error{border:1px solid #fecaca;color:#991b1b;background:#fff5f5}.balance-panel-message{margin:0}.balance-bulk-toolbar{gap:12px;min-height:44px;padding:7px 10px;border:1px solid var(--line-soft);border-radius:8px;background:#f8fafc}.balance-bulk-toolbar label{display:inline-flex;gap:7px;align-items:center;color:#334155;font-size:12px;font-weight:800}.balance-bulk-toolbar>span{color:var(--muted);font-size:12px;font-weight:750}.balance-bulk-toolbar .secondary-button{margin-left:auto}.balance-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start;grid-auto-rows:max-content;max-height:none;overflow:visible;padding-right:4px}.balance-shop-group{overflow:hidden;border:1px solid var(--line-soft);border-radius:8px;background:#fff}.balance-shop-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:38px;padding:6px 10px;border:0;border-bottom:1px solid var(--line-soft);color:inherit;background:#f8fafc;text-align:left}.balance-shop-name{display:inline-flex;align-items:center;gap:8px;color:#0f766e}.balance-shop-copy{display:grid;gap:2px}.balance-shop-meta{display:grid;gap:1px}.balance-shop-copy small{color:var(--muted);font-size:9px;font-weight:700;line-height:1.25}.balance-shop-heading strong{color:var(--ink);font-size:13px}.balance-table-wrap{overflow-x:auto}.balance-table{width:100%;min-width:970px;border-collapse:collapse}.balance-table th,.balance-table td{padding:11px 12px;border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:middle}.balance-table th{color:var(--muted);background:#fcfdff;font-size:11px;font-weight:850;white-space:nowrap}.balance-table tbody tr:last-child td{border-bottom:0}.balance-row.severity-critical{background:#fff8f8}.balance-row.severity-low{background:#fffdf5}.balance-row.severity-unavailable{background:#fbfcfe}.balance-desktop-layout{display:grid;gap:16px}.balance-login-heading-actions{justify-content:flex-end}.balance-desktop-feedback{display:grid;gap:8px}.balance-desktop-message{grid-column:1 / -1;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:700}.balance-desktop-message.success{background:#ecfaf3;color:#13764b}.balance-desktop-message.error{background:#fff0f0;color:#b42318}.balance-desktop-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.balance-desktop-account-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}.balance-desktop-account-index{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf3fc;color:#31527f;font-size:13px;font-weight:900}.balance-desktop-account-copy{display:grid;min-width:0;gap:4px}.balance-desktop-account-copy>div{display:flex;align-items:center;gap:8px}.balance-desktop-account-copy small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.balance-desktop-account-state{border:1px solid #e1e6ee;border-radius:999px;background:#f6f7f9;color:#687386;font-size:10px;font-weight:800;padding:3px 7px}.balance-desktop-account-state.is-ready{border-color:#a8dcc4;background:#ecfaf3;color:#13764b}.balance-popup-shell{display:grid;grid-template-rows:auto minmax(0,1fr);width:100vw;height:100vh;overflow:hidden;background:#111827}.balance-popup-toolbar{z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px;border-bottom:1px solid #dfe6f0;background:#fff;padding:12px 18px;box-shadow:0 5px 18px #0f172a1a}.balance-popup-toolbar>div{display:flex;align-items:center;gap:10px}.balance-popup-toolbar>div:first-child{display:grid;gap:2px}.balance-popup-toolbar span{color:#31527f;font-size:12px;font-weight:800}.balance-popup-toolbar small{color:var(--muted);font-size:11px}.balance-popup-toolbar .balance-desktop-message{grid-column:1 / -1}.balance-popup-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#111827}.balance-check-cell{width:34px}.balance-account-name,.balance-value-cell,.balance-threshold-cell,.balance-time-cell{display:grid;gap:4px}.balance-account-name strong,.balance-value-cell>strong{color:var(--ink);font-size:13px;font-weight:850}.balance-account-name span,.balance-value-cell>span,.balance-time-cell small{color:var(--muted);font-size:10px;font-weight:700}.balance-value-cell>strong{font-size:18px}.severity-critical .balance-value-cell>strong{color:#b91c1c}.severity-low .balance-value-cell>strong{color:#b45309}.balance-value-cell details{position:relative;color:#0f766e;font-size:10px;font-weight:750}.balance-value-cell summary{cursor:pointer;list-style:none}.balance-value-cell summary::-webkit-details-marker{display:none}.balance-breakdown{position:absolute;z-index:4;display:grid;gap:5px;width:210px;margin-top:5px;padding:10px;border:1px solid var(--line);border-radius:8px;color:#334155;background:#fff;box-shadow:var(--shadow)}.balance-threshold-cell>span{color:#334155;font-size:12px;font-weight:800}.balance-threshold-cell button{justify-self:start;padding:0;border:0;color:var(--blue);background:transparent;font-size:10px;font-weight:800}.balance-status{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 8px;border:0;border-radius:999px;font-size:10px;font-weight:850;white-space:nowrap}.balance-status-action{cursor:pointer}.balance-status-action:hover{box-shadow:inset 0 0 0 1px currentColor}.balance-status>span{width:7px;height:7px;border-radius:50%;background:currentColor}.status-normal{color:#0f766e;background:#e9faf6}.status-low{color:#a16207;background:#fff4cf}.status-critical,.status-permission{color:#b91c1c;background:#feecec}.status-unconfigured{color:#64748b;background:#eef2f7}.balance-error-detail{max-width:230px;margin-top:5px;overflow:hidden;color:#991b1b;font-size:9px;font-weight:700;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.balance-time-cell>span{color:#334155;font-size:11px;font-weight:750;white-space:nowrap}.balance-repair-button{gap:5px;min-height:30px;padding:0 9px;border:1px solid #f3b7b7;border-radius:8px;color:#b91c1c;background:#fff7f7;font-size:10px;font-weight:850;white-space:nowrap}.balance-action-ok{gap:5px;color:#0f766e;font-size:10px;font-weight:800}.balance-account-list{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;padding:8px}.balance-account-card{min-width:0;overflow:visible;border:1px solid var(--line-soft);border-radius:9px;background:#fff}.balance-account-card.severity-critical{border-color:#fecaca;background:snow}.balance-account-card.severity-low{border-color:#fed7aa;background:#fffdf7}.balance-account-card.severity-unavailable{background:#fbfcfe}.balance-account-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;min-height:46px;padding:7px 9px;border-bottom:1px solid var(--line-soft)}.balance-account-card-head.no-selection{grid-template-columns:minmax(0,1fr) auto}.balance-account-card .balance-check-cell{display:grid;place-items:center;width:22px;min-height:26px}.balance-account-card .balance-account-name{min-width:0}.balance-account-card .balance-account-name strong,.balance-account-card .balance-account-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-account-card .balance-source-badge{justify-self:start;width:fit-content;max-width:100%;padding:3px 6px;border-radius:999px;color:#475569;background:#eef2f7;font-size:9px;font-weight:800}.balance-account-card .balance-source-badge.is-stale{color:#9a3412;background:#ffedd5}.balance-account-metrics{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr);min-height:76px}.balance-card-field{display:grid;align-content:start;gap:4px;min-width:0;padding:8px 9px;border-right:1px solid var(--line-soft)}.balance-card-field:last-child{border-right:0}.balance-card-label{color:var(--muted);font-size:10px;font-weight:850}.balance-account-card .balance-value-cell,.balance-account-card .balance-threshold-cell,.balance-account-card .balance-time-cell{align-content:start}.balance-account-card .balance-value-cell details{position:static}.balance-account-card .balance-value-cell summary{width:fit-content;padding:0}.balance-account-card .balance-breakdown{position:static;width:100%;min-width:150px;margin-top:6px;box-shadow:none}.balance-threshold-button{display:inline-flex;justify-content:center;gap:4px;align-items:center;min-height:25px;padding:0 7px!important;border:1px solid #bfdbfe!important;border-radius:7px;color:#1d4ed8!important;background:#eff6ff!important;font-size:10px!important;white-space:nowrap}.balance-account-card .balance-error-detail{display:grid;gap:3px;max-width:none;margin:0;padding:6px 7px;overflow:visible;border:1px solid #fecaca;border-radius:7px;color:#991b1b;background:#fff1f2;font-size:10px;line-height:1.35;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.balance-account-card .balance-error-detail strong{font-size:10px;font-weight:850}.balance-account-card-footer{display:flex;justify-content:flex-end;align-items:center;min-height:34px;padding:3px 8px;border-top:1px solid var(--line-soft)}.balance-account-card-alert{padding:5px 8px;border-top:1px solid var(--line-soft)}.balance-empty-state{display:flex;justify-content:center;gap:9px;align-items:center;min-height:110px;color:var(--muted);font-size:12px;font-weight:750}.balance-modal{width:min(620px,100%)}.balance-modal .modal-header>button{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:8px;color:#475569;background:#fff}.balance-modal-warning{margin-top:16px;border:1px solid #fed7aa;color:#9a5b08;background:#fffaf0}.balance-threshold-input{display:grid;gap:7px;margin-top:18px}.balance-threshold-input span{color:#334155;font-size:12px;font-weight:850}.balance-threshold-input input{width:100%;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);outline:0}.permission-repair-status{margin-top:18px;border:1px solid #fed7aa;color:#9a5b08;background:#fffaf0}.permission-repair-status strong{color:#7c4a03}.permission-repair-status p{margin:4px 0 0}.permission-technical-detail{display:grid;gap:5px;margin-top:12px;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;color:#991b1b;background:#fff7f7;font-size:11px;line-height:1.45}.permission-steps{margin:16px 0 0;padding-left:22px;color:#334155;font-size:12px;font-weight:700;line-height:1.75}.permission-help-link{margin-top:14px}.permission-help-link a{gap:5px;color:var(--blue);font-size:11px;font-weight:800;text-decoration:none}.permission-actions{flex-wrap:wrap}.metric-card,.panel,.right-rail{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.metric-card{position:relative;overflow:hidden;min-height:124px;padding:18px}.metric-card:before{position:absolute;inset:0 0 auto 0;height:4px;content:""}.tone-blue:before{background:var(--blue)}.tone-teal:before{background:var(--teal)}.tone-green:before{background:var(--green)}.tone-amber:before{background:var(--amber)}.tone-red:before{background:var(--red)}.metric-label{color:var(--muted);font-size:13px;font-weight:800}.metric-value{margin-top:14px;color:var(--ink);font-size:29px;font-weight:850;line-height:1}.metric-delta{margin-top:13px;color:var(--muted);font-size:12px;font-weight:700}.chart-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);gap:14px}.panel{min-width:0;padding:16px}.panel-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.panel-title{display:flex;gap:10px;align-items:flex-start}.panel-title>span{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:8px;color:#0f766e;background:#e8f7f4}.panel-title h2{margin:0;color:var(--ink);font-size:16px;font-weight:850;letter-spacing:0;white-space:nowrap}.panel-title p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:600}.chart-panel{min-height:306px}.chart-box{width:100%;height:230px;margin-top:16px}.operations-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px}.process-panel{align-self:stretch}.process-list{display:grid;gap:12px;margin:18px 0 0;padding:0;list-style:none}.process-list li{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.process-list strong{color:#0f766e;font-size:13px}.process-list span{color:var(--muted);font-size:13px;line-height:1.45}.table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;min-width:860px;border-collapse:separate;border-spacing:0}.data-table th{height:42px;padding:0 12px;border-bottom:1px solid var(--line);color:#748196;font-size:12px;font-weight:850;text-align:left;white-space:nowrap;background:#f8fafc}.data-table td{min-height:58px;padding:11px 12px;border-bottom:1px solid var(--line-soft);color:#273449;font-size:13px;font-weight:650;vertical-align:middle;white-space:nowrap}.data-table tbody tr{transition:background .18s ease}.data-table tbody tr:hover{background:#f8fbff}.price-tracking-stack,.shop-metrics-stack{display:grid;gap:14px}.shop-metrics-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff}.shop-metrics-filter{display:flex;gap:10px}.shop-metrics-filter label{display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:800}.shop-metrics-filter select{min-width:150px;min-height:36px;padding:0 28px 0 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font:inherit}.shop-metrics-table{min-width:1080px}.shop-metrics-table tbody tr{cursor:pointer}.shop-metrics-table tbody tr.is-selected{background:#eff6ff}.shop-metrics-table td small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.shop-metric-value{display:inline-flex;align-items:center;gap:4px;color:var(--ink);font-weight:850}.shop-metric-value svg{color:#f59e0b;fill:#f59e0b}.shop-metric-missing{color:#94a3b8;font-weight:750}.shop-metric-missing small{color:#64748b!important;font-weight:650}.shop-metrics-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 14px 14px}.shop-metric-chart{min-width:0;padding:14px 12px 6px;border:1px solid var(--line);border-radius:9px;background:#fff}.shop-metric-chart h3{margin:0 0 12px;color:var(--ink);font-size:13px}.shop-metric-empty{display:grid;place-items:center;height:220px;color:var(--muted);font-size:12px}@media(max-width:900px){.shop-metrics-charts{grid-template-columns:1fr}.shop-metrics-toolbar,.shop-metrics-filter{align-items:stretch;flex-direction:column}}.price-command-bar,.price-tabs,.price-definition-bar,.price-filter-row,.price-shop-heading,.price-shop-actions,.price-device-title{display:flex;align-items:center}.price-command-bar{justify-content:space-between;gap:16px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}.price-tabs{gap:4px}.price-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 13px;border:0;border-radius:7px;color:#64748b;background:transparent;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.price-tabs button:hover{color:#1d4ed8;background:#f1f5f9}.price-tabs button.is-active{color:#fff;background:#2563eb;box-shadow:0 4px 10px #2563eb33}.price-definition-bar{gap:9px;min-height:42px;padding:10px 14px;border:1px solid #bfdbfe;border-radius:8px;color:#315174;background:#eff6ff;font-size:12px}.price-definition-bar svg{flex:0 0 auto;color:#2563eb}.price-scheduler-state{margin-left:auto;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.price-scheduler-state.is-on{color:#166534;background:#dcfce7}.price-scheduler-state.is-off{color:#991b1b;background:#fee2e2}.price-demo-notice{margin-left:auto;padding:4px 9px;border-radius:999px;color:#92400e;background:#fef3c7;font-weight:850;white-space:nowrap}.price-scheduler-state+.price-demo-notice{margin-left:0}.price-overview-metrics .metric-value small{color:#64748b;font-size:18px}.price-filter-toolbar{gap:18px}.price-filter-row{gap:8px;margin-left:auto}.price-filter-row select,.price-shop-actions select{min-height:36px;padding:0 30px 0 10px;border:1px solid var(--line);border-radius:7px;color:#334155;background:#fff;font:inherit;font-size:12px;font-weight:750}.price-search{display:flex;align-items:center;gap:7px;min-width:210px;min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:7px;color:#94a3b8;background:#fff}.price-search input{width:100%;border:0;outline:0;color:#334155;background:transparent;font:inherit;font-size:12px}.price-shop-table{min-width:1280px}.price-shop-table td:first-child{min-width:190px;white-space:normal}.price-shop-table td small,.price-comparison-table td small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.price-mock-badge{display:inline-flex;align-items:center;margin-left:7px;padding:2px 6px;border:1px solid #fbbf24;border-radius:999px;color:#92400e;background:#fffbeb;font-size:9px;font-weight:900;line-height:1.3;text-transform:uppercase}.price-market-chip,.price-count-chip{display:inline-flex;align-items:center;justify-content:center;min-width:28px;margin-right:7px;padding:3px 6px;border-radius:5px;color:#1d4ed8;background:#dbeafe;font-size:10px;font-weight:900}.price-count-chip{margin:0;padding:5px 9px}.price-shop-type{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900}.price-shop-type.is-own{color:#166534;background:#dcfce7}.price-shop-type.is-competitor{color:#7c3aed;background:#ede9fe}.price-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;color:#475569;background:#f1f5f9;font-size:10px;font-weight:900}.price-status.status-success,.price-status.status-ready,.price-status.status-confirmed,.price-status.status-authorized{color:#166534;background:#dcfce7}.price-status.status-running,.price-status.status-busy,.price-status.status-app-discovery{color:#1d4ed8;background:#dbeafe}.price-status.status-partial-success,.price-status.status-suggested,.price-status.status-pending-auth{color:#92400e;background:#fef3c7}.price-status.status-failed,.price-status.status-offline,.price-status.status-needs-attention,.price-status.status-auth-expired,.price-status.status-auth-disabled{color:#991b1b;background:#fee2e2}.price-status.status-out-of-stock{color:#7c2d12;background:#ffedd5}.price-progress-cell{display:grid;gap:5px;min-width:110px}.price-progress-cell .price-progress{height:6px;margin:0}.price-progress-cell span{color:#475569;font-size:11px}.price-link-button,.price-text-button,.price-back-button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:var(--blue);background:transparent;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.price-shop-heading{gap:14px;padding:15px 17px;border:1px solid var(--line);border-radius:9px;background:#fff}.price-back-button{padding-right:14px;border-right:1px solid var(--line);color:#64748b}.price-shop-heading h2{margin:0;color:var(--ink);font-size:18px}.price-shop-heading p{margin:4px 0 0;color:var(--muted);font-size:11px}.price-auth-state{display:flex;align-items:center;gap:12px;padding:11px 14px;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4}.price-auth-state.is-pending-auth,.price-auth-state.is-auth-expired,.price-auth-state.is-auth-disabled{border-color:#fde68a;background:#fffbeb}.price-auth-state>div{display:grid;gap:2px}.price-auth-state strong{color:var(--ink);font-size:12px}.price-auth-state span:last-child{color:var(--muted);font-size:11px}.price-empty-catalog{display:grid;justify-items:center;gap:5px;padding:36px 12px;color:#94a3b8}.price-empty-catalog strong{color:#475569;font-size:13px}.price-empty-catalog span{color:var(--muted);font-size:11px}.price-muted-link{color:#94a3b8;font-size:11px}.price-shop-actions{gap:8px;margin-left:auto}.price-row-actions{display:flex;align-items:center;gap:10px}.price-schedule-off{color:#991b1b;font-size:11px;font-weight:850}.price-settings-modal{width:min(680px,100%)}.price-settings-form{display:grid;gap:14px;margin-top:18px}.price-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.price-settings-grid label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:800}.price-settings-grid input,.price-settings-grid select{min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:7px;color:#334155;background:#fff;font:inherit}.price-setting-switch{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border:1px solid var(--line-soft);border-radius:8px;background:#f8fafc}.price-setting-switch span{display:grid;gap:4px}.price-setting-switch strong{color:#1e293b;font-size:12px}.price-setting-switch small{color:var(--muted);font-size:11px;line-height:1.45}.price-setting-switch input{width:18px;height:18px;accent-color:var(--blue)}.price-settings-note{padding:10px 12px;border-radius:7px;color:#315174;background:#eff6ff;font-size:11px;line-height:1.55}.price-product-table a{display:inline-flex;align-items:center;gap:4px}.price-product-table th:first-child,.price-product-table td:first-child{width:62px;min-width:62px;text-align:center}.price-product-table td:nth-child(2){min-width:300px;white-space:normal}.price-star-button{display:inline-grid;width:32px;height:32px;place-items:center;border:1px solid #dbe3ee;border-radius:9px;color:#94a3b8;background:#fff;cursor:pointer}.price-star-button:hover{color:#d97706;border-color:#fcd34d;background:#fffbeb}.price-star-button.is-active{color:#d97706;border-color:#fbbf24;background:#fef3c7}.price-star-button:disabled{cursor:wait;opacity:.65}.price-product-table tr.is-starred-product{background:#fffdf5}.price-star-note{color:#b45309!important;font-weight:850}.price-sku-detail-row>td{padding:14px!important;background:#f8fafc}.price-sku-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:10px}.price-sku-grid article{padding:12px;border:1px solid #dbe3ee;border-radius:8px;background:#fff}.price-sku-grid article>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.price-sku-grid article>small{display:block;margin-top:5px;color:#94a3b8}.price-sku-grid dl,.price-device-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;margin:12px 0 0}.price-sku-grid dl div,.price-device-card dl div{display:grid;gap:3px}.price-sku-grid dt,.price-device-card dt{color:#94a3b8;font-size:10px;font-weight:750}.price-sku-grid dd,.price-device-card dd{margin:0;color:#334155;font-size:12px;font-weight:850}.price-comparison-table{min-width:1440px}.price-comparison-table td:nth-child(2),.price-comparison-table td:nth-child(4){min-width:240px;white-space:normal}.price-comparison-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.price-competitor-entry{overflow:hidden}.price-competitor-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border-top:1px solid var(--line-soft)}.price-competitor-form-grid label,.price-competitor-mapping-row label{display:grid;gap:6px}.price-competitor-form-grid label>span,.price-competitor-mapping-row label>span{color:#64748b;font-size:11px;font-weight:850}.price-competitor-form-grid label.is-wide{grid-column:1 / -1}.price-competitor-form-grid input,.price-competitor-form-grid select,.price-competitor-mapping-row input,.price-competitor-mapping-row select{width:100%;min-height:40px;padding:0 11px;border:1px solid #d7e0eb;border-radius:8px;color:#273449;background:#fff;font:inherit;font-size:12px}.price-competitor-form-grid input:focus,.price-competitor-form-grid select:focus,.price-competitor-mapping-row input:focus,.price-competitor-mapping-row select:focus{border-color:#60a5fa;outline:3px solid rgb(96 165 250 / 14%)}.price-competitor-mapping-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px 10px;border-top:1px solid var(--line-soft)}.price-competitor-mapping-heading>div{display:grid;gap:3px}.price-competitor-mapping-heading strong{color:var(--ink);font-size:13px}.price-competitor-mapping-heading span{color:var(--muted);font-size:11px}.price-competitor-mappings{display:grid;gap:9px;padding:0 18px 18px}.price-competitor-mapping-row{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(220px,1fr) minmax(180px,.8fr) auto;align-items:end;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.price-remove-mapping{min-height:40px;padding:0 10px;border:0;color:#dc2626;background:transparent;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.price-remove-mapping:disabled{color:#cbd5e1;cursor:not-allowed}.price-competitor-form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-top:1px solid #bfdbfe;color:#315174;background:#eff6ff;font-size:11px}.price-competitor-form-footer>span{display:inline-flex;align-items:center;gap:7px}.price-delta{font-weight:900}.price-delta.is-higher{color:#b91c1c}.price-delta.is-lower{color:#15803d}.price-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.price-device-card{display:grid;grid-template-columns:auto 1fr;gap:13px;padding:16px}.price-device-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#2563eb;background:#dbeafe}.price-device-title{gap:7px}.price-device-title h3{margin:0;color:var(--ink);font-size:14px}.price-device-card p{margin:5px 0 0;color:#64748b;font-size:11px}.price-attention{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;color:#b45309;background:#fffbeb;font-size:11px;font-weight:850}.price-actions{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 16px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.price-actions>div:first-child{display:grid;gap:5px;color:#1e3a8a;font-size:13px}.price-actions span{color:#536780;font-size:12px}.price-actions>div:last-child{display:flex;gap:8px;flex:0 0 auto}.price-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.price-time-value{margin-top:14px;color:var(--ink);font-size:19px;font-weight:850;line-height:1.2}.price-notice{padding:11px 14px;border-radius:8px;font-size:13px;font-weight:750}.price-notice.is-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.price-notice.is-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.price-progress{overflow:hidden;height:8px;margin:0 0 16px;border-radius:999px;background:#e2e8f0}.price-progress i{display:block;height:100%;border-radius:inherit;background:var(--blue);transition:width .25s ease}.price-run-table{min-width:720px}.price-product-table{min-width:1040px}.price-observation-table{min-width:1500px}.price-product-table td:first-child,.price-observation-table td:first-child{white-space:normal;min-width:220px}.price-product-table td small,.price-observation-table td small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.price-product-table a,.price-observation-table a{color:var(--blue);font-weight:800;text-decoration:none}.price-final-cell{color:#166534!important;font-weight:900!important}.rule-hits-panel{overflow:hidden}.rule-hits-toolbar{align-items:flex-start}.rule-hit-actions{justify-content:flex-end}.rule-hit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rule-hit-card{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;min-width:0;min-height:132px;padding:10px;border:1px solid var(--line-soft);border-radius:10px;background:#fff;box-shadow:0 3px 12px #0f172a09;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.rule-hit-card:hover{border-color:#c9d7e8;box-shadow:0 8px 22px #0f172a12;transform:translateY(-1px)}.rule-hit-check{position:absolute;top:16px;left:16px;z-index:3;display:grid;place-items:center;width:24px;height:24px;border:1px solid rgba(255,255,255,.76);border-radius:6px;background:#ffffffe6;box-shadow:0 2px 8px #0f172a24}.rule-hit-check input{margin:0}.tiktok-material-preview{position:relative;width:84px;height:112px;overflow:hidden;border-radius:8px;background:#0f172a;box-shadow:inset 0 0 0 1px #0f172a14}.tiktok-material-preview iframe,.tiktok-material-preview>img{width:100%;height:100%;border:0;object-fit:cover}.tiktok-material-preview iframe{pointer-events:none}.tiktok-material-preview button{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:end center;gap:4px;width:100%;padding:8px 4px;border:0;border-radius:inherit;color:#fff;background:linear-gradient(180deg,transparent 42%,rgba(15,23,42,.78) 100%);cursor:pointer}.tiktok-material-preview button svg{margin-inline:auto;filter:drop-shadow(0 2px 4px rgba(15,23,42,.45))}.tiktok-material-preview button span{font-size:10px;font-weight:850}.rule-hit-copy{display:grid;align-content:start;gap:8px;min-width:0}.rule-hit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}.rule-hit-heading>div:first-child{min-width:0}.rule-hit-heading strong,.rule-hit-heading small{display:block;overflow:hidden;text-overflow:ellipsis}.rule-hit-heading strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--ink);font-size:13px;font-weight:900;line-height:1.35}.rule-hit-heading small{margin-top:3px;color:#8a97aa;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:9px;font-weight:700;white-space:nowrap}.rule-hit-author{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;margin-top:4px;color:#526176;font-size:10px;font-weight:750}.rule-hit-context{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:6px;color:#65748a;font-size:10px;font-weight:700}.rule-hit-context span{display:inline-flex;gap:4px;align-items:center}.rule-hit-context b,.rule-hit-context time{color:#26364d;font-weight:850}.rule-hit-context i{padding:1px 4px;border-radius:4px;color:#8a5a00;background:#fff5d6;font-size:8px;font-style:normal;font-weight:850}.creator-origin-tag{display:inline-flex;align-items:center;min-height:19px;padding:1px 6px;border-radius:999px;font-size:9px;font-weight:850;white-space:nowrap}.creator-origin-tag.origin-creator{color:#6d28d9;background:#f3e8ff}.creator-origin-tag.origin-shop{color:#0f766e;background:#ccfbf1}.creator-origin-tag.origin-unknown{color:#64748b;background:#f1f5f9}.rule-hit-heading .tag-stack{flex:0 0 auto;justify-content:flex-end}.rule-hit-heading .rule-tag{min-height:20px;padding-inline:6px;font-size:10px}.rule-hit-campaign{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:start;min-width:0;padding:7px 8px;border-radius:7px;background:#f8fafc}.rule-hit-product-button,.rule-hit-product-placeholder{width:44px;height:44px;border:1px solid var(--line-soft);border-radius:7px;object-fit:cover;background:#fff}.rule-hit-product-button{position:relative;overflow:hidden;padding:0;cursor:zoom-in}.rule-hit-product-button:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";border-radius:inherit;box-shadow:inset 0 0 #2563eb40;transition:box-shadow .16s ease}.rule-hit-product-button:hover:after,.rule-hit-product-button:focus-visible:after{box-shadow:inset 0 0 0 2px #2563ebb3}.rule-hit-product-button img{display:block;width:100%;height:100%;object-fit:cover}.rule-hit-product-placeholder{display:grid;place-items:center;color:#94a3b8}.rule-hit-campaign>div{display:grid;gap:2px;min-width:0}.rule-hit-campaign strong,.rule-hit-campaign small{overflow:hidden;text-overflow:ellipsis}.rule-hit-campaign strong{color:#334155;font-size:11px;font-weight:800;line-height:1.4;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}.rule-hit-campaign small{color:var(--muted);font-size:9px;font-weight:700;white-space:nowrap}.rule-hit-campaign .rule-hit-campaign-name{color:#526176}.rule-hit-campaign .rule-hit-campaign-id{color:#64748b}.rule-hit-campaign .mono{font-size:inherit}.rule-hit-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--line-soft);border-radius:7px}.rule-hit-metrics span{display:grid;gap:2px;min-width:0;padding:6px 7px;border-right:1px solid var(--line-soft)}.rule-hit-metrics span:last-child{border-right:0}.rule-hit-metrics small{color:var(--muted);font-size:9px;font-weight:700}.rule-hit-metrics b{overflow:hidden;color:var(--ink);font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.rule-hit-updated{color:#8a97aa;font-size:9px;font-weight:700;text-align:right}.rule-hit-empty{grid-column:1 / -1;display:grid;place-items:center;gap:6px;min-height:180px;padding:28px;border:1px dashed #cbd5e1;border-radius:10px;color:#0f766e;background:#f8fffd;text-align:center}.rule-hit-empty strong{color:var(--ink);font-size:14px}.rule-hit-empty span{color:var(--muted);font-size:12px}.local-mock-notice{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #f0d38c;border-radius:8px;color:#805c16;background:#fffaf0;font-size:11px;font-weight:750}.local-mock-notice>span,.rule-tag.tag-mock{flex:0 0 auto;padding:3px 7px;border-radius:999px;color:#8a4b0f;background:#ffebbd;font-size:10px;font-weight:900}.rule-hits-panel.is-embedded .rule-hit-list{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:5px;grid-template-columns:1fr;grid-auto-rows:max-content;align-content:start;overscroll-behavior:contain;scrollbar-gutter:stable}.rule-hits-panel.is-embedded{display:flex;flex-direction:column}.rule-hits-panel.is-embedded .rule-hit-card{grid-template-columns:76px minmax(0,1fr);min-height:122px;padding:8px}.rule-hits-panel.is-embedded .tiktok-material-preview{width:76px;height:104px}.rule-hits-panel.is-embedded .rule-hit-check{top:13px;left:13px}.material-preview-modal{width:min(520px,100%)}.material-player-shell{width:min(360px,100%);aspect-ratio:9 / 16;max-height:min(68vh,640px);margin:18px auto 0;overflow:hidden;border-radius:10px;background:#0f172a}.material-player-shell iframe{width:100%;height:100%;border:0}.material-preview-note{margin:14px 0 0;color:var(--muted);font-size:11px;font-weight:650;line-height:1.5;text-align:center}.product-preview-modal{width:min(880px,100%)}.product-preview-image-shell{display:grid;place-items:center;min-height:320px;max-height:72vh;margin-top:18px;overflow:hidden;border:1px solid var(--line-soft);border-radius:10px;background:#f8fafc}.product-preview-image-shell img{display:block;max-width:100%;max-height:72vh;object-fit:contain}.product-preview-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px;color:var(--muted);font-size:11px;font-weight:700}.product-preview-meta b{margin-left:4px;color:#334155}.checkbox-col{width:38px}.material-identity{display:flex;align-items:center;gap:10px;min-width:0}.material-identity strong,.material-identity small{display:block}.material-identity strong{max-width:270px;overflow:hidden;color:var(--ink);font-size:13px;font-weight:800;text-overflow:ellipsis}.material-identity small{margin-top:4px;color:var(--muted);font-size:12px;font-weight:600}.thumb{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:8px;color:#fff}.thumb.tone-red,.material-hero.tone-red{background:linear-gradient(135deg,#ef4444,#f97316)}.thumb.tone-amber,.material-hero.tone-amber{background:linear-gradient(135deg,#f59e0b,#fb7185)}.thumb.tone-blue,.material-hero.tone-blue{background:linear-gradient(135deg,#2563eb,#06b6d4)}.thumb.tone-teal,.material-hero.tone-teal{background:linear-gradient(135deg,#0f9f8f,#14b8a6)}.thumb.tone-violet,.material-hero.tone-violet{background:linear-gradient(135deg,#7c3aed,#06b6d4)}.thumb.tone-green,.material-hero.tone-green{background:linear-gradient(135deg,#16a34a,#84cc16)}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;letter-spacing:0}.tag-stack{display:flex;gap:6px;flex-wrap:wrap}.campaign-stack{display:grid;gap:5px;min-width:0}.campaign-stack strong{overflow:hidden;color:var(--ink);font-size:12px;font-weight:850;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.campaign-stack small{overflow:hidden;color:var(--muted);font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.metrics-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.metrics-inline span{display:grid;gap:2px;color:var(--muted);font-size:10px;font-weight:750;line-height:1.2}.metrics-inline b{color:var(--ink);font-size:12px;font-weight:850}.rule-tag,.action-badge,.review-state{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:850}.tag-red{color:#b91c1c;background:var(--red-soft)}.tag-amber{color:#9a5b00;background:var(--amber-soft)}.rules-table{min-width:760px;table-layout:fixed}.rules-table th:nth-child(1){width:auto}.rules-table th:nth-child(2){width:220px}.rules-table th:nth-child(3){width:76px}.rules-table th:nth-child(4){width:100px}.rules-table th:nth-child(5){width:142px}.rule-store-groups{display:grid;gap:10px}.rule-store-group{overflow:hidden;border:1px solid var(--line-soft);border-radius:9px;background:#fff}.rule-store-group-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;width:100%;min-height:58px;padding:9px 13px;border:0;color:inherit;background:#f8fafc;cursor:pointer;text-align:left}.rule-store-group-heading:hover{background:#f1f6fb}.rule-store-group-name,.rule-store-group-action{display:flex;align-items:center}.rule-store-group-name{gap:9px;color:#0f766e}.rule-store-group-name>span{display:grid;gap:3px}.rule-store-group-name strong{color:var(--ink);font-size:13px;font-weight:850}.rule-store-group-name small{color:var(--muted);font-size:10px;font-weight:750}.rule-store-group-action{gap:6px;color:#64748b;font-size:11px;font-weight:800}.rule-store-group-action svg{transition:transform .18s ease}.rule-store-group-action svg.is-collapsed{transform:rotate(-90deg)}.rule-store-group .table-wrap{border-top:1px solid var(--line-soft)}.rule-store-group .data-table tbody tr:last-child td{border-bottom:0}.campaign-management-panel{min-width:0}.campaign-management-panel>.panel-toolbar .panel-title>svg{flex:0 0 auto;padding:8px;width:34px;height:34px;border-radius:8px;color:#0f766e;background:#e8f7f4}.campaign-warning{margin:0 0 12px;padding:9px 12px;border:1px solid #f1d49c;border-radius:7px;color:#8a5a00;background:#fff8e8;font-size:12px;font-weight:700}.campaign-refreshing-notice{margin:0 0 12px;padding:9px 12px;border:1px solid #bfdbfe;border-radius:7px;color:#1d4ed8;background:#eff6ff;font-size:12px;font-weight:700}.campaign-warning summary{display:flex;gap:7px;align-items:center;cursor:pointer;list-style:none}.campaign-warning summary::-webkit-details-marker{display:none}.campaign-warning ul{display:grid;gap:7px;margin:9px 0 0;padding:9px 0 0 22px;border-top:1px solid rgba(138,90,0,.18)}.campaign-warning li{display:flex;gap:8px;align-items:baseline;font-weight:600}.campaign-warning li span{flex:1}.campaign-warning code{color:#a16207;font-size:11px}.campaign-store-groups{display:grid;gap:10px}.campaign-table-wrap{overflow-x:auto}.campaign-table{min-width:1410px}.campaign-table th,.campaign-table td{vertical-align:middle;white-space:nowrap}.campaign-table td:first-child{white-space:normal}.campaign-table th:first-child,.campaign-table td:first-child{width:210px;min-width:210px;max-width:210px;position:sticky;left:0;z-index:2;background:#fff}.campaign-table th:first-child{z-index:3;background:#f8fafc}.campaign-table th:last-child,.campaign-table td:last-child{position:sticky;right:0;z-index:2;background:#fff}.campaign-table th:last-child{z-index:3;background:#f8fafc}.campaign-table td:nth-child(9) small,.campaign-update-header small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.campaign-sort-button{display:inline-flex;align-items:center;min-height:24px;padding:0;border:0;color:inherit;background:transparent;font:inherit;cursor:pointer}.campaign-sort-button:hover{color:var(--primary)}.campaign-sort-button:focus-visible{border-radius:4px;outline:2px solid color-mix(in srgb,var(--primary) 35%,transparent);outline-offset:2px}.campaign-table td:first-child strong,.campaign-id,.campaign-secondary-status{display:block}.campaign-id,.campaign-secondary-status{margin-top:4px;color:var(--muted);font-size:10px}.campaign-title-line{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}.campaign-title-line strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.campaign-title-line .campaign-status{flex:0 0 auto}.campaign-status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:850}.campaign-status:before{width:6px;height:6px;border-radius:50%;background:currentColor;content:""}.campaign-status.is-active{color:#16734a;background:#e8f7ef}.campaign-status.is-paused{color:#8a5a00;background:#fff4d8}.campaign-soft-warning{display:flex;gap:7px;align-items:center;margin:0 0 12px;padding:9px 12px;border:1px solid #f1d49c;border-radius:7px;color:#8a5a00;background:#fff8e8;font-size:12px;font-weight:700}.campaign-row-actions{display:flex;gap:5px}.campaign-row-actions button{display:inline-flex;align-items:center;gap:3px;padding:5px 7px;border:1px solid var(--line);border-radius:6px;color:#334155;background:#fff;font-size:11px;font-weight:750;cursor:pointer}.campaign-row-actions button:disabled{opacity:.38;cursor:not-allowed}.campaign-confirm-modal{width:min(620px,100%)}.modal-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.modal-heading h2{margin:0;font-size:19px}.modal-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.campaign-confirm-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:18px 0;overflow:hidden;border:1px solid var(--line-soft);border-radius:8px;background:var(--line-soft)}.campaign-confirm-summary>div{padding:10px 12px;background:#f8fafc}.campaign-confirm-summary dt{color:var(--muted);font-size:10px;font-weight:750}.campaign-confirm-summary dd{margin:4px 0 0;color:var(--ink);font-size:13px;font-weight:800}.campaign-confirm-summary dd small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.campaign-edit-field{display:grid;gap:6px;font-size:12px;font-weight:800}.campaign-edit-field input,.campaign-edit-field select{min-height:42px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:#fff}.campaign-edit-field>small{color:var(--muted);font-size:11px;font-weight:700}.campaign-confirm-note{margin-top:13px;padding:10px 12px;border-radius:7px;color:#475569;background:#f1f5f9;font-size:11px;line-height:1.55}.campaign-confirm-error{display:flex;gap:9px;align-items:flex-start;margin-top:13px;padding:11px 12px;border:1px solid #fecaca;border-radius:7px;color:#991b1b;background:#fff1f1}.campaign-confirm-error svg{flex:0 0 auto;margin-top:1px}.campaign-confirm-error div{display:grid;gap:3px}.campaign-confirm-error strong{font-size:12px}.campaign-confirm-error span{font-size:11px;font-weight:700;line-height:1.45}.campaign-change-summary{margin-top:10px;color:#0f766e;font-size:12px;font-weight:850}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.monitoring-modal{width:min(560px,100%)}.monitoring-form{display:grid;gap:12px;margin-top:18px}.monitoring-form label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:800}.monitoring-form input[type=number]{min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:7px}.monitoring-form .monitoring-switch{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:7px;background:#f8fafc}.monitoring-switch input{width:18px;height:18px;accent-color:#0f766e}.store-permission-modal{width:min(780px,100%);max-height:min(780px,88vh);overflow:auto}.store-permission-modal .users-message{margin-top:14px}.store-permission-table-wrap{max-height:480px;margin-top:16px;overflow:auto;border:1px solid var(--line-soft);border-radius:8px}.store-permission-table th:not(:first-child),.store-permission-table td:not(:first-child){width:86px;text-align:center}.store-permission-table td:first-child strong,.store-permission-table td:first-child small{display:block}.store-permission-table td:first-child small{margin-top:3px;color:var(--muted);font-size:10px}.store-permission-table input[type=checkbox]{width:17px;height:17px;accent-color:#0f766e}.campaign-change-log-table{min-width:1180px}.campaign-log-status{display:inline-flex;padding:4px 8px;border-radius:999px;color:#475569;background:#eef2f6;font-size:11px;font-weight:800}.campaign-log-status.status-success{color:#16734a;background:#e8f7ef}.campaign-log-status.status-failed,.campaign-log-status.status-conflict{color:#a12b2b;background:#fff0f0}.campaign-log-status.status-pending,.campaign-log-status.status-pending_verification{color:#8a5a00;background:#fff4d8}.rule-main-row.is-expanded td{border-bottom-color:transparent;background:#f8fbff}.rule-monitor-toggle{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 9px;border:1px solid var(--line);border-radius:7px;color:#475569;background:#fff;font-size:11px;font-weight:800;white-space:nowrap}.rule-monitor-toggle.is-open{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff}.rule-monitor-toggle svg:last-child{transition:transform .18s ease}.rule-monitor-toggle.is-open svg:last-child{transform:rotate(180deg)}.rules-table .rule-monitor-row:hover,.rules-table .rule-monitor-row:hover td{background:#f8fbff}.rules-table .rule-monitor-row td{padding:0 12px 12px;white-space:normal;background:#f8fbff}.rule-monitor-settings{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;padding:12px;border:1px solid #dbeafe;border-radius:8px;background:#fff}.rule-monitor-settings label{display:grid;gap:7px}.rule-monitor-settings label>span{color:#64748b;font-size:11px;font-weight:850}.rule-monitor-settings .rule-input{width:100%;height:36px}.rule-campaign-cell{max-width:100%;overflow:hidden;color:var(--ink);font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.rule-search,.rule-store-filter{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff}.rule-store-filter select{min-width:160px;border:0;outline:0;color:var(--ink);background:transparent;font-size:13px;font-weight:750;-webkit-appearance:none;-moz-appearance:none;appearance:none}.campaign-status-filter select{min-width:92px}.rule-search input{width:190px;border:0;outline:0;color:var(--ink);background:transparent;font-size:13px;font-weight:750}.rule-store-cell{display:grid;gap:4px;min-width:132px}.rule-store-cell strong{overflow:hidden;color:var(--ink);font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.rule-store-cell small{overflow:hidden;color:var(--muted);font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.rule-input{width:76px;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff;font-size:13px;font-weight:800}.rule-input-with-unit{display:inline-flex;align-items:center;gap:8px}.rule-input-with-unit b{color:var(--muted);font-size:12px;font-weight:850}.rule-input-with-unit b:empty{display:none}.toggle{position:relative;width:42px;height:24px;border:0;border-radius:999px;background:#cbd5e1}.toggle span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .18s ease}.toggle.is-on{background:var(--teal)}.toggle.is-on span{transform:translate(18px)}.removed-grid,.quality-list{display:grid;gap:10px;margin-top:16px}.removed-row,.quality-item{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:14px;align-items:center;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.removed-meta{display:flex;gap:10px;color:var(--muted);font-size:12px;font-weight:800}.removed-grid{gap:14px}.removed-material-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:start;padding:14px;border:1px solid var(--line-soft);border-radius:10px;background:#fff;box-shadow:0 5px 16px #0f172a09}.removed-material-card .tiktok-material-preview{height:128px}.removed-material-content{display:grid;gap:10px;min-width:0}.removed-material-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.removed-material-heading>div{min-width:0}.removed-material-heading>div>strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--ink);font-size:15px;font-weight:900;line-height:1.4}.removed-material-heading>div>small{display:block;margin-top:4px;overflow:hidden;color:#7d8ba0;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.removed-material-context{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:6px;color:#78879a;font-size:10px;font-weight:700}.removed-material-context span{display:inline-flex;align-items:center;gap:4px}.removed-material-context b,.removed-material-context time,.removed-material-removal-meta b,.removed-material-removal-meta time{color:#334155;font-weight:850}.removed-material-context i{padding:1px 4px;border-radius:4px;color:#9a5b00;background:#fff3d4;font-size:8px;font-style:normal;font-weight:850}.removed-status-chip{flex:0 0 auto;padding:4px 8px;border-radius:999px;color:#b91c1c;background:var(--red-soft);font-size:10px;font-weight:850}.removed-status-chip.is-pending{color:#9a5b00;background:var(--amber-soft)}.material-action-message{margin-top:10px;margin-bottom:0}.removed-material-product{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:9px;border:1px solid #edf1f6;border-radius:8px;background:#f8fafc}.removed-material-product>img,.removed-product-placeholder{display:grid;place-items:center;width:48px;height:48px;border:1px solid #e4eaf2;border-radius:7px;color:#91a0b4;background:#fff;object-fit:cover}.removed-material-product>div{min-width:0}.removed-material-product strong,.removed-material-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.removed-material-product strong{color:#334155;font-size:12px;font-weight:850}.removed-material-product small{margin-top:2px;color:#7d8ba0;font-size:10px;font-weight:650}.removed-material-metrics{display:grid;grid-template-columns:repeat(7,minmax(68px,1fr));overflow:hidden;border:1px solid #e5ebf3;border-radius:8px;background:#fff}.removed-material-metrics>span{min-width:0;padding:7px 8px;border-right:1px solid #e8edf4}.removed-material-metrics>span:last-child{border-right:0}.removed-material-metrics small,.removed-material-metrics b{display:block}.removed-material-metrics small{color:#8b98aa;font-size:9px;font-weight:750}.removed-material-metrics b{margin-top:2px;overflow:hidden;color:#26364a;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.removed-material-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.removed-material-removal-meta{display:flex;flex-wrap:wrap;gap:5px 16px}.removed-material-removal-meta>span{color:#8b98aa;font-size:10px;font-weight:650}.removed-empty{display:grid;place-items:center;gap:5px;min-height:160px;padding:24px;border:1px dashed #cfd9e6;border-radius:10px;color:#7b899d;text-align:center}.removed-empty strong{color:#42526a;font-size:13px}.removed-empty span{font-size:11px}.row-actions{display:flex;gap:8px}.action-badge.remove{color:#b91c1c;background:var(--red-soft)}.action-badge.restore{color:#0f766e;background:var(--teal-soft)}.success-text{color:#15803d;font-weight:850}.quality-grid{display:grid;grid-template-columns:380px minmax(0,1fr);gap:14px}.quality-panel{min-height:380px}.quality-preview{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:center;margin-top:22px;padding:20px;border:1px solid var(--line-soft);border-radius:8px;background:linear-gradient(135deg,#f8fbff,#ecfbf8)}.play-tile{display:grid;place-items:center;height:220px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#122033,#0f766e)}.quality-preview h3{margin:0 0 10px;font-size:21px}.quality-preview p{margin:0;color:var(--muted);line-height:1.7}.quality-item{grid-template-columns:minmax(0,1fr) auto;width:100%;text-align:left}.quality-item.is-selected{border-color:#7dd3c7;background:#f0fffb}.review-state{color:#475569;background:#eef2f7}.right-rail{position:sticky;top:88px;display:grid;gap:16px;padding:16px}.material-hero{position:relative;display:grid;place-items:center;overflow:hidden;min-height:170px;border-radius:8px;color:#fff}.material-hero span{position:absolute;left:14px;bottom:12px;font-size:13px;font-weight:850}.hero-noise{position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(circle at 25% 20%,rgba(255,255,255,.22),transparent 28%),radial-gradient(circle at 80% 70%,rgba(255,255,255,.16),transparent 24%)}.detail-stack{display:grid;gap:12px}.detail-stack label,.mini-metrics label,.rule-callout .callout-title{display:block;color:var(--muted);font-size:12px;font-weight:850}.detail-stack strong,.detail-stack span{display:block;margin-top:5px;color:var(--ink);font-size:14px;font-weight:800;line-height:1.4}.mini-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mini-metrics span{padding:10px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.mini-metrics strong{display:block;margin-top:5px;font-size:15px;font-weight:850}.rule-callout{padding:13px;border:1px solid #f8d6a3;border-radius:8px;background:#fffaf0}.rule-callout p{margin:8px 0 0;color:#7c4a03;font-size:13px;font-weight:750;line-height:1.45}.rule-callout small{display:block;margin-top:9px;color:#8a6818;line-height:1.45}.rail-actions{display:grid;gap:10px}.wide{width:100%}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:20px;background:#0f172a5c}.modal-card{width:min(720px,100%);padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 24px 80px #0f172a33}.modal-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.modal-header h2{margin:0;font-size:20px}.modal-header p{margin:6px 0 0;color:var(--muted);font-size:13px}.icon-button{width:36px;padding:0;color:#475569;background:#fff}.file-drop{position:relative;display:flex;align-items:center;gap:10px;margin-top:18px;padding:13px;border:1px dashed #b8c7d8;border-radius:8px;color:#334155;background:#f8fafc;font-size:13px;font-weight:800}.file-drop input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0}.csv-textarea{width:100%;min-height:220px;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:8px;color:#102033;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55;resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.time-filter-group{display:flex;align-items:center;gap:10px;justify-self:start;width:min(100%,577px);min-height:46px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;color:#334155;background:#fff;box-shadow:0 10px 26px #1523340d}.time-filter-icon{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:8px;color:#0f766e;background:#e8f7f4}.time-field{display:flex;align-items:center;gap:8px;min-width:0}.time-field>span{color:var(--muted);font-size:11px;font-weight:850;white-space:nowrap}.time-input-row{display:flex;align-items:center;gap:6px;min-height:34px;padding:3px;border:1px solid var(--line-soft);border-radius:8px;background:#f8fafc}.time-filter-group input{width:122px;height:28px;border:0;border-radius:6px;color:var(--ink);background:transparent;font-size:12px;font-weight:800;outline:0}.time-filter-group input[type=time]{width:76px}.time-filter-group input:focus{background:#fff;box-shadow:0 0 0 2px #2563eb1a}.range-separator{color:var(--muted);font-size:12px;font-weight:850;white-space:nowrap}.refresh-group{display:grid;gap:4px;justify-items:start}.refresh-actions{display:flex;align-items:center;gap:8px}.refresh-group small{color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap}.user-menu{display:flex;align-items:center;gap:8px;justify-content:flex-end;min-width:0}.user-menu span{max-width:120px;overflow:hidden;color:#334155;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.status-button:disabled,.secondary-button:disabled{cursor:wait;opacity:.86}.status-button.is-refreshing svg,.secondary-button.is-refreshing svg{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.store-spend-panel .panel-toolbar{margin-bottom:12px}.overview-priority-grid{display:grid;grid-template-columns:minmax(620px,1.2fr) minmax(440px,.8fr);gap:14px;align-items:stretch}.overview-priority-grid>.panel{min-height:0}.overview-rule-hits-slot{position:relative;min-width:0;min-height:0}.overview-rule-hits-slot>.rule-hits-panel{position:absolute;top:0;right:0;bottom:0;left:0}.overview-priority-grid .store-spend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-priority-grid .store-spend-card{min-height:138px}.overview-priority-grid .panel-title h2{min-width:205px}.store-spend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.store-spend-card{display:grid;gap:12px;min-height:150px;padding:14px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.store-spend-card.is-selected{border-color:#7dd3c7;background:#f0fffb;box-shadow:0 0 0 2px #0f9f8f1a}.store-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.store-card-head strong{color:var(--ink);font-size:13px;font-weight:850}.store-card-head span{color:var(--muted);font-size:11px;font-weight:800;white-space:nowrap}.store-card-value{margin-top:6px;color:var(--ink);font-size:24px;font-weight:850;line-height:1}.store-card-label{color:var(--muted);font-size:11px;font-weight:850}.store-spend-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.store-metric{display:grid;gap:4px}.store-spend-card dt{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:11px;font-weight:800}.store-spend-card dt span{display:grid;place-items:center;width:18px;height:18px;border-radius:6px;color:#0f766e;background:#e8f7f4}.store-spend-card dd{margin:4px 0 0;color:#273449;font-size:12px;font-weight:850}.chart-alerts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.alert-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:7px;font-size:12px;font-weight:800}.alert-chip.danger{color:#b91c1c;background:var(--red-soft)}.alert-chip.warning{color:#9a5b00;background:var(--amber-soft)}.chart-note{margin:10px 0 0;color:var(--muted);font-size:12px;font-weight:750}.anomaly-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.anomaly-rule-card{display:grid;gap:18px;min-height:210px;padding:16px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.anomaly-rule-head{display:flex;gap:12px;align-items:flex-start}.rule-icon{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:8px;color:#0f766e;background:#e8f7f4}.anomaly-rule-card h2{margin:0;color:var(--ink);font-size:16px;font-weight:850}.anomaly-rule-card p{margin:7px 0 0;color:var(--muted);font-size:13px;font-weight:650;line-height:1.55}.anomaly-rule-controls{display:flex;justify-content:space-between;gap:12px;align-items:end}.anomaly-rule-controls label{display:grid;gap:7px}.anomaly-rule-controls label>span{color:var(--muted);font-size:12px;font-weight:850}.product-group-rules-panel{display:grid;gap:16px;min-width:0;max-width:100%;overflow:hidden}.product-group-rule-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.product-group-rule-summary>span{display:grid;gap:4px;padding:13px 15px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.product-group-rule-summary small{color:var(--muted);font-size:11px;font-weight:800}.product-group-rule-summary b{color:var(--ink);font-size:22px;font-weight:900}.product-group-editor{display:grid;gap:14px;padding:16px;border:1px solid #a7e4db;border-radius:10px;background:#f5fffd}.product-group-editor-head,.product-group-editor-footer,.product-group-rule-head,.product-group-rule-footer,.product-group-title-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-group-editor h2,.product-group-rule-card h2{margin:0;color:var(--ink);font-size:16px;font-weight:900}.product-group-rule-head,.product-group-rule-head>div,.product-group-rule-footer{min-width:0;max-width:100%}.product-group-rule-head>div{overflow:hidden}.product-group-editor p,.product-group-rule-head p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:650}.product-group-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px}.product-group-editor-fields label{display:grid;gap:6px}.product-group-editor-fields label>span{color:var(--muted);font-size:11px;font-weight:850}.product-group-editor-fields input,.product-group-editor-fields select,.product-group-search{min-height:38px;border:1px solid var(--line);border-radius:7px;background:#fff}.product-group-editor-fields>label>input,.product-group-editor-fields>label>select{padding:0 11px}.product-group-editor-fields select{width:100%;color:var(--ink)}.product-group-search{display:flex;align-items:center;gap:7px;padding:0 10px;color:var(--muted)}.product-group-search input{flex:1;min-width:0;min-height:34px;border:0;outline:0}.product-group-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #ccebe6;border-radius:8px;color:#587083;background:#ecfaf7;font-size:10px;font-weight:800}.product-group-catalog-list{display:grid;gap:7px;max-height:330px;padding-right:4px;overflow-y:auto}.product-group-catalog-item{display:grid;grid-template-columns:auto 38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 11px;border:1px solid var(--line-soft);border-radius:8px;background:#fff;cursor:pointer}.product-group-catalog-item.is-selected{border-color:#36bfae;box-shadow:inset 3px 0 #0f9f8f}.product-group-catalog-item img,.product-catalog-placeholder{width:38px;height:38px;border-radius:6px}.product-group-catalog-item img{object-fit:cover}.product-catalog-placeholder{display:grid;place-items:center;color:#6b7b91;background:#eef3f8}.product-group-catalog-copy{display:grid;min-width:0;gap:3px}.product-group-catalog-copy b{overflow:hidden;color:var(--ink);font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.product-group-catalog-copy small,.product-group-catalog-item em,.product-group-editor-footer>span{color:var(--muted);font-size:10px;font-style:normal;font-weight:700}.product-group-editor-footer>div{display:flex;gap:8px}.product-group-rule-list{display:grid;gap:14px;min-width:0;max-width:100%}.product-group-rule-card{display:grid;gap:14px;min-width:0;max-width:100%;padding:16px;border:1px solid var(--line-soft);border-radius:10px;background:#fff;overflow:hidden}.product-group-rule-card.ungrouped-rule-card{border-color:#b8d9e7;background:linear-gradient(180deg,#f7fcff,#fff 38%)}.product-group-title-line{justify-content:flex-start}.product-group-members-shell{display:grid;gap:9px;min-width:0;max-width:100%}.product-group-members-shell.is-expanded{max-height:470px;padding-right:5px;overflow-y:auto;overscroll-behavior:contain}.product-group-member-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:8px;min-width:0}.product-group-members-empty{padding:22px;border:1px dashed #b9c9d8;border-radius:8px;color:var(--muted);background:#f8fbfd;font-size:11px;font-weight:750;text-align:center}.product-group-member-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:8px;border:1px solid #e3eaf2;border-radius:8px;background:#f8fafc}.product-group-member-card>img,.product-group-member-placeholder{width:58px;height:58px;border-radius:7px}.product-group-member-card>img{object-fit:cover;background:#edf2f7}.product-group-member-placeholder{display:grid;place-items:center;color:#708197;background:#e9eff5}.product-group-member-card>div{display:grid;gap:4px;min-width:0}.product-group-member-card small{display:flex;align-items:center;gap:5px;min-width:0;color:#738197;font-size:9px;font-weight:750}.product-group-member-card small b{flex:0 0 auto;padding:2px 5px;border-radius:4px;color:#0f766e;background:#dcf5ef;font-size:9px}.product-group-member-card small span,.product-group-member-card strong,.product-group-member-card code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-group-member-card strong{color:var(--ink);font-size:11px;font-weight:850}.product-group-member-card code{color:#738197;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:9px;font-weight:700}.product-group-members-toggle{display:inline-flex;justify-self:center;align-items:center;gap:5px;min-height:30px;padding:0 11px;border:1px solid #d9e3ed;border-radius:7px;color:#52657b;background:#fff;font-size:10px;font-weight:800;cursor:pointer}.product-group-members-shell.is-expanded .product-group-members-toggle svg{transform:rotate(180deg)}.product-group-rule-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:10px;min-width:0;max-width:100%}.product-group-rule-settings>article{position:relative;display:grid;gap:12px;min-width:0;padding:13px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.product-group-rule-settings>article>div:first-child{display:flex;align-items:center;gap:7px;color:#0f766e}.product-group-rule-settings strong{color:var(--ink);font-size:12px;font-weight:850}.product-group-rule-settings label{display:grid;gap:6px}.product-group-rule-settings label>span{color:var(--muted);font-size:10px;font-weight:800}.product-group-rule-settings .toggle{position:absolute;top:11px;right:11px}.product-group-dual-input{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:5px}.product-group-dual-input b{color:var(--muted);font-size:10px}.product-group-rule-footer{padding-top:2px}.product-group-rule-footer small{color:var(--muted);font-size:10px;font-weight:700}.product-group-empty{display:grid;justify-items:center;gap:8px;padding:42px 20px;border:1px dashed #b7c7d8;border-radius:10px;color:#0f766e;background:#f8fbfe;text-align:center}.product-group-empty strong{color:var(--ink);font-size:14px}.product-group-empty span{color:var(--muted);font-size:11px;font-weight:700}.users-layout,.agent-token-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}.agent-token-list-panel,.agent-token-create-panel{min-width:0}.agent-token-table-wrap{overflow-x:auto}.agent-token-table{min-width:1040px}.agent-token-table td{vertical-align:middle}.agent-token-table td strong,.agent-token-table td span,.agent-token-table td small{display:block}.agent-token-table td small{max-width:170px;margin-top:4px;overflow:hidden;color:var(--muted);font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.agent-token-table code,.agent-token-endpoint code,.created-token-config code{color:#334155;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;overflow-wrap:anywhere}.agent-token-scope-summary{color:#0f766e;font-size:12px;font-weight:850}.agent-token-status{width:fit-content;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:850}.agent-token-status.active{color:#047857;background:#ecfdf5}.agent-token-status.revoked{color:#64748b;background:#f1f5f9}.agent-token-revoke{min-height:32px;padding:0 10px;color:#b91c1c}.agent-token-create-form{display:grid;gap:13px;margin-top:16px}.agent-token-create-form label{display:grid;gap:7px}.agent-token-create-form label span,.agent-token-endpoint>span{color:var(--muted);font-size:12px;font-weight:850}.agent-token-create-form input{width:100%;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;font:inherit;font-size:13px;font-weight:750;outline:0}.agent-token-create-form input:focus{border-color:#8ab2f8;box-shadow:0 0 0 3px #2563eb1a}.agent-token-access-card{padding:12px;border:1px solid #bfdbfe;border-radius:8px;color:#1e3a8a;background:#eff6ff}.agent-token-access-card strong{font-size:12px;font-weight:900}.agent-token-access-card ul{display:grid;gap:7px;margin:10px 0 0;padding:0;list-style:none}.agent-token-access-card li{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:750}.agent-token-endpoint{display:grid;gap:6px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line-soft)}.agent-token-warning{margin:12px 0 0;color:#92400e;font-size:12px;font-weight:750;line-height:1.55}.created-token-modal{width:min(760px,100%)}.created-token-callout{margin-top:16px;padding:12px;border:1px solid #fde68a;border-radius:8px;color:#854d0e;background:#fffbeb}.created-token-callout strong{font-size:13px;font-weight:900}.created-token-callout p{margin:6px 0 0;font-size:12px;font-weight:750;line-height:1.5}.created-token-value{width:100%;min-height:92px;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:8px;color:#0f172a;background:#f8fafc;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.6;resize:vertical}.created-token-config{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 12px;margin-top:14px;padding:12px;border-radius:8px;background:#f8fafc}.created-token-config span{color:var(--muted);font-size:12px;font-weight:850}.users-list-panel,.users-create-panel{min-height:0}.user-list{display:grid;gap:10px}.user-row{display:grid;grid-template-columns:minmax(280px,1fr) minmax(520px,auto);gap:14px;align-items:center;padding:14px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.user-main{display:flex;gap:12px;align-items:center;min-width:0}.user-avatar{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:8px;color:#0f766e;background:#e8f7f4;font-size:15px;font-weight:850}.user-identity{min-width:0}.user-identity h3{margin:0;overflow:hidden;color:var(--ink);font-size:15px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.user-identity p{margin:6px 0 0;overflow:hidden;color:var(--muted);font-size:12px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.user-controls{display:grid;grid-template-columns:minmax(120px,1fr) 128px 94px minmax(150px,auto) auto auto;gap:8px;align-items:center}.user-controls input,.user-controls select,.role-create-form input,.role-create-form select,.user-create-form input,.user-create-form select{width:100%;height:38px;min-width:0;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;font-size:13px;font-weight:750;outline:0}.user-controls input:focus,.user-controls select:focus,.role-create-form input:focus,.role-create-form select:focus,.user-create-form input:focus,.user-create-form select:focus{border-color:#8ab2f8;box-shadow:0 0 0 3px #2563eb1a}.users-message,.empty-state{margin-bottom:12px;padding:10px 12px;border-radius:8px;font-size:13px;font-weight:800}.users-message.success{border:1px solid #bbf7d0;color:#15803d;background:#f0fdf4}.users-message.error{border:1px solid #fecaca;color:#991b1b;background:#fff1f1}.campaign-feedback-stack{position:fixed;top:20px;right:20px;z-index:40;display:grid;gap:10px;width:min(420px,calc(100vw - 40px))}.campaign-feedback-toast{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;box-shadow:0 14px 36px #0f172a2e}.campaign-feedback-toast>span{display:flex;align-items:center;gap:7px}.campaign-feedback-toast .icon-button{flex:0 0 auto;width:30px;height:30px;color:currentColor}.empty-state{margin-bottom:0;border:1px dashed #cbd5e1;color:var(--muted);background:#f8fafc}.user-create-form{display:grid;gap:13px;margin-top:16px}.reset-mail-button{min-width:150px}.user-create-form label,.role-create-form label{display:grid;gap:7px}.user-create-form label span,.role-create-form label span{color:var(--muted);font-size:12px;font-weight:850}.role-create-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) minmax(150px,.8fr) auto;gap:10px;align-items:end;margin-bottom:14px;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.role-permission-panel .table-wrap{overflow-x:auto}.permission-table{min-width:940px}.permission-table th:not(:first-child),.permission-table td:not(:first-child){width:142px;text-align:center}.permission-role-head{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%}.permission-role-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.danger-icon{width:28px;min-height:28px;color:#b91c1c;background:#fff5f5}.permission-table td{white-space:normal}.permission-module{display:grid;gap:5px;max-width:460px}.permission-module strong{color:var(--ink);font-size:13px;font-weight:850}.permission-module small,.permission-lock{color:var(--muted);font-size:11px;font-weight:750;line-height:1.45}.permission-lock{display:block;margin-top:5px}.permission-table .toggle{margin-inline:auto}.permission-table .toggle:disabled{cursor:not-allowed;opacity:.72}.material-id-thumb{display:grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border:1px solid #cce9e3;border-radius:8px;color:#0f766e;background:#eefaf7}.logs-table{min-width:1080px}.quality-workflow-panel{min-height:560px}.qa-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.qa-step{min-height:116px;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.qa-step span{display:grid;place-items:center;width:26px;height:26px;margin-bottom:10px;border-radius:8px;color:#0f766e;background:#e8f7f4;font-size:12px;font-weight:850}.qa-step strong{display:block;color:var(--ink);font-size:13px;font-weight:850}.qa-step p{margin:6px 0 0;color:var(--muted);font-size:12px;font-weight:650;line-height:1.5}.qa-review-card{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;margin-top:16px;padding:14px;border:1px solid var(--line-soft);border-radius:8px;background:#fff}.qa-video-thumb{position:relative;display:grid;place-items:center;min-height:360px;overflow:hidden;border-radius:8px;color:#fff;background-image:url(/thumbnails/cabinet-video-sprite.png);background-repeat:no-repeat;background-size:200% 200%;box-shadow:inset 0 -90px 80px #0f172a57}.qa-video-thumb span{position:absolute;left:14px;bottom:12px;font-size:13px;font-weight:850}.qa-result-stack{display:grid;align-content:start;gap:14px;min-width:0}.qa-result-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.qa-result-head h3{margin:0;color:var(--ink);font-size:19px;font-weight:850;line-height:1.25}.qa-result-head p{margin:6px 0 0;color:var(--muted);font-size:13px;font-weight:700}.qa-status{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:7px;font-size:12px;font-weight:850;white-space:nowrap}.qa-status.danger,.review-state.danger{color:#b91c1c;background:var(--red-soft)}.qa-status.warning,.review-state.warning{color:#9a5b00;background:var(--amber-soft)}.qa-status.success,.review-state.success{color:#15803d;background:var(--green-soft)}.compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.compare-grid article{min-height:112px;padding:12px;border:1px solid var(--line-soft);border-radius:8px;background:#fbfdff}.compare-grid label{display:block;color:var(--muted);font-size:12px;font-weight:850}.compare-grid strong{display:block;margin-top:9px;color:var(--ink);font-size:16px;font-weight:850;line-height:1.35}.compare-grid small{display:block;margin-top:9px;color:var(--muted);font-size:12px;font-weight:750}.qa-signal-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.qa-signal-list li{padding:10px 12px;border:1px solid var(--line-soft);border-radius:8px;color:#334155;background:#fbfdff;font-size:13px;font-weight:700;line-height:1.45}.qa-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:1500px){.users-layout,.agent-token-layout,.user-row{grid-template-columns:1fr}.user-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1220px){.page-grid{grid-template-columns:1fr}.store-spend-grid,.overview-priority-grid,.anomaly-rule-grid,.product-group-rule-settings,.users-layout,.agent-token-layout,.qa-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-priority-grid,.users-layout{grid-template-columns:1fr}.overview-rule-hits-slot{min-height:min(720px,72vh)}.product-group-rule-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.user-row{grid-template-columns:1fr}.user-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.role-create-form,.balance-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.right-rail{position:static;grid-template-columns:280px minmax(0,1fr)}.right-rail .panel-title,.right-rail .rail-actions{grid-column:1 / -1}}@media(max-width:980px){.app-shell{grid-template-columns:1fr;background:var(--bg)}.app-shell:before{display:none}.sidebar{position:static;height:auto;min-height:0;padding-bottom:16px;border-right:0;border-bottom:1px solid var(--line)}.nav-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.trial-panel{margin-top:14px}.sidebar-account{position:static;width:auto;margin-top:14px}.top-bar{position:static;grid-template-columns:1fr}.user-menu{justify-content:flex-start}.time-filter-group{flex-wrap:wrap;width:100%}.top-controls{flex-wrap:wrap}.summary-grid,.chart-grid,.operations-grid,.quality-grid,.qa-review-card,.users-layout,.balance-desktop-account-grid,.right-rail{grid-template-columns:1fr}.balance-desktop-account-card{grid-template-columns:auto minmax(0,1fr)}.balance-desktop-account-card>button{grid-column:1 / -1}.balance-popup-toolbar{grid-template-columns:1fr}.page-heading,.balance-panel-heading{align-items:flex-start;flex-direction:column}.balance-heading-actions{justify-content:space-between;width:100%}.balance-coverage{width:100%;margin-left:0}.rule-monitor-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.removed-material-metrics{grid-template-columns:repeat(4,minmax(68px,1fr))}.removed-material-metrics>span{border-bottom:1px solid #e8edf4}}@media(max-width:640px){.page-grid,.top-bar{padding:14px}.sidebar{padding:16px 12px}.nav-list{grid-template-columns:1fr 1fr}.page-heading h1{font-size:23px}.summary-grid,.balance-groups,.balance-account-list,.balance-account-metrics,.balance-desktop-targets{grid-template-columns:1fr}.balance-card-field{min-height:68px;border-right:0;border-bottom:1px solid var(--line-soft)}.balance-card-field:last-child{border-bottom:0}.balance-shop-actions{gap:6px!important}.balance-account-card-alert,.rule-monitor-settings,.removed-material-card{grid-template-columns:1fr}.removed-material-card .tiktok-material-preview{width:132px;height:176px}.removed-material-heading,.removed-material-footer{align-items:stretch;flex-direction:column}.removed-material-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.removed-material-footer .primary-button{width:100%}.store-spend-grid,.anomaly-rule-grid,.product-group-rule-settings,.product-group-editor-fields,.qa-steps,.compare-grid,.role-create-form,.user-controls,.store-spend-card dl{grid-template-columns:1fr}.panel-toolbar,.product-group-bulk-toolbar,.balance-bulk-toolbar,.modal-header,.removed-row,.qa-result-head,.quality-preview{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.balance-summary-chip{justify-content:space-between;width:100%}.balance-bulk-toolbar{align-items:stretch}.balance-bulk-toolbar .secondary-button{width:100%;margin-left:0}.balance-heading-actions,.permission-actions{align-items:stretch;flex-direction:column}.balance-heading-actions .secondary-button,.permission-actions button{width:100%}.removed-row{display:grid}.row-actions,.heading-actions,.toolbar-actions,.top-controls{width:100%}.toolbar-actions.with-note{max-width:none}.automation-note{text-align:left}.top-controls{display:grid;grid-template-columns:1fr}.select-control,.account-chip,.time-filter-group,.refresh-group,.user-menu{width:100%}.panel-title h2{white-space:normal}.user-menu{justify-content:space-between}.time-filter-group input,.time-filter-group input[type=time]{width:100%}.time-filter-group{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start}.time-filter-icon{grid-row:1 / span 3}.time-field{display:grid;gap:6px}.time-input-row{display:grid;grid-template-columns:1fr}.range-separator{grid-column:2}.select-control select{width:100%;min-width:0}.ghost-button,.primary-button,.danger-button,.status-button,.rule-search,.rule-store-filter,.rule-store-filter select,.rule-search input{width:100%}.qa-video-thumb{min-height:260px}.price-actions,.price-actions>div:last-child{align-items:stretch;flex-direction:column}.price-metric-grid{grid-template-columns:1fr}.price-command-bar,.price-shop-heading,.price-shop-actions,.price-filter-toolbar,.price-filter-row{align-items:stretch;flex-direction:column}.price-tabs{overflow-x:auto}.price-tabs button{flex:0 0 auto}.price-definition-bar{align-items:flex-start}.price-demo-notice{margin-left:0}.price-filter-row{width:100%;margin-left:0}.price-search{width:auto}.price-shop-actions{margin-left:0}.price-shop-actions select{width:100%}.price-settings-grid{grid-template-columns:1fr}.price-comparison-actions,.price-competitor-form-footer,.price-competitor-mapping-heading{align-items:stretch;flex-direction:column;margin-left:0}.price-competitor-form-grid{grid-template-columns:1fr}.price-competitor-form-grid label.is-wide{grid-column:auto}.price-competitor-mapping-row{grid-template-columns:1fr}.price-back-button{padding:0 0 10px;border-right:0;border-bottom:1px solid var(--line)}.price-sku-grid,.price-device-grid{grid-template-columns:1fr}}
