:root,:root[data-theme=light]{--color-bg:var(--bg-page);--color-surface:var(--bg-card);--color-border:var(--border-color);--color-text:var(--text-primary);--color-text-secondary:var(--text-secondary);--color-primary:var(--primary);--color-primary-hover:var(--primary-hover);--color-danger:var(--red);--color-success:var(--green);--color-warning:var(--amber);--color-sidebar-bg:var(--bg-sidebar);--color-sidebar-text:var(--text-secondary);--color-sidebar-active:var(--primary);--radius:var(--radius-lg);--shadow-card:var(--shadow-sm);--primary:#4666d6;--primary-hover:#4666d6;--primary-light:#4666d61a;--accent:#22d3ee;--action-gradient:linear-gradient(135deg,#4666d6,#22d3ee);--bg-page:#f5f7fc;--bg-card:#fff;--bg-sidebar:#fff;--text-primary:#1a1b2e;--text-regular:#4b5563;--text-secondary:#4b5563;--text-muted:#6b7280;--text-disabled:#c7cdd9;--border-color:#00000014;--border-light:#0000000a;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--shadow-sm:0 4px 20px -8px #0000000f;--shadow-md:0 8px 24px -10px #304a9e1a,0 0 0 1px #304a9e0f;--sidebar-width:220px;--header-height:52px;--c-leads:#d97706;--c-valid:#0e7490;--c-follow:#059669;--c-deal:#7c3aed;--c-rate:#2563eb;--c-adcost:#dc2626;--c-leads-bg:#d977061a;--c-valid-bg:#0e74901a;--c-follow-bg:#0596691a;--c-deal-bg:#7c3aed1a;--c-rate-bg:#2563eb1a;--c-adcost-bg:#dc26261a;--surface:var(--bg-card);--panel:var(--bg-card);--panel-2:#f8faff;--bg:var(--bg-page);--bg-2:#fafbff;--line:var(--border-color);--line-soft:var(--border-light);--text:var(--text-primary);--text-2:var(--text-regular);--text-3:var(--text-muted);--primary-text:var(--primary-hover);--primary-tint:var(--primary-light);--input-bg:#00000005;--hover:#4666d60d;--active:#4666d61a;--green:#059669;--red:#dc2626;--amber:#d97706;--orange:#ea580c;--focus-ring:0 0 0 3px #22d3ee26;--font-ui:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Helvetica Neue",system-ui,sans-serif;--font-digit:"Bahnschrift","Segoe UI",sans-serif}:root[data-theme=dark]{--primary:#4666d6;--primary-hover:#8ea4ff;--primary-light:#4666d633;--accent:#22d3ee;--bg-page:#111827;--bg-card:#1b2433;--bg-sidebar:#151d2b;--text-primary:#edf2ff;--text-regular:#c7d0e0;--text-secondary:#9ba8bd;--text-muted:#748199;--text-disabled:#536078;--border-color:#334155;--border-light:#273449;--shadow-sm:0 1px 2px #0000004d;--shadow-md:0 8px 24px #00000047;--surface:var(--bg-card);--panel:var(--bg-card);--panel-2:#202b3d;--bg:var(--bg-page);--bg-2:#0f172a;--line:var(--border-color);--line-soft:var(--border-light);--text:var(--text-primary);--text-2:var(--text-regular);--text-3:var(--text-muted);--primary-text:var(--primary-hover);--primary-tint:#4666d629;--input-bg:#ffffff0d;--hover:#4666d61f;--active:#4666d633;--c-leads:#f2c46d;--c-valid:#78a9d6;--c-follow:#72c39a;--c-deal:#b19bd9;--c-rate:#70c4bf;--c-adcost:#e59868;--c-leads-bg:#f2c46d29;--c-valid-bg:#78a9d629;--c-follow-bg:#72c39a29;--c-deal-bg:#b19bd929;--c-rate-bg:#70c4bf29;--c-adcost-bg:#e5986829;--green:#72c39a;--red:#f08a8a;--amber:#f2c46d;--orange:#e59868;--focus-ring:0 0 0 3px #22d3ee47}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{background:var(--bg-page);color:var(--text-primary);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;font-size:13px;line-height:1.5;transition:background .2s,color .2s}body,button,input,select,textarea{font:inherit}button,input,select,textarea{color:inherit}button{cursor:pointer}a{color:var(--primary-hover);text-decoration:none}::selection{background:var(--primary-light);color:var(--primary-hover)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.xg-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:16px}.xg-btn{border-radius:var(--radius-md);background:var(--action-gradient);color:#fff;min-height:32px;box-shadow:var(--shadow-sm);border:1px solid #4666d6;justify-content:center;align-items:center;gap:6px;padding:0 14px;transition:all .15s;display:inline-flex}.xg-btn:hover{color:#fff;filter:brightness(1.04);border-color:#22d3ee;box-shadow:0 6px 18px #4666d62e}.xg-btn-primary{background:var(--action-gradient);color:#fff;box-shadow:var(--shadow-sm);border-color:#4666d6}.xg-btn-primary:hover{background:var(--action-gradient);color:#fff;border-color:#22d3ee}.xg-btn-quiet{border-color:var(--border-color);background:var(--bg-card);color:var(--text-secondary);box-shadow:none}.xg-btn-quiet:hover{border-color:var(--primary);background:var(--primary-light);color:var(--primary-hover);filter:none}.xg-btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:var(--focus-ring);outline:none}.xg-btn:disabled{opacity:.5;cursor:not-allowed}.xg-table-shell{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);width:100%;box-shadow:var(--shadow-sm);overflow:hidden}.xg-table{border:1px solid var(--border-color);border-spacing:0;border-radius:var(--radius-lg);background:var(--bg-card);width:100%;color:var(--text-regular);overflow:hidden}.xg-table-shell .xg-table{border:0;border-radius:0}.xg-table th,.xg-table td{border-bottom:1px solid var(--border-light);text-align:left;padding:11px 12px;font-size:13px}.xg-table th{color:var(--text-secondary);background:var(--panel-2);font-weight:600}.xg-table td{color:var(--text-regular)}.xg-table tbody tr:last-child td{border-bottom:0}.xg-table tbody tr:hover{background:var(--primary-light)}.xg-tag{border:1px solid var(--border-color);background:var(--primary-light);color:var(--primary-hover);border-radius:999px;align-items:center;padding:2px 9px;font-size:12px;display:inline-flex}.xg-page-title{color:var(--text-primary);margin:0 0 16px;font-size:20px;font-weight:650}.xg-muted{color:var(--text-secondary)}.xg-error{border-radius:var(--radius-md);color:var(--red);background:var(--c-adcost-bg);padding:16px}.xg-empty,.xg-loading{text-align:center;color:var(--text-muted);padding:36px 24px}.xg-placeholder-banner{border:1px solid var(--accent);border-radius:var(--radius-md);background:var(--c-leads-bg);color:var(--orange);margin-bottom:12px;padding:10px 14px;font-size:13px}.xg-login-wrap{background:var(--bg-page);justify-content:center;align-items:center;min-height:100vh;display:flex}.xg-login{flex-direction:column;gap:12px;width:min(360px,100vw - 32px);display:flex}.xg-login label{color:var(--text-secondary);flex-direction:column;gap:6px;display:flex}.xg-login input{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--input-bg);padding:9px 12px}@media (width<=760px){.xg-card{padding:12px}.xg-page-title{font-size:18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.xg-drawer-layer{z-index:110;justify-content:flex-end;display:flex;position:fixed;inset:0}.xg-drawer-backdrop{cursor:default;background:#0f172a47;border:0;border-radius:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.xg-drawer{background:var(--bg-card);border-left:1px solid var(--border-color);flex-direction:column;width:min(480px,100vw - 24px);height:100%;display:flex;position:relative;box-shadow:-18px 0 48px #0f172a29}.xg-drawer-head{border-bottom:1px solid var(--border-color);flex-shrink:0;justify-content:space-between;align-items:center;min-height:56px;padding:0 18px;display:flex}.xg-drawer-head h2{color:var(--text-primary);margin:0;font-size:15px;font-weight:700}.xg-drawer-close{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--text-secondary);background:0 0;border:0;place-items:center;padding:0;font-size:20px;line-height:1;display:grid}.xg-drawer-close:hover:not(:disabled){background:var(--primary-light);color:var(--primary-hover)}.xg-drawer-body{flex:1;min-height:0;padding:18px;overflow:auto}.xg-drawer-foot{border-top:1px solid var(--border-color);flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;min-height:58px;padding:10px 18px;display:flex}.xg-drawer-form{flex-direction:column;gap:12px;display:flex}.xg-drawer-form label{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:12px;display:flex}.xg-drawer-form input,.xg-drawer-form select,.xg-drawer-form textarea{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-card);width:100%;color:var(--text-primary);padding:8px 12px}.xg-drawer-form textarea{resize:vertical;min-height:86px}.xg-page-actions{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.xg-page-actions .xg-page-title{margin:0}@media (width<=640px){.xg-drawer,.xg-drawer.is-wide{width:100vw}.xg-drawer-body{padding:14px}}.proto-dashboard{color:var(--text-primary)}.db-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.db-header .xg-page-title{margin:0;font-size:20px;font-weight:700}.db-update-time{color:var(--text-muted);font-size:12px}.db-filter-bar{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:20px;padding:10px 12px;display:flex}.db-filter-bar label{color:var(--text-secondary);align-items:center;gap:8px;font-size:12px;display:flex}.db-filter-bar select,.db-filter-bar input{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-card);height:34px;color:var(--text-primary);padding:0 10px}.db-filter-bar select{min-width:200px}.db-filter-bar input{width:134px}.db-granularity{border-radius:var(--radius-sm);background:#f0f0f0;gap:4px;padding:3px;display:flex}.db-granularity button{color:var(--text-secondary);border-radius:var(--radius-sm);background:0 0;border:0;padding:5px 14px;font-size:12px}.db-granularity button.active{background:var(--bg-card);color:var(--primary-hover);box-shadow:var(--shadow-sm);font-weight:600}.db-source-note{color:var(--text-disabled);margin-left:auto;font-size:11px}.kpi-row{background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:24px;padding:20px 0;display:flex}.kpi-card{border-right:1px solid var(--border-light);flex:1;padding:0 20px}.kpi-card:last-child{border-right:0}.kpi-head{color:var(--text-secondary);align-items:center;gap:6px;margin-bottom:8px;font-size:12px;display:flex}.kpi-head i,.trend-legend i{border-radius:50%;width:8px;height:8px;display:inline-block}.kpi-card strong{margin-bottom:4px;font-size:26px;line-height:1.2;display:block}.kpi-card small{color:var(--text-muted);font-size:12px}.trend-section,.account-section{background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:24px;padding:20px 24px}.trend-header,.account-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.trend-header b,.account-header b{font-size:15px}.trend-legend{flex-wrap:wrap;gap:16px;display:flex}.trend-legend span{color:var(--text-secondary);align-items:center;gap:5px;font-size:12px;display:flex}.trend-placeholder{align-items:center;height:320px;display:flex}.trend-placeholder svg{width:100%;height:100%}.trend-placeholder path{fill:none;stroke:var(--primary);stroke-width:3px}.trend-placeholder path:nth-child(2){stroke:var(--c-valid)}.trend-placeholder path:nth-child(3){stroke:var(--c-follow);stroke-width:2px}.account-header button{color:var(--text-secondary);border-radius:var(--radius-sm);background:0 0;border:0;padding:4px 12px;font-size:12px}.account-header button.active{background:var(--primary-light);color:var(--primary-hover);font-weight:600}.account-table-wrap{overflow-x:auto}.account-table{border-collapse:collapse;width:100%;font-size:13px}.account-table th{text-align:left;color:var(--text-secondary);border-bottom:2px solid var(--border-color);white-space:nowrap;padding:10px 16px;font-size:12px}.account-table th:not(:first-child),.account-table td:not(:first-child){text-align:right}.account-table td{border-bottom:1px solid var(--border-light);color:var(--text-primary);padding:12px 16px}.account-table tbody tr:hover{background:var(--primary-light)}:root[data-theme=dark] .xg-btn{background:var(--bg-card);color:var(--text-regular);box-shadow:none;border-color:#0000}:root[data-theme=dark] .xg-btn:hover{background:var(--primary-light);color:var(--primary-hover);filter:none;border-color:#0000}:root[data-theme=dark] .xg-btn-primary{background:var(--primary);color:#fff;border-color:#0000}:root[data-theme=dark] .xg-btn-primary:hover{background:var(--primary-hover);color:#fff;border-color:#0000}.ai-replies-pagination{color:var(--text-muted);border-top:1px solid var(--border-light);justify-content:space-between;align-items:center;padding:12px 16px;font-size:12px;display:flex}.xg-btn{border:0}.xg-table th{font-size:11px}.xg-table td{font-size:12px}.xg-pagination{color:var(--text-muted);justify-content:space-between;align-items:center;margin-top:12px;font-size:12px;display:flex}.xg-pagination-actions{align-items:center;gap:8px;display:flex}.xg-pagination-actions button{border-radius:var(--radius-sm);background:var(--bg-card);color:var(--text-secondary);cursor:pointer;border:0;padding:5px 10px;font-size:12px}.xg-pagination-actions button:hover:not(:disabled){background:var(--primary-light);color:var(--primary-hover)}.xg-pagination-actions button:disabled{opacity:.45;cursor:not-allowed}.xg-pagination-current{color:var(--text-secondary)}.p10-onboard-form small{color:var(--text-muted);font-size:12px;line-height:1.5}.p10-capability-chips{flex-wrap:wrap;gap:8px;display:flex}.p10-capability-chip{border:1px solid var(--border-light);background:var(--bg-card);color:var(--text-secondary);cursor:pointer;border-radius:999px;padding:7px 12px}.p10-capability-chip[data-selected=true]{border-color:var(--primary);background:var(--primary-light);color:var(--primary-hover)}.p10-field-error{margin-bottom:8px;display:block;color:var(--danger,#d14343)!important}@keyframes xg-drawer-mask-in{0%{opacity:0}to{opacity:1}}@keyframes xg-drawer-mask-out{0%{opacity:1}to{opacity:0}}@keyframes xg-drawer-slide-in{0%{opacity:.4;transform:translate(40px)}to{opacity:1;transform:translate(0)}}@keyframes xg-drawer-slide-out{0%{opacity:1;transform:translate(0)}to{opacity:.4;transform:translate(40px)}}.xg-drawer-layer{animation:.16s both xg-drawer-mask-in}.xg-drawer-layer.is-closing{pointer-events:none;animation:.16s both xg-drawer-mask-out}.xg-drawer{animation:.2s both xg-drawer-slide-in}.xg-drawer.is-closing{animation:.2s both xg-drawer-slide-out}.xg-login input,.proto-input,.proto-select,.xg-drawer-form input,.xg-drawer-form select,.xg-drawer-form textarea{transition:border-color .15s,background-color .15s,box-shadow .15s,color .15s}.xg-table tbody tr,.account-table tbody tr,.proto-table tbody tr{transition:background-color .12s}@keyframes xg-modal-in{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@keyframes xg-toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes xg-modal-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.98)}}@keyframes xg-toast-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}}.xg-modal{animation:.16s both xg-modal-in}.xg-toast{animation:.2s both xg-toast-in}.xg-modal.is-closing{pointer-events:none;animation:.16s both xg-modal-out}.xg-toast.is-closing{pointer-events:none;animation:.2s both xg-toast-out}.xg-toast-viewport{z-index:160;pointer-events:none;width:min(460px,100vw - 32px);position:fixed;top:18px;left:50%;transform:translate(-50%)}.xg-error-toast{color:#9f1d24;pointer-events:auto;background:#fff5f5;border:1px solid #efa3a7;border-radius:10px;align-items:center;gap:9px;width:100%;max-width:460px;min-height:44px;padding:10px 12px;display:flex;box-shadow:0 12px 30px #7f1d1d2e}.xg-error-toast-icon{color:#fff;background:#dc5454;border-radius:50%;flex:0 0 22px;place-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:grid}.xg-error-toast-message{overflow-wrap:anywhere;flex:1;min-width:0;font-size:12px;line-height:1.55}.xg-error-toast-close{color:currentColor;background:0 0;border:0;border-radius:6px;flex:0 0 24px;width:24px;height:24px;padding:0;font-size:17px;line-height:1}.xg-error-toast-close:hover{background:#9f1d2414}:root[data-theme=dark] .xg-error-toast{color:#ffd5d8;background:#3a2228;border-color:#8f444c}.db-filter-bar input,.db-filter-bar select,.proto-toolbar input,.proto-toolbar select,.proto-filter input,.proto-filter select{transition:border-color .15s,background-color .15s,box-shadow .15s,color .15s}.db-granularity button,.xg-pagination-actions button{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s,transform .15s}@media (prefers-reduced-motion:reduce){.xg-route-page,.xg-drawer-layer,.xg-drawer,.xg-modal,.xg-toast{animation-duration:.01ms!important;animation-delay:0s!important}.xg-login input,.proto-input,.proto-select,.xg-drawer-form input,.xg-drawer-form select,.xg-drawer-form textarea,.db-filter-bar input,.db-filter-bar select,.proto-toolbar input,.proto-toolbar select,.proto-filter input,.proto-filter select,.xg-table tbody tr,.account-table tbody tr,.proto-table tbody tr,.xg-pagination-actions button,.db-granularity button{transition-duration:.01ms!important}}.xg-btn,.proto-btn{font-size:12px;height:30px!important;min-height:30px!important;padding:0 10px!important}.xg-drawer{width:min(460px,100vw - 24px)}.xg-drawer.is-wide{width:min(640px,100vw - 24px)}.xg-drawer-head{min-height:56px;padding:0 20px}.xg-drawer-head h2{font-size:14px}.xg-drawer-body{padding:20px 24px}.xg-drawer-foot{min-height:58px;padding:10px 18px}.xg-drawer-foot .xg-btn,.xg-drawer-foot .proto-btn{font-size:11px}.proto-video-submit.proto-btn,.proto-video-action-row .proto-btn{font-size:11px;height:28px!important;min-height:28px!important;padding:0 10px!important}.xg-drawer .proto-video-create-shell{flex-direction:column;gap:18px;display:flex}.xg-drawer .proto-video-create-section{min-width:0}.xg-drawer .proto-video-create-section+.proto-video-create-section{border-top:1px solid var(--border-light);padding-top:16px}.xg-drawer .proto-video-create-section-head{align-items:baseline;gap:9px;margin-bottom:10px;display:flex}.xg-drawer .proto-video-create-section-head b{color:var(--text-primary);font-size:13px}.xg-drawer .proto-video-create-section-head span{color:var(--text-muted);font-size:10px}.xg-drawer .proto-video-source-tabs{border:1px solid var(--border-color);background:var(--panel-2);border-radius:7px;gap:3px;width:max-content;margin-bottom:10px;padding:3px;display:flex}.xg-drawer .proto-video-source-tabs button{height:28px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0 16px;font-size:11px}.xg-drawer .proto-video-source-tabs button.active{background:var(--bg-card);color:var(--primary-hover);box-shadow:var(--shadow-sm);font-weight:650}.xg-drawer .proto-video-upload-layout{flex-direction:column;gap:10px;display:flex}.xg-drawer .proto-video-upload-zone{cursor:pointer;text-align:center;background:linear-gradient(145deg,#22d3ee0f,#4666d60d);border:1px dashed #22d3eeb3;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:102px;padding:16px;display:flex}.xg-drawer .proto-video-upload-zone:hover{border-color:var(--primary-hover);background:var(--primary-light)}.xg-drawer .proto-video-upload-zone input{display:none}.xg-drawer .proto-video-upload-icon{background:var(--primary-light);width:28px;height:28px;color:var(--primary-hover);border-radius:50%;place-items:center;font-size:18px;display:grid}.xg-drawer .proto-video-upload-zone>b{color:var(--text-primary);font-size:12px}.xg-drawer .proto-video-upload-hint{color:var(--text-muted);font-size:9px}.xg-drawer .proto-video-uploaded-list{flex-direction:column;gap:6px;max-height:320px;display:flex;overflow-y:auto}.xg-drawer .proto-video-uploaded-file{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex}.xg-drawer .proto-video-uploaded-file-icon{background:var(--primary-light);width:26px;height:26px;color:var(--primary-hover);border-radius:6px;flex:0 0 26px;place-items:center;font-size:9px;display:grid}.xg-drawer .proto-video-uploaded-file-name{min-width:0;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:11px;overflow:hidden}.xg-drawer .proto-video-uploaded-file-remove{height:24px;color:var(--text-muted);background:0 0;border:0;border-radius:6px;padding:0 8px;font-size:10px}.xg-drawer .proto-video-uploaded-file-remove:hover{color:var(--red);background:#dc54541a}.xg-drawer .proto-video-library-head{align-items:center;gap:10px;margin-bottom:8px;display:flex}.xg-drawer .proto-video-library-head .proto-input{flex:1;min-width:0}.xg-drawer .proto-video-library-head .proto-select{flex:0 0 128px;width:128px}.xg-drawer .proto-video-library-head>span{color:var(--text-muted);white-space:nowrap;font-size:10px}.xg-drawer .proto-video-create-material-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(58px,1fr);gap:7px;height:198px;padding-right:3px;display:grid;overflow-y:auto}.xg-drawer .proto-video-create-material{border:1px solid var(--border-color);background:var(--bg-card);min-width:0;min-height:58px;color:inherit;text-align:left;border-radius:7px;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:8px;padding:7px;display:grid;position:relative}.xg-drawer .proto-video-create-material:hover{border-color:#4666d68c}.xg-drawer .proto-video-create-material.selected{border-color:var(--primary-hover);background:var(--primary-light);box-shadow:inset 0 0 0 1px var(--primary-hover)}.xg-drawer .proto-video-create-material-cover{color:#fff;background:linear-gradient(145deg,#22d3ee,#4666d6);border-radius:5px;place-items:center;width:60px;height:42px;display:grid}.xg-drawer .proto-video-create-material>span:nth-child(2){min-width:0}.xg-drawer .proto-video-create-material b,.xg-drawer .proto-video-create-material small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.xg-drawer .proto-video-create-material b{color:var(--text-primary);font-size:11px}.xg-drawer .proto-video-create-material small{color:var(--text-muted);margin-top:4px;font-size:9px}.xg-drawer .proto-video-create-material>i{background:var(--primary-hover);color:#fff;border-radius:50%;place-items:center;width:17px;height:17px;font-size:9px;font-style:normal;display:grid;position:absolute;top:6px;right:6px}.xg-drawer .proto-video-type-grid,.xg-drawer .proto-video-effect-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.xg-drawer .proto-video-type-grid button,.xg-drawer .proto-video-effect{border:1px solid var(--border-color);background:var(--bg-card);min-height:58px;color:inherit;text-align:left;border-radius:7px;padding:9px 10px}.xg-drawer .proto-video-type-grid button.active{border-color:var(--primary-hover);background:var(--primary-light);box-shadow:inset 0 0 0 1px var(--primary-hover)}.xg-drawer .proto-video-type-grid b,.xg-drawer .proto-video-type-grid span,.xg-drawer .proto-video-effect b,.xg-drawer .proto-video-effect small{display:block}.xg-drawer .proto-video-type-grid b,.xg-drawer .proto-video-effect b{color:var(--text-primary);font-size:11px}.xg-drawer .proto-video-type-grid span,.xg-drawer .proto-video-effect small{color:var(--text-muted);margin-top:4px;font-size:9px}.xg-drawer .proto-video-effect{justify-content:space-between;align-items:center;gap:8px;display:flex}.xg-drawer .proto-video-effect.active{background:linear-gradient(145deg,#22d3ee0d,#4666d60a);border-color:#22d3ee8c}.xg-drawer .proto-video-effect input{appearance:none;background:var(--border-color);cursor:pointer;border:0;border-radius:999px;flex:0 0 36px;width:36px;height:20px;transition:background-color .15s;position:relative}.xg-drawer .proto-video-effect input:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0f172a33}.xg-drawer .proto-video-effect input:checked{background:linear-gradient(135deg,#4666d6,#22d3ee)}.xg-drawer .proto-video-effect input:checked:after{transform:translate(16px)}@media (width<=640px){.xg-drawer,.xg-drawer.is-wide{width:100vw}.xg-drawer-body{padding:16px}.xg-drawer .proto-video-library-head{flex-direction:column;align-items:stretch}.xg-drawer .proto-video-library-head .proto-select{flex:auto;width:100%}.xg-drawer .proto-video-create-material-grid,.xg-drawer .proto-video-type-grid,.xg-drawer .proto-video-effect-list{grid-template-columns:1fr}}.xg-drawer .proto-video-library-head .proto-input,.xg-drawer .proto-video-library-head .proto-select,.xg-drawer .proto-video-library-head .proto-input::placeholder,.xg-drawer .proto-video-create-material-grid .xg-empty{font-size:10px}.xg-drawer .proto-video-source-note,.xg-drawer .proto-video-contract-note{color:var(--text-muted);margin:6px 0 10px;font-size:10px;line-height:1.5}.xg-drawer .proto-video-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.xg-drawer .proto-video-settings label,.xg-drawer .proto-video-setting-static{border:1px solid var(--border-color);background:var(--bg-card);min-width:0;color:var(--text-secondary);border-radius:7px;flex-direction:column;gap:5px;padding:9px 10px;font-size:11px;display:flex}.xg-drawer .proto-video-settings label>span,.xg-drawer .proto-video-setting-static>span{color:var(--text-secondary);font-size:10px}.xg-drawer .proto-video-settings small,.xg-drawer .proto-video-setting-static small{color:var(--text-muted);font-size:9px;line-height:1.45}.xg-drawer .proto-video-setting-static b{color:var(--text-primary);font-size:11px}.xg-drawer .proto-video-setting-wide{grid-column:1/-1}.xg-drawer .proto-video-script{resize:vertical;height:auto;min-height:72px;padding:8px 10px;font-size:11px;line-height:1.55}.xg-drawer .proto-video-setting-toggle{justify-content:space-between;align-items:center;flex-direction:row!important}.xg-drawer .proto-video-setting-toggle>span{min-width:0}.xg-drawer .proto-video-setting-toggle b,.xg-drawer .proto-video-setting-toggle small{display:block}.xg-drawer .proto-video-setting-toggle input{appearance:none;background:var(--border-color);cursor:pointer;border:0;border-radius:999px;flex:0 0 36px;width:36px;height:20px;transition:background-color .15s;position:relative}.xg-drawer .proto-video-setting-toggle input:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0f172a33}.xg-drawer .proto-video-setting-toggle input:checked{background:linear-gradient(135deg,#4666d6,#22d3ee)}.xg-drawer .proto-video-setting-toggle input:checked:after{transform:translate(16px)}@media (width<=640px){.xg-drawer .proto-video-settings{grid-template-columns:1fr}.xg-drawer .proto-video-setting-wide{grid-column:auto}}.proto-btn-quiet{color:#1f2937!important;box-shadow:none!important;filter:none!important;background:#f7f7f8!important;border:1px solid #dedfe3!important}.proto-btn-quiet:hover{color:#111827!important;box-shadow:none!important;filter:none!important;background:#f1f2f4!important;border-color:#c9cbd1!important}.xg-drawer .proto-video-setting-notice{background:var(--panel-2);color:var(--text-muted);border-radius:6px;grid-column:1/-1;margin:0;padding:8px 10px;font-size:10px;line-height:1.5}.xg-success-toast{color:#166534;pointer-events:auto;background:#f1fff7;border:1px solid #8fd3b1;border-radius:10px;align-items:center;gap:9px;width:100%;max-width:460px;min-height:44px;padding:10px 12px;display:flex;box-shadow:0 12px 30px #16653429}.p10-onboard-form input::placeholder{color:var(--text-muted);opacity:1;font-size:12px}.p10-onboard-form small{color:var(--text-muted);font-size:12px;line-height:1.5;display:block}.p10-capability-field{border:0;margin:0;padding:0}.p10-capability-field legend{color:var(--text-secondary);margin-bottom:8px;font-size:12px}.p10-capability-chips{flex-wrap:wrap;gap:7px;margin-bottom:8px;display:flex}.p10-capability-chip{border:1px solid var(--border-color);background:var(--panel-2);color:var(--text-regular);border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:12px;display:inline-flex}.p10-capability-chip button{color:var(--text-muted);background:0 0;border:0;padding:0;font-size:16px;line-height:1}.p10-capability-picker{border:1px dashed var(--primary);width:max-content;min-width:90px;color:var(--primary-hover);border-radius:6px;font-size:12px;position:relative}.p10-capability-picker summary{cursor:pointer;padding:7px 12px;list-style:none}.p10-capability-picker summary::-webkit-details-marker{display:none}.p10-capability-options{z-index:3;border:1px solid var(--border-color);background:var(--bg-card);width:260px;max-height:220px;box-shadow:var(--shadow-md);border-radius:8px;flex-direction:column;gap:2px;margin-top:5px;padding:10px 10px 52px;display:flex;position:absolute;overflow-y:auto}.p10-capability-options label{color:var(--text-secondary);white-space:nowrap;flex-direction:row;align-items:center;gap:8px;padding:6px 8px;font-size:12px;display:flex}.p10-capability-options label input{flex:0 0 16px;width:16px}.p10-capability-options label:hover{background:var(--primary-light);color:var(--primary-hover)}.p10-capability-picker-foot{z-index:4;border:1px solid var(--border-color);background:var(--bg-card);width:260px;box-shadow:var(--shadow-md);border-top:0;border-radius:0 0 8px 8px;justify-content:space-between;gap:8px;padding:8px 10px;display:flex;position:absolute;top:225px;left:0}.p10-capability-picker-foot .xg-btn{height:28px;min-height:28px;padding:0 10px;font-size:12px}.xg-forbidden{min-height:calc(100vh - var(--header-height) - 72px);place-items:center;padding:32px 16px;display:grid}.xg-forbidden-card{border:1px solid var(--border-color);background:var(--bg-card);width:min(520px,100%);box-shadow:var(--shadow-md);text-align:center;border-radius:14px;padding:38px 32px 30px;position:relative;overflow:hidden}.xg-forbidden-card:before{content:"";height:4px;position:absolute;inset:0 0 auto}.xg-forbidden.is-merchant .xg-forbidden-card:before{background:linear-gradient(90deg,var(--primary),var(--accent))}.xg-forbidden.is-platform .xg-forbidden-card:before{background:linear-gradient(90deg,#1e3a8a,#4666d6)}.xg-forbidden-icon{border-radius:20px;place-items:center;width:66px;height:66px;margin:0 auto 18px;font-size:30px;display:grid}.xg-forbidden.is-merchant .xg-forbidden-icon{background:linear-gradient(135deg,#4666d624,#22d3ee24);border:1px solid #4666d63d}.xg-forbidden.is-platform .xg-forbidden-icon{background:linear-gradient(135deg,#1e3a8a29,#4666d61f);border:1px solid #1e3a8a42}.xg-forbidden-title{color:var(--text-primary);margin:0 0 10px;font-size:18px;font-weight:700}.xg-forbidden-desc{color:var(--text-secondary);margin:0 0 24px;font-size:13px;line-height:1.8}.xg-forbidden-actions{justify-content:center;gap:10px;display:flex}.xg-forbidden-detail-toggle{color:var(--text-muted);cursor:pointer;background:0 0;border:0;margin-top:18px;padding:0;font-size:11px}.xg-forbidden-detail-toggle:hover{color:var(--primary-hover)}.xg-forbidden-detail{border:1px dashed var(--border-color);background:var(--panel-2);text-align:left;border-radius:8px;flex-direction:column;gap:6px;margin:14px 0 0;padding:12px 14px;display:flex}.xg-forbidden-detail>div{justify-content:space-between;gap:16px;display:flex}.xg-forbidden-detail dt{color:var(--text-muted);flex:none;font-size:11px}.xg-forbidden-detail dd{color:var(--text-regular);overflow-wrap:anywhere;text-align:right;margin:0;font-size:11px}h1{font-size:20px}h2{font-size:16px}h3{font-size:14px}h4,h5,h6{font-size:13px}pre{font-family:var(--font-ui)}.xg-warning-toast{color:#92600a;pointer-events:auto;background:#fffaef;border:1px solid #e8c27a;border-radius:10px;align-items:center;gap:9px;width:100%;max-width:460px;min-height:44px;padding:10px 12px;display:flex;box-shadow:0 12px 30px #92600a24}.xg-warning-toast .xg-error-toast-icon{color:#fff;background:#d97706}.xg-info-toast{color:#1d4e89;pointer-events:auto;background:#f2f8ff;border:1px solid #a8c6e8;border-radius:10px;align-items:center;gap:9px;width:100%;max-width:460px;min-height:44px;padding:10px 12px;display:flex;box-shadow:0 12px 30px #1d4e8924}.xg-info-toast .xg-error-toast-icon{color:#fff;background:#3e7cb1}:root[data-theme=dark] .xg-warning-toast{color:#f2d49b;background:#332a1a;border-color:#7a5b28}:root[data-theme=dark] .xg-info-toast{color:#b8d4f2;background:#1d2a3a;border-color:#2c4a6b}.xg-confirm-affected-list{color:var(--text-secondary);margin:8px 0 0;padding-left:18px;font-size:12px;line-height:1.6}.xg-feature-dev-hint{color:var(--text-muted);margin:6px 0;font-size:11px;line-height:1.5;display:block}.xg-login-page{z-index:200;color:var(--text-primary);background:#fff;grid-template-columns:minmax(420px,1.15fr) minmax(360px,.85fr);display:grid;position:fixed;inset:0;overflow:auto}.xg-login-visual{min-height:100vh;color:var(--text-primary);background:radial-gradient(circle,#304a9e1a,#304a9e0d 45%,#f8fbff 72%);flex-direction:column;justify-content:space-between;padding:56px;display:flex;position:relative;overflow:hidden}.xg-login-visual:after{content:"";border:1px solid #22d3ee2e;border-radius:50%;position:absolute;inset:22% -12% -42% 18%;box-shadow:0 0 0 70px #304a9e08,0 0 0 140px #22d3ee05}.xg-login-brand,.xg-login-copy,.xg-login-foot{z-index:1;position:relative}.xg-login-brand{align-items:center;gap:12px;font-size:20px;font-weight:750;display:flex}.xg-login-logo{background:linear-gradient(135deg, #304a9e, var(--accent));color:#fff;border-radius:8px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:14px;font-weight:800;display:grid;box-shadow:0 0 14px #304a9e33}.xg-login-copy{max-width:600px}.xg-login-copy h1{letter-spacing:0;max-width:620px;margin:0 0 14px;font-size:clamp(28px,3vw,34px);line-height:1.3}.xg-login-copy>p{color:#52706b;margin:0;font-size:14px}.xg-login-capabilities{z-index:1;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px;display:grid;position:relative}.xg-login-capabilities>div{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffad;border:1px solid #ffffffe0;border-radius:8px;min-width:0;padding:13px}.xg-login-capabilities strong,.xg-login-capabilities span{display:block}.xg-login-capabilities strong{color:#304a9e;margin-bottom:2px;font-size:16px}.xg-login-capabilities span,.xg-login-foot{color:#68817d;font-size:11px}.xg-login-panel{background:#fffffffa;place-items:center;min-height:100vh;padding:42px;display:grid}.xg-login-box{width:100%;max-width:380px}.xg-login-box h2{color:var(--text-primary);margin:0 0 6px;font-size:23px;line-height:1.4}.xg-login-sub{color:var(--text-muted);margin:0 0 24px;font-size:12px}.xg-login-field{margin-bottom:16px}.xg-login-field label{color:var(--text-secondary);margin-bottom:6px;font-size:12px;font-weight:400;display:block}.xg-login-field>input,.xg-login-password{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--input-bg);width:100%;min-height:38px;transition:border-color .15s,box-shadow .15s,background .15s}.xg-login-field>input{padding:8px 12px;font-size:12px}.xg-login-password{align-items:center;display:flex}.xg-login-password input{min-width:0;box-shadow:none;background:0 0;border:0;outline:0;flex:1;padding:8px 6px 8px 12px}.xg-login-field>input:hover,.xg-login-password:hover{background:#fff;border-color:#4666d673}.xg-login-field>input:focus,.xg-login-password:focus-within{border-color:var(--primary);box-shadow:var(--focus-ring);background:#fff;outline:none}.xg-login-field>input[aria-invalid=true],.xg-login-password.is-invalid{border-color:#dc26268c}.xg-login-password-toggle{width:34px;height:34px;color:var(--text-muted);background:0 0;border:0;border-radius:5px;flex:0 0 34px;place-items:center;margin-right:2px;padding:0;display:grid}.xg-login-password-toggle:hover,.xg-login-password-toggle:focus-visible{background:var(--primary-light);color:var(--primary-hover);outline:none}.xg-login-password-toggle svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.xg-login-field-error{color:#b91c1c;margin-top:5px;font-size:12px;display:block}.xg-login-error{color:#b91c1c;background:#ef444414;border:1px solid #ef44444d;border-radius:7px;margin:0 0 14px;padding:10px 12px;font-size:12px}.xg-login-submit{border-radius:var(--radius-md);background:var(--action-gradient);color:#fff;border:1px solid #4666d6;width:100%;height:38px;padding:0 16px;font-weight:650;transition:transform .15s,box-shadow .15s,opacity .15s;box-shadow:0 8px 20px #304a9e2e}.xg-login-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 24px #304a9e3d}.xg-login-submit:focus-visible{box-shadow:var(--focus-ring), 0 8px 20px #304a9e2e;outline:none}.xg-login-submit:disabled{cursor:wait;opacity:.62}:root[data-theme=dark] .xg-login-submit{border-color:var(--primary);background:var(--primary)}@media (width<=840px){.xg-login-page{grid-template-columns:1fr}.xg-login-visual{display:none}.xg-login-panel{padding:22px}}@media (width<=420px){.xg-login-panel{align-items:start;padding-top:max(56px,12vh)}}@media (prefers-reduced-motion:reduce){.xg-login-submit{transition:none}}.xg-login-password input::-ms-reveal{display:none}.xg-login-password input::-ms-clear{display:none}.xg-login-password input{appearance:none;font-size:12px}.xg-login-password input::placeholder,.xg-login-field>input::placeholder{font-size:12px}.xg-shell{background:var(--bg-page);height:100vh;display:flex;overflow:hidden}.xg-sidebar{width:var(--sidebar-width);background:var(--bg-sidebar);color:var(--text-secondary);border-right:1px solid var(--border-color);flex-direction:column;flex-shrink:0;transition:width .2s;display:flex;overflow:hidden}.xg-logo{height:var(--header-height);color:var(--text-primary);border-bottom:1px solid var(--border-light);white-space:nowrap;align-items:center;gap:10px;padding:0 16px;font-size:15px;font-weight:600;display:flex}.xg-logo-mark{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;border-radius:10px;place-items:center;width:30px;height:30px;font-weight:800;display:grid;box-shadow:0 0 14px #4666d633}.xg-nav{flex-direction:column;gap:0;padding:8px 0;display:flex;overflow-y:auto}.xg-nav-group{margin-bottom:4px}.xg-nav-group-title{width:100%;color:var(--text-secondary);letter-spacing:.05em;text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:8px 16px 4px;font-size:11px;font-weight:600;display:flex}.xg-nav-group-title:hover{color:var(--primary-hover)}.xg-nav-chevron{font-size:9px;line-height:1;transition:transform .2s}.xg-nav-group.collapsed .xg-nav-chevron{transform:rotate(-90deg)}.xg-nav-items{opacity:1;grid-template-rows:1fr;transition:grid-template-rows .2s,opacity .16s;display:grid}.xg-nav-group.collapsed .xg-nav-items{opacity:0;pointer-events:none;grid-template-rows:0fr}.xg-nav-items-inner{min-height:0;overflow:hidden}.xg-nav-item{height:38px;color:var(--text-secondary);border-radius:10px;align-items:center;gap:10px;margin:0 10px;padding:0 10px;font-size:13px;text-decoration:none;transition:background-color .15s,color .15s;display:flex}.xg-nav-item:hover{color:var(--primary-hover);background:#4666d60f}.xg-nav-item.active{color:var(--primary-hover);background:linear-gradient(90deg,#4666d614,#22d3ee0f);font-weight:700;position:relative}.xg-nav-item.active:before{content:"";background:linear-gradient(180deg,var(--primary),var(--accent));border-radius:2px;width:3px;position:absolute;top:8px;bottom:8px;left:-10px;box-shadow:0 0 8px #4666d64d}.xg-nav-icon{color:currentColor;flex-shrink:0;place-items:center;width:20px;font-size:12px;display:grid}.nav-svg{width:16px;height:16px;display:block}.xg-sidebar-footer{border-top:1px solid var(--border-light);flex-direction:column;gap:2px;margin-top:auto;padding:10px 12px 14px;display:flex}.xg-sidebar-footer-link{color:var(--text-secondary);border-radius:var(--radius-md);padding:8px 10px;font-size:12px}.xg-sidebar-footer-link:hover{background:var(--primary-light);color:var(--primary-hover)}.xg-sidebar-collapse{width:100%;height:32px;color:var(--text-secondary);text-align:left;border-radius:var(--radius-md);background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;display:flex}.xg-sidebar-collapse:hover{background:var(--primary-light);color:var(--primary-hover)}.xg-sidebar-toggle-icon{width:14px;height:14px;color:var(--primary-hover);place-items:center;display:grid}.xg-sidebar-toggle-icon .nav-svg{width:14px;height:14px}.xg-shell.is-collapsed .xg-sidebar{width:64px}.xg-shell.is-collapsed .xg-logo{justify-content:center;padding:0}.xg-shell.is-collapsed .xg-logo>span:last-child,.xg-shell.is-collapsed .xg-nav-group-title,.xg-shell.is-collapsed .xg-nav-item>span:last-child,.xg-shell.is-collapsed .xg-sidebar-collapse>span:last-child{display:none}.xg-shell.is-collapsed .xg-nav-item{justify-content:center;padding:0}.xg-shell.is-collapsed .xg-nav-icon{width:auto;font-size:15px}.xg-shell.is-collapsed .xg-sidebar-collapse{justify-content:center;padding-left:0;padding-right:0}.db-description{color:var(--text-secondary);margin:4px 0 0;font-size:12px}.xg-main{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.xg-header{height:var(--header-height);background:var(--bg-card);border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:0 20px;display:flex}.xg-header-left{align-items:center;gap:12px;display:flex}.xg-breadcrumb{color:var(--text-muted);align-items:center;gap:9px;font-size:13px;display:flex}.xg-breadcrumb b{color:var(--border-color);font-weight:400}.xg-breadcrumb strong{color:var(--primary-hover);font-weight:700}.xg-header-right{align-items:center;gap:16px;display:flex}.xg-icon-btn{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-secondary);background:0 0;border:0;place-items:center;font-size:18px;display:grid}.xg-icon-btn .nav-svg{width:18px;height:18px}.xg-icon-btn:hover{background:var(--primary-light);color:var(--primary-hover)}.xg-notice{position:relative}.xg-notice span{border:2px solid var(--bg-card);background:#dc5454;border-radius:50%;width:7px;height:7px;position:absolute;top:6px;right:6px}.xg-avatar{background:var(--action-gradient);color:#fff;cursor:pointer;border:0;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;font-weight:700;display:grid}.xg-account{position:relative}.xg-user-menu{z-index:90;background:var(--bg-card);border:1px solid var(--border-color);transform-origin:100% 0;border-radius:8px;width:220px;padding:6px;animation:.16s both xg-user-menu-in;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #19332f24}@keyframes xg-user-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.xg-user-summary{border-bottom:1px solid var(--border-light);margin-bottom:4px;padding:10px}.xg-user-summary b{color:var(--text-primary);font-size:13px;display:block}.xg-user-summary span{color:var(--text-muted);font-size:11px}.xg-user-menu>a,.xg-user-menu>button{text-align:left;cursor:pointer;width:100%;height:34px;color:var(--text-regular);background:0 0;border:0;border-radius:5px;align-items:center;padding:0 9px;font-size:12px;text-decoration:none;transition:background-color .15s,color .15s;display:flex}.xg-user-menu>a:hover,.xg-user-menu>button:hover:not(:disabled){background:var(--primary-light);color:var(--primary-hover)}.xg-user-menu>button:disabled{opacity:.55;cursor:wait}.xg-user-menu-error{color:var(--red);padding:6px 9px;font-size:11px}.xg-scope-switch{border:1px solid var(--border-color);border-radius:6px;display:flex;overflow:hidden}.xg-scope-btn{background:var(--bg-card);color:var(--text-secondary);cursor:pointer;border:none;padding:6px 14px}.xg-scope-btn.active{background:var(--primary);color:#fff}.xg-content{flex:1;min-width:0;padding:20px 24px;overflow-y:auto}.xg-route-page{min-width:0;animation:.16s both xg-route-fade}@keyframes xg-route-fade{0%{opacity:.4;transform:translateY(2px)}to{opacity:1;transform:none}}.proto-page-heading{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.proto-page-heading .xg-page-title{margin-bottom:4px}.proto-page-heading p{color:var(--text-secondary);margin:0}.proto-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.proto-stat{background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px 20px}.proto-stat span,.proto-stat small{color:var(--text-secondary);font-size:12px;display:block}.proto-stat strong{margin:6px 0;font-size:26px;display:block}.proto-toolbar{align-items:center;gap:10px;margin-bottom:16px;display:flex}.proto-toolbar input,.proto-toolbar select{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-card);height:34px;padding:0 10px}.proto-toolbar input{width:220px}.proto-toolbar .xg-muted{margin-left:auto;font-size:12px}.proto-panel{padding:0;overflow:hidden}.proto-panel-title{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.proto-link-btn{color:var(--primary-hover);background:0 0;border:0;font-size:13px}.proto-page .xg-table th,.proto-page .xg-table td{padding:13px 16px}@media (width<=900px){.proto-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.db-filter-bar label{width:100%}.db-source-note{margin-left:0}.kpi-row{flex-wrap:wrap}.kpi-card{flex:33%;padding:10px 16px}}@media (width<=640px){.xg-sidebar{display:none}.xg-content{padding:16px}.proto-stat-grid{grid-template-columns:1fr}.proto-toolbar{flex-wrap:wrap}.proto-toolbar input{width:100%}.db-header{align-items:flex-start;gap:8px}.kpi-card{flex-basis:50%}}.proto-page-head{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.proto-page-head .xg-page-title{margin:0}.proto-page-desc{color:var(--text-muted);margin:4px 0 0;font-size:12px}.proto-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.proto-card-head{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;min-height:46px;padding:0 16px;display:flex}.proto-card-title{font-size:14px;font-weight:650}.proto-card-body{padding:16px}.proto-split{grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:14px;display:grid}.proto-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.proto-avatar{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:64px;height:64px;margin:0 auto 12px;font-size:22px;font-weight:700;display:grid}.profile-identity{text-align:center}.profile-identity h3{margin:0;font-size:16px}.profile-status{justify-content:center;margin-top:16px}.proto-help{color:var(--text-muted);font-size:11px}.proto-form{flex-direction:column;gap:12px;display:flex}.proto-form label{color:var(--text-secondary);align-items:center;gap:12px;font-size:12px;display:flex}.proto-form label .proto-input{flex:1}.proto-input,.proto-select{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-card);min-width:0;height:34px;padding:0 10px}.proto-inline{align-items:center;gap:8px;display:flex}.proto-filter-spacer{flex:1}.proto-btn{border-radius:var(--radius-md);background:var(--action-gradient);color:#fff;height:34px;box-shadow:var(--shadow-sm);border:1px solid #4666d6;padding:0 12px}.proto-btn:hover{color:#fff;filter:brightness(1.04);border-color:#22d3ee;box-shadow:0 6px 18px #4666d62e}.proto-btn-primary{color:#fff;background:var(--action-gradient);border-color:#4666d6}.proto-btn-primary:hover{color:#fff;background:var(--action-gradient);border-color:#22d3ee}.proto-switch{background:var(--border-color);border-radius:20px;width:34px;height:20px;position:relative}.proto-switch:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:all .15s;position:absolute;top:3px;left:3px}.proto-switch.on{background:var(--primary)}.proto-switch.on:after{left:17px}.profile-bottom,.profile-permissions{margin-top:14px}.profile-perm-list{flex-wrap:wrap;gap:8px;display:flex}@media (width<=760px){.proto-split,.proto-grid-2{grid-template-columns:1fr}.proto-page-head{flex-direction:column;align-items:stretch}.xg-header{padding:0 14px}.xg-breadcrumb{font-size:12px}}.proto-filter{background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);flex-wrap:wrap;align-items:center;gap:10px;min-height:54px;margin-bottom:14px;padding:10px 12px;display:flex}.proto-table-wrap{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);box-shadow:var(--shadow-sm);overflow:auto}.proto-table{border-spacing:0;width:100%;min-width:760px;color:var(--text-regular);font-size:12px}.proto-table th{text-align:left;height:42px;color:var(--text-secondary);background:var(--panel-2);white-space:nowrap;border-bottom:1px solid var(--border-color);padding:0 12px;font-size:11px;font-weight:600}.proto-table td{border-bottom:1px solid var(--border-light);height:48px;color:var(--text-regular);padding:8px 12px;font-size:12px}.proto-table tbody tr:last-child td{border-bottom:0}.proto-actions{flex-wrap:wrap;gap:8px;display:flex}.proto-btn{border:0}.platform-kpi-row{box-shadow:none;background:0 0;gap:12px;padding:0}.platform-kpi-card{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);min-width:0;min-height:92px;box-shadow:var(--shadow-sm);grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:14px 16px;display:grid}.platform-kpi-card:last-child{border-right:1px solid var(--border-color)}.platform-kpi-icon{width:36px;height:36px;color:var(--primary-hover);background:linear-gradient(135deg,#4666d614,#22d3ee14);border:1px solid #4666d61f;border-radius:8px;place-items:center;display:grid}.platform-kpi-icon svg{width:17px;height:17px}.platform-kpi-content{min-width:0}.platform-kpi-card .kpi-head{margin-bottom:2px}.platform-kpi-card strong{font-size:23px}.platform-attention,.platform-dashboard-filter{margin-bottom:14px}.platform-dashboard-grid{margin-top:0}.platform-top5{margin-top:14px}:root[data-theme=dark] .proto-btn{border-color:var(--border-color);background:var(--bg-card);color:var(--text-regular);box-shadow:none}:root[data-theme=dark] .proto-btn:hover{border-color:var(--primary);background:var(--primary-light);color:var(--primary-hover);filter:none}:root[data-theme=dark] .proto-btn-primary{border-color:var(--primary);background:var(--primary);color:#fff}:root[data-theme=dark] .proto-btn-primary:hover{border-color:var(--primary-hover);background:var(--primary-hover);color:#fff}.proto-filter .proto-input,.proto-filter .proto-select,.proto-filter .proto-btn,.proto-actions .proto-btn{font-size:12px}.platform-ai-kpi{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;display:grid}.platform-ai-kpi-icon{width:30px;height:30px;color:var(--primary-hover);background:linear-gradient(135deg,#4666d617,#22d3ee1f);border-radius:8px;place-items:center;display:grid}.platform-ai-kpi-icon svg{width:17px;height:17px}.platform-ai-kpi span,.platform-ai-kpi small{font-size:12px}.platform-ai-kpi strong{font-size:26px}.xg-kpi-card{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);min-width:0;min-height:92px;box-shadow:var(--shadow-sm);grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:14px 16px;display:grid}.xg-kpi-icon{width:36px;height:36px;color:var(--primary-hover);background:linear-gradient(135deg,#4666d614,#22d3ee1a);border:1px solid #4666d61f;border-radius:8px;place-items:center;display:grid}.xg-kpi-icon svg{width:17px;height:17px}.xg-kpi-content{min-width:0}.xg-kpi-label,.xg-kpi-note{color:var(--text-secondary);font-size:12px;display:block}.xg-kpi-value{margin:6px 0;font-size:26px;line-height:1.2;display:block}.xg-kpi-note{color:var(--text-muted)}.platform-kpi-card,.platform-ai-kpi,.merchant-kpi-card{min-height:92px}.platform-kpi-card{padding:14px 16px}.platform-ai-kpi-grid{gap:14px}.merchant-kpi-row{box-shadow:none;background:0 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;display:grid}.merchant-kpi-card{border-right:1px solid var(--border-color)}@media (width<=900px){.merchant-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.merchant-kpi-row{grid-template-columns:1fr}}.kpi-row>.xg-kpi-card{flex:1}.proto-stat-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.xg-breadcrumb,.xg-scope-btn{font-size:12px}.xg-nav-group-title,.xg-icon-btn,.xg-scope-btn{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s,transform .15s}.proto-btn{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s,transform .15s,filter .15s}@media (prefers-reduced-motion:reduce){.xg-route-page{animation-duration:.01ms!important;animation-delay:0s!important}.xg-nav-group-title,.xg-icon-btn,.xg-scope-btn,.proto-btn,.xg-sidebar,.xg-nav-chevron,.xg-nav-items,.xg-sidebar-collapse,.xg-nav-item,.xg-user-menu,.xg-user-menu>a,.xg-user-menu>button{transition-duration:.01ms!important;animation-duration:.01ms!important}}.video-tasks-page .proto-video-workspace{grid-template-columns:minmax(300px,34%) minmax(0,1fr);gap:14px;height:calc(100vh - 176px);min-height:0;display:grid}.video-tasks-page .proto-video-list-panel,.video-tasks-page .proto-video-detail{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);min-width:0;min-height:0;box-shadow:var(--shadow-sm)}.video-tasks-page .proto-video-list-panel{flex-direction:column;display:flex;overflow:hidden}.video-tasks-page .proto-video-list-head{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;gap:8px;min-height:55px;padding:0 14px;display:flex}.video-tasks-page .proto-video-list-tools{align-items:center;gap:8px;display:flex}.video-tasks-page .proto-video-refresh{width:28px;height:28px;color:var(--primary-hover);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;font-size:16px;display:grid}.video-tasks-page .proto-video-refresh:hover:not(:disabled){background:var(--primary-light)}.video-tasks-page .proto-video-refresh:disabled{cursor:wait;opacity:.45}.video-tasks-page .proto-video-list-head b,.video-tasks-page .proto-video-section-head b,.video-tasks-page .proto-video-preview-head b{color:var(--text-primary);font-size:13px;display:block}.video-tasks-page .proto-video-list-head span,.video-tasks-page .proto-video-section-head span,.video-tasks-page .proto-video-preview-head span{color:var(--text-muted);margin-top:3px;font-size:10px;display:block}.video-tasks-page .proto-video-list-columns{color:var(--text-muted);background:var(--panel-2);grid-template-columns:64px minmax(0,1fr);gap:10px;padding:8px 12px;font-size:10px;display:grid}.video-tasks-page .proto-video-list-scroll{min-height:0;overflow:auto}.video-tasks-page .proto-video-list-item{border:0;border-bottom:1px solid var(--border-light);background:var(--bg-card);width:100%;min-height:84px;color:inherit;text-align:left;cursor:pointer;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;transition:background-color .15s,box-shadow .15s;display:grid}.video-tasks-page .proto-video-list-item:hover{background:var(--primary-light)}.video-tasks-page .proto-video-list-item.active{box-shadow:inset 3px 0 0 var(--primary-hover);background:linear-gradient(90deg,#4666d614,#22d3ee14)}.video-tasks-page .proto-video-list-cover{color:#fff;background:linear-gradient(145deg,#22d3ee3d,#4666d6b8);border-radius:5px;place-items:center;width:64px;height:48px;display:grid;overflow:hidden}.video-tasks-page .proto-video-thumb-art{background:#0f172a61;border-radius:50%;place-items:center;width:28px;height:28px;font-size:11px;display:grid}.video-tasks-page .proto-video-list-main{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;min-width:0;display:grid}.video-tasks-page .proto-video-list-main b{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:11px;overflow:hidden}.video-tasks-page .proto-video-list-main>span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:10px;overflow:hidden}.video-tasks-page .proto-video-list-main .proto-badge{background:var(--primary-light);width:max-content;max-width:90px;color:var(--primary-hover);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;grid-column:1;padding:2px 7px;font-size:9px;font-style:normal;overflow:hidden}.video-tasks-page .proto-video-detail{padding:14px;overflow:auto}.video-tasks-page .proto-video-preview-panel{border-bottom:1px solid var(--border-light);padding-bottom:14px}.video-tasks-page .proto-video-preview-head,.video-tasks-page .proto-video-section-head{justify-content:space-between;align-items:flex-start;gap:12px;min-height:38px;display:flex}.video-tasks-page .proto-video-preview-head b em{color:var(--text-muted);margin-left:6px;font-size:11px;font-style:normal;font-weight:500}.video-tasks-page .proto-video-stage{background:linear-gradient(145deg,#16252b,#263b48);border-radius:8px;place-items:center;min-height:310px;display:grid;position:relative;overflow:hidden}.video-tasks-page .proto-video-stage video{object-fit:contain;background:#0f1720;width:100%;height:100%;max-height:52vh}.video-tasks-page .proto-video-stage-progress{color:#fff;text-align:center;background:#0c1b22b8;border-radius:8px;flex-direction:column;align-items:center;gap:6px;width:230px;padding:14px;display:flex}.video-tasks-page .proto-video-stage-progress b{font-size:12px}.video-tasks-page .proto-video-stage-progress small{color:#ffffffb3;font-size:10px}.video-tasks-page .proto-video-preview-meta{color:var(--text-muted);justify-content:space-between;align-items:center;gap:14px;padding-top:10px;font-size:10px;display:flex}.video-tasks-page .proto-video-meta-items{flex-wrap:wrap;gap:18px;min-width:0;display:flex}.video-tasks-page .proto-video-meta-items span{gap:4px;display:flex}.video-tasks-page .proto-video-meta-items b{color:var(--text-regular);font-weight:600}.video-tasks-page .proto-video-action-row,.video-tasks-page .proto-video-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.video-tasks-page .proto-video-action-row .proto-btn{align-items:center;height:28px;padding:0 9px;font-size:11px;text-decoration:none;display:inline-flex}.video-tasks-page .proto-video-action-row a[aria-disabled=true]{pointer-events:none;opacity:.45}.video-tasks-page .proto-video-edit-panel,.video-tasks-page .proto-video-actions{padding-top:14px}.video-tasks-page .proto-video-edit-panel.disabled{opacity:.62}.video-tasks-page .proto-video-composer{background:var(--bg-card);border:1px solid #4666d673;border-radius:18px;padding:12px 12px 8px;box-shadow:0 2px 10px #2563eb0f}.video-tasks-page .proto-video-composer-input{resize:vertical;width:100%;min-height:48px;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;padding:2px 0 8px;font-size:12px;line-height:1.6}.video-tasks-page .proto-video-composer-toolbar{align-items:center;gap:4px;min-height:28px;display:flex;overflow-x:auto}.video-tasks-page .proto-video-composer-toolbar button:disabled{opacity:.5;cursor:not-allowed}.video-tasks-page .proto-video-tool{background:var(--panel-2);height:26px;color:var(--text-secondary);font:inherit;white-space:nowrap;border:0;border-radius:999px;padding:0 8px;font-size:10px}.video-tasks-page .proto-video-composer-spacer{flex:1}.video-tasks-page .proto-video-create-shell{flex-direction:column;gap:18px;display:flex}.video-tasks-page .proto-video-create-section{min-width:0}.video-tasks-page .proto-video-create-section+.proto-video-create-section{border-top:1px solid var(--border-light);padding-top:16px}.video-tasks-page .proto-video-create-section-head{align-items:baseline;gap:9px;margin-bottom:10px;display:flex}.video-tasks-page .proto-video-create-section-head b{color:var(--text-primary);font-size:13px}.video-tasks-page .proto-video-create-section-head span{color:var(--text-muted);font-size:10px}.video-tasks-page .proto-video-source-tabs{border:1px solid var(--border-color);background:var(--panel-2);border-radius:7px;gap:3px;width:max-content;margin-bottom:10px;padding:3px;display:flex}.video-tasks-page .proto-video-source-tabs button{height:28px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0 16px;font-size:11px}.video-tasks-page .proto-video-source-tabs button.active{background:var(--bg-card);color:var(--primary-hover);box-shadow:var(--shadow-sm);font-weight:650}.video-tasks-page .proto-video-upload-zone{cursor:pointer;text-align:center;background:linear-gradient(145deg,#22d3ee0f,#4666d60d);border:1px dashed #22d3eeb3;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:106px;padding:16px;display:flex}.video-tasks-page .proto-video-upload-zone input{display:none}.video-tasks-page .proto-video-upload-icon{background:var(--primary-light);width:28px;height:28px;color:var(--primary-hover);border-radius:50%;place-items:center;font-size:18px;display:grid}.video-tasks-page .proto-video-upload-zone>b{color:var(--text-primary);font-size:12px}.video-tasks-page .proto-video-upload-hint{color:var(--text-muted);font-size:9px}.video-tasks-page .proto-video-upload-layout{flex-direction:column;gap:10px;display:flex}.video-tasks-page .proto-video-uploaded-list{flex-direction:column;gap:6px;max-height:168px;padding-right:2px;display:flex;overflow-y:auto}.video-tasks-page .proto-video-uploaded-file{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex}.video-tasks-page .proto-video-uploaded-file-icon{background:var(--primary-light);width:26px;height:26px;color:var(--primary-hover);border-radius:6px;flex:0 0 26px;place-items:center;font-size:9px;display:grid}.video-tasks-page .proto-video-uploaded-file-name{min-width:0;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:11px;overflow:hidden}.video-tasks-page .proto-video-uploaded-file-remove{height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;padding:0 8px;font-size:10px}.video-tasks-page .proto-video-uploaded-file-remove:hover{color:var(--red);background:#dc54541a}.video-tasks-page .proto-video-library-head{align-items:center;gap:10px;margin-bottom:8px;display:flex}.video-tasks-page .proto-video-library-head .proto-input{flex:1;min-width:0}.video-tasks-page .proto-video-library-head .proto-select{flex:0 0 104px;width:104px}.video-tasks-page .proto-video-library-head>span{color:var(--text-muted);white-space:nowrap;font-size:10px}.video-tasks-page .proto-video-create-material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:244px;padding-right:3px;display:grid;overflow-y:auto}.video-tasks-page .proto-video-create-material{border:1px solid var(--border-color);background:var(--bg-card);min-width:0;min-height:58px;color:inherit;text-align:left;cursor:pointer;border-radius:7px;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:8px;padding:7px;display:grid;position:relative}.video-tasks-page .proto-video-create-material.selected,.video-tasks-page .proto-video-type-grid button.active{border-color:var(--primary-hover);background:var(--primary-light);box-shadow:inset 0 0 0 1px var(--primary-hover)}.video-tasks-page .proto-video-create-material-cover{color:#fff;background:linear-gradient(145deg,#22d3ee59,#4666d6bf);border-radius:5px;place-items:center;width:60px;height:42px;display:grid}.video-tasks-page .proto-video-create-material>span:nth-child(2){min-width:0}.video-tasks-page .proto-video-create-material b,.video-tasks-page .proto-video-create-material small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.video-tasks-page .proto-video-create-material b{color:var(--text-primary);font-size:11px}.video-tasks-page .proto-video-create-material small{color:var(--text-muted);margin-top:4px;font-size:9px}.video-tasks-page .proto-video-create-material>i{background:var(--primary-hover);color:#fff;border-radius:50%;place-items:center;width:17px;height:17px;font-size:9px;font-style:normal;display:grid;position:absolute;top:6px;right:6px}.video-tasks-page .proto-video-type-grid,.video-tasks-page .proto-video-effect-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.video-tasks-page .proto-video-type-grid button,.video-tasks-page .proto-video-effect{border:1px solid var(--border-color);background:var(--bg-card);min-height:58px;color:inherit;text-align:left;cursor:pointer;border-radius:7px;padding:9px 10px}.video-tasks-page .proto-video-type-grid b,.video-tasks-page .proto-video-type-grid span,.video-tasks-page .proto-video-effect b,.video-tasks-page .proto-video-effect small{display:block}.video-tasks-page .proto-video-type-grid b,.video-tasks-page .proto-video-effect b{color:var(--text-primary);font-size:11px}.video-tasks-page .proto-video-type-grid span,.video-tasks-page .proto-video-effect small{color:var(--text-muted);margin-top:4px;font-size:9px}.video-tasks-page .proto-video-effect{justify-content:space-between;align-items:center;gap:8px;display:flex}.video-tasks-page .proto-video-effect.active{background:var(--primary-light);border-color:#22d3eea6}.video-tasks-page .proto-video-effect input{width:16px;height:16px;accent-color:var(--primary-hover)}@media (width<=900px){.video-tasks-page .proto-video-workspace{grid-template-columns:1fr;height:auto}.video-tasks-page .proto-video-list-panel{max-height:420px}.video-tasks-page .proto-video-stage{min-height:260px}}@media (width<=640px){.video-tasks-page .proto-video-preview-meta{flex-direction:column;align-items:flex-start}.video-tasks-page .proto-video-create-material-grid,.video-tasks-page .proto-video-type-grid,.video-tasks-page .proto-video-effect-list{grid-template-columns:1fr}}.video-tasks-page .proto-video-output-line{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.video-tasks-page .proto-video-output-toggle{border:1px solid var(--border-color);background:var(--panel-2);border-radius:7px;gap:3px;width:max-content;padding:3px;display:inline-flex}.video-tasks-page .proto-video-output-toggle button{height:24px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0 12px;font-size:11px}.video-tasks-page .proto-video-output-toggle button.active{background:var(--bg-card);color:var(--primary-hover);box-shadow:var(--shadow-sm);font-weight:650}.video-tasks-page .proto-video-output-state{color:var(--text-muted);font-size:10px}.video-tasks-page .proto-video-action-row .xg-btn{align-items:center;height:28px;padding:0 9px;font-size:11px;display:inline-flex}.video-tasks-page .proto-video-action-cell{align-items:center;display:inline-flex}.video-tasks-page .proto-video-action-cell .xg-feature-dev-hint{text-align:center;margin:0;font-size:10px}.video-tasks-page .proto-video-action-row .proto-btn:disabled{opacity:.5;cursor:not-allowed}.video-tasks-page .proto-video-tooltip-wrap{display:inline-flex;position:relative}.video-tasks-page .proto-video-tooltip{border:1px solid var(--border-color);background:var(--bg-card);color:var(--text-regular);box-shadow:var(--shadow-md);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;z-index:20;border-radius:6px;padding:4px 9px;font-size:11px;transition:opacity .15s,visibility .15s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.video-tasks-page .proto-video-tooltip-wrap:hover .proto-video-tooltip{opacity:1;visibility:visible}.video-tasks-page .proto-video-edit-panel .xg-feature-dev-hint{margin:2px 0 10px;font-size:11px}.xg-drawer .proto-video-advanced-settings{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;overflow:hidden}.xg-drawer .proto-video-advanced-settings>summary{color:var(--text-primary);cursor:pointer;align-items:center;gap:6px;padding:9px 12px;font-size:12px;font-weight:650;list-style:none;display:flex}.xg-drawer .proto-video-advanced-settings>summary::-webkit-details-marker{display:none}.xg-drawer .proto-video-advanced-settings>summary:before{content:"▸";color:var(--text-muted);font-size:10px;transition:transform .15s}.xg-drawer .proto-video-advanced-settings[open]>summary{border-bottom:1px solid var(--border-light)}.xg-drawer .proto-video-advanced-settings[open]>summary:before{transform:rotate(90deg)}.xg-drawer .proto-video-advanced-settings .proto-video-settings{padding:12px 12px 2px}@media (prefers-reduced-motion:reduce){.xg-drawer .proto-video-advanced-settings>summary:before{transition-duration:.01ms!important}}.materials-page .proto-video-workspace{grid-template-columns:minmax(300px,34%) minmax(0,1fr);gap:14px;height:calc(100vh - 176px);min-height:0;display:grid}.materials-page .proto-video-list-panel,.materials-page .proto-video-detail{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);min-width:0;min-height:0;box-shadow:var(--shadow-sm)}.materials-page .proto-video-list-panel{flex-direction:column;display:flex;overflow:hidden}.materials-page .proto-video-list-head{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;gap:8px;min-height:55px;padding:0 14px;display:flex}.materials-page .proto-video-list-tools{align-items:center;gap:8px;display:flex}.materials-page .proto-video-refresh{width:28px;height:28px;color:var(--primary-hover);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;font-size:16px;display:grid}.materials-page .proto-video-refresh:hover:not(:disabled){background:var(--primary-light)}.materials-page .proto-video-refresh:disabled{cursor:wait;opacity:.45}.materials-page .proto-video-list-head b,.materials-page .proto-video-section-head b,.materials-page .proto-video-preview-head b{color:var(--text-primary);font-size:13px;display:block}.materials-page .proto-video-list-head span,.materials-page .proto-video-section-head span,.materials-page .proto-video-preview-head span{color:var(--text-muted);margin-top:3px;font-size:10px;display:block}.materials-page .proto-video-list-columns{color:var(--text-muted);background:var(--panel-2);grid-template-columns:64px minmax(0,1fr);gap:10px;padding:8px 12px;font-size:10px;display:grid}.materials-page .proto-video-list-scroll{min-height:0;overflow:auto}.materials-page .proto-video-list-item{border:0;border-bottom:1px solid var(--border-light);background:var(--bg-card);width:100%;min-height:84px;color:inherit;text-align:left;cursor:pointer;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;transition:background-color .15s,box-shadow .15s;display:grid}.materials-page .proto-video-list-item:hover{background:var(--primary-light)}.materials-page .proto-video-list-item.active{box-shadow:inset 3px 0 0 var(--primary-hover);background:linear-gradient(90deg,#4666d614,#22d3ee14)}.materials-page .proto-video-list-cover{color:#fff;background:linear-gradient(145deg,#22d3ee3d,#4666d6b8);border-radius:5px;place-items:center;width:64px;height:48px;display:grid;overflow:hidden}.materials-page .proto-video-thumb-art{background:#0f172a61;border-radius:50%;place-items:center;width:28px;height:28px;font-size:11px;display:grid}.materials-page .proto-video-list-main{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;min-width:0;display:grid}.materials-page .proto-video-list-main b{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:11px;overflow:hidden}.materials-page .proto-video-list-main>span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:10px;overflow:hidden}.materials-page .proto-video-list-main .proto-badge{background:var(--primary-light);width:max-content;max-width:90px;color:var(--primary-hover);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;grid-column:1;padding:2px 7px;font-size:9px;font-style:normal;overflow:hidden}.materials-page .proto-video-detail{padding:14px;overflow:auto}.materials-page .proto-video-preview-panel{border-bottom:1px solid var(--border-light);padding-bottom:14px}.materials-page .proto-video-preview-head,.materials-page .proto-video-section-head{justify-content:space-between;align-items:flex-start;gap:12px;min-height:38px;display:flex}.materials-page .proto-video-preview-head b em{color:var(--text-muted);margin-left:6px;font-size:11px;font-style:normal;font-weight:500}.materials-page .proto-video-stage{background:linear-gradient(145deg,#16252b,#263b48);border-radius:8px;place-items:center;min-height:310px;display:grid;position:relative;overflow:hidden}.materials-page .proto-video-stage video{object-fit:contain;background:#0f1720;width:100%;height:100%;max-height:52vh}.materials-page .proto-video-stage-progress{color:#fff;text-align:center;background:#0c1b22b8;border-radius:8px;flex-direction:column;align-items:center;gap:6px;width:230px;padding:14px;display:flex}.materials-page .proto-video-stage-progress b{font-size:12px}.materials-page .proto-video-stage-progress small{color:#ffffffb3;font-size:10px}.materials-page .proto-video-preview-meta{color:var(--text-muted);justify-content:space-between;align-items:center;gap:14px;padding-top:10px;font-size:10px;display:flex}.materials-page .proto-video-meta-items{flex-wrap:wrap;gap:18px;min-width:0;display:flex}.materials-page .proto-video-meta-items span{gap:4px;display:flex}.materials-page .proto-video-meta-items b{color:var(--text-regular);font-weight:600}.materials-page .proto-video-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.materials-page .proto-video-action-row .proto-btn,.materials-page .proto-video-action-row .xg-btn{align-items:center;height:28px;padding:0 9px;font-size:11px;text-decoration:none;display:inline-flex}.materials-page .materials-capacity{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);box-shadow:var(--shadow-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 14px;display:flex}.materials-page .materials-capacity-items{color:var(--text-muted);flex-wrap:wrap;gap:18px;font-size:12px;display:flex}.materials-page .materials-capacity-items b{color:var(--text-regular);font-weight:600}.materials-page .materials-capacity .xg-feature-dev-hint{margin:0;font-size:11px}.materials-page .materials-filter{border-bottom:1px solid var(--border-light);align-items:center;gap:8px;padding:8px 12px;display:flex}.materials-page .materials-filter .proto-input{flex:1;min-width:0;height:28px;font-size:11px}.materials-page .materials-filter .proto-select{flex:0 0 118px;width:118px;height:28px;font-size:11px}.materials-page .materials-info-panel{padding-top:14px}.materials-page .materials-tags{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.materials-page .materials-tag{background:var(--primary-light);color:var(--primary-hover);border-radius:999px;padding:3px 8px;font-size:10px;font-style:normal;font-weight:600}@media (width<=900px){.materials-page .proto-video-workspace{grid-template-columns:1fr;height:auto}.materials-page .proto-video-list-panel{max-height:420px}.materials-page .proto-video-stage{min-height:260px}}@media (width<=640px){.materials-page .proto-video-preview-meta{flex-direction:column;align-items:flex-start}.materials-page .materials-filter{flex-wrap:wrap}.materials-page .materials-filter .proto-input{flex:100%}.materials-page .materials-filter .proto-select{flex:45%}}.platform-badge{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px;font-style:normal;display:inline-block}.platform-badge[data-status=active],.platform-badge[data-status=on]{background:var(--primary-light);color:var(--primary-hover)}.platform-badge[data-status=disabled],.platform-badge[data-status=off]{background:var(--border-light);color:var(--text-muted)}.platform-badge[data-status=expiring]{color:#dc2626;background:#dc26261a}.platform-personas-page .proto-page-head{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.platform-personas-page .proto-page-head .xg-page-title{margin:0}.platform-persona-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;display:grid}.platform-persona-card{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-card);box-shadow:var(--shadow-sm);padding:14px}.platform-persona-card-top{align-items:center;gap:12px;display:flex}.platform-persona-card .proto-avatar{border-radius:12px;width:44px;height:44px;margin:0;font-size:18px}.platform-persona-card-title{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.platform-persona-card-title h3{text-overflow:ellipsis;white-space:nowrap;max-width:150px;margin:0;font-size:14px;overflow:hidden}.platform-persona-desc{color:var(--text-regular);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:10px 0 6px;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.platform-persona-scope{color:var(--text-muted);margin:0 0 12px;font-size:11px}.platform-persona-scope span,.platform-persona-scope b{display:block}.platform-persona-scope b{color:var(--text-secondary);margin-top:3px;font-size:11px;font-weight:600}.platform-persona-actions{flex-wrap:wrap;gap:6px;display:flex}.platform-persona-actions .xg-btn{padding:5px 8px;font-size:11px}.platform-persona-avatar{border-radius:50%!important;width:72px!important;height:72px!important;margin:0!important;font-size:28px!important}.platform-persona-filter{margin-bottom:16px}.platform-persona-filter .proto-input{min-width:220px}.platform-persona-drawer-form textarea{resize:vertical;min-height:140px}.platform-persona-avatar-preview{color:var(--text-muted);align-items:center;gap:10px;font-size:11px;display:flex}.platform-persona-avatar-preview .proto-avatar{width:56px;height:56px;margin:0;font-size:24px}.platform-persona-merchant-picker{border:1px solid var(--border-color);border-radius:8px;flex-direction:column;gap:7px;margin:0;padding:10px 12px;display:flex}.platform-persona-merchant-picker legend{color:var(--text-secondary);padding:0 4px;font-size:12px}.platform-persona-merchant-picker label{flex-direction:row;align-items:center;gap:7px;display:flex}.platform-persona-card{flex-direction:column;min-height:300px;display:flex}.platform-persona-card .platform-persona-actions{margin-top:auto}.platform-check-line{color:var(--text-secondary);align-items:center;gap:8px;font-size:12px;display:flex}.platform-tabs{border-bottom:1px solid var(--border-color);gap:4px;margin-bottom:14px;display:flex}.platform-tab{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:8px 16px;font-size:13px}.platform-tab.is-active{color:var(--primary-hover);border-bottom-color:var(--primary-hover);font-weight:600}.platform-tab-sub{color:var(--text-secondary);margin:18px 0 8px;font-size:13px}.platform-check-result{margin-left:8px;font-size:12px}.platform-check-result[data-blocked=true]{color:#d5484a}.platform-check-result[data-blocked=false]{color:var(--primary-hover)}@media (width<=640px){.platform-persona-grid{grid-template-columns:1fr}}.platform-dashboard-visuals{margin-top:14px}.platform-trend-bars{align-items:flex-end;gap:10px;height:230px;padding:22px 8px 24px;display:flex}.platform-trend-bar{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;min-width:0;height:100%;display:flex;position:relative}.platform-trend-bar>span{color:var(--text-secondary);margin-bottom:5px;font-size:10px}.platform-trend-bar-fill{background:linear-gradient(180deg,var(--accent),var(--primary));border-radius:4px 4px 0 0;width:min(34px,72%);min-height:6px;display:block;box-shadow:0 5px 14px #4666d629}.platform-trend-bar>small{color:var(--text-muted);font-size:9px;position:absolute;bottom:-19px}.platform-rank-list{padding:0 16px}.platform-rank-item{border-bottom:1px solid var(--border-light);grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;display:grid}.platform-rank-item:last-child{border-bottom:0}.platform-rank-item>i{background:var(--border-light);width:22px;height:22px;color:var(--text-muted);border-radius:50%;place-items:center;font-size:11px;font-style:normal;font-weight:700;display:grid}.platform-rank-item:nth-child(-n+3)>i{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff}.platform-rank-item>div>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.platform-rank-item b{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.platform-rank-item span{color:var(--text-muted);font-size:10px}.platform-rank-progress{background:var(--border-light);border-radius:999px;height:6px;margin-top:8px;overflow:hidden}.platform-rank-progress>span{border-radius:inherit;background:linear-gradient(90deg,var(--primary),var(--accent));height:100%;display:block}.platform-order-detail{flex-direction:column;gap:16px;display:flex}.platform-order-detail section{border:1px solid var(--border-color);background:var(--panel-2);border-radius:8px;padding:12px 14px}.platform-order-detail h3{color:var(--text-primary);margin:0 0 8px;font-size:13px}.platform-order-detail p{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:flex-start;gap:16px;margin:0;padding:7px 0;font-size:11px;display:flex}.platform-order-detail p:last-child{border-bottom:0}.platform-order-detail p span{color:var(--text-muted)}.platform-order-detail p b{max-width:68%;color:var(--text-regular);text-align:right;overflow-wrap:anywhere;font-weight:600}.merchant-detail-tags{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.merchant-detail-tags em{background:var(--primary-light);color:var(--primary-hover);border-radius:999px;padding:3px 8px;font-size:10px;font-style:normal;font-weight:600}.platform-ai-config-shell{padding:0;overflow:hidden}.platform-ai-config-shell .platform-tabs{background:var(--panel-2);margin:0;padding:0 16px}.platform-ai-config-body{padding:16px}.platform-ai-config-body>.xg-card{box-shadow:none}.proto-filter select:disabled{cursor:not-allowed;opacity:.62}@media (width<=760px){.platform-dashboard-visuals{grid-template-columns:1fr}.platform-trend-bars{gap:5px}.platform-rank-item>div>div:first-child{flex-direction:column;align-items:flex-start;gap:2px}}.platform-account-actions,.xg-table-actions{flex-wrap:wrap;gap:6px;display:flex}.platform-role-picker{border:1px solid var(--border-color);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:10px 12px;display:grid}.platform-role-picker legend{color:var(--text-secondary);padding:0 5px;font-size:11px}.platform-role-picker label{flex-direction:row;align-items:center}.platform-role-picker small,.platform-role-picker p{color:var(--text-muted);grid-column:1/-1;margin:0;font-size:10px}.platform-permission-tree{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.platform-permission-tree section{border:1px solid var(--border-color);background:var(--panel-2);border-radius:8px;padding:10px}.platform-permission-tree h3,.platform-scope-editor h3{color:var(--text-primary);margin:0 0 8px;font-size:12px}.platform-permission-tree label{flex-direction:row;align-items:flex-start;padding:5px 0}.platform-permission-tree label>span{min-width:0}.platform-permission-tree b,.platform-permission-tree small{display:block}.platform-permission-tree b{color:var(--text-regular);font-size:11px;font-weight:600}.platform-permission-tree small{color:var(--text-muted);font-size:9px}.platform-scope-editor{border:1px solid var(--border-color);border-radius:8px;padding:10px 12px}.platform-scope-editor label{grid-template-columns:minmax(100px,1fr) minmax(150px,1fr);align-items:center;display:grid}.platform-scope-editor select{width:100%}@media (width<=700px){.platform-role-picker,.platform-permission-tree{grid-template-columns:1fr}}.platform-permission-tree details details{flex-wrap:wrap;align-items:center;gap:2px 18px;display:flex}.platform-permission-tree details details>summary{flex:0 0 100%;width:100%}.platform-permission-tree details details label{align-items:center;gap:6px;width:120px;padding:6px 4px;flex-direction:row!important;margin-left:0!important;display:inline-flex!important}.platform-permission-tree details details label input{flex:0 0 16px;width:16px;height:16px;margin:0}.platform-permission-tree details details label span{white-space:nowrap;align-items:center;line-height:16px;display:inline-flex}.platform-permission-tree{grid-template-columns:1fr;max-height:420px;display:block;overflow-y:auto}.platform-account-actions .xg-btn,.xg-table-actions .xg-btn{color:#1f2937;box-shadow:none;background:#f7f7f8;border:1px solid #dedfe3}.platform-account-actions .xg-btn:hover,.xg-table-actions .xg-btn:hover{color:#111827;filter:none;box-shadow:none;background:#f1f2f4;border-color:#c9cbd1}.platform-form-help{color:var(--text-muted);margin:0;font-size:10px;font-weight:400;line-height:16px;display:block}.platform-permission-tree details{margin:6px 0}.platform-permission-tree summary{cursor:pointer;color:var(--text-primary);padding:5px 0;font-size:12px;font-weight:600}.platform-permission-tree details details{padding-left:12px}.platform-permission-tree details details summary{font-size:11px}.platform-permission-tree label{gap:6px;padding:4px 0;display:flex}.platform-permission-tree{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;max-height:420px;padding:8px;overflow:auto}.platform-permission-tree>details>summary{background:var(--panel-2);color:var(--primary-hover);padding:8px 10px}.platform-permission-tree details details summary{padding-left:10px}.platform-permission-tree details details label{margin-left:18px;padding:6px 10px}.platform-permission-tree details details label:has(input:checked){background:var(--primary-light);color:var(--primary-hover)}.platform-badge[data-status=warning]{color:#b47a2a;background:#e0a44f24}.platform-badge[data-status=risk]{color:#dc2626;background:#dc26261a}.platform-attention .attention-groups{flex-direction:column;gap:14px;display:flex}.attention-group h3{color:var(--text-primary);align-items:center;gap:8px;margin:0 0 8px;font-size:13px;font-weight:600;display:flex}.attention-group ul{margin:0;padding:0;list-style:none}.attention-group li{border:1px solid var(--border-light);border-radius:var(--radius-md);background:var(--bg-card);align-items:center;gap:10px;margin-bottom:6px;padding:8px 12px;display:flex}.attention-group li:last-child{margin-bottom:0}.attention-group li>button[type=button]:first-child{text-align:left;min-width:0;color:var(--primary-hover);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:1;padding:0;font-size:12px;overflow:hidden}.attention-group li>button[type=button]:first-child:hover{text-decoration:underline}.attention-dismiss{border:1px solid var(--border-color);color:var(--text-secondary);border-radius:var(--radius-sm);cursor:pointer;background:0 0;flex-shrink:0;padding:3px 10px;font-size:12px;transition:border-color .15s,color .15s}.attention-dismiss:hover{border-color:var(--primary);color:var(--primary-hover)}.platform-badge[data-status=blue]{color:#3e7cb1;background:#3e7cb11f}.platform-badge[data-status=teal]{color:#2b8c87;background:#2b8c871f}.attention-group .attention-hint{color:var(--text-muted);margin:-4px 0 8px;font-size:11px}.roles-perm-picker{width:max-content;position:relative}.roles-perm-trigger{border:1px dashed var(--primary);background:var(--bg-card);min-height:30px;color:var(--primary-hover);border-radius:6px;padding:7px 12px;font-size:12px;transition:border-color .15s,background-color .15s,color .15s}.roles-perm-trigger:hover{border-color:var(--primary-hover);background:var(--primary-light)}.roles-perm-panel{z-index:3;border:1px solid var(--border-color);background:var(--bg-card);width:300px;box-shadow:var(--shadow-md);border-radius:8px;flex-direction:column;display:flex;position:absolute;top:calc(100% + 5px);left:0}.roles-perm-groups{max-height:300px;padding:8px 10px;overflow-y:auto}.roles-perm-group+.roles-perm-group{border-top:1px solid var(--border-light);margin-top:6px;padding-top:6px}.roles-perm-group-title{color:var(--text-primary);margin-bottom:4px;font-size:12px;font-weight:600}.roles-perm-resource-title{color:var(--text-muted);margin:4px 0 2px;font-size:11px}.roles-perm-groups label{color:var(--text-secondary);cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:4px 8px;font-size:12px;display:flex}.roles-perm-groups label:hover{background:var(--primary-light);color:var(--primary-hover)}.roles-perm-groups label input{width:15px;accent-color:var(--primary);flex:0 0 15px}.roles-perm-foot{border-top:1px solid var(--border-color);background:var(--panel-2);border-radius:0 0 8px 8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.roles-perm-foot .xg-muted{font-size:11px}.roles-perm-foot .xg-btn{height:26px;min-height:26px;padding:0 10px;font-size:11px}
