:root{--bg:#f4f5f7;--panel:#fff;--ink:#1d2330;--muted:#667085;--line:#d9dde5;--accent:#1f5fbf;--accent-soft:#e8f0fb;--done:#2e7d4f;--error:#b42318;--radius:10px;color:var(--ink);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}h1{margin:0;font-size:1.1rem}h2{margin:.25rem 0 1rem;font-size:1.25rem;font-weight:600}button{font:inherit}button:disabled{opacity:.45;cursor:default}.wizard{flex-direction:column;min-height:100vh;display:flex}.wizard-header{background:var(--panel);border-bottom:1px solid var(--line);padding:.75rem 1rem}.wizard-body{flex:1;min-height:0;display:flex}.wizard-wide .wizard-header{padding:1rem 1.5rem}.wizard-wide .wizard-body{gap:1.5rem;padding:1.5rem}.rail{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);flex:0 0 260px;align-self:flex-start;width:260px;padding:.75rem}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;flex:1;min-width:0;padding:1.5rem;display:flex}.wizard-narrow .wizard-body{padding:.75rem}.wizard-narrow .panel{background:0 0;border:none;padding:1rem 1rem 6rem}.wizard-narrow .nav{background:var(--panel);border-top:1px solid var(--line);gap:.75rem;padding:.75rem 1rem;display:flex;position:fixed;bottom:0;left:0;right:0}.wizard-narrow .nav .btn{flex:1;min-height:48px}.rail ol{margin:0;padding:0;list-style:none}.rail-item button{text-align:left;cursor:pointer;width:100%;color:var(--ink);background:0 0;border:none;border-radius:8px;align-items:center;gap:.6rem;padding:.6rem .5rem;display:flex}.rail-item button:not(:disabled):hover{background:var(--accent-soft)}.rail-dot{border:1px solid var(--line);width:26px;height:26px;color:var(--muted);background:var(--panel);border-radius:50%;flex:0 0 26px;justify-content:center;align-items:center;font-size:.8rem;display:inline-flex}.rail-done .rail-dot{background:var(--done);border-color:var(--done);color:#fff}.rail-current .rail-dot{background:var(--accent);border-color:var(--accent);color:#fff}.rail-current button{background:var(--accent-soft);font-weight:600}.rail-todo button{color:var(--muted)}.stepper-bar{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);text-align:left;cursor:pointer;width:100%;padding:.6rem .75rem;display:block}.stepper-label{margin-bottom:.4rem;font-size:.9rem;font-weight:600;display:block}.stepper-progress{background:var(--line);border-radius:3px;height:6px;display:block;overflow:hidden}.stepper-progress>span{background:var(--accent);height:100%;display:block}.sheet-backdrop{z-index:10;background:#0f141e73;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--panel);border-radius:16px 16px 0 0;width:100%;max-height:80vh;padding:1rem;overflow:auto}.sheet ol{margin:0 0 1rem;padding:0;list-style:none}.sheet-title{margin:0 0 .5rem;font-weight:600}.sheet-item{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;min-height:48px;padding:.85rem .75rem}.sheet-item:not(:disabled):hover{background:var(--accent-soft)}.sheet-current{color:var(--accent);font-weight:600}.step-kicker{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:0;font-size:.8rem}.step-prompt{font-size:1.05rem;font-weight:500}.fields{flex-direction:column;gap:1.25rem;display:flex}.field{border:none;min-width:0;margin:0;padding:0}.field-label{margin-bottom:.5rem;padding:0;font-weight:600;display:block}.cards{flex-direction:column;gap:.6rem;display:flex}.card{border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;background:var(--panel);align-items:flex-start;gap:.75rem;min-height:56px;padding:.9rem 1rem;display:flex}.card-checked{border-color:var(--accent);background:var(--accent-soft)}.card input{flex:0 0 18px;width:18px;height:18px;margin-top:.25rem}.card-body{flex-direction:column;gap:.2rem;display:flex}.card-title{font-weight:600}.card-desc{color:var(--muted);font-size:.875rem}.select,.filter{border:1px solid var(--line);background:var(--panel);border-radius:8px;width:100%;min-height:46px;padding:.5rem .75rem;font-size:1rem}.filter{margin-bottom:.5rem}.checklist-tools{align-items:center;gap:.75rem;display:flex}.checklist-tools .filter{flex:1;margin-bottom:0}.checklist-actions{gap:1rem;margin:.5rem 0;display:flex}.checklist{border:1px solid var(--line);border-radius:8px;max-height:360px;margin:0;padding:0;list-style:none;overflow:auto}.checklist li+li{border-top:1px solid var(--line)}.check-row{cursor:pointer;align-items:center;gap:.75rem;min-height:48px;padding:.75rem;display:flex}.check-row input{width:20px;height:20px}.check-field{border:1px solid var(--line);border-radius:var(--radius);padding:.75rem 1rem}.chip{background:var(--accent-soft);color:var(--accent);white-space:nowrap;border-radius:999px;padding:.25rem .7rem;font-size:.85rem}.link{color:var(--accent);cursor:pointer;background:0 0;border:none;padding:.25rem 0}.muted{color:var(--muted)}.error{color:var(--error);margin:.5rem 0 0;font-size:.9rem}.nav{justify-content:space-between;gap:.75rem;margin-top:1.5rem;display:flex}.btn{border:1px solid var(--line);background:var(--panel);cursor:pointer;border-radius:8px;min-height:44px;padding:.5rem 1.25rem}.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}.review-list{flex-direction:column;gap:.75rem;margin:0 0 1.5rem;padding:0;list-style:none;display:flex}.review-item{border:1px solid var(--line);border-radius:var(--radius);padding:.75rem 1rem}.review-head{justify-content:space-between;align-items:center;display:flex}.review-item ul{margin:.4rem 0 0;padding-left:1rem}.output{margin-top:1.25rem}pre{color:#e6edf7;border-radius:var(--radius);white-space:pre-wrap;background:#0f1420;padding:.9rem 1rem;font-size:.85rem;overflow:auto}.debug{margin-top:1.25rem}.debug summary{cursor:pointer;color:var(--muted)}
