:root{color-scheme:light;font-family:PingFang SC,SF Pro Display,Segoe UI,Microsoft YaHei,sans-serif;background:radial-gradient(circle at top left,rgba(36,123,255,.16),transparent 24%),radial-gradient(circle at top right,rgba(47,176,116,.14),transparent 20%),linear-gradient(180deg,#eef4fb,#f7f9fc);color:#1d1d1f;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{min-width:320px}button,input,select{font:inherit}button{cursor:pointer;border:none;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease,border-color .18s ease}button:hover:not(:disabled){transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.55}input,select{width:100%;border:1px solid rgba(60,60,67,.12);background:#ffffffe6;padding:0 14px;height:46px;border-radius:14px;outline:none}input:focus,select:focus{border-color:#0071e373;box-shadow:0 0 0 4px #0071e31f}select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:42px;color:#1d1d1f;background-image:linear-gradient(45deg,transparent 50%,#6e6e73 50%),linear-gradient(135deg,#6e6e73 50%,transparent 50%),linear-gradient(180deg,#ffffffe0,#ffffffe0);background-position:calc(100% - 20px) 18px,calc(100% - 14px) 18px,0 0;background-size:6px 6px,6px 6px,100% 100%;background-repeat:no-repeat;cursor:pointer}.app-shell{max-width:1280px;margin:0 auto;padding:10px 18px 20px}.hero-panel{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;padding:18px 22px;border-radius:22px;background:#ffffffc7;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border:1px solid rgba(255,255,255,.72);box-shadow:0 24px 60px #0f172a14}.hero-copy-wrap{max-width:900px}.eyebrow{margin:0 0 4px;color:#0f6bdc;font-size:12px;font-weight:600;letter-spacing:.08em}.hero-panel h1{margin:0;font-size:clamp(22px,3.3vw,34px);line-height:1.04;letter-spacing:-.04em}.hero-copy{max-width:760px;margin:12px 0 0;color:#667085;font-size:14px}.hero-status-column{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:112px}.hero-status-note{display:flex;flex-direction:column;align-items:flex-end;gap:2px;color:#7b7f87;font-size:12px}.hero-status-note strong{color:#1d1d1f;font-size:13px}.status-tag,.pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 12px;border-radius:999px;background:#0071e31f;color:#0f6bdc;font-size:11px;font-weight:700}.status-tag.idle{background:#34c7591f;color:#248a3d}.error-banner,.notice-banner{margin-bottom:10px;padding:10px 12px;border-radius:12px;border:1px solid transparent;font-size:12px}.error-banner{background:#ff9f0a1f;color:#9a5c00;border-color:#ff9f0a2e}.notice-banner{background:#34c7591f;color:#227943;border-color:#34c7592e}.runtime-log{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:8px 12px;border-radius:14px;background:#ffffffb8;border:1px solid rgba(60,60,67,.08);color:#3a3a3c;box-shadow:0 10px 28px #0f172a0a}.runtime-log-label{font-size:11px;color:#6e6e73;letter-spacing:.08em}.page-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}.page-tab{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:86px;padding:14px 18px;border-radius:18px;background:#ffffffa8;border:1px solid rgba(60,60,67,.1);color:#475467;text-align:left;box-shadow:0 12px 30px #0f172a0a}.page-tab strong{color:#101828;font-size:14px}.page-tab span{font-size:11px}.page-tab.active{background:linear-gradient(180deg,#1278fff5,#0071e3eb);border-color:#0071e333;box-shadow:0 18px 40px #0071e338;color:#ffffffdb}.page-tab.active strong{color:#fff}.page-frame{padding:18px;border-radius:24px;background:#ffffffb8;border:1px solid rgba(255,255,255,.66);box-shadow:0 18px 48px #0f172a14}.page-frame-compact{padding-top:8px}.page-frame-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}.page-frame-head h2{margin:2px 0 0;font-size:22px}.page-frame-head p{margin:0;color:#667085;font-size:13px}.page-kicker{color:#0f6bdc;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.content-grid{display:grid;grid-template-columns:380px minmax(0,1fr);gap:16px}.glass-card{padding:18px;border-radius:22px;background:#ffffffb3;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.66);box-shadow:0 16px 40px #0f172a14}.section-stack{display:flex;flex-direction:column;gap:12px}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.section-header h2{margin:0;font-size:18px}.section-header p{margin:4px 0 0;color:#6e6e73;font-size:13px}.field{display:flex;flex-direction:column;gap:6px}.field span,.info-item span,.path-box span{color:#6e6e73;font-size:12px}.toggle-field{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-radius:14px;background:#ffffffb8;border:1px solid rgba(60,60,67,.08)}.toggle-field input{width:18px;height:18px}.primary-button,.secondary-button{min-height:40px;border-radius:12px;padding:0 14px;font-weight:700;font-size:14px}.primary-button{color:#fff;background:linear-gradient(180deg,#1185ff,#0071e3);box-shadow:0 14px 28px #0071e338}.secondary-button{color:#1d1d1f;background:#ffffffeb;border:1px solid rgba(60,60,67,.12)}.danger-button{color:#b42318;border-color:#b423182e;background:#fff5f5f2}.button-row{display:flex;flex-wrap:wrap;gap:10px}.button-row .primary-button,.button-row .secondary-button{flex:1 1 160px}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.info-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.info-item{padding:12px;border-radius:14px;background:#ffffffb8;border:1px solid rgba(60,60,67,.08)}.info-item strong,.path-box strong{display:block;margin-top:4px;word-break:break-all;font-size:13px;color:#1d1d1f}.path-box{padding:12px;border-radius:14px;background:#fafafceb;border:1px solid rgba(60,60,67,.08)}.compact-box{padding:10px 12px}.empty-state{display:flex;min-height:140px;align-items:center;justify-content:center;flex-direction:column;text-align:center;border-radius:16px;border:1px dashed rgba(60,60,67,.18);background:#ffffff6b;color:#6e6e73;padding:16px;font-size:13px}.empty-state strong{color:#1d1d1f;margin-bottom:6px}.result-card{min-height:360px}.history-card{margin:0}.history-card-embedded{padding:0;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.history-toggle{min-width:136px}.history-panel-scroll{max-height:520px;overflow-y:auto;padding-right:6px}.history-list{display:flex;flex-direction:column;gap:10px}.history-document-list{padding-right:4px}.history-item{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:#ffffff94;border:1px solid rgba(60,60,67,.08)}.history-document{gap:10px}.history-document.active{border-color:#0071e338;box-shadow:inset 0 0 0 1px #0071e314}.history-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-item-head strong{font-size:14px}.history-item-head span,.history-metrics span{color:#6e6e73;font-size:12px}.history-document-head>div{display:flex;flex-direction:column;gap:4px}.history-document-actions{margin-top:2px}.history-metrics{display:flex;flex-wrap:wrap;gap:14px}.history-round-list{display:flex;flex-direction:column;gap:10px}.history-round-item{background:#fafafceb}.history-revision-list{display:flex;flex-direction:column;gap:8px;margin-top:6px}.history-revision-item{background:#f5f8ffeb;border-style:dashed}.history-empty{min-height:100px}.paragraph-preview-list{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow-y:auto;padding-right:4px}.paragraph-preview-item{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;padding:12px;border-radius:16px;border:1px solid rgba(60,60,67,.08);background:#fafafceb;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.paragraph-preview-item:hover{border-color:#1185ff2e}.paragraph-preview-item.selected{border-color:#1185ff52;box-shadow:inset 0 0 0 1px #1185ff1f;background:#f0f7fff5}.paragraph-preview-item input{width:18px;height:18px;margin-top:2px}.paragraph-preview-content{display:flex;flex-direction:column;gap:8px;min-width:0}.paragraph-preview-head{display:flex;justify-content:space-between;gap:12px;color:#6e6e73;font-size:12px}.paragraph-preview-content p{margin:0;color:#1d1d1f;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.65}.preview-box{min-height:220px;max-height:360px;overflow:auto;border-radius:16px;padding:14px;background:#fafafceb;border:1px solid rgba(60,60,67,.08)}.preview-box pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:SF Mono,Cascadia Code,JetBrains Mono,monospace;font-size:12px;line-height:1.55}@media (max-width: 1100px){.hero-panel,.page-frame-head,.section-header{flex-direction:column}.hero-status-column,.hero-status-note{align-items:flex-start}.page-switcher,.content-grid,.info-grid.compact{grid-template-columns:1fr}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.app-shell{padding:12px 12px 22px}.hero-panel,.page-frame,.glass-card{padding:18px;border-radius:22px}.runtime-log{flex-direction:column;align-items:flex-start}.page-tab strong{font-size:16px}.info-grid,.button-row{grid-template-columns:1fr}.button-row .primary-button,.button-row .secondary-button{flex-basis:100%}}.auth-shell{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}.auth-card{width:min(520px,100%);padding:32px}.auth-form{display:grid;gap:16px}.error-banner{border-radius:14px;padding:12px 14px;background:#dc262614;color:#b42318;border:1px solid rgba(220,38,38,.16)}.managed-config-banner{border-radius:16px;padding:12px 14px;background:#0071e314;color:#0f3d8f;border:1px solid rgba(0,113,227,.16)}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.readonly-field input{background:#f8fafceb;color:#344054}.hero-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.ghost-button{background:#ffffffe0}
