:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#172033;background:#f4f6f8}*{box-sizing:border-box}body{margin:0}.app{max-width:1180px;margin:auto;padding:24px}h1{margin:0 0 5px;font-size:27px}.lead{margin:0 0 20px;color:#64748b}.progress{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:14px}.pstep{border:1px solid #dbe2ea;background:#fff;border-radius:10px;padding:10px;min-height:62px;cursor:pointer;text-align:left}.pstep .n{display:block;font-size:11px;color:#64748b;margin-bottom:3px}.pstep .t{font-size:13px;font-weight:700}.pstep.active{border:2px solid #22a447;background:#f4fcf6}.pstep.done{background:#eefaf1}.layout{display:block}.card{background:#fff;border:1px solid #e1e7ee;border-radius:16px;box-shadow:0 4px 18px #0f172a0a}.main{padding:22px;max-height:calc(100vh - 165px);display:flex;flex-direction:column;overflow:hidden}.side{padding:17px;position:sticky;top:18px}.screen-head{border-bottom:1px solid #e7ebf0;padding-bottom:15px;margin-bottom:16px}.screen-kicker{font-size:12px;font-weight:800;color:#16833a;text-transform:uppercase;letter-spacing:.05em}.screen-title{font-size:24px;font-weight:800;margin:4px 0}.screen-desc{color:#64748b;line-height:1.45;font-size:14px}.group{border:1px solid #e3e8ee;border-radius:13px;margin:0 0 10px;overflow:hidden;background:#fff}.group.hidden{display:none}.group-title{font-weight:800;background:#f8fafb;padding:11px 14px;border-bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.group-title:hover{background:#f3f6f8}.group-title .chev{font-size:14px;color:#64748b;transition:transform .18s ease}.group.open .group-title{border-bottom:1px solid #e7ebef}.group.open .group-title .chev{transform:rotate(180deg)}.group-body{display:none}.group.open .group-body{display:block}.group-meta{font-size:11px;font-weight:600;color:#64748b;margin-left:auto}.field{padding:10px 14px;border-top:1px solid #edf0f3}.field:first-of-type{border-top:0}.field.hidden{display:none}.field.child{margin-left:20px;border-left:3px solid #d8eadd}.field.required{background:#f7fcf8}.labelrow{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px}.label{font-weight:700}.badge{font-size:10px;font-weight:800;padding:3px 7px;border-radius:999px}.req{background:#dcfce7;color:#166534}.opt{background:#eef2f7;color:#64748b}.key{font-size:11px;color:#94a3b8;margin-top:5px}.desc{font-size:12px;color:#64748b;margin-top:6px;line-height:1.4}select,input{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit}select[multiple]{min-height:120px}.bool{display:flex;gap:8px}.bool button{padding:8px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer}.bool button.on{background:#17301f;color:#fff;border-color:#17301f}.nav{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #e7ebf0;background:#fff;flex:0 0 auto}.nav button,.actions button{padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer}.nav .primary,.actions .primary{background:#172033;color:#fff;border-color:#172033}.summary{font-size:12px;color:#64748b;margin-bottom:10px;line-height:1.45}.path{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px}.crumb{font-size:11px;padding:4px 7px;background:#eef8f1;color:#166534;border-radius:999px}textarea{width:100%;min-height:470px;border:1px solid #cbd5e1;border-radius:9px;padding:11px;font:12px ui-monospace,monospace;background:#fbfcfd;resize:vertical}.actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.empty{color:#64748b;font-size:13px;padding:8px 0}@media (max-width:850px){.progress,.layout{grid-template-columns:1fr}.side{position:static}textarea{min-height:280px}}
