:root{--bg:#f5f7fa;--surface:#ffffff;--surface-soft:#f9fafb;--text:#17202a;--muted:#657386;--border:#d9e0ea;--border-strong:#c6d0dd;--blue:#1f6feb;--blue-dark:#174ea6;--green:#0f8b6f;--green-soft:#e8f6f0;--amber:#b25f00;--amber-soft:#fff5df;--red:#ba2d2d;--red-soft:#fff0f0;--shadow:0 8px 24px rgba(23,32,42,0.08);--line:var(--border);--line-strong:var(--border-strong);--ink:var(--text);--accent:var(--blue);--primary:var(--blue);--danger:var(--red);--orange:var(--amber);--task-accent:var(--blue)}*{box-sizing:border-box}html{min-width:320px}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Arial,Microsoft YaHei,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}h1,h2,h3,p{margin:0}.loading-screen{min-height:100vh;display:grid;place-items:center;gap:12px;color:var(--muted);background:var(--bg)}.spinner{width:28px;height:28px;border:3px solid var(--border);border-top-color:var(--blue);border-radius:999px;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,520px);background:var(--surface)}.login-visual{display:flex;align-items:center;padding:72px;background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(255,255,255,.42)),linear-gradient(135deg,#eef4ff,#f5f7fa 48%,#edf8f3);border-right:1px solid var(--border)}.login-visual-inner{max-width:620px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:var(--text);color:#ffffff;font-size:13px;font-weight:800;letter-spacing:0}.brand-mark.large{width:58px;height:58px;margin-bottom:26px;font-size:18px}.login-visual h1{font-size:40px;line-height:1.18;letter-spacing:0}.login-visual p{margin-top:18px;max-width:520px;color:var(--muted);font-size:16px;line-height:1.8}.login-flow{margin-top:34px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.login-flow span{min-height:48px;display:grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.72);color:var(--text);font-size:13px;font-weight:700}.login-panel{display:flex;align-items:center;justify-content:center;padding:42px}.login-card{width:100%;max-width:420px}.login-card-head{margin-bottom:24px}.login-card h2{font-size:26px;letter-spacing:0}.api-chip{max-width:100%;margin-top:12px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;padding:7px 9px;color:var(--muted);font-size:12px;word-break:break-all}form label{display:grid;gap:8px;color:var(--text);font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text);padding:11px 12px;font-size:14px;outline:none}textarea{resize:vertical;line-height:1.7}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,111,235,.12)}.login-card form{display:grid;gap:16px}.demo-account{margin-top:22px;border-top:1px solid var(--border);padding-top:18px;display:grid;gap:6px;color:var(--muted);font-size:13px}.demo-account strong{color:var(--text)}.danger-button,.filter-button,.icon-button,.icon-text-button,.primary-button,.secondary-button{min-height:38px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;padding:9px 13px;font-size:14px;font-weight:700;line-height:1;white-space:nowrap}.primary-button{background:var(--text);color:#ffffff}.primary-button:hover{background:#26313d}.danger-button,.filter-button,.icon-text-button,.secondary-button{background:var(--surface);color:var(--text);border-color:var(--border-strong)}.filter-button:hover,.icon-text-button:hover,.secondary-button:hover{border-color:var(--blue);color:var(--blue-dark)}.danger-button{color:var(--red);border-color:rgba(186,45,45,.28)}.danger-button:hover{background:var(--red-soft);border-color:rgba(186,45,45,.48);color:var(--red)}.full{width:100%}.form-error,.form-success,.form-warning{border-radius:8px;padding:11px 12px;font-size:13px;line-height:1.55}.form-error{background:var(--red-soft);border:1px solid rgba(186,45,45,.28);color:var(--red)}.form-success{background:var(--green-soft);border:1px solid rgba(15,139,111,.24);color:#09664f}.form-warning{border:1px solid rgba(178,95,0,.28);background:var(--amber-soft);color:#8a4b00}.form-success a{display:inline-flex;align-items:center;gap:5px;margin-left:10px;color:#064f3d;font-weight:800}.app-shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--surface);padding:20px 14px}.brand{display:flex;align-items:center;gap:12px;padding:6px 8px 18px}.brand small,.brand strong{display:block}.brand small{margin-top:3px;color:var(--muted);font-size:12px}.side-nav{display:grid;gap:5px;margin-top:6px}.side-link{min-height:42px;display:flex;align-items:center;gap:10px;border-radius:8px;padding:10px 11px;color:#405064;font-size:14px;font-weight:700}.side-link.active{background:#eef4ff;color:var(--blue-dark)}.side-link.disabled{color:#9aa6b6;cursor:default}.sidebar-footer{margin-top:auto;display:grid;gap:12px}.tenant-mini{border:1px solid var(--border);border-radius:8px;padding:11px;display:grid;gap:4px;background:var(--surface-soft)}.tenant-mini span{font-size:13px;font-weight:800}.tenant-mini small{color:var(--muted)}.main-area{min-width:0;display:grid;grid-template-rows:58px minmax(0,1fr)}.topbar{position:sticky;top:0;z-index:10;height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:0 26px}.topbar span,.topbar strong{display:block}.topbar span{color:var(--muted);font-size:12px}.topbar-actions{display:flex;gap:8px;padding:7px 10px;color:var(--muted);font-size:13px}.install-button,.ios-install-hint,.topbar-actions{align-items:center;border:1px solid var(--border);border-radius:8px}.install-button,.ios-install-hint{min-height:30px;display:inline-flex;gap:6px;background:var(--surface);color:var(--text);padding:6px 9px;font-size:12px;font-weight:800}.install-button:hover{border-color:var(--blue);color:var(--blue-dark)}.ios-install-hint button{width:22px;height:22px;display:inline-grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:0}.connection-dot{width:8px;height:8px;border-radius:999px;background:var(--green)}.connection-dot.degraded{background:var(--orange)}.content{min-width:0;padding:26px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}.ops-grid{grid-template-columns:minmax(0,1fr) 360px}.admin-grid,.ops-grid{display:grid;gap:20px;align-items:start}.admin-grid{grid-template-columns:minmax(0,1fr) 420px}.admin-side,.ops-main,.ops-side,.page-column,.workbench-main{min-width:0;display:grid;gap:20px;align-content:start}.admin-grid>*,.dashboard-grid>*,.ops-grid>*,.page-column>*,.workbench-main>*{min-width:0;max-width:100%}.page-head,.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.page-head>div,.result-toolbar>div,.section-head>div{min-width:0}.page-head h1{font-size:26px;line-height:1.24}.page-head p,.section-head p{margin-top:7px;color:var(--muted);line-height:1.65;font-size:14px}.delivery-panel h2,.feedback-panel h2,.image-result-panel h2,.logs-panel h2,.rail-card h2,.section-head h2{font-size:17px;line-height:1.3}.section-head.tight{margin-bottom:14px}.feedback-row,.form-actions,.page-actions,.toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0;width:100%}.summary-grid div{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:15px;min-width:0}.summary-grid span{color:var(--muted);font-size:12px}.summary-grid strong{display:block;margin-top:8px;font-size:24px}.dashboard-summary-links>a{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:2px 8px;min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:14px}.dashboard-summary-links>a:hover{border-color:#9bbbe5;background:#f6f9fd}.dashboard-summary-links svg{grid-row:span 2;color:#57718e}.dashboard-summary-links span{color:var(--muted);font-size:12px}.dashboard-summary-links strong{margin:0;font-size:22px}.execution-panel{display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.execution-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.execution-card{display:grid;gap:7px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:13px;min-width:0}.execution-card span{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.execution-card strong{font-size:22px;line-height:1.15}.execution-card small{color:var(--muted);font-size:12px;line-height:1.45}.execution-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px}.execution-detail{display:grid;gap:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:13px;min-width:0}.execution-detail h3{font-size:14px}.execution-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.execution-detail dl div{display:grid;gap:3px}.execution-detail dt,.execution-detail p{color:var(--muted);font-size:12px;line-height:1.5}.execution-detail dd{font-size:13px;overflow-wrap:anywhere}.routing-panel{display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.routing-list{display:grid;gap:10px}.routing-row{display:grid;grid-template-columns:minmax(0,1fr) auto 180px;gap:12px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px;min-width:0}.routing-row>div{display:grid;gap:4px;min-width:0}.routing-row strong{font-size:14px}.routing-row small,.routing-row span{color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.routing-row select{min-width:0;width:100%}.admin-task-panel{display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.admin-task-list{display:grid;gap:9px}.admin-task-row{display:grid;grid-template-columns:minmax(180px,1.3fr) 110px minmax(140px,.9fr) minmax(130px,.8fr) 100px;gap:12px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:11px 12px;min-width:0}.admin-task-row>div:first-child{display:grid;gap:4px;min-width:0}.admin-task-row small,.admin-task-row span,.admin-task-row strong{min-width:0;overflow-wrap:anywhere}.admin-task-row small,.admin-task-row span{color:var(--muted);font-size:12px}.admin-task-status{justify-self:start;border:1px solid var(--border);border-radius:999px;background:var(--surface);padding:4px 8px}.ops-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ops-status-card{min-width:0;display:grid;gap:7px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:15px}.ops-status-card small,.ops-status-card span{color:var(--muted);font-size:12px}.ops-status-card strong{font-size:24px;line-height:1.15}.ops-status-card.good{border-color:rgba(15,139,111,.22);background:var(--green-soft)}.ops-status-card.active,.ops-status-card.warning{border-color:rgba(178,95,0,.24);background:var(--amber-soft)}.ops-status-card.danger{border-color:rgba(186,45,45,.24);background:var(--red-soft)}.admin-list-panel{display:grid;gap:14px}.tenant-list{display:grid;gap:10px}.tenant-row{width:100%;min-width:0;display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,auto) minmax(260px,auto);align-items:center;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);padding:13px;text-align:left}.tenant-row.active,.tenant-row:hover{border-color:var(--blue);background:#eef4ff}.tenant-row-main{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px}.tenant-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:#ffffff;font-weight:800}.tenant-row small,.tenant-row strong{display:block;min-width:0;overflow-wrap:anywhere}.tenant-row small{margin-top:4px;color:var(--muted);font-size:12px}.admin-meta-strip,.tenant-badges,.tenant-stats{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.admin-meta-strip span,.tenant-badges span,.tenant-stats span{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);padding:4px 8px;font-size:12px;white-space:nowrap}.tenant-badges span:first-child{color:#09664f;border-color:rgba(15,139,111,.24);background:var(--green-soft)}.admin-form{display:grid;gap:14px}.form-grid.compact{gap:12px}.feature-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.checkbox-field.compact{align-self:stretch;font-size:13px}.admin-meta-strip{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:10px}.admin-control-stack,.admin-overview-grid,.admin-workspace,.customer-config-stack{display:grid;gap:18px}.admin-page-head{align-items:center}.admin-command-center{display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.admin-simple-head{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);padding:4px 0 18px}.admin-simple-head h1{font-size:28px;line-height:1.2}.admin-simple-head p{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.55}.admin-command-main,.customer-management-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}.admin-command-main h1{font-size:28px;line-height:1.2}.admin-command-main p,.customer-management-toolbar p{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.55}.admin-command-actions{justify-content:flex-end}.admin-command-actions,.admin-status-pills{display:flex;flex-wrap:wrap;gap:8px}.admin-filter-tabs{justify-content:flex-start}.admin-status-chip{min-height:30px;display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:5px 10px;font-size:12px;font-weight:800}button.admin-status-chip{cursor:pointer}button.admin-status-chip:hover{border-color:var(--blue);color:var(--blue-dark)}.admin-status-chip.good{border-color:rgba(15,139,111,.24);background:var(--green-soft);color:#09664f}.admin-status-chip.warning{border-color:rgba(178,95,0,.24);background:var(--amber-soft);color:var(--amber)}.admin-status-chip.danger{border-color:rgba(186,45,45,.24);background:var(--red-soft);color:var(--red)}.admin-tabs{display:grid;grid-template-columns:repeat(6,minmax(112px,1fr));gap:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:6px;overflow-x:auto}.admin-tab-button{min-width:0;display:flex;justify-content:center;gap:7px;align-items:center;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);padding:9px 10px;text-align:center;white-space:nowrap}.admin-tab-button svg{flex:0 0 auto}.admin-tab-button span{color:var(--text);font-weight:800;font-size:14px}.admin-tab-button small{display:none}.admin-tab-button.active,.admin-tab-button:hover{border-color:var(--blue);background:#eef4ff;color:var(--blue-dark)}.admin-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-metric-card{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:13px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}button.admin-metric-card{width:100%;color:inherit;text-align:left;cursor:pointer}.admin-health-item.clickable:hover,.admin-metric-card.clickable:hover{border-color:rgba(31,111,235,.45);box-shadow:0 10px 24px rgba(31,111,235,.09);transform:translateY(-1px)}.admin-health-item.clickable:focus-visible,.admin-metric-card.clickable:focus-visible,button.admin-status-chip:focus-visible{outline:3px solid rgba(31,111,235,.18);outline-offset:2px}.admin-metric-card .admin-icon-box{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:#eef4ff;color:var(--blue-dark)}.admin-metric-card.green .admin-icon-box{background:var(--green-soft);color:#09664f}.admin-metric-card.amber .admin-icon-box{background:var(--amber-soft);color:var(--amber)}.admin-metric-card.red .admin-icon-box{background:var(--red-soft);color:var(--red)}.admin-metric-card small,.admin-metric-card span{color:var(--muted);font-size:12px}.admin-metric-card strong{display:block;margin:4px 0;color:var(--text);font-size:26px;line-height:1.05}.admin-health-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:14px}.admin-health-item{min-width:0;display:grid;grid-template-columns:10px 34px minmax(0,1fr);align-items:center;gap:10px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;padding:8px;text-align:left}.admin-health-item.clickable{cursor:pointer}.admin-health-item svg{color:var(--blue-dark)}.admin-health-item small,.admin-health-item strong{display:block;min-width:0;overflow-wrap:anywhere}.admin-health-item strong{font-size:14px}.admin-health-item small{margin-top:3px;color:var(--muted);font-size:12px}.health-dot{width:8px;height:8px;border-radius:999px;background:var(--muted)}.health-dot.good{background:var(--green)}.health-dot.warning{background:var(--amber)}.admin-panel{min-width:0;display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.admin-panel.compact{align-content:start}.admin-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}.admin-panel-head h2{font-size:17px;line-height:1.3}.admin-panel-head p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.55}.admin-overview-grid{grid-template-columns:1fr}.admin-overview-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;align-items:start}.admin-work-queue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-work-card{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);padding:13px;text-align:left}.admin-work-card:hover{border-color:var(--blue);background:#eef4ff}.admin-work-card .admin-icon-box{width:40px;height:40px}.admin-work-card small,.admin-work-card span,.admin-work-card strong{display:block;min-width:0;overflow-wrap:anywhere}.admin-work-card strong{font-size:24px;line-height:1}.admin-work-card span{margin-top:3px;font-size:13px;font-weight:800}.admin-work-card small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.admin-work-card.good .admin-icon-box{background:var(--green-soft);color:#09664f}.admin-work-card.warning .admin-icon-box{background:var(--amber-soft);color:var(--amber)}.admin-work-card.danger .admin-icon-box{background:var(--red-soft);color:var(--red)}.admin-recent-list,.customer-row-list,.focus-customer-list{display:grid;gap:9px}.admin-recent-row{min-width:0;width:100%;display:grid;grid-template-columns:minmax(220px,1fr) 90px minmax(150px,.65fr) 88px;align-items:center;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:inherit;padding:11px 12px;text-align:left;cursor:pointer}.admin-recent-row:hover{border-color:rgba(31,111,235,.35);background:#f4f8ff}.admin-recent-row.acknowledged{background:#f7fbf9}.admin-drawer-backdrop{position:fixed;inset:0;z-index:80;display:flex;justify-content:flex-end;background:rgba(15,23,42,.32)}.admin-job-drawer{width:min(720px,100vw);height:100vh;overflow-y:auto;display:grid;align-content:start;gap:14px;background:var(--surface);border-left:1px solid var(--border);padding:18px;box-shadow:-18px 0 42px rgba(15,23,42,.16)}.admin-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.admin-drawer-head h2{margin-top:6px;font-size:22px;line-height:1.25}.admin-drawer-head p{margin-top:5px;color:var(--muted);font-size:13px}.admin-job-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-job-summary-grid .admin-metric-card{padding:12px}.admin-job-summary-grid .admin-metric-card strong{font-size:19px}.admin-job-alert{display:grid;gap:6px;border:1px solid rgba(186,45,45,.24);border-radius:8px;background:var(--red-soft);color:var(--red);padding:12px}.admin-job-alert p,.admin-job-alert small{color:inherit;line-height:1.6}.admin-job-alert.warning{border-color:rgba(178,95,0,.28);background:var(--amber-soft);color:#8a5200}.admin-drawer-actions{display:flex;flex-wrap:wrap;gap:8px}.admin-detail-section,.admin-json-block{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px}.admin-detail-section h3,.admin-json-block summary{color:var(--text);font-size:15px;font-weight:850}.admin-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.admin-detail-hint{margin-top:7px;color:var(--muted);font-size:12px;line-height:1.6}.admin-image-slot-list,.admin-reference-evidence-list{display:grid;gap:8px;margin-top:10px}.admin-image-slot,.admin-reference-evidence{min-width:0;display:grid;gap:4px;border:1px solid var(--border);border-radius:6px;background:var(--surface);padding:10px}.admin-image-slot.missing{border-color:rgba(178,95,0,.24);background:var(--amber-soft)}.admin-image-slot small,.admin-reference-evidence small{color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.admin-reference-evidence{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px}.admin-reference-evidence>div{min-width:0;display:grid;gap:3px}.admin-reference-evidence>small{grid-column:1/-1}.admin-detail-list div{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:10px}.admin-detail-list dt{color:var(--muted);font-size:12px;font-weight:800}.admin-detail-list dd{margin-top:5px;color:var(--text);font-size:13px;font-weight:750}.admin-job-log-list{display:grid;gap:8px;margin-top:10px}.admin-job-log{display:grid;gap:4px;border-left:3px solid var(--blue);border-radius:8px;background:var(--surface);padding:9px 10px}.admin-job-log.error{border-left-color:var(--red)}.admin-job-log.warn,.admin-job-log.warning{border-left-color:var(--amber)}.admin-job-log span{color:var(--muted);font-size:12px}.admin-job-log strong{font-size:13px;line-height:1.5}.admin-json-block summary{cursor:pointer}.admin-json-block pre{max-height:360px;margin-top:10px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:#0f172a;color:#e5e7eb;padding:12px;font-size:12px;line-height:1.5;white-space:pre-wrap}.analytics-toolbar{display:grid;grid-template-columns:minmax(260px,auto) minmax(260px,360px);align-items:end;gap:12px}.analytics-toolbar label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:800}.analytics-table{display:grid;gap:8px;overflow-x:auto}.analytics-table-head,.analytics-table-row{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(5,minmax(84px,.5fr));align-items:center;gap:10px;min-width:780px}.analytics-table.account .analytics-table-head,.analytics-table.account .analytics-table-row{grid-template-columns:minmax(220px,1.25fr) minmax(160px,.85fr) repeat(6,minmax(84px,.5fr));min-width:1000px}.analytics-table-head{color:var(--muted);padding:0 12px;font-size:12px;font-weight:800}.analytics-table-row{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:11px 12px}.analytics-table-row small,.analytics-table-row strong{display:block;min-width:0;overflow-wrap:anywhere}.analytics-table-row small{margin-top:3px;color:var(--muted);font-size:12px}.analytics-table-row>span{font-size:13px;font-weight:800}.danger-text{color:var(--red)}.warning-text{color:var(--amber)!important}.image-storage-note{display:flex;align-items:flex-start;gap:10px;border:1px solid rgba(31,111,235,.15);border-radius:8px;background:#f4f8ff;color:var(--muted);padding:12px;font-size:13px;line-height:1.6}.image-storage-note strong{flex:none;color:var(--blue-dark)}.image-storage-table{display:grid;gap:8px;overflow-x:auto}.image-storage-head,.image-storage-row{min-width:920px;display:grid;grid-template-columns:minmax(220px,1.2fr) 90px 80px 110px 90px 90px 88px;align-items:center;gap:12px}.image-storage-head{color:var(--muted);font-size:12px;font-weight:850;padding:0 12px}.image-storage-row{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:10px 12px}.image-storage-row small,.image-storage-row strong{display:block;min-width:0;overflow-wrap:anywhere}.image-storage-row small{margin-top:4px;color:var(--muted);font-size:12px}.image-storage-row>span{color:var(--muted);font-size:13px;font-weight:800}.admin-recent-row small,.admin-recent-row strong,.customer-row small,.customer-row strong,.focus-customer-row small,.focus-customer-row strong{display:block;min-width:0;overflow-wrap:anywhere}.admin-recent-row small,.customer-row small,.focus-customer-row small{margin-top:3px;color:var(--muted);font-size:12px}.status-pill{justify-self:start;display:inline-flex;align-items:center;justify-content:center;min-height:28px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);padding:4px 9px;font-size:12px;font-weight:700;white-space:nowrap}.status-pill.good{border-color:rgba(15,139,111,.24);background:var(--green-soft);color:#09664f}.status-pill.active{border-color:rgba(31,111,235,.24);background:#eef4ff;color:var(--blue-dark)}.status-pill.danger{border-color:rgba(186,45,45,.24);background:var(--red-soft);color:var(--red)}.status-pill.warning{color:#8a5200;background:var(--amber-soft);border-color:rgba(178,95,0,.28)}.customer-row,.focus-customer-row{width:100%;min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);padding:12px;text-align:left}.customer-row.active,.customer-row:hover,.focus-customer-row:hover{border-color:var(--blue);background:#eef4ff}.customer-management-grid{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:18px;align-items:start}.customer-management-shell{display:grid;gap:16px}.customer-management-toolbar{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.customer-management-toolbar h2{font-size:20px;line-height:1.3}.customer-list-panel{position:sticky;top:82px;max-height:calc(100vh - 110px);overflow:auto}.admin-search{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:0 10px}.admin-search svg{color:var(--muted)}.admin-search input{border:0;background:transparent;padding:11px 0;outline:none}.admin-editor-grid,.quota-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-field-block{display:grid;gap:10px}.admin-field-block>strong{font-size:14px}.segmented-control{display:inline-grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:5px}.route-mode-group button,.segmented-control button{border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);padding:9px 10px;font-weight:800}.route-mode-group button.active,.segmented-control button.active{border-color:var(--blue);background:#ffffff;color:var(--blue-dark);box-shadow:0 8px 18px rgba(15,23,42,.06)}.admin-switch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.input-with-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.input-with-action .secondary-button{min-height:42px}.admin-copy-textarea{width:100%;min-height:210px;resize:vertical;background:#ffffff;padding:12px;color:var(--text);line-height:1.7}.ability-toggle,.admin-copy-textarea{border:1px solid var(--border);border-radius:8px}.ability-toggle{min-width:0;display:flex;align-items:center;gap:8px;background:var(--surface-soft);color:var(--muted);padding:10px;text-align:left}.ability-toggle span{min-width:0;color:var(--text);font-size:13px;font-weight:800;overflow-wrap:anywhere}.ability-toggle svg{flex:0 0 auto;color:var(--muted)}.ability-toggle.active{border-color:rgba(31,111,235,.35);background:#eef4ff}.ability-toggle.active svg{color:var(--blue-dark)}.execution-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.execution-control-grid .admin-metric-card strong{font-size:22px;overflow-wrap:anywhere}.admin-runtime-alerts{display:grid;gap:10px;border-top:1px solid var(--border);padding-top:14px}.admin-runtime-alerts-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-runtime-alerts-head>div{display:grid;gap:3px}.admin-runtime-alerts-head strong{color:var(--text);font-size:14px}.admin-runtime-alert small,.admin-runtime-alerts-head small{color:var(--muted);font-size:12px;line-height:1.45}.admin-runtime-alert-list{display:grid;gap:8px}.admin-runtime-alert{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(211,145,31,.28);border-radius:8px;background:#fffaf0;color:var(--text);padding:11px 12px;text-align:left}.admin-runtime-alert.critical{border-color:rgba(211,69,69,.24);background:#fff6f5}.admin-runtime-alert>span:nth-child(2){min-width:0;display:grid;gap:3px}.admin-runtime-alert>span:last-child{color:var(--blue-dark);font-size:12px;font-weight:800;white-space:nowrap}.admin-runtime-alert-empty{display:flex;align-items:center;gap:8px;border:1px solid rgba(15,139,111,.2);border-radius:8px;background:var(--green-soft);color:#09664f;padding:12px;font-size:13px;font-weight:750}.admin-runtime-alert-empty.pending{border-color:var(--border);background:var(--surface-soft);color:var(--muted)}.runtime-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.runtime-control-card{min-width:0;display:grid;align-content:start;gap:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:13px}.runtime-control-card.wide{grid-column:span 2}.runtime-control-card span,.runtime-control-card strong{color:var(--text);font-size:14px;font-weight:850}.runtime-control-card small{color:var(--muted);font-size:12px;line-height:1.5}.runtime-control-card input{width:100%;border:1px solid var(--border);border-radius:8px;background:#ffffff;padding:10px 11px;color:var(--text);font-weight:800}.route-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.route-card{min-width:0;display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:13px}.route-card small,.route-card strong{display:block;min-width:0;overflow-wrap:anywhere}.route-card small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}.route-mode-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border:1px solid var(--border);border-radius:8px;background:#ffffff;padding:5px}.audit-log-list{display:grid;gap:10px}.audit-log-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(150px,auto);gap:12px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px}.audit-log-row small,.audit-log-row strong{display:block;min-width:0;overflow-wrap:anywhere}.audit-log-meta small,.audit-log-row small{color:var(--muted)}.audit-log-meta{display:grid;gap:4px;justify-items:end;color:var(--text);font-size:13px;font-weight:800}.template-workbench{gap:16px;background:var(--surface);padding:18px}.template-admin-control,.template-workbench{display:grid;border:1px solid var(--border);border-radius:8px}.template-admin-control{gap:12px;background:#ffffff;padding:14px}.template-control-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.template-control-head h3{margin:0;font-size:18px}.template-control-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.template-control-head label{display:grid;gap:6px;min-width:min(320px,100%);color:var(--muted);font-size:12px;font-weight:800}.template-pack-strip{display:flex;flex-wrap:wrap}.template-pack-strip span{border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:6px 10px;font-size:12px;font-weight:800}.template-binding-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.template-binding-card{display:grid;gap:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px}.template-binding-card.active{border-color:var(--blue);background:#eef4ff}.binding-title{display:flex;justify-content:space-between;gap:8px;padding:0;text-align:left}.binding-title span,.binding-title strong,.template-binding-card p{min-width:0;overflow-wrap:anywhere}.binding-title span{color:var(--blue);font-size:12px;font-weight:900}.template-binding-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.template-binding-actions{display:flex;gap:8px;flex-wrap:wrap}.template-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.template-switcher{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.template-tab-card{min-height:74px;align-content:start;padding:10px 12px}.prompt-list,.template-list,.template-main{min-width:0;display:grid;gap:10px}.prompt-item,.template-card{width:100%;min-width:0;display:grid;gap:5px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);padding:12px;text-align:left}.prompt-item.active,.prompt-item:hover,.template-card.active,.template-card:hover{border-color:var(--blue);background:#eef4ff}.prompt-item small,.prompt-item span,.prompt-item strong,.template-card small,.template-card span,.template-card strong{min-width:0;overflow-wrap:anywhere}.prompt-item small,.prompt-item span,.template-card small,.template-card span{color:var(--muted);font-size:12px;line-height:1.45}.template-main{gap:14px}.template-editor-band{display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:14px}.template-summary-band{background:linear-gradient(180deg,#ffffff,#f8fafc)}.template-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.template-title-row h3{margin-top:4px;font-size:17px;line-height:1.35}.template-title-row p{max-width:680px;margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.template-code{display:inline-flex;width:fit-content;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);padding:4px 8px;font-size:12px;font-weight:800}.template-version-strip{display:flex;flex-wrap:wrap;gap:8px}.template-version-strip span{display:inline-flex;align-items:center;min-height:28px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);padding:4px 10px;font-size:12px;font-weight:800}.template-business-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:12px}.template-toggle-row{border:1px dashed rgba(31,111,235,.25);border-radius:8px;background:#f8fbff;padding:10px 12px}.inline-toggle span,.template-toggle-row span{color:var(--muted);font-size:12px;line-height:1.45}.inline-toggle{width:fit-content;justify-self:end}.template-advanced-panel{display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:14px}.template-technical-strip{display:flex;flex-wrap:wrap;gap:8px}.template-technical-strip span{display:inline-flex;min-height:28px;align-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:4px 10px;font-size:12px;font-weight:800}.template-advanced-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:14px;align-items:start}.template-advanced-grid>div{min-width:0;display:grid;gap:10px}.template-rule-stats{display:flex;flex-wrap:wrap;gap:8px}.prompt-category-pill,.template-rule-stats span{display:inline-flex;width:fit-content;align-items:center;min-height:26px;border:1px solid rgba(31,111,235,.18);border-radius:999px;background:#eef4ff;color:#1d4ed8;padding:3px 9px;font-size:12px;font-weight:800}.template-node-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.template-node-grid.compact{grid-template-columns:1fr;max-height:440px;overflow:auto}.template-node{min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.template-node>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:var(--text);color:#ffffff;font-size:12px;font-weight:800}.template-node input,.template-node label,.template-node small{grid-column:2;min-width:0}.template-node small{color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.prompt-editor-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start}.prompt-editor-grid.business{grid-template-columns:320px minmax(0,1fr)}.prompt-editor-grid.business.single,.prompt-editor-grid.single{grid-template-columns:minmax(0,1fr)}.prompt-stage-tabs{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:9px}.prompt-stage-tab{min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:10px;text-align:left;cursor:pointer}.prompt-stage-tab.active,.prompt-stage-tab:hover{border-color:var(--blue);background:#eef4ff}.prompt-stage-tab>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:var(--text);color:#ffffff;font-size:12px;font-weight:850}.prompt-stage-tab small,.prompt-stage-tab strong{min-width:0;overflow-wrap:anywhere}.prompt-stage-tab strong{font-size:14px;line-height:1.35}.prompt-stage-tab small{color:var(--muted);font-size:12px}.prompt-list{max-height:620px;overflow:auto}.template-revision-list{display:grid;gap:10px}.template-revision-list.compact{max-height:440px;overflow:auto}.template-revision-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.template-revision-row.active{border-color:rgba(15,118,110,.28);background:#f0fdfa}.template-revision-row div{min-width:0;display:grid;gap:4px}.template-revision-row small,.template-revision-row strong{min-width:0;overflow-wrap:anywhere}.template-revision-row strong{font-size:14px}.template-revision-row small{color:var(--muted);font-size:12px;line-height:1.45}.prompt-textarea{min-width:0;display:grid;gap:12px}.rule-editor-help{display:grid;gap:4px;border:1px solid rgba(15,118,110,.18);border-radius:8px;background:#f0fdfa;color:#115e59;padding:10px 12px}.rule-editor-help span,.rule-editor-help strong{min-width:0;overflow-wrap:anywhere}.rule-editor-help span{color:#476b66;font-size:12px;line-height:1.55}.editable-panel-head.compact{align-items:center}.editable-panel-head.compact h4{margin:0;color:var(--text);font-size:14px}.variable-insert-panel{min-width:0;display:grid;gap:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.variable-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:10px}.variable-group{min-width:0;display:grid;gap:8px}.variable-group>strong{color:var(--text);font-size:13px}.variable-group>div{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(126px,100%),1fr));gap:7px}.variable-token-button{min-width:0;width:100%;display:inline-grid;gap:2px;border:1px solid rgba(31,111,235,.16);border-radius:8px;background:#f8fbff;color:var(--text);padding:7px 9px;text-align:left;cursor:pointer}.variable-token-button:hover{border-color:var(--blue);background:#eef4ff}.variable-token-button span{font-size:12px;font-weight:800}.variable-token-button code{color:var(--muted);font-family:Consolas,Microsoft YaHei,monospace;font-size:11px;overflow-wrap:anywhere}.prompt-textarea textarea,.template-editor-band textarea,.template-test-grid textarea{font-family:Consolas,Microsoft YaHei,monospace;font-size:13px;line-height:1.65}.template-test-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px}.template-test-grid.business{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr)}.template-test-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.template-test-scope{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:1px solid rgba(31,111,235,.14);border-radius:8px;background:#f8fbff;padding:12px}.template-test-scope label{min-width:0}.template-test-fields>label:first-of-type,.template-test-fields>label:nth-of-type(2),.template-test-fields>label:nth-of-type(3),.template-test-fields>label:nth-of-type(4){grid-column:span 2}.template-real-context-card,.template-test-result{min-width:0;display:grid;gap:10px}.template-real-context-card{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.template-real-context-card>div:first-child{display:grid;gap:3px}.template-real-context-card span{color:var(--muted);font-size:12px;font-weight:800}.template-real-context-grid{display:flex;flex-wrap:wrap;gap:7px}.template-real-context-grid span{display:inline-flex;align-items:center;min-height:26px;border:1px solid rgba(15,118,110,.16);border-radius:999px;background:#f0fdfa;color:#115e59;padding:3px 9px}.template-real-context-card p{max-height:96px;overflow:auto;margin:0;color:#405064;font-size:12px;line-height:1.6;white-space:pre-wrap}.template-test-result strong{font-size:15px;line-height:1.45;overflow-wrap:anywhere}.template-test-result pre{max-height:320px;overflow:auto;margin:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:#405064;padding:12px;font-family:Consolas,Microsoft YaHei,monospace;font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.stage-result-card{display:grid;gap:12px;border:1px solid rgba(31,111,235,.16);border-radius:8px;background:#f7fbff;padding:13px}.delivery-result-card{display:grid;gap:12px;border:1px solid rgba(15,118,110,.18);border-radius:8px;background:#f7fffb;padding:13px}.delivery-result-card section{min-width:0;display:grid;gap:7px;border:1px solid rgba(15,118,110,.12);border-radius:8px;background:#ffffff;padding:11px}.delivery-result-card section>span{color:#115e59;font-size:12px;font-weight:850}.delivery-result-card li,.delivery-result-card p{margin:0;color:var(--text);font-size:13px;line-height:1.75;white-space:pre-wrap}.delivery-result-card ol{display:grid;gap:7px;margin:0;padding-left:20px}.raw-result-details{border:1px solid var(--border);border-radius:8px;background:#fbfcfd;overflow:hidden}.raw-result-details summary{cursor:pointer;padding:10px 12px;color:var(--muted);font-size:13px;font-weight:850}.raw-result-details pre{border-width:1px 0 0;border-radius:0}.stage-result-visual{display:grid;gap:10px}.stage-result-visual section{min-width:0;display:grid;gap:7px;border:1px solid var(--border);border-radius:8px;background:#ffffff;padding:11px}.stage-result-visual span{color:var(--muted);font-size:12px;font-weight:850}.stage-result-visual li,.stage-result-visual p{color:var(--text);font-size:13px;line-height:1.7}.stage-result-visual ol{display:grid;gap:6px;margin:0;padding-left:20px}.runtime-prompt-preview{display:grid;gap:9px;border:1px solid var(--border);border-radius:8px;background:#fbfcfd;padding:12px}.runtime-prompt-preview details{border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}.runtime-prompt-preview summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:10px 12px;font-size:13px;font-weight:800}.runtime-prompt-preview summary code{color:var(--muted);font-size:12px}.runtime-prompt-preview pre{max-height:260px;border-width:1px 0 0;border-radius:0}.template-test-history{display:grid;gap:10px;border:1px solid var(--border);border-radius:8px;background:#fbfcfd;padding:12px}.template-test-history-list{display:grid;gap:9px}.template-test-history-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:11px}.template-test-history-row>div{min-width:0;display:grid;gap:5px}.template-test-history-row small,.template-test-history-row strong{min-width:0;overflow-wrap:anywhere}.template-test-history-row strong{color:var(--text);font-size:13px}.template-test-history-row small{color:var(--muted);font-size:12px;line-height:1.45}.template-test-history-meta{display:flex;flex-wrap:wrap;gap:6px}.template-test-history-meta span{display:inline-flex;align-items:center;min-height:24px;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:#405064;padding:3px 8px;font-size:12px}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}.task-card,.task-grid{display:grid;min-width:0}.task-card{min-height:132px;position:relative;grid-template-columns:40px minmax(0,1fr) 26px;align-items:flex-start;gap:13px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:18px;box-shadow:0 1px 0 rgba(23,32,42,.03)}.task-card:hover{border-color:var(--accent);box-shadow:var(--shadow)}.task-card-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:color-mix(in srgb,var(--accent) 12%,white);color:var(--accent)}.task-card h3{font-size:17px;line-height:1.35}.task-card p{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.65}.task-card-action{color:var(--muted);margin-top:6px}.dashboard-create-section{display:grid;gap:10px}.compact-task-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.compact-task-grid .task-card{grid-template-columns:34px minmax(0,1fr);min-height:104px;gap:10px;padding:13px}.compact-task-grid .task-card-icon{width:32px;height:32px}.compact-task-grid .task-card h3{font-size:14px}.compact-task-grid .task-card p{margin-top:5px;font-size:11px;line-height:1.5}.compact-task-grid .task-card-action{display:none}.config-editor,.config-list,.feedback-panel,.logs-panel,.panel-section,.rail-card,.task-form,.worker-panel{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:18px}.ops-action-panel{display:grid;gap:16px}.ops-action-list{display:grid;gap:10px}.ops-action-list article{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:13px}.ops-action-list article>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:var(--text);color:#ffffff;font-size:13px;font-weight:800}.ops-action-list code,.ops-action-list p,.ops-action-list strong{min-width:0;overflow-wrap:anywhere}.ops-action-list p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.6}.ops-action-list code{display:block;margin-top:9px;background:var(--surface);padding:9px}.ops-action-list code,.ops-health-card pre{border:1px solid var(--border);border-radius:8px;color:#405064;font-family:Consolas,Microsoft YaHei,monospace;font-size:12px;line-height:1.55}.ops-health-card pre{margin:0;background:var(--surface-soft);padding:12px;white-space:pre-wrap;word-break:break-word}.ops-health-card p,.ops-issues-card p{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.55}.ops-issue-list{display:grid;gap:8px}.ops-issue-list a,.ops-issue-row{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:10px}.ops-issue-list small,.ops-issue-list strong{display:block;overflow-wrap:anywhere}.ops-issue-list strong{font-size:13px}.ops-issue-list small{margin-top:3px;color:var(--muted);font-size:12px}.issue-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eef4ff;color:var(--blue-dark)}.issue-icon.danger{background:var(--red-soft);color:var(--red)}.issue-icon.active{background:var(--amber-soft);color:var(--amber)}.rail-card{display:grid;gap:14px;position:sticky;top:84px}.table-wrap{overflow-x:auto}.jobs-table{width:100%;min-width:860px;border-collapse:collapse;margin-top:14px}.jobs-table.compact{min-width:640px}.worker-panel{display:grid;gap:14px}.worker-panel.compact{padding:16px}.worker-item,.worker-list{display:grid;gap:10px}.worker-item{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px;min-width:0}.capability-row,.worker-item-head,.worker-meta-row{display:flex;align-items:center;gap:8px;min-width:0}.worker-item-head{justify-content:space-between;align-items:flex-start}.worker-item-head>div{min-width:0;display:grid;gap:3px}.worker-item strong{overflow-wrap:anywhere;font-size:14px}.worker-item-head span,.worker-meta-row span{color:var(--muted);font-size:12px}.worker-meta-row{flex-wrap:wrap}.worker-meta-row span,.worker-state{display:inline-flex;align-items:center;gap:5px}.worker-state{border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);padding:4px 8px;font-size:12px;white-space:nowrap}.worker-state-online{color:#09664f;border-color:rgba(15,139,111,.24);background:var(--green-soft)}.worker-state-recent{color:var(--blue-dark);border-color:rgba(31,111,235,.24);background:#eef4ff}.worker-state-stale{color:var(--amber);border-color:rgba(178,95,0,.28);background:var(--amber-soft)}.capability-row{flex-wrap:wrap}.capability-row span{border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);padding:3px 7px;font-size:12px}.worker-job-types{display:grid;gap:5px;border-top:1px solid var(--border);padding-top:10px}.worker-job-types strong{color:var(--text);font-size:12px}.worker-job-types span{color:var(--muted);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.program-status-list{display:grid;gap:8px}.program-status-row{display:grid;grid-template-columns:minmax(110px,1fr) auto;gap:4px 8px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:8px 9px;min-width:0}.program-status-row small,.program-status-row span,.program-status-row strong{min-width:0;overflow-wrap:anywhere}.program-status-row span{font-size:12px;color:var(--text)}.program-status-row strong{justify-self:end;color:#09664f;font-size:12px}.program-status-row small{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.5}.jobs-table td,.jobs-table th{border-bottom:1px solid var(--border);padding:12px 10px;text-align:left;vertical-align:middle;font-size:13px}.jobs-table th{color:var(--muted);font-size:12px;font-weight:800}.job-title{display:grid;gap:3px}.job-title span,.status{color:var(--muted);font-size:12px}.status{display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--border);padding:4px 9px;background:var(--surface-soft);white-space:nowrap}.status-pending{color:var(--amber);border-color:rgba(178,95,0,.28);background:var(--amber-soft)}.status-running{color:var(--blue-dark);border-color:rgba(31,111,235,.24);background:#eef4ff}.status-completed{color:#09664f;border-color:rgba(15,139,111,.24);background:var(--green-soft)}.status-failed{color:var(--red);border-color:rgba(186,45,45,.24);background:var(--red-soft)}.status-partial{color:#8a4b00;border-color:rgba(178,95,0,.28);background:var(--amber-soft)}.progress-cell{display:grid;grid-template-columns:minmax(80px,1fr) 36px;align-items:center;gap:8px}.progress-track{height:7px;border-radius:999px;background:#e8edf5;overflow:hidden}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--blue)}.progress-cell small{color:var(--muted)}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.empty-state,.result-empty{min-height:148px;display:grid;place-items:center;gap:8px;border:1px dashed var(--border-strong);border-radius:8px;background:var(--surface-soft);color:var(--muted);text-align:center;padding:22px}.job-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.job-card{position:relative;display:flex;gap:12px;padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.job-card-thumb{flex:0 0 auto;width:104px;height:104px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dfe6ef);display:flex;align-items:center;justify-content:center}.job-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}.job-card-thumb-empty{display:flex;flex-direction:column;align-items:center;gap:5px;color:#93a1b3}.job-card-thumb-empty em{font-style:normal;font-size:11px;text-align:center;line-height:1.3}.job-card-body{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:5px}.job-card-top{display:flex;align-items:center;gap:8px}.job-card-id{font-weight:700;font-size:13px;color:var(--muted)}.job-card-title{font-weight:650;font-size:14px;line-height:1.42;color:var(--ink);text-decoration:none;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.job-card-title:hover{color:var(--blue)}.job-card-title.fallback{color:var(--muted);font-weight:600}.job-card-tags{display:flex;gap:5px;flex-wrap:wrap}.job-tag{padding:1px 7px;border:1px solid var(--line);border-radius:5px;font-size:12px;color:var(--muted);background:var(--surface-soft)}.job-card-note{font-size:11.5px;padding:2px 6px;border-radius:4px;align-self:flex-start;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-card-note.error{color:var(--red);background:var(--red-soft)}.job-card-note.warn{color:var(--amber);background:var(--amber-soft);display:inline-flex;align-items:center;gap:4px}.job-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.job-card-progress{display:inline-flex;align-items:center;gap:6px;min-width:90px}.job-card-progress .progress-track{flex:1 1}.job-card-actions{position:absolute;right:9px;bottom:9px;display:flex;gap:5px;opacity:0;transition:opacity .12s ease}.job-card:focus-within .job-card-actions,.job-card:hover .job-card-actions{opacity:1}@media (max-width:1180px){.job-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.job-card-grid{grid-template-columns:minmax(0,1fr)}}.empty-state strong,.result-empty strong{color:var(--text)}.result-progress-panel{display:grid;gap:18px;border:1px solid var(--border);border-radius:8px;background:linear-gradient(180deg,#ffffff,#f7fbff);padding:24px}.result-progress-panel.failed{background:#fff7f7;border-color:#f2c3c3}.result-progress-panel h2{font-size:20px}.result-progress-panel p,.result-progress-panel small{color:var(--muted);line-height:1.7}.detail-progress-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}.detail-progress-row strong{color:var(--blue-dark);font-size:18px}.markdown-preview{min-height:340px;max-height:680px;overflow:auto;margin:0;border:1px solid var(--border);border-radius:8px;background:#fbfcfe;padding:18px;color:#26313d;font-family:Consolas,Microsoft YaHei,monospace;font-size:13px;line-height:1.75;white-space:pre-wrap;word-break:break-word}.filter-bar,.task-tabs{display:flex;flex-wrap:wrap;gap:9px}.record-filter-panel{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto;align-items:center;gap:10px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:10px}.record-search{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;min-height:40px;border:1px solid var(--border);border-radius:7px;color:var(--muted);padding:0 10px}.record-search input{min-height:36px;border:0;padding:0}.record-search input:focus{box-shadow:none}.record-filter-panel select{min-height:40px}.record-filter-panel .filter-bar{flex-wrap:nowrap;justify-content:flex-end;gap:5px}.record-filter-panel .filter-button{min-height:36px;white-space:nowrap;padding:7px 10px}.record-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:var(--muted);font-size:12px}.record-pagination strong{color:var(--text)}.progress-complete,.progress-failed{color:#087a5b;font-size:12px;font-weight:800}.progress-failed{color:#b42318}.job-row-actions{display:flex;align-items:center;gap:6px}.confirm-dialog-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(18,27,38,.46)}.confirm-dialog{display:grid;width:min(480px,100%);gap:18px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:20px;box-shadow:0 20px 60px rgba(18,30,44,.2)}.confirm-dialog>header{display:grid;grid-template-columns:42px minmax(0,1fr) 36px;align-items:start;gap:12px}.confirm-dialog-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:#fff0ef;color:#b42318}.confirm-dialog h2{font-size:19px}.confirm-dialog p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.confirm-dialog-target{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border);border-radius:7px;background:#f7f9fb;padding:12px}.confirm-dialog-target span{color:var(--muted);font-size:12px}.confirm-dialog>footer{display:flex;justify-content:flex-end;gap:8px}@media (max-width:1260px){.compact-task-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.record-filter-panel{grid-template-columns:minmax(240px,1fr) 180px}.record-filter-panel .filter-bar{grid-column:1/-1;justify-content:flex-start}}@media (max-width:760px){.dashboard-summary-links{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-task-grid,.record-filter-panel{grid-template-columns:1fr}.record-filter-panel .filter-bar{grid-column:auto;overflow-x:auto;justify-content:flex-start}}.filter-button.active{background:var(--text);border-color:var(--text);color:#ffffff}.task-tab{min-height:40px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:9px 12px;color:#405064;font-size:14px;font-weight:700}.task-tab.active{border-color:var(--blue);background:#eef4ff;color:var(--blue-dark)}.config-tabs{display:flex;flex-wrap:wrap;gap:9px}.config-tab{min-height:40px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:9px 12px;color:#405064;font-size:14px;font-weight:800}.config-tab.active{border-color:var(--text);background:var(--text);color:#ffffff}.config-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}.config-layout>*{min-width:0}.config-editor,.config-list,.settings-card{display:grid;gap:16px}.settings-card{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:16px}.settings-card h3{font-size:17px;line-height:1.3}.settings-card p{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.65}.retention-option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.retention-option{min-height:82px;display:grid;align-content:center;gap:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:12px;text-align:left;cursor:pointer}.retention-option:hover{border-color:rgba(31,111,235,.35);background:#f4f8ff}.retention-option.active{border-color:var(--blue);background:#eef4ff;box-shadow:0 0 0 2px rgba(31,111,235,.08)}.retention-option strong{font-size:18px;line-height:1}.retention-option span{color:var(--muted);font-size:12px;font-weight:750}.config-list{align-content:start}.list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.list-head h2{font-size:17px}.list-head span{display:block;margin-top:5px;color:var(--muted);font-size:12px}.config-items{display:grid;gap:8px}.config-item{width:100%;min-height:62px;display:grid;gap:5px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);padding:11px 12px;text-align:left}.config-item.active,.config-item:hover{border-color:var(--blue);background:#eef4ff}.config-item span,.config-item strong{min-width:0;overflow-wrap:anywhere}.config-item strong{font-size:14px}.config-item span{color:var(--muted);font-size:12px;line-height:1.45}.list-empty{min-height:84px;display:grid;place-items:center;border:1px dashed var(--border);border-radius:8px;color:var(--muted);background:var(--surface-soft);font-size:13px}.modal-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:20px;background:rgba(23,32,42,.32)}.confirm-modal{width:min(420px,100%);display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:20px;box-shadow:var(--shadow)}.confirm-modal h2{font-size:18px}.confirm-modal p{color:var(--muted);line-height:1.65;font-size:14px;overflow-wrap:anywhere}.back-link{gap:6px;font-size:13px;margin-bottom:12px}.task-form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span-2{grid-column:span 2}.checkbox-field{min-height:45px;align-self:end;display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:8px;padding:11px 12px;background:var(--surface-soft)}.checkbox-field input{width:16px;height:16px}.product-picker,.select-with-custom{min-width:0;display:grid;gap:9px}.field-note{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--muted);padding:9px 10px;font-size:12px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}.field-note.warning{border-color:rgba(178,95,0,.28);background:var(--amber-soft);color:var(--amber)}.product-config-page{gap:18px}.product-config-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;align-items:start}.product-config-grid>*{min-width:0}.product-editor,.product-list-panel{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:18px}.product-health-card{display:grid;gap:6px;border:1px solid rgba(15,139,111,.22);border-radius:8px;background:var(--green-soft);padding:12px}.product-health-card strong{font-size:14px;line-height:1.4}.product-health-card span{color:#09664f;font-size:12px;line-height:1.55}.product-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.product-row small{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(178,95,0,.24);border-radius:999px;background:var(--amber-soft);color:var(--amber);padding:4px 7px;font-size:12px;font-weight:800}.product-editor{gap:16px}.product-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.product-editor-head h2{margin-top:6px;font-size:22px;line-height:1.28}.product-editor-head p{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.65}.product-score{min-width:112px;display:grid;justify-items:center;gap:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px}.product-score strong{font-size:26px;line-height:1}.product-score span{color:var(--muted);font-size:12px}.product-section-tabs{display:flex;flex-wrap:wrap;gap:8px}.ai-search-explain,.product-ready-note{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;border:1px solid rgba(15,139,111,.22);border-radius:8px;background:var(--green-soft);color:#0b5f4b;padding:12px;font-size:13px;line-height:1.7}.product-ready-note{background:var(--surface-soft);color:var(--muted);border-color:var(--border)}.product-editor-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);padding-top:14px}.simple-product-editor{gap:18px}.simple-product-editor .form-grid{grid-template-columns:1fr}.product-image-section{display:grid;gap:12px}.persona-image-section{display:grid;gap:12px;border-top:1px solid var(--border);padding-top:16px}.persona-image-section h2{font-size:16px;line-height:1.4}.persona-image-count{color:var(--muted);font-size:12px;font-weight:700}.manual-product-images{display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:14px}.section-head.compact{align-items:center}.section-head.compact p{margin-top:4px;color:var(--muted);font-size:13px;line-height:1.55}.secondary-button.disabled{opacity:.55;cursor:not-allowed}.product-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px}.compact-image-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.product-image-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.product-image-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#f1f5f2}.product-image-card>div{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:6px;padding:8px}.product-image-card span{overflow:hidden;color:var(--muted);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.product-image-card button{width:30px;height:30px;display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted);cursor:pointer}.product-image-card button:hover{border-color:rgba(185,28,28,.35);color:var(--danger)}.product-image-card .persona-image-preview{width:100%;height:auto;display:block;overflow:hidden;border:0;border-radius:0;background:transparent;padding:0}.product-image-card .persona-image-preview:hover{border-color:transparent}.product-image-card.pending{border-style:dashed}.product-image-empty{min-height:132px;display:grid;place-items:center;align-content:center;gap:8px;border:1px dashed var(--border);border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:13px;font-weight:700}.product-light-summary{margin-right:auto;display:inline-flex;flex-wrap:wrap;gap:8px}.product-light-summary span{border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:7px 10px;font-size:12px;font-weight:800}.create-workbench{gap:18px}.create-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.create-main{min-width:0;display:grid;gap:16px}.create-plan,.create-step{display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:18px}.create-plan-head,.create-step-head{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}.create-step-head>span{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--text);color:#fff;font-weight:800}.create-plan-head h2,.create-step-head h2{font-size:17px;line-height:1.35}.create-plan-head p,.create-side-note,.create-step-head p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.6}.format-grid,.goal-grid,.library-product-grid,.source-toggle{display:grid;gap:10px}.source-toggle{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-toggle,.format-grid button,.goal-grid button,.library-product,.source-toggle button{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);padding:12px;text-align:left;font-weight:800}.format-grid button.active,.goal-grid button.active,.library-product.active,.source-toggle button.active{border-color:var(--blue);background:#eef4ff;color:var(--blue-dark)}.goal-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.topic-draw-result{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:16px;border:1px solid #b9d1f7;border-radius:8px;background:#f3f7ff}.topic-draw-result>div{display:grid;gap:5px;min-width:0}.topic-draw-result span{color:var(--muted);font-size:13px}.topic-draw-result strong{color:var(--ink);font-size:16px;overflow-wrap:anywhere}.auto-topic-workspace{display:grid;gap:14px;margin-top:14px;padding-top:16px;border-top:1px solid var(--border)}.auto-topic-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.auto-topic-head>div{display:grid;gap:4px;min-width:0}.auto-topic-head strong{font-size:15px}.auto-topic-head span,.auto-topic-loading{color:var(--muted);font-size:13px;line-height:1.55}.auto-topic-loading{display:flex;align-items:center;gap:9px;min-height:54px;padding:12px 14px;border:1px dashed #b9c9dc;border-radius:8px;background:#f7f9fc}.auto-topic-loading svg{color:var(--blue)}.auto-topic-list{display:grid;gap:8px}.auto-topic-list>button{display:grid;grid-template-columns:28px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;min-height:66px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:10px 12px;color:var(--text);text-align:left}.auto-topic-list>button:hover{border-color:#9dbce8;background:#f8fbff}.auto-topic-list>button.active{border-color:var(--blue);background:#eef4ff}.auto-topic-index{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#edf1f6;color:#526173;font-size:12px;font-weight:800}.auto-topic-list>button.active .auto-topic-index{background:var(--blue);color:#fff}.auto-topic-copy{display:grid;gap:5px;min-width:0}.auto-topic-copy>span{display:flex;align-items:center;gap:7px}.auto-topic-copy em,.auto-topic-copy small{font-size:11px;font-style:normal;font-weight:800}.auto-topic-copy em{color:#315f9f}.auto-topic-copy small{color:#087a5b}.auto-topic-copy strong{font-size:14px;line-height:1.55;overflow-wrap:anywhere}.auto-topic-list>button>svg{color:#a6b2c1;opacity:0}.auto-topic-list>button.active>svg{color:var(--blue);opacity:1}.auto-topic-edit{margin:0}.auto-topic-reason{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:0;color:var(--muted);font-size:13px;line-height:1.65}.auto-topic-reason strong{color:var(--text)}.created-job-notice{position:fixed;z-index:140;left:50%;bottom:24px;width:min(600px,calc(100% - 32px));justify-content:space-between;gap:18px;overflow:hidden;transform:translateX(-50%);border:1px solid #acd8c9;border-radius:8px;background:#fff;padding:14px 16px 17px;box-shadow:0 18px 48px rgba(16,31,45,.2)}.created-job-notice,.created-job-notice-actions,.created-job-notice-message{display:flex;align-items:center}.created-job-notice-message{min-width:0;gap:11px}.created-job-notice-message>svg{flex:0 0 auto;color:#087a5b}.created-job-notice-message>div{min-width:0;display:grid;gap:2px}.created-job-notice-message strong{color:var(--text);font-size:15px}.created-job-notice-message span{color:var(--muted);font-size:13px}.created-job-notice-actions{flex:0 0 auto;gap:8px}.created-job-notice-actions button{min-height:38px;padding:8px 12px}.created-job-notice-timer{position:absolute;right:0;bottom:0;left:0;height:3px;transform-origin:left center;background:#15936f;animation:created-job-notice-countdown 4s linear forwards}.image-action-notice.pending,.image-action-notice.running{border-color:#9ec4f3}.image-action-notice.failed{border-color:#f0b8b2}.image-action-notice.failed .created-job-notice-message>svg{color:#b42318}.image-action-notice.pending .created-job-notice-message>svg,.image-action-notice.running .created-job-notice-message>svg{color:#1769cc}.image-action-notice-progress{width:min(330px,56vw);height:5px;overflow:hidden;margin-top:5px;border-radius:999px;background:#e7edf5}.image-action-notice-progress>i{display:block;height:100%;border-radius:inherit;background:#2476db;transition:width .25s ease}@keyframes created-job-notice-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media (max-width:640px){.auto-topic-head,.topic-draw-result{align-items:stretch;flex-direction:column}.auto-topic-head button{justify-content:center}.auto-topic-reason{grid-template-columns:1fr;gap:3px}.created-job-notice{bottom:12px;width:calc(100% - 24px);align-items:stretch;flex-direction:column;gap:12px}.created-job-notice-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.created-job-notice-actions button{justify-content:center}.image-action-notice .created-job-notice-actions{display:flex;justify-content:flex-end}.image-action-notice-progress{width:100%}}@media (prefers-reduced-motion:reduce){.created-job-notice-timer{animation:none;opacity:.45}.image-action-overlay svg,.image-action-spinner,.image-action-thumb-badge svg{animation:none}}.goal-card{display:grid;gap:6px;min-height:82px}.goal-card.featured{grid-column:span 2;border-color:rgba(31,111,235,.26);background:#f5f8ff}.goal-card strong{font-size:14px;line-height:1.35}.goal-card span{color:var(--muted);font-size:12px;line-height:1.45;font-weight:600}.goal-card.active span{color:#315f9f}.goal-card.disabled,.goal-card:disabled{cursor:not-allowed;border-color:#d8e0ea;background:#f5f7fa;color:#8a96a5;opacity:.72}.goal-card.disabled span,.goal-card:disabled span{color:#8a96a5}.library-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-product{display:grid;gap:6px}.format-grid span,.library-product small,.library-product span{color:var(--muted);font-size:12px;line-height:1.45;font-weight:600}.library-product small{width:fit-content;border:1px solid rgba(178,95,0,.24);border-radius:999px;background:var(--amber-soft);color:var(--amber);padding:3px 7px;font-weight:800}.format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.length-control{display:grid;gap:7px}.length-control>strong{font-size:13px;line-height:1.35}.length-control-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.image-count-control{display:grid;gap:7px}.image-count-control>strong{font-size:13px;line-height:1.35}.image-count-control>small{color:var(--muted);font-size:12px}.image-count-range{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:end;gap:8px}.image-count-range label{display:grid;gap:5px}.image-count-range label>span,.range-separator{color:var(--muted);font-size:12px;font-weight:700}.range-separator{align-self:center;padding-top:20px;text-align:center}.checkbox-field.compact{min-height:42px;align-content:center;padding:9px 10px;white-space:nowrap}.format-grid button{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px 10px;border-color:color-mix(in srgb,var(--accent,#1f6feb) 18%,var(--border))}.format-grid button svg{color:var(--accent,#1f6feb)}.format-grid button span,.format-grid button strong{grid-column:2}.create-empty{grid-column:1/-1;display:grid;gap:8px;border:1px dashed var(--border);border-radius:8px;background:var(--surface-soft);color:var(--muted);padding:14px;font-size:13px;line-height:1.6}.create-empty a{color:var(--blue-dark);font-weight:800}.advanced-step{padding:0}.advanced-toggle{display:grid;grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;background:var(--surface)}.advanced-toggle .open{transform:rotate(90deg)}.advanced-step .form-grid{padding:0 18px 18px}.create-side{position:sticky;top:76px;min-width:0}.create-plan dl{display:grid;gap:10px;margin:0}.create-plan dl div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:start}.create-plan dt{color:var(--muted);font-size:12px;font-weight:800}.create-plan dd{margin:0;color:var(--text);font-size:13px;line-height:1.55;overflow-wrap:anywhere}.plan-context{display:grid;gap:7px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px}.plan-context strong{font-size:13px}.plan-context span{color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.simplified-create .format-grid.compact{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.simplified-create .format-grid.compact button{min-height:122px}.simplified-create select{width:100%;min-height:40px}.compact-plan .create-plan-head p{margin:2px 0 0}.compact-plan dl{margin-top:14px}.option-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fbfcfe}.option-check-grid>strong{grid-column:1/-1;font-size:14px}.detail-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px}.detail-main,.detail-side{min-width:0;display:grid;gap:16px;align-content:start}.delivery-result-page{display:grid;gap:14px}.delivery-status-strip{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--muted);font-size:13px}.delivery-status-strip>span:not(.status,.status-success,.status-warning,.status-danger){border:1px solid var(--border);border-radius:999px;background:var(--surface);padding:6px 10px}.input-list,.meta-list{display:grid;gap:12px;margin:0}.input-list div,.meta-list div{display:grid;gap:4px}.input-list dt,.meta-list dt{color:var(--muted);font-size:12px;font-weight:800}.input-list dd,.meta-list dd{margin:0;line-height:1.55;word-break:break-word}.result-toolbar{gap:16px}.delivery-hero-head,.result-toolbar{display:flex;justify-content:space-between;align-items:flex-start}.delivery-hero-head{gap:18px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:16px}.delivery-hero-head span{display:block;margin-bottom:5px;color:var(--muted);font-size:12px;font-weight:800}.delivery-hero-head h2{max-width:760px;font-size:clamp(20px,2.4vw,28px);line-height:1.35}.delivery-hero-head p{max-width:720px;margin-top:8px}.result-toolbar h2{font-size:18px}.delivery-panel p,.feedback-panel p,.image-result-panel p,.logs-panel p,.result-toolbar p{margin-top:6px;color:var(--muted);font-size:13px}.delivery-panel{display:grid;gap:14px}.editable-text-delivery{gap:12px}.result-text-editor{width:100%;min-height:520px;resize:vertical;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);padding:18px;font:inherit;font-size:15px;line-height:1.85;white-space:pre-wrap}.result-text-editor:focus{outline:2px solid rgba(31,111,235,.18);border-color:rgba(31,111,235,.45)}.article-preview,.delivery-note,.geo-answer-card,.xhs-card{border:1px solid var(--border);border-radius:8px;background:var(--surface)}.article-preview{padding:28px clamp(18px,4vw,46px);color:#202a35}.article-preview h1{max-width:760px;margin:0 auto 24px;text-align:center;font-size:26px;line-height:1.35}.article-preview h2{max-width:760px;margin:26px auto 10px;font-size:18px;line-height:1.45}.article-preview p{max-width:760px;margin:0 auto 13px;color:#202a35;font-size:15px;line-height:1.9;white-space:pre-wrap}.article-inline-image{max-width:760px;margin:22px auto;text-align:center}.article-inline-image img{width:min(100%,620px);max-height:560px;border-radius:8px;object-fit:contain;background:var(--surface-soft)}.article-inline-image figcaption{margin-top:8px;color:var(--muted);font-size:12px}.delivery-side-grid,.geo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.delivery-note{display:grid;gap:10px;padding:15px;background:var(--surface-soft)}.delivery-note h3,.geo-answer-card h3,.xhs-card h3{font-size:15px;line-height:1.45}.delivery-note ul{margin:0;padding-left:18px;color:#405064;font-size:13px;line-height:1.75}.delivery-note dl{display:grid;gap:8px;margin:0}.delivery-note dl div{display:flex;justify-content:space-between;gap:12px}.delivery-note dt{color:var(--muted);font-size:12px}.delivery-note dd{margin:0;font-weight:800}.delivery-details-note,.delivery-support-details{border:1px solid var(--border);border-radius:8px;background:#fff}.delivery-details-note summary,.delivery-support-details summary{cursor:pointer;padding:13px 15px;color:#1d2b3f;font-size:14px;font-weight:800}.delivery-details-note ul{margin:0;padding:0 18px 16px 34px;color:#405064;font-size:13px;line-height:1.75}.delivery-support-details>.delivery-debug-grid,.delivery-support-details>.feedback-panel,.delivery-support-details>.logs-panel{border-top:1px solid var(--border)}.delivery-debug-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.compact-feedback-panel,.compact-logs-panel{border:0;border-radius:0;box-shadow:none}.xiaohongshu-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.xhs-card{overflow:hidden;background:#fff}.xhs-card img,.xhs-image-placeholder{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#eef1f5}.xhs-image-placeholder{display:grid;place-items:center;color:var(--muted);font-size:13px}.xhs-card>div{display:grid;gap:7px;padding:13px}.geo-answer-card span,.xhs-card span{color:var(--muted);font-size:12px;font-weight:800}.delivery-note p,.geo-answer-card p,.xhs-card p{margin:0;color:#405064;font-size:13px;line-height:1.75}.image-text-delivery{gap:16px}.result-first-delivery{gap:14px}.visual-copy-layout{display:grid;grid-template-columns:minmax(420px,1.15fr) minmax(320px,.85fr);gap:14px;align-items:start}.image-gallery-shell{display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:14px}.primary-image-panel{min-width:0}.editable-panel-head,.image-current-meta,.image-gallery-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.compact-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.editable-panel h3,.image-gallery-head h3{font-size:15px;line-height:1.45}.image-main-stage{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:10px;align-items:center;min-height:430px}.gallery-nav-button{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);cursor:pointer}.gallery-nav-button:disabled{cursor:not-allowed;opacity:.42}.image-open-button{position:relative;display:grid;place-items:center;width:100%;min-height:430px;border:0;border-radius:8px;background:#f4f6f8;cursor:zoom-in;overflow:hidden}.image-open-button img{width:100%;max-height:620px;object-fit:contain}.image-open-button>span{position:absolute;right:12px;bottom:12px;display:inline-flex;gap:6px;align-items:center;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;padding:7px 10px;font-size:12px;font-weight:700}.image-thumb-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px}.image-thumb{position:relative;flex:0 0 94px;display:grid;gap:6px;border:1px solid transparent;border-radius:8px;background:transparent;padding:6px;color:var(--muted);cursor:pointer;text-align:left}.image-thumb.active{border-color:var(--accent,#1f6feb);background:var(--surface-soft);color:var(--text)}.image-thumb img{width:82px;height:82px;border-radius:6px;object-fit:cover;background:var(--surface-soft)}.image-thumb span{font-size:12px;line-height:1.3}.image-action-overlay{position:absolute;z-index:3;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:rgba(16,28,40,.76);color:#fff;cursor:wait;pointer-events:none}.image-action-overlay svg,.image-action-spinner,.image-action-thumb-badge svg{animation:spin .9s linear infinite}.image-action-overlay strong{font-size:15px}.image-action-overlay span{position:static;display:block;border-radius:0;background:transparent;padding:0;color:rgba(255,255,255,.82);font-size:13px;font-weight:700}.image-action-overlay>div{width:min(220px,58%);height:5px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.26)}.image-action-overlay>div>i{display:block;height:100%;border-radius:inherit;background:#fff;transition:width .25s ease}.image-action-thumb-badge{position:absolute;top:11px;right:10px;display:inline-flex;align-items:center;gap:4px;border-radius:5px;background:rgba(16,28,40,.86);padding:4px 6px;color:#fff;font-size:11px;font-weight:800}.image-current-meta{border-top:1px solid var(--border);padding-top:12px}.image-current-meta strong{display:block;font-size:14px;line-height:1.5}.image-current-meta p{max-width:680px;margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.image-empty-state{display:grid;min-height:180px;place-items:center;border:1px dashed var(--border);border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:13px}.image-missing-panel{min-height:360px;gap:10px;text-align:center}.image-missing-panel strong{color:var(--text);font-size:16px}.image-missing-panel span{max-width:340px}.copy-delivery-panel{display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:14px}.copy-block{display:grid;gap:10px}.title-choice-list{display:grid;gap:8px}.title-choice{display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;align-items:start;width:100%;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:10px;text-align:left;font-size:14px;line-height:1.5;cursor:pointer}.title-choice.active{border-color:rgba(31,111,235,.52);background:#f2f7ff}.title-choice span{display:grid;width:24px;height:24px;place-items:center;border-radius:999px;background:#e8eef8;color:#25415f;font-size:12px;font-weight:800}.social-copy-preview{display:grid;gap:10px;max-height:420px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:#fbfcfd;padding:12px}.social-copy-preview article{display:grid;gap:6px;border-bottom:1px solid rgba(146,164,183,.22);padding-bottom:10px}.social-copy-preview article:last-child{border-bottom:0;padding-bottom:0}.social-copy-preview strong{font-size:14px;line-height:1.45}.social-copy-preview p{margin:0;color:#253448;font-size:14px;line-height:1.75;white-space:pre-wrap}.delivery-tag-list{display:flex;flex-wrap:wrap;gap:8px}.delivery-tag-list span{border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:#31435a;padding:6px 9px;font-size:13px;line-height:1.3}.copy-edit-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.delivery-edit-panel{background:#fbfcfd}.editable-delivery-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px}.editable-panel{display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:14px}.page-copy-editor-list,.title-editor-list{display:grid;gap:10px}.title-editor{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:center;border:1px solid var(--border);border-radius:8px;background:#fff;padding:8px 10px}.title-editor.active{border-color:var(--accent,#1f6feb);background:#f5f8ff}.title-editor input[type=radio]{width:16px;height:16px}.editable-panel textarea,.image-action-dialog textarea,.page-copy-editor input,.title-editor input:not([type]),.title-editor input[type=text]{width:100%;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font:inherit;line-height:1.55}.page-copy-editor input,.title-editor input:not([type]),.title-editor input[type=text]{min-height:38px;padding:0 10px}.editable-panel textarea,.image-action-dialog textarea{min-height:94px;padding:10px;resize:vertical}.page-copy-editor{display:grid;grid-template-columns:76px minmax(0,.8fr) minmax(0,1.6fr);gap:10px;align-items:start;border-top:1px solid var(--border);padding-top:10px}.page-copy-editor:first-child{border-top:0;padding-top:0}.page-copy-editor span{min-height:38px;display:inline-flex;align-items:center;color:var(--muted);font-size:12px;font-weight:800}.image-action-modal,.image-lightbox{position:fixed;inset:0;z-index:60;display:grid;place-items:center;background:rgba(10,16,24,.72);padding:24px}.image-action-dialog,.image-lightbox-inner{position:relative;display:grid;gap:12px;width:min(100%,860px);max-height:calc(100vh - 48px);overflow:auto;border-radius:8px;background:#fff;padding:14px}.image-lightbox-inner .icon-button{position:absolute;top:10px;right:10px;background:rgba(255,255,255,.92)}.image-lightbox-inner img{width:100%;max-height:calc(100vh - 140px);object-fit:contain;background:var(--surface-soft)}.image-lightbox-inner p{margin:0;color:var(--muted);font-size:13px}.image-action-dialog{width:min(100%,560px)}.image-action-dialog img{width:100%;max-height:260px;border-radius:8px;object-fit:contain;background:var(--surface-soft)}.image-action-dialog label{display:grid;gap:7px;font-size:13px;font-weight:800;color:var(--text)}.geo-answer-card{display:grid;gap:9px;padding:18px;background:#fbfcfe}.faq-list{display:grid;gap:10px}.faq-list article{display:grid;gap:5px;border-top:1px solid var(--border);padding-top:10px}.faq-list article:first-child{border-top:0;padding-top:0}.faq-list strong{font-size:13px;line-height:1.5}.tag-list{display:flex;flex-wrap:wrap;gap:7px}.tag-list span{border:1px solid var(--border);border-radius:999px;background:var(--surface);color:#405064;padding:5px 9px;font-size:12px}.feedback-panel,.image-result-panel,.logs-panel{display:grid;gap:14px}.image-delivery-warning{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.image-delivery-warning>div{display:grid;gap:2px}.image-delivery-warning span,.image-delivery-warning strong{min-width:0;overflow-wrap:anywhere}.image-delivery-warning span{font-size:12px}.missing-image-slots{display:grid;gap:8px}.missing-image-slots article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px dashed rgba(178,95,0,.36);border-radius:8px;background:#fffaf2;padding:10px}.missing-image-slot-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:var(--amber-soft);color:#a65a00}.missing-image-slots article>div:nth-child(2){display:grid;min-width:0;gap:2px}.missing-image-slots article span{overflow:hidden;color:#7d6549;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.missing-images-complete-all{justify-self:end}.image-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.image-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.image-meta div{border:1px solid var(--border);border-radius:8px;padding:10px;background:var(--surface-soft)}.image-meta dt{color:var(--muted);font-size:12px}.image-meta dd{margin:4px 0 0;font-weight:700;word-break:break-word}.image-prompt{margin:0;white-space:pre-wrap;word-break:break-word;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px;color:var(--text);font-size:13px;line-height:1.55}.generated-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.generated-images figure{margin:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff}.generated-images img,.image-placeholder{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:var(--surface-soft)}.image-placeholder{display:grid;place-items:center;color:var(--muted);font-size:13px}.generated-images figcaption{padding:9px 10px;color:var(--muted);font-size:12px;line-height:1.45}.image-url{display:block;margin:0 10px 10px;padding:8px;border-radius:6px;background:var(--surface-soft);color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}.image-actions{display:flex;gap:8px;padding:0 10px 14px;flex-wrap:wrap}.image-actions .secondary-button{min-height:34px;padding:0 10px;font-size:12px}.feedback-row{align-items:stretch}.feedback-row select{max-width:190px}.feedback-row input{min-width:240px;flex:1 1}.logs-panel ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}.logs-panel li{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;border:1px solid rgba(146,164,183,.28);border-radius:8px;background:linear-gradient(135deg,#ffffff,#f7faf8);box-shadow:0 8px 22px rgba(28,48,71,.06);padding:12px;font-size:13px}.logs-panel li.log-row-error{background:linear-gradient(135deg,#fffafa,#fff5f3);border-color:rgba(186,45,45,.24)}.logs-panel li.log-empty{display:block;color:var(--muted);border:1px dashed var(--border);border-radius:8px;background:var(--surface-soft);padding:12px;text-align:center}.logs-panel li>span{color:var(--muted)}.logs-panel li div{display:grid;gap:4px;min-width:0}.logs-panel li strong{color:#162232;font-size:14px}.logs-panel li p{margin:0;color:#526073;line-height:1.55}.logs-panel li small{color:var(--muted)}.logs-panel li pre{max-height:160px;overflow:auto;margin:4px 0 0;border:1px solid var(--border);border-radius:8px;padding:10px;color:#405064;line-height:1.55;white-space:pre-wrap;word-break:break-word}.log-level,.logs-panel li pre{background:var(--surface-soft);font-size:12px}.log-level{width:fit-content;height:fit-content;border:1px solid var(--border);border-radius:999px;padding:3px 7px}.log-level-error{color:var(--red);border-color:rgba(186,45,45,.24);background:var(--red-soft)}.log-step-badge{width:fit-content;height:fit-content;border:1px solid rgba(22,34,50,.12);border-radius:999px;padding:4px 8px;background:#162232;color:#fff;font-size:12px;font-weight:700}.log-step-badge.error{color:var(--red);border-color:rgba(186,45,45,.24);background:var(--red-soft)}@media (max-width:1280px){.admin-grid,.admin-overview-columns,.admin-overview-grid,.customer-management-grid,.dashboard-grid,.ops-grid{grid-template-columns:1fr}.customer-list-panel,.rail-card{position:static;max-height:none}.prompt-editor-grid.business{grid-template-columns:1fr}.prompt-list{max-height:320px}.analytics-toolbar{grid-template-columns:1fr}.template-control-head{display:grid}.template-binding-grid{grid-template-columns:1fr}}@media (max-width:1100px){.app-shell{grid-template-columns:82px minmax(0,1fr)}.brand span:not(.brand-mark),.side-link:not(.disabled){justify-content:center}.brand>span:last-child,.side-link span,.side-link.disabled{font-size:0}.side-link{justify-content:center}.sidebar-footer{display:none}.admin-grid,.admin-health-strip,.admin-metric-grid,.admin-overview-columns,.admin-tabs,.admin-work-queue,.config-layout,.create-layout,.delivery-debug-grid,.detail-grid,.execution-control-grid,.ops-grid,.product-config-grid,.prompt-editor-grid,.prompt-editor-grid.business,.route-card-grid,.runtime-control-grid,.template-business-grid,.template-layout,.template-test-grid,.template-test-grid.business,.variable-group-grid,.visual-copy-layout{grid-template-columns:1fr}.runtime-control-card.wide{grid-column:auto}.prompt-list{max-height:260px}.template-test-fields,.template-test-scope{grid-template-columns:1fr}.template-test-fields>label:first-of-type,.template-test-fields>label:nth-of-type(2),.template-test-fields>label:nth-of-type(3),.template-test-fields>label:nth-of-type(4){grid-column:auto}.template-revision-row{grid-template-columns:1fr}}@media (max-width:760px){body{padding-bottom:env(safe-area-inset-bottom)}.login-screen{grid-template-columns:1fr}.login-visual{padding:34px 22px;border-right:0;border-bottom:1px solid var(--border)}.login-visual h1{font-size:30px}.login-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.login-panel{padding:26px 20px}.app-shell{display:block}.sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:30;height:auto;border-top:1px solid var(--border);border-right:0;border-bottom:0;padding:7px 10px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(23,32,42,.08)}.brand{display:none}.side-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:4px;margin-top:0}.side-link{min-width:0;min-height:48px;display:grid;justify-items:center;gap:4px;padding:7px 4px;line-height:1.1}.side-link,.side-link span{font-size:11px}.main-area{display:block}.topbar{position:static;height:auto;align-items:stretch;padding:14px 16px;display:grid;grid-template-columns:1fr}.topbar-actions{justify-content:space-between}.install-button,.ios-install-hint{max-width:100%}.content{padding:16px 16px 88px}.app-shell:has(.task-detail-page){display:flex;min-height:100vh;flex-direction:column}.app-shell:has(.task-detail-page) .main-area{order:1}.app-shell:has(.task-detail-page) .sidebar{position:static;order:2;box-shadow:none}.app-shell:has(.task-detail-page) .content{padding-bottom:16px}.admin-command-main,.create-side,.customer-management-toolbar,.delivery-hero-head,.editable-panel-head,.image-current-meta,.image-gallery-head,.image-result-head,.page-head,.product-editor-head,.result-toolbar,.section-head,.template-title-row{display:grid}.admin-editor-grid,.admin-overview-columns,.admin-recent-row,.admin-switch-grid,.admin-tabs,.admin-task-row,.admin-work-queue,.delivery-side-grid,.editable-delivery-grid,.execution-detail-grid,.execution-overview,.feature-toggle-grid,.form-grid,.format-grid,.generated-images,.geo-grid,.goal-grid,.image-meta,.library-product-grid,.ops-status-grid,.option-check-grid,.product-config-grid,.quota-grid,.route-mode-group,.routing-row,.simplified-create .format-grid.compact,.source-toggle,.summary-grid,.task-grid,.template-node-grid,.template-test-history-row,.xiaohongshu-preview{grid-template-columns:1fr}.goal-card.featured{grid-column:auto}.length-control-row{grid-template-columns:1fr}.image-count-range{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}.image-main-stage{grid-template-columns:36px minmax(0,1fr) 36px;min-height:260px}.gallery-nav-button{width:36px;height:36px}.image-open-button{min-height:260px}.copy-delivery-panel,.delivery-hero-head,.image-gallery-shell{padding:12px}.delivery-hero-head h2{font-size:20px}.delivery-status-strip{gap:6px}.compact-actions,.copy-edit-actions,.toolbar-actions{justify-content:stretch}.compact-actions>*,.copy-edit-actions>*,.toolbar-actions>*{width:100%;justify-content:center}.social-copy-preview{max-height:none}.image-current-meta .image-actions{padding:0}.page-copy-editor{grid-template-columns:1fr}.admin-health-strip,.admin-metric-card,.admin-panel,.admin-recent-row,.admin-task-row,.customer-management-grid,.execution-card,.execution-detail,.execution-detail-grid,.execution-overview,.ops-status-grid,.ops-status-grid>div,.page-column>*,.page-head,.route-card,.routing-row,.summary-grid,.summary-grid>div,.task-card,.task-grid,.workbench-main>*{width:100%;max-width:100%}.page-head p,.task-card h3,.task-card p{overflow-wrap:anywhere}.span-2{grid-column:span 1}.task-card{grid-template-columns:38px minmax(0,1fr)}.create-side{position:static}.create-plan dl div{grid-template-columns:1fr}.task-card-action{display:none}.feedback-row{display:grid}.ops-action-list article{grid-template-columns:30px minmax(0,1fr)}.tenant-row{grid-template-columns:1fr}.ops-action-list article .primary-button,.ops-action-list article .secondary-button{grid-column:1/-1;width:100%}.feedback-row input,.feedback-row select{max-width:none;min-width:0}.jobs-table,.jobs-table.compact{min-width:0}.jobs-table thead{display:none}.jobs-table,.jobs-table tbody,.jobs-table td,.jobs-table tr{display:block;width:100%}.jobs-table tr{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px;margin-bottom:10px}.jobs-table td{border-bottom:0;padding:6px 0}.progress-cell{grid-template-columns:minmax(0,1fr) 40px}}.template-center{display:grid;gap:16px;min-width:0}.template-feedback{position:sticky;top:68px;z-index:20;margin:0}.inspector-head,.template-center-head,.template-editor-title,.template-workspace-head,.workspace-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.template-center-head h2,.template-editor-title h3,.template-workspace-head h2,.workspace-section-head h3{margin:0}.template-center-head p,.template-editor-title p,.template-workspace-head p,.workspace-section-head p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.template-scope-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}.template-scope-tabs button{position:relative;display:grid;min-height:78px;gap:3px;border:0;border-right:1px solid var(--border);background:transparent;color:var(--text);padding:14px 46px 14px 16px;text-align:left}.template-scope-tabs button:last-child{border-right:0}.template-scope-tabs button.active{background:#eef4ff;color:#1359ba;box-shadow:inset 0 -3px 0 #1f6feb}.template-scope-tabs button span{color:var(--muted);font-size:12px}.template-scope-tabs button b{position:absolute;top:14px;right:14px;display:grid;width:26px;height:26px;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface);font-size:12px}.template-library-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.template-search{display:flex;width:min(420px,100%);align-items:center;gap:8px;border:1px solid var(--border);border-radius:6px;background:var(--surface);padding:0 12px}.template-search input{width:100%;border:0;background:transparent;padding-inline:0;outline:0}.template-library-tools>span{color:var(--muted);font-size:13px}.template-assignment-actions,.template-library-tool-actions,.template-row-actions{display:flex;align-items:center;gap:7px}.template-library-tool-actions>span{color:var(--muted);font-size:13px;white-space:nowrap}.template-library-tool-actions .active{border-color:#9bb9e5;background:#eef4ff;color:#1359ba}.template-pack-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:8px}.template-pack-strip article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;border:1px solid var(--border);border-radius:8px;background:#f8fafc;padding:10px 12px}.template-pack-strip article>div{display:grid;min-width:0;gap:3px;border:0;background:transparent;padding:0}.template-pack-strip article span{color:var(--muted);font-size:12px}.template-pack-strip article b{border-radius:999px;background:#eaf7f2;color:#087a5b;padding:4px 8px;font-size:11px}.template-assignment-list,.template-library-list,.template-version-list{display:grid;gap:8px}.template-library-row{display:grid;grid-template-columns:42px minmax(150px,1.4fr) repeat(4,minmax(100px,.75fr)) auto;min-height:76px;align-items:center;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px 14px}.template-library-row:hover{border-color:#a9bfdc;box-shadow:0 3px 12px rgba(30,53,79,.06)}.tenant-template-groups{display:grid;gap:12px}.tenant-template-group{overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.tenant-template-group>header{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--border);background:#f7f9fc;padding:12px 14px}.tenant-template-group>header>div:not(.template-library-icon),.tenant-template-option-name{display:grid;min-width:0;gap:4px}.tenant-template-group>header span,.tenant-template-option-name small{color:var(--muted);font-size:12px}.tenant-template-group>header>b{color:#42556b;font-size:12px}.tenant-template-options{display:grid}.tenant-template-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:78px;border-bottom:1px solid #e8edf3;padding:13px 14px 13px 68px}.tenant-template-option:last-child{border-bottom:0}.tenant-template-option.current{background:#f4fbf8;box-shadow:inset 3px 0 #13946f}.tenant-template-option-name>strong{font-size:15px}.tenant-template-role{width:fit-content;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#53657a;padding:3px 8px;font-size:11px;font-weight:850}.tenant-template-role.current{border-color:#9ed9c7;background:#e7f7f1;color:#087a5b}.tenant-template-role.standby{border-color:#b9c9de;background:#f2f6fb;color:#37506d}.tenant-template-role.archived{border-color:#d5dbe3;background:#f3f4f6;color:#6b7280}.tenant-template-option-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.template-library-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:7px;background:#edf4ff;color:#1f6feb}.template-library-name,.template-library-row>div:not(.template-library-icon){display:grid;min-width:0;gap:4px}.template-library-row small,.template-library-row span{color:var(--muted);font-size:12px}.template-library-row strong{min-width:0;overflow-wrap:anywhere}.status-ok{color:#087a5b}.status-warning{color:#a05a00}.status-muted{color:#748394}.icon-button.danger,.secondary-button.danger{color:#b42318}.primary-button.danger{border-color:#b42318;background:#b42318}.primary-button.compact,.secondary-button.compact{min-height:34px;padding:7px 10px}.template-workspace-head{position:sticky;top:57px;z-index:12;align-items:center;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.98);padding:12px 14px;box-shadow:0 4px 12px rgba(28,45,64,.05)}.template-workspace-context{display:flex;min-width:0;align-items:center;gap:10px;flex-wrap:wrap}.template-workspace-context h2{font-size:20px}.template-workspace-context p{margin:2px 0 0}.back-link{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--muted);padding:4px 6px 4px 0;font-weight:700}.back-link:hover{color:var(--text)}.result-status,.template-impact-badge,.template-source-badge,.template-state-badge,.version-status{display:inline-flex;min-height:26px;align-items:center;gap:5px;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:4px 9px;font-size:12px;font-weight:800}.result-status.success,.template-source-badge.industry,.template-state-badge.published,.version-status.published{border-color:#a8daca;background:#edf9f5;color:#087a5b}.template-source-badge.tenant{border-color:#c9baf8;background:#f4f1ff;color:#6544c5}.template-state-badge.draft,.version-status.draft{border-color:#efd09b;background:#fff8e8;color:#955800}.result-status.failed{border-color:#efb6b2;background:#fff0ef;color:#b42318}.template-linear-steps{display:grid;grid-template-columns:minmax(160px,1fr) 24px minmax(160px,1fr) 24px minmax(160px,1fr);align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:8px}.template-linear-steps>svg{color:#9aa8b6;justify-self:center}.template-linear-steps button{display:grid;grid-template-columns:30px minmax(0,1fr);gap:2px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text);padding:9px 10px;text-align:left}.template-linear-steps button>span{grid-row:span 2;display:grid;width:30px;height:30px;place-items:center;border-radius:6px;background:#edf1f5;font-weight:900}.template-linear-steps button small{color:var(--muted)}.template-linear-steps button.active{border-color:#abc4eb;background:#eef4ff}.template-linear-steps button.active>span{background:#1f6feb;color:#fff}.template-editor-workspace{display:grid;grid-template-columns:220px minmax(480px,1fr) minmax(260px,320px);min-height:640px;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}.template-editor-workspace.inspector-hidden{grid-template-columns:220px minmax(0,1fr)}.template-prompt-inspector,.template-stage-nav{display:grid;align-content:start;gap:8px;background:#f8fafc;padding:14px}.template-stage-nav{border-right:1px solid var(--border)}.template-stage-nav>div:first-child{display:flex;justify-content:space-between;gap:8px;margin-bottom:4px}.inspector-head span,.template-stage-nav>div:first-child span{color:var(--muted);font-size:12px}.template-stage-nav>button{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text);padding:10px;text-align:left}.template-stage-nav>button.active,.template-stage-nav>button:hover{border-color:#b4c8e3;background:#fff}.template-stage-nav>button.active{box-shadow:inset 3px 0 0 #1f6feb}.template-stage-nav button>span{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#e9eff6;color:#58728f}.template-stage-nav button div{display:grid;gap:4px}.template-stage-nav button small{color:var(--muted);line-height:1.35}.template-prompt-editor{display:grid;min-width:0;grid-template-rows:auto minmax(480px,1fr) auto;gap:12px;padding:16px}.template-editor-title>div>span{color:#1f6feb;font-size:12px;font-weight:900}.template-prompt-editor>textarea{width:100%;min-height:480px;resize:vertical;border-color:#b8c6d5;background:#fff;font-family:Microsoft YaHei UI,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.75}.template-prompt-editor>textarea:focus{border-color:#1f6feb;box-shadow:0 0 0 3px rgba(31,111,235,.12)}.template-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.template-editor-footer>span{color:var(--muted);font-size:12px}.template-editor-footer>div{display:flex;gap:8px}.template-prompt-inspector{border-left:1px solid var(--border);overflow:hidden}.template-prompt-inspector section{display:grid;gap:10px;min-width:0}.template-variable-list{display:grid;gap:12px}.template-variable-group{display:grid;gap:6px}.template-variable-group>span{color:var(--muted);font-size:11px;font-weight:700}.template-variable-list button{display:grid;gap:3px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);padding:8px 9px;text-align:left}.template-variable-list button small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.45}.template-variable-list button:hover{border-color:#1f6feb}.template-variable-list code{color:#536d88;font-size:11px}.template-runtime-preview{margin-top:8px}.template-preview-context{display:grid;gap:8px}.template-preview-context label{display:grid;gap:4px;color:var(--muted);font-size:11px;font-weight:700}.template-preview-context select{width:100%;min-width:0;height:34px;padding:5px 8px;border-radius:6px;background:#fff;color:var(--text);font-size:12px}.template-runtime-preview pre{max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--border);border-radius:6px;background:#101820;color:#e6edf3;padding:12px;font-family:Consolas,monospace;font-size:11px;line-height:1.55}.template-stage-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #cbd9e8;border-radius:6px;background:#f6f9fc}.template-stage-inputs>div{grid-column:1/-1;display:grid;gap:3px}.template-stage-inputs>div span{color:var(--muted);font-size:12px}.template-stage-inputs label:has(textarea){grid-column:1/-1}.template-test-workspace{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(480px,1.15fr);gap:14px;align-items:start}.template-test-console{display:grid;gap:14px}.template-test-context-bar{display:grid;grid-template-columns:minmax(250px,1fr) repeat(3,minmax(140px,190px)) auto;gap:12px;align-items:end;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:14px 16px}.template-test-context-title{display:grid;gap:3px;align-self:center}.template-test-context-assets,.template-test-context-bar label,.template-test-context-title>small,.template-test-context-title>span{color:var(--muted);font-size:12px}.template-test-context-title>strong{font-size:15px}.template-test-context-bar label{display:grid;gap:5px;font-weight:700}.template-test-context-bar select{min-width:0;height:40px}.template-test-context-assets{grid-column:2/5;display:flex;gap:14px}.template-test-context-assets span{display:inline-flex;gap:5px;align-items:center}.template-test-context-bar>button{grid-column:5;grid-row:1/3;align-self:center}.template-test-stage-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.template-test-stage-flow>button{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:center;min-height:72px;border:0;border-right:1px solid var(--border);background:transparent;color:var(--text);padding:11px 13px;text-align:left;cursor:pointer}.template-test-stage-flow>button:last-child{border-right:0}.template-test-stage-flow>button:hover:not(:disabled){background:#f4f8fc}.template-test-stage-flow>button.active{box-shadow:inset 0 -3px 0 var(--primary);background:#edf5ff}.template-test-stage-flow>button.completed>span{border-color:#15906b;background:#15906b;color:white}.template-test-stage-flow>button.failed>span{border-color:#c53b32;background:#fff0ef;color:#b42318}.template-test-stage-flow>button>span{display:grid;width:28px;height:28px;place-items:center;border:1px solid #9eb1c5;border-radius:50%;color:#52677d;font-size:12px;font-weight:800}.template-test-stage-flow>button>div{display:grid;gap:3px;min-width:0}.template-test-stage-flow>button small,.template-test-stage-flow>button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-test-stage-flow>button small{color:var(--muted);font-size:11px}.template-test-stage-layout{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(340px,1fr) minmax(380px,1.14fr);gap:14px;align-items:start}.template-test-history-panel,.template-test-input-panel,.template-test-output-panel,.template-test-prompt-panel{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:15px}.template-test-output-panel{min-height:560px}.template-test-panel-head{display:flex;gap:10px;align-items:center;min-height:38px;border-bottom:1px solid var(--border);padding-bottom:12px}.template-test-panel-head>span{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:6px;background:#17212b;color:white;font-weight:800}.template-test-panel-head>div{display:grid;flex:1 1;gap:2px;min-width:0}.template-test-panel-head small{color:var(--muted);font-size:11px}.template-test-panel-head>b{border-radius:999px;background:#eef3f7;color:#52677d;padding:5px 9px;font-size:11px}.template-test-panel-head>b.running{background:#edf5ff;color:#1261b7}.template-test-panel-head>b.completed{background:#e7f7f1;color:#087f5b}.template-test-panel-head>b.failed{background:#fff0ef;color:#b42318}.template-test-fields-linear{display:grid;gap:12px;margin-top:14px}.template-test-fields-linear>label,.template-test-inline-fields label{display:grid;gap:6px;color:#34485d;font-size:12px;font-weight:800}.template-test-fields-linear input,.template-test-fields-linear select,.template-test-fields-linear textarea{width:100%}.template-test-fields-linear textarea{resize:vertical;line-height:1.65}.template-test-inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.template-test-mode{display:grid;gap:7px;border:1px solid #cbd9e8;border-radius:6px;background:#f7fafd;padding:10px}.template-test-mode>span{color:#34485d;font-size:12px;font-weight:800}.template-test-mode>div{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #b7c8da;border-radius:5px}.template-test-mode button{height:36px;border:0;border-right:1px solid #b7c8da;background:white;cursor:pointer}.template-test-mode button:last-child{border-right:0}.template-test-mode button.active{background:#1668d4;color:white;font-weight:800}.template-test-mode small,.template-test-reference-strip span{color:var(--muted);font-size:11px}.template-test-reference-strip{display:grid;gap:8px}.template-test-reference-strip>div:first-child{display:flex;justify-content:space-between;gap:8px}.template-test-reference-strip>div:last-child{display:flex;gap:6px;min-height:48px}.template-test-reference-strip img{width:48px;height:48px;border:1px solid var(--border);border-radius:5px;object-fit:cover}.template-test-input-panel .template-test-actions{display:grid;gap:7px;margin-top:14px}.template-test-input-panel .template-test-actions button{width:100%;justify-content:center}.template-test-input-panel .template-test-actions small{color:var(--muted);text-align:center}.template-test-prompt-meta{display:flex;justify-content:space-between;gap:8px;margin:12px 0 8px;font-size:11px}.template-test-prompt-meta span{border-radius:999px;background:#eef3f7;color:#52677d;padding:4px 8px}.template-test-prompt-meta span.ok{background:#e7f7f1;color:#087f5b}.template-test-prompt-meta span.warning{background:#fff5e5;color:#a45a00}.template-test-prompt-panel>pre{min-height:460px;max-height:650px;overflow:auto;margin:0;border:1px solid #253747;border-radius:6px;background:#101820;color:#e6edf3;padding:13px;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.template-test-output-panel .template-delivery-preview>details,.template-test-prompt-panel>details{margin-top:10px}.template-test-variable-values{display:grid;max-height:280px;overflow:auto;gap:7px;margin-top:8px}.template-test-variable-values>div{display:grid;gap:3px;border-bottom:1px solid var(--border);padding-bottom:7px}.template-test-variable-values code{color:#1261b7;font-size:11px}.template-test-variable-values span{color:#52677d;font-size:11px;white-space:pre-wrap}.template-test-live-progress{display:grid;gap:10px;margin-top:18px;border:1px solid #b8d4f3;border-radius:6px;background:#f3f8fe;padding:14px}.template-test-live-progress>div{display:flex;justify-content:space-between}.template-test-live-progress>i{display:block;height:7px;overflow:hidden;border-radius:999px;background:#dce7f2}.template-test-live-progress>i>b{display:block;height:100%;border-radius:inherit;background:#1874df;transition:width .25s ease}.template-test-live-progress small{color:var(--muted)}.template-test-choice-list{display:grid;gap:7px}.template-test-choice-list button{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;align-items:start;border:1px solid #cbd9e8;border-radius:6px;background:white;color:var(--text);padding:10px;text-align:left;line-height:1.55;cursor:pointer}.template-test-choice-list button.active,.template-test-choice-list button:hover{border-color:#2576dd;background:#f1f7ff}.template-test-choice-list i{width:14px;height:14px;margin-top:3px;border:1px solid #8fa4b8;border-radius:50%}.template-test-choice-list button.active i{border:4px solid #2576dd}.template-test-title-source{display:grid;gap:7px;padding:11px 12px;border-left:3px solid #2576dd;background:#f6f9fd}.template-test-title-source p{color:var(--text);font-weight:650}.template-test-title-source small{width:fit-content;padding:3px 7px;color:#087a5b;border-radius:999px;background:#e4f6ef;font-size:11px}.template-delivery-preview section>textarea{width:100%;resize:vertical;line-height:1.75}.template-test-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.template-test-image-grid figure{overflow:hidden;margin:0;border:1px solid var(--border);border-radius:6px;background:#f7fafd}.template-test-image-grid img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}.template-test-image-grid figcaption{overflow:hidden;padding:7px 8px;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.template-test-image-prompts{display:grid;gap:7px}.template-test-image-prompts details{border:1px solid var(--border);border-radius:6px;background:#f8fafc;padding:9px 10px}.template-test-image-prompts p{max-height:180px;overflow:auto;margin:8px 0;color:#34485d;font-size:11px;white-space:pre-wrap}.template-test-image-prompts small{color:var(--muted)}.template-test-structured-results{display:grid;gap:8px}.template-test-structured-results article{display:grid;gap:7px;min-width:0;border:1px solid var(--border);border-radius:6px;background:#f8fafc;padding:10px 12px}.template-test-structured-results article>strong{color:var(--text);font-size:13px}.template-test-structured-results article>p,.template-test-structured-results article>pre{max-height:240px;overflow:auto;margin:0;color:#34485d;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.template-test-history-panel{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px}.template-test-history-panel>div:first-child{display:grid;align-content:start;gap:4px}.template-test-history-panel>div:first-child span{color:var(--muted);font-size:11px}.template-test-history-panel>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.template-test-history-panel button{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 7px;border:1px solid var(--border);border-radius:6px;background:white;padding:9px;text-align:left;cursor:pointer}.template-test-history-panel button:hover{border-color:#2576dd;background:#f5f9ff}.template-test-history-panel button>span{grid-row:1/3;color:#1261b7;font-size:11px;font-weight:800}.template-test-history-panel button small,.template-test-history-panel button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-test-history-panel button small{color:var(--muted);font-size:10px}.template-assignment-toolbar,.template-publish-workspace,.template-test-form,.template-test-result-panel,.template-version-workspace{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.template-test-form .form-grid{margin-top:14px}.template-publish-actions,.template-test-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.template-test-result-panel{position:sticky;top:180px;min-height:520px}.template-test-empty{display:grid;min-height:390px;place-content:center;justify-items:center;gap:10px;color:var(--muted);text-align:center}.template-delivery-preview{display:grid;gap:14px;margin-top:14px}.template-delivery-preview section{display:grid;gap:8px;border-top:1px solid var(--border);padding-top:12px}.template-delivery-preview section>span{color:var(--muted);font-size:12px;font-weight:800}.template-delivery-preview section p{max-height:360px;overflow:auto;margin:0;white-space:pre-wrap;line-height:1.75}.template-delivery-preview details{border-top:1px solid var(--border);padding-top:12px}.template-delivery-preview details pre{max-height:280px;overflow:auto;white-space:pre-wrap;border-radius:6px;background:#101820;color:#e6edf3;padding:12px;font-size:11px}.template-test-error{display:flex;gap:8px;border:1px solid #efb6b2;border-radius:6px;background:#fff0ef;color:#b42318;padding:10px}.template-next-action{width:100%;justify-content:center;margin-top:16px}.template-publish-workspace{display:grid;max-width:920px;gap:18px;margin:0 auto}.template-publish-summary{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;border-bottom:1px solid var(--border);padding-bottom:16px}.publish-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:8px;background:#eaf7f2;color:#087a5b}.template-publish-summary h3,.template-publish-summary p{margin:3px 0 0}.template-publish-summary p,.template-publish-summary>div>span{color:var(--muted);font-size:12px}.publish-version-flow{display:flex;align-items:center;gap:8px}.template-publish-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.template-publish-checks>div{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--border);border-radius:7px;background:#f8fafc;padding:12px}.template-publish-checks>div.passed>svg,.template-publish-checks>div>svg{color:#087a5b}.template-publish-checks>div.warning>svg{color:#a05a00}.template-publish-checks span{display:grid;gap:5px}.template-publish-checks small{color:var(--muted);line-height:1.45}.template-publish-note{display:grid;gap:7px;font-weight:800}.template-version-list article{display:grid;grid-template-columns:16px minmax(0,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid var(--border);padding:14px 4px}.template-version-list article:last-child{border-bottom:0}.template-version-list article p,.template-version-list article small{margin:3px 0 0;color:var(--muted)}.version-dot{width:10px;height:10px;border-radius:50%;background:#9aa8b6}.version-dot.published{background:#159570}.version-dot.draft{background:#d98b16}.template-assignment-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px}.template-assignment-toolbar label{display:grid;min-width:320px;gap:6px;font-weight:800}.template-assignment-toolbar>span{color:var(--muted);font-size:13px}.template-assignment-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.2fr) auto;align-items:center;gap:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:14px}.template-assignment-row>div{display:grid;gap:5px}.template-assignment-row span{color:var(--muted);font-size:12px}.template-assignment-actions,.template-library-row>.template-row-actions{display:flex!important;grid-auto-flow:column;justify-content:end}.template-library-row>.template-row-actions{gap:7px;white-space:nowrap}.template-dialog-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;overflow-y:auto;padding:24px;background:rgba(20,29,39,.46)}.template-manager-dialog{width:min(720px,100%);max-height:calc(100vh - 48px);display:grid;gap:16px;overflow-y:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:20px;box-shadow:0 18px 55px rgba(20,35,52,.22)}.template-manager-dialog.compact-dialog{width:min(590px,100%)}.template-manager-dialog .split-footer,.template-manager-dialog .split-footer>div,.template-manager-dialog>footer,.template-manager-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.template-manager-dialog>header{align-items:flex-start;border-bottom:1px solid var(--border);padding-bottom:14px}.template-manager-dialog>header span{color:#1f6feb;font-size:12px;font-weight:900}.template-manager-dialog h3,.template-manager-dialog p{margin:4px 0 0}.template-manager-dialog h3{font-size:20px}.template-manager-dialog p{color:var(--muted);font-size:13px;line-height:1.5}.template-manager-dialog>footer{justify-content:flex-end;border-top:1px solid var(--border);padding-top:14px}.template-manager-dialog>footer.split-footer{justify-content:space-between}.template-dialog-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-dialog-form label,.template-replacement-field{display:grid;gap:6px;font-size:13px;font-weight:800}.template-dialog-form .span-2{grid-column:1/-1}.template-existing-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #bdd0e8;border-radius:7px;background:#f3f7fc;padding:11px 12px}.template-existing-notice>div{display:grid;gap:3px}.template-existing-notice span{color:var(--muted);font-size:12px}.template-job-selector{display:grid;gap:9px}.template-job-selector>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px}.template-job-selector label{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:7px;background:#f8fafc;padding:9px;font-size:13px;font-weight:750}.template-job-selector input,.template-switch-row input{width:16px;height:16px}.template-switch-row{display:flex;align-items:flex-start;gap:10px;border:1px solid #cbd9e8;border-radius:7px;background:#f5f9ff;padding:12px}.template-switch-row>span{display:grid;gap:4px}.template-replacement-field small,.template-switch-row small{color:var(--muted);font-size:12px;font-weight:500}.template-dialog-warning{display:flex;align-items:flex-start;gap:9px;border:1px solid #cbd9e8;border-radius:7px;background:#f6f9fc;color:#435469;padding:11px 12px;font-size:13px;line-height:1.55}.template-dialog-warning.danger{border-color:#efc2be;background:#fff4f3;color:#9f241b}.template-export-backdrop{padding:18px}.template-export-dialog{display:grid;width:min(980px,100%);max-height:calc(100vh - 36px);grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 20px 60px rgba(20,35,52,.24)}.template-export-footer,.template-export-head,.template-export-list-head,.template-export-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.template-export-head{align-items:flex-start;border-bottom:1px solid var(--border);padding:18px 20px 15px}.template-export-head>div{display:grid;gap:3px}.template-export-head span{color:#1f6feb;font-size:12px;font-weight:900}.template-export-head h3,.template-export-head p,.template-export-section-head h4,.template-export-section-head p{margin:0}.template-export-head h3{font-size:22px}.template-export-head p,.template-export-section-head p{color:var(--muted);font-size:13px;line-height:1.5}.template-export-safety{display:flex;align-items:center;gap:10px;border-bottom:1px solid #bfe1d6;background:#f0faf6;color:#087a5b;padding:10px 20px}.template-export-safety>span{display:grid;gap:2px}.template-export-safety small{color:#4c7065;font-size:12px}.template-export-body{display:grid;min-height:0;grid-template-rows:auto minmax(0,1fr)}.template-export-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--border);background:#f8fafc;padding:8px 20px}.template-export-steps>div{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;color:#7a8999;font-size:13px}.template-export-steps>div>span{display:grid;width:28px;height:28px;place-items:center;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px;font-weight:900}.template-export-steps>div>svg{color:#b4bec9;justify-self:end;margin-right:10px}.template-export-steps>div.active{color:#155fbf}.template-export-steps>div.active>span{border-color:#1f6feb;background:#1f6feb;color:#fff}.template-export-steps>div.done{color:#087a5b}.template-export-steps>div.done>span{border-color:#8bd0ba;background:#e8f7f1}.template-export-main{min-height:0;overflow-y:auto;padding:18px 20px 22px}.template-export-section{display:grid;gap:16px}.template-export-section-head{align-items:flex-start}.template-export-section-head>div{display:grid;gap:4px}.template-export-section-head h4{font-size:17px}.template-export-error{margin-bottom:14px}.template-export-current{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;border:1px solid #b9cce4;border-radius:7px;background:#f5f8fc;color:#1f5f9f;padding:13px 14px}.template-export-current>div{display:grid;gap:3px}.template-export-current small,.template-export-current span{color:var(--muted);font-size:12px}.template-export-current strong{color:var(--text)}.template-export-quick{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:13px 0}.template-export-quick>div{display:grid;gap:3px}.template-export-quick span{color:var(--muted);font-size:12px}.template-export-scope-list,.template-export-summary,.template-export-version-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.template-export-scope-list>label,.template-export-version-list>label{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid var(--border);border-radius:7px;background:#fff;padding:11px 12px;cursor:pointer}.template-export-version-list>label{grid-template-columns:20px minmax(0,1fr)}.template-export-scope-list>label.selected,.template-export-version-list>label.selected{border-color:#8bb4ee;background:#eef4ff}.template-export-job-list input,.template-export-pack-list input,.template-export-scope-list input,.template-export-toggle input,.template-export-version-list input{width:16px;height:16px;margin:0}.template-export-job-list label>span,.template-export-pack-list label>span,.template-export-scope-list label>span,.template-export-toggle>span,.template-export-version-list label>span{display:grid;gap:3px;min-width:0}.template-export-job-list small,.template-export-pack-list small,.template-export-scope-list small,.template-export-toggle small,.template-export-version-list small{color:var(--muted);font-size:11px;line-height:1.4}.template-export-pack-list b,.template-export-scope-list b{color:#52667c;font-size:12px;white-space:nowrap}.template-export-toggle{display:flex;align-items:flex-start;gap:9px;border-bottom:1px solid var(--border);padding:0 2px 13px;cursor:pointer}.template-export-job-list,.template-export-pack-list,.template-export-preview-list{display:grid;overflow:hidden;border:1px solid var(--border);border-radius:7px}.template-export-list-head{background:#f7f9fc;padding:10px 12px}.template-export-list-head span{color:var(--muted);font-size:12px}.template-export-pack-list>label{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;border-top:1px solid #e8edf3;padding:10px 12px;cursor:pointer}.template-export-pack-list>label:hover,.template-export-stage-list>label:hover{background:#f8fbff}.template-export-empty,.template-export-loading{color:var(--muted);padding:28px 14px;text-align:center}.template-export-job-list>section{border-bottom:1px solid var(--border)}.template-export-job-list>section:last-child{border-bottom:0}.template-export-job-list>section>header{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;background:#f8fafc;padding:9px 12px}.template-export-job-list>section.selected>header{background:#eef4ff}.template-export-job-list>section>header>label,.template-export-stage-list>label{display:flex;align-items:center;gap:9px;cursor:pointer}.template-export-job-list .text-button{border:0;background:transparent;color:#1f6feb;padding:5px;font-size:12px;font-weight:800}.template-export-stage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:6px 12px 10px 40px}.template-export-stage-list>label{border-bottom:1px solid #edf0f4;padding:9px 8px}.template-export-stage-list>label:nth-last-child(-n+2){border-bottom:0}.template-export-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.template-export-summary>div{display:grid;gap:4px;border-left:3px solid #1f6feb;background:#f5f8fc;padding:10px 12px}.template-export-filename span,.template-export-summary span{color:var(--muted);font-size:12px}.template-export-summary strong{font-size:21px}.template-export-filename{display:flex;align-items:center;gap:11px;border:1px solid #bcd8ce;border-radius:7px;background:#f2faf7;color:#087a5b;padding:11px 12px}.template-export-filename>div{display:grid;min-width:0;gap:3px}.template-export-filename strong{overflow-wrap:anywhere;color:var(--text)}.template-export-preview-list{max-height:220px;overflow-y:auto}.template-export-preview-list>div{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid #e8edf3;padding:9px 11px}.template-export-preview-list>div:last-of-type{border-bottom:0}.template-export-preview-list span{color:#49627e;font-size:11px;font-weight:800}.template-export-preview-list small,.template-export-preview-list>p{color:var(--muted);font-size:12px}.template-export-preview-list>p{margin:0;padding:10px 11px}.template-export-warnings{display:flex;align-items:flex-start;gap:9px;border:1px solid #efd09b;border-radius:7px;background:#fff8e8;color:#8a5200;padding:10px 12px}.template-export-warnings p{margin:0 0 4px;font-size:12px;line-height:1.5}.template-transfer-options{display:grid;gap:12px;border-top:1px solid var(--border);padding-top:16px}.template-transfer-format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.template-transfer-format-card{display:grid;min-height:82px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:12px;text-align:left;cursor:pointer}.template-transfer-format-card:hover{border-color:#a8bfd9;background:#f8fbff}.template-transfer-format-card.selected{border-color:#6d9fe3;background:#eef4ff;color:#155fbf;box-shadow:inset 0 0 0 1px #bfd5f4}.template-transfer-format-card>span{display:grid;gap:4px;color:var(--text)}.template-transfer-format-card small{color:var(--muted);font-size:12px;line-height:1.45}.template-transfer-format-card b{align-self:start;border-radius:4px;background:#dff3eb;color:#087a5b;padding:3px 6px;font-size:11px}.template-transfer-export-note{display:flex;align-items:center;gap:10px;border-left:3px solid #1f6feb;background:#f5f8fc;padding:10px 12px}.template-transfer-export-note strong{white-space:nowrap}.template-transfer-export-note span{color:var(--muted);font-size:12px;line-height:1.45}.template-import-dialog{width:min(960px,100%)}.template-import-dropzone{display:grid;min-height:190px;place-items:center;align-content:center;gap:9px;border:1px dashed #8daac8;border-radius:7px;background:#f8fbff;color:#1f6feb;padding:24px;cursor:pointer}.template-import-dropzone:hover{border-color:#1f6feb;background:#eef5ff}.template-import-dropzone:disabled{cursor:wait;opacity:.7}.template-import-dropzone span{color:var(--muted);font-size:12px}.template-import-file-help{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.template-import-file-help>div{display:flex;align-items:center;gap:10px;border-left:3px solid #8daac8;background:#f7f9fc;padding:11px 12px}.template-import-file-help span{display:grid;gap:3px}.template-import-file-help small{color:var(--muted);font-size:12px}.template-import-variable-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.template-import-variable-status>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px;border-left:3px solid #199a72;background:#f1faf7;padding:10px 12px}.template-import-variable-status>div.warning{border-left-color:#d98a15;background:#fff8e8}.template-import-variable-status>div.danger{border-left-color:#d33a2c;background:#fff4f3}.template-import-variable-status strong{font-size:20px}.template-import-variable-status span{color:var(--muted);font-size:12px}.template-import-group-list{display:grid;max-height:270px;overflow-y:auto;border:1px solid var(--border);border-radius:7px}.template-import-group-list>section{border-bottom:1px solid var(--border)}.template-import-group-list>section:last-child{border-bottom:0}.template-import-group-list header{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;background:#f7f9fc;padding:10px 12px}.template-import-group-list header>div{display:grid;gap:3px}.template-import-group-list header span,.template-import-group-list p span{color:var(--muted);font-size:12px}.template-import-group-list header b{color:#8a5200;font-size:11px}.template-import-group-list section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.template-import-group-list p{display:grid;gap:3px;margin:0;border-top:1px solid #edf0f4;padding:9px 12px}.template-import-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.template-import-mode-grid>button{display:grid;min-height:88px;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:12px;text-align:left;cursor:pointer}.template-import-mode-grid>button.selected{border-color:#6d9fe3;background:#eef4ff;box-shadow:inset 0 0 0 1px #bfd5f4}.template-import-mode-grid button>span{display:grid;gap:4px}.template-import-mode-grid small{color:var(--muted);font-size:12px;line-height:1.45}.template-import-mode-grid b{align-self:start;border-radius:4px;background:#dff3eb;color:#087a5b;padding:3px 6px;font-size:11px}.template-import-target{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:14px 0}.template-import-note,.template-import-target label{display:grid;gap:6px;color:var(--text);font-size:13px;font-weight:800}.template-import-note textarea,.template-import-target input,.template-import-target select{width:100%;border:1px solid var(--border-strong);border-radius:6px;background:#fff;color:var(--text);padding:10px 11px;font:inherit;font-weight:500}.template-import-target p{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px;line-height:1.5}.template-import-confirm{display:flex;align-items:center;gap:10px;border:1px solid #bfe1d6;border-radius:7px;background:#f0faf6;color:#087a5b;padding:11px 12px}.template-import-confirm>span{display:grid;gap:3px}.template-import-confirm small{color:#4c7065;font-size:12px}.template-import-success{display:grid;min-height:380px;place-items:center;align-content:center;gap:10px;padding:32px;text-align:center}.template-import-success>span{display:grid;width:58px;height:58px;place-items:center;border-radius:50%;background:#e6f6f0;color:#087a5b}.template-import-success h4,.template-import-success p{margin:0}.template-import-success p,.template-import-success small{color:var(--muted);font-size:13px}.template-import-success>div{display:flex;align-items:baseline;gap:7px;margin:8px 0;border-left:3px solid #1f6feb;background:#f5f8fc;padding:10px 16px}.template-import-success>div strong{font-size:24px}.template-export-footer{justify-content:flex-end;border-top:1px solid var(--border);padding:13px 20px}@media (max-width:1320px){.template-test-stage-layout{grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr)}.template-test-output-panel{grid-column:1/-1;min-height:420px}.template-test-history-panel>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.template-library-row{grid-template-columns:42px minmax(170px,1.4fr) repeat(2,minmax(100px,.7fr)) auto}.template-library-row>div:nth-of-type(4),.template-library-row>div:nth-of-type(5){display:none}.template-editor-workspace{grid-template-columns:210px minmax(460px,1fr)}.template-prompt-inspector{grid-column:1/-1;grid-template-columns:minmax(220px,.7fr) minmax(420px,1.3fr);border-top:1px solid var(--border);border-left:0}}@media (max-width:980px){.template-test-context-bar,.template-test-history-panel,.template-test-stage-layout{grid-template-columns:1fr}.template-test-context-assets,.template-test-context-bar>button,.template-test-output-panel{grid-column:1;grid-row:auto}.template-test-stage-flow{overflow-x:auto}.template-publish-checks,.template-scope-tabs,.template-test-history-panel>div:last-child,.template-test-workspace{grid-template-columns:1fr}.template-scope-tabs button{border-right:0;border-bottom:1px solid var(--border)}.template-assignment-row,.template-library-row{grid-template-columns:42px minmax(0,1fr)}.template-library-row>div:not(.template-library-icon):not(.template-library-name){display:none}.template-assignment-row>button,.template-assignment-row>select,.template-library-row>button{grid-column:1/-1;width:100%}.template-assignment-row .template-assignment-actions,.template-library-row .template-row-actions{grid-column:1/-1;display:flex;width:100%}.template-assignment-actions .secondary-button,.template-row-actions .primary-button{flex:1 1}.tenant-template-option{grid-template-columns:1fr;padding:13px 14px}.tenant-template-option-actions{flex-wrap:wrap}.tenant-template-option-actions .primary-button,.tenant-template-option-actions .secondary-button{flex:1 1}.template-center-head,.template-existing-notice,.template-library-tool-actions,.template-library-tools{align-items:stretch;flex-direction:column}.template-search{width:100%}.template-dialog-form{grid-template-columns:1fr}.template-dialog-form .span-2{grid-column:auto}.template-linear-steps{grid-template-columns:1fr}.template-linear-steps>svg{display:none}.template-editor-workspace,.template-editor-workspace.inspector-hidden{grid-template-columns:1fr}.template-stage-nav{border-right:0;border-bottom:1px solid var(--border)}.template-prompt-inspector{grid-template-columns:1fr}.template-test-result-panel{position:static}.template-export-scope-list,.template-export-summary,.template-export-version-list,.template-import-file-help,.template-import-mode-grid,.template-import-variable-status{grid-template-columns:repeat(2,minmax(0,1fr))}.template-export-stage-list{grid-template-columns:1fr;padding-left:12px}.template-export-stage-list>label:nth-last-child(-n+2){border-bottom:1px solid #edf0f4}.template-export-stage-list>label:last-child{border-bottom:0}}@media (max-width:680px){.template-export-backdrop{padding:0}.template-export-dialog{width:100%;max-height:100vh;min-height:100vh;border:0;border-radius:0}.template-export-footer,.template-export-head,.template-export-main,.template-export-safety,.template-export-steps{padding-right:14px;padding-left:14px}.template-export-steps>div{grid-template-columns:28px minmax(0,1fr)}.template-export-steps>div>svg{display:none}.template-export-quick,.template-export-scope-list,.template-export-summary,.template-export-version-list,.template-import-file-help,.template-import-mode-grid,.template-import-target,.template-import-variable-status,.template-transfer-format-grid{grid-template-columns:1fr}.template-export-preview-list>div{grid-template-columns:1fr;gap:3px}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}.task-delivery-head{min-height:38px;align-items:center}.task-detail-context{display:flex;align-items:center;gap:12px;min-width:0}.task-detail-context>span{overflow:hidden;color:var(--muted);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.task-detail-actions,.task-neighbor-nav{display:flex;align-items:center;gap:8px}.task-neighbor-nav .danger-button,.task-neighbor-nav .secondary-button{min-width:94px;justify-content:center}.document-workspace{display:grid;gap:16px}.document-toolbar{position:sticky;z-index:25;top:0;display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.96);padding:10px 12px;box-shadow:0 5px 18px rgba(24,40,58,.06);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.document-save-state>span{display:inline-flex;align-items:center;gap:6px;color:#087a5b;font-size:12px;font-weight:800}.document-save-state>span:before{width:7px;height:7px;border-radius:50%;background:currentColor;content:""}.document-save-state>span.unsaved{color:#a05a00}.document-actions,.document-add-row,.document-block-tools,.document-image-tools{display:flex;align-items:center;gap:7px}.document-icon-action{width:38px;height:38px}.inline-notice{display:flex;align-items:center;gap:7px;border-radius:6px;padding:9px 11px;font-size:13px;font-weight:750}.inline-notice.success{border:1px solid #b9dfd3;background:#edf9f5;color:#087a5b}.inline-title-editor-list{gap:7px}.inline-title-editor-list .title-editor{padding:6px 8px}.inline-copy-editor,.inline-tag-editor{width:100%;resize:vertical;border-color:#cbd8e6;background:#fbfcfe;line-height:1.75}.inline-copy-editor{min-height:240px}.inline-tag-editor{min-height:70px}.copy-edit-actions{align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:12px}.edit-state{color:var(--muted);font-size:12px}.edit-state.unsaved{color:#a05a00;font-weight:800}.document-canvas{width:min(880px,100%);min-height:560px;margin:0 auto;border:1px solid var(--border);border-radius:8px;background:#fff;padding:clamp(28px,5vw,60px) clamp(22px,7vw,78px);box-shadow:0 10px 32px rgba(25,42,60,.07)}.document-canvas.editing{border-color:#a9c5ea;box-shadow:0 0 0 3px rgba(31,111,235,.08),0 10px 32px rgba(25,42,60,.07)}.document-canvas>h1,.document-title-input{width:100%;margin:0 0 34px;color:#17202a;font-size:30px;font-weight:900;line-height:1.35;text-align:center}.document-title-input{border:0;border-bottom:2px solid #b9cbe0;border-radius:0;padding:8px 4px 14px}.document-title-input:focus{border-color:#1f6feb;box-shadow:none;outline:none}.document-block-list{display:grid;gap:0}.document-block-list>h2{margin:28px 0 10px;color:#17202a;font-size:20px;line-height:1.5}.document-block-list>p{margin:9px 0;color:#2f3b47;font-size:16px;line-height:1.95;white-space:pre-wrap}.document-text-block{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:5px 0;border:1px solid #d6e1ed;border-radius:7px;background:#fbfcfe;padding:8px}.document-text-block.heading{border-left:4px solid #1f6feb}.document-text-block textarea{min-height:112px;resize:vertical;border:0;background:transparent;color:#2f3b47;font-size:15px;line-height:1.8}.document-text-block.heading textarea{min-height:62px;color:#17202a;font-size:18px;font-weight:850}.document-text-block textarea:focus{box-shadow:none}.document-block-tools{align-self:start}.document-block-tools .icon-button,.document-image-tools .icon-button{width:34px;height:34px}.icon-button.danger{color:#b42318}.document-image-block{position:relative;margin:26px 0}.document-image-open{position:relative;display:block;width:100%;overflow:hidden;border:0;border-radius:7px;background:#eef2f6;padding:0}.document-image-open img{display:block;width:100%;max-height:680px;object-fit:contain}.document-image-open>span{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:6px;border-radius:6px;background:rgba(18,27,38,.8);color:#fff;padding:7px 9px;font-size:12px;font-weight:800;opacity:0;transition:opacity .16s ease}.document-image-open:focus-visible>span,.document-image-open:hover>span{opacity:1}.document-image-block figcaption{margin-top:7px;color:var(--muted);font-size:12px;text-align:center}.document-image-tools{justify-content:center;margin-top:9px}.document-add-row{justify-content:center;margin-top:22px;border-top:1px dashed var(--border);padding-top:18px}.geo-answer-card{margin:0 0 28px;border-left:4px solid #159570;background:#edf9f5;padding:17px 18px}.geo-answer-card>span{display:flex;align-items:center;gap:6px;color:#087a5b;font-size:12px;font-weight:900}.geo-answer-card p{margin:10px 0 0;color:#27443c;line-height:1.8}.geo-answer-card textarea{width:100%;margin-top:10px;background:#fff;line-height:1.7}.delivery-details-panel{width:min(880px,100%);margin:0 auto;border:1px solid var(--border);border-radius:8px;background:#fff}.delivery-details-panel>summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:54px;cursor:pointer;padding:12px 16px;list-style:none}.delivery-details-panel>summary::-webkit-details-marker{display:none}.delivery-details-panel>summary span{font-weight:850}.delivery-details-panel>summary small{color:var(--muted)}.delivery-details-panel[open]>summary svg{transform:rotate(180deg)}.geo-optimization-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;border-top:1px solid var(--border);padding:18px}.geo-optimization-grid>section{min-width:0}.geo-optimization-grid>section:first-child{grid-column:1/-1}.geo-optimization-grid h3{margin:0 0 10px;font-size:15px}.geo-faq-item{border-top:1px solid var(--border);padding:10px 0}.geo-faq-item p{margin:5px 0 0;color:var(--muted);line-height:1.65}.publish-notes>ul{margin:0;border-top:1px solid var(--border);padding:16px 34px;color:#435469;line-height:1.7}.structured-text-workspace{display:grid;gap:16px}.content-view-tabs,.platform-tabs{display:flex;align-items:center;gap:4px;overflow-x:auto}.content-view-tabs button,.platform-tabs button{display:inline-flex;min-height:36px;align-items:center;gap:6px;white-space:nowrap;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:7px 11px;font-weight:800}.content-view-tabs button.active,.platform-tabs button.active{background:#eaf2ff;color:#165ab8}.rewrite-canvas,.video-script-canvas{display:grid;width:min(920px,100%);gap:0;margin:0 auto;border:1px solid var(--border);border-radius:8px;background:#fff;padding:clamp(24px,4vw,44px);box-shadow:0 10px 30px rgba(25,42,60,.06)}.rewrite-canvas.editing,.video-script-canvas.editing{border-color:#a9c5ea;box-shadow:0 0 0 3px rgba(31,111,235,.08),0 10px 30px rgba(25,42,60,.06)}.video-script-section,.video-title-section{display:grid;gap:10px;border-bottom:1px solid var(--border);padding:20px 0}.video-title-section{padding-top:0}.video-script-section:last-child{border-bottom:0;padding-bottom:0}.rewrite-canvas label>span,.shot-row>div>span,.video-script-section>div>span,.video-title-section>span{color:var(--muted);font-size:12px;font-weight:850}.video-title-options{display:grid;gap:8px}.video-title-options>button,.video-title-options>label{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:9px;min-height:48px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:8px 11px;text-align:left}.video-title-options>button.active,.video-title-options>label.active{border-color:#8eb5ea;background:#f2f7ff}.video-title-options button span{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#e8eef8;font-size:12px;font-weight:900}.video-title-options label input[type=radio]{width:17px;height:17px}.video-title-options label input:not([type]),.video-title-options label input[type=text]{border:0;background:transparent;padding:6px}.video-script-section>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.video-script-section>p{margin:0;color:#2f3b47;font-size:15px;line-height:1.9;white-space:pre-wrap}.video-script-section>p.video-hook{border-left:4px solid #1f6feb;background:#f2f7ff;padding:13px 15px;color:#1d3e68;font-weight:750}.rewrite-canvas textarea,.video-script-section textarea{width:100%;resize:vertical;line-height:1.75}.shot-board{display:grid;gap:10px}.shot-row{display:grid;grid-template-columns:86px minmax(180px,1fr) minmax(220px,1.25fr) minmax(180px,1fr);gap:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.shot-row>div{display:grid;align-content:start;gap:7px;border-left:1px solid var(--border);padding:12px}.shot-row>div:first-child{border-left:0}.shot-time{place-content:start center;background:#f3f7fb;color:#24476d;font-size:13px;font-weight:900}.shot-row p{margin:0;color:#405064;font-size:13px;line-height:1.65;white-space:pre-wrap}.shot-row textarea{width:100%;resize:vertical;font-size:13px;line-height:1.6}.shot-row input{width:100%;min-width:0}.rewrite-canvas{gap:22px}.rewrite-canvas label{display:grid;gap:9px}.rewrite-canvas h1{margin:0;color:#17202a;font-size:27px;line-height:1.4}.rewrite-canvas input{min-height:52px;font-size:20px;font-weight:850}.rewrite-content,.rewrite-cta{margin:0;color:#2f3b47;font-size:15px;line-height:1.9;white-space:pre-wrap}.rewrite-cta{border-left:4px solid #159570;background:#edf9f5;padding:12px 14px;color:#27443c}.model-settings-stack{display:grid;gap:18px}.model-settings-section{gap:18px;border:0;background:transparent;padding:0}.model-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.model-channel-card{min-width:0;display:grid;gap:15px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:16px}.model-channel-card.inherited{background:var(--surface-soft)}.model-channel-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center}.model-channel-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:8px}.model-channel-icon.blue{color:#1f63cf;background:#eaf2ff}.model-channel-icon.green{color:#08785e;background:#e7f7f2}.model-channel-head h3{font-size:16px;line-height:1.3}.model-channel-head p{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.model-config-status{border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);padding:5px 8px;color:var(--muted);font-size:11px;font-weight:800;white-space:nowrap}.model-config-status.good{border-color:rgba(15,139,111,.24);background:var(--green-soft);color:#09664f}.model-config-status.warning{border-color:rgba(190,120,0,.22);background:var(--amber-soft);color:#8a5700}.model-source-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:4px}.model-source-switch button{min-height:38px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-weight:800}.model-source-switch button.active{background:#fff;color:#1559b7;box-shadow:0 1px 3px rgba(15,31,51,.12)}.model-inherit-summary{display:grid;gap:4px;border:1px dashed var(--border);border-radius:8px;background:#fff;padding:14px}.model-inherit-summary small,.model-inherit-summary span{color:var(--muted);font-size:12px}.model-inherit-summary strong{font-size:15px}.model-enabled-row,.model-settings-actions,.model-tenant-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.model-enabled-row small,.model-enabled-row strong{display:block}.model-enabled-row small{margin-top:3px;color:var(--muted);font-size:12px}.model-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.model-field-grid.compact{margin-top:12px}.model-field-grid label,.model-tenant-select{min-width:0;display:grid;gap:6px;color:#273444;font-size:12px;font-weight:800}.model-field-grid .span-2{grid-column:1/-1}.model-field-grid input,.model-tenant-select select{width:100%;min-width:0}.model-key-option{display:flex;align-items:center;gap:8px;color:#405064;font-size:12px;font-weight:750}.model-key-option input{width:16px;height:16px}.model-key-option.danger-option{color:#a23a3a}.model-advanced{border-top:1px solid var(--border);padding-top:11px}.model-advanced summary{cursor:pointer;color:#405064;font-size:12px;font-weight:800}.model-customer-head{align-items:end}.model-tenant-select{width:min(330px,100%)}.model-tenant-summary{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px 14px}.model-tenant-summary small,.model-tenant-summary strong{display:block}.model-tenant-summary small{margin-top:3px;color:var(--muted);font-size:12px}.model-source-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.model-source-badges span{border:1px solid var(--border);border-radius:999px;background:#fff;padding:5px 8px;color:var(--muted);font-size:11px;font-weight:800}.model-source-badges span.custom{border-color:rgba(31,99,207,.25);background:#eaf2ff;color:#1559b7}.model-settings-actions{justify-content:flex-end;border-top:1px solid var(--border);padding-top:16px}@media (max-width:760px){.model-channel-grid,.model-field-grid{grid-template-columns:1fr}.model-channel-head{grid-template-columns:42px minmax(0,1fr)}.model-config-status{grid-column:1/-1;justify-self:start}.model-customer-head,.model-settings-actions,.model-tenant-summary{align-items:stretch;flex-direction:column}.model-tenant-select{width:100%}.model-source-badges{justify-content:flex-start}.model-settings-actions button{width:100%}.task-detail-context>span{display:none}.task-detail-actions{width:100%;align-items:stretch;flex-wrap:wrap}.task-neighbor-nav{flex:1 1 100%}.task-neighbor-nav .danger-button,.task-neighbor-nav .secondary-button{flex:1 1}.document-toolbar{position:static;align-items:stretch;flex-direction:column}.document-actions{flex-wrap:wrap}.document-actions .primary-button,.document-actions .secondary-button{flex:1 1}.document-canvas{min-height:420px;padding:28px 18px}.document-canvas>h1,.document-title-input{margin-bottom:24px;font-size:24px}.document-block-list>p{font-size:15px}.document-text-block{grid-template-columns:1fr}.document-block-tools,.document-image-tools{flex-wrap:wrap}.geo-optimization-grid{grid-template-columns:1fr}.content-view-tabs,.platform-tabs{width:100%}.shot-row{grid-template-columns:74px minmax(0,1fr)}.shot-row>div{border-top:1px solid var(--border);border-left:0}.shot-row>div:nth-child(n+2){grid-column:2}.shot-time{grid-row:1/span 3;border-top:0!important}}.creation-mode-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}.creation-mode-picker button{display:flex;align-items:flex-start;flex-direction:column;gap:4px;min-height:74px;padding:14px 16px;color:var(--text);text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:7px;cursor:pointer}.creation-mode-picker button.active{color:#1557b0;background:#eef5ff;border-color:#2878e6;box-shadow:inset 3px 0 0 #2878e6}.creation-mode-picker button span{font-size:15px;font-weight:700}.creation-mode-picker button small{color:var(--muted);font-size:13px}.progress-waiting{color:#9a5a00;font-weight:600}.workflow-studio{max-width:1120px;margin:0 auto;padding-bottom:96px}.workflow-studio-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.workflow-studio-head h1{margin:5px 0 0}.workflow-kicker{display:block;margin-top:18px;color:var(--muted);font-size:13px}.workflow-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 0;background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow:hidden}.workflow-stepper>div{position:relative;display:flex;align-items:center;gap:10px;min-height:62px;padding:12px 18px;color:var(--muted);border-right:1px solid var(--border)}.workflow-stepper>div:last-child{border-right:0}.workflow-stepper>div>span{display:grid;width:28px;height:28px;place-items:center;color:#607086;font-size:13px;font-weight:700;background:#edf1f5;border-radius:50%}.workflow-stepper>div.active{color:#142033;background:#f2f7ff;box-shadow:inset 0 -3px 0 #2878e6}.workflow-stepper>div.active>span{color:#fff;background:#2878e6}.workflow-stepper>div.complete{color:#146b54}.workflow-stepper>div.complete>span{color:#fff;background:#15936f}.workflow-failed,.workflow-generating{display:flex;align-items:center;gap:18px;min-height:180px;padding:28px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.workflow-generating>svg{color:#2878e6}.workflow-failed h2,.workflow-generating h2{margin:0 0 6px;font-size:20px}.workflow-failed p,.workflow-generating p{margin:0;color:var(--muted)}.workflow-failed{border-color:#efc4c4}.workflow-failed>svg{color:#c63737}.workflow-failed .primary-button{margin-left:auto}.workflow-editor-band{padding:26px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.workflow-band-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:22px}.workflow-band-title>span{display:grid;flex:0 0 30px;height:30px;place-items:center;color:#fff;font-weight:700;background:#172232;border-radius:7px}.workflow-band-title h2{margin:0;font-size:20px}.workflow-band-title p{margin:5px 0 0;color:var(--muted)}.workflow-content-editor label,.workflow-topic-editor{display:grid;gap:8px;color:#26354a;font-size:13px;font-weight:650}.workflow-topic-choices{display:grid;gap:9px;margin-bottom:20px}.workflow-topic-choice{display:grid;grid-template-columns:34px minmax(0,1fr);min-height:72px;align-items:center;gap:12px;width:100%;border:1px solid #d6dee8;border-radius:7px;background:#fff;color:var(--text);padding:11px 14px;text-align:left;cursor:pointer}.workflow-topic-choice:hover{border-color:#9db6d8;background:#f8fbff}.workflow-topic-choice.selected{border-color:#2878e6;background:#eef5ff;box-shadow:inset 3px 0 #2878e6}.workflow-topic-index{display:grid;width:30px;height:30px;place-items:center;border:1px solid #c9d3df;border-radius:50%;background:#f5f7fa;color:#5d6c80;font-size:12px;font-weight:750}.workflow-topic-choice.selected .workflow-topic-index{border-color:#2878e6;background:#2878e6;color:#fff}.workflow-topic-copy{display:grid;min-width:0;gap:6px}.workflow-topic-copy>span{display:flex;align-items:center;gap:6px}.workflow-topic-copy b,.workflow-topic-copy small{width:fit-content;border-radius:999px;padding:2px 7px;font-size:11px;line-height:1.5}.workflow-topic-copy small{background:#eef1f5;color:#526277}.workflow-topic-copy b{background:#e4f6ef;color:#087a5b}.workflow-topic-copy strong{overflow-wrap:anywhere;font-size:15px;line-height:1.55}.workflow-topic-editor textarea{min-height:124px;font-size:18px;line-height:1.7}.workflow-content-editor{display:grid;gap:18px}.workflow-title-panel{display:grid;gap:14px;padding:16px;border:1px solid #d9e2ee;border-radius:7px;background:#f8fafc}.workflow-title-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.workflow-title-panel>header div{display:grid;gap:4px}.workflow-title-panel>header strong{color:#172232;font-size:15px}.workflow-title-panel>header span,.workflow-title-panel>p span{color:var(--muted);font-size:13px;line-height:1.6}.workflow-title-panel>header small{flex:0 0 auto;padding:4px 8px;color:#087a5b;background:#e4f6ef;border-radius:999px;font-size:11px}.workflow-title-panel>p{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:0;padding:10px 12px;border-left:3px solid #2878e6;background:#fff}.workflow-title-panel>p b{color:#31506f;font-size:12px}.workflow-title-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.workflow-title-options button{display:grid;align-content:start;gap:8px;min-height:96px;padding:12px;color:var(--text);text-align:left;border:1px solid #d6dee8;border-radius:7px;background:#fff;cursor:pointer}.workflow-title-options button:hover{border-color:#9db6d8;background:#f8fbff}.workflow-title-options button.selected{border-color:#2878e6;background:#eef5ff;box-shadow:inset 3px 0 #2878e6}.workflow-title-options button span{display:flex;align-items:center;gap:5px;color:#2878e6;font-size:12px;font-weight:700}.workflow-title-options button strong{overflow-wrap:anywhere;font-size:14px;line-height:1.55}.workflow-content-editor input,.workflow-content-editor textarea,.workflow-topic-editor textarea{width:100%}.workflow-body-editor{min-height:360px;line-height:1.85;resize:vertical}.workflow-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.workflow-image-grid figure{margin:0;border:1px solid var(--border);border-radius:7px;overflow:hidden;background:#fff}.workflow-image-preview{position:relative;display:block;width:100%;padding:0;color:inherit;border:0;background:#f1f3f6;cursor:zoom-in}.workflow-image-preview img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#f1f3f6}.workflow-image-preview>span{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:7px 9px;color:#fff;font-size:12px;font-weight:650;background:rgba(23,34,50,.84);border-radius:6px;opacity:0;transition:opacity .16s ease}.workflow-image-preview:focus-visible>span,.workflow-image-preview:hover>span{opacity:1}.workflow-image-preview>b{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:8px;color:#fff;font-size:13px;background:rgba(23,34,50,.68)}.workflow-image-grid figcaption{display:grid;gap:10px;padding:12px;font-size:13px}.workflow-image-grid figcaption>strong{color:var(--text);font-size:14px}.workflow-image-grid figcaption>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.workflow-image-grid figcaption button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:7px 9px;color:#26354a;font-size:12px;font-weight:650;border:1px solid #cfd8e4;border-radius:6px;background:#fff;cursor:pointer}.workflow-image-grid figcaption button:hover:not(:disabled){border-color:#2878e6;color:#155ebc;background:#f4f8ff}.workflow-image-grid figcaption button.danger:hover:not(:disabled){border-color:#d46b6b;color:#a22f2f;background:#fff7f7}.workflow-image-grid figcaption button:disabled{cursor:not-allowed;opacity:.55}.workflow-image-grid figcaption>p{display:flex;align-items:flex-start;gap:7px;margin:0;padding:9px;color:#a13333;line-height:1.55;background:#fff6f6;border-radius:6px}.workflow-image-grid figcaption>p svg{flex:0 0 auto;margin-top:2px}.workflow-image-card.failed{border-color:#e2a4a4}.workflow-no-images{display:grid;min-height:220px;place-items:center;align-content:center;gap:8px;color:var(--muted);border:1px dashed #b9c4d2;border-radius:7px}.workflow-no-images strong{color:var(--text)}.workflow-image-errors{display:grid;gap:6px;margin-top:14px;color:#a13333;font-size:13px}.workflow-image-lightbox{position:fixed;z-index:120;inset:0;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:18px;padding:28px;background:rgba(12,18,27,.9)}.workflow-image-lightbox>div{display:grid;min-width:0;max-height:calc(100vh - 56px);place-items:center;gap:10px}.workflow-image-lightbox img{display:block;max-width:100%;max-height:calc(100vh - 105px);object-fit:contain}.workflow-image-lightbox span{color:#fff;font-size:13px}.workflow-lightbox-close,.workflow-lightbox-nav{display:grid;width:42px;height:42px;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(255,255,255,.1);cursor:pointer}.workflow-lightbox-close{position:absolute;top:20px;right:20px}.workflow-lightbox-nav.previous{grid-column:1}.workflow-lightbox-nav.next{grid-column:3}.workflow-delivery-preview{max-width:820px;margin:0 auto;white-space:pre-wrap}.workflow-delivery-preview h2{font-size:25px;line-height:1.35}.workflow-delivery-preview p{color:#26354a;line-height:1.9}.workflow-action-bar{position:sticky;z-index:20;bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:12px;background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:8px;box-shadow:0 12px 30px rgba(27,39,55,.12)}.workflow-action-bar>div{display:flex;flex-wrap:wrap;gap:8px}.workflow-history{margin-top:16px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.workflow-history summary{display:flex;align-items:center;gap:8px;padding:15px 18px;cursor:pointer;font-weight:650}.workflow-history>div{padding:0 18px 14px}.workflow-history>div>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;color:var(--muted);border-top:1px solid var(--border)}.workflow-history strong{color:var(--text)}.workflow-resume-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:150px;padding:28px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.workflow-resume-panel h1{margin:0 0 6px;font-size:22px}.workflow-resume-panel p{margin:0;color:var(--muted)}.spin{animation:workflow-spin 1s linear infinite}@keyframes workflow-spin{to{transform:rotate(1turn)}}@media (max-width:760px){.creation-mode-picker,.workflow-image-grid,.workflow-title-options{grid-template-columns:1fr}.workflow-title-panel>header{align-items:stretch;flex-direction:column}.workflow-title-panel>header small{width:fit-content}.workflow-stepper>div{min-width:0;padding:10px}.workflow-stepper>div strong{font-size:12px}.workflow-editor-band{padding:18px}.workflow-image-preview>span{opacity:1}.workflow-image-lightbox{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;padding:18px 8px}.workflow-lightbox-close{top:10px;right:10px}.workflow-lightbox-nav{width:38px;height:38px}.workflow-action-bar,.workflow-failed,.workflow-resume-panel{align-items:stretch;flex-direction:column}.workflow-action-bar button,.workflow-action-bar>div,.workflow-failed .primary-button{width:100%;margin-left:0}}.client-shell{--bg:#f3f6f5;--surface:#ffffff;--surface-soft:#f7f9f8;--text:#18211f;--muted:#687570;--border:#dce4e1;--border-strong:#c8d3cf;--blue:#0c8066;--blue-dark:#09644f;--green:#0c8066;--green-soft:#e7f5f0;--amber:#9a6612;--amber-soft:#fff5de;--red:#b53b36;--red-soft:#fff0ef;--shadow:0 10px 28px rgba(24,33,31,0.08);grid-template-columns:224px minmax(0,1fr);background:var(--bg);font-family:Microsoft YaHei UI,PingFang SC,Microsoft YaHei,Arial,sans-serif}.client-shell .sidebar{z-index:30;border-right:0;background:#17201e;color:#f6faf8;padding:18px 12px;box-shadow:8px 0 24px rgba(15,22,20,.06)}.client-shell .brand{gap:11px;min-height:64px;padding:5px 8px 18px}.client-shell .brand-mark{width:36px;height:36px;border-radius:6px;background:#16a37a;color:#ffffff}.client-shell .brand strong{color:#ffffff;font-size:15px}.client-shell .brand small{color:#91a39d}.client-shell .side-nav{gap:4px;margin-top:8px}.client-shell .side-link{min-height:44px;border-radius:6px;color:#aebdb8;padding:10px 12px;transition:background-color .15s ease,color .15s ease}.client-shell .side-link:hover{background:rgba(255,255,255,.06);color:#ffffff}.client-shell .side-link.active{background:#d9f1e8;color:#075b48;box-shadow:inset 3px 0 0 #18a37b}.client-shell .sidebar-footer{gap:8px;border-top:1px solid rgba(255,255,255,.1);padding-top:14px}.client-shell .tenant-mini{border:0;border-radius:0;background:transparent;color:#edf6f3;padding:6px 10px}.client-shell .tenant-mini small{color:#81938d}.client-shell .sidebar-footer .icon-text-button{width:100%;justify-content:flex-start;border-color:transparent;background:transparent;color:#9eaea9}.client-shell .sidebar-footer .icon-text-button:hover{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#ffffff}.client-shell .main-area{grid-template-rows:64px minmax(0,1fr)}.client-shell .topbar{height:64px;border-bottom-color:#e3e9e7;background:rgba(255,255,255,.96);padding:0 28px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.client-shell .topbar>div:first-child{display:grid;gap:3px}.client-shell .topbar strong{font-size:14px}.client-shell .topbar-actions{min-height:34px;border-color:#dce5e2;border-radius:6px;background:#f8faf9;padding:6px 9px}.client-shell .connection-dot{background:#16a37a;box-shadow:0 0 0 3px rgba(22,163,122,.12)}.client-shell .content{background:var(--bg);padding:24px 28px 40px}.client-shell .content>*{width:min(100%,1440px);margin-inline:auto}.client-shell .page-column,.client-shell .workbench-main{gap:18px}.client-shell .page-head{min-height:64px;align-items:flex-start}.client-shell .page-head h1{font-size:27px;line-height:1.22}.client-shell .page-head p,.client-shell .section-head p{margin-top:5px;color:#71807a;line-height:1.55}.client-shell .section-head h2{font-size:16px}.client-shell .danger-button,.client-shell .filter-button,.client-shell .icon-button,.client-shell .icon-text-button,.client-shell .primary-button,.client-shell .secondary-button{min-height:38px;border-radius:6px;transition:border-color .15s ease,background-color .15s ease,color .15s ease,transform .15s ease}.client-shell .primary-button{background:#116f5b;color:#ffffff}.client-shell .primary-button:hover{background:#0a5d4b}.client-shell .filter-button,.client-shell .icon-button,.client-shell .icon-text-button,.client-shell .secondary-button{border-color:#ced9d5}.client-shell .filter-button:hover,.client-shell .icon-button:hover,.client-shell .icon-text-button:hover,.client-shell .secondary-button:hover{border-color:#72ad9d;background:#f1f8f5;color:#075f4c}.client-shell input,.client-shell select,.client-shell textarea{border-color:#cbd6d2;border-radius:6px;background:#ffffff}.client-shell input:focus,.client-shell select:focus,.client-shell textarea:focus{border-color:#0c8066;box-shadow:0 0 0 3px rgba(12,128,102,.11)}.client-shell .back-link{margin-bottom:9px;color:#65736e}.client-shell .workbench-main{grid-template-columns:minmax(0,1fr) 300px;align-items:start}.client-shell .workbench-main>.dashboard-summary-links,.client-shell .workbench-main>.page-head{grid-column:1/-1}.client-shell .workbench-main>.panel-section{grid-column:1}.client-shell .workbench-main>.dashboard-create-section{grid-column:2;grid-row:3}.client-shell .dashboard-summary-links{gap:10px}.client-shell .dashboard-summary-links>a{grid-template-columns:34px minmax(0,1fr);min-height:84px;border-color:#dce4e1;border-radius:6px;padding:13px 14px;box-shadow:0 1px 2px rgba(24,33,31,.025)}.client-shell .dashboard-summary-links>a:hover{border-color:#8ab7aa;background:#f5faf8;box-shadow:0 7px 18px rgba(24,33,31,.06)}.client-shell .dashboard-summary-links svg{width:30px;height:30px;border-radius:6px;background:#edf5f2;color:#0c8066;padding:7px}.client-shell .dashboard-summary-links strong{font-size:24px}.client-shell .panel-section{border-color:#dce4e1;border-radius:6px;padding:17px 18px 10px;box-shadow:0 1px 2px rgba(24,33,31,.025)}.client-shell .dashboard-create-section{position:sticky;top:88px;gap:7px;border:1px solid #dce4e1;border-radius:6px;background:#ffffff;padding:17px}.client-shell .dashboard-create-section .section-head{margin-bottom:4px}.client-shell .dashboard-create-section .compact-task-grid{grid-template-columns:1fr;gap:0}.client-shell .dashboard-create-section .task-card{min-height:64px;grid-template-columns:32px minmax(0,1fr) 20px;align-items:center;gap:10px;border:0;border-top:1px solid #edf1ef;border-radius:0;background:transparent;padding:11px 2px;box-shadow:none}.client-shell .dashboard-create-section .task-card:first-child{border-top:0}.client-shell .dashboard-create-section .task-card:hover{background:#f5faf8;box-shadow:none}.client-shell .dashboard-create-section .task-card p{display:none}.client-shell .dashboard-create-section .task-card-action{display:block;color:#8a9893}.client-shell .config-layout,.client-shell .product-config-grid{grid-template-columns:296px minmax(0,1fr);gap:16px}.client-shell .config-layout>.config-list,.client-shell .product-list-panel{position:sticky;top:88px;max-height:calc(100vh - 112px);overflow:auto}.client-shell .config-editor,.client-shell .config-list,.client-shell .product-editor,.client-shell .product-list-panel{border-color:#dce4e1;border-radius:6px;padding:17px;box-shadow:0 1px 2px rgba(24,33,31,.025)}.client-shell .product-health-card{border-color:#c7e2d8;border-radius:6px;background:#edf8f4}.client-shell .config-items{gap:5px}.client-shell .config-item{min-height:58px;border-color:transparent;border-radius:6px;background:#f7f9f8}.client-shell .config-item:hover{border-color:#b7cec6;background:#f1f7f5}.client-shell .config-item.active{border-color:#7bb19f;background:#eaf6f2;box-shadow:inset 3px 0 0 #0c8066}.client-shell .product-editor-head{border-bottom-color:#e6ece9;padding-bottom:16px}.client-shell .product-score{border:0;border-radius:6px;background:#edf7f3;color:#09644f}.client-shell .persona-image-section,.client-shell .product-image-section,.client-shell .settings-card{border-color:#e1e8e5;border-radius:6px;background:#f8faf9}.client-shell .product-image-card,.client-shell .product-image-empty{border-radius:6px}.client-shell .product-editor-actions{position:sticky;z-index:8;bottom:12px;border:1px solid #d6e1dd;border-radius:6px;background:rgba(255,255,255,.96);padding:10px;box-shadow:0 10px 26px rgba(24,33,31,.09);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.client-shell .config-tabs{border-bottom:1px solid #dce4e1;gap:4px}.client-shell .config-tab{min-height:40px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#687570}.client-shell .config-tab:hover{color:#075f4c}.client-shell .config-tab.active{border-color:#0c8066;background:transparent;color:#075f4c}.client-shell .retention-option.active,.client-shell .retention-option:hover{border-color:#71ad9c;background:#edf8f4}.client-shell .retention-option.active{box-shadow:inset 0 0 0 1px #71ad9c}.client-shell .create-layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.client-shell .create-main{gap:0;overflow:hidden;border:1px solid #dce4e1;border-radius:6px;background:#ffffff}.client-shell .create-main>.create-step{border:0;border-bottom:1px solid #e6ece9;border-radius:0;background:transparent;padding:20px}.client-shell .create-main>.create-step:last-child{border-bottom:0}.client-shell .create-step-head{grid-template-columns:32px minmax(0,1fr);gap:12px;margin-bottom:16px}.client-shell .create-step-head>span{width:32px;height:32px;border-radius:6px;background:#dff2eb;color:#075f4c}.client-shell .create-step-head h2{font-size:17px}.client-shell .format-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.client-shell .format-grid button,.client-shell .goal-grid button{border-color:#d9e2df;border-radius:6px;background:#fafbfb;box-shadow:none}.client-shell .format-grid button:hover,.client-shell .goal-grid button:hover{border-color:#9ebfb4;background:#f4f9f7}.client-shell .format-grid button.active,.client-shell .goal-grid button.active{border-color:#59a58e;background:#eaf6f2;color:#075f4c;box-shadow:inset 3px 0 0 #0c8066}.client-shell .creation-mode-picker button{min-height:68px;border-radius:6px;background:#fafbfb}.client-shell .creation-mode-picker button.active{border-color:#59a58e;background:#eaf6f2;color:#075f4c;box-shadow:inset 3px 0 0 #0c8066}.client-shell .source-toggle{gap:4px;border:1px solid #d5dfdb;border-radius:6px;background:#f4f7f6;padding:4px}.client-shell .source-toggle button{border:0;border-radius:4px;background:transparent}.client-shell .source-toggle button.active{border:0;background:#ffffff;color:#075f4c;box-shadow:0 1px 4px rgba(24,33,31,.1)}.client-shell .goal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.client-shell .auto-topic-workspace,.client-shell .topic-draw-result{border-color:#cae1d8;border-radius:6px;background:#f2f9f6}.client-shell .auto-topic-workspace{margin-top:12px;border:1px solid #cae1d8;padding:16px}.client-shell .auto-topic-head{min-height:44px;align-items:center}.client-shell .auto-topic-head>div{align-content:center}.client-shell .auto-topic-head>.secondary-button{flex:0 0 auto;align-self:center;min-height:40px}.client-shell .create-side{position:relative}.client-shell .create-plan{top:88px;border-color:#cfdbd7;border-radius:6px;padding:18px;box-shadow:0 9px 26px rgba(24,33,31,.08)}.client-shell .create-plan-head{border-bottom:1px solid #e3eae7;padding-bottom:14px}.client-shell .create-plan dl div{border-bottom-color:#e8eeec}.client-shell .advanced-toggle{border-radius:0;background:#fbfcfc}.client-shell .record-filter-panel{grid-template-columns:minmax(250px,1fr) 180px auto;border-color:#dce4e1;border-radius:6px;background:#ffffff;padding:9px}.client-shell .record-search{border-color:#d6dfdc;border-radius:5px}.client-shell .filter-button.active{border-color:#0c8066;background:#e8f5f0;color:#075f4c}.client-shell .page-column>.table-wrap{border:1px solid #dce4e1;border-radius:6px;background:#ffffff;padding:0 16px}.client-shell .jobs-table{margin-top:0}.client-shell .jobs-table th{height:44px;color:#75827d;background:#fafbfb}.client-shell .jobs-table td{height:62px}.client-shell .jobs-table tbody tr{transition:background-color .14s ease}.client-shell .jobs-table tbody tr:hover{background:#f6faf8}.client-shell .job-title strong{line-height:1.45}.client-shell .job-title span{max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-shell .status{border-radius:999px}.client-shell .status-running{border-color:#a9d4c6;background:#eaf7f2;color:#08705a}.client-shell .progress-track{background:#e7eeeb}.client-shell .progress-track span{background:#18a37b}.client-shell .task-detail-page{width:min(100%,1320px)}.client-shell .task-delivery-head{min-height:46px;border-bottom:1px solid #dfe7e4;padding-bottom:12px}.client-shell .delivery-result-page{gap:18px}.client-shell .delivery-panel,.client-shell .feedback-panel,.client-shell .image-result-panel,.client-shell .workflow-resume-panel{border-color:#dce4e1;border-radius:6px;box-shadow:0 1px 2px rgba(24,33,31,.025)}.client-shell .document-toolbar{top:76px;border-color:#d5dfdb;border-radius:6px;box-shadow:0 8px 22px rgba(24,33,31,.08)}.client-shell .document-canvas,.client-shell .rewrite-canvas,.client-shell .video-script-canvas{border-color:#d9e2df;border-radius:6px;box-shadow:0 12px 32px rgba(24,33,31,.07)}.client-shell .document-canvas.editing,.client-shell .rewrite-canvas.editing,.client-shell .video-script-canvas.editing{border-color:#75af9f;box-shadow:0 0 0 3px rgba(12,128,102,.1),0 12px 32px rgba(24,33,31,.07)}.client-shell .content-view-tabs button.active,.client-shell .platform-tabs button.active,.client-shell .title-editor.active{border-color:#69aa97;background:#eaf6f2;color:#075f4c}.client-shell .delivery-support-details{border-color:#dce4e1;border-radius:6px;background:#ffffff}.client-shell .delivery-support-details>summary{min-height:48px;color:#61706a}.client-shell .quality-score-ring{border-color:#c9e5db;background:#edf8f4;color:#08705a}.login-screen{grid-template-columns:minmax(480px,1.1fr) minmax(400px,.9fr);background:#ffffff;font-family:Microsoft YaHei UI,PingFang SC,Microsoft YaHei,Arial,sans-serif}.login-visual{position:relative;overflow:hidden;border-right:0;background:#17201e;color:#ffffff;padding:64px clamp(42px,7vw,104px)}.login-visual .brand-mark.large{width:52px;height:52px;border-radius:7px;background:#16a37a}.login-visual h1{max-width:520px;font-size:38px;line-height:1.25}.login-visual p{color:#a8b8b3}.login-flow{position:relative;gap:0;max-width:600px}.login-flow:before{position:absolute;top:23px;right:9%;left:9%;height:1px;background:rgba(255,255,255,.15);content:""}.login-flow span{position:relative;border:0;border-radius:0;background:transparent;color:#d7e2de}.login-flow span:before{width:9px;height:9px;margin-bottom:7px;border:4px solid #17201e;border-radius:50%;background:#24b98d;box-shadow:0 0 0 1px rgba(255,255,255,.24);content:""}.login-panel{background:#ffffff;padding:42px clamp(30px,5vw,72px)}.login-card{max-width:390px}.login-card h2{font-size:25px}.login-card input{border-radius:6px}.login-card input:focus{border-color:#0c8066;box-shadow:0 0 0 3px rgba(12,128,102,.11)}.login-card .primary-button{border-radius:6px;background:#116f5b}.login-card .primary-button:hover{background:#0a5d4b}@media (max-width:1180px){.client-shell .workbench-main{grid-template-columns:1fr}.client-shell .workbench-main>.dashboard-create-section,.client-shell .workbench-main>.panel-section{grid-column:1;grid-row:auto}.client-shell .dashboard-create-section{position:static}.client-shell .dashboard-create-section .compact-task-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.client-shell .dashboard-create-section .task-card{border:1px solid #e2e9e6;border-radius:6px;padding:12px}.client-shell .record-filter-panel{grid-template-columns:minmax(240px,1fr) 180px}.client-shell .record-filter-panel .filter-bar{grid-column:1/-1;justify-content:flex-start}}@media (max-width:900px){.client-shell{grid-template-columns:76px minmax(0,1fr)}.client-shell .sidebar{padding-inline:10px}.client-shell .brand{justify-content:center;padding-inline:0}.client-shell .brand>span:last-child,.client-shell .side-link span,.client-shell .sidebar-footer{display:none}.client-shell .side-link{justify-content:center;padding-inline:0}.client-shell .content{padding-inline:20px}.client-shell .config-layout,.client-shell .create-layout,.client-shell .product-config-grid{grid-template-columns:1fr}.client-shell .config-layout>.config-list,.client-shell .create-plan,.client-shell .product-list-panel{position:static;max-height:none}.client-shell .create-side{order:-1}.client-shell .create-plan dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.login-screen{grid-template-columns:1fr}.login-visual{min-height:310px;padding-block:38px}.login-visual h1{font-size:32px}.login-panel{min-height:500px}}@media (max-width:760px){.client-shell{display:block}.client-shell .sidebar{position:fixed;inset:auto 0 0;z-index:80;width:100%;height:66px;display:block;border-top:1px solid rgba(255,255,255,.1);padding:7px 10px calc(7px + env(safe-area-inset-bottom))}.client-shell .brand,.client-shell .sidebar-footer{display:none}.client-shell .side-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0}.client-shell .side-link{min-height:50px;flex-direction:column;justify-content:center;gap:3px;border-radius:5px;padding:4px 2px;font-size:10px}.client-shell .side-link span{display:block}.client-shell .side-link.active{box-shadow:inset 0 2px 0 #18a37b}.client-shell .main-area{display:block;padding-bottom:calc(70px + env(safe-area-inset-bottom))}.client-shell .topbar{height:54px;padding:0 14px}.client-shell .topbar-actions>span:last-child,.client-shell .topbar>div:first-child span{display:none}.client-shell .topbar-actions{border:0;background:transparent;padding:0}.client-shell .content{padding:16px 14px 24px}.client-shell .page-head{min-height:0;align-items:stretch;flex-direction:column}.client-shell .page-head h1{font-size:24px}.client-shell .page-actions{width:100%}.client-shell .page-actions>*{flex:1 1}.client-shell .dashboard-summary-links{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .dashboard-summary-links>a{min-height:76px;padding:11px}.client-shell .dashboard-create-section .compact-task-grid{grid-template-columns:1fr}.client-shell .dashboard-create-section .task-card{border:0;border-top:1px solid #e6ece9;border-radius:0}.client-shell .format-grid.compact,.client-shell .goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .create-main>.create-step{padding:16px}.client-shell .create-side{order:0}.client-shell .create-plan dl{display:block}.client-shell .record-filter-panel{grid-template-columns:1fr}.client-shell .record-filter-panel .filter-bar{grid-column:auto}.client-shell .page-column>.table-wrap{border:0;background:transparent;padding:0}.client-shell .jobs-table tr{border-color:#dce4e1;border-radius:6px;background:#ffffff}.client-shell .product-editor-actions{bottom:74px}.client-shell .document-toolbar{top:0}.client-shell .retention-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-visual{min-height:250px;padding:28px 24px}.login-visual .brand-mark.large{width:44px;height:44px;margin-bottom:18px}.login-visual h1{font-size:27px}.login-visual p{margin-top:10px;font-size:14px;line-height:1.6}.login-flow{margin-top:20px}.login-flow span{min-height:42px;font-size:11px}.login-panel{min-height:auto;padding:32px 22px 40px}}@media (max-width:420px){.client-shell .dashboard-summary-links,.client-shell .format-grid.compact,.client-shell .goal-grid{grid-template-columns:1fr}.login-flow{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:8px}.login-flow:before{display:none}}.client-shell .jobs-table td:nth-child(4),.client-shell .jobs-table th:nth-child(4){white-space:nowrap}@media (max-width:760px){.client-shell .topbar{display:flex;align-items:center;justify-content:space-between;flex-direction:row}}.client-shell .workbench-main>.dashboard-attention{grid-column:1/-1}.client-shell .workbench-main>.dashboard-create-section{grid-row:auto}.client-shell .dashboard-summary-links>a{grid-template-rows:auto auto auto}.client-shell .dashboard-summary-links svg{grid-row:span 3}.client-shell .dashboard-summary-links small{color:#87938f;font-size:11px;line-height:1.35}.client-shell .dashboard-attention{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;border:1px solid #ead7a9;border-radius:6px;background:#fffaf0;padding:11px 14px;color:#6e4b0c}.client-shell .dashboard-attention>svg{width:34px;height:34px;border-radius:6px;background:#fff1cc;padding:8px;color:#986510}.client-shell .dashboard-attention>span:nth-child(2){display:grid;gap:3px}.client-shell .dashboard-attention small,.client-shell .dashboard-attention strong{display:block}.client-shell .dashboard-attention small{color:#8b7344;font-size:12px;line-height:1.45}.client-shell .dashboard-attention-action{color:#79520c;font-size:13px;font-weight:800;white-space:nowrap}.client-shell .dashboard-attention:hover{border-color:#d8b85f;background:#fff7e5}.client-shell .workbench-main.dashboard-home-main{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.client-shell .dashboard-home-main>*{grid-column:1;grid-row:auto}.client-shell .dashboard-home-head{min-height:62px;align-items:center}.client-shell .dashboard-home-head h1{font-size:28px}.client-shell .dashboard-home-head .primary-button{min-height:44px;padding-inline:17px}.client-shell .dashboard-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.client-shell .dashboard-metric{--metric-color:#2468e8;--metric-soft:#edf3ff;display:grid;grid-template-columns:52px minmax(0,1fr) 18px;min-height:108px;align-items:center;gap:14px;border:1px solid #d9e1de;border-radius:7px;background:#ffffff;color:#17211d;padding:16px;box-shadow:0 1px 2px rgba(24,33,31,.03);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.client-shell .dashboard-metric:hover{border-color:color-mix(in srgb,var(--metric-color) 42%,#d9e1de);box-shadow:0 8px 22px rgba(24,33,31,.07);transform:translateY(-1px)}.client-shell .dashboard-metric.metric-running{--metric-color:#3675e9;--metric-soft:#edf4ff}.client-shell .dashboard-metric.metric-attention{--metric-color:#d47a0b;--metric-soft:#fff4e5}.client-shell .dashboard-metric.metric-completed{--metric-color:#119364;--metric-soft:#eaf8f1}.client-shell .dashboard-metric-icon{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;background:var(--metric-soft);color:var(--metric-color)}.client-shell .dashboard-metric-copy{display:grid;gap:3px}.client-shell .dashboard-metric-copy small{color:#626f6a;font-size:13px;font-weight:700}.client-shell .dashboard-metric-copy strong{color:var(--metric-color);font-size:28px;line-height:1.1}.client-shell .dashboard-metric-arrow{color:#87928e}.client-shell .dashboard-quick-panel{display:grid;gap:10px;border:1px solid #d9e1de;border-radius:7px;background:#ffffff;padding:16px}.client-shell .dashboard-quick-panel .section-head.tight{margin-bottom:2px}.client-shell .dashboard-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.client-shell .dashboard-quick-action{display:grid;grid-template-columns:32px minmax(0,1fr) 16px;min-height:64px;align-items:center;gap:9px;border:1px solid #dbe3e0;border-radius:6px;background:#fbfcfc;color:#26312d;padding:11px 12px}.client-shell .dashboard-quick-action>svg:first-child{width:32px;height:32px;border-radius:6px;background:color-mix(in srgb,var(--task-accent) 11%,white);color:var(--task-accent);padding:7px}.client-shell .dashboard-quick-action>svg:last-child{color:#909b97}.client-shell .dashboard-quick-action strong{overflow-wrap:anywhere;font-size:13px;line-height:1.4}.client-shell .dashboard-quick-action:hover{border-color:color-mix(in srgb,var(--task-accent) 38%,#dbe3e0);background:#ffffff;box-shadow:0 5px 15px rgba(24,33,31,.06)}.client-shell .dashboard-attention-action{display:inline-flex;align-items:center;gap:3px}.client-shell .dashboard-recent-panel{display:grid;gap:12px;padding:17px 18px 0}.client-shell .dashboard-recent-panel>.section-head{align-items:center}.client-shell .dashboard-recent-footer{display:flex;justify-content:center;border-top:1px solid #e4eae7;padding:13px}.client-shell .dashboard-recent-footer a{display:inline-flex;align-items:center;gap:4px;color:#176f5c;font-size:13px;font-weight:800}.client-shell .dashboard-recent-footer a:hover{color:#095744}.client-shell .product-editor{display:grid;gap:0;padding:0}.client-shell .product-editor>.product-editor-head,.client-shell .product-editor>.product-form-section,.client-shell .product-editor>.product-image-section{padding:20px}.client-shell .product-editor>.product-editor-head{align-items:center}.client-shell .product-editor>.product-image-section,.client-shell .product-form-section{display:grid;gap:15px;border-bottom:1px solid #e5ebe9;background:#ffffff}.client-shell .product-form-section-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:11px}.client-shell .product-form-section-head>span{display:grid;width:30px;height:30px;place-items:center;border-radius:6px;background:#e4f3ee;color:#08634f;font-size:13px;font-weight:900}.client-shell .product-form-section-head h3{font-size:15px;line-height:1.35}.client-shell .product-form-section-head p,.client-shell .product-form-section-head small{color:#75827d;font-size:12px;line-height:1.45}.client-shell .product-form-section-head p{margin-top:2px}.client-shell .product-form-section-head small{border:1px solid #d4dfdb;border-radius:999px;background:#f6f9f8;padding:4px 8px;white-space:nowrap}.client-shell .product-image-section .section-head>div{flex:1 1}.client-shell .product-editor>.product-editor-actions{margin:12px}.client-shell .create-flow-indicator{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #d9e3df;background:#ffffff}.client-shell .create-flow-indicator>span{position:relative;display:flex;min-height:50px;align-items:center;justify-content:center;gap:8px;color:#73807b;font-size:13px}.client-shell .create-flow-indicator>span:not(:last-child):after{position:absolute;top:0;right:0;bottom:0;width:1px;background:#e4eae8;content:""}.client-shell .create-flow-indicator i{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#edf1ef;color:#687570;font-size:11px;font-style:normal;font-weight:900}.client-shell .create-flow-indicator>span.active{background:#eff8f5;color:#075f4c}.client-shell .create-flow-indicator>span.active i{background:#0c8066;color:#ffffff}.client-shell .create-plan .primary-button.full{min-height:46px;margin-top:4px;font-size:15px}.client-shell .record-filter-panel{position:relative;padding-bottom:40px}.client-shell .filter-bar{flex-wrap:nowrap}.client-shell .filter-bar .filter-button{gap:6px;padding-inline:10px}.client-shell .filter-bar .filter-button small{display:grid;min-width:20px;height:20px;place-items:center;border-radius:999px;background:#edf1ef;color:#6f7b77;padding:0 5px;font-size:10px;font-weight:900}.client-shell .filter-bar .filter-button.active small{background:#cfeadf;color:#075f4c}.client-shell .record-live-state{position:absolute;right:12px;bottom:11px;display:inline-flex;align-items:center;gap:6px;color:#71807a;font-size:11px}.client-shell .record-live-state>span{width:7px;height:7px;border-radius:50%;background:#18a37b;box-shadow:0 0 0 3px rgba(24,163,123,.12)}.client-shell .job-primary-cell{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px}.client-shell .job-type-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:6px;background:#edf5f2;color:#0b765f}.client-shell .settings-workspace{display:grid;grid-template-columns:244px minmax(0,1fr);gap:16px;align-items:start}.client-shell .settings-content-panel,.client-shell .settings-nav-panel{min-width:0}.client-shell .settings-nav-panel{position:sticky;top:88px;overflow:hidden;border:1px solid #dce4e1;border-radius:6px;background:#ffffff}.client-shell .settings-nav-head{display:grid;gap:3px;border-bottom:1px solid #e4eae8;padding:15px}.client-shell .settings-nav-head strong{font-size:14px}.client-shell .settings-nav-head span{color:#7a8782;font-size:11px}.client-shell .settings-tabs{display:grid;gap:4px;border:0;padding:8px}.client-shell .settings-tabs .config-tab{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;min-height:62px;border:1px solid transparent;border-radius:6px;padding:9px 10px;text-align:left}.client-shell .settings-tabs .config-tab>svg{width:30px;height:30px;border-radius:6px;background:#f0f4f2;padding:7px}.client-shell .settings-tabs .config-tab>span{display:grid;gap:3px}.client-shell .settings-tabs .config-tab strong{color:#2a3531;font-size:13px}.client-shell .settings-tabs .config-tab small{color:#7c8984;font-size:10px;font-weight:600;line-height:1.4}.client-shell .settings-tabs .config-tab.active{border-color:#92c0b2;border-radius:6px;background:#eaf6f2;box-shadow:inset 3px 0 0 #0c8066}.client-shell .settings-tabs .config-tab.active>svg{background:#cfeade;color:#08634f}.client-shell .settings-tabs .config-tab.active small,.client-shell .settings-tabs .config-tab.active strong{color:#075f4c}.client-shell .settings-content-panel{display:grid;gap:12px}.client-shell .settings-content-panel .config-editor,.client-shell .settings-content-panel>.config-editor,.client-shell .settings-content-panel>.config-layout{border-color:#dce4e1;border-radius:6px;box-shadow:0 1px 2px rgba(24,33,31,.025)}.client-shell .settings-content-panel .config-list .config-item>span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.client-shell .product-selection-head{grid-template-columns:32px minmax(0,1fr) auto;align-items:start}.client-shell .product-manage-link{display:inline-flex;min-height:34px;align-items:center;gap:7px;border:1px solid #d5dfdb;border-radius:6px;color:#5f6c67;padding:7px 10px;font-size:12px;font-weight:800}.client-shell .product-manage-link:hover{border-color:#92b8ac;background:#f2f8f6;color:#07634f}.client-shell .product-source-toggle{gap:10px;border:0;background:transparent;padding:0}.client-shell .product-source-toggle button{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 20px;min-height:92px;align-items:center;gap:12px;border:1px solid #d6e0dc;border-radius:7px;background:#fbfcfc;padding:14px;color:#202b27;box-shadow:none}.client-shell .product-source-toggle button:hover:not(:disabled){border-color:#96b9ae;background:#f5faf8}.client-shell .product-source-toggle button.active{border:1px solid #16856c;background:#eef8f4;color:#075f4c;box-shadow:inset 0 0 0 1px rgba(12,128,102,.08)}.client-shell .product-source-toggle button:disabled{cursor:not-allowed;opacity:.58}.client-shell .source-option-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:50%;background:#eef2f0;color:#5d6965}.client-shell .product-source-toggle button.active .source-option-icon{background:#d9f0e8;color:#087059}.client-shell .source-option-copy{display:grid;gap:6px;min-width:0}.client-shell .source-option-copy strong{color:inherit;font-size:15px;line-height:1.35}.client-shell .source-option-copy small{color:#73807b;font-size:12px;font-weight:600;line-height:1.5}.client-shell .product-source-toggle button.active .source-option-copy small,.client-shell .source-option-state{color:#0b755e}.client-shell .product-library-panel{display:grid;gap:10px;margin-top:2px}.client-shell .product-library-label{color:#202a26;font-size:13px;font-weight:800}.client-shell .product-library-select{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto 22px;min-height:82px;align-items:center;gap:13px;overflow:hidden;border:1px solid #d1dcd8;border-radius:7px;background:#ffffff;padding:11px 14px 11px 11px;transition:border-color .16s ease,box-shadow .16s ease}.client-shell .product-library-select:focus-within,.client-shell .product-library-select:hover:not(.disabled){border-color:#4c9d85;box-shadow:0 0 0 3px rgba(12,128,102,.1)}.client-shell .product-library-select.disabled{background:#f6f8f7;opacity:.72}.client-shell .product-library-thumb{display:grid;width:58px;height:58px;overflow:hidden;place-items:center;border:1px solid #e1e7e4;border-radius:6px;background:#f3f6f5;color:#83908b}.client-shell .product-library-thumb img{width:100%;height:100%;object-fit:contain}.client-shell .product-library-summary{display:grid;gap:5px;min-width:0}.client-shell .product-library-summary strong{overflow:hidden;color:#17211d;font-size:15px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.client-shell .product-library-summary small{overflow:hidden;color:#75817d;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.client-shell .product-library-state{color:#087059;font-size:12px;font-weight:900;white-space:nowrap}.client-shell .product-library-chevron{color:#52605b}.client-shell .product-library-select .product-select{position:absolute;inset:0;width:100%;height:100%;cursor:pointer;opacity:0}.client-shell .product-library-select .product-select:disabled{cursor:not-allowed}.client-shell .product-library-note{display:flex;min-height:46px;align-items:center;gap:10px;border-radius:6px;background:#eff8f5;color:#397064;padding:10px 13px;font-size:12px;font-weight:650;line-height:1.55}.client-shell .product-library-note svg{flex:0 0 auto;color:#0b8066}.client-shell .manual-product-fields{gap:14px;margin-top:2px}.client-shell .manual-product-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:2px}.client-shell .manual-product-title strong{font-size:13px}.client-shell .manual-product-title span{color:#7a8782;font-size:11px}@media (max-width:1180px){.client-shell .workbench-main>.dashboard-attention{grid-column:1}.client-shell .dashboard-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.client-shell .settings-workspace{grid-template-columns:1fr}.client-shell .settings-nav-panel{position:static}.client-shell .settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.client-shell .settings-tabs .config-tab{grid-template-columns:30px minmax(0,1fr)}}@media (max-width:760px){.client-shell .dashboard-attention{grid-template-columns:34px minmax(0,1fr)}.client-shell .dashboard-attention-action{display:none}.client-shell .dashboard-home-head{align-items:flex-start}.client-shell .dashboard-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .dashboard-metric{grid-template-columns:42px minmax(0,1fr) 16px;min-height:88px;gap:10px;padding:12px}.client-shell .dashboard-metric-icon{width:42px;height:42px}.client-shell .dashboard-metric-copy strong{font-size:24px}.client-shell .dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .create-flow-indicator>span{min-height:44px;gap:0}.client-shell .create-flow-indicator strong{display:none}.client-shell .product-selection-head{grid-template-columns:32px minmax(0,1fr)}.client-shell .product-manage-link{grid-column:2;width:fit-content;margin-top:8px}.client-shell .product-source-toggle button{min-height:82px}.client-shell .product-library-select{grid-template-columns:50px minmax(0,1fr) auto 18px;min-height:74px;gap:10px;padding:10px}.client-shell .product-library-thumb{width:50px;height:50px}.client-shell .manual-product-title{display:grid;justify-content:start;gap:4px}.client-shell .record-filter-panel{padding-bottom:42px}.client-shell .filter-bar{overflow-x:auto;padding-bottom:2px}.client-shell .filter-bar .filter-button{flex:0 0 auto}.client-shell .record-live-state{right:auto;left:12px}.client-shell .job-primary-cell{grid-template-columns:32px minmax(0,1fr)}.client-shell .jobs-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:12px;margin-bottom:8px}.client-shell .jobs-table td{width:auto;min-width:0;padding:0}.client-shell .jobs-table td:first-child{grid-column:1/-1}.client-shell .jobs-table td:nth-child(2),.client-shell .jobs-table td:nth-child(4){justify-self:start}.client-shell .jobs-table td:nth-child(3),.client-shell .jobs-table td:nth-child(5){justify-self:end}.client-shell .jobs-table td:nth-child(4){color:#718078;font-size:12px}.client-shell .jobs-table .progress-cell{min-width:118px}.client-shell .job-type-icon{width:32px;height:32px}.client-shell .settings-tabs{grid-template-columns:1fr}.client-shell .settings-tabs .config-tab{min-height:54px}.client-shell .product-editor>.product-editor-head,.client-shell .product-editor>.product-form-section,.client-shell .product-editor>.product-image-section{padding:16px}.client-shell .product-form-section-head{grid-template-columns:28px minmax(0,1fr)}.client-shell .product-form-section-head>small{grid-column:2;width:fit-content}}@media (max-width:430px){.client-shell .dashboard-overview-grid,.client-shell .dashboard-quick-grid{grid-template-columns:1fr}.client-shell .dashboard-home-head .primary-button{width:100%}.client-shell .auto-topic-head{display:grid;align-items:stretch}.client-shell .auto-topic-head>.secondary-button{width:100%}.client-shell .product-library-state{display:none}.client-shell .product-library-select{grid-template-columns:46px minmax(0,1fr) 18px}.client-shell .product-library-thumb{width:46px;height:46px}}.client-shell .records-page{gap:18px}.client-shell .records-page-head{align-items:flex-end}.client-shell .record-kind-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-shell .record-kind-switch>button{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;min-height:68px;border:1px solid #dce4e1;border-radius:6px;background:#ffffff;color:#65736e;padding:10px 14px;text-align:left}.client-shell .record-kind-switch>button>svg{box-sizing:content-box;border-radius:6px;background:#f1f5f3;color:#66746f;padding:10px}.client-shell .record-kind-switch>button>span{display:grid;gap:3px}.client-shell .record-kind-switch strong{color:#202a27;font-size:15px}.client-shell .record-kind-switch small{color:#74817c;font-size:12px}.client-shell .record-kind-switch>button.active,.client-shell .record-kind-switch>button:hover{border-color:#6fa996;background:#f4fbf8}.client-shell .record-kind-switch>button.active>svg{background:#dcefe8;color:#08735c}.client-shell .record-kind-switch>button.active strong{color:#075f4c}.client-shell .record-control-panel{overflow:hidden;border:1px solid #dce4e1;border-radius:6px;background:#ffffff}.client-shell .record-status-tabs{display:flex;align-items:stretch;gap:24px;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid #e3e9e7;padding:0 16px;scrollbar-width:none}.client-shell .record-status-tabs::-webkit-scrollbar{display:none}.client-shell .record-status-tab{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-height:52px;border:0;background:transparent;color:#687570;padding:0 2px;font-size:13px;font-weight:700}.client-shell .record-status-tab:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:transparent;content:""}.client-shell .record-status-tab.active,.client-shell .record-status-tab:hover{color:#075f4c}.client-shell .record-status-tab.active:after{background:#0c8066}.client-shell .record-status-tab small{display:grid;min-width:21px;height:21px;place-items:center;border-radius:999px;background:#edf1ef;color:#6d7975;padding:0 6px;font-size:10px;font-weight:900}.client-shell .record-status-tab.active small{background:#d9efe7;color:#075f4c}.client-shell .record-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 200px auto;align-items:center;gap:10px;padding:14px 16px}.client-shell .record-toolbar .record-search,.client-shell .record-toolbar select{min-height:42px}.client-shell .record-toolbar .record-live-state{position:static;justify-self:end;white-space:nowrap}.client-shell .records-page>.record-table-wrap{overflow:hidden;border:1px solid #dce4e1;border-radius:6px;background:#ffffff;padding:0}.client-shell .record-jobs-table{width:100%;min-width:880px;table-layout:fixed}.client-shell .record-jobs-table td,.client-shell .record-jobs-table th{padding-right:16px;padding-left:16px}.client-shell .record-jobs-table td:first-child,.client-shell .record-jobs-table th:first-child{width:43%}.client-shell .record-jobs-table td:nth-child(2),.client-shell .record-jobs-table th:nth-child(2){width:104px}.client-shell .record-jobs-table td:nth-child(3),.client-shell .record-jobs-table th:nth-child(3){width:250px}.client-shell .record-jobs-table td:nth-child(4),.client-shell .record-jobs-table th:nth-child(4){width:138px}.client-shell .record-jobs-table td:last-child,.client-shell .record-jobs-table th:last-child{width:132px}.client-shell .record-jobs-table th{height:48px;border-bottom-color:#dfe6e3;background:#fafbfb}.client-shell .record-jobs-table td{height:72px}.client-shell .record-jobs-table tbody tr:last-child td{border-bottom:0}.client-shell .record-jobs-table tbody tr:hover{background:#f7faf9}.client-shell .record-jobs-table .job-title{min-width:0;gap:2px}.client-shell .record-jobs-table .job-title strong{overflow:hidden;color:#1f2926;text-overflow:ellipsis;white-space:nowrap}.client-shell .record-jobs-table .job-meta{color:#7a8782}.client-shell .record-jobs-table .job-error-summary{overflow:hidden;max-width:100%;color:#b42318;text-overflow:ellipsis;white-space:nowrap}.client-shell .record-jobs-table .job-warning-summary{display:inline-flex;align-items:center;gap:4px;overflow:hidden;max-width:100%;color:#a05a00;text-overflow:ellipsis;white-space:nowrap}.client-shell .record-jobs-table .progress-complete,.client-shell .record-jobs-table .progress-failed,.client-shell .record-jobs-table .progress-partial,.client-shell .record-jobs-table .progress-waiting{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.client-shell .record-jobs-table .progress-complete{color:#08705a}.client-shell .record-jobs-table .progress-failed{color:#b42318}.client-shell .record-jobs-table .progress-partial{color:#a05a00}.client-shell .record-jobs-table .progress-with-estimate{display:grid;min-width:0;gap:5px}.client-shell .record-jobs-table .job-time-estimate{overflow:hidden;color:#68766f;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.client-shell .image-action-progress .job-time-estimate{display:block;margin-top:5px}@media (max-width:720px){.image-delivery-warning,.missing-image-slots article{grid-template-columns:auto minmax(0,1fr)}.image-delivery-warning>button,.missing-image-slots article>button{grid-column:1/-1;width:100%}}.client-shell .record-jobs-table .job-time-column{color:#61706a;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.client-shell .record-jobs-table .job-row-actions{justify-content:flex-end}.client-shell .record-jobs-table .job-view-action{min-height:34px;padding:0 11px;font-size:12px}.client-shell .image-action-running,.client-shell .record-jobs-table .progress-running{display:inline-flex;align-items:center;gap:6px;color:#1769aa;font-size:12px;font-weight:800}.client-shell .image-action-running svg,.client-shell .record-jobs-table .progress-running svg{animation:spin 1.1s linear infinite}.client-shell .image-action-table{min-width:1040px}.client-shell .image-action-table td:first-child,.client-shell .image-action-table th:first-child{width:31%}.client-shell .image-action-table td:nth-child(2),.client-shell .image-action-table th:nth-child(2){width:116px}.client-shell .image-action-table td:nth-child(3),.client-shell .image-action-table th:nth-child(3){width:190px}.client-shell .image-action-table td:nth-child(4),.client-shell .image-action-table th:nth-child(4){width:180px}.client-shell .image-action-table td:nth-child(5),.client-shell .image-action-table th:nth-child(5){width:136px}.client-shell .image-action-table td:last-child,.client-shell .image-action-table th:last-child{width:146px}.client-shell .image-action-thumb{overflow:hidden}.client-shell .image-action-thumb img{width:100%;height:100%;object-fit:cover}.client-shell .image-action-kind,.client-shell .image-action-position,.client-shell .image-action-progress{vertical-align:middle}.client-shell .image-action-kind small,.client-shell .image-action-position small,.client-shell .image-action-position strong{display:block}.client-shell .image-action-position strong{color:#24302c;font-size:13px}.client-shell .image-action-kind small,.client-shell .image-action-position small{overflow:hidden;margin-top:4px;color:#77837e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.client-shell .image-action-kind>span{display:inline-flex;align-items:center;gap:6px;color:#34413d;font-size:13px;font-weight:750}.client-shell .image-action-kind>span svg{color:#0c8066}.client-shell .image-action-progress .progress-cell{margin-top:7px}.client-shell .image-action-table .job-view-action{white-space:nowrap}.client-shell .document-image-block{scroll-margin-top:96px}.client-shell .document-image-block:target{outline:3px solid rgba(12,128,102,.22);outline-offset:5px}.client-shell .record-pagination{justify-content:space-between;border-top:1px solid #e1e8e5;padding:14px 16px 0}.client-shell .record-pagination>div{display:flex;align-items:center;gap:10px}.client-shell .record-pagination .secondary-button{min-height:34px;padding:0 10px;font-size:12px}.client-shell .records-page>.empty-state{min-height:260px;border-style:solid;background:#ffffff}@media (min-width:1001px) and (max-width:1100px){.client-shell .record-jobs-table{min-width:700px}.client-shell .record-jobs-table td:first-child,.client-shell .record-jobs-table th:first-child{width:36%}.client-shell .record-jobs-table td:nth-child(2),.client-shell .record-jobs-table th:nth-child(2){width:90px}.client-shell .record-jobs-table td:nth-child(3),.client-shell .record-jobs-table th:nth-child(3){width:145px}.client-shell .record-jobs-table td:nth-child(4),.client-shell .record-jobs-table th:nth-child(4){width:118px}.client-shell .record-jobs-table td:last-child,.client-shell .record-jobs-table th:last-child{width:120px}}@media (max-width:980px){.client-shell .record-toolbar{grid-template-columns:minmax(240px,1fr) 190px}.client-shell .image-action-table{min-width:0}.client-shell .image-action-table .image-action-kind{grid-column:1/-1}.client-shell .image-action-table .image-action-kind small{white-space:normal}.client-shell .record-toolbar .record-live-state{grid-column:1/-1;justify-self:start}}@media (max-width:1000px){.client-shell .records-page{gap:14px}.client-shell .records-page-head{align-items:stretch}.client-shell .record-status-tabs{gap:20px;padding:0 14px;scroll-snap-type:x proximity}.client-shell .record-status-tab{min-height:48px;scroll-snap-align:start}.client-shell .record-toolbar{grid-template-columns:1fr;padding:12px}.client-shell .record-toolbar .record-live-state{grid-column:auto}.client-shell .records-page>.record-table-wrap{overflow:visible;border:0;background:transparent}.client-shell .record-jobs-table{min-width:0}.client-shell .record-jobs-table tbody{display:grid;gap:9px}.client-shell .record-jobs-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;margin:0;border:1px solid #dce4e1;border-radius:6px;background:#ffffff;padding:14px}.client-shell .record-jobs-table td{display:block;width:auto!important;height:auto;border:0;padding:0}.client-shell .record-jobs-table .job-content-column{grid-column:1/-1}.client-shell .record-jobs-table .job-status-column,.client-shell .record-jobs-table .job-time-column{justify-self:start}.client-shell .record-jobs-table .job-action-column,.client-shell .record-jobs-table .job-progress-column{justify-self:end}.client-shell .record-jobs-table .job-time-column{align-self:center;color:#718078;font-size:12px}.client-shell .record-jobs-table .job-title strong{white-space:normal}.client-shell .record-jobs-table .job-error-summary{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5}.client-shell .record-jobs-table .progress-cell{min-width:128px}.client-shell .record-pagination{display:grid;justify-content:stretch;gap:10px;border:1px solid #dce4e1;border-radius:6px;background:#ffffff;padding:12px}.client-shell .record-pagination>div{justify-content:space-between}}@media (max-width:430px){.client-shell .record-kind-switch{grid-template-columns:1fr}.client-shell .record-status-tabs{margin-right:-1px}.client-shell .record-jobs-table .job-view-action{min-width:38px;padding:0 9px}.client-shell .record-jobs-table .job-view-action span,.client-shell .record-pagination .secondary-button span{display:none}}.client-shell .product-config-page{gap:16px}.client-shell .simple-product-grid{grid-template-columns:310px minmax(0,1fr);gap:16px}.client-shell .product-list-panel{display:grid;gap:0;overflow:hidden;padding:0}.client-shell .product-list-panel .list-head{padding:17px 17px 12px}.client-shell .product-list-search{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;margin:0 12px 10px;border:1px solid #d9e2df;border-radius:6px;background:#ffffff;color:#7c8984;padding:0 10px}.client-shell .product-list-search:focus-within{border-color:#6ea996;box-shadow:0 0 0 3px rgba(12,128,102,.1)}.client-shell .product-list-search input{min-width:0;height:38px;border:0;outline:0;background:transparent;padding:0;color:#17211e;font:inherit;font-size:13px}.client-shell .product-default-note{display:flex;min-width:0;align-items:center;gap:7px;margin:0 12px 10px;border:1px solid #d6e9e2;border-radius:6px;background:#f0f8f5;color:#146852;padding:9px 10px;font-size:12px;font-weight:700}.client-shell .product-default-note span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-shell .product-list-panel .config-items{gap:0;border-top:1px solid #e5ebe9;border-bottom:1px solid #e5ebe9}.client-shell .product-list-panel .config-item.product-row{grid-template-columns:52px minmax(0,1fr) auto;min-height:72px;gap:11px;border:0;border-bottom:1px solid #e8edeb;border-radius:0;background:#ffffff;padding:10px 12px}.client-shell .product-list-panel .config-item.product-row:last-child{border-bottom:0}.client-shell .product-list-panel .config-item.product-row:hover{border-color:#e8edeb;background:#f6faf8}.client-shell .product-list-panel .config-item.product-row.active{border-color:#e8edeb;background:#edf7f3;box-shadow:inset 3px 0 0 #0c8066}.client-shell .product-row-thumb{display:grid;width:52px;height:52px;place-items:center;overflow:hidden;border:1px solid #dfe7e4;border-radius:6px;background:#f3f7f5;color:#8b9893}.client-shell .product-row-thumb img{width:100%;height:100%;object-fit:cover}.client-shell .product-row-copy{min-width:0;display:grid;align-content:center;gap:5px;text-align:left}.client-shell .product-row-copy span,.client-shell .product-row-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-shell .product-list-panel .product-row small{align-self:start;margin-top:2px;border-color:#b8decf;background:#e8f7f1;color:#0b765b;padding:3px 6px;font-size:11px}.client-shell .product-list-panel .list-empty{margin:12px}.client-shell .product-list-footer{padding:11px 15px;color:#78857f;font-size:12px}.client-shell .simple-product-editor{overflow:visible}.client-shell .simple-product-editor>.product-editor-head{min-height:92px;align-items:center;gap:20px;border-bottom:1px solid #e5ebe9;padding:18px 20px}.client-shell .simple-product-editor .product-editor-head h2{margin:0;font-size:20px}.client-shell .simple-product-editor .product-editor-head p{margin-top:5px;line-height:1.5}.client-shell .product-editor-status{display:flex;max-width:320px;flex-wrap:wrap;justify-content:flex-end;gap:7px}.client-shell .product-editor-status>span{display:inline-flex;align-items:center;gap:5px;border:1px solid #d9e2df;border-radius:999px;background:#f7f9f8;padding:5px 8px;color:#66746e;font-size:12px;font-weight:800}.client-shell .product-editor-status>span.complete,.client-shell .product-editor-status>span.primary{border-color:#b9dece;background:#eaf7f2;color:#0c7358}.client-shell .product-editor-status>span.incomplete{border-color:#ead5ac;background:#fff8e9;color:#9b5b08}.client-shell .product-editor-status small{width:100%;color:#78857f;font-size:12px;text-align:right}.client-shell .simple-product-editor>.product-form-section,.client-shell .simple-product-editor>.product-image-section{gap:13px;padding:17px 20px}.client-shell .simple-product-editor .product-form-section-head{grid-template-columns:28px minmax(0,1fr) auto;gap:10px}.client-shell .simple-product-editor .product-form-section-head>span{width:28px;height:28px}.client-shell .simple-product-editor .product-basic-grid{grid-template-columns:minmax(0,620px)}.client-shell .simple-product-editor textarea{resize:vertical}.client-shell .simple-product-editor .product-form-section:nth-of-type(2) textarea{min-height:154px}.client-shell .simple-product-editor .product-form-section:nth-of-type(3) textarea{min-height:134px}.client-shell .product-image-count{display:inline-flex;align-items:center;border:1px solid #d9e2df;border-radius:999px;background:#f7f9f8;color:#66746e;padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}.client-shell .simple-product-editor .product-image-grid{grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:10px}.client-shell .simple-product-editor .product-image-card{position:relative;overflow:hidden;border-radius:6px;background:#f7f9f8}.client-shell .simple-product-editor .product-image-card img{aspect-ratio:1;object-fit:cover}.client-shell .product-image-remove{position:absolute;top:7px;right:7px;z-index:2;border-color:rgba(255,255,255,.8)!important;background:rgba(24,33,31,.78)!important;color:#ffffff!important;box-shadow:0 3px 10px rgba(24,33,31,.18)}.client-shell .product-image-remove:hover{background:#b42318!important}.client-shell .product-image-caption{display:block;padding:8px 9px}.client-shell .product-image-upload-card{min-height:164px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed #aebfba;border-radius:6px;background:#fafcfb;color:#48655b;padding:14px;cursor:pointer;text-align:center}.client-shell .product-image-upload-card:hover{border-color:#5f9f8a;background:#f0f8f5;color:#0b7158}.client-shell .product-image-upload-card strong{font-size:13px}.client-shell .product-image-upload-card span{color:#7c8984;font-size:11px}.client-shell .product-image-upload-card.disabled{opacity:.5;cursor:not-allowed}.client-shell .simple-product-editor>.product-editor-actions{display:grid;grid-template-columns:minmax(190px,1fr) auto auto auto;align-items:center;margin:12px;border-top:1px solid #d6e1dd;padding:10px}.client-shell .product-save-state{min-width:0;display:grid;grid-template-columns:9px minmax(0,1fr);align-items:center;gap:9px;margin-right:auto}.client-shell .product-save-state>span{width:8px;height:8px;border-radius:50%;background:#15936f;box-shadow:0 0 0 4px rgba(21,147,111,.1)}.client-shell .product-save-state.dirty>span{background:#d9820b;box-shadow:0 0 0 4px rgba(217,130,11,.1)}.client-shell .product-save-state.new>span{background:#2878d4;box-shadow:0 0 0 4px rgba(40,120,212,.1)}.client-shell .product-save-state div{min-width:0;display:grid;gap:2px}.client-shell .product-save-state strong{font-size:13px}.client-shell .product-save-state small{overflow:hidden;color:#78857f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1040px){.client-shell .simple-product-grid{grid-template-columns:280px minmax(0,1fr)}.client-shell .simple-product-editor>.product-editor-actions{grid-template-columns:1fr auto auto}.client-shell .product-save-state{grid-column:1/-1}}@media (max-width:900px){.client-shell .simple-product-grid{grid-template-columns:1fr}.client-shell .product-list-panel{position:static;max-height:none}.client-shell .product-list-panel .config-items{max-height:300px;overflow:auto}}@media (max-width:760px){.client-shell .simple-product-editor>.product-editor-head{align-items:flex-start;flex-direction:column}.client-shell .product-editor-status{max-width:none;justify-content:flex-start}.client-shell .product-editor-status small{text-align:left}.client-shell .simple-product-editor .product-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .simple-product-editor>.product-editor-actions{bottom:74px;grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .product-save-state,.client-shell .simple-product-editor>.product-editor-actions>button:last-child{grid-column:1/-1}}@media (max-width:430px){.client-shell .product-list-panel .config-item.product-row{grid-template-columns:46px minmax(0,1fr)}.client-shell .product-row-thumb{width:46px;height:46px}.client-shell .product-list-panel .product-row small{grid-column:2;justify-self:start;margin:0}.client-shell .simple-product-editor>.product-editor-head,.client-shell .simple-product-editor>.product-form-section,.client-shell .simple-product-editor>.product-image-section{padding:15px}.client-shell .product-image-upload-card{min-height:142px}}.client-shell .create-workbench{gap:16px}.client-shell .create-workbench .page-head p{max-width:680px}.client-shell .create-flow-indicator{border-radius:6px}.client-shell .create-flow-indicator>span.completed{background:#f8fbfa;color:#3f6d61}.client-shell .create-flow-indicator>span.completed i{position:relative;overflow:hidden;background:#dff1eb;color:transparent}.client-shell .create-flow-indicator>span.completed i:after{position:absolute;inset:0;display:grid;place-items:center;color:#087159;content:"✓";font-size:13px}.client-shell .create-layout{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.client-shell .create-main>.create-step{padding:18px 20px}.client-shell .create-step-head{margin-bottom:13px}.client-shell .simplified-create .format-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.client-shell .simplified-create .format-grid.compact button{position:relative;min-height:102px;align-content:start;grid-template-columns:20px minmax(0,1fr);gap:7px 8px;padding:12px 10px}.client-shell .simplified-create .format-grid.compact button strong{align-self:center;font-size:14px;white-space:nowrap}.client-shell .simplified-create .format-grid.compact button span:not(.format-card-check){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:11px;line-height:1.45}.client-shell .format-card-check{position:absolute;top:9px;right:9px;color:#0b8066!important}.client-shell .creation-mode-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;border-top:1px solid #e6ece9;padding-top:12px}.client-shell .creation-mode-picker button{min-height:54px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 10px;padding:9px 12px;text-align:left}.client-shell .creation-mode-picker button span{grid-row:1/3;align-self:stretch;display:flex;align-items:center;border-right:1px solid #dfe6e3;padding-right:12px;font-size:13px;font-weight:900}.client-shell .creation-mode-picker button small{align-self:center;font-size:11px;line-height:1.4}.client-shell .selected-product-images{display:flex;align-items:center;gap:8px;padding-top:2px}.client-shell .selected-product-images img,.client-shell .selected-product-images>span{width:52px;height:52px;border:1px solid #dde5e2;border-radius:6px;background:#f5f8f7}.client-shell .selected-product-images img{object-fit:cover}.client-shell .selected-product-images>span{display:grid;place-items:center;color:#61706a;font-size:12px;font-weight:900}.client-shell .goal-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.client-shell .goal-grid .goal-card,.client-shell .goal-grid .goal-card.featured{grid-column:auto;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 8px;text-align:center}.client-shell .goal-grid .goal-card strong{font-size:12px;white-space:nowrap}.client-shell .goal-grid .goal-card>svg{flex:0 0 auto;color:#0b8066}.client-shell .goal-selection-info{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;border:1px solid #d6e6e0;border-radius:6px;background:#f5faf8;padding:11px 13px;color:#236653}.client-shell .goal-selection-info>svg{margin-top:1px;color:#0c8066}.client-shell .goal-selection-info>div{display:grid;gap:3px}.client-shell .goal-selection-info strong{font-size:13px}.client-shell .goal-selection-info span{color:#66756f;font-size:12px;line-height:1.5}.client-shell .auto-topic-workspace,.client-shell .topic-draw-result{margin-top:0}.client-shell .advanced-toggle{min-height:62px;grid-template-columns:20px minmax(0,1fr) 20px;padding:10px 20px}.client-shell .advanced-toggle-copy{min-width:0;display:grid;gap:3px}.client-shell .advanced-toggle-copy strong{font-size:14px}.client-shell .advanced-toggle-copy small{overflow:hidden;color:#7a8782;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.client-shell .advanced-settings-groups{display:grid;gap:0;border-top:1px solid #e6ece9}.client-shell .advanced-settings-group{display:grid;gap:13px;border-bottom:1px solid #e6ece9;padding:16px 20px}.client-shell .advanced-settings-group:last-child{border-bottom:0}.client-shell .advanced-settings-title{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:9px}.client-shell .advanced-settings-title>svg{margin-top:1px;color:#0c8066}.client-shell .advanced-settings-title>div{display:grid;gap:2px}.client-shell .advanced-settings-title strong{font-size:13px}.client-shell .advanced-settings-title span{color:#7a8782;font-size:11px}.client-shell .advanced-settings-group .form-grid{padding:0}.client-shell .advanced-settings-group .option-check-grid{grid-template-columns:repeat(3,minmax(0,1fr));border:0;background:transparent;padding:0}.client-shell .create-side{position:sticky;top:88px}.client-shell .create-plan{top:auto;gap:13px;padding:16px}.client-shell .create-plan-head{grid-template-columns:28px minmax(0,1fr);gap:9px}.client-shell .create-readiness{display:flex;min-height:42px;align-items:center;gap:8px;border:1px solid #ead7b2;border-radius:6px;background:#fff9ee;color:#8f580a;padding:9px 10px;font-size:12px;font-weight:800;line-height:1.4}.client-shell .create-readiness.ready{border-color:#bfe1d4;background:#edf8f4;color:#0a6e56}.client-shell .create-plan dl{gap:0;border-top:1px solid #e6ece9}.client-shell .create-plan dl div{grid-template-columns:26px 62px minmax(0,1fr);gap:7px;align-items:center;border-bottom:1px solid #e8eeec;padding:9px 0}.client-shell .plan-row-icon{display:grid;width:26px;height:26px;place-items:center;border-radius:5px;background:#eef5f2;color:#176b57}.client-shell .create-plan dt{font-size:11px}.client-shell .create-plan dd{font-size:12px;line-height:1.45}.client-shell .create-plan .primary-button.full{min-height:48px;margin-top:0}@media (max-width:1200px){.client-shell .simplified-create .format-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.client-shell .goal-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (max-width:900px){.client-shell .create-layout{grid-template-columns:1fr}.client-shell .create-side{position:static;order:0}.client-shell .create-plan dl{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .create-plan dl div{grid-template-columns:26px 58px minmax(0,1fr)}}@media (max-width:760px){.client-shell .simplified-create .format-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .goal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.client-shell .creation-mode-picker{grid-template-columns:1fr}.client-shell .create-plan dl{display:grid;grid-template-columns:1fr}.client-shell .advanced-settings-group .form-grid,.client-shell .advanced-settings-group .option-check-grid{grid-template-columns:1fr}}@media (max-width:430px){.client-shell .simplified-create .format-grid.compact{grid-template-columns:1fr}.client-shell .simplified-create .format-grid.compact button{min-height:78px}.client-shell .goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .selected-product-images img,.client-shell .selected-product-images>span{width:46px;height:46px}.client-shell .advanced-toggle{padding-inline:15px}.client-shell .advanced-settings-group{padding:15px}}.client-shell .settings-page{gap:16px}.client-shell .settings-page-head{align-items:flex-end}.client-shell .settings-page .settings-workspace{grid-template-columns:210px minmax(0,1fr);gap:14px}.client-shell .settings-page .settings-nav-panel{top:78px}.client-shell .settings-page .settings-nav-head{padding:14px}.client-shell .settings-page .settings-tabs .config-tab{min-height:58px}.client-shell .settings-page .settings-content-panel>.form-error,.client-shell .settings-page .settings-content-panel>.form-success{position:sticky;top:70px;z-index:12;margin:0;box-shadow:0 8px 20px rgba(24,33,31,.08)}.client-shell .settings-form{align-content:start;gap:0;overflow:visible;padding:0}.client-shell .settings-form>.section-head{border-bottom:1px solid #e2e9e6;padding:17px 18px}.client-shell .settings-form-section{display:grid;gap:13px;border-bottom:1px solid #e5ebe8;padding:17px 18px}.client-shell .settings-form-section-head{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px}.client-shell .settings-form-section-head>span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#e8f4f0;color:#08705a;font-size:12px;font-weight:900}.client-shell .settings-form-section-head>div{display:grid;gap:2px}.client-shell .settings-form-section-head strong{font-size:14px}.client-shell .settings-form-section-head small{color:#7a8782;font-size:11px}.client-shell .settings-form-section .form-grid,.client-shell .settings-form-section>label{margin-left:38px}.client-shell .settings-form-section textarea{width:100%;resize:vertical}.client-shell .settings-save-bar{position:sticky;bottom:14px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;border-top:1px solid #dbe4e0;border-radius:0 0 6px 6px;background:rgba(255,255,255,.96);padding:12px 18px;box-shadow:0 -8px 22px rgba(24,33,31,.06);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.client-shell .settings-save-state{min-width:0;display:grid;grid-template-columns:9px minmax(0,1fr);align-items:center;gap:9px}.client-shell .settings-save-state>span{width:9px;height:9px;border-radius:50%;background:#15936f;box-shadow:0 0 0 4px rgba(21,147,111,.1)}.client-shell .settings-save-state.dirty>span{background:#d9820b;box-shadow:0 0 0 4px rgba(217,130,11,.1)}.client-shell .settings-save-state>div{min-width:0;display:grid;gap:2px}.client-shell .settings-save-state strong{font-size:12px}.client-shell .settings-save-state small{overflow:hidden;color:#7a8782;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.client-shell .settings-save-actions .primary-button,.client-shell .settings-save-bar>.primary-button{min-width:126px}.client-shell .settings-save-actions{display:flex;align-items:center;gap:8px}.client-shell .persona-settings-layout{grid-template-columns:230px minmax(0,1fr);gap:14px}.client-shell .persona-config-list{position:sticky;top:78px;max-height:calc(100vh - 96px);overflow:hidden;padding:0}.client-shell .persona-config-list .list-head{align-items:center;border-bottom:1px solid #e3e9e7;padding:14px}.client-shell .persona-add-button{min-height:34px;padding:0 9px;font-size:11px}.client-shell .persona-config-list .config-items{overflow-y:auto;padding:8px}.client-shell .persona-list-item{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:9px;min-height:86px;border-color:transparent;border-radius:6px;background:#f7f9f8;padding:10px}.client-shell .persona-list-item.active{border-color:#8fbbae;background:#eaf6f2;box-shadow:inset 3px 0 0 #0c8066}.client-shell .persona-list-avatar{display:grid!important;width:38px;height:38px;place-items:center;overflow:hidden;border-radius:50%;background:#e8efec;color:#5e7069!important}.client-shell .persona-list-avatar img{width:100%;height:100%;object-fit:cover}.client-shell .persona-list-copy{min-width:0;display:grid!important;gap:3px}.client-shell .persona-list-copy>strong{display:flex;min-width:0;align-items:center;gap:6px;font-size:13px}.client-shell .persona-list-copy>strong small{flex:0 0 auto;border-radius:999px;background:#d6eee5;color:#08705a;padding:2px 6px;font-size:9px}.client-shell .persona-list-copy>span{display:-webkit-box!important;overflow:hidden;color:#74817c!important;-webkit-box-orient:vertical;-webkit-line-clamp:2!important;line-clamp:2!important;font-size:10px!important;line-height:1.45!important}.client-shell .persona-list-copy>small{color:#5f766e;font-size:9px;font-weight:800}.client-shell .persona-settings-editor{gap:0;padding:0}.client-shell .persona-settings-editor>.form-grid,.client-shell .persona-settings-editor>.section-head{padding:17px 18px}.client-shell .persona-settings-editor>.section-head{border-bottom:1px solid #e3e9e7}.client-shell .persona-editor-state{flex:0 0 auto;border:1px solid #cfe2db;border-radius:999px;background:#f0f8f5;color:#176b57;padding:6px 9px;font-size:10px;font-weight:800}.client-shell .persona-basics-grid{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:end;gap:12px}.client-shell .persona-default-field{min-height:68px;align-items:center;border:1px solid #dce4e1;border-radius:6px;background:#f8faf9;padding:10px 12px}.client-shell .persona-default-field>span{display:grid;gap:2px}.client-shell .persona-default-field strong{font-size:12px}.client-shell .persona-default-field small{color:#7a8782;font-size:10px}.client-shell .persona-settings-editor textarea{min-height:250px;resize:vertical}.client-shell .persona-settings-editor .persona-image-section{margin-top:2px;border-top-color:#e3e9e7}.client-shell .persona-image-count{display:inline-flex;width:fit-content;align-items:center;gap:6px;border-radius:999px;background:#eef5f2;color:#426b5f;padding:5px 8px}.client-shell .persona-settings-editor .compact-image-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}.client-shell .settings-system-form .settings-card{border:0;border-bottom:1px solid #e3e9e7;border-radius:0;background:#ffffff;padding:18px}.client-shell .retention-rule-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-shell .retention-rule-summary>div{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #e0e7e4;border-radius:6px;background:#f8faf9;padding:10px}.client-shell .retention-rule-summary svg{width:34px;height:34px;border-radius:6px;background:#eaf4f0;color:#14715b;padding:8px}.client-shell .retention-rule-summary span{display:grid;gap:2px}.client-shell .retention-rule-summary strong{font-size:12px}.client-shell .retention-rule-summary small{color:#77847f;font-size:10px}.client-shell .retention-option{position:relative;border-radius:6px}.client-shell .retention-option-check{position:absolute;top:8px;right:8px;display:none;width:22px;height:22px;place-items:center;border-radius:50%;background:#0c8066;color:#ffffff!important}.client-shell .retention-option.active .retention-option-check{display:grid}.client-shell .recent-topic-settings-card{display:grid;gap:16px}.client-shell .recent-topic-card-head,.client-shell .recent-topic-history-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.client-shell .settings-switch{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px;cursor:pointer}.client-shell .settings-switch input{position:absolute;opacity:0;pointer-events:none}.client-shell .settings-switch>span{position:relative;width:42px;height:24px;border-radius:999px;background:#cbd5d1;transition:background .16s ease}.client-shell .settings-switch>span:after{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#ffffff;box-shadow:0 1px 4px rgba(24,33,31,.2);content:"";transition:transform .16s ease}.client-shell .settings-switch input:checked+span{background:#0c8066}.client-shell .settings-switch input:checked+span:after{transform:translateX(18px)}.client-shell .settings-switch strong{min-width:42px;color:#465650;font-size:11px}.client-shell .recent-topic-policy{display:grid;grid-template-columns:minmax(260px,1.35fr) minmax(150px,.7fr) minmax(170px,.8fr);gap:12px;border:1px solid #e0e7e4;border-radius:6px;background:#f8faf9;padding:13px}.client-shell .recent-topic-policy.disabled{opacity:.62}.client-shell .recent-topic-policy-field{display:grid;align-content:start;gap:7px;color:#53625d;font-size:11px;font-weight:800}.client-shell .recent-topic-policy-field select{min-height:39px;width:100%}.client-shell .recent-topic-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid #d7e1dd;border-radius:6px;background:#ffffff}.client-shell .recent-topic-mode-options button{min-height:37px;border:0;border-right:1px solid #dfe7e4;background:transparent;color:#64716c;font:inherit;cursor:pointer}.client-shell .recent-topic-mode-options button:last-child{border-right:0}.client-shell .recent-topic-mode-options button.active{background:#e8f5f0;color:#08705a}.client-shell .recent-topic-share-option{grid-column:1/-1;display:grid;grid-template-columns:17px minmax(0,1fr);align-items:start;gap:8px;border-top:1px solid #e1e8e5;padding-top:11px;cursor:pointer}.client-shell .recent-topic-share-option input{margin-top:2px}.client-shell .recent-topic-share-option>span{display:grid;gap:2px}.client-shell .recent-topic-share-option strong{font-size:11px}.client-shell .recent-topic-share-option small{color:#788580;font-size:10px;font-weight:400}.client-shell .recent-topic-history{display:grid;gap:10px;border-top:1px solid #e1e8e5;padding-top:15px}.client-shell .recent-topic-history-head>div{display:flex;align-items:center;gap:8px}.client-shell .recent-topic-history-head>div:first-child>span{display:grid;gap:1px}.client-shell .recent-topic-history-head strong{font-size:12px}.client-shell .recent-topic-history-head small{color:#7a8782;font-size:9px}.client-shell .recent-topic-clear{min-height:34px;padding:0 10px;font-size:10px}.client-shell .recent-topic-list{max-height:290px;overflow-y:auto;border:1px solid #e0e7e4;border-radius:6px;background:#ffffff}.client-shell .recent-topic-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:10px;border-bottom:1px solid #edf1ef;padding:10px 11px}.client-shell .recent-topic-row:last-child{border-bottom:0}.client-shell .recent-topic-row-main{min-width:0;display:grid;gap:3px}.client-shell .recent-topic-row-main strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.client-shell .recent-topic-row-main small{color:#7a8782;font-size:9px}.client-shell .danger-quiet{color:#a84a42}.client-shell .recent-topic-empty{display:grid;min-height:98px;place-items:center;align-content:center;gap:7px;color:#8b9792;font-size:11px}@media (max-width:1000px){.client-shell .settings-page .settings-workspace{grid-template-columns:1fr}.client-shell .settings-page .settings-nav-panel{position:static}.client-shell .settings-page .settings-nav-head{display:none}.client-shell .settings-page .settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.client-shell .persona-settings-layout{grid-template-columns:220px minmax(0,1fr)}}@media (max-width:760px){.client-shell .settings-page{gap:14px}.client-shell .settings-page-head{align-items:stretch}.client-shell .settings-page .settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr));padding:6px}.client-shell .settings-page .settings-tabs .config-tab{min-height:58px;display:grid;grid-template-columns:1fr;justify-items:center;gap:4px;padding:7px 4px;text-align:center}.client-shell .settings-page .settings-tabs .config-tab>svg{width:26px;height:26px;padding:6px}.client-shell .settings-page .settings-tabs .config-tab>span{display:block}.client-shell .settings-page .settings-tabs .config-tab small{display:none}.client-shell .settings-page .settings-tabs .config-tab.active{box-shadow:inset 0 -3px 0 #0c8066}.client-shell .settings-form-section .form-grid,.client-shell .settings-form-section>label{margin-left:0}.client-shell .settings-save-bar{bottom:74px;padding:11px 14px}.client-shell .settings-save-state small{max-width:170px}.client-shell .persona-settings-layout{grid-template-columns:1fr}.client-shell .persona-config-list{position:static;max-height:none}.client-shell .persona-config-list .config-items{display:flex;overflow-x:auto;overflow-y:hidden;padding:8px;scrollbar-width:none}.client-shell .persona-config-list .config-items::-webkit-scrollbar{display:none}.client-shell .persona-list-item{flex:0 0 220px;min-height:82px}.client-shell .persona-basics-grid{grid-template-columns:1fr}.client-shell .persona-default-field{min-height:58px}.client-shell .persona-settings-editor .compact-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-shell .recent-topic-policy,.client-shell .retention-rule-summary{grid-template-columns:1fr}.client-shell .recent-topic-share-option{grid-column:auto}.client-shell .retention-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:430px){.client-shell .persona-settings-editor>.form-grid,.client-shell .persona-settings-editor>.section-head,.client-shell .settings-form-section,.client-shell .settings-form>.section-head,.client-shell .settings-system-form .settings-card{padding-right:14px;padding-left:14px}.client-shell .settings-form-section-head{grid-template-columns:26px minmax(0,1fr)}.client-shell .settings-form-section-head>span{width:26px;height:26px}.client-shell .settings-save-state small{display:none}.client-shell .recent-topic-card-head,.client-shell .recent-topic-history-head{align-items:stretch;flex-direction:column}.client-shell .recent-topic-history-head>div:last-child{justify-content:flex-end}.client-shell .settings-save-actions .primary-button,.client-shell .settings-save-bar>.primary-button{min-width:112px}.client-shell .persona-save-bar{align-items:stretch;flex-direction:column}.client-shell .persona-save-bar .settings-save-actions{display:grid;grid-template-columns:auto minmax(0,1fr)}.client-shell .persona-save-bar .primary-button{width:100%}}.publishing-page{gap:18px}.publishing-view-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);background:#fff;border-radius:8px;width:fit-content}.publishing-view-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 18px;border:0;background:transparent;color:var(--muted);font:inherit;font-weight:700;cursor:pointer;border-radius:6px}.publishing-view-tabs button.active{color:#fff;background:#17212b}.publishing-create-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.publishing-steps{display:grid;gap:14px}.publishing-records,.publishing-settings-section,.publishing-step,.publishing-summary{border:1px solid var(--line);background:#fff;border-radius:8px;padding:20px}.publishing-settings-section>header,.publishing-step>header{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px}.publishing-step>header>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:7px;background:#17212b;color:#fff;font-weight:800}.publishing-records h2,.publishing-settings-section h2,.publishing-step h2,.publishing-summary h2{margin:0;font-size:18px}.publishing-records p,.publishing-settings-section p,.publishing-step p{margin:3px 0 0;color:var(--muted)}.publishing-account-form input,.publishing-account-form select,.publishing-inline-form input,.publishing-step label input,.publishing-step label textarea,.publishing-step>input,.publishing-step>select{width:100%;border:1px solid var(--line-strong,#c8d0d8);border-radius:6px;background:#fff;padding:11px 12px;font:inherit;color:var(--ink)}.publishing-step label{display:grid;gap:7px;margin-top:14px;font-weight:700}.publishing-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.publishing-account-grid button{display:grid;gap:5px;min-height:72px;padding:13px;text-align:left;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer;color:var(--ink)}.publishing-account-grid button small{color:var(--muted)}.publishing-account-grid button.selected{border-color:#176b54;box-shadow:inset 3px 0 #176b54;background:#f0faf6}.publishing-account-grid button:disabled{cursor:not-allowed;opacity:.58}.publishing-preview-button{margin-top:14px}.publishing-empty-action{display:inline-flex;align-items:center;gap:8px;border:1px dashed #9aa7b2;border-radius:7px;padding:14px 18px;background:#f8fafb;cursor:pointer;font:inherit}.publishing-draft-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.publishing-draft-tabs button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);cursor:pointer;font:inherit}.publishing-draft-tabs button.active{border-color:#24755e;background:#eef9f5;color:#116448}.publishing-field-error{margin-top:10px;padding:9px 11px;border-left:3px solid #d38b13;background:#fff8e9;color:#885700}.publishing-adapt-row{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.publishing-adapt-row>span{color:var(--muted);font-size:12px;line-height:1.5;flex:1 1 320px}.publishing-adapt-row>span strong{color:var(--ink)}.publishing-content-toolbar{display:flex;gap:10px;align-items:center;margin:10px 0;flex-wrap:wrap}.publishing-content-toolbar input{flex:1 1 240px}.publishing-content-toolbar input,.publishing-content-toolbar select{padding:9px 12px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--surface)}.publishing-content-toolbar select{color:var(--ink)}.publishing-content-count{color:var(--muted);font-size:13px}.publishing-content-count b{color:var(--blue)}.publishing-pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:460px;overflow-y:auto;padding-right:4px}.publishing-pick{display:flex;flex-direction:column;gap:7px;padding:9px;border:1px solid var(--line);border-radius:11px;background:var(--surface);cursor:pointer;text-align:left;font:inherit;color:inherit;transition:border-color .12s ease,box-shadow .12s ease}.publishing-pick:hover{border-color:var(--blue);box-shadow:0 0 0 2px #e4eeff}.publishing-pick-thumb{display:block;width:100%;height:116px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dfe6ef)}.publishing-pick-thumb img{width:100%;height:100%;object-fit:cover;display:block}.publishing-pick-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:100%;color:#93a1b3}.publishing-pick-empty em{font-style:normal;font-size:11px}.publishing-pick-title{font-weight:650;font-size:13.5px;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:38px}.publishing-pick-title.fallback{color:var(--muted);font-weight:600}.publishing-pick-meta{display:flex;gap:5px;flex-wrap:wrap}.publishing-chosen{display:flex;align-items:center;gap:13px;margin-top:10px;padding:11px;border:1px solid var(--blue);border-radius:11px;background:#f4f8ff}.publishing-chosen-thumb{flex:0 0 auto;width:76px;height:76px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dfe6ef);display:flex;align-items:center;justify-content:center;color:#93a1b3}.publishing-chosen-thumb img{width:100%;height:100%;object-fit:cover;display:block}.publishing-chosen-body{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:4px}.publishing-chosen-body strong{font-size:14.5px;line-height:1.4}.publishing-chosen-body span{color:var(--muted);font-size:12.5px}@media (max-width:1180px){.publishing-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.publishing-declaration-setting{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.publishing-declaration-setting>div{display:grid;gap:4px}.publishing-declaration-setting>div span{color:var(--muted);font-size:13px}.publishing-declaration-setting>label{display:flex;align-items:center;gap:9px;flex:0 0 auto;margin:0;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:#f8fafb;cursor:pointer}.publishing-declaration-setting>label.disabled{cursor:not-allowed;opacity:.58}.publishing-step .publishing-declaration-setting>label input{width:18px;height:18px;margin:0;padding:0;accent-color:#176b54}.publishing-confirmation-setting{display:grid;gap:11px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.publishing-confirmation-setting>div:first-child{display:grid;gap:4px}.publishing-confirmation-setting>div:first-child span{color:var(--muted);font-size:13px}.publishing-confirmation-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.publishing-confirmation-options button{display:grid;gap:3px;min-height:66px;padding:11px 13px;text-align:left;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);cursor:pointer;font:inherit}.publishing-confirmation-options button small{color:var(--muted)}.publishing-confirmation-options button.active{border-color:#176b54;box-shadow:inset 3px 0 #176b54;background:#f0faf6;color:#0f6248}.publishing-confirmation-options button:disabled{cursor:not-allowed;opacity:.5}.publishing-assets{margin-top:16px;display:grid;gap:10px}.publishing-assets>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.publishing-assets article{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#f8fafb}.publishing-assets img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#edf1f3}.publishing-assets article>span{display:block;padding:7px 8px 2px;font-size:13px;font-weight:700}.publishing-assets article>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:6px}.publishing-assets button{border:1px solid var(--line);background:#fff;border-radius:5px;padding:6px;cursor:pointer}.publishing-mode-control{display:inline-grid;grid-template-columns:1fr 1fr;min-width:260px;padding:3px;border:1px solid var(--line);border-radius:7px}.publishing-mode-control button{border:0;border-radius:5px;padding:9px 16px;background:transparent;cursor:pointer;font:inherit}.publishing-mode-control button.active{background:#eaf5f1;color:#126348;font-weight:800}.publishing-step>input[type=datetime-local]{margin-top:12px;max-width:330px;display:block}.publishing-submit-note{display:flex;gap:9px;align-items:center;margin-top:16px;color:#805400}.publishing-submit{margin-top:16px}.publishing-summary{position:sticky;top:82px}.publishing-summary dl{margin:14px 0 0}.publishing-summary dl>div{display:grid;gap:4px;padding:12px 0;border-top:1px solid var(--line)}.publishing-summary dt{color:var(--muted);font-size:13px}.publishing-summary dd{margin:0;font-weight:700;overflow-wrap:anywhere}.publishing-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.publishing-batch{border-top:1px solid var(--line);padding:17px 0}.publishing-batch>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.publishing-batch>header>div{display:grid;gap:4px}.publishing-batch small,.publishing-batch>header span{color:var(--muted)}.publishing-targets{display:grid;gap:8px;margin-top:12px}.publishing-targets>div{display:grid;grid-template-columns:110px 120px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;background:#f7f9fa;border-radius:6px}.publishing-targets a,.publishing-targets button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#155dcc;cursor:pointer;font:inherit;text-decoration:none}.publishing-batch footer{display:flex;justify-content:flex-end;margin-top:10px}.publishing-status{display:inline-flex;width:fit-content;align-items:center;padding:4px 9px;border-radius:99px;font-size:13px;font-weight:700}.publishing-status.success{color:#0a6849;background:#e7f7f0}.publishing-status.warning{color:#8a5700;background:#fff3d9}.publishing-status.danger{color:#a52727;background:#fdecec}.publishing-status.info{color:#275889;background:#eaf2fa}.publishing-settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.publishing-inline-form{display:grid;grid-template-columns:1fr auto;gap:9px}.publishing-account-form{display:grid;grid-template-columns:130px 1fr 1fr auto;gap:9px}.publishing-pair-code{display:grid;gap:5px;margin-top:14px;padding:14px;border:1px dashed #3e8b73;background:#effaf6;border-radius:7px}.publishing-pair-code strong{font-size:22px;letter-spacing:0}.publishing-pair-code small{color:var(--muted)}.publishing-account-list,.publishing-device-list{display:grid;gap:8px;margin-top:16px}.publishing-account-list article,.publishing-device-list article{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:7px}.publishing-account-list article>div,.publishing-device-list article>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.publishing-account-list small,.publishing-device-list small{color:var(--muted)}.publishing-account-list .secondary-button{width:fit-content}@media (max-width:1100px){.publishing-create-layout{grid-template-columns:1fr}.publishing-summary{position:static;order:-1}.publishing-settings-layout{grid-template-columns:1fr}.publishing-account-form{grid-template-columns:1fr 1fr}}@media (max-width:720px){.publishing-view-tabs{width:100%}.publishing-view-tabs button{flex:1 1;justify-content:center;padding:0 8px}.publishing-account-grid{grid-template-columns:1fr}.publishing-declaration-setting{align-items:stretch;flex-direction:column}.publishing-declaration-setting>label{width:fit-content}.publishing-confirmation-options{grid-template-columns:1fr}.publishing-targets>div{grid-template-columns:1fr 1fr}.publishing-targets>div small{grid-column:1/-1}.publishing-account-form{grid-template-columns:1fr}}.pac-list{display:grid;gap:10px;margin-top:16px}.pac-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.pac-card-head{display:flex;align-items:center;gap:10px}.pac-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;border-radius:9px;color:#fff;font-size:15px;font-weight:800;line-height:1}.pac-card-title{display:grid;gap:2px;min-width:0;flex:1 1 auto}.pac-card-title strong{font-size:15px}.pac-card-title small,.pac-card-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pac-card-title small{color:var(--muted);font-size:12px}.pac-dot{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:700}.pac-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.pac-dot-success{color:#0a6849;background:#e7f7f0}.pac-dot-warning{color:#8a5700;background:#fff3d9}.pac-dot-danger{color:#a52727;background:#fdecec}.pac-dot-info{color:#275889;background:#eaf2fa}.pac-caps{display:grid;gap:7px}.pac-caps-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pac-caps-label{min-width:60px;font-weight:700}.pac-caps-label,.pac-chip{color:var(--muted);font-size:12px}.pac-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border:1px solid var(--line);border-radius:6px;font-weight:600;background:var(--surface-soft)}.pac-chip-on{color:#0a6849;border-color:#bfe6d7;background:#eefaf5}.pac-chip-off{color:#94a3b8;text-decoration:line-through}.pac-chip-unknown{color:#8a5700;border-color:#f0dcae;background:#fffaf0}.pac-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;margin:0;padding-top:10px;border-top:1px dashed var(--line)}.pac-meta>div{display:grid;gap:2px;min-width:0}.pac-meta-wide{grid-column:1/-1}.pac-meta dt{color:var(--muted);font-size:11px;font-weight:700}.pac-meta dd{margin:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pac-error{display:flex;align-items:flex-start;gap:6px;margin:0;padding:8px 10px;border-radius:7px;background:var(--red-soft);color:var(--red);font-size:12px}.pac-error span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pac-notice{display:flex;align-items:flex-start;gap:6px;margin:0;padding:8px 10px;border-radius:7px;font-size:12px;line-height:1.5}.pac-notice svg{flex:0 0 auto;margin-top:2px}.pac-notice span{min-width:0}.pac-notice-warning{background:var(--amber-soft);color:var(--amber)}.pac-notice-info{background:#eaf2fa;color:#275889}.pac-works{display:grid;gap:6px;padding-top:10px;border-top:1px dashed var(--line)}.pac-works ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.pac-works li{display:flex;align-items:center;gap:8px;min-width:0}.pac-works .pac-dot{flex:0 0 auto}.pac-work-title{flex:1 1 auto;min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pac-work-title a{color:var(--blue);text-decoration:none}.pac-work-title a:hover{text-decoration:underline}.pac-work-time{flex:0 0 auto;color:var(--muted);font-size:12px}.pac-works-note{color:var(--muted);font-size:11px;line-height:1.5}.pac-card-foot{display:flex;justify-content:flex-end}@media (max-width:1080px){.pac-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.pac-meta{grid-template-columns:1fr}.pac-card-head{align-items:flex-start}}.record-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 6px}.record-filters button{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);cursor:pointer;font:inherit;font-size:13px}.record-filters button strong{font-size:12px;font-weight:700;color:var(--ink);opacity:.72}.record-filters button.active{border-color:#1d6f52;background:#eaf6f0;color:#14624a}.record-filters button.active strong{opacity:1}.record-card{border:1px solid var(--line);border-radius:10px;padding:15px 16px;margin-top:12px;background:#fff}.record-card.action{border-color:#f0c9c9;box-shadow:inset 3px 0 0 #cf3d3d}.record-card.running{box-shadow:inset 3px 0 0 #2f6fd0}.record-card.done{background:#fcfdfc}.record-card>header{display:flex;align-items:flex-start;gap:12px}.record-thumb{width:56px;height:56px;flex:0 0 56px;border-radius:8px;object-fit:cover;background:var(--surface-soft);border:1px solid var(--line)}.record-thumb.placeholder{display:block;background:repeating-linear-gradient(135deg,#f2f5f3,#f2f5f3 6px,#e9eeeb 0,#e9eeeb 12px)}.record-heading{display:grid;gap:5px;min-width:0;flex:1 1 auto}.record-heading strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.record-heading span{color:var(--muted);font-size:12px}.publishing-targets .record-reason{color:var(--muted);overflow-wrap:anywhere}.publishing-targets .record-reason.bad{color:#a52727;font-weight:600}.record-card .publishing-targets>div{display:grid;grid-template-columns:88px 92px minmax(0,1fr) max-content;gap:7px 12px;align-items:center}.record-card .publishing-targets>div>span:first-child{grid-area:1/1}.record-card .publishing-targets>div>.publishing-status{grid-area:1/2;justify-self:start}.record-card .publishing-targets>div>.record-reason{grid-area:1/3}.record-card .publishing-targets>div>.record-meta{grid-area:2/1/3/4;color:var(--muted);font-size:12px}.record-card .publishing-targets>div>a{grid-area:1/4;white-space:nowrap}.record-card .publishing-targets>div>button{grid-area:2/4;justify-self:end}.record-collapsed{display:block;width:100%;margin-top:12px;padding:11px;border:1px dashed var(--line-strong);border-radius:8px;background:#fbfcfc;color:var(--muted);cursor:pointer;font:inherit;font-size:13px}.record-collapsed:hover{color:var(--ink);border-color:#9fb3c8}@media (max-width:900px){.record-card .publishing-targets>div{grid-template-columns:minmax(0,1fr) max-content}.record-card .publishing-targets>div>span:first-child{grid-area:1/1}.record-card .publishing-targets>div>.publishing-status{grid-area:1/2;justify-self:end}.record-card .publishing-targets>div>.record-reason{grid-area:2/1/3/3}.record-card .publishing-targets>div>.record-meta{grid-area:3/1/4/3}.record-card .publishing-targets>div>a{grid-area:4/1}.record-card .publishing-targets>div>button{grid-area:4/2}.record-heading strong{font-size:14px}}.prb{display:flex;flex-direction:column;gap:18px}.prb-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.prb-tile{display:flex;align-items:baseline;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer;text-align:left;color:var(--muted);transition:border-color .15s ease,box-shadow .15s ease}.prb-tile:hover{border-color:var(--border-strong)}.prb-tile.active{border-color:#1f6feb;box-shadow:inset 0 0 0 1px #1f6feb}.prb-tile strong{font-size:22px;line-height:1;color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.prb-tile strong.bad{color:var(--red)}.prb-tile span{font-size:13px}.prb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12.5px}.prb-block{display:flex;flex-direction:column;gap:10px}.prb-block-head{display:flex;align-items:baseline;gap:10px}.prb-block-head h2{margin:0;font-size:15px}.prb-block-head span{font-size:12.5px;color:var(--muted)}.prb-card{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:14px 16px}.prb-card.running{box-shadow:inset 3px 0 0 #2f6fd0}.prb-card.action{border-color:#efcccc;box-shadow:inset 3px 0 0 #cf3d3d}.prb-card>header{display:flex;align-items:flex-start;gap:12px}.prb-row-thumb,.prb-thumb{flex:0 0 auto;width:56px;height:56px;border-radius:10px;object-fit:cover;background:var(--surface-soft);border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center}.prb-row-thumb.placeholder,.prb-thumb.placeholder{background-image:repeating-linear-gradient(135deg,#eef2f6 0 6px,#f7f9fb 6px 12px)}.prb-heading{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 auto}.prb-heading strong{font-size:14.5px;line-height:1.35}.prb-heading span{font-size:12px;color:var(--muted)}.prb-chip{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:99px;font-size:12px;font-weight:700;white-space:nowrap}.prb-chip.ok,.prb-dot.ok{color:#0a6849;background:#e7f7f0}.prb-chip.bad,.prb-dot.bad{color:#a52727;background:#fdecec}.prb-chip.warn,.prb-dot.warn{color:#8a5700;background:#fff3d9}.prb-chip.info,.prb-dot.info{color:#275889;background:#eaf2fa}.prb-chip.plain{color:var(--muted);background:var(--surface-soft)}.prb-progress{display:flex;align-items:center;gap:10px;margin:10px 0 2px}.prb-progress-bar{flex:1 1 auto;height:6px;border-radius:99px;background:#edf1f5;overflow:hidden;display:flex}.prb-progress-bar i{display:block;height:100%}.prb-progress-bar i.ok{background:#17a673}.prb-progress-bar i.bad{background:#e06a6a}.prb-progress span{font-size:12px;color:var(--muted);white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.prb-platforms{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:10px}.prb-platform{border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:var(--surface-soft);display:flex;flex-direction:column;gap:4px}.prb-platform.ok{border-color:#cfe9de;background:#f6fcf9}.prb-platform.bad{border-color:#f0cccc;background:#fff8f8}.prb-platform.warn{border-color:#edd9b4;background:#fffcf3}.prb-platform-head{display:flex;align-items:center;gap:6px}.prb-platform-head strong{font-size:13px}.prb-platform-head em{font-size:11px;font-style:normal;color:#8a5700;background:#fff3d9;border-radius:99px;padding:1px 6px}.prb-platform-status{font-size:12px;color:var(--muted)}.prb-dot{display:inline-block;width:8px;height:8px;border-radius:50%}.prb-dot.ok{background:#17a673}.prb-dot.bad{background:#d24b4b}.prb-dot.warn{background:#d99a1f}.prb-dot.info{background:#4388d6}.prb-reason{margin-top:10px;padding:8px 10px;border-radius:8px;background:#fff7f7;border:1px solid #f3d6d6;color:#8d3131;font-size:12.5px;line-height:1.5}.prb-card>footer{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}.prb-updated{margin-left:auto;font-size:12px;color:var(--muted)}.prb .ghost-button,.prb .primary-button,.prb .secondary-button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 11px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer}.prb .ghost-button{border:1px solid transparent;background:transparent;color:var(--muted)}.prb .ghost-button:hover{background:var(--surface-soft);color:var(--text);border-color:var(--line)}.prb .small{height:30px}.prb-day{display:flex;flex-direction:column;gap:6px;margin-top:6px}.prb-day-label{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.04em}.prb-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.prb-row-thumb{width:40px;height:40px;border-radius:8px}.prb-row-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 auto}.prb-row-body strong{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prb-row-body span{font-size:12px;color:var(--muted)}.prb-dots{display:flex;align-items:center;gap:4px}.prb-drawer-wrap{position:fixed;inset:0;z-index:60;display:flex;justify-content:flex-end}.prb-backdrop{position:absolute;inset:0;border:0;padding:0;background:rgba(16,24,34,.35);cursor:pointer}.prb-drawer{position:relative;z-index:1;width:min(560px,92vw);height:100%;overflow-y:auto;background:var(--surface);border-left:1px solid var(--line);box-shadow:-18px 0 40px rgba(16,24,34,.16);padding:18px 20px 90px;display:flex;flex-direction:column;gap:14px}.prb-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.prb-drawer>header div{display:flex;flex-direction:column;gap:4px}.prb-drawer>header span{font-size:12px;color:var(--muted)}.prb-drawer>header strong{font-size:16px;line-height:1.35}.prb-drawer h3{margin:4px 0 0;font-size:14px}.prb-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.prb-chip-card{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft)}.prb-chip-card strong{font-size:13px}.prb-chip-card span{font-size:12px;color:var(--muted)}.prb-chip-card small{font-size:11px;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.prb-chip-card.ok{border-color:#cfe9de;background:#f6fcf9}.prb-chip-card.bad{border-color:#f0cccc;background:#fff8f8}.prb-chip-card.warn{border-color:#edd9b4;background:#fffcf3}.prb-timeline{list-style:none;margin:0;padding:0;gap:12px}.prb-timeline,.prb-timeline>li{display:flex;flex-direction:column}.prb-timeline>li{border-left:2px solid var(--line);padding-left:12px;gap:4px}.prb-timeline>li.ok{border-left-color:#17a673}.prb-timeline>li.bad{border-left-color:#d24b4b}.prb-timeline>li.warn{border-left-color:#d99a1f}.prb-timeline-head{display:flex;align-items:center;gap:8px}.prb-timeline-head strong{font-size:13.5px}.prb-timeline-head span:last-child{margin-left:auto;font-size:12px;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.prb-timeline p{margin:0;font-size:12px;color:var(--muted)}.prb-timeline a{font-size:12px;color:var(--blue);text-decoration:none}.prb-timeline a:hover{text-decoration:underline}.prb-drawer-foot{position:sticky;bottom:-90px;margin-top:auto;padding:12px 0 0;display:flex;gap:8px;background:linear-gradient(180deg,rgba(255,255,255,0),var(--surface) 40%)}.prb-drawer-foot .primary-button,.prb-drawer-foot .secondary-button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:9px;font-size:13px;font-weight:600}@media (max-width:720px){.prb-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.prb-chips{grid-template-columns:1fr}.prb-chip-card,.prb-updated{display:none}}.publishing-create{display:flex;flex-direction:column;gap:16px}.publishing-stepper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}.publishing-stepper li button{width:100%;display:flex;align-items:center;gap:10px;padding:11px 13px;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:default;color:var(--muted)}.publishing-stepper li.done button{cursor:pointer}.publishing-stepper li.active button{border-color:#1f6feb;box-shadow:inset 0 0 0 1px #1f6feb;color:var(--text)}.publishing-stepper-index{flex:0 0 auto;width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-soft);border:1px solid var(--line);font-size:12px;font-weight:700;color:var(--muted)}.publishing-stepper li.active .publishing-stepper-index{background:#17202a;border-color:#17202a;color:#fff}.publishing-stepper li.done .publishing-stepper-index{background:#e7f7f0;border-color:#cfe9de;color:#0a6849}.publishing-stepper-body{display:flex;flex-direction:column;gap:2px;min-width:0}.publishing-stepper-body strong{font-size:13.5px;color:var(--text)}.publishing-stepper-body small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.publishing-step-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.publishing-step-nav .primary-button,.publishing-step-nav .secondary-button{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 16px}@media (max-width:900px){.publishing-stepper{grid-template-columns:1fr}.publishing-stepper-body small{display:none}}.job-tag.publish-ok{background:rgba(22,137,91,.12);border-color:rgba(22,137,91,.28);color:#0f6b47;font-weight:600}.job-tag.publish-running{background:rgba(37,99,235,.1);border-color:rgba(37,99,235,.25);color:#1d4ed8}.job-tag.publish-warn{background:rgba(217,119,6,.12);border-color:rgba(217,119,6,.28);color:#a16207}.record-toggle{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:999px;color:var(--text-soft);cursor:pointer;display:inline-flex;gap:6px;font-size:13px;padding:6px 14px;white-space:nowrap}.record-toggle:hover{border-color:var(--border-strong);color:var(--text)}.record-toggle.active{background:var(--green-soft,rgba(22,137,91,.12));border-color:rgba(22,137,91,.35);color:#0f6b47;font-weight:600}.record-toggle small{background:rgba(15,23,42,.08);border-radius:999px;font-size:11px;padding:1px 6px}.publishing-repost-hint{color:#a16207!important;display:block;font-size:12px;margin-top:4px}.publishing-repost-confirm{align-items:flex-start;background:rgba(217,119,6,.08);border:1px solid rgba(217,119,6,.3);border-radius:10px;color:#7c4a03;display:flex;font-size:13px;gap:8px;line-height:1.5;padding:10px 12px}.publishing-repost-confirm input{margin-top:2px}.prb-pager{color:var(--text-soft);flex-wrap:wrap;font-size:13px;gap:12px;justify-content:space-between;padding:14px 2px 4px}.prb-pager,.prb-pager-controls{align-items:center;display:flex}.prb-pager-controls{gap:10px}.prb-pager-controls label{align-items:center;display:flex;gap:6px}.prb-pager-controls select{background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);padding:4px 8px}