:root{--bg:#f7f8f5;--surface:#fff;--surface-muted:#eef2ec;--ink:#18201c;--muted:#5d675f;--line:#d9dfd8;--teal:#0f6f6a;--teal-dark:#0a4d4a;--rust:#a84c24;--olive:#627c35;--blue:#315f8a;--warning:#8a5b12;--danger:#9c2f2f;--shadow:0 24px 70px #18201c1f}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}body{background:var(--bg);min-height:100vh;color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}img{max-width:100%}.shell{min-height:100vh}.topbar{z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f7f8f5e0;border-bottom:1px solid #d9dfd8db;position:sticky;top:0}.topbar-inner{justify-content:space-between;align-items:center;gap:16px;width:min(1180px,100% - 32px);min-height:68px;margin:0 auto;display:flex}.brand{letter-spacing:0;align-items:center;gap:10px;font-weight:760;display:inline-flex}.brand-mark{width:34px;height:34px;color:var(--teal);background:#f4faf7;border:1px solid #0f6f6a47;border-radius:8px;place-items:center;display:grid}.nav{align-items:center;gap:8px;display:flex}.nav-mobile{align-items:center;gap:10px;display:none}.mobile-nav-trigger{border:1px solid var(--line);width:40px;height:40px;color:var(--ink);cursor:pointer;background:#fff;border-radius:7px;place-items:center;display:inline-grid}.mobile-nav-trigger:hover{background:#f5fbf8;border-color:#0f6f6a57}.mobile-nav-backdrop{z-index:90;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f171652;position:fixed;inset:0}.mobile-nav-panel{z-index:95;border:1px solid var(--line);background:var(--surface);border-radius:12px;min-width:220px;padding:10px;display:grid;position:fixed;top:76px;right:16px;box-shadow:0 28px 80px #18201c2e}.mobile-nav-panel a{color:var(--ink);border-radius:8px;align-items:center;gap:10px;padding:12px 14px;font-weight:660;display:flex}.mobile-nav-panel a:hover{color:var(--teal-dark);background:#f0f5f1}.nav a,.button,.button-secondary,.button-ghost{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:650;display:inline-flex}.nav a{color:var(--muted)}.nav a:hover{color:var(--ink);background:#0f6f6a12}.button{border-color:var(--teal-dark);background:var(--teal-dark);color:#fff;cursor:pointer}.button:hover{background:#073b38}.button:disabled{cursor:not-allowed;opacity:.58}.button-secondary{border-color:var(--line);background:var(--surface);color:var(--ink);cursor:pointer}.button-ghost{color:var(--muted);background:0 0}.hero{border-bottom:1px solid var(--line);background:#0d1816;align-items:center;min-height:calc(100vh - 68px);display:grid;position:relative;overflow:hidden}.hero:after{content:"";background:linear-gradient(90deg,#0a1715eb 0%,#0a1715c2 42%,#0a171561 100%),linear-gradient(#0a171500 74%,#f7f8f5f2 100%);position:absolute;inset:0}.hero-visual{object-fit:cover;opacity:.72;width:100%;height:100%;position:absolute;inset:0}.hero-content{z-index:1;color:#fff;width:min(1180px,100% - 32px);margin:0 auto;padding:72px 0 108px;position:relative}.eyebrow{color:#c2dfd6;letter-spacing:.08em;text-transform:uppercase;margin:0 0 18px;font-size:.82rem;font-weight:760}.hero h1{letter-spacing:0;max-width:760px;margin:0;font-size:clamp(3rem,8vw,6.6rem);line-height:.93}.hero-copy{color:#ffffffdb;max-width:720px;margin:26px 0 0;font-size:1.12rem;line-height:1.65}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:34px;display:flex}.hero .button-secondary{color:#fff;background:#ffffff1a;border-color:#ffffff47}.section{width:min(1180px,100% - 32px);margin:0 auto;padding:68px 0}.section.compact{padding-top:38px}.section-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;display:flex}.section-heading h2,.page-title h1{letter-spacing:0;margin:0;font-size:clamp(2rem,4vw,3.4rem);line-height:1}.section-heading p,.page-title p{max-width:760px;color:var(--muted);margin:10px 0 0;line-height:1.65}.info-grid,.metric-grid,.result-grid{gap:16px;display:grid}.info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.result-grid{grid-template-columns:320px minmax(0,1fr);align-items:start}.panel,.card{border:1px solid var(--line);background:var(--surface);border-radius:8px;box-shadow:0 1px #18201c08}.card h3,.panel h3{margin:0 0 8px;font-size:1rem}.card p,.panel p{color:var(--muted);margin:0;line-height:1.55}.page-title{width:min(1180px,100% - 32px);margin:0 auto;padding:46px 0 20px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field{gap:8px;display:grid}.field.full{grid-column:1/-1}.field label{font-size:.86rem;font-weight:720}.field input,.field select,.field textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:7px}.field input,.field select{min-height:44px;padding:0 12px}.field textarea{resize:vertical;min-height:94px;padding:11px 12px;line-height:1.45}.field input:focus,.field select:focus,.field textarea:focus{border-color:#0f6f6a8c;outline:2px solid #0f6f6a33}.help-text{color:var(--muted);font-size:.88rem;line-height:1.5}.notice{color:#4b3820;background:#fff8e7;border:1px solid #8a5b1247;border-radius:8px;gap:12px;padding:14px;line-height:1.5;display:flex}.notice strong{margin-bottom:2px;display:block}.upload-strip{background:#f5fbf8;border:1px dashed #0f6f6a61;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.file-list{border:1px solid var(--line);background:#fff;border-radius:8px;max-height:320px;display:grid;overflow:auto}.file-row,.table-row{border-bottom:1px solid #eef1ec;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}button.table-row{width:100%}.file-row:last-child,.table-row:last-child{border-bottom:0}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.86rem}.muted{color:var(--muted)}.status-list{gap:10px;display:grid}.status-item{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;padding:12px;display:grid}.status-dot{background:var(--surface-muted);width:28px;height:28px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.status-item.running .status-dot{color:var(--teal-dark);background:#e4f3ef}.status-item.completed .status-dot{color:var(--olive);background:#eaf4df}.status-item.failed .status-dot{color:var(--danger);background:#f8e7e4}.log-box{color:#dce8e0;white-space:pre-wrap;background:#101816;border-radius:8px;min-height:180px;max-height:340px;padding:14px;overflow:auto}.tabs{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.tab{border:1px solid var(--line);min-height:38px;color:var(--muted);cursor:pointer;background:#fff;border-radius:7px;align-items:center;gap:7px;padding:0 12px;display:inline-flex}.tab.active{color:var(--teal-dark);background:#e9f5f2;border-color:#0f6f6a80;font-weight:720}.figure-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.figure-card{border:1px solid var(--line);background:#fff;border-radius:8px;gap:12px;padding:14px;display:grid}.figure-frame{background:#fbfcfa;border:1px solid #edf0ea;border-radius:6px;place-items:center;min-height:260px;display:grid;overflow:auto}.figure-frame img{width:100%;height:auto}.table-preview{border:1px solid var(--line);border-radius:8px;overflow:auto}.table-preview table{border-collapse:collapse;background:#fff;width:100%;min-width:760px}.table-preview th,.table-preview td{text-align:left;vertical-align:top;border-bottom:1px solid #eef1ec;max-width:280px;padding:10px 12px;font-size:.88rem;line-height:1.4}.table-preview th{background:#f4f6f1;font-weight:760;position:sticky;top:0}.badge{color:#21473d;background:#edf4ef;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:.78rem;font-weight:720;display:inline-flex}.metric{border-left:3px solid var(--teal);gap:4px;display:grid}.metric strong{font-size:1.8rem;line-height:1}.metric span{color:var(--muted);font-size:.88rem}.spin{animation:.9s linear infinite spin}.analyzer-workspace{gap:18px;display:grid}.protocol-hero{background:linear-gradient(#fff 0%,#f3faf7 100%);border-color:#0f6f6a3d;justify-content:space-between;align-items:center;gap:24px;display:flex}.protocol-hero h3{margin:0;font-size:1.55rem}.protocol-actions,.branch-tabs{flex-wrap:wrap;gap:10px;display:flex}.step-section{gap:18px;display:grid}.step-heading{grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;display:grid}.step-heading h3{margin:0;font-size:1.28rem}.step-heading p{max-width:880px;color:var(--muted);margin:6px 0 0;line-height:1.55}.step-number{background:var(--teal-dark);color:#fff;border-radius:8px;place-items:center;width:36px;height:36px;font-weight:780;display:grid}.path-grid{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.path-picker{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:46px minmax(0,1fr);min-height:46px;display:grid;overflow:hidden}.path-picker input{width:100%;min-width:0;color:var(--ink);border:0;padding:0 13px}.path-picker input:focus{outline:0}.icon-button{border:1px solid var(--line);width:40px;height:40px;color:var(--teal-dark);cursor:pointer;background:#fff;border-radius:7px;place-items:center;display:inline-grid}.path-picker .icon-button{background:#f1f7f4;border-width:0 1px 0 0;border-radius:0;width:46px;height:46px}.icon-button:hover{background:#e8f4f0;border-color:#0f6f6a57}.icon-button.danger{color:var(--danger)}.lexicon-layout{grid-template-columns:minmax(280px,.9fr) minmax(0,1.2fr);gap:16px;display:grid}.panel-subtle{border:1px solid var(--line);background:#fbfcfa;border-radius:8px;padding:16px}.panel-subtle h3{margin:0 0 6px}.panel-subtle p{color:var(--muted);margin:0;line-height:1.5}.tree-panel{gap:10px;max-height:410px;padding-right:4px;display:grid;overflow:auto}.tree-node{border-left:3px solid #0f6f6a5c;gap:6px;padding-left:10px;display:grid}.tree-title{align-items:center;gap:7px;min-height:24px;display:flex}.tree-branch{gap:5px;margin-left:14px;display:grid}.tree-leaf{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;margin-left:20px;font-size:.88rem;display:flex}.check-row{color:var(--muted);grid-column:1/-1;align-items:center;gap:9px;font-size:.92rem;display:flex}.compact-input{border:1px solid var(--line);border-radius:7px;min-width:min(260px,100%);min-height:38px;padding:0 11px}.term-list{background:#fff;border:1px solid #edf0ea;border-radius:8px;max-height:360px;display:grid;overflow:auto}.term-row{border-bottom:1px solid #eef1ec;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.term-row:last-child{border-bottom:0}.section-chip-grid{flex-wrap:wrap;gap:8px;display:flex}.section-chip{min-height:30px;color:var(--teal-dark);background:#eef8f5;border:1px solid #0f6f6a2e;border-radius:999px;align-items:center;padding:0 11px;font-size:.85rem;font-weight:690;display:inline-flex}.pipeline-map{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.pipeline-node{border:1px solid var(--line);background:#fff;border-radius:8px;align-content:start;gap:7px;min-height:126px;padding:12px;display:grid}.pipeline-node svg{color:var(--teal-dark)}.pipeline-node span{color:var(--muted);font-size:.84rem;line-height:1.35}@keyframes spin{to{transform:rotate(360deg)}}.locale-toggle{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:999px;align-items:center;gap:2px;margin-left:6px;padding:4px 6px 4px 8px;display:inline-flex}.locale-toggle[data-pending=true]{opacity:.6}.locale-toggle-option{min-width:28px;min-height:26px;color:var(--muted);letter-spacing:.04em;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 6px;font-size:.78rem;font-weight:720}.locale-toggle-option:hover{color:var(--ink);background:#f0f5f1}.locale-toggle-option.active{background:var(--teal-dark);color:#fff}.welcome-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.welcome-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:12px;align-content:start;gap:12px;padding:26px;transition:transform .16s,box-shadow .16s,border-color .16s;display:grid}.welcome-card:hover{border-color:#0f6f6a52;transform:translateY(-2px);box-shadow:0 28px 80px #18201c29}.welcome-card h2{margin:0;font-size:1.55rem;line-height:1.15}.welcome-card p{color:var(--muted);margin:0;line-height:1.6}.welcome-card-icon{border-radius:12px;place-items:center;width:54px;height:54px;margin-bottom:4px;display:grid}.welcome-card-icon-new{color:var(--teal-dark);background:#e9f5f2}.welcome-card-icon-load{color:var(--rust);background:#f9ece4}.welcome-card-cta{justify-self:start;margin-top:8px}.welcome-tip{color:#3b4a23;background:#f6faec;border:1px solid #627c3552;border-radius:10px;align-items:flex-start;gap:14px;margin-top:24px;padding:18px 20px;line-height:1.55;display:flex}.welcome-tip svg{color:var(--olive);flex-shrink:0;margin-top:2px}.welcome-tip p{margin:0}.placeholder-panel{grid-template-columns:56px minmax(0,1fr);align-items:start;gap:20px;display:grid}.placeholder-panel h2{font-size:1.4rem;line-height:1.2}.wizard{gap:24px;display:grid}.first-visit-hint{color:#4a3713;background:#fff7e1;border:1px solid #8a5b1252;border-radius:10px;grid-template-columns:36px minmax(0,1fr) 36px;align-items:start;gap:12px;padding:14px 16px;display:grid}.first-visit-hint strong{margin-bottom:6px;display:block}.first-visit-hint ul{margin:0;padding-left:18px;font-size:.93rem;line-height:1.55}.first-visit-hint-icon{color:#6b4e10;background:#f6e3b2;border-radius:999px;place-items:center;width:32px;height:32px;display:grid}.first-visit-hint-close{color:#6b4e10;cursor:pointer;background:0 0;border:0;border-radius:999px;justify-self:end;place-items:center;width:28px;height:28px;display:grid}.first-visit-hint-close:hover{background:#8a5b1224}.method-section-head{align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.method-section-head h2{margin:0 0 4px}.method-section-head p{color:var(--muted);margin:0}.method-stages{counter-reset:stage;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.method-stage{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:18px 18px 18px 56px;position:relative}.method-stage h3{margin:0 0 6px;font-size:1.04rem}.method-stage p{color:var(--muted);margin:0;font-size:.93rem;line-height:1.55}.method-stage-num{background:var(--teal-dark);color:#fff;border-radius:999px;place-items:center;width:28px;height:28px;font-size:.86rem;font-weight:780;display:grid;position:absolute;top:18px;left:18px}.glossary{gap:4px;margin:0;display:grid}.glossary-row{border-bottom:1px solid var(--line);grid-template-columns:220px minmax(0,1fr);gap:18px;padding:14px 0;display:grid}.glossary-row:last-child{border-bottom:0}.glossary dt{color:var(--ink);margin:0;font-weight:760}.glossary dd{color:var(--muted);margin:0;line-height:1.55}.template-loader{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:16px;margin-top:32px;padding:22px;display:grid}.template-loader-header{grid-template-columns:40px minmax(0,1fr);align-items:start;gap:14px;display:grid}.template-loader-header h3{margin:0 0 4px;font-size:1.18rem}.template-loader-header p{color:var(--muted);margin:0;line-height:1.55}.template-loader-icon{color:#8a5b12;background:#f6f1e6;border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.template-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.template-card{border:1px solid var(--line);border-left:3px solid var(--teal);background:#fbfcfa;border-radius:10px;align-content:start;gap:10px;padding:18px;display:grid}.template-accent-teal{border-left-color:var(--teal)}.template-accent-rust{border-left-color:var(--rust)}.template-accent-olive{border-left-color:var(--olive)}.template-card h4{margin:0;font-size:1.04rem}.template-card p{color:var(--muted);margin:0;font-size:.92rem;line-height:1.5}.template-card button{justify-self:start;margin-top:6px}.page-header-compact{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 8px;display:flex}.page-header-compact-title{margin:4px 0 0;font-size:clamp(1.4rem,2.4vw,1.85rem);line-height:1.15}.section-tight{padding-top:18px}.wizard-progress{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:0;margin:0;padding:0;list-style:none;display:flex;overflow:hidden}.wizard-progress-step{flex:1;min-width:0;position:relative}.wizard-progress-step+.wizard-progress-step:before{content:"";background:var(--line);width:1px;position:absolute;top:25%;bottom:25%;left:0}.wizard-progress-button{width:100%;color:var(--muted);cursor:pointer;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;align-items:center;gap:8px;padding:12px 14px;font-size:.86rem;font-weight:660;display:inline-flex;overflow:hidden}.wizard-progress-button:hover .wizard-progress-label{color:var(--teal-dark)}.wizard-progress-button[aria-disabled=true]{cursor:not-allowed;opacity:.55}.wizard-progress-index{background:var(--surface-muted);width:22px;height:22px;color:var(--muted);border-radius:999px;flex-shrink:0;place-items:center;font-size:.74rem;font-weight:780;display:grid}.wizard-progress-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.wizard-progress-current{background:linear-gradient(180deg, #f3faf7 0%, var(--surface) 100%)}.wizard-progress-current .wizard-progress-button{color:var(--teal-dark);font-weight:760}.wizard-progress-current .wizard-progress-index{background:var(--teal-dark);color:#fff}.wizard-progress-done .wizard-progress-button{color:#21473d}.wizard-progress-done .wizard-progress-index{background:var(--olive);color:#fff}.wizard-progress-warn .wizard-progress-index{color:#fff;background:#c98f25}.wizard-progress-caption{color:var(--ink);margin:10px 4px 0;font-size:.92rem;line-height:1.5}.wizard-body{gap:20px;display:grid}.wizard-footer{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.wizard-footer-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:14px;font-size:.88rem;display:flex}.wizard-saved{color:var(--olive);align-items:center;gap:6px;font-weight:660;display:inline-flex}.wizard-footer-actions{gap:10px;display:flex}.variable-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.variable-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:16px;padding:22px;display:grid}.variable-card-header{align-items:center;gap:12px;display:flex}.variable-card-header h4{margin:0;font-size:1.2rem}.variable-slot-badge{background:var(--teal-dark);color:#fff;border-radius:8px;place-items:center;width:32px;height:32px;font-weight:780;display:grid}.field-label-static{font-size:.86rem;font-weight:720}.mode-toggle{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mode-option{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:12px;transition:border-color .14s,background .14s;display:grid}.mode-option:hover{border-color:#0f6f6a57}.mode-option.active{background:#eff8f4;border-color:#0f6f6a8c}.mode-option input{margin:2px 0 0}.mode-option strong{color:var(--ink);margin-bottom:4px;display:block}.mode-option-hint{color:var(--muted);font-size:.86rem;line-height:1.45;display:block}.taxonomy-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.taxonomy-builder{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:14px;padding:20px;display:grid}.taxonomy-builder-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.taxonomy-builder-header h4{margin:0;font-size:1.18rem}.taxonomy-builder-toolbar{gap:8px;display:flex}.taxonomy-tree{gap:12px;max-height:560px;padding-right:4px;display:grid;overflow:auto}.taxonomy-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:8px;margin:0;padding:14px;font-size:.92rem}.taxonomy-root-actions{flex-wrap:wrap;gap:10px;padding-top:4px;display:flex}.taxonomy-node{border:1px solid var(--line);background:#fbfcfa;border-radius:8px;gap:10px;padding:14px;display:grid}.taxonomy-node-category{background:#f6fbf9;border-left:3px solid #0f6f6a8c}.taxonomy-node-term{border-left:3px solid #a84c248c}.taxonomy-node-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.taxonomy-node-kind{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;align-items:center;height:22px;padding:0 8px;font-size:.74rem;font-weight:720;display:inline-flex}.taxonomy-node-kind.is-category{color:var(--teal-dark);background:#e7f4ef}.taxonomy-node-kind.is-term{color:var(--rust);background:#f9ece4}.taxonomy-node-actions{gap:4px;display:flex}.taxonomy-node-grid{gap:12px}.taxonomy-children{border-left:1px dashed #0f6f6a47;gap:10px;margin-top:6px;padding-left:14px;display:grid}.taxonomy-node-add{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.taxonomy-node-add .button-secondary{min-height:32px;padding:0 10px;font-size:.86rem}.notice-danger{color:#5a1f1f;background:#fdecec;border-color:#9c2f2f59}.field.is-invalid>label,.field.is-invalid>.field-label-static{color:var(--danger)}.field.is-invalid input,.field.is-invalid select,.field.is-invalid textarea{border-color:var(--danger);background:#fef4f4}.field.is-invalid input:focus,.field.is-invalid select:focus,.field.is-invalid textarea:focus{border-color:var(--danger);outline-color:#9c2f2f40}.taxonomy-builder.is-invalid{background:#fef4f4;border-color:#9c2f2f8c}.taxonomy-node.is-invalid,.taxonomy-node-term.is-invalid{border-color:#9c2f2f8c;border-left-color:var(--danger);background:#fef4f4}.taxonomy-node.is-invalid input,.taxonomy-node.is-invalid textarea{background:#fff;border-color:#9c2f2f73}.wizard-step-warn{background:#fdf6e6;border-color:#8a5b1280}.wizard-step-warn .wizard-step-index{color:#fff;background:#c98f25}.wizard-step-button[aria-disabled=true]{cursor:not-allowed;opacity:.6}.wizard-step-button[aria-disabled=true] .wizard-step-label{color:var(--muted)}.validation-notice{color:#4a3713;background:#fff7e1;border:1px solid #8a5b1252;border-radius:8px;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:12px;padding:14px 16px;display:grid}.validation-notice svg{color:#b87813;margin-top:2px}.validation-notice strong{margin-bottom:6px;display:block}.validation-notice ul{margin:0;padding-left:18px;line-height:1.5}.cue-group{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:14px;padding:20px;display:grid}.cue-group-header h4{margin:0 0 4px;font-size:1.12rem}.cue-group-header .help-text{margin:0}.cue-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;display:grid}.cue-list{border:1px solid var(--line);background:#fbfcfa;border-radius:8px;gap:8px;padding:14px;display:grid}.cue-list-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.cue-list-header h5{margin:0;font-size:.98rem}.cue-list-header .help-text{margin:0}.cue-list-actions{flex-wrap:wrap;gap:4px;display:flex}.cue-list-actions .button-ghost{min-height:30px;padding:0 8px;font-size:.82rem}.cue-list-textarea{border:1px solid var(--line);resize:vertical;background:#fff;border-radius:7px;width:100%;min-height:90px;padding:10px 12px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.84rem;line-height:1.45}.cue-list-textarea:focus{border-color:#0f6f6a8c;outline:2px solid #0f6f6a33}.cue-list-warning{color:var(--warning);margin:0;font-size:.85rem}.cue-list-warning.is-error{color:var(--danger)}.section-profile-row{justify-content:flex-start;align-items:flex-end;display:flex}.section-weights-table{border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:8px;width:100%;overflow:hidden}.section-weights-table thead th{text-align:left;border-bottom:1px solid var(--line);background:#f4f6f1;padding:12px 14px;font-size:.92rem}.section-weights-table tbody th,.section-weights-table tbody td{vertical-align:top;border-bottom:1px solid #eef1ec;padding:14px}.section-weights-table tbody tr:last-child th,.section-weights-table tbody tr:last-child td{border-bottom:0}.section-row-name{font-weight:720;display:inline-block}.section-weight-input{border:1px solid var(--line);border-radius:6px;width:100%;min-height:38px;padding:0 10px}.section-weight-input:focus{border-color:#0f6f6a8c;outline:2px solid #0f6f6a33}.parameter-group{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:14px;padding:20px;display:grid}.parameter-group-header h4{margin:0 0 4px;font-size:1.12rem}.parameter-group-header .help-text{margin:0}.parameter-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;display:grid}.parameter-field{border:1px solid var(--line);background:#fbfcfa;border-radius:8px;gap:8px;padding:14px;display:grid}.parameter-out-of-range{background:#fdecec;border-color:#9c2f2f8c}.parameter-label{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.parameter-label strong{font-size:.96rem}.parameter-bounds{color:var(--muted);font-size:.78rem}.parameter-controls{grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:12px;display:grid}.parameter-controls input[type=range]{width:100%}.parameter-number{border:1px solid var(--line);text-align:right;border-radius:6px;width:100%;min-height:36px;padding:0 10px}.parameter-number:focus{border-color:#0f6f6a8c;outline:2px solid #0f6f6a33}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}.summary-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:10px;padding:18px;display:grid}.summary-card>header{color:var(--teal-dark);align-items:center;gap:10px;display:flex}.summary-card>header h4{margin:0;font-size:1.04rem}.summary-list{gap:4px;margin:0;padding:0;line-height:1.5;list-style:none;display:grid}.summary-list li{font-size:.9rem}.summary-variable-row{border-bottom:1px solid #eef1ec;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:8px 0;display:grid}.summary-variable-row:last-child{border-bottom:0}.save-panel{background:linear-gradient(#fff 0%,#f3faf7 100%);border:1px solid #0f6f6a52;border-radius:12px;gap:16px;padding:22px;display:grid}.save-actions{gap:10px;display:flex}.save-result{background:#f5faea;border:1px solid #627c3573;border-radius:10px;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:12px;padding:14px;display:grid}.save-result strong{color:#21473d;display:block}.protocols-empty{border:1px dashed var(--line);color:var(--muted);border-radius:8px;align-items:center;gap:10px;padding:14px 18px;display:inline-flex}.protocols-empty p{margin:0}.protocols-empty-state{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:20px;padding:28px;display:grid}.protocols-list{gap:12px;display:grid}.protocol-row{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;transition:border-color .16s,box-shadow .16s;display:flex}.protocol-row:hover{border-color:#0f6f6a57;box-shadow:0 14px 38px #18201c14}.protocol-row-meta h3{margin:0 0 4px;font-size:1.16rem}.protocol-row-meta p{color:var(--muted);margin:0 0 4px;line-height:1.5}.protocol-row-meta p.mono{font-size:.8rem}.protocol-row-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.runner{gap:18px;display:grid}.runner-header{background:linear-gradient(#fff 0%,#f3faf7 100%);border:1px solid #0f6f6a52;border-radius:12px;padding:22px 24px}.runner-header h2{margin:6px 0 8px;font-size:1.5rem;line-height:1.2}.runner-variables{flex-wrap:wrap;gap:16px;margin-top:12px;display:flex}.runner-variables>div{align-items:center;gap:10px;display:inline-flex}.runner-form{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:14px;padding:22px;display:grid}.runner-actions{justify-content:flex-start;gap:10px;display:flex}.run-status{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:12px;padding:22px;display:grid}.run-status-header{justify-content:space-between;gap:14px;display:flex}.run-status h4{color:var(--muted);letter-spacing:.02em;text-transform:uppercase;margin:6px 0 4px;font-size:.96rem;font-weight:720}.run-status-pill{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;align-items:center;height:24px;padding:0 10px;font-size:.78rem;font-weight:720;display:inline-flex}.run-status-pill-queued{background:var(--surface-muted);color:var(--muted)}.run-status-pill-running{color:var(--teal-dark);background:#e4f3ef}.run-status-pill-completed{color:#21473d;background:#eaf4df}.run-status-pill-failed{color:var(--danger);background:#f8e7e4}.run-status-cta{flex-wrap:wrap;gap:10px;margin-top:4px;display:flex}.results-protocol-banner{background:linear-gradient(#fff 0%,#f3faf7 100%);border:1px solid #0f6f6a52;border-radius:12px;gap:16px;padding:18px 22px;display:flex}.results-protocol-banner h3{font-size:1.2rem}.save-result-cta{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}@media (max-width:900px){.topbar-inner,.section,.page-title,.hero-content{width:min(100% - 24px,720px)}.topbar-inner{flex-direction:row;align-items:center;padding:0}.nav-desktop{display:none}.nav-mobile{display:inline-flex}.hero{min-height:760px}.info-grid,.metric-grid,.result-grid,.form-grid,.figure-grid,.lexicon-layout,.pipeline-map,.path-grid,.welcome-grid,.variable-grid,.taxonomy-grid,.mode-toggle,.cue-grid,.parameter-grid,.parameter-controls{grid-template-columns:1fr}.section-weights-table{display:block;overflow-x:auto}.summary-grid{grid-template-columns:1fr}.glossary-row{grid-template-columns:1fr;gap:4px}.page-header-compact{padding-top:18px}.protocols-empty-state{grid-template-columns:1fr}.protocol-row{flex-direction:column;align-items:stretch}.runner-variables{flex-direction:column;align-items:flex-start}.run-status-header,.results-protocol-banner{flex-direction:column}.placeholder-panel{grid-template-columns:1fr}.wizard-footer{flex-direction:column;align-items:stretch}.wizard-footer-actions{justify-content:space-between}.taxonomy-builder-header{flex-direction:column}.protocol-hero,.section-heading,.upload-strip{flex-direction:column;align-items:start}}:root{--bg:#f6f7f3;--line:#dde2da;--line-soft:#e7ebe3;--paper:#f1ede3;--shadow:0 30px 80px #18201c1a;--serif:"Newsreader", ui-serif, Georgia, serif;--sans:"Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--mono:"JetBrains Mono", "SFMono-Regular", Consolas, monospace;--col:min(1140px, calc(100% - 48px))}body{background:var(--bg);font-family:var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}.topbar-inner,.section,.page-title,.hero-content,.hero-meta-inner,.rule{width:var(--col)}.topbar{-webkit-backdrop-filter:blur(18px)saturate(1.2);backdrop-filter:blur(18px)saturate(1.2);background:#f6f7f3d1;border-bottom:1px solid #dde2dacc}.topbar-inner{min-height:74px}.brand{font-family:var(--sans);letter-spacing:.16em;text-transform:uppercase;gap:11px;font-size:1.12rem;font-weight:700}.brand-mark{background:#f1f8f5;border-radius:9px}.nav{gap:6px}.nav a{border-radius:8px;min-height:38px;padding:0 13px;font-size:.92rem;font-weight:500}.button,.button-secondary,.button-ghost{min-height:46px;font-family:var(--sans);border-radius:9px;gap:9px;padding:0 20px;font-size:.95rem;font-weight:600;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}.button{box-shadow:0 1px 2px #0a4d4a40}.button:hover{transform:translateY(-1px);box-shadow:0 10px 24px #0a4d4a38}.button:disabled{box-shadow:none;transform:none}.button-secondary:hover{background:#f4faf7;border-color:#0f6f6a66}.button-ghost{min-height:38px;padding:0 8px}.eyebrow{color:var(--teal-dark);font-family:var(--sans);letter-spacing:.14em;text-transform:uppercase;align-items:center;gap:12px;margin:0 0 20px;font-size:.72rem;font-weight:600;line-height:1.4;display:flex}.eyebrow:before{content:"";opacity:.55;background:currentColor;flex:none;width:26px;height:1px}.hero{background:#0c1614;min-height:calc(100vh - 74px)}.hero:after{background:linear-gradient(95deg,#091513f0 0%,#091513c7 46%,#09151357 100%),linear-gradient(#09151300 70%,#f6f7f3f5 100%)}.hero-visual{opacity:.62;filter:saturate(1.05)contrast(1.03)}.hero .eyebrow{color:#a7d0c6}.hero .eyebrow:before{background:#a7d0c6}.hero h1{max-width:14ch;font-family:var(--serif);letter-spacing:-.02em;font-size:clamp(3.4rem,9vw,7.2rem);font-weight:500;line-height:.94}.hero h1 em,.nx-em{color:#cfe6df;font-style:italic}.hero-copy{color:#ffffffd1;max-width:60ch;margin-top:28px;font-size:1.18rem;line-height:1.62}.hero .button-secondary{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff12;border-color:#ffffff42}.hero-meta{z-index:1;position:absolute;bottom:26px;left:0;right:0}.hero-meta-inner{color:#cfe6dfb8;font-family:var(--mono);letter-spacing:.02em;flex-wrap:wrap;gap:28px;margin:0 auto;font-size:.76rem;display:flex}.hero-meta-inner span{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.hero-meta-inner b{color:#cfe6df;font-weight:500}.section{padding:92px 0}.section.compact{padding:48px 0}.section-heading{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:32px;margin-bottom:36px;display:grid}.section-heading h2,.page-title h1{font-family:var(--serif);letter-spacing:-.015em;font-size:clamp(2.1rem,4vw,3.1rem);font-weight:500;line-height:1.05}.section-heading p,.page-title p{max-width:62ch;margin-top:14px;font-size:1.02rem;line-height:1.62}.section-index{color:var(--teal);font-family:var(--mono);letter-spacing:.06em;margin-bottom:14px;font-size:.82rem;font-weight:500;display:block}.rule{background:var(--line);height:1px;margin:0 auto}.panel,.card{border-color:var(--line);background:var(--surface);box-shadow:none;border-radius:14px}.panel{padding:32px}.card{padding:24px}.card.lift:hover{box-shadow:var(--shadow);border-color:#0f6f6a47;transform:translateY(-3px)}.card h3,.panel h3{font-family:var(--serif);margin-bottom:10px;font-size:1.3rem;font-weight:500;line-height:1.2}.card-ic{width:46px;height:46px;color:var(--teal-dark);background:#eef6f2;border-radius:11px;place-items:center;margin-bottom:18px;display:grid}.page-title{padding:60px 0 24px}.page-title h1{font-size:clamp(2.6rem,5vw,4rem)}.field input,.field select,.field textarea,.compact-input,.cue-list-textarea,.section-weight-input,.parameter-number{border-radius:10px}.field input,.field select{min-height:48px}.notice{background:#fdf7e9;border-radius:12px;gap:14px;padding:18px 20px}.notice strong{font-family:var(--serif);font-size:1.05rem;font-weight:500}.path-picker{border-radius:10px;grid-template-columns:50px minmax(0,1fr);min-height:50px}.path-picker input,.mono,.cue-list-textarea,.log-box,.table-row strong{font-family:var(--mono)}.icon-button{border-radius:9px;width:46px;height:46px}.path-picker .icon-button{width:50px;height:50px}.badge{color:#1f4a3f;letter-spacing:.08em;text-transform:uppercase;background:#e9f3ee;min-height:25px;padding:0 11px;font-size:.7rem;font-weight:600}.card.metric{border-left:2px solid var(--teal);gap:8px;padding:22px 24px}.metric strong{font-family:var(--serif);letter-spacing:-.01em;font-size:2.7rem;font-weight:500}.tabs{border-bottom:1px solid var(--line);gap:6px;margin-bottom:24px}.tab{background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;min-height:42px;margin-bottom:-1px;padding:0 16px;font-size:.95rem;font-weight:500}.tab.active{border-bottom-color:var(--teal-dark);color:var(--teal-dark);background:0 0;font-weight:600}.figure-card{border-radius:14px;padding:18px}.figure-card h3{font-family:var(--serif);font-size:1.18rem;font-weight:500}.figure-frame{border-color:var(--line-soft);border-radius:9px;min-height:230px;padding:8px;overflow:hidden}.table-preview,.file-list{border-radius:12px}.table-preview th{color:#3a463e;letter-spacing:.06em;text-transform:uppercase;background:#f3f6f0;font-size:.72rem;font-weight:600}.table-row{cursor:pointer}.table-row:hover{background:#f7faf8}.table-row.active{background:#eef6f2}.log-box{color:#d4e3db;background:#0c1614;border:1px solid #1b2a26;border-radius:12px;font-size:.8rem;line-height:1.7}.welcome-card{border-radius:18px;padding:36px}.welcome-card h2,.runner-header h2,.results-protocol-banner h3,.step-heading h3,.variable-card-header h4,.taxonomy-builder-header h4,.cue-group-header h4,.parameter-group-header h4,.summary-card>header h4,.protocol-row-meta h3,.placeholder-panel h2{font-family:var(--serif);letter-spacing:-.01em;font-weight:500}.welcome-card-icon{border-radius:15px;width:58px;height:58px}.welcome-tip{border-left:3px solid var(--olive);border-radius:12px}.runner-header,.results-protocol-banner,.protocol-hero,.save-panel{background:linear-gradient(165deg,#fff 0%,#f3efe6 130%);border-radius:18px}.runner-form,.run-status{border-radius:16px;padding:30px}.status-item,.panel-subtle,.variable-card,.taxonomy-builder,.taxonomy-node,.cue-group,.cue-list,.parameter-group,.parameter-field,.summary-card,.protocols-empty-state,.protocol-row,.wizard-step,.wizard-footer{border-radius:14px}.site-footer{border-top:1px solid var(--line);background:var(--paper)}.site-footer .section{padding:64px 0}.footer-grid{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px;display:grid}.footer-grid h2{font-family:var(--serif);letter-spacing:-.01em;margin:0;font-size:1.7rem;font-weight:500;line-height:1.2}.footer-grid p:not(.eyebrow){max-width:60ch;color:var(--muted);margin:12px 0 0;line-height:1.6}@media (max-width:900px){:root{--col:min(100% - 32px, 720px)}.topbar-inner,.section,.page-title,.hero-content,.hero-meta-inner{width:var(--col)}.section-heading,.footer-grid{grid-template-columns:1fr;align-items:start}.hero h1{font-size:clamp(2.8rem,12vw,4rem)}}@media (max-width:900px){.hero{min-height:max(660px,100vh - 108px)}.hero h1{font-size:clamp(2.8rem,12vw,4rem)}}.hero{min-height:max(590px,100vh - 150px)}.hero-content{padding:56px 0 68px}.hero h1{font-size:clamp(3rem,7.4vw,5.8rem)}.hero-copy{margin-top:24px;font-size:1.1rem}.hero-actions{margin-top:30px}.hero-meta{bottom:10px}@media (max-width:900px){.hero{min-height:max(640px,100vh - 120px)}}@media (max-width:520px){body{overflow-x:hidden}.topbar-inner{align-items:stretch;position:relative}.nav{flex-wrap:wrap;overflow:visible}.nav a{padding:0 8px}.locale-toggle{margin-left:0;padding:3px 4px;position:static}.locale-toggle-option{min-width:24px;padding:0 4px}.hero-content,.hero-meta-inner{width:min(100% - 32px,720px)}.hero{min-height:max(570px,100vh - 160px)}.hero-content{padding:42px 0 44px}.hero h1,.hero-copy{max-width:100%}.hero h1{max-width:9.5ch;font-size:clamp(2.7rem,11vw,3.2rem)}.hero h1 em{display:block}.hero .eyebrow,.hero-copy{max-width:32ch}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .button,.hero-actions .button-secondary{width:100%}.hero-meta{display:none}.hero-meta-inner{gap:10px 18px}}
