:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1e293b;background:#f8fafc}*{box-sizing:border-box}body{margin:0;min-width:1180px;background:#f8fafc}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:#f8fafc;transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:20px 14px;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden}.brand{display:flex;align-items:center;gap:10px;padding:0 4px 18px;border-bottom:1px solid #f1f5f9}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;color:#fff;font-weight:800;background:linear-gradient(135deg,#2563eb,#4f46e5);box-shadow:0 12px 22px #2563eb38}.brand-title{font-size:17px;font-weight:800;color:#1e293b}.brand-subtitle,.role{font-size:12px;color:#94a3b8;margin-top:2px}.brand-copy,.operator-copy,.nav-section-label,.nav-section-chevron,.nav-label{transition:opacity .12s ease,width .18s ease}.sidebar-toggle{margin-left:auto;width:28px;height:28px;display:grid;place-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;background:#fff;font-size:18px;line-height:1}.sidebar-toggle:hover{color:#1e293b;background:#f8fafc}.nav{padding:16px 0;display:grid;gap:12px;overflow:auto}.nav-section{display:grid;gap:5px}.nav-section-title{width:100%;min-height:32px;display:grid;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;gap:8px;padding:0 10px;border:0;border-radius:9px;color:#64748b;background:transparent;font-size:12.5px;font-weight:800;letter-spacing:0;text-align:left}.nav-section-title:hover,.nav-section-title.active{color:#334155;background:#f8fafc}.nav-section-icon,.nav-icon{font-family:PingFang SC,Microsoft YaHei,Inter,ui-sans-serif,system-ui,sans-serif;font-style:normal;speak:never}.nav-section-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#f8fafc;color:#64748b;font-size:13px}.nav-section-title.active .nav-section-icon{color:#2563eb;background:#eff6ff}.nav-section-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nav-section-chevron{color:#94a3b8;font-size:15px;text-align:center}.nav-items{display:grid;gap:3px}.nav-item{box-sizing:border-box;border:0;width:100%;min-height:36px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:9px;text-align:left;padding:7px 10px 7px 18px;border-radius:9px;color:#64748b;background:transparent;text-decoration:none;font-size:13.5px;font-weight:650;cursor:pointer;transition:all .18s ease}.nav-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#f1f5f9;color:#94a3b8;font-size:12.5px}.nav-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nav-item.active .nav-icon{background:#d4a57433;color:#b8865b}.nav-item:hover{color:#334155;background:#f8fafc}.nav-item.active{color:#b8865b;background:#d4a5741f}.sidebar-footer{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 8px 0;border-top:1px solid #f1f5f9}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e2e8f0;color:#475569;font-weight:800}.operator{font-size:14px;font-weight:700;color:#1e293b}.main{padding:36px 44px 56px}.sidebar-collapsed .sidebar{padding-left:12px;padding-right:12px}.sidebar-collapsed .brand{justify-content:center;padding-bottom:16px}.sidebar-collapsed .brand-copy,.sidebar-collapsed .operator-copy,.sidebar-collapsed .nav-section-label,.sidebar-collapsed .nav-section-chevron,.sidebar-collapsed .nav-label{width:0;opacity:0;overflow:hidden;pointer-events:none}.sidebar-collapsed .brand-mark{width:38px;height:38px}.sidebar-collapsed .sidebar-toggle{position:absolute;top:58px;right:8px;width:22px;height:22px;font-size:16px;background:#fff;box-shadow:0 8px 18px #0f172a14}.sidebar-collapsed .nav{gap:10px}.sidebar-collapsed .nav-section-title,.sidebar-collapsed .nav-item{grid-template-columns:1fr;justify-items:center;padding-left:0;padding-right:0}.sidebar-collapsed .nav-items{gap:4px}.sidebar-collapsed .sidebar-footer{justify-content:center;padding-left:0;padding-right:0}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{color:#b8865b;font-size:13px;font-weight:800}h1,h2,h3,p{margin:0}h1{margin-top:6px;font-size:28px;color:#1e293b;letter-spacing:0}.page-header p{margin-top:8px;color:#64748b}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 34px #0f172a0a}.dashboard-layout{display:grid;gap:20px}.metric-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric-card{padding:20px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 10px 34px #0f172a0a}.metric-card span{display:block;color:#64748b;font-size:13px;font-weight:800}.metric-card strong{display:block;margin-top:8px;font-size:30px;color:#0f172a}.metric-card em{display:block;margin-top:4px;color:#94a3b8;font-size:12px;font-style:normal}.two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.stack{padding:24px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.panel-title h2{font-size:18px;color:#1e293b}.panel-title h3{font-size:16px;color:#1e293b}.panel-title p{margin-top:4px;color:#64748b;font-size:13px}.compact-title{margin-bottom:12px}label span,.config-grid span,.metrics-grid span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-bottom:6px}input,select{width:100%;height:40px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#1e293b;padding:0 12px;outline:none}input:focus,select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f621}.panel-actions{display:flex;align-items:center;gap:8px}.definition-grid{display:grid;grid-template-columns:1.4fr 1.4fr .9fr .9fr .9fr 1fr;gap:14px}.summary-strip{margin-top:18px;padding:14px 16px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.summary-strip strong{display:block;color:#1e293b;font-size:15px}.summary-strip span{display:block;color:#64748b;font-size:13px;margin-top:3px}.toggles{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0;color:#475569;font-size:14px}.toggles input,.source-toolbar input{width:auto;height:auto}.actions{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:18px;border-top:1px solid #f1f5f9}.sync-info{color:#64748b;font-size:13px}.sync-progress{display:grid;gap:8px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1e3a8a}.sync-progress strong{display:block;font-size:13px}.sync-progress span{display:block;margin-top:3px;color:#475569;font-size:12px}.sync-progress progress{width:100%;height:8px}.primary,.secondary{height:40px;border-radius:10px;padding:0 16px;font-weight:800;white-space:nowrap}.compact-action{height:34px;padding:0 10px;border-radius:8px;font-size:13px}.primary{color:#fff;background:#0f172a;border:0}.secondary{color:#334155;background:#fff;border:1px solid #cbd5e1;margin-right:8px}button:disabled{opacity:.55;cursor:not-allowed}.status{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800}.status.good{color:#15803d;background:#dcfce7}.status.bad{color:#b91c1c;background:#fee2e2}.status.running{color:#1d4ed8;background:#dbeafe}.status.muted{color:#64748b;background:#f1f5f9}.execution-grid{display:grid;grid-template-columns:420px minmax(0,1fr);gap:20px;align-items:start}.run-list{display:grid;gap:10px}.run-filters{display:grid;grid-template-columns:1.4fr .9fr;gap:8px;min-width:260px}.run-card{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;padding:12px}.run-card.selected{border-color:#3b82f6;background:#eff6ff}.run-row,.source-head,.source-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.run-row button,.source-head button,.source-toolbar button{border:0;color:#b8865b;background:transparent;font-weight:800}.run-meta,.run-time{margin-top:6px;color:#64748b;font-size:12px;word-break:break-all}.run-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.run-detail-actions button{min-width:96px}.phase-panel{margin:2px 0 18px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.phase-summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;color:#64748b;font-size:13px}.phase-summary strong{color:#1e293b;font-size:15px}.phase-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.phase-step{position:relative;display:grid;justify-items:center;gap:6px;min-width:0;border:0;padding:4px 2px;background:transparent;color:#94a3b8;font-size:12px;font-weight:750;text-align:center;cursor:pointer}.phase-dot{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f1f5f9;color:#64748b}.phase-label{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.phase-duration{min-height:16px;color:#64748b;font-size:11px;font-weight:700;line-height:1}.phase-step.done{color:#15803d}.phase-step.done .phase-dot{color:#15803d;background:#dcfce7}.phase-step.active{color:#2563eb}.phase-step.active .phase-dot{color:#1d4ed8;background:#dbeafe;box-shadow:0 0 0 4px #eff6ff}.phase-step.current{color:#475569}.phase-step.current .phase-dot{color:#475569;background:#e2e8f0}.phase-step.failed{color:#dc2626}.phase-step.failed .phase-dot{color:#dc2626;background:#fee2e2}.phase-step.selected{border-radius:10px;background:#f8fafc}.phase-step.selected .phase-label{color:#1d4ed8}.metrics-grid,.config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-grid div,.config-grid div{padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.metrics-grid strong,.config-grid strong{color:#1e293b;font-size:17px;word-break:break-all}.link-button{border:0;background:transparent;color:#2563eb;font-size:12px;font-weight:800;padding:6px 0 0}.section-title{font-size:14px;color:#1e293b;margin:18px 0 10px}.skill-list{display:grid;gap:8px}.skill-row{display:grid;grid-template-columns:minmax(220px,1fr) repeat(4,auto);gap:12px;align-items:center;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#475569;font-size:13px}.skill-row strong{color:#1e293b}.run-error{margin-top:12px;padding:11px;border-radius:10px;background:#fff1f2;color:#be123c;font-size:13px;word-break:break-all}.run-error button{border:0;background:transparent;color:#be123c;font-weight:800;margin-left:8px}.run-warning{margin-top:12px;padding:12px 14px;border:1px solid #fde68a;border-radius:10px;background:#fffbeb;color:#92400e;font-size:13px}.run-warning strong{display:block;margin-bottom:6px;color:#78350f}.run-warning ul{margin:0;padding-left:18px;display:grid;gap:4px;word-break:break-word}.run-warning button{border:0;background:transparent;color:#92400e;font-weight:800;margin-top:8px;padding:0}.json-block{max-height:260px;overflow:auto;padding:12px;border-radius:10px;background:#0f172a;color:#dbeafe;font-size:12px}.run-logs-panel{margin-top:8px}.run-logs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.run-logs-head .section-title{margin:0}.run-logs-actions{display:flex;gap:8px;flex-wrap:wrap}.log-block{max-height:320px;overflow:auto;margin-top:10px;padding:12px;border-radius:10px;background:#0f172a;color:#cbd5e1;font-size:12px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.schedule-list-panel{margin-top:18px;padding-top:18px;border-top:1px solid #e2e8f0}.schedule-list{display:grid;gap:10px}.schedule-row{padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.schedule-row.managed{border-color:#bfdbfe;background:#eff6ff}.schedule-row-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.schedule-row-head strong{color:#1e293b}.schedule-raw{margin-top:8px;padding:9px;border-radius:8px;background:#0f172a;color:#dbeafe;font-size:12px;white-space:pre-wrap;word-break:break-all}.wechat-config-panel .wechat-config-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wechat-config-form label{display:grid;gap:6px;font-size:13px;color:#64748b}.wechat-config-form input,.wechat-config-form select,.wechat-config-form textarea{padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;background:#fff}.wechat-config-form textarea{resize:vertical;min-height:88px;line-height:1.6}.wechat-config-form input:disabled{color:#94a3b8;background:#f8fafc}.wechat-config-form .span-2,.wechat-config-form .summary-strip{grid-column:1 / -1}.model-provider-list{display:grid;gap:12px}.model-provider-card{display:grid;gap:12px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.model-provider-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.model-provider-head h3{margin:0;color:#1e293b;font-size:15px}.model-provider-head p{margin:4px 0 0;color:#94a3b8;font-size:12px}.model-provider-head span{flex:0 0 auto;padding:4px 8px;border-radius:999px;color:#1d4ed8;background:#dbeafe;font-size:12px;font-weight:700}.wechat-source-top-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.wechat-config-compact{padding-bottom:18px}.wechat-config-compact .panel-title{margin-bottom:14px}.wechat-config-compact .wechat-config-form{grid-template-columns:minmax(260px,1.2fr) minmax(140px,.45fr) minmax(360px,2fr);align-items:end}.wechat-config-compact .wechat-config-form .span-2{grid-column:auto}.wechat-config-compact .wechat-config-form textarea{min-height:40px;height:40px;resize:vertical}.wechat-account-grid{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(420px,1.15fr);gap:18px;align-items:start}.wechat-account-grid .panel-title{margin-bottom:12px}.compact-login-card{padding:14px}.compact-login-card .qr-login-box{padding:0;border:0}.reader-account-column{min-width:0}.reader-account-column .source-head{margin-bottom:12px}.reader-account-list{display:grid;gap:10px;max-height:220px;overflow:auto}.reader-account-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.reader-account-card p{margin:4px 0 0}.wechat-source-workbench{display:grid;grid-template-columns:var(--wechat-source-list-width, 340px) 10px minmax(0,1fr);gap:8px;align-items:start}.wechat-source-resizer{align-self:stretch;min-height:620px;cursor:col-resize;border-radius:999px;background:linear-gradient(90deg,transparent 0 40%,#cbd5e1 40% 60%,transparent 60% 100%)}.wechat-source-resizer:hover,body.resizing-horizontal .wechat-source-resizer{background:linear-gradient(90deg,transparent 0 35%,#2563eb 35% 65%,transparent 65% 100%)}body.resizing-horizontal{cursor:col-resize;-webkit-user-select:none;user-select:none}.wechat-feed-list{display:grid;gap:10px;max-height:620px;overflow:auto}.wechat-feed-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;padding:11px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.wechat-feed-row.active{border-color:#2563eb;background:#eff6ff}.wechat-feed-row input{margin-top:4px}.feed-select-button{display:grid;gap:4px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left}.feed-select-button strong{color:#1e293b;font-size:14px}.feed-select-button span{color:#64748b;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.tab-row{display:flex;gap:8px;border-bottom:1px solid #e2e8f0}.tab-row button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#64748b;padding:10px 12px;font-weight:800}.tab-row button.active{border-bottom-color:#2563eb;color:#1d4ed8}@media(max-width:1100px){.wechat-source-top-grid,.wechat-source-workbench{grid-template-columns:1fr}.wechat-source-resizer{display:none}.prompt-editor-shell{grid-template-columns:1fr}.definition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.wechat-account-grid,.wechat-config-compact .wechat-config-form{grid-template-columns:1fr}.wechat-config-compact .wechat-config-form .span-2{grid-column:1 / -1}}.source-layout{display:grid;gap:16px}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.source-column{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;box-shadow:0 10px 34px #0f172a0a}.source-head h3{font-size:16px;color:#1e293b}.source-card{margin-top:12px;display:grid;gap:9px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.source-toolbar{font-size:12px;color:#64748b}.wechat-source-picker{display:grid;gap:8px;margin-top:12px}.wechat-source-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:flex-start;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.wechat-source-option input{width:auto;height:auto;margin-top:3px}.wechat-source-option span{display:grid;gap:3px;min-width:0}.wechat-source-option strong{color:#1e293b;font-size:14px}.wechat-source-option small{overflow-wrap:anywhere;color:#64748b;font-size:12px;line-height:1.45}.source-actions{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.source-url-input{width:100%;min-height:108px;resize:vertical;border:1px solid #cbd5e1;border-radius:10px;padding:12px;color:#1e293b;background:#fff;line-height:1.6}.field-help{margin:0;color:#94a3b8;font-size:12px;line-height:1.5}.settings-layout{display:grid;gap:18px}.prompt-workbench{display:grid;gap:0;border:1px solid #dbe4ef;border-radius:12px;background:#fff;overflow:hidden}.prompt-tabs{padding:0 14px;background:#f8fafc}.prompt-editor-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;padding:18px}.prompt-meta{display:grid;align-content:start;gap:10px;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#475569;line-height:1.6}.prompt-meta strong{color:#0f172a;font-size:16px}.prompt-meta p{margin:0;font-size:13px}.prompt-meta span{display:block;padding-top:8px;border-top:1px solid #e2e8f0;color:#64748b;font-size:12px}.prompt-editor{display:grid;gap:8px}.prompt-editor textarea{width:100%;min-height:520px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.65;white-space:pre}.draft-settings-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;align-items:start}.draft-settings-form{align-items:start}.note-block{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:12px;padding:14px;font-size:13px;line-height:1.7}.note-block p{margin:4px 0 0}.note-block code{background:#92400e14;border-radius:6px;padding:2px 5px}.account-list{display:grid;gap:12px}.account-card{display:grid;gap:10px;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.account-grid{display:grid;grid-template-columns:1.1fr 1.25fr 1.2fr 1fr;gap:12px}.danger-link{justify-self:end;border:0;background:transparent;color:#b45309;font-weight:800}.danger-text{color:#b91c1c;overflow-wrap:anywhere}.search-inline{display:grid;grid-template-columns:240px auto;gap:8px;align-items:center}.article-table,.article-list{display:grid;gap:10px}.compact-list{max-height:430px;overflow:auto}.article-row,.article-card{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.article-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px}.article-row strong,.article-card strong{color:#1e293b;font-size:15px}.article-row p,.article-card p{margin-top:6px;color:#475569;font-size:13px;line-height:1.6}.article-card{padding:13px;cursor:pointer}.article-card.selected{border-color:#3b82f6;background:#eff6ff}.row-actions{display:flex;align-items:center;gap:8px}.layout-workbench{display:grid;grid-template-columns:360px minmax(0,1fr);gap:20px;align-items:start}.layout-sidebar{position:sticky;top:24px;max-height:calc(100vh - 72px);overflow:auto}.layout-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}.content-block{height:620px;overflow:auto;white-space:pre-wrap;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#334155;line-height:1.7;font-size:13px}.html-preview{width:100%;height:620px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.layout-template-designer{display:grid;gap:12px}.layout-template-toolbar,.component-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.layout-template-toolbar input{flex:1 1 280px}.layout-template-toolbar .active,.component-toolbar button{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.layout-designer-grid{display:grid;grid-template-columns:190px minmax(0,1fr) 260px;gap:12px;align-items:start}.metadata-tree,.layout-template-side{display:grid;gap:10px;align-content:start;min-height:620px;max-height:720px;overflow:auto;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.metadata-tree strong{color:#0f172a}.metadata-tree details{display:grid;gap:6px}.metadata-tree summary{cursor:pointer;color:#334155;font-weight:800;font-size:13px}.metadata-tree button{display:grid;gap:2px;width:100%;min-height:30px;justify-content:flex-start;text-align:left;border-color:#e2e8f0;background:#fff;color:#475569;font-size:12px}.metadata-tree button span{color:#1e293b;font-weight:800}.metadata-tree button small{color:#64748b;font-size:11px}.h5-design-surface{min-width:0}.h5-design-surface textarea,.layout-template-side textarea{width:100%;min-height:620px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.6;white-space:pre}.layout-template-side textarea{min-height:140px}.visual-layout-editor{display:grid;gap:10px}.placeholder-list{display:flex;flex-wrap:wrap;gap:8px;min-height:42px;padding:10px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc}.placeholder-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:7px 8px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1e40af;font-size:12px;font-weight:800}.placeholder-chip span{overflow-wrap:anywhere}.placeholder-chip button{min-height:24px;padding:3px 6px;border:0;background:#dbeafe;color:#1d4ed8}@media(max-width:1180px){.layout-designer-grid{grid-template-columns:1fr}.metadata-tree,.layout-template-side{min-height:auto;max-height:320px}}.preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;justify-content:flex-end;background:#0f172a38}.preview-panel{width:560px;height:100vh;overflow:auto;background:#fff;border-left:1px solid #e2e8f0;padding:24px;box-shadow:-18px 0 46px #0f172a29}.preview-list{display:grid;gap:12px}.preview-item{padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.preview-item h3{font-size:15px;color:#1e293b}.preview-item p{margin:8px 0;color:#475569;font-size:13px;line-height:1.6}.preview-item a{color:#2563eb;font-weight:800;font-size:13px}.empty{padding:22px;color:#94a3b8;font-size:14px}.empty.compact{padding:10px}.candidate-workbench .panel-title{flex-wrap:wrap;gap:16px}.candidate-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.candidate-toolbar select{min-width:140px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.candidate-table{display:grid;gap:12px}.candidate-row{display:grid;grid-template-columns:auto 1fr auto;gap:16px;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.candidate-row.selected{border-color:#93c5fd;background:#f8fbff}.candidate-check{display:flex;align-items:flex-start;padding-top:4px}.candidate-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}.candidate-category{font-size:12px;font-weight:800;color:#2563eb;background:#eff6ff;padding:2px 8px;border-radius:6px}.candidate-category-select{width:auto;height:26px;min-width:96px;padding:0 8px;border-color:#bfdbfe;color:#2563eb;background:#eff6ff;font-size:12px;font-weight:800;border-radius:7px}.candidate-source-type{font-size:12px;font-weight:800;color:#7c2d12;background:#ffedd5;padding:2px 8px;border-radius:6px}.candidate-main strong{display:block;margin-bottom:6px;color:#0f172a}.candidate-main p{margin:0;color:#475569;font-size:13px;line-height:1.6}.candidate-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}.candidate-tag-group,.candidate-tag-key{max-width:100%;border-radius:6px;padding:3px 7px;color:#334155;background:#f1f5f9;font-size:12px;font-weight:700;overflow-wrap:anywhere}.candidate-tag-group b,.candidate-tag-key b{margin-right:5px;color:#0f172a}.candidate-tag-key{color:#475569;background:#eef2ff}.candidate-analysis{color:#64748b!important;margin-top:6px!important}.candidate-reference-title{color:#64748b!important;margin-top:4px!important;font-size:12px!important;line-height:1.5!important}.candidate-redline{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}.candidate-redline span{border-radius:6px;padding:2px 7px;color:#be123c;background:#ffe4e6;font-size:12px;font-weight:800}.candidate-link{display:inline-flex;align-items:center;gap:6px;width:fit-content;margin-top:6px;font-size:12px;color:#2563eb;word-break:break-all}.candidate-link b{color:#475569}.candidate-reject-reason{display:flex;align-items:flex-start;gap:6px;width:fit-content;max-width:100%;margin-top:6px;padding:5px 8px;border:1px solid #fecdd3;border-radius:8px;background:#fff1f2;color:#be123c;font-size:12px;line-height:1.45;word-break:break-word}.candidate-reject-reason b{flex:0 0 auto;color:#991b1b}.candidate-actions{display:flex;flex-direction:column;gap:8px;min-width:120px}.toggle-selected{font-size:12px;color:#475569;display:flex;gap:6px;align-items:center}.toggle-selected.disabled{color:#94a3b8;cursor:not-allowed}.toggle-selected.disabled input{cursor:not-allowed}.redline-list{display:grid;gap:10px}.redline-row{display:grid;grid-template-columns:90px minmax(160px,1fr) 180px minmax(220px,1.4fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.redline-enable{display:flex;align-items:center;gap:6px;color:#475569;font-size:13px;font-weight:800}.redline-enable input{width:auto;height:auto}.qr-login-box{align-items:center;display:flex;gap:1.2rem}.qr-login-box svg{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.35rem}.video-editorial-workspace{min-height:calc(100vh - 48px);padding:6px 0 0}.media-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.media-hero p{margin:0 0 4px;color:#b8865b;font-size:13px;font-weight:900}.media-hero h2{margin:0;color:#0f172a;font-size:30px;line-height:1.2}.media-hero span{display:block;margin-top:8px;color:#64748b;font-size:14px}.media-workbench{display:grid;grid-template-columns:minmax(420px,.95fr) minmax(420px,1.05fr);gap:18px;align-items:start}.media-editor-panel textarea{min-height:240px;resize:vertical}.media-preview-panel video{width:100%;max-height:460px;border-radius:10px;background:#020617}.media-empty{min-height:260px;display:grid;place-items:center}.segmented-control{display:inline-flex;width:fit-content;max-width:100%;gap:4px;padding:4px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.segmented-control.wrap{flex-wrap:wrap}.segmented-control button{border:0;border-radius:9px;padding:8px 12px;color:#64748b;background:transparent;font-size:13px;font-weight:900}.segmented-control button.active{color:#b8865b;background:#d4a57429;box-shadow:0 8px 18px #b8865b1f}.button-like{display:inline-flex;width:fit-content;align-items:center;justify-content:center;text-decoration:none}.media-history{display:grid;gap:8px;padding-top:8px;border-top:1px solid #e2e8f0}.media-history h3{margin:0;color:#1e293b;font-size:15px}.media-history button{display:grid;gap:3px;width:100%;padding:10px;border:1px solid #e2e8f0;border-radius:10px;color:#475569;background:#f8fafc;text-align:left}.media-history button:hover{border-color:#b8865b6b;background:#d4a57414}.media-history span{color:#0f172a;font-size:13px;font-weight:800;overflow-wrap:anywhere}.media-history small{color:#94a3b8;font-size:11px}.avatar-preview{width:160px;height:160px;object-fit:cover;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.voice-box{display:grid;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.video-editorial-workspace input[type=radio]{width:auto;height:auto}.video-editorial-workspace textarea,.video-editorial-workspace input,.video-editorial-workspace select{font:inherit}.definition-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:1180px){.media-workbench{grid-template-columns:1fr}}
