:root{--bg: var(--bg-page);--surface: var(--bg-surface);--surface-2: #eef3f6;--surface-3: var(--bg-subtle);--text: var(--text-primary);--text-2: var(--text-body);--muted: var(--text-muted);--primary: var(--blue);--primary-hover: var(--blue-hover);--primary-soft: var(--blue-bg);--danger: var(--orange-text);--danger-soft: var(--orange-bg);--success: var(--green-text);--success-soft: var(--green-bg);--warning: var(--yellow-text);--warning-soft: var(--yellow-bg);--info: var(--blue);--info-soft: var(--blue-bg);--radius: var(--r12);--radius-sm: var(--r8);--sidebar-w: 236px;--sidebar-w-collapsed: 64px;--panel-w: 380px;--sidebar-bg: var(--band);--sidebar-text: var(--band-ink);--sidebar-muted: var(--band-muted);--sidebar-group: var(--band-muted);--nt-start: var(--green);--nt-form_customer: var(--blue);--nt-task_internal: var(--orange);--nt-email: #7b3fc4;--nt-decision: #c9a21a;--nt-wait: #5a7391;--nt-timer: #1a9c9c;--nt-action: #4d5a6b;--nt-subflow: #4f46b5;--nt-end: var(--magenta);--lane-odd: rgba(6, 116, 183, .035);--lane-even: rgba(6, 116, 183, .08);--lane-border: rgba(6, 116, 183, .18)}:root[data-theme=dark]{--surface-2: #1d272d;--nt-email: #b28af0;--nt-decision: #e3c24a;--nt-wait: #8ea6c4;--nt-timer: #4fd1d1;--nt-action: #9aa7b8;--nt-subflow: #8f88e8;--lane-odd: rgba(59, 155, 224, .04);--lane-even: rgba(59, 155, 224, .09);--lane-border: rgba(59, 155, 224, .22)}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);font-size:14px;line-height:20px;color:var(--text-body);background:var(--bg);-webkit-font-smoothing:antialiased}a{color:var(--text-link);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:3px;color:var(--text-primary)}h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.25;color:var(--text-primary)}h1{font-family:var(--font-head);font-weight:700;font-size:26px;line-height:33px;letter-spacing:-.01em}h2{font-family:var(--font-head);font-size:20px;line-height:26px}h3{font-size:15px;line-height:20px}p{margin:0 0 8px}button,input,select,textarea{font:inherit}code,.mono{font-family:var(--mono);font-size:12.5px}small,.muted{color:var(--muted)}.small{font-size:13px;line-height:18px}.nowrap{white-space:nowrap}.right{text-align:right}.flex{display:flex;align-items:center;gap:8px}.flex-wrap{flex-wrap:wrap}.grow{flex:1 1 auto;min-width:0}.spacer{flex:1 1 auto}.stack{display:flex;flex-direction:column;gap:10px}.row{display:flex;gap:12px;align-items:flex-start}.row>*{flex:1 1 0;min-width:0}.gap-sm{gap:6px}.mt{margin-top:12px}.mb{margin-bottom:12px}.hidden{display:none!important}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pre{white-space:pre-wrap;word-break:break-word}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.h1{font-family:var(--font-head);font-weight:700;font-size:32px;line-height:40px;color:var(--text-primary);letter-spacing:-.01em}.h2{font-family:var(--font-head);font-weight:600;font-size:26px;line-height:33px;color:var(--text-primary);letter-spacing:-.01em}.h3{font-family:var(--font-head);font-weight:600;font-size:20px;line-height:26px;color:var(--text-primary)}.q{font-weight:600;font-size:16px;line-height:22px;color:var(--text-primary)}.body{font-size:15px;line-height:22px;color:var(--text-body)}.opt{font-weight:600;font-size:14px;line-height:20px;color:var(--text-primary)}.help{font-size:13px;line-height:18px;color:var(--text-muted)}.eyebrow{font-weight:600;font-size:12px;line-height:16px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.strong{font-weight:600;color:var(--text-primary)}.ic{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}.ic.sm{width:16px;height:16px}.ic.xs{width:14px;height:14px}.ic.lg{width:24px;height:24px}.brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.brand-mark{flex:none;display:block}.brand-mark path{stroke:var(--blue)}.brand-mark circle{fill:var(--green)}.brand-word{font-family:var(--font-head);font-weight:700;font-size:24px;line-height:30px;letter-spacing:-.02em;color:var(--text-primary);white-space:nowrap}.brand-word span{color:var(--blue)}.shell{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);min-height:100vh}.shell.collapsed{grid-template-columns:var(--sidebar-w-collapsed) minmax(0,1fr)}.sidebar{background:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:hidden}.sidebar-head{display:flex;align-items:center;gap:10px;padding:16px 12px 14px 16px;min-height:60px}.sidebar-logo{display:grid;place-items:center;flex:none}.sidebar .brand-mark path{stroke:#fff}.sidebar .brand-mark circle{fill:#5fd0b7}.sidebar-title{min-width:0;white-space:nowrap}.sidebar-title .brand-word,.sidebar-title .brand-word span{display:block;font-size:20px;line-height:24px;color:#fff}.sidebar-title .brand-word span{display:inline}.sidebar-title small{display:block;font-family:var(--font);font-weight:400;font-size:12px;line-height:14px;color:var(--sidebar-muted);margin-top:1px;overflow:hidden;text-overflow:ellipsis}.sidebar :focus-visible{outline-color:#fff}.sidebar-toggle{margin-left:auto;color:var(--sidebar-text)!important}.sidebar-toggle:hover{background:#ffffff14!important}.sidebar nav{flex:1;overflow-y:auto;padding:4px 12px 8px}.nav-group{font-size:11px;line-height:16px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--sidebar-group);padding:14px 10px 6px;white-space:nowrap}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--r10);color:var(--sidebar-text);cursor:pointer;white-space:nowrap;text-decoration:none;font-size:14px;line-height:20px;font-weight:500}.nav-item:hover{background:#ffffff12;color:#fff;text-decoration:none}.nav-item.active{background:#ffffff24;color:#fff;font-weight:600}.nav-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:none;opacity:.9}.nav-icon .ic{width:18px;height:18px}.collapsed .sidebar-title,.collapsed .nav-label,.collapsed .nav-group,.collapsed .sidebar-user-name{display:none}.collapsed .nav-item{justify-content:center;padding:9px 0}.collapsed .sidebar-head{justify-content:center;padding-left:8px;padding-right:8px}.collapsed .sidebar-toggle{margin-left:0}.collapsed .sidebar-logo{display:none}.sidebar-foot{border-top:1px solid rgba(255,255,255,.12);padding:12px 12px 14px;display:flex;flex-direction:column;gap:8px}.sidebar-user{display:flex;align-items:center;gap:10px;font-size:13px;line-height:16px;padding:2px 4px;color:#fff}.sidebar-user small{color:var(--sidebar-muted);font-size:12px}.sidebar-user .avatar{width:32px;height:32px;border-radius:50%;background:#5b7f91;color:#fff;display:grid;place-items:center;font-weight:600;font-size:12px;flex:none}.collapsed .sidebar-user{justify-content:center}.sidebar-foot .btn.ghost{color:var(--sidebar-text)}.sidebar-foot .btn.ghost:hover:not(:disabled){background:#ffffff14}.theme-seg{display:flex;gap:2px;padding:3px;border-radius:var(--r8);background:#ffffff14}.theme-seg button{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:var(--sidebar-muted);font:inherit;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap}.theme-seg button:hover{color:#fff;background:#ffffff14}.theme-seg button.active{background:var(--bg-surface);color:var(--text-primary);box-shadow:var(--shadow)}.theme-seg .ic{width:14px;height:14px}.theme-cycle{align-self:center}.sidebar-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 6px}.main{min-width:0;display:flex;flex-direction:column}.page{padding:24px 32px 48px;max-width:1600px;width:100%}.page-full{flex:1;display:flex;flex-direction:column;min-height:0;height:100vh}.page-head{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap;padding-right:44px}.page-head h1{margin-right:auto}.page-head .sub{color:var(--muted);font-size:14px;line-height:20px;width:100%;margin-top:-10px}.breadcrumb{font-size:13px;line-height:18px;color:var(--muted);margin-bottom:8px;display:flex;align-items:center;gap:8px}.breadcrumb a{color:var(--text-link)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 14px;border-radius:var(--rfull);border:1.5px solid var(--border);background:var(--surface);color:var(--text-body);font:inherit;font-size:13px;line-height:17px;font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:none}.btn:hover:not(:disabled){background:var(--surface-2);text-decoration:none}.btn:disabled,.btn[aria-disabled=true]{opacity:.45;cursor:default}.btn.primary{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--on-btn)}.btn.primary:hover:not(:disabled){background:var(--btn-hover);border-color:var(--btn-hover)}.btn.primary .arrow{width:24px;height:24px;border-radius:999px;background:#fff;color:var(--btn-bg);display:inline-flex;align-items:center;justify-content:center;margin-right:-8px;flex:none}.btn.primary .arrow .ic{width:12px;height:12px;stroke-width:2.4}.btn.secondary{background:var(--surface);border-color:var(--blue);color:var(--text-link)}.btn.secondary:hover:not(:disabled){background:var(--blue-bg)}.btn.danger{color:var(--orange-text);border-color:var(--orange)}.btn.danger:hover:not(:disabled){background:var(--orange-bg)}.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover:not(:disabled){background:var(--surface-2)}.btn.link{height:auto;padding:0;border:0;background:none;color:var(--text-link);text-decoration:underline;text-underline-offset:3px;font-weight:500;font-size:13px}.btn.link:hover:not(:disabled){background:none;color:var(--text-primary)}.btn.link.muted{color:var(--text-muted)}.btn.link.danger{color:var(--orange-text);border:0}.btn.md{height:44px;padding:0 20px;font-size:15px;line-height:19px;gap:10px}.btn.md .arrow{width:28px;height:28px;margin-right:-12px}.btn.md .arrow .ic{width:13px;height:13px}.btn.lg{height:56px;padding:0 28px;font-size:16px;line-height:20px;gap:10px}.btn.lg .arrow{width:40px;height:40px;margin-right:-16px}.btn.lg .arrow .ic{width:18px;height:18px}.btn.sm{height:30px;padding:0 10px;font-size:12px;line-height:16px;gap:6px}.btn.xs{height:24px;padding:0 8px;font-size:11.5px;border-width:1px}.btn.icon{padding:0;width:36px}.btn.icon.sm{width:30px}.btn.icon.xs{width:24px}.btn .ic{width:16px;height:16px}.btn.md .ic{width:18px;height:18px}.btn-group{display:inline-flex;gap:6px;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>label,.label{font-size:13px;line-height:18px;font-weight:600;color:var(--text-primary)}.field .hint{font-size:12.5px;line-height:17px;color:var(--muted)}.field.inline{flex-direction:row;align-items:center;gap:8px}.field.inline>label{font-weight:500}input:not([type]),input[type=text],input[type=tel],input[type=time],input[type=number],input[type=password],input[type=email],input[type=date],input[type=datetime-local],input[type=search],input[type=url],select,textarea{font:inherit;font-size:14px;line-height:20px;color:var(--text-primary);background:var(--surface);border:1px solid var(--control);border-radius:var(--r8);padding:7px 12px;min-height:36px;width:100%}input:hover:not(:disabled):not([readonly]),select:hover:not(:disabled),textarea:hover:not(:disabled):not([readonly]){border-color:var(--text-muted)}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}input[readonly],textarea[readonly]{background:var(--bg-page);color:var(--muted)}input:disabled,select:disabled,textarea:disabled{opacity:.6}input[aria-invalid=true],textarea[aria-invalid=true],select[aria-invalid=true],input.invalid,textarea.invalid{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}input::placeholder,textarea::placeholder{color:color-mix(in srgb,var(--muted) 75%,transparent)}textarea{resize:vertical;min-height:72px}textarea.mono,input.mono{font-family:var(--mono);font-size:12.5px}select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary);margin:0}input[type=radio]{accent-color:var(--primary);margin:0}.check{display:inline-flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}.form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.form-grid .span2{grid-column:span 2}.form-grid .span-all{grid-column:1 / -1}.form-error{color:var(--orange-text);font-size:13px;line-height:18px;display:flex;gap:6px;align-items:flex-start}.form-error .ic{width:16px;height:16px;color:var(--orange);margin-top:1px}.json-field .error{color:var(--orange-text);font-size:12px}.json-field textarea.invalid{border-color:var(--orange)}.switch{width:40px;height:22px;border-radius:999px;background:var(--border-strong);position:relative;flex:none;border:0;padding:0;cursor:pointer;transition:background .15s}.switch:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 1px 2px #00000040;transition:left .15s}.switch.on,.switch[aria-checked=true]{background:var(--blue)}.switch.on:after,.switch[aria-checked=true]:after{left:21px}.switch:disabled{opacity:.5;cursor:default}.switch-row{display:flex;align-items:center;gap:12px;cursor:pointer}.switch-row .switch-text{display:flex;flex-direction:column;gap:2px;min-width:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r16);box-shadow:var(--shadow)}.card.flat{box-shadow:none}.card-body{padding:16px 20px}.card-head{display:flex;align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid var(--border)}.card-head h2,.card-head h3{margin-right:auto}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--r16);padding:14px 16px}.kpi .v{font-family:var(--font-head);font-size:26px;font-weight:600;line-height:1.1;color:var(--text-primary)}.kpi .l{font-size:13px;color:var(--muted);margin-top:4px}.section{margin-top:24px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}.section-title h2{margin-right:auto}.divider{height:1px;background:var(--border)}.table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--r16)}.card>.table-wrap{border:0;border-radius:inherit;background:transparent}table.table{width:100%;border-collapse:collapse;font-size:14px;line-height:20px}.table th,.table td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}.table th{font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;background:var(--surface);white-space:nowrap}.table tbody tr:last-child td{border-bottom:none}.table tbody tr.clickable{cursor:pointer}.table tbody tr.clickable:hover{background:var(--surface-2)}.table tbody tr.selected{background:var(--primary-soft)}.table td.num,.table th.num{text-align:right;font-variant-numeric:tabular-nums}.table .empty{text-align:center;color:var(--muted);padding:32px}.table.compact th,.table.compact td{padding:6px 10px}.table .title{font-weight:600;color:var(--text-primary);font-size:15px}.badge{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:var(--rfull);font-size:12px;line-height:16px;font-weight:600;background:var(--bg-subtle);color:var(--text-body);white-space:nowrap}.badge .dot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}.badge.primary,.badge.info,.badge.changed{background:var(--blue-bg);color:var(--text-link)}.badge.success,.badge.live{background:var(--green-bg);color:var(--green-text)}.badge.danger,.badge.warn{background:var(--orange-bg);color:var(--orange-text)}.badge.warning,.badge.draft{background:var(--yellow-bg);color:var(--yellow-text)}.badge.pink{background:var(--magenta-bg);color:var(--magenta-text)}.badge.outline{background:transparent;border:1px solid var(--border);color:var(--text-muted)}.badge.mono{font-family:var(--mono);font-weight:500}.badge.count{height:18px;min-width:18px;padding:0 5px;font-size:11px;justify-content:center}.badge.count.err{background:var(--orange);color:#fff}.dot{width:8px;height:8px;border-radius:50%;display:inline-block}.tag{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 6px;border-radius:var(--r6);background:var(--bg-subtle);font-weight:600;font-size:11px;line-height:14px;color:var(--text-body);white-space:nowrap}.tag.green{color:var(--green-text);background:var(--green-bg)}.tag.blue{color:var(--text-link);background:var(--blue-bg)}.tag.orange{color:var(--orange-text);background:var(--orange-bg)}.tag.yellow{color:var(--yellow-text);background:var(--yellow-bg)}.code{display:inline-flex;align-items:center;height:22px;padding:0 7px;border-radius:var(--r6);border:1px solid var(--border);font-weight:600;font-size:12px;color:var(--text-body);background:var(--surface);white-space:nowrap}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:16px;flex-wrap:wrap}.tab{height:44px;padding:0 14px;border:none;background:none;font:inherit;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;display:inline-flex;align-items:center;gap:8px}.tab:hover{color:var(--text-primary)}.tab.active{color:var(--text-link);border-bottom-color:var(--blue)}.tab .count{margin-left:0}.seg{display:inline-flex;border:1px solid var(--border);border-radius:var(--rfull);padding:3px;background:var(--surface);gap:2px}.seg button{height:28px;padding:0 12px;border:0;border-radius:var(--rfull);background:none;font:inherit;font-size:13px;line-height:17px;font-weight:600;cursor:pointer;color:var(--text-body);display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.seg button:hover{background:var(--surface-2)}.seg button.active,.seg button.on{background:var(--bg-inverse);color:#fff}.seg.sm button{height:24px;padding:0 10px;font-size:12px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#171a336b;z-index:60;display:flex}.drawer{margin-left:auto;width:min(640px,96vw);height:100%;background:var(--surface);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:slidein .15s ease-out}.drawer.wide{width:min(960px,96vw)}.drawer.narrow{width:min(460px,96vw)}.drawer-head,.modal-head{display:flex;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid var(--border)}.drawer-head h2,.modal-head h2{margin-right:auto;font-family:var(--font-head);font-size:20px;line-height:26px}.drawer-body,.modal-body{padding:20px 24px;overflow-y:auto;flex:1}.drawer-foot,.modal-foot{padding:16px 24px;border-top:1px solid var(--border);display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.modal{margin:auto;width:min(640px,96vw);max-height:92vh;background:var(--surface);border-radius:var(--r16);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:pop .12s ease-out;overflow:hidden}.modal.wide{width:min(1000px,96vw)}.modal.mid{width:min(860px,96vw)}.modal.narrow{width:min(480px,96vw)}.modal-head .glyph{width:40px;height:40px;border-radius:var(--r12);background:var(--blue-bg);color:var(--blue);display:inline-flex;align-items:center;justify-content:center;flex:none}.modal-head .glyph.warn{background:var(--orange-bg);color:var(--orange)}.modal-head .glyph.pink{background:var(--magenta-bg);color:var(--magenta)}.modal-head .glyph.ok{background:var(--green-bg);color:var(--green)}.modal-head .titles{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}.modal-head .titles h2{margin:0}@keyframes slidein{0%{transform:translate(24px);opacity:0}to{transform:none;opacity:1}}@keyframes pop{0%{transform:scale(.98);opacity:0}to{transform:none;opacity:1}}.toasts{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:8px;z-index:100;max-width:420px}.toast{background:var(--bg-inverse);color:#fff;border-radius:var(--r12);padding:12px 14px;box-shadow:var(--shadow-lg);font-size:14px;line-height:20px;display:flex;gap:10px;align-items:flex-start;border-left:4px solid var(--blue)}.toast.success{border-left-color:var(--green)}.toast.error{border-left-color:var(--orange)}.toast .close{margin-left:auto;cursor:pointer;color:#cfdbe2;border:none;background:none;font-size:16px;line-height:1;padding:0}.toast a{color:#9fd3f5}.alert{padding:12px 14px;border-radius:var(--r12);border:1px solid var(--border);background:var(--surface-2);font-size:14px;line-height:20px;display:flex;gap:10px;align-items:flex-start}.alert.error{background:var(--orange-bg);border-color:var(--orange-border);color:var(--text-body)}.alert.warning{background:var(--yellow-bg);border-color:var(--yellow-border)}.alert.success{background:var(--green-bg);border-color:var(--green-border)}.alert.info{background:var(--blue-bg);border-color:var(--blue-border)}.alert>.ic{width:18px;height:18px;margin-top:1px}.alert.error>.ic{color:var(--orange)}.alert.warning>.ic{color:#c47d00}.alert.success>.ic{color:var(--green)}.alert.info>.ic{color:var(--blue)}.alert .t{font-weight:600;color:var(--text-primary)}.alert ul{margin:4px 0 0 18px;padding:0}.loading{color:var(--muted);padding:32px;text-align:center}.empty-state{color:var(--muted);padding:32px;text-align:center;border:1px dashed var(--border-strong);border-radius:var(--r12)}.kv{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;font-size:14px}.kv dt{color:var(--muted)}.kv dd{margin:0;min-width:0;word-break:break-word}.bar{height:8px;background:var(--bg-subtle);border-radius:999px;overflow:hidden}.bar>span,.bar>i{display:block;height:100%;background:var(--primary);border-radius:999px}.bar.green>span,.bar.green>i{background:var(--green)}.hbar{display:grid;grid-template-columns:minmax(120px,220px) 1fr 60px;gap:10px;align-items:center;font-size:13px;padding:3px 0}.list{display:flex;flex-direction:column;gap:6px}.list-item{padding:10px 12px;border:1px solid var(--border);border-radius:var(--r10);background:var(--surface);display:flex;gap:10px;align-items:flex-start}.list-item.clickable{cursor:pointer}.list-item.clickable:hover{background:var(--surface-2)}.timeline{display:flex;flex-direction:column;gap:0}.timeline-item{display:grid;grid-template-columns:18px 1fr;gap:10px;padding:4px 0}.timeline-item .tl-dot{width:12px;height:12px;border-radius:50%;margin-top:4px;border:2px solid var(--border-strong);background:var(--surface)}.timeline-item.done .tl-dot{background:var(--green);border-color:var(--green)}.timeline-item.in_progress .tl-dot{background:var(--primary);border-color:var(--primary)}.timeline-item.cancelled .tl-dot{background:var(--surface-3)}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--surface)}.toolbar .sep{width:1px;height:22px;background:var(--border);margin:0 4px}.page-full>.toolbar{min-height:52px;padding-right:68px}.toolbar .tb-main{display:flex;align-items:center;gap:8px;flex:1 1 500px;min-width:0;overflow:hidden}.toolbar .tb-main>*{flex:none}.toolbar .tb-main>.tb-name{flex:0 1 auto;min-width:48px}.toolbar .tb-main>.tb-date{flex:0 1 auto;min-width:0}.toolbar .tb-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none;max-width:100%;margin-left:auto}.main:has(.page-full>.toolbar)~.help-fab{top:8px}.filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-bottom:14px}.filters .field{min-width:140px}.filters input[type=search]{min-width:240px}.auth{min-height:100vh;display:flex;flex-direction:column;font-size:16px;line-height:26px}.auth-header{background:var(--surface);border-bottom:1px solid var(--border)}.auth-header-inner{max-width:1120px;margin:0 auto;padding:14px 32px;display:flex;align-items:center;gap:12px 28px}.auth-main{width:100%;max-width:760px;margin:0 auto;padding:48px 32px 72px;display:flex;flex-direction:column;gap:32px}.auth-head{display:flex;flex-direction:column;gap:8px}.auth-head h1{font-size:clamp(32px,3.4vw,44px);line-height:1.12;letter-spacing:-.02em;text-wrap:balance}.auth-head p{margin:0;max-width:40em}.auth-card{max-width:520px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r16);padding:24px 28px;display:flex;flex-direction:column;gap:16px}.auth-card .field-label>label{font-size:14px;line-height:20px}.auth-card input:not([type=checkbox]):not([type=radio]){min-height:48px;padding:0 14px;border-radius:var(--r12);font-size:16px;line-height:24px}.auth-card .field .hint{font-size:13px;line-height:18px}.auth-card .alert{font-size:15px;line-height:23px}.auth-foot{margin:0;font-size:14px;line-height:20px;color:var(--muted)}@media (max-width: 640px){.auth{line-height:25px}.auth-header-inner{padding:12px 20px}.auth-main{padding:32px 20px 48px;gap:24px}.auth-head h1{font-size:32px;line-height:37px}.auth-card{padding:20px}.auth .brand-mark{width:30px;height:30px}.auth .brand-word{font-size:22px;line-height:28px}.auth-card .btn.lg{width:100%}}iframe.preview{width:100%;min-height:480px;border:1px solid var(--border);border-radius:var(--r10);background:#fff}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}@media (max-width: 1100px){.split{grid-template-columns:1fr}}.sortable-row{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center}.subtle-box{border:1px solid var(--border);border-radius:var(--r10);padding:12px;background:var(--surface-2)}.cond-group{border-left:3px solid var(--border-strong);padding:6px 0 6px 10px;margin:4px 0;display:flex;flex-direction:column;gap:6px}.cond-group.and{border-left-color:var(--primary)}.cond-group.or{border-left-color:var(--yellow)}.cond-group.not{border-left-color:var(--orange)}.cond-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.cond-row select,.cond-row input{width:auto;min-height:30px;padding:3px 8px;font-size:13px}.cond-row .opnd{display:inline-flex;gap:4px;align-items:center}.cond-text{font-size:13px;padding:8px 10px;background:var(--surface-2);border-radius:var(--r8);border:1px solid var(--border)}.menu{background:var(--surface);border:1px solid var(--border);border-radius:var(--r12);box-shadow:var(--shadow-lg);padding:6px;display:flex;flex-direction:column;min-width:220px;z-index:30}.menu button,.menu a{display:flex;align-items:center;gap:10px;height:38px;padding:0 10px;border-radius:var(--r8);font:inherit;font-size:14px;color:var(--text-primary);text-align:left;background:none;border:0;cursor:pointer;text-decoration:none}.menu button:hover,.menu a:hover{background:var(--bg-page);text-decoration:none}.menu button:disabled{opacity:.45;cursor:default}.menu button.danger{color:var(--orange-text)}.menu .sep{height:1px;background:var(--border);margin:6px 4px}.menu .menu-title{padding:6px 10px 4px}.menu-anchor{position:relative}.menu-anchor>.menu{position:absolute;right:0;top:calc(100% + 4px)}.menu-anchor>.menu.left{right:auto;left:0}.avatar{width:28px;height:28px;border-radius:50%;background:#5b7f91;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex:none}.checklist{display:flex;flex-direction:column;gap:10px}.checklist .ci{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:20px}.checklist .ci>.ic{width:18px;height:18px;margin-top:1px}.checklist .ci.ok>.ic{color:var(--green)}.checklist .ci.bad>.ic{color:var(--orange)}.checklist .ci.warn>.ic{color:#c47d00}.checklist .ci .txt{flex:1 1 auto;min-width:0}.designer{flex:1;display:grid;grid-template-columns:minmax(0,1fr) var(--panel-w);min-height:0}.designer.no-panel{grid-template-columns:minmax(0,1fr)}.designer-canvas{position:relative;min-width:0;min-height:0;background:var(--bg)}.designer-panel{border-left:1px solid var(--border);background:var(--surface);overflow-y:auto;display:flex;flex-direction:column;min-height:0}.panel-head{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface);z-index:2}.panel-head h3{margin-right:auto}.panel-body{padding:14px 16px;display:flex;flex-direction:column;gap:14px}.panel-section{border-top:1px solid var(--border);padding-top:12px;display:flex;flex-direction:column;gap:8px}.panel-section>h4{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);display:flex;align-items:center;gap:8px}.panel-section>h4 .btn{margin-left:auto}.add-step{position:absolute;right:16px;bottom:16px;z-index:6}.add-step-fab{width:48px;height:48px;border-radius:999px;border:0;padding:0;background:var(--btn-bg);color:var(--on-btn);box-shadow:var(--shadow-lg);cursor:pointer;display:grid;place-items:center;transition:background .15s}.add-step-fab:hover{background:var(--btn-hover)}.add-step-fab:focus-visible{outline:3px solid var(--primary-soft);outline-offset:2px}.add-step-fab .ic{width:24px;height:24px;transition:transform .15s}.add-step.open .add-step-fab .ic{transform:rotate(45deg)}.add-step-tip{position:absolute;right:58px;bottom:11px;white-space:nowrap;font-size:12.5px;font-weight:500;line-height:18px;padding:4px 9px;border-radius:var(--r8);background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .12s}.add-step:not(.open) .add-step-fab:hover+.add-step-tip,.add-step:not(.open) .add-step-fab:focus-visible+.add-step-tip{opacity:1}.add-step-menu{position:absolute;right:0;bottom:58px;width:232px;max-height:calc(100vh - 220px);overflow-y:auto;display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r12);padding:6px;box-shadow:var(--shadow-lg);transition:opacity .12s}.add-step.dragging .add-step-menu{opacity:.25;pointer-events:none}.add-step-title{display:flex;align-items:center;gap:4px;font-size:11px;text-transform:uppercase;color:var(--muted);padding:2px 8px 4px;letter-spacing:.06em}.add-step-item{display:flex;align-items:center;gap:8px;font-size:13px;padding:6px 8px;border-radius:var(--r8);cursor:grab;border:1px solid transparent}.add-step-item:hover,.add-step-item:focus-visible{background:var(--surface-2);border-color:var(--border);outline:none}.add-step-item .sw{width:10px;height:10px;border-radius:3px;flex:none}.add-step-item .ico{width:16px;text-align:center;flex:none}.var-suggest{position:fixed;z-index:1400;width:min(380px,calc(100vw - 16px));display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--r12);box-shadow:var(--shadow-lg);font-size:13px;overflow:hidden}.var-list{max-height:264px;overflow-y:auto;padding:4px}.var-group{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:6px 8px 2px}.var-opt{display:flex;align-items:baseline;gap:10px;padding:5px 8px;border-radius:var(--r8);cursor:pointer;border:1px solid transparent}.var-opt.active{background:var(--surface-2);border-color:var(--border)}.var-label{color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.var-key{margin-left:auto;flex:none;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--text-muted)}.var-empty{padding:8px;color:var(--text-muted)}.var-foot{padding:5px 10px;border-top:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);font-size:11.5px}.var-foot kbd{font-size:10.5px}.ctx-menu{position:fixed;z-index:120;min-width:224px;max-width:300px;max-height:calc(100vh - 16px);overflow-y:auto;display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r12);padding:6px;box-shadow:var(--shadow-lg);font-size:13px}.ctx-head{display:flex;align-items:center;gap:8px;padding:4px 8px 8px;margin-bottom:4px;border-bottom:1px solid var(--border);min-width:0}.ctx-head .name{font-weight:600;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ctx-menu .sw{width:10px;height:10px;border-radius:3px;flex:none}.ctx-item{display:flex;align-items:center;gap:8px;width:100%;padding:6px 8px;border:1px solid transparent;border-radius:var(--r8);background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer}.ctx-item:hover,.ctx-item:focus-visible{background:var(--surface-2);border-color:var(--border);outline:none}.ctx-item .ic{width:16px;height:16px;flex:none;color:var(--text-muted)}.ctx-item .ico{width:16px;text-align:center;flex:none}.ctx-item .hint{margin-left:auto;padding-left:12px;display:inline-flex;align-items:center;color:var(--muted);font-size:11.5px;min-width:0;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ctx-item.danger,.ctx-item.danger .ic{color:var(--orange-text)}.ctx-back{font-weight:600}.ctx-sep{height:1px;background:var(--border);margin:4px 0;flex:none}.validation-box{position:absolute;right:80px;bottom:16px;z-index:5;width:min(460px,60%);max-height:40%;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--r12);box-shadow:var(--shadow-lg);font-size:13px}.validation-box .head{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface)}.validation-box ul{margin:6px 0;padding-left:22px}.validation-box li.err{color:var(--orange-text)}.validation-box li.warn{color:var(--yellow-text)}.lane-node{pointer-events:none;border-top:1px solid var(--lane-border);border-bottom:1px solid var(--lane-border);position:relative}.lane-node.odd{background:var(--lane-odd)}.lane-node.even{background:var(--lane-even)}.lane-node .lane-label{position:absolute;left:0;top:0;bottom:0;width:34px;border-right:1px solid var(--lane-border);display:flex;align-items:center;justify-content:center;background:var(--surface)}.lane-node .lane-label span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:12px;font-weight:600;color:var(--text-2);letter-spacing:.03em;white-space:nowrap}.flow-node{width:200px;background:var(--surface);border:1.5px solid var(--nt, var(--border-strong));border-radius:var(--r10);box-shadow:var(--shadow);font-size:12px;position:relative}.flow-node.selected{box-shadow:0 0 0 3px var(--primary-soft),var(--shadow-lg);border-color:var(--primary)}.flow-node .fn-head{display:flex;align-items:center;gap:6px;padding:4px 8px;background:var(--nt);color:#fff;border-radius:8px 8px 0 0;font-size:11px;font-weight:600;letter-spacing:.02em}.flow-node .fn-head .ico,.flow-node .fn-head .type{flex:none;white-space:nowrap}.flow-node .fn-head .code{margin-left:auto;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--mono);font-weight:500;opacity:.9;border:0;background:transparent;color:inherit;height:auto;padding:0}.flow-node .fn-body{padding:6px 8px}.flow-node .fn-name{font-weight:600;font-size:12.5px;line-height:1.3;color:var(--text);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.flow-node .fn-badges{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px}.flow-node .fn-badges .badge{font-size:10px;padding:0 5px;height:16px}.flow-node.decision{width:160px}.flow-node.decision .fn-body{text-align:center}.flow-node.start,.flow-node.end{width:150px}.flow-node.start .fn-body,.flow-node.end .fn-body{text-align:center}.react-flow__handle{width:10px;height:10px;background:var(--surface);border:2px solid var(--nt, var(--border-strong))}.react-flow__handle:hover{background:var(--primary)}.edge-label{box-sizing:border-box;height:18px;display:flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--border);border-radius:4px;padding:0 7px;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;pointer-events:all;cursor:pointer;color:var(--text-2);box-shadow:var(--shadow)}.edge-label .name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:500}.edge-label.is-cond .name{font-weight:400;color:var(--muted)}.edge-label .cond{display:none;color:var(--muted)}.edge-label:hover,.edge-label.selected{width:max-content!important;max-width:420px;z-index:20}.edge-label:hover .cond,.edge-label.selected .cond{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.edge-label:hover{border-color:var(--border-strong)}.edge-label.selected{border-color:var(--primary);color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.edge-label.default{border-style:dashed}.react-flow__attribution{background:transparent;font-size:9px}.react-flow__minimap{background:var(--surface)!important;border:1px solid var(--border);border-radius:var(--r8)}.react-flow__controls{box-shadow:var(--shadow)!important}.react-flow__controls button{background:var(--surface)!important;border-bottom:1px solid var(--border)!important;fill:var(--text)}.react-flow__controls button:hover{background:var(--surface-2)!important}.react-flow__edge-path{stroke:var(--border-strong);stroke-width:1.6}.react-flow__edge:hover .react-flow__edge-path,.react-flow__edge-path.hover{stroke:var(--text-2);stroke-width:2.2}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path{stroke:var(--primary);stroke-width:2.2}.react-flow__edge.default-edge .react-flow__edge-path{stroke-dasharray:6 4}.react-flow__connectionline path{stroke:var(--primary);stroke-width:2}.react-flow__background{background:var(--bg)}.step-card{border:1px solid var(--border);border-radius:var(--r12);background:var(--surface);margin-bottom:12px}.step-card .step-head{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--surface-2);border-bottom:1px solid var(--border);border-radius:var(--r12) var(--r12) 0 0;cursor:pointer}.step-card .step-head h3{margin-right:auto}.step-card .step-body{padding:12px}.fb-page{flex:1;display:flex;flex-direction:column;min-height:100vh}.fb-page.fb-fixed{flex:none;height:100vh;min-height:0}.fb-page.fb-fixed>:not(.fb-editor){flex:none}.fb-head{background:var(--surface);border-bottom:1px solid var(--border);padding:16px 28px 0;display:flex;flex-direction:column;gap:12px}.fb-head .fb-title-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.fb-head .fb-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.fb-head .fb-title h1{font-family:var(--font-head);font-size:26px;line-height:33px}.fb-head .fb-title input.fb-name{font-family:var(--font-head);font-weight:600;font-size:26px;line-height:33px;color:var(--text-primary);border:1px solid var(--blue);border-radius:var(--r8);padding:2px 10px;min-height:40px;width:min(480px,60vw);background:var(--surface)}.fb-head .tabs{margin:4px 0 0;border-bottom:0}.fb-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-left:auto}.fb-saved{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:18px;color:var(--green-text);white-space:nowrap}.fb-saved.busy{color:var(--text-muted)}.fb-saved.off{color:var(--orange-text)}.fb-saved.pink{color:var(--magenta-text)}.fb-saved .ic{width:16px;height:16px}.fb-presence{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}.fb-presence .avatar{width:24px;height:24px;font-size:10px;background:#8a6fc8}.fb-editor{display:flex;align-items:stretch;flex:1 1 auto;min-height:0}.fb-outline{flex:0 0 288px;min-width:250px;border-right:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;overflow-y:auto}.fb-center{flex:1 1 520px;min-width:0;padding:24px 28px 48px;display:flex;flex-direction:column;gap:20px;overflow-y:auto}.fb-props{flex:0 0 368px;min-width:300px;border-left:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;overflow-y:auto}.fb-props-head{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--border)}.fb-props-head .titles{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.fb-props-body{display:flex;flex-direction:column;gap:20px;padding:20px}.fb-section{display:flex;flex-direction:column;gap:12px}.fb-section>.eyebrow{display:flex;align-items:center;gap:6px}.fb-section details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px}.fb-section details>summary::-webkit-details-marker{display:none}.fb-section details>summary .ic{transition:transform .15s}.fb-section details[open]>summary .ic.chev{transform:rotate(90deg)}.fb-tech{margin:8px 0 0;display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:12px;line-height:16px}.fb-tech dt{color:var(--muted)}.fb-tech dd{margin:0;font-family:var(--mono);color:var(--text-body);word-break:break-all}.fb-outline-head{display:flex;align-items:center;gap:8px;padding:16px 16px 8px}.fb-outline-list{display:flex;flex-direction:column;gap:2px;padding:0 8px}.fb-step-row{display:flex;align-items:center;gap:8px;padding:10px 12px 10px 16px;font-weight:600;font-size:14px;line-height:20px;color:var(--text-primary);border-radius:var(--r10);cursor:pointer;border:0;background:none;width:100%;text-align:left}.fb-step-row:hover{background:var(--surface-2)}.fb-step-row .n{width:22px;height:22px;border-radius:999px;background:var(--bg-subtle);color:var(--text-body);font-size:12px;display:inline-flex;align-items:center;justify-content:center;flex:none}.fb-step-row .txt{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-step-row.on{background:var(--blue-bg)}.fb-step-row.on .n{background:var(--btn-bg);color:var(--on-btn)}.fb-step-row.err .txt{color:var(--orange-text)}.fb-step-row .cnt{font-size:13px;color:var(--text-muted);font-weight:400}.fb-q-row{display:flex;align-items:center;gap:8px;padding:7px 12px 7px 24px;font-size:13px;line-height:18px;color:var(--text-body);border-radius:var(--r8);cursor:pointer;border:0;background:none;width:100%;text-align:left}.fb-q-row:hover{background:var(--surface-2)}.fb-q-row .grip{color:#b4c1c8;width:14px;height:14px;stroke-width:3;flex:none}.fb-q-row .txt{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fb-q-row .txt.i{font-style:italic;color:var(--text-muted)}.fb-q-row.on{background:var(--bg-subtle);color:var(--text-primary);font-weight:600}.fb-q-row .marks{display:inline-flex;gap:4px;align-items:center;color:var(--text-muted)}.fb-q-row .marks .ic{width:14px;height:14px}.fb-q-row.err .txt{color:var(--orange-text)}.fb-req{color:var(--orange);font-weight:700}.fb-dot{width:8px;height:8px;border-radius:999px;background:var(--blue);display:inline-block;flex:none}.fb-dot.green{background:var(--green)}.fb-dot.orange{background:var(--orange)}.fb-drop-target{outline:2px dashed var(--blue);outline-offset:-2px;border-radius:var(--r8)}.fb-dragging{opacity:.45}.fb-outline-foot{padding:12px 16px;display:flex;flex-direction:column;gap:6px}.fb-legend{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}.fb-pill-add{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 10px;border-radius:var(--rfull);border:1px dashed var(--border-strong);color:var(--text-link);font-weight:600;font-size:13px;background:var(--surface);cursor:pointer;white-space:nowrap}.fb-pill-add:hover{background:var(--blue-bg);border-color:var(--blue)}.fb-pill-add .ic{width:16px;height:16px}.fb-add-between{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:13px;min-height:32px;opacity:0;transition:opacity .12s}.fb-add-between:hover,.fb-add-between:focus-within{opacity:1}.fb-add-between:before,.fb-add-between:after{content:"";flex:1 1 auto;height:1px;background:var(--border)}.fb-add-big{border:1.5px dashed var(--border-strong);background:transparent;border-radius:var(--r12);min-height:64px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--text-link);font-weight:600;font-size:15px;cursor:pointer;width:100%}.fb-add-big:hover{background:var(--blue-bg);border-color:var(--blue)}.fb-stepcard{background:var(--surface);border:1px solid var(--border);border-radius:var(--r16);padding:20px 24px;display:flex;flex-direction:column;gap:12px}.fb-stepcard .fb-step-title{font-family:var(--font-head);font-weight:600;font-size:26px;line-height:33px;color:var(--text-primary);border:1px solid transparent;border-radius:var(--r8);padding:6px 10px;margin:0 -10px;min-height:48px;width:calc(100% + 20px);background:transparent}.fb-stepcard .fb-step-title:hover{border-color:var(--border)}.fb-stepcard .fb-step-title:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-bg);background:var(--surface)}.fb-stepcard .fb-step-title.empty::placeholder{color:var(--text-muted);font-weight:500}.fb-stepcard .fb-step-desc{font-size:15px;line-height:22px;color:var(--text-body);border:1px solid transparent;border-radius:var(--r8);padding:8px 10px;margin:0 -10px;width:calc(100% + 20px);min-height:40px;resize:none;background:transparent}.fb-stepcard .fb-step-desc:hover{border-color:var(--border)}.fb-stepcard .fb-step-desc:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-bg);background:var(--surface)}.fb-stepcard.err{border:2px solid var(--orange)}.fb-qcard{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--r12);padding:18px 20px 18px 44px;display:flex;flex-direction:column;gap:10px;cursor:pointer}.fb-qcard:hover{border-color:var(--border-strong)}.fb-qcard.on{border:2px solid var(--blue);padding:17px 19px 17px 43px;box-shadow:0 0 0 4px var(--blue-bg)}.fb-qcard.err{border:2px solid var(--orange);padding:17px 19px 17px 43px}.fb-qcard.on.err{box-shadow:0 0 0 4px var(--orange-bg)}.fb-qcard.hidden-variant{background:var(--bg-page);border-style:dashed}.fb-qcard .grip{position:absolute;left:12px;top:18px;color:#b4c1c8;width:16px;height:16px;stroke-width:3;cursor:grab}.fb-qcard .qhead{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.fb-qcard .qhead .q{flex:1 1 auto;min-width:0}.fb-qcard .qhead .q.empty{color:var(--text-muted);font-style:italic;font-weight:500}.fb-qcard .qmeta{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.fb-qcard .qtools{position:absolute;right:10px;top:10px;display:flex;gap:2px;opacity:0;transition:opacity .12s}.fb-qcard:hover .qtools,.fb-qcard.on .qtools,.fb-qcard:focus-within .qtools{opacity:1}.fb-qcard .qtools+*{margin-right:60px}.fb-qcard .qtools .btn.icon{width:30px;height:30px;color:var(--text-muted)}.fb-qcard .qhelp{font-size:13px;line-height:18px;color:var(--text-muted)}.fb-qcard .qhelp.over{color:var(--text-link)}.fb-qcard .qerr{font-size:13px;line-height:18px;color:var(--orange-text);display:flex;gap:6px;align-items:flex-start}.fb-qcard .qerr .ic{width:16px;height:16px;color:var(--orange);margin-top:1px}.fb-input{display:flex;align-items:center;gap:8px;min-height:48px;padding:12px 16px;border:1px solid var(--control);border-radius:var(--r12);background:var(--surface);font-size:15px;line-height:22px;color:var(--text-primary);width:100%;pointer-events:none}.fb-input.ph{color:var(--text-muted)}.fb-input.pre{background:var(--bg-page)}.fb-input.area{min-height:96px;align-items:flex-start}.fb-input.sel{justify-content:space-between}.fb-input.sel .ic{color:var(--text-muted)}.fb-input.short{max-width:240px}.fb-input.err{border:2px solid var(--orange);padding:11px 15px}.fb-chips{display:flex;flex-wrap:wrap;gap:8px;pointer-events:none}.fb-chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-weight:600;font-size:14px;line-height:20px;color:var(--text-primary)}.fb-chip.on{background:var(--blue-bg);border-color:var(--blue);color:var(--text-link)}.fb-chip.escape{border-style:dashed;color:var(--text-muted)}.fb-chip.sm{height:30px;padding:0 10px;font-size:13px}.fb-chip.only{background:var(--blue-bg);border-color:var(--blue)}.fb-ccards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;pointer-events:none}.fb-ccard{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--border);border-radius:var(--r12);background:var(--surface);min-width:0;text-align:left}.fb-ccard .t{font-weight:600;font-size:14px;line-height:20px;color:var(--text-primary)}.fb-ccard .d{font-size:13px;line-height:18px;color:var(--text-muted)}.fb-ccard.on{border:2px solid var(--blue);background:var(--blue-bg);padding:11px 13px}.fb-ccard.escape{border-style:dashed}.fb-ccard.clickable{cursor:pointer;pointer-events:auto}.fb-ccard.clickable:hover{border-color:var(--blue)}.fb-radio{width:18px;height:18px;border-radius:999px;border:2px solid var(--control);flex:none;margin-top:2px;background:var(--surface)}.fb-radio.on{border:5px solid var(--blue)}.fb-cbox{width:18px;height:18px;border-radius:5px;border:2px solid var(--control);flex:none;background:var(--surface);display:inline-flex;align-items:center;justify-content:center;color:#fff}.fb-cbox.on{background:var(--blue);border-color:var(--blue)}.fb-cbox .ic{width:12px;height:12px;stroke-width:3}.fb-scale{display:flex;gap:4px;pointer-events:none;flex-wrap:wrap}.fb-scale span{min-width:40px;height:40px;border:1.5px solid var(--border-strong);border-radius:var(--r8);display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:14px}.fb-stars{display:inline-flex;gap:2px;font-size:28px;line-height:1;color:var(--border-strong);pointer-events:none}.fb-stepper{display:flex;align-items:center;gap:8px;pointer-events:none}.fb-stepper .fb-input{width:100px;justify-content:center}.fb-stepper .k{width:44px;height:44px;border:1px solid var(--border);border-radius:var(--r8);display:inline-flex;align-items:center;justify-content:center;color:var(--text-body)}.fb-drop{border:2px dashed var(--border-strong);border-radius:var(--r12);padding:22px 16px;text-align:center;background:var(--bg-page);color:var(--text-body);font-weight:500;pointer-events:none}.fb-known{border:1px solid var(--border);border-left:4px solid var(--green);border-radius:var(--r12);background:var(--surface);padding:14px 16px;display:flex;flex-direction:column;gap:8px;pointer-events:none}.fb-known .kh{display:flex;align-items:center;justify-content:space-between;gap:8px}.fb-known .kl{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:4px 16px;font-size:13px;line-height:18px;margin:0}.fb-known .kl dt{color:var(--text-muted)}.fb-known .kl dd{margin:0;color:var(--text-primary);font-weight:500}.fb-callout{border-radius:var(--r12);padding:14px 16px;border:1px solid var(--blue-border);background:var(--blue-bg);font-size:15px;line-height:22px;display:flex;flex-direction:column;gap:6px;pointer-events:none}.fb-callout.sample{background:var(--yellow-bg);border:1px dashed #e9b65a;color:var(--text-body)}.fb-callout .t{font-weight:600;color:var(--text-primary)}.fb-note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--r10);border:1px solid;font-size:14px;line-height:20px;color:var(--text-body)}.fb-note>.ic{width:18px;height:18px;margin-top:1px}.fb-note.info{background:var(--blue-bg);border-color:var(--blue-border)}.fb-note.info>.ic{color:var(--blue)}.fb-note.ok{background:var(--green-bg);border-color:var(--green-border)}.fb-note.ok>.ic{color:var(--green)}.fb-note.warn{background:var(--yellow-bg);border-color:var(--yellow-border)}.fb-note.warn>.ic{color:#c47d00}.fb-note.err{background:var(--orange-bg);border-color:var(--orange-border)}.fb-note.err>.ic{color:var(--orange)}.fb-note.sm{padding:8px 12px;font-size:13px;line-height:18px;align-items:center}.fb-note.sm>.ic{width:16px;height:16px;margin-top:0}.fb-note .t{font-weight:600;color:var(--text-primary)}.fb-note .txt{flex:1 1 auto;min-width:0}.fb-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.fb-field{display:flex;flex-direction:column;gap:6px;min-width:0}.fb-field>label{display:flex;align-items:center;gap:4px;font-weight:600;font-size:13px;line-height:18px;color:var(--text-primary)}.fb-field>label .req{color:var(--orange)}.fb-field>label .optm{font-weight:400;color:var(--text-muted);font-size:12.5px}.fb-field input,.fb-field select,.fb-field textarea{min-height:40px;padding:8px 12px;border-radius:var(--r8);font-size:14px;line-height:20px}.fb-field textarea{min-height:64px}.fb-field .err{font-size:13px;line-height:18px;color:var(--orange-text);display:flex;gap:6px;align-items:flex-start}.fb-field .err .ic{width:16px;height:16px;color:var(--orange);margin-top:1px}.fb-field input.invalid,.fb-field textarea.invalid,.fb-field select.invalid{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}.fb-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fb-inline input{width:110px}.fb-rule{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--r12);background:var(--bg-page)}.fb-rule.hl{border:2px solid var(--blue);background:var(--blue-bg)}.fb-opts{display:flex;flex-direction:column;gap:6px}.fb-opt-row{display:flex;align-items:center;gap:6px}.fb-opt-row .grip{color:#b4c1c8;width:14px;height:14px;stroke-width:3;cursor:grab;flex:none}.fb-opt-row input{min-height:36px;padding:6px 10px}.fb-opt-row .btn.icon{width:30px;height:30px;flex:none;color:var(--text-muted)}.fb-opt-row.base{opacity:.8}.fb-vtabs{display:flex;gap:6px;flex-wrap:wrap}.fb-vtab{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-weight:600;font-size:13px;color:var(--text-body);cursor:pointer;white-space:nowrap}.fb-vtab:hover{border-color:var(--border-strong)}.fb-vtab.on{background:var(--bg-inverse);border-color:var(--bg-inverse);color:#fff}.fb-vtab .cnt{height:18px;min-width:18px;padding:0 5px;border-radius:999px;background:var(--blue-bg);color:var(--text-link);font-size:11px;display:inline-flex;align-items:center;justify-content:center}.fb-vtab.on .cnt{background:#ffffff2e;color:#fff}.fb-subbar{background:var(--surface);border-bottom:1px solid var(--border);padding:14px 28px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.fb-diff{display:grid;grid-template-columns:1fr;gap:10px}.fb-diff.two{grid-template-columns:1fr 1fr}.fb-diff .side{padding:12px 14px;border-radius:var(--r10);border:1px solid var(--border);font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:6px}.fb-diff .side.base{background:var(--bg-page);color:var(--text-muted)}.fb-diff .side.over{background:var(--surface)}.fb-diff .side.chosen{border:2px solid var(--blue)}.fb-palette{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:420px}.fb-palette-nav{border-right:1px solid var(--border);padding:12px 8px;display:flex;flex-direction:column;gap:2px}.fb-palette-nav button{display:flex;align-items:center;justify-content:space-between;gap:8px;height:36px;padding:0 12px;border-radius:var(--r8);font:inherit;font-size:13px;font-weight:500;color:var(--text-body);border:0;background:none;cursor:pointer;text-align:left}.fb-palette-nav button:hover{background:var(--surface-2)}.fb-palette-nav button.on{background:var(--blue-bg);color:var(--text-link);font-weight:600}.fb-palette-nav .cnt{font-size:11px;color:var(--text-muted);font-weight:500}.fb-palette-main{padding:16px 20px;display:flex;flex-direction:column;gap:16px;max-height:60vh;overflow-y:auto}.fb-pal-group{display:flex;flex-direction:column;gap:8px}.fb-pal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.fb-pal-item{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r10);background:var(--surface);text-align:left;min-height:72px;cursor:pointer;font:inherit}.fb-pal-item:hover{border-color:var(--blue)}.fb-pal-item .ic{color:var(--text-link)}.fb-pal-item .l{font-weight:600;font-size:13px;line-height:17px;color:var(--text-primary)}.fb-pal-item .d{font-size:12px;line-height:16px;color:var(--text-muted)}.fb-pal-item.on{border:2px solid var(--blue);background:var(--blue-bg);padding:9px 11px}.fb-pal-foot{display:flex;align-items:center;gap:12px;padding:14px 20px;border-top:1px solid var(--border);background:var(--bg-page);flex-wrap:wrap}.fb-sentence{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;line-height:22px;color:var(--text-body)}.fb-token{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:var(--r8);border:1px solid var(--border);background:var(--surface);font:inherit;font-weight:600;font-size:14px;color:var(--text-primary);white-space:nowrap;cursor:pointer;max-width:360px}.fb-token .lbl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-token:hover{border-color:var(--blue)}.fb-token .ic{width:14px;height:14px;color:var(--text-muted)}.fb-token.q{background:var(--blue-bg);border-color:var(--blue-border);color:var(--text-link)}.fb-token.q .ic.lead{color:var(--blue)}.fb-token.op{background:var(--bg-subtle)}.fb-token.empty{border-style:dashed;color:var(--text-muted);font-weight:500}.fb-token.bad{border:2px solid var(--orange);color:var(--orange-text)}.fb-token input{border:0;outline:0;background:transparent;min-height:0;padding:0;width:140px;font-weight:600;font-size:14px}.fb-token select{border:0;outline:0;background:transparent;min-height:0;padding:0 4px;width:auto;font-weight:600;font-size:14px;color:inherit}.fb-picker{position:absolute;left:0;top:calc(100% + 6px);width:min(440px,90vw);z-index:40;max-height:360px;overflow-y:auto}.fb-picker .search{padding:6px 10px 8px}.fb-picker .search label{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:var(--r8);padding:0 10px;min-height:36px}.fb-picker .search input{border:0;outline:0;min-height:0;padding:4px 0;flex:1 1 auto;background:transparent}.fb-picker button.on{background:var(--blue-bg);color:var(--text-link)}.fb-picker button .tag{flex:none}.fb-picker button .ic.check{margin-left:auto;color:var(--blue)}.fb-tester{padding:14px 16px;display:flex;flex-direction:column;gap:10px;background:var(--bg-page);border:1px solid var(--border);border-radius:var(--r12)}.fb-tester .row1{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.fb-tester .chips{display:flex;flex-wrap:wrap;gap:6px}.fb-tester .chips button{height:30px;padding:0 10px;font-size:13px}.fb-list-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.fb-list-filters .search{display:flex;align-items:center;gap:8px;border:1px solid var(--control);border-radius:var(--rfull);padding:0 14px;height:40px;background:var(--surface);min-width:280px}.fb-list-filters .search input{border:0;outline:0;min-height:0;padding:0;background:transparent;flex:1 1 auto}.fb-list-filters .search:focus-within,.fb-picker .search label:focus-within,.fb-token:focus-within{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}.fb-list-filters .search .ic{color:var(--text-muted)}.fb-filter-chips{display:flex;gap:6px;flex-wrap:wrap}.fb-filter-chips button{height:32px;padding:0 12px;border-radius:var(--rfull);border:1px solid var(--border);background:var(--surface);font:inherit;font-size:13px;font-weight:600;color:var(--text-body);cursor:pointer;display:inline-flex;align-items:center;gap:6px}.fb-filter-chips button:hover{border-color:var(--border-strong)}.fb-filter-chips button.on{background:var(--bg-inverse);border-color:var(--bg-inverse);color:#fff}.fb-filter-chips .cnt{font-size:11px;font-weight:600;opacity:.7}.fb-list-name{display:flex;flex-direction:column;gap:4px;min-width:0}.fb-list-name .t{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fb-list-name .d{font-size:13px;line-height:18px;color:var(--text-muted);max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-list-struct{display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:18px}.fb-list-fill{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:18px;min-width:140px}.fb-list-fill .bar{width:120px;height:6px}.fb-list-actions{display:flex;align-items:center;gap:4px;justify-content:flex-end}.fb-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:56px 24px}.fb-empty .glyph{width:64px;height:64px;border-radius:20px;background:var(--bg-subtle);color:var(--text-link);display:flex;align-items:center;justify-content:center}.fb-empty .glyph .ic{width:30px;height:30px}.fb-empty .actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.fb-tips{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}.fb-tip{padding:12px 14px;border:1px solid var(--border);border-radius:var(--r12);background:var(--surface);display:flex;flex-direction:column;gap:4px;text-align:left;font:inherit;cursor:pointer}.fb-tip:hover{border-color:var(--blue)}.fb-tip .t{font-weight:600;font-size:13px;color:var(--text-primary);display:flex;align-items:center;gap:6px}.fb-tip .t .ic{width:16px;height:16px;color:var(--text-link)}.fb-tip .d{font-size:12.5px;line-height:17px;color:var(--text-muted)}.fb-preview{flex:1 1 auto;display:flex;min-height:0}.fb-preview-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;min-height:0}.fb-preview-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 24px;background:var(--surface);border-bottom:1px solid var(--border)}.fb-preview-stage{flex:1 1 auto;min-height:0;background:var(--bg-subtle);display:flex;justify-content:center;align-items:flex-start;padding:24px;overflow:auto}.fb-preview-stage iframe{border:0;background:#fff;box-shadow:var(--shadow-lg);border-radius:var(--r12);width:100%;min-height:720px;height:calc(100vh - 230px)}.fb-preview-stage.mobile iframe{width:390px;height:844px;border-radius:36px;border:10px solid #1d2a30;min-height:0}.fb-preview-side{flex:0 0 360px;border-left:1px solid var(--border);background:var(--surface);padding:20px;display:flex;flex-direction:column;gap:16px;overflow-y:auto}.fb-link-box{display:flex;gap:6px;align-items:center}.fb-link-box input{font-family:var(--mono);font-size:12px}.fb-pub-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fb-pub-stat{padding:12px 14px;border:1px solid var(--border);border-radius:var(--r12);background:var(--surface);display:flex;flex-direction:column;gap:4px}.fb-pub-stat .n{font-family:var(--font-head);font-weight:600;font-size:20px;line-height:26px}.fb-pub-stat .n.green{color:var(--green-text)}.fb-pub-stat .n.blue{color:var(--text-link)}.fb-pub-stat .n.orange{color:var(--orange-text)}.fb-versions{display:flex;flex-direction:column;gap:10px}.fb-version{padding:14px 16px;border:1px solid var(--border);border-radius:var(--r12);display:flex;flex-direction:column;gap:6px}.fb-version.live{border-color:var(--green);background:var(--green-bg)}.fb-version .vh{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fb-version .vh .v{font-weight:600;color:var(--text-primary)}.fb-version .va{display:flex;gap:12px;flex-wrap:wrap}.fb-pages{display:grid;grid-template-columns:minmax(360px,480px) minmax(0,1fr);gap:24px;padding:24px 28px 48px;align-items:start}.fb-pages .fb-pages-form{display:flex;flex-direction:column;gap:16px}.fb-pages .fb-pages-preview{position:sticky;top:16px;display:flex;flex-direction:column;gap:10px}.fb-pages .fb-pages-preview iframe{width:100%;height:calc(100vh - 220px);min-height:640px;border:1px solid var(--border);border-radius:var(--r12);background:#fff}.fb-bullets{display:flex;flex-direction:column;gap:6px}.fb-bullets .fb-opt-row input{flex:1 1 auto}.fb-settings{padding:24px 28px 48px;display:grid;grid-template-columns:minmax(0,640px);gap:20px}.fb-readonly-banner{display:flex;align-items:center;gap:10px;padding:10px 28px;background:var(--yellow-bg);border-bottom:1px solid var(--yellow-border);font-size:14px}@media (max-width: 1200px){.shell{grid-template-columns:var(--sidebar-w-collapsed) minmax(0,1fr)}.shell .sidebar-title,.shell .nav-label,.shell .nav-group,.shell .sidebar-user-name{display:none}.shell .nav-item{justify-content:center;padding:9px 0}.shell .sidebar-head{justify-content:center;padding-left:8px;padding-right:8px}.shell .sidebar-toggle{margin-left:0}.shell .sidebar-logo{display:none}.shell.expanded{grid-template-columns:var(--sidebar-w) minmax(0,1fr)}.shell.expanded .sidebar-title,.shell.expanded .nav-label,.shell.expanded .nav-group,.shell.expanded .sidebar-user-name{display:block}.shell.expanded .nav-item{justify-content:flex-start;padding:9px 10px}.shell.expanded .sidebar-head{justify-content:flex-start;padding-left:16px}.shell.expanded .sidebar-toggle{margin-left:auto}.shell.expanded .sidebar-logo{display:grid}:root{--panel-w: 320px}.page{padding:16px}.fb-outline{flex-basis:240px;min-width:220px}.fb-props{flex-basis:320px;min-width:280px}.fb-center{padding:20px}.fb-head{padding:12px 20px 0}.fb-pages{grid-template-columns:1fr}.fb-pages .fb-pages-preview{position:static}.fb-preview-side{flex-basis:300px}}@media (max-width: 900px){.fb-page.fb-fixed{flex:1;height:auto;min-height:100vh}.fb-editor{flex-wrap:wrap}.fb-outline{flex:1 1 100%;border-right:0;border-bottom:1px solid var(--border);max-height:40vh}.fb-props{flex:1 1 100%;border-left:0;border-top:1px solid var(--border)}.fb-palette{grid-template-columns:1fr}.fb-palette-nav{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--border)}.fb-preview{flex-wrap:wrap}.fb-preview-side{flex:1 1 100%;border-left:0;border-top:1px solid var(--border)}.fb-pub-stats{grid-template-columns:1fr}}@media (max-width: 800px){.designer{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 40vh}.designer-panel{border-left:none;border-top:1px solid var(--border)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.field-label{display:flex;align-items:center;gap:6px;min-width:0}.field-label>label{font-size:13px;line-height:18px;font-weight:600;color:var(--text-primary)}.field.inline .field-label>label{font-weight:500}.check-wrap{display:inline-flex;align-items:center;gap:6px}.labeled{display:inline-flex;flex-direction:column;gap:4px;min-width:0}.labeled-text{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:16px;font-weight:600;color:var(--muted)}.help-tip{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:help;flex:none;vertical-align:middle}.help-tip svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.help-tip:hover,.help-tip:focus-visible,.help-tip.pinned{color:var(--text-link);outline:none}.help-tip.pinned svg circle:first-child{fill:var(--blue-bg)}.help-pop{position:fixed;z-index:1200;background:var(--bg-inverse);color:#fff;border-radius:var(--r10);padding:10px 12px;font-size:13px;line-height:18px;box-shadow:var(--shadow-lg);pointer-events:auto}.help-pop-title{font-weight:600;margin-bottom:3px;color:#fff}.help-pop-body{color:#e4ecf1}.help-pop-body code,.help-pop-body kbd{background:#ffffff24;color:#fff;padding:0 4px;border-radius:4px;font-size:12px}.help-pop-body p{margin:0 0 6px}.help-pop-body p:last-child{margin:0}.help-pop-body ul{margin:4px 0 0;padding-left:16px}:root[data-theme=dark] .help-pop{background:#2a3a44}.help-fab{position:fixed;right:20px;top:16px;z-index:900;width:36px;height:36px;border-radius:50%;background:var(--surface);border:1px solid var(--border);color:var(--text-body);box-shadow:var(--shadow);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.help-fab:hover{color:var(--text-link);border-color:var(--blue)}.help-fab .ic{width:18px;height:18px}.help-fab.open{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--on-btn)}.help-panel{position:fixed;top:0;right:0;height:100vh;width:min(400px,100vw);z-index:1000;background:var(--surface);border-left:1px solid var(--border);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;outline:none}.help-panel-head{display:flex;align-items:center;gap:10px;padding:14px 16px 10px 20px;border-bottom:1px solid var(--border)}.help-panel-head h2{font-size:17px;line-height:22px}.help-panel-head>.ic{color:var(--text-link)}.help-panel-search{padding:10px 20px;border-bottom:1px solid var(--border)}.help-panel-body{flex:1;overflow-y:auto;padding:16px 20px 32px;display:flex;flex-direction:column;gap:18px}.help-panel-body section{display:flex;flex-direction:column;gap:6px}.help-panel-body h3{font-size:13px;line-height:18px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.help-text{font-size:14px;line-height:21px;color:var(--text-body)}.help-text p{margin:0 0 8px}.help-text ul,.help-text ol{margin:4px 0 8px;padding-left:18px}.help-text li{margin-bottom:3px}.help-text kbd,.help-keys kbd{display:inline-block;min-width:20px;padding:0 5px;border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:5px;background:var(--surface-2);font-family:var(--mono);font-size:11.5px;line-height:18px;text-align:center}.help-gloss{margin:0;display:flex;flex-direction:column;gap:8px}.help-gloss dt{font-weight:600;color:var(--text-primary);font-size:14px}.help-gloss dd{margin:2px 0 0;font-size:13px;line-height:18px;color:var(--text-body)}.help-links,.help-keys{margin:0;padding-left:18px;font-size:14px;line-height:22px}.help-panel details summary{cursor:pointer;font-weight:600;color:var(--text-primary)}@media (max-width: 1200px){.help-fab{top:10px;right:12px}}.tour-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300}.tour-shade{position:fixed;background:#0a12188c}.tour-hole{position:fixed;border-radius:var(--r10);box-shadow:0 0 0 2px var(--blue),0 0 0 6px #0674b740;pointer-events:none}.tour-card{position:fixed;background:var(--surface);color:var(--text-body);border-radius:var(--r12);box-shadow:var(--shadow-lg);padding:14px 16px 12px;display:flex;flex-direction:column;gap:8px;outline:none;border:1px solid var(--border)}.tour-card-head{display:flex;align-items:center;gap:8px}.tour-card-head .eyebrow{flex:1}.tour-card h3{font-size:16px;line-height:21px}.tour-card-body{font-size:14px;line-height:20px}.tour-card-body kbd{display:inline-block;padding:0 5px;border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:5px;background:var(--surface-2);font-family:var(--mono);font-size:11.5px}.tour-card-foot{display:flex;align-items:center;gap:8px;margin-top:4px}.staff-page{background:var(--bg-page)}.staff-head{padding:14px 32px 12px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:6px;flex:none}.staff-head h1{font-size:20px;line-height:26px}.staff-frame{flex:1 1 auto;min-height:0;width:100%;border:0;display:block;background:var(--bg-page)}@media (max-width: 1200px){.staff-head{padding:12px 16px 10px}}.staff-page{display:flex;flex-direction:column;height:100vh;min-height:0}.staff-head{padding:16px 32px 12px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--border);background:var(--surface)}.staff-head .breadcrumb{margin-bottom:0}.staff-head-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.staff-head-row h1{display:flex;align-items:center;gap:10px;font-size:22px;line-height:28px}.staff-meta{font-size:14px}.staff-head .alert{margin:0}.staff-frame{flex:1 1 auto;width:100%;border:0;background:var(--bg-page);min-height:420px}@media (max-width: 900px){.staff-head{padding:12px 16px}}.mfa-steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:14px}.mfa-steps>li{padding-left:4px}.mfa-steps>li>.field{margin-top:8px;max-width:260px}.mfa-qr-row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;margin-top:10px}.mfa-qr{flex:none;border-radius:var(--r8);border:1px solid var(--border);max-width:100%;height:auto}.mfa-key{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1 1 200px}.mfa-key code{font-size:15px;line-height:22px;letter-spacing:.04em;overflow-wrap:anywhere;background:var(--bg-subtle);color:var(--text-primary);border-radius:var(--r6);padding:6px 10px}.mfa-code-input{font-size:22px!important;letter-spacing:.3em;text-align:center;max-width:220px}.mfa-codes{list-style:none;margin:0;padding:12px 16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px 18px;background:var(--bg-subtle);border-radius:var(--r8);color:var(--text-primary);font-size:15px;line-height:24px}.mfa-policy .switch-row{align-items:flex-start}.mfa-policy .switch-row .switch{margin-top:2px}
