:root{--amora-brand-magenta: #e406b4;--amora-brand-purple: #6a56d3;--amora-brand-blue: #167ef9;--amora-brand-blue-hover: #0f6de0;--amora-gradient-primary: linear-gradient( 90deg, var(--amora-brand-magenta) 0%, var(--amora-brand-purple) 50%, var(--amora-brand-blue) 100% );--amora-gradient-diagonal: linear-gradient( 135deg, var(--amora-brand-magenta) 0%, var(--amora-brand-purple) 52%, var(--amora-brand-blue) 100% );--amora-gradient-dark-base: radial-gradient(circle at 18% 20%, rgba(228, 6, 180, .22), transparent 34%), radial-gradient(circle at 78% 8%, rgba(106, 86, 211, .28), transparent 30%), linear-gradient(135deg, #15152e 0%, #1a1a35 52%, #15152e 100%);--amora-neutral-white: #ffffff;--amora-neutral-surface: #f7f8f8;--amora-neutral-dark: #15152e;--amora-neutral-gray: #b5b5b5;--amora-neutral-gold: #c9bc9c;--amora-neutral-line: rgba(21, 21, 46, .1);--amora-status-success: #12b76a;--amora-status-warning: #f79009;--amora-status-error: #f04438;--amora-status-info: #167ef9;--amora-text-primary: var(--amora-neutral-dark);--amora-text-secondary: #4b5068;--amora-text-muted: #7b8094;--amora-text-disabled: var(--amora-neutral-gray);--amora-text-inverse: #ffffff;--amora-text-inverse-muted: rgba(255, 255, 255, .86);--amora-text-inverse-subtle: rgba(255, 255, 255, .82);--amora-bg-page: var(--amora-neutral-surface);--amora-bg-panel: var(--amora-neutral-white);--amora-bg-input: var(--amora-neutral-white);--amora-bg-info-subtle: color-mix(in srgb, var(--amora-brand-blue) 4%, white);--amora-bg-success-subtle: color-mix(in srgb, var(--amora-status-success) 6%, white);--amora-bg-error-subtle: color-mix(in srgb, var(--amora-status-error) 5%, white);--amora-bg-hover-subtle: color-mix(in srgb, var(--amora-brand-blue) 4%, white);--amora-bg-selected-subtle: color-mix(in srgb, var(--amora-brand-blue) 8%, white);--amora-border-info: color-mix(in srgb, var(--amora-brand-blue) 18%, transparent);--amora-border-success: color-mix(in srgb, var(--amora-status-success) 28%, transparent);--amora-border-error: color-mix(in srgb, var(--amora-status-error) 28%, transparent);--amora-focus-ring: color-mix(in srgb, var(--amora-brand-blue) 24%, transparent);--amora-track-bg: color-mix(in srgb, var(--amora-brand-blue) 12%, transparent);--amora-font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;--amora-font-size-caption: 13px;--amora-font-size-body: 14px;--amora-font-size-subtitle: 18px;--amora-font-weight-bold: 800;--amora-font-weight-label: 700;--amora-space-1: 4px;--amora-space-2: 8px;--amora-space-3: 12px;--amora-space-4: 16px;--amora-space-5: 24px;--amora-space-6: 32px;--amora-space-7: 48px;--amora-space-8: 64px;--amora-radius-sm: 4px;--amora-radius-md: 8px;--amora-radius-lg: 16px;--amora-radius-xl: 24px;--amora-radius-pill: 999px;--amora-shadow-soft: 0 16px 48px rgba(21, 21, 46, .08);--amora-shadow-brand: 0 16px 40px rgba(22, 126, 249, .22);--amora-touch-min: 44px}:root{color:var(--amora-text-primary);background:var(--amora-bg-page);font-family:var(--amora-font-family);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}.shell{width:min(1180px,calc(100vw - var(--amora-space-6)));margin:0 auto;padding:var(--amora-space-6) 0 var(--amora-space-7)}.hero{position:relative;display:block;min-height:auto;padding:var(--amora-space-6);border-radius:var(--amora-radius-xl);overflow:hidden;color:var(--amora-text-inverse);background:var(--amora-gradient-dark-base);box-shadow:var(--amora-shadow-soft)}.hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--amora-gradient-diagonal);opacity:.88}.hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 82% 18%,rgba(255,255,255,.14),transparent 34%),radial-gradient(circle at 12% 88%,rgba(255,255,255,.08),transparent 28%);pointer-events:none}.hero>div{position:relative;z-index:1;width:100%;max-width:none}.eyebrow{margin:0 0 var(--amora-space-3);color:var(--amora-text-inverse-subtle);font-size:var(--amora-font-size-caption);font-weight:var(--amora-font-weight-bold);letter-spacing:.12em}.hero .eyebrow{text-transform:none}h1{margin:0;max-width:760px;font-size:clamp(36px,7vw,76px);line-height:.95;letter-spacing:-.06em}.hero h1{max-width:none;white-space:nowrap;font-size:clamp(32px,5.2vw,58px);letter-spacing:-.03em}.subtitle{max-width:none;margin:var(--amora-space-5) 0 0;color:var(--amora-text-inverse-muted);font-size:var(--amora-font-size-subtitle);line-height:1.7}.hero .subtitle{white-space:nowrap;font-size:clamp(14px,1.55vw,18px);line-height:1.45}.panel{padding:var(--amora-space-5);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-xl);background:var(--amora-bg-panel);box-shadow:var(--amora-shadow-soft)}.hero+.panel,.hero+.workflow-panel{margin-top:var(--amora-space-5)}.workflow-panel{display:grid;gap:var(--amora-space-4);background:var(--amora-bg-panel)}.workflow-head h2{margin:0;color:var(--amora-text-primary);font-size:clamp(24px,3.5vw,34px);letter-spacing:-.03em}.workflow-head p{margin:var(--amora-space-2) 0 0;color:var(--amora-text-secondary);line-height:1.65;font-size:var(--amora-font-size-body)}.workflow-row{display:flex;align-items:end;gap:var(--amora-space-3)}.field-grow{flex:1}.estimate-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--amora-space-2);margin-top:var(--amora-space-2)}.estimate-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:var(--amora-color-surface-1, #f3f4f6);font-size:13px;font-weight:500;color:var(--amora-color-text-secondary, #4b5563)}.estimate-chip[data-tier=light]{background:#ecfdf5;color:#065f46}.estimate-chip[data-tier=medium]{background:#fef3c7;color:#92400e}.estimate-chip[data-tier=heavy]{background:#fee2e2;color:#991b1b}.estimate-warn{font-size:12px;color:#92400e}.estimate-warn code{background:#fef3c7;padding:1px 4px;border-radius:3px;font-family:ui-monospace,monospace}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--amora-space-3)}.fold{border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);background:var(--amora-neutral-surface)}.fold>summary{padding:var(--amora-space-3) var(--amora-space-4);color:var(--amora-text-secondary);font-size:var(--amora-font-size-body);font-weight:var(--amora-font-weight-bold);cursor:pointer;list-style:none;min-height:var(--amora-touch-min);display:flex;align-items:center}.fold>summary::-webkit-details-marker{display:none}.fold>summary:before{content:"▸ ";color:var(--amora-brand-blue)}.fold[open]>summary:before{content:"▾ "}.recommend-hint{margin:0 0 var(--amora-space-3);padding:var(--amora-space-2) var(--amora-space-3);border-radius:var(--amora-radius-md);background:var(--amora-bg-info-subtle);border:1px solid var(--amora-border-info);color:var(--amora-text-secondary)}.fold-body{padding:0 var(--amora-space-4) var(--amora-space-4)}.dev-panel{margin-top:var(--amora-space-4)}.dev-grid{align-items:stretch}.dev-panel .column{min-height:260px}.column-main{flex:1;display:flex;flex-direction:column;gap:var(--amora-space-3)}.column-actions{margin-top:auto;padding-top:var(--amora-space-3)}.column-actions button{width:100%}.dev-meta{margin-top:var(--amora-space-3)}.primary-cta{width:100%;min-height:var(--amora-touch-min);font-size:17px;letter-spacing:.02em;background:var(--amora-brand-blue);box-shadow:var(--amora-shadow-brand)}.primary-cta:hover:not(:disabled){background:var(--amora-brand-blue-hover)}.progress-panel{display:grid;gap:var(--amora-space-3);margin-top:var(--amora-space-4)}.progress-panel.is-running{border-color:var(--amora-border-info);background:linear-gradient(180deg,var(--amora-bg-info-subtle) 0%,var(--amora-bg-panel) 100%)}.progress-panel.is-done{border-color:var(--amora-border-success);background:var(--amora-bg-success-subtle)}.progress-panel.is-error{border-color:var(--amora-border-error);background:var(--amora-bg-error-subtle)}.progress-panel-head{display:flex;align-items:center;justify-content:space-between;gap:var(--amora-space-3)}.progress-panel-head h2{margin:0;font-size:clamp(20px,3vw,28px);color:var(--amora-text-primary)}.progress-percent{font-size:28px;color:var(--amora-brand-blue)}.progress-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--amora-space-2);margin:0;padding:0;list-style:none}.progress-step{display:grid;gap:var(--amora-space-1);justify-items:center;text-align:center;padding:var(--amora-space-2);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface);border:1px solid var(--amora-neutral-line);color:var(--amora-text-muted);font-size:12px}.progress-step-index{display:grid;place-items:center;width:28px;height:28px;border-radius:var(--amora-radius-pill);background:var(--amora-neutral-line);font-weight:var(--amora-font-weight-bold)}.progress-step-label{line-height:1.35}.progress-step.is-active{color:var(--amora-text-primary);border-color:var(--amora-brand-blue);background:var(--amora-bg-hover-subtle)}.progress-step.is-active .progress-step-index{color:var(--amora-text-inverse);background:var(--amora-brand-blue)}.progress-step.is-done{color:var(--amora-text-secondary);border-color:var(--amora-border-success)}.progress-step.is-done .progress-step-index{color:var(--amora-text-inverse);background:var(--amora-status-success)}.progress-step.is-error{border-color:var(--amora-border-error);color:var(--amora-status-error)}.progress-step.is-error .progress-step-index{color:var(--amora-text-inverse);background:var(--amora-status-error)}.progress-log-fold{border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface)}.progress-log-fold>summary{padding:var(--amora-space-2) var(--amora-space-3);font-size:var(--amora-font-size-caption);font-weight:var(--amora-font-weight-label);cursor:pointer;list-style:none}.progress-log-fold>summary::-webkit-details-marker{display:none}.progress-log{margin:0;padding:0 var(--amora-space-3) var(--amora-space-3);list-style:none;display:grid;gap:var(--amora-space-2)}.progress-log li{display:grid;grid-template-columns:72px 1fr;gap:var(--amora-space-2);font-size:var(--amora-font-size-caption);color:var(--amora-text-secondary)}.progress-log time{color:var(--amora-text-muted)}.progress-track{height:10px;overflow:hidden;border-radius:var(--amora-radius-pill);background:var(--amora-track-bg)}.progress-fill{height:100%;border-radius:inherit;background:var(--amora-gradient-primary);transition:width .32s ease}.progress-detail,.progress-stats{margin:0;color:var(--amora-text-secondary);font-size:var(--amora-font-size-body);line-height:1.6}.progress-stats{font-size:var(--amora-font-size-caption);color:var(--amora-text-muted)}.progress-actions{display:flex;flex-wrap:wrap;gap:var(--amora-space-2)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--amora-space-4)}.column{display:flex;min-height:320px;flex-direction:column;gap:0;padding:var(--amora-space-4);border-radius:var(--amora-radius-lg);background:var(--amora-neutral-surface);border:1px solid var(--amora-neutral-line)}.column h2,.column h3{margin:0 0 var(--amora-space-1);font-size:var(--amora-font-size-subtitle);color:var(--amora-text-primary)}.uploader{display:grid;place-items:center;min-height:160px;padding:var(--amora-space-4);text-align:center;border:2px dashed var(--amora-neutral-gray);border-radius:var(--amora-radius-lg);cursor:pointer;background:var(--amora-neutral-surface);transition:transform .18s ease,border-color .18s ease,background .18s ease}.uploader:hover,.uploader.dragging{transform:translateY(-2px);border-color:var(--amora-brand-blue);background:var(--amora-bg-hover-subtle)}.uploader.uploading{pointer-events:none;opacity:.72;border-color:var(--amora-brand-blue)}.upload-mark{display:grid;place-items:center;width:58px;height:58px;margin-bottom:var(--amora-space-3);border-radius:var(--amora-radius-lg);color:var(--amora-text-inverse);font-size:var(--amora-font-size-caption);font-weight:var(--amora-font-weight-bold);background:var(--amora-brand-blue)}.uploader span{margin-top:var(--amora-space-2);color:var(--amora-text-muted);font-size:var(--amora-font-size-caption)}label{display:grid;gap:var(--amora-space-2);color:var(--amora-text-secondary);font-size:var(--amora-font-size-body);font-weight:var(--amora-font-weight-label)}input,select{width:100%;min-height:var(--amora-touch-min);padding:11px var(--amora-space-3);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);color:var(--amora-text-primary);background:var(--amora-bg-input)}input:focus,select:focus{outline:2px solid var(--amora-focus-ring);border-color:var(--amora-brand-blue)}input:disabled,select:disabled,button:disabled{color:var(--amora-text-disabled)}button,.download{display:inline-flex;align-items:center;justify-content:center;gap:var(--amora-space-2);min-height:var(--amora-touch-min);padding:11px var(--amora-space-4);border:0;border-radius:var(--amora-radius-pill);color:var(--amora-text-inverse);font-weight:var(--amora-font-weight-bold);text-decoration:none;background:var(--amora-brand-blue);cursor:pointer;transition:transform .16s ease,opacity .16s ease,background .16s ease}button:hover,.download:hover{transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.38;transform:none}button.secondary{color:var(--amora-text-primary);background:var(--amora-neutral-surface);border:1px solid var(--amora-neutral-line)}.hint{margin:0;color:var(--amora-text-muted);font-size:var(--amora-font-size-caption);line-height:1.6}.error-text{margin:0;color:var(--amora-status-error);font-size:var(--amora-font-size-caption);line-height:1.6}.progress-panel.is-ready{border-color:var(--amora-border-success);background:linear-gradient(180deg,var(--amora-bg-success-subtle) 0%,var(--amora-bg-panel) 100%)}.analysis-panel{display:grid;gap:var(--amora-space-4);margin-top:var(--amora-space-4)}.analysis-head h2{margin:0 0 var(--amora-space-1);font-size:clamp(20px,3vw,28px)}.analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--amora-space-3)}.analysis-card{padding:var(--amora-space-3);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface)}.analysis-card h3{margin:0 0 var(--amora-space-2);font-size:16px;color:var(--amora-text-primary)}.format-spec-list{display:grid;gap:var(--amora-space-2);margin:0}.format-spec-list div{display:grid;grid-template-columns:88px 1fr;gap:var(--amora-space-2);font-size:14px}.format-spec-list dt{margin:0;color:var(--amora-text-muted)}.format-spec-list dd{margin:0;color:var(--amora-text-primary)}.analysis-notes,.analysis-warnings{margin:var(--amora-space-2) 0 0;padding-left:1.2em;font-size:13px}.analysis-notes{color:var(--amora-text-secondary)}.analysis-warnings{color:var(--amora-status-error)}.analysis-partial-warn{margin:var(--amora-space-2) 0 0;padding:8px 10px;border-radius:var(--amora-radius-md);background:#eab3081f;color:var(--amora-text-primary);font-size:13px;line-height:1.45}.confidence-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600}.confidence-full{background:#22c55e26;color:#15803d}.confidence-partial{background:#eab3082e;color:#a16207}.confidence-none{background:#94a3b833;color:var(--amora-text-secondary)}.hint-inline{font-size:12px;color:var(--amora-text-secondary)}.analysis-forms,.analysis-pack-order{margin-top:var(--amora-space-4)}.analysis-forms h3,.analysis-pack-order h3{margin:0 0 var(--amora-space-2);font-size:16px}.mandatory-forms-list{margin:0;padding:0;list-style:none;border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface)}.mandatory-forms-list li{padding:10px 12px;border-bottom:1px solid var(--amora-neutral-line);font-size:14px;line-height:1.5}.mandatory-forms-list li:last-child{border-bottom:none}.form-id-tag,.form-inferred-tag{display:inline-block;margin-left:8px;padding:1px 6px;border-radius:4px;font-size:11px;font-weight:500;background:var(--amora-neutral-line);color:var(--amora-text-secondary)}.form-inferred-tag{background:#3b82f61f;color:#1d4ed8}.form-columns{display:block;margin-top:4px;font-size:12px;color:var(--amora-text-secondary)}.pack-order-list{margin:0;padding-left:1.4em;border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface);max-height:240px;overflow:auto}.pack-order-list li{padding:6px 0;font-size:14px;line-height:1.45}.runtime-config-strip{margin-bottom:var(--amora-space-4);padding-bottom:var(--amora-space-3);border-bottom:1px solid var(--amora-neutral-line)}.runtime-config-strip h3{margin:0 0 var(--amora-space-2);font-size:15px}.analysis-outline h3{margin:0 0 var(--amora-space-2);font-size:16px}.outline-tree{margin:0;padding:0;list-style:none;border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface);max-height:320px;overflow:auto}.outline-tree li{padding:8px 12px;border-bottom:1px solid var(--amora-neutral-line);font-size:14px;line-height:1.45}.outline-tree li:last-child{border-bottom:none}.outline-level-1{padding-left:12px;font-weight:var(--amora-font-weight-bold)}.outline-level-2{padding-left:28px}.outline-level-3{padding-left:44px;color:var(--amora-text-secondary)}.outline-level-4{padding-left:60px;color:var(--amora-text-muted);font-size:13px}.analysis-cta{justify-self:start}@media(max-width:900px){.grid,.grid-3,.dev-grid{grid-template-columns:1fr}.progress-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-grid{grid-template-columns:1fr}.dev-panel .column{min-height:auto}.workflow-row{flex-direction:column;align-items:stretch}}@media(max-width:560px){.shell{width:min(100vw - 18px,1180px);padding-top:var(--amora-space-2)}.hero h1{white-space:normal;font-size:clamp(28px,8vw,40px)}.hero .subtitle{white-space:normal;font-size:15px;line-height:1.55}.hero,.panel{padding:var(--amora-space-4);border-radius:var(--amora-radius-lg)}.progress-steps,.analysis-grid{grid-template-columns:1fr}}.btn-primary{background:var(--amora-brand-blue);color:var(--amora-text-inverse);border:none;padding:6px 12px;border-radius:var(--amora-radius-sm);cursor:pointer;font-size:13px}.btn-primary:disabled{background:var(--amora-text-disabled);cursor:not-allowed}.btn-secondary{background:var(--amora-bg-panel);color:var(--amora-brand-blue);border:1px solid var(--amora-border-info);padding:6px 12px;border-radius:var(--amora-radius-sm);cursor:pointer;font-size:13px}.btn-secondary:disabled{color:var(--amora-text-disabled);border-color:var(--amora-neutral-line);cursor:not-allowed}.page-loading,.page-error{padding:var(--amora-space-5);text-align:center}.page-loading{color:var(--amora-text-muted)}.studio-app{min-height:100vh;background:radial-gradient(ellipse 120% 80% at 100% -20%,color-mix(in srgb,var(--amora-brand-blue) 6%,transparent),transparent 55%),radial-gradient(ellipse 80% 50% at 0% 100%,color-mix(in srgb,var(--amora-brand-purple) 4%,transparent),transparent 50%),var(--amora-bg-page, #f7f8f8)}.studio-shell{padding-top:var(--amora-space-4);padding-bottom:var(--amora-space-6)}.studio-app-chrome{display:flex;align-items:center;justify-content:space-between;gap:var(--amora-space-4);padding:var(--amora-space-3) var(--amora-space-5);margin-bottom:var(--amora-space-4);background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);box-shadow:var(--amora-shadow-soft)}.studio-app-chrome .app-user-bar{margin:0;padding:0;border:none;background:transparent}.studio-brand{display:flex;align-items:center;gap:var(--amora-space-3)}.studio-brand-mark{width:12px;height:36px;border-radius:var(--amora-radius-sm);background:var(--amora-gradient-diagonal);box-shadow:0 4px 12px color-mix(in srgb,var(--amora-brand-blue) 28%,transparent)}.studio-brand-title{display:block;font-size:var(--amora-font-size-body-lg, 16px);font-weight:var(--amora-font-weight-bold, 700);color:var(--amora-text-primary);line-height:1.25;text-wrap:balance}.studio-brand-sub{display:block;font-size:var(--amora-font-size-caption, 12px);color:var(--amora-text-muted)}.studio-step-rail{display:flex;align-items:stretch;gap:0;margin-bottom:var(--amora-space-4);padding:var(--amora-space-2);background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);box-shadow:var(--amora-shadow-soft)}.studio-step-rail-item{display:flex;align-items:center;flex:1;min-width:0}.studio-step-rail-line{width:24px;height:1px;background:var(--amora-neutral-line);flex-shrink:0}.studio-step-rail-btn{display:flex;align-items:center;gap:var(--amora-space-3);flex:1;min-width:0;padding:var(--amora-space-3) var(--amora-space-4);border:1px solid transparent;border-radius:var(--amora-radius-md);background:transparent;cursor:pointer;text-align:left;transition:background .2s ease-out,border-color .2s ease-out,box-shadow .2s ease-out}.studio-step-rail-btn:focus-visible{outline:2px solid var(--amora-brand-blue);outline-offset:2px}.studio-step-rail-btn:hover:not(:disabled){background:var(--amora-bg-hover-subtle)}.studio-step-rail-btn.is-active{background:var(--amora-bg-selected-subtle);border-color:var(--amora-border-info);box-shadow:0 1px color-mix(in srgb,var(--amora-brand-blue) 12%,transparent)}.studio-step-rail-btn.is-done .studio-step-rail-num{background:var(--amora-status-success);color:var(--amora-text-inverse)}.studio-step-rail-btn.is-locked{opacity:.45;cursor:not-allowed}.studio-step-rail-num{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:999px;font-size:13px;font-weight:600;background:var(--amora-neutral-surface);color:var(--amora-text-secondary)}.studio-step-rail-btn.is-active .studio-step-rail-num{background:var(--amora-brand-blue);color:var(--amora-text-inverse);box-shadow:var(--amora-shadow-brand)}.studio-step-rail-title{display:block;font-size:14px;font-weight:600;color:var(--amora-text-primary)}.studio-step-rail-sub{display:block;font-size:12px;color:var(--amora-text-muted)}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:var(--amora-space-4);align-items:start}.studio-main{min-width:0}.studio-work-panel{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);overflow:hidden;box-shadow:var(--amora-shadow-soft)}.studio-work-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--amora-space-4);padding:var(--amora-space-5) var(--amora-space-5) var(--amora-space-4);border-bottom:1px solid var(--amora-neutral-line);background:linear-gradient(180deg,color-mix(in srgb,var(--amora-brand-blue) 3%,white) 0%,var(--amora-neutral-white) 100%)}.studio-work-step{display:block;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--amora-brand-blue);margin-bottom:var(--amora-space-1)}.studio-work-title{margin:0;font-size:22px;font-weight:600;color:var(--amora-text-primary);line-height:1.25;text-wrap:balance}.studio-work-desc{margin:var(--amora-space-2) 0 0;font-size:14px;color:var(--amora-text-secondary);line-height:1.55;max-width:52ch;text-wrap:pretty}.studio-work-body{padding:var(--amora-space-5)}.studio-step-content{display:flex;flex-direction:column;gap:var(--amora-space-4)}.studio-step-footer{margin-top:var(--amora-space-2);padding-top:var(--amora-space-4);border-top:1px solid var(--amora-neutral-line)}.studio-callout-muted{padding:var(--amora-space-4);background:var(--amora-neutral-surface);border-radius:var(--amora-radius-md);color:var(--amora-text-secondary);font-size:14px}.studio-inline-status{display:flex;align-items:center;gap:var(--amora-space-3)}.studio-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}.studio-badge.ok{background:#12b76a1f;color:var(--amora-status-success)}.studio-badge.pending{background:var(--amora-neutral-surface);color:var(--amora-text-muted)}.studio-status-sidebar{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);padding:var(--amora-space-4);position:sticky;top:var(--amora-space-4);box-shadow:var(--amora-shadow-soft)}.studio-status-block+.studio-status-block{margin-top:var(--amora-space-4);padding-top:var(--amora-space-4);border-top:1px solid var(--amora-neutral-line)}.studio-status-heading{margin:0 0 var(--amora-space-2);font-size:13px;font-weight:600;color:var(--amora-text-secondary)}.studio-status-taskid{font-family:ui-monospace,monospace;font-size:var(--amora-font-size-caption, 12px);color:var(--amora-text-muted);margin:0}.studio-status-project{font-size:var(--amora-font-size-body, 14px);font-weight:var(--amora-font-weight-semibold, 600);margin:0 0 var(--amora-space-1);line-height:1.4}.studio-audit-status{color:var(--amora-text-muted)}.studio-status-hint{font-size:13px;color:var(--amora-text-secondary);line-height:1.5}.studio-status-activity{display:flex;align-items:flex-start;gap:var(--amora-space-2);margin:0;font-size:13px;color:var(--amora-brand-blue);line-height:1.45}.studio-status-activity-dot{flex-shrink:0;width:8px;height:8px;margin-top:5px;border-radius:999px;background:var(--amora-brand-blue);animation:studio-activity-pulse 1.2s ease-in-out infinite}@keyframes studio-activity-pulse{0%,to{opacity:.35;transform:scale(.92)}50%{opacity:1;transform:scale(1)}}.studio-gate-list{list-style:none;margin:0;padding:0}.studio-gate-list li{display:flex;gap:var(--amora-space-3);align-items:flex-start;padding:var(--amora-space-2) 0;font-size:13px}.studio-gate-dot{width:8px;height:8px;margin-top:6px;border-radius:999px;background:var(--amora-neutral-gray);flex-shrink:0}.studio-gate-list li.ok .studio-gate-dot{background:var(--amora-status-success)}.studio-gate-hint{display:block;font-size:12px;color:var(--amora-text-muted);margin-top:2px}.studio-status-cta{margin-top:var(--amora-space-3);width:100%}.studio-outline-toolbar{display:flex;align-items:center;gap:var(--amora-space-3);margin-bottom:var(--amora-space-3);flex-wrap:wrap}.studio-outline-three-col{display:grid;grid-template-columns:1fr 1.4fr 72px;gap:var(--amora-space-3);margin-bottom:var(--amora-space-4)}.studio-outline-col{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);padding:var(--amora-space-3);min-height:120px}.studio-outline-col-title{margin:0 0 var(--amora-space-2);font-size:var(--amora-font-size-caption, 12px);font-weight:600;color:var(--amora-text-muted)}.studio-tender-outline{list-style:none;margin:0;padding:0;font-size:var(--amora-font-size-body, 14px)}.studio-tender-outline li{padding:var(--amora-space-1) 0;color:var(--amora-text-secondary)}.studio-outline-align-list{list-style:none;margin:0;padding:0}.studio-outline-align-list li{padding:var(--amora-space-2) 0;font-size:var(--amora-font-size-caption, 12px);border-bottom:1px solid var(--amora-neutral-line)}.studio-align-aligned{color:var(--amora-status-success, #16a34a)}.studio-align-check{color:var(--amora-status-warning, #c9a227)}.studio-align-custom{color:var(--amora-text-muted)}.studio-status-tag{font-size:11px;padding:2px 8px;border-radius:4px;color:#fff}.project-detail-dl{display:grid;gap:var(--amora-space-2)}.project-detail-dl dt{font-size:12px;color:var(--amora-text-muted)}.project-detail-dl dd{margin:0;font-size:14px}.project-detail-error{color:var(--amora-status-error)}.project-detail-actions{margin-top:var(--amora-space-4)}@media(max-width:960px){.studio-outline-three-col{grid-template-columns:1fr}}.studio-outline-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--amora-space-2)}.studio-outline-list li{display:flex;align-items:center;gap:var(--amora-space-2);padding:var(--amora-space-2);background:var(--amora-neutral-surface);border-radius:var(--amora-radius-md)}.studio-outline-input{flex:1;padding:8px 10px;border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);font-size:14px}.studio-outline-actions{display:flex;gap:4px;flex-shrink:0}.studio-outline-actions button{min-width:32px;padding:4px 8px}.studio-plan-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:var(--amora-space-4);align-items:start}.studio-plan-table{width:100%;border-collapse:collapse;font-size:13px}.studio-plan-table th,.studio-plan-table td{border:1px solid var(--amora-neutral-line);padding:8px 10px;text-align:left;vertical-align:top}.studio-plan-table th{background:var(--amora-neutral-surface);font-weight:600;font-size:12px}.studio-plan-table select,.studio-source-picker select,.studio-source-picker input{width:100%;max-width:100%;font-size:13px}.studio-source-sidebar{padding:var(--amora-space-3);background:var(--amora-neutral-surface);border-radius:var(--amora-radius-md);font-size:13px}.studio-source-picker{display:flex;flex-direction:column;gap:6px;min-width:140px}.studio-block-title{margin:0 0 var(--amora-space-3);font-size:14px;font-weight:600;color:var(--amora-text-primary);line-height:1.3;text-wrap:balance}.studio-export-layout{gap:var(--amora-space-5)}.studio-export-block{min-width:0}.studio-export-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--amora-space-3)}.studio-export-mode-card{display:flex;flex-direction:column;gap:var(--amora-space-1);padding:var(--amora-space-3) var(--amora-space-4);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface);cursor:pointer;transition:border-color .15s ease-out,background-color .15s ease-out}.studio-export-mode-card:hover{border-color:color-mix(in srgb,var(--amora-brand-blue) 35%,var(--amora-neutral-line))}.studio-export-mode-card.is-selected{border-color:var(--amora-brand-blue);background:color-mix(in srgb,var(--amora-brand-blue) 6%,var(--amora-neutral-white))}.studio-export-mode-card input[type=radio]{margin:0;flex-shrink:0}.studio-export-mode-title{font-size:14px;font-weight:600;color:var(--amora-text-primary)}.studio-export-mode-desc{font-size:13px;color:var(--amora-text-secondary);line-height:1.45;text-wrap:pretty}.studio-export-selected{margin-top:var(--amora-space-3);padding:var(--amora-space-3) var(--amora-space-4);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-white)}.studio-export-selected-label{margin:0 0 var(--amora-space-2);font-size:13px;color:var(--amora-text-secondary)}.studio-export-chips{display:flex;flex-wrap:wrap;gap:var(--amora-space-2);list-style:none;margin:0;padding:0}.studio-export-chip{padding:4px 10px;border-radius:999px;border:1px solid var(--amora-neutral-line);background:var(--amora-neutral-surface);font-size:13px;color:var(--amora-text-primary)}.studio-export-doc-list{list-style:none;margin:var(--amora-space-3) 0 0;padding:0;border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-white)}.studio-export-doc-list li{border-bottom:1px solid var(--amora-neutral-line)}.studio-export-doc-list li:last-child{border-bottom:none}.studio-export-doc-list label{display:flex;align-items:center;gap:var(--amora-space-3);padding:var(--amora-space-3) var(--amora-space-4);font-size:14px;cursor:pointer}.studio-export-doc-type{margin-left:auto;font-size:12px;color:var(--amora-text-muted)}.studio-export-lower{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:var(--amora-space-4);align-items:start}.studio-export-actions-block{padding:var(--amora-space-4);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-surface)}.studio-export-actions{display:flex;flex-wrap:wrap;gap:var(--amora-space-2);margin-top:var(--amora-space-3)}.studio-export-actions .primary-cta{flex:1 1 auto;min-width:min(100%,200px)}.studio-export-message{margin:var(--amora-space-3) 0 0}.studio-export-downloads{list-style:none;margin:var(--amora-space-3) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--amora-space-2)}.studio-export-downloads a.download{display:block;padding:var(--amora-space-2) var(--amora-space-3);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);background:var(--amora-neutral-white);font-size:13px;text-decoration:none;color:var(--amora-brand-blue)}.studio-export-downloads a.download:hover{border-color:color-mix(in srgb,var(--amora-brand-blue) 40%,var(--amora-neutral-line))}.studio-submission-confirm{display:flex;align-items:flex-start;gap:var(--amora-space-2);font-size:14px;line-height:1.45;color:var(--amora-text-secondary)}.app-user-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--amora-space-4);padding:var(--amora-space-3) var(--amora-space-4);margin-bottom:var(--amora-space-4);background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);font-size:14px}.app-user-bar-meta{display:flex;align-items:center;gap:var(--amora-space-3);flex-wrap:wrap}.app-user-bar-name{font-weight:600}.app-user-bar-role,.app-user-bar-tenant{padding:2px 8px;border-radius:999px;background:var(--amora-neutral-surface);font-size:12px;color:var(--amora-text-muted)}.app-user-bar-actions{display:flex;align-items:center;gap:var(--amora-space-3)}.app-user-bar-logout{color:var(--amora-status-error)}.studio-parse-summary{margin-top:var(--amora-space-4);padding:var(--amora-space-4);background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md)}.studio-parse-summary-title{font-size:var(--amora-font-size-body-lg, 16px);font-weight:var(--amora-font-weight-bold, 700);margin:0 0 var(--amora-space-2)}.studio-parse-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:var(--amora-space-3);margin:var(--amora-space-3) 0 0}.studio-parse-stat dt{font-size:var(--amora-font-size-caption, 12px);color:var(--amora-text-muted)}.studio-parse-stat dd{font-size:var(--amora-font-size-body-lg, 16px);font-weight:var(--amora-font-weight-bold, 700);margin:0}.studio-parse-meta{margin:var(--amora-space-3) 0 0;padding-left:1.2em}.studio-parse-extracts{margin-top:var(--amora-space-4);padding:var(--amora-space-4);background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md)}.studio-parse-extracts-title{font-size:var(--amora-font-size-body-lg, 16px);font-weight:var(--amora-font-weight-bold, 700);margin:0}.studio-parse-extracts-head .hint{margin:var(--amora-space-2) 0 0}.studio-extract-groups{margin-top:var(--amora-space-3);display:flex;flex-direction:column;gap:var(--amora-space-2)}.studio-extract-group{border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);background:var(--amora-neutral-bg, #f8f9fb)}.studio-extract-group-summary{display:flex;align-items:center;justify-content:space-between;gap:var(--amora-space-2);padding:var(--amora-space-2) var(--amora-space-3);cursor:pointer;font-weight:var(--amora-font-weight-semibold, 600);list-style:none}.studio-extract-group-summary::-webkit-details-marker{display:none}.studio-extract-count{font-size:var(--amora-font-size-caption, 12px);color:var(--amora-text-muted);font-weight:400}.studio-extract-list{margin:0;padding:0 var(--amora-space-3) var(--amora-space-3);list-style:none}.studio-extract-item{padding:var(--amora-space-2) 0;border-top:1px solid var(--amora-neutral-line)}.studio-extract-item:first-child{border-top:none}.studio-extract-item-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--amora-space-2);margin-bottom:var(--amora-space-1)}.studio-extract-text{margin:0;font-size:var(--amora-font-size-body, 14px);line-height:1.5;color:var(--amora-text-primary)}.studio-extract-score{font-size:var(--amora-font-size-caption, 12px);color:var(--amora-brand-primary, #2563eb);font-weight:var(--amora-font-weight-bold, 700)}.studio-extract-tag{font-size:var(--amora-font-size-caption, 12px);padding:.1em .45em;border-radius:4px;background:var(--amora-neutral-line);color:var(--amora-text-muted)}.studio-extract-format-row{display:flex;justify-content:space-between;gap:var(--amora-space-3);padding:var(--amora-space-2) 0;border-top:1px solid var(--amora-neutral-line);font-size:var(--amora-font-size-body, 14px)}.studio-extract-format-row:first-child{border-top:none}.studio-extract-format-label{color:var(--amora-text-muted)}.studio-extract-more{margin:0 var(--amora-space-3) var(--amora-space-2)}.studio-progress-block{margin-top:var(--amora-space-3)}.studio-progress-bar{height:6px;margin-top:var(--amora-space-2);background:var(--amora-neutral-line);border-radius:3px;overflow:hidden}.studio-progress-bar-fill{display:block;height:100%;width:30%;background:var(--amora-brand-blue);border-radius:3px;transition:width .4s ease}.studio-progress-bar-active{animation:studio-progress-pulse 1.2s ease-in-out infinite}@keyframes studio-progress-pulse{0%,to{opacity:.55}50%{opacity:1}}.studio-wait-state{padding:var(--amora-space-3) var(--amora-space-4);background:var(--amora-bg-info-subtle);border:1px solid var(--amora-border-info);border-radius:var(--amora-radius-md)}.studio-wait-state-compact{padding:var(--amora-space-2) var(--amora-space-3)}.studio-wait-title{margin:0;font-size:var(--amora-font-size-body, 14px);font-weight:600;color:var(--amora-text-primary)}.studio-wait-detail{margin:var(--amora-space-1) 0 0;font-size:var(--amora-font-size-caption, 13px);color:var(--amora-text-secondary);line-height:1.45}.studio-sync-strip{margin-bottom:var(--amora-space-3)}@media(prefers-reduced-motion:reduce){.studio-progress-bar-active,.studio-status-activity-dot{animation:none;opacity:.85}}.studio-pack-audit{padding:var(--amora-space-3) var(--amora-space-4);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);background:var(--amora-neutral-white)}.studio-pack-audit-empty{margin:0}.studio-pack-audit-head{margin:0 0 var(--amora-space-2)}.studio-audit-block{border-color:var(--amora-status-error)}.studio-audit-warn{border-color:var(--amora-status-warning, #c9a227)}.studio-pack-audit-item{margin-top:var(--amora-space-1)}.studio-audit-fix{margin-left:var(--amora-space-2)}.studio-plan-row-selected td{background:color-mix(in srgb,var(--amora-brand-blue) 8%,transparent)}.studio-plan-table tbody tr{cursor:pointer}.studio-source-catalog{list-style:none;margin:0;padding:0;max-height:360px;overflow-y:auto}.studio-source-pick{display:block;width:100%;text-align:left;padding:var(--amora-space-2);margin-bottom:var(--amora-space-2);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);background:var(--amora-neutral-surface, #f8fafc);cursor:pointer}.studio-source-pick:disabled{opacity:.5;cursor:not-allowed}.studio-source-pick strong{display:block;font-size:13px}.studio-outline-level{flex-shrink:0;padding:4px 6px;border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);font-size:12px;background:var(--amora-neutral-white)}.studio-outline-drag-handle{flex-shrink:0;width:20px;color:var(--amora-text-muted);cursor:grab;-webkit-user-select:none;user-select:none}.studio-outline-list li.studio-outline-dragging{opacity:.55}.studio-plan-toolbar{display:flex;align-items:center;gap:var(--amora-space-3);margin-bottom:var(--amora-space-3);flex-wrap:wrap}.studio-plan-row-highlight td{background:color-mix(in srgb,var(--amora-brand-blue) 12%,transparent)}.studio-login-app{min-height:100vh}.studio-login-shell{max-width:960px;margin:0 auto}.studio-login-body{display:flex;justify-content:center;padding:var(--amora-space-4) 0 var(--amora-space-6)}.studio-login-card{width:100%;max-width:420px}.studio-login-form{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);padding:var(--amora-space-5);width:100%;box-shadow:none}.studio-login-form h1{margin:0 0 var(--amora-space-1);font-size:var(--amora-font-size-body-lg, 16px)}.studio-login-form .subtitle{color:var(--amora-text-muted);font-size:var(--amora-font-size-caption, 12px);margin-bottom:var(--amora-space-4)}.studio-login-form label{display:block;margin-bottom:var(--amora-space-3);font-size:var(--amora-font-size-caption, 12px)}.studio-login-form input[type=email],.studio-login-form input[type=password]{width:100%;padding:var(--amora-space-2);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);margin-top:var(--amora-space-1);font-size:var(--amora-font-size-body, 14px);box-sizing:border-box}.studio-login-form .studio-login-submit{width:100%;margin-top:var(--amora-space-2);font-size:var(--amora-font-size-body, 14px)}.studio-login-wecom{margin-bottom:var(--amora-space-4);padding:var(--amora-space-4);background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);box-shadow:none;text-align:center}.studio-login-foot{margin-top:var(--amora-space-3);text-align:center}.console-unified-app{min-height:100vh}.console-unified-shell{max-width:1200px;margin:0 auto}.moraid-chrome-trailing{display:flex;align-items:center;gap:var(--amora-space-3)}.console-chrome-extra{display:flex;align-items:center;gap:var(--amora-space-2)}.console-role-tag{font-size:var(--amora-font-size-caption, 12px);padding:2px 8px;border-radius:var(--amora-radius-sm);background:color-mix(in srgb,var(--amora-brand-blue) 14%,transparent);color:var(--amora-text-secondary)}.console-unified-body{display:grid;grid-template-columns:200px 1fr;gap:var(--amora-space-4);align-items:start}.console-unified-sidebar{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-lg);padding:var(--amora-space-2) 0}.console-unified-sidebar nav a{display:block;padding:var(--amora-space-2) var(--amora-space-4);color:var(--amora-text-secondary);text-decoration:none;font-size:var(--amora-font-size-body, 14px);cursor:pointer}.console-unified-sidebar nav a:hover,.console-unified-sidebar nav a.active{background:color-mix(in srgb,var(--amora-brand-blue) 10%,transparent);color:var(--amora-brand-blue)}.console-nav-section{margin:var(--amora-space-2) var(--amora-space-4) var(--amora-space-1);font-size:12px;font-weight:600;color:var(--amora-text-muted)}.console-nav-external{font-weight:500}.console-unified-main{min-width:0;padding:0;background:transparent}.console-page-panel{margin:0}.console-unified-footer{margin-top:var(--amora-space-4);text-align:center;font-size:var(--amora-font-size-caption, 12px)}.console-hamburger{display:none}@media(max-width:960px){.console-unified-body{grid-template-columns:1fr}.console-hamburger{display:block;margin-bottom:var(--amora-space-2);padding:var(--amora-space-2) var(--amora-space-3);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);background:var(--amora-neutral-white);cursor:pointer}.console-unified-sidebar{display:none}.console-unified-sidebar.open{display:block;position:fixed;left:var(--amora-space-3);right:var(--amora-space-3);top:120px;z-index:20;max-height:70vh;overflow-y:auto}}@media(max-width:960px){.studio-layout{grid-template-columns:1fr}.studio-status-sidebar{position:static}.studio-step-rail{flex-direction:column}.studio-step-rail-line{width:1px;height:12px;margin:0 auto}.studio-plan-layout,.studio-export-mode-grid,.studio-export-lower{grid-template-columns:1fr}.studio-work-header{flex-direction:column;align-items:stretch}.studio-work-actions{width:100%}}@media(prefers-reduced-motion:reduce){.studio-step-rail-btn,.studio-export-mode-card{transition:none}}.console-app{display:flex;flex-direction:column;min-height:100vh;font-family:var(--amora-font-family)}.topbar{display:flex;justify-content:space-between;align-items:center;height:56px;padding:0 24px;background:var(--amora-text-primary);color:var(--amora-neutral-white);box-shadow:0 2px 4px #0000001a;z-index:10}.topbar-logo{font-size:18px;font-weight:600}.user-menu{display:flex;align-items:center;gap:12px;cursor:pointer;padding:6px 12px;border-radius:6px;transition:background .2s}.user-menu:hover{background:#ffffff1a}.console-body{display:flex;flex:1;overflow:hidden}.sidebar{width:200px;background:var(--amora-neutral-surface);border-right:1px solid var(--amora-neutral-line);padding:16px 0;flex-shrink:0}.sidebar-nav a{display:block;padding:10px 24px;color:var(--amora-text-secondary);text-decoration:none;font-size:14px;transition:background .2s}.sidebar-nav a:hover,.sidebar-nav a.active{background:color-mix(in srgb,var(--amora-brand-blue) 12%,white);color:var(--amora-brand-purple)}.console-main{flex:1;padding:24px;overflow-y:auto;background:var(--amora-neutral-white)}.wecom-login-block{margin-bottom:1.5rem;text-align:center}.wecom-login-block h2{font-size:1rem;font-weight:600;margin-bottom:.75rem}.wecom-login-container{min-height:280px;display:flex;justify-content:center}.login-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;background:var(--amora-gradient-dark-base);padding:1.5rem;gap:1rem}.login-card{width:400px;padding:32px;background:var(--amora-neutral-white);border-radius:12px;box-shadow:0 8px 24px #0000001a}.login-card h1{margin:0 0 24px;font-size:24px;color:var(--amora-text-primary)}.login-card .field{margin-bottom:16px}.login-card .field label{display:block;margin-bottom:4px;font-size:14px;color:var(--amora-text-secondary)}.login-card .field input{width:100%;padding:10px 12px;border:1px solid var(--amora-neutral-line);border-radius:6px;font-size:14px;box-sizing:border-box}.login-card .field-error{margin-top:4px;font-size:12px;color:var(--amora-status-error)}.login-card button{width:100%;padding:12px;background:var(--amora-brand-blue);color:var(--amora-neutral-white);border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.login-card button:hover{background:var(--amora-brand-purple)}.projects-table{width:100%;border-collapse:collapse}.projects-table th,.projects-table td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--amora-neutral-line);font-size:14px}.projects-table th{background:var(--amora-neutral-surface);font-weight:600;color:var(--amora-text-secondary)}.projects-table tr:hover{background:var(--amora-neutral-surface)}.project-status{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500}.project-status.active{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.project-status.archived{background:var(--amora-neutral-surface);color:var(--amora-text-secondary)}.projects-cards{display:none}.project-card{padding:16px;margin-bottom:12px;background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:8px;box-shadow:0 1px 3px #0000000d}.project-card-title{font-size:16px;font-weight:600;margin-bottom:8px;color:var(--amora-text-primary)}.project-card-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--amora-text-muted);margin-bottom:4px}.usage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.usage-stat{padding:20px;background:var(--amora-neutral-surface);border-radius:8px;border:1px solid var(--amora-neutral-line)}.usage-stat-label{font-size:13px;color:var(--amora-text-muted);margin-bottom:8px}.usage-stat-value{font-size:28px;font-weight:600;color:var(--amora-text-primary)}.usage-trend-chart{height:200px;background:var(--amora-neutral-surface);border-radius:8px;border:1px solid var(--amora-neutral-line);margin-top:16px}.ticket-list{display:flex;flex-direction:column;gap:8px}.ticket-item{display:flex;align-items:center;padding:12px 16px;background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:6px;cursor:pointer;transition:background .2s}.ticket-item:hover{background:var(--amora-neutral-surface)}.ticket-status{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;margin-right:12px}.ticket-status[data-status=open]{background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black)}.ticket-status[data-status=in_progress]{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.ticket-status[data-status=resolved]{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.ticket-status[data-status=closed]{background:var(--amora-neutral-surface);color:var(--amora-text-secondary)}.ticket-priority-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;color:var(--amora-neutral-white);margin-right:12px}.toast-container{position:fixed;top:80px;right:24px;z-index:1000;display:flex;flex-direction:column;gap:8px}.toast{padding:var(--amora-space-3) var(--amora-space-4);background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);box-shadow:var(--amora-shadow-soft);font-size:var(--amora-font-size-body, 14px);min-width:240px;max-width:400px;animation:toastSlideIn .2s ease-out}.toast-success{background:var(--amora-bg-success-subtle);border-color:var(--amora-border-success)}.toast-error{background:var(--amora-bg-error-subtle);border-color:var(--amora-border-error)}.toast-warning{background:color-mix(in srgb,var(--amora-status-warning) 10%,white);border-color:color-mix(in srgb,var(--amora-status-warning) 35%,transparent)}.toast-info{background:var(--amora-bg-info-subtle);border-color:var(--amora-border-info)}@keyframes toastSlideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.ticket-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.ticket-modal-content{background:var(--amora-neutral-white);border-radius:8px;width:100%;max-width:640px;max-height:90vh;overflow-y:auto;padding:24px}.ticket-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--amora-neutral-line)}.ticket-modal-header h2{margin:0;font-size:18px}.ticket-modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:var(--amora-text-muted);padding:0 8px}.ticket-modal-meta{display:flex;align-items:center;gap:12px;margin-bottom:16px}.ticket-modal-body{margin-bottom:24px;line-height:1.6;color:var(--amora-text-secondary)}.ticket-modal-comments h3{font-size:14px;margin-bottom:12px;color:var(--amora-text-secondary)}.comment-list{list-style:none;padding:0;margin:0 0 16px}.comment-item{padding:12px;background:var(--amora-neutral-surface);border-radius:6px;margin-bottom:8px}.comment-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--amora-text-muted);margin-bottom:4px}.ticket-modal-form{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--amora-neutral-line);padding-top:16px}.ticket-modal-form textarea{padding:8px 12px;border:1px solid var(--amora-neutral-line);border-radius:6px;font-family:inherit;font-size:14px;resize:vertical}.ticket-modal-form button{align-self:flex-end;padding:8px 16px;background:var(--amora-brand-blue);color:var(--amora-neutral-white);border:none;border-radius:6px;font-size:14px;cursor:pointer}.ticket-modal-form button:disabled{background:var(--amora-text-muted);cursor:not-allowed}.empty-state{text-align:center;padding:24px;color:var(--amora-text-muted);font-size:14px}@media(max-width:768px){.sidebar{display:none}.console-main{padding:16px}.topbar{padding:0 16px}.login-card{width:90%;padding:24px}.projects-table{display:none}.projects-cards{display:block}.usage-grid{grid-template-columns:1fr}}.hamburger{display:none;background:none;border:none;color:var(--amora-neutral-white);font-size:22px;cursor:pointer;padding:4px 10px;border-radius:4px}.hamburger:hover{background:#ffffff1a}.drawer-backdrop{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:998}@media(max-width:768px){.hamburger{display:inline-block}.drawer-backdrop{display:block}.console-sidebar{position:fixed;top:0;left:0;bottom:0;width:240px;background:var(--amora-neutral-surface);box-shadow:2px 0 12px #00000026;transform:translate(-100%);transition:transform .2s ease-out;z-index:999;padding-top:16px}.console-sidebar.open{transform:translate(0)}.console-sidebar nav a{padding:14px 24px;font-size:15px}.console-topbar .brand{font-size:16px}.console-topbar .user-info{gap:8px;font-size:12px}.console-topbar .user-info .tenant{display:none}.console-topbar .user-info .role-tag{padding:2px 6px;font-size:11px}.console-main{padding-top:16px}.ops-header{flex-direction:column;align-items:flex-start;gap:12px}.ops-header h2{font-size:18px}.ops-actions{flex-wrap:wrap;gap:6px}.ops-actions .btn{padding:5px 10px;font-size:13px}.sse-badge{font-size:11px;padding:3px 8px}.tenants-table{display:none}.tenants-cards{display:block}.tickets-table{display:none}.tickets-cards{display:block}.audit-table{font-size:12px}.audit-table th,.audit-table td{padding:6px 8px}.modal-content{width:95%;max-width:95%;margin:16px}}@media(min-width:769px)and (max-width:1024px){.console-sidebar{width:180px}.ops-header,.ops-actions{flex-wrap:wrap}}.agent-ops{padding:24px 32px;font-family:var(--amora-font-family)}.ops-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.ops-header h2{font-size:22px;font-weight:600;margin:0}.ops-actions{display:flex;gap:12px;align-items:center}.ops-state{padding:4px 10px;border-radius:12px;font-size:12px;background:var(--amora-neutral-surface);color:var(--amora-text-secondary)}.ops-state.ready{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.ops-state.error{background:var(--amora-bg-error-subtle);color:var(--amora-status-error)}.ops-state.loading{background:color-mix(in srgb,var(--amora-status-warning) 12%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.sse-badge{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500;cursor:default}.sse-badge.sse-open{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.sse-badge.sse-connecting{background:color-mix(in srgb,var(--amora-status-warning) 12%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.sse-badge.sse-error{background:var(--amora-bg-error-subtle);color:var(--amora-status-error)}.sse-badge.sse-closed{background:var(--amora-neutral-surface);color:var(--amora-text-secondary)}.ops-refresh-reason{font-size:12px;color:var(--amora-text-disabled);font-family:monospace}.btn{padding:6px 14px;border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);background:var(--amora-neutral-white);color:var(--amora-text-primary);cursor:pointer;font-size:var(--amora-font-size-body, 14px)}.btn:hover{background:var(--amora-neutral-surface)}.btn.primary{background:var(--amora-brand-blue);color:var(--amora-text-inverse);border-color:var(--amora-brand-blue)}.btn.primary:hover{background:var(--amora-brand-blue-hover)}.btn:disabled{opacity:.5;cursor:not-allowed}.ops-tick-msg{padding:var(--amora-space-3) var(--amora-space-4);margin-bottom:var(--amora-space-5);background:var(--amora-bg-info-subtle);border:1px solid var(--amora-border-info);border-radius:var(--amora-radius-sm);font-family:ui-monospace,monospace;font-size:13px;color:var(--amora-text-secondary)}.ops-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:32px}.ops-card{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:8px;padding:18px 20px;box-shadow:0 1px 2px #0000000a}.card-title{font-size:13px;color:var(--amora-text-muted);margin-bottom:8px}.card-value{font-size:20px;font-weight:600;color:var(--amora-text-primary)}.card-value.big{font-size:24px}.card-value .unit{font-size:14px;color:var(--amora-text-muted);font-weight:400;margin-left:4px}.card-value .ok{color:var(--amora-status-success)}.card-value .warn{color:var(--amora-status-warning)}.card-sub{font-size:12px;color:var(--amora-text-muted);margin-top:4px}.ops-section{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:8px;padding:20px 24px;margin-bottom:24px}.ops-section h3{margin:0 0 16px;font-size:16px;font-weight:600}.ops-table{width:100%;border-collapse:collapse;font-size:14px}.ops-table th,.ops-table td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--amora-neutral-surface)}.ops-table th{font-weight:600;color:var(--amora-text-secondary);background:var(--amora-neutral-surface)}.ops-delta{margin-top:12px;font-size:13px;color:var(--amora-text-muted);display:flex;gap:16px}.ops-bars .bar-row{display:flex;padding:6px 0;border-bottom:1px solid var(--amora-neutral-surface)}.ops-bars .bar-label{flex:1}.ops-bars .bar-count{font-weight:600;color:var(--amora-brand-blue)}.ops-alerts{list-style:none;padding:0;margin:0}.ops-alerts .alert{padding:8px 12px;margin-bottom:4px;border-radius:4px;display:flex;gap:12px;font-size:13px;background:var(--amora-neutral-surface);font-family:monospace}.ops-alerts .alert-time{color:var(--amora-text-muted)}.ops-alerts .alert-level{font-weight:600}.ops-alerts .alert.alert-warn{background:color-mix(in srgb,var(--amora-status-warning) 10%,white)}.ops-alerts .alert.alert-warn .alert-level{color:var(--amora-status-warning)}.ops-alerts .alert.alert-error{background:var(--amora-bg-error-subtle)}.ops-alerts .alert.alert-error .alert-level{color:var(--amora-status-error)}.ops-alerts .alert.alert-critical{background:var(--amora-bg-error-subtle)}.ops-alerts .alert.alert-critical .alert-level{color:var(--amora-status-error);font-weight:700}.ops-alerts .alert.alert-info .alert-level{color:var(--amora-brand-blue)}.empty{color:var(--amora-text-muted);font-style:italic}.projects-page{padding:24px 32px;font-family:var(--amora-font-family)}.projects-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.projects-page .page-header h2{font-size:22px;font-weight:600;margin:0}.projects-page .filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.projects-page .search-input{flex:1;min-width:240px;max-width:360px;padding:8px 12px;border:1px solid var(--amora-neutral-line);border-radius:6px;font-size:14px;background:var(--amora-neutral-white)}.projects-page .search-input:focus{outline:none;border-color:var(--amora-brand-blue);box-shadow:0 0 0 3px #2563eb1a}.projects-page .status-tabs{display:flex;gap:4px;background:var(--amora-neutral-surface);padding:4px;border-radius:8px}.projects-page .status-tab{padding:6px 12px;border:none;background:transparent;border-radius:6px;font-size:13px;color:var(--amora-text-secondary);cursor:pointer;transition:all .15s}.projects-page .status-tab:hover{background:var(--amora-neutral-line)}.projects-page .status-tab.active{background:var(--amora-neutral-white);color:var(--amora-brand-blue);font-weight:600;box-shadow:0 1px 2px #0000000d}.projects-page .list-meta{font-size:13px;color:var(--amora-text-muted);margin-bottom:12px}.projects-page .list-meta b{color:var(--amora-text-primary);font-weight:600}.projects-page .error-box{padding:12px 16px;margin-bottom:16px;background:var(--amora-bg-error-subtle);border:1px solid var(--amora-border-error);border-radius:var(--amora-radius-sm);color:color-mix(in srgb,var(--amora-status-error) 75%,black);font-size:14px;display:flex;justify-content:space-between;align-items:center}.projects-page .loading{text-align:center;padding:60px 0;color:var(--amora-text-muted)}.projects-page .loading .spinner{width:32px;height:32px;border:3px solid var(--amora-neutral-line);border-top-color:var(--amora-brand-blue);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 12px}@keyframes spin{to{transform:rotate(360deg)}}.projects-page .empty-state{text-align:center;padding:60px 20px;color:var(--amora-text-muted)}.projects-page .empty-icon{font-size:48px;margin-bottom:16px;opacity:.4}.projects-page .empty-state p{font-size:15px;color:var(--amora-text-muted);margin:0 0 4px}.projects-page .empty-state small{font-size:13px;color:var(--amora-text-muted)}.projects-page .project-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:12px}.projects-page .project-card{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:8px;padding:14px 16px;cursor:pointer;transition:all .15s;display:flex;flex-direction:column;gap:8px}.projects-page .project-card:hover{border-color:var(--amora-brand-blue);box-shadow:0 2px 8px #2563eb14;transform:translateY(-1px)}.projects-page .card-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.projects-page .card-row.meta{font-size:12px;color:var(--amora-text-muted)}.projects-page .card-name{font-size:15px;font-weight:600;color:var(--amora-text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.projects-page .status-tag{padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;color:var(--amora-neutral-white);flex-shrink:0}.projects-page .id-tag{font-family:monospace;color:var(--amora-text-secondary);background:var(--amora-neutral-surface);padding:1px 6px;border-radius:4px}.projects-page .created{color:var(--amora-text-muted)}.projects-page .progress-tag{margin-left:auto;color:var(--amora-brand-blue);font-weight:500}.projects-page .card-actions{display:flex;gap:8px;margin-top:4px}.projects-page .btn.small{padding:4px 10px;font-size:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px;animation:fadeIn .15s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-backdrop .modal{background:var(--amora-neutral-white);border-radius:8px;width:100%;max-width:720px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 8px 24px #00000026}.modal-backdrop .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--amora-neutral-line)}.modal-backdrop .modal-header h3{margin:0;font-size:17px;font-weight:600;color:var(--amora-text-primary)}.modal-backdrop .modal-body{margin:0;padding:16px 20px;overflow:auto;font-family:monospace;font-size:13px;line-height:1.5;color:var(--amora-text-secondary);background:var(--amora-neutral-surface);border-radius:0 0 8px 8px;flex:1}.btn-link{background:none;border:none;color:var(--amora-brand-blue);cursor:pointer;font-size:14px;padding:4px 8px;text-decoration:underline}.btn-link:hover{color:var(--amora-brand-blue-hover)}.tickets-page{padding:24px 32px;font-family:var(--amora-font-family)}.tickets-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.tickets-page .page-header h2{font-size:22px;font-weight:600;margin:0}.header-actions{display:flex;gap:12px;align-items:center}.sla-pill{padding:6px 12px;border-radius:14px;font-size:13px;font-weight:500}.sla-pill.ok{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.sla-pill.danger{background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black);animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.ticket-form{background:var(--amora-neutral-surface);border:1px solid var(--amora-neutral-line);border-radius:8px;padding:16px 20px;margin-bottom:20px;display:flex;flex-direction:column;gap:12px}.ticket-form .form-row{display:flex;align-items:flex-start;gap:12px}.ticket-form .form-row label{flex:0 0 80px;font-size:14px;color:var(--amora-text-secondary);padding-top:8px}.ticket-form select,.ticket-form input,.ticket-form textarea{flex:1;padding:8px 12px;border:1px solid var(--amora-neutral-line);border-radius:6px;font-size:14px;font-family:inherit}.ticket-form select:focus,.ticket-form input:focus,.ticket-form textarea:focus{outline:none;border-color:var(--amora-brand-blue);box-shadow:0 0 0 3px #2563eb1a}.ticket-form .form-actions{display:flex;justify-content:flex-end}.ticket-list{list-style:none;padding:0;margin:16px 0 0;display:flex;flex-direction:column;gap:10px}.ticket-card{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);padding:14px 16px;display:flex;flex-direction:column;gap:8px}.ticket-card.breached{border-color:var(--amora-border-error);background:var(--amora-bg-error-subtle)}.ticket-row{display:flex;align-items:center;gap:12px}.ticket-row.top{font-size:14px}.ticket-row.meta{font-size:12px;color:var(--amora-text-muted);flex-wrap:wrap}.severity-tag{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:700;color:var(--amora-neutral-white);letter-spacing:.5px;flex-shrink:0}.ticket-title{flex:1;font-weight:500;color:var(--amora-text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sla-badge{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500;flex-shrink:0}.sla-badge.sla-ok{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.sla-badge.sla-warn{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.sla-badge.sla-danger{background:var(--amora-status-error);color:var(--amora-neutral-white);animation:pulse 1.5s infinite}.ticket-desc{margin:0;font-size:13px;color:var(--amora-text-secondary);line-height:1.5}.ticket-actions{display:flex;gap:8px;align-items:center}.breach-tag{margin-left:auto;padding:4px 10px;background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black);border:1px solid var(--amora-border-error);border-radius:4px;font-size:12px;font-weight:500}.audit-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:16px}.audit-table th,.audit-table td{padding:8px 10px;border-bottom:1px solid var(--border);text-align:left}.audit-table th{background:var(--bg-alt);font-weight:600;color:var(--text-muted);font-size:12px;text-transform:uppercase}.audit-table tr:hover{background:var(--bg-alt)}.audit-table .ts{white-space:nowrap;color:var(--text-muted);font-family:monospace}.audit-table .path{font-family:monospace;font-size:12px}.audit-table .body{font-family:monospace;font-size:11px;color:var(--text-muted);max-width:280px;word-break:break-all}.method-badge{display:inline-block;padding:2px 6px;border-radius:3px;font-size:10px;font-weight:700;color:var(--amora-neutral-white);text-transform:uppercase}.method-badge.method-post{background:var(--amora-brand-blue)}.method-badge.method-put{background:var(--amora-brand-purple)}.method-badge.method-patch{background:var(--amora-status-warning)}.method-badge.method-delete{background:var(--amora-status-error)}.status-badge{display:inline-block;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:600}.status-badge.status-2xx{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.status-badge.status-4xx{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.status-badge.status-5xx{background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black)}.page-container{padding:0}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-header h1{font-size:24px;margin:0}.kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:20px}.kpi-card{background:var(--amora-neutral-surface);border:1px solid var(--amora-neutral-line);border-radius:8px;padding:16px;text-align:center}.kpi-value{font-size:28px;font-weight:700;color:var(--amora-text-primary);line-height:1}.kpi-label{font-size:13px;color:var(--amora-text-muted);margin-top:6px}.kpi-sub{font-size:11px;color:var(--amora-text-muted);margin-top:4px}.btn-secondary{padding:6px 12px;background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:6px;font-size:13px;cursor:pointer;transition:all .15s}.btn-secondary:hover{background:var(--amora-neutral-surface)}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.btn-mini{padding:4px 10px;border:none;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s}.btn-mini:disabled{opacity:.5;cursor:not-allowed}.btn-mini.btn-primary{background:var(--amora-brand-blue);color:var(--amora-neutral-white)}.btn-mini.btn-primary:hover{background:var(--amora-brand-blue-hover)}.btn-mini.btn-warn{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.btn-mini.btn-warn:hover{background:color-mix(in srgb,var(--amora-status-warning) 35%,white)}.error-banner{background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black);padding:10px 14px;border-radius:6px;margin-bottom:16px;font-size:14px}.loading{text-align:center;padding:40px;color:var(--amora-text-muted)}.empty-state{background:var(--amora-neutral-surface);border:1px dashed var(--amora-neutral-line);border-radius:8px;padding:40px;text-align:center;color:var(--amora-text-muted)}.empty-state code{background:var(--amora-neutral-white);padding:2px 6px;border-radius:4px;border:1px solid var(--amora-neutral-line);font-size:13px}.table-wrapper{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:8px;overflow:hidden}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th,.data-table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--amora-neutral-line)}.data-table th{background:var(--amora-neutral-surface);font-weight:600;color:var(--amora-text-secondary);font-size:12px;text-transform:uppercase;letter-spacing:.5px}.data-table tr:hover{background:var(--amora-neutral-surface)}.data-table tr.row-suspended{background:var(--amora-bg-error-subtle);opacity:.75}.text-muted{color:var(--amora-text-muted)}.link-button{background:none;border:none;color:var(--amora-brand-blue);cursor:pointer;font-weight:500;padding:0;font-size:14px}.link-button:hover{text-decoration:underline}.badge{display:inline-block;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:600}.badge-warn{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.status-badge.status-active{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.status-badge.status-suspended{background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black)}.role-tag{display:inline-block;padding:1px 6px;background:color-mix(in srgb,var(--amora-brand-blue) 12%,white);color:var(--amora-brand-purple);border-radius:3px;font-size:11px;font-weight:500}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:100;padding:20px}.modal-content{background:var(--amora-neutral-white);border-radius:10px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 50px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--amora-neutral-line)}.modal-header h2{font-size:18px;margin:0}.btn-link{background:none;border:none;font-size:18px;color:var(--amora-text-muted);cursor:pointer;padding:4px 8px}.btn-link:hover{color:var(--amora-text-primary)}.modal-body{padding:20px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:20px}.detail-item{background:var(--amora-neutral-surface);padding:10px 12px;border-radius:6px}.detail-label{font-size:11px;color:var(--amora-text-muted);text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:14px;color:var(--amora-text-primary);font-weight:500;margin-top:2px}@media(max-width:768px){.kpi-row{grid-template-columns:repeat(2,1fr)}.data-table{font-size:12px}.data-table th,.data-table td{padding:6px 8px}}.locale-switcher{background:#ffffff1a;color:var(--amora-neutral-white);border:1px solid rgba(255,255,255,.3);border-radius:4px;padding:3px 8px;font-size:12px;cursor:pointer;margin-right:8px}.locale-switcher:hover{background:#fff3}.locale-switcher option{background:var(--amora-text-primary);color:var(--amora-neutral-white)}.period-select{background:var(--amora-neutral-white);border:1px solid var(--amora-neutral-line);border-radius:6px;padding:6px 12px;font-size:14px;color:var(--amora-text-primary);cursor:pointer;margin-right:8px}.period-select:hover{border-color:var(--amora-brand-purple)}.warning-banner{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:14px;line-height:1.5}.warning-banner.warn{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);border:1px solid color-mix(in srgb,var(--amora-status-warning) 40%,transparent);color:color-mix(in srgb,var(--amora-status-warning) 80%,black)}.warning-banner.danger{background:var(--amora-bg-error-subtle);border:1px solid var(--amora-border-error);color:color-mix(in srgb,var(--amora-status-error) 75%,black);font-weight:500}.warning-banner b{color:inherit;font-weight:700}.quota-bar{position:relative;width:100%;height:22px;background:var(--amora-neutral-surface);border-radius:4px;overflow:hidden}.quota-fill{position:absolute;left:0;top:0;height:100%;border-radius:4px;transition:width .3s ease}.quota-fill-ok{background:var(--amora-status-success)}.quota-fill-warn{background:var(--amora-status-warning)}.quota-fill-danger{background:var(--amora-status-error)}.quota-pct{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:12px;font-weight:600;color:var(--amora-text-primary);text-shadow:0 0 2px rgba(255,255,255,.8);z-index:1}.quota-row.quota-warn{background:color-mix(in srgb,var(--amora-status-warning) 10%,white)}.quota-row.quota-danger{background:var(--amora-bg-error-subtle)}.quota-tag{display:inline-block;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:500}.quota-tag.ok{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.quota-tag.warn{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);color:color-mix(in srgb,var(--amora-status-warning) 80%,black)}.quota-tag.danger{background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black)}@media(max-width:768px){.quota-table{font-size:12px}.quota-bar{height:18px}.quota-pct{font-size:10px}.warning-banner{font-size:12px;padding:8px 12px}}.btn-primary,.btn.primary,.btn-mini.btn-primary,.projects-page .status-tab.active,.projects-page .project-card:hover{border-color:var(--amora-brand-blue)}.btn-primary,.btn.primary,.btn-mini.btn-primary{background:var(--amora-brand-blue);color:var(--amora-text-inverse)}.btn-primary:hover:not(:disabled),.btn.primary:hover:not(:disabled),.btn-mini.btn-primary:hover:not(:disabled){background:var(--amora-brand-blue-hover)}.btn-primary:disabled,.btn.primary:disabled{background:var(--amora-text-disabled);border-color:var(--amora-text-disabled)}.btn-secondary,.btn{color:var(--amora-text-primary);border-color:var(--amora-neutral-line);background:var(--amora-bg-panel)}.btn-secondary{color:var(--amora-brand-blue);border-color:var(--amora-border-info)}.btn-link,.link-button,.project-table a,.projects-page .progress-tag{color:var(--amora-brand-blue)}.btn-link:hover,.link-button:hover{color:var(--amora-brand-blue-hover)}.console-main,.projects-page,.tickets-page,.agent-ops{font-family:var(--amora-font-family)}.page-error{color:var(--amora-status-error)}.page-loading,.empty,.projects-page .empty-state small{color:var(--amora-text-muted)}.project-table th,.quota-table th,.ops-table th,.data-table th,.audit-table th{background:var(--amora-neutral-surface);color:var(--amora-text-secondary)}.project-table th,.project-table td,.quota-table th,.quota-table td,.ops-table th,.ops-table td,.data-table th,.data-table td{border-bottom-color:var(--amora-neutral-line)}.status-polish_pass,.status-badge.status-2xx,.status-badge.status-active,.sla-pill.ok,.sla-badge.sla-ok{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.status-generating,.status-badge.status-4xx{background:color-mix(in srgb,var(--amora-status-warning) 14%,white);color:color-mix(in srgb,var(--amora-status-warning) 70%,black)}.status-exported{background:var(--amora-bg-info-subtle);color:var(--amora-brand-blue)}.metric-card,.ticket-form,.ticket-list li,.project-detail{background:var(--amora-neutral-surface)}.metric-label,.card-title,.card-sub{color:var(--amora-text-muted)}.metric-value,.card-value{color:var(--amora-text-primary)}.metric-value{font-size:20px}.card-value.big{font-size:28px}.toast{border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-md);box-shadow:var(--amora-shadow-soft);padding:var(--amora-space-3) var(--amora-space-4)}.toast.success{background:var(--amora-bg-success-subtle);border-color:var(--amora-border-success)}.toast.error{background:var(--amora-bg-error-subtle);border-color:var(--amora-border-error)}.toast.warning{background:color-mix(in srgb,var(--amora-status-warning) 10%,white);border-color:color-mix(in srgb,var(--amora-status-warning) 35%,transparent)}.toast .toast-msg{color:var(--amora-text-secondary)}.toast .toast-close{color:var(--amora-text-muted)}.banner{background:var(--amora-bg-success-subtle);border:1px solid var(--amora-border-success);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.projects-page .error-box,.error-banner{background:var(--amora-bg-error-subtle);border:1px solid var(--amora-border-error);color:color-mix(in srgb,var(--amora-status-error) 75%,black)}.warning-banner.warn{background:color-mix(in srgb,var(--amora-status-warning) 10%,white);border:1px solid color-mix(in srgb,var(--amora-status-warning) 40%,transparent);color:color-mix(in srgb,var(--amora-status-warning) 80%,black)}.warning-banner.danger{background:var(--amora-bg-error-subtle);border:1px solid var(--amora-border-error);color:color-mix(in srgb,var(--amora-status-error) 75%,black)}.ops-tick-msg{background:var(--amora-bg-info-subtle);border:1px solid var(--amora-border-info);color:var(--amora-text-secondary)}.kpi-card{border:1px solid var(--amora-neutral-line);background:var(--amora-bg-panel)}.kpi-card .card-title{color:var(--amora-text-secondary)}.ops-card,.ops-section,.projects-page .project-card,.modal-backdrop .modal,.ticket-card{border-color:var(--amora-neutral-line);background:var(--amora-bg-panel)}.ticket-card.breached{background:var(--amora-bg-error-subtle);border-color:var(--amora-border-error)}.ticket-card{border-left-width:1px}.ops-bars .bar-count{color:var(--amora-brand-blue)}.sse-badge.sse-open,.ops-state.ready{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.sse-badge.sse-connecting,.ops-state.loading{background:color-mix(in srgb,var(--amora-status-warning) 12%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.sse-badge.sse-error,.ops-state.error{background:var(--amora-bg-error-subtle);color:var(--amora-status-error)}.sse-badge.sse-closed,.ops-state{background:var(--amora-neutral-surface);color:var(--amora-text-secondary)}.locale-switcher{background:var(--amora-bg-panel);color:var(--amora-text-primary);border:1px solid var(--amora-neutral-line);border-radius:var(--amora-radius-sm);padding:4px 8px;font-size:var(--amora-font-size-caption)}.locale-switcher:hover{background:var(--amora-bg-hover-subtle)}.locale-switcher option{background:var(--amora-bg-panel);color:var(--amora-text-primary)}.ticket-form input,.ticket-form select,.ticket-form textarea,.login-form input,.projects-page .search-input,.period-select{border-color:var(--amora-neutral-line);background:var(--amora-bg-input);color:var(--amora-text-primary)}.ticket-form input:focus,.ticket-form select:focus,.ticket-form textarea:focus,.projects-page .search-input:focus{border-color:var(--amora-brand-blue);box-shadow:0 0 0 3px var(--amora-focus-ring)}.projects-page .status-tabs{background:var(--amora-neutral-surface)}.projects-page .status-tab.active{color:var(--amora-brand-blue)}.estimate-chip[data-tier=light]{background:var(--amora-bg-success-subtle);color:color-mix(in srgb,var(--amora-status-success) 75%,black)}.estimate-chip[data-tier=medium]{background:color-mix(in srgb,var(--amora-status-warning) 12%,white);color:color-mix(in srgb,var(--amora-status-warning) 75%,black)}.estimate-chip[data-tier=heavy]{background:var(--amora-bg-error-subtle);color:color-mix(in srgb,var(--amora-status-error) 75%,black)}.projects-page .status-tag,.studio-status-tag,.severity-tag{color:var(--amora-text-inverse)}.status-tag.status-exported,.status-tag.status-polish_pass{background:var(--amora-status-success)}.status-tag.status-generating{background:var(--amora-brand-blue)}.status-tag.status-outline_ready{background:var(--amora-status-info)}.status-tag.status-generate_failed{background:var(--amora-status-error)}.status-tag.status-uploaded,.status-tag.status-parsed{background:var(--amora-text-muted)}.studio-status-tag{display:inline-block;padding:2px 8px;border-radius:var(--amora-radius-sm);font-size:11px;font-weight:600}.studio-status-tag.studio-status-uploaded{background:var(--amora-text-muted)}.studio-status-tag.studio-status-studio_outlining{background:var(--amora-status-info)}.studio-status-tag.studio-status-studio_planning{background:var(--amora-brand-blue)}.studio-status-tag.studio-status-studio_exporting{background:var(--amora-brand-purple)}.studio-status-tag.studio-status-studio_exported{background:var(--amora-status-success)}.studio-status-tag.studio-status-audit_blocked,.severity-tag.severity-p0{background:var(--amora-status-error)}.severity-tag.severity-p1{background:var(--amora-status-warning)}.severity-tag.severity-p2{background:color-mix(in srgb,var(--amora-status-warning) 85%,white)}.severity-tag.severity-p3{background:var(--amora-text-muted)}.project-detail-actions .primary-cta{display:inline-flex;width:auto;min-width:160px}@media(prefers-reduced-motion:reduce){.toast{animation:none}}
