.app-toast-stack{position:fixed;z-index:2000;right:24px;bottom:24px;display:flex;width:min(410px,calc(100vw - 32px));max-height:calc(100dvh - 48px);flex-direction:column;gap:10px;overflow-y:auto;padding:4px;pointer-events:none;scrollbar-width:thin}.app-toast{--toast-accent: #667085;--toast-soft: #f2f4f7;--toast-ink: #344054;position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) 28px;gap:11px;overflow:hidden;flex:0 0 auto;border:1px solid color-mix(in srgb,var(--toast-accent) 42%,white);border-left:4px solid var(--toast-accent);border-radius:14px;padding:14px 12px 16px;background:#fffffff7;box-shadow:0 18px 48px #0f172a29,0 3px 10px #0f172a14;color:#101828;pointer-events:auto;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:app-toast-enter .28s cubic-bezier(.2,.85,.32,1.12)}.app-toast-success{--toast-accent: #12b76a;--toast-soft: #ecfdf3;--toast-ink: #067647}.app-toast-warning{--toast-accent: #f79009;--toast-soft: #fffaeb;--toast-ink: #b54708}.app-toast-error{--toast-accent: #f04438;--toast-soft: #fef3f2;--toast-ink: #b42318}.app-toast-closing{animation:app-toast-exit .22s ease-in forwards}.app-toast-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--toast-soft);color:var(--toast-ink);font-size:18px;font-weight:850}.app-toast-body{min-width:0}.app-toast-meta{display:flex;align-items:center;gap:7px;margin-bottom:4px;color:var(--toast-ink);font-size:10px;font-weight:800;letter-spacing:.065em;text-transform:uppercase}.app-toast-source{border-left:1px solid color-mix(in srgb,var(--toast-accent) 35%,transparent);padding-left:7px;opacity:.75}.app-toast-title{display:block;font-size:14px;line-height:1.35}.app-toast p{margin:5px 0 0;color:#475467;font-size:13px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-line}.app-toast button{align-self:start;width:28px;height:28px;border:0;border-radius:8px;padding:0;background:transparent;color:#667085;cursor:pointer;font-size:21px;line-height:1}.app-toast button:hover{background:#f2f4f7;color:#101828}.app-toast button:focus-visible{outline:2px solid var(--toast-accent);outline-offset:1px}.app-toast-progress{position:absolute;right:0;bottom:0;left:0;height:3px;background:var(--toast-accent);transform-origin:left;animation:app-toast-countdown var(--toast-duration) linear forwards}@keyframes app-toast-enter{0%{opacity:0;transform:translate3d(32px,12px,0) scale(.97)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes app-toast-exit{to{opacity:0;transform:translate3d(36px,0,0) scale(.96)}}@keyframes app-toast-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(max-width:640px){.app-toast-stack{right:12px;bottom:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}}@media(prefers-reduced-motion:reduce){.app-toast,.app-toast-closing{animation-duration:.01ms}}.users-page{max-width:1280px}.users-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.users-summary>div{display:grid;gap:5px;border:1px solid var(--line);border-radius:14px;padding:16px 18px;background:#fff;box-shadow:var(--shadow-sm)}.users-summary span{color:var(--muted);font-size:12px;font-weight:700}.users-summary strong{color:var(--ink-strong);font-size:25px}.users-create-form{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(200px,1fr) minmax(200px,1fr) minmax(180px,.8fr);gap:16px;align-items:start}.users-create-form .button-row,.users-create-form .form-error{grid-column:1 / -1}.users-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}.users-toolbar>div{display:grid;gap:3px}.users-toolbar span{color:var(--muted);font-size:12px}.users-toolbar input{width:min(300px,100%);min-height:40px;border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:var(--surface)}.users-table-wrap{overflow-x:auto}.users-table{min-width:980px}.users-table td{vertical-align:middle}.users-table select{min-height:36px;border:1px solid var(--line);border-radius:9px;padding:6px 30px 6px 10px;background:#fff}.users-identity{display:flex;align-items:center;gap:11px}.users-identity>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border-radius:11px;background:var(--primary-soft);color:var(--primary);font-weight:800}.users-identity div,.users-statuses{display:grid;gap:4px}.users-identity small,.users-statuses small,.users-date{color:var(--muted);font-size:11px}.users-actions{display:flex;justify-content:flex-end;gap:6px}.users-actions .button{min-height:34px;padding:6px 9px;font-size:11px;white-space:nowrap}.users-empty{padding:28px;color:var(--muted);text-align:center}.users-modal-layer{position:fixed;z-index:1600;inset:0;display:grid;place-items:center;padding:20px}.users-modal-backdrop{position:absolute;inset:0;border:0;background:#10182873;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.users-modal{position:relative;width:min(480px,100%);border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 28px 80px #1018283d;animation:users-modal-in .18s ease-out}.users-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line-soft);padding:20px 22px 16px}.users-modal header span{color:var(--primary);font-size:11px;font-weight:800;text-transform:uppercase}.users-modal h2{margin:3px 0}.users-modal header p{margin:0;color:var(--muted)}.users-modal header button{width:32px;height:32px;border:0;border-radius:8px;background:var(--surface-subtle);color:var(--muted);cursor:pointer;font-size:22px}.users-modal form{display:grid;gap:16px;padding:20px 22px 22px}@keyframes users-modal-in{0%{opacity:0;transform:translateY(10px) scale(.98)}}@media(max-width:820px){.users-summary{grid-template-columns:1fr 1fr}.users-create-form{grid-template-columns:1fr}.users-create-form .button-row,.users-create-form .form-error{grid-column:auto}.users-toolbar{align-items:stretch;flex-direction:column}.users-toolbar input{width:100%}}.login-card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.login-card-header h2{margin:0}.login-language select{min-height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 30px 7px 10px;background:#fff;color:#101828;font-weight:650}@media(max-width:480px){.login-card-header{align-items:stretch;flex-direction:column}}:root{color:#172033;background:#f3f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #172033;--ink-strong: #0d1526;--muted: #667085;--line: #dfe5ee;--line-soft: #edf1f6;--surface: #ffffff;--surface-subtle: #f8fafd;--surface-raised: #ffffff;--primary: #2859d9;--primary-hover: #1f49bd;--primary-soft: #eaf0ff;--danger: #b42318;--sidebar: #111a2b;--sidebar-hover: #1c2940;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgb(15 23 42 / 5%), 0 1px 4px rgb(15 23 42 / 4%);--shadow-md: 0 12px 32px rgb(15 23 42 / 9%)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 75% -20%,#e8efff 0,transparent 34rem),#f3f6fb;color:var(--ink)}button,input,textarea,select{font:inherit}button,.button{position:relative;overflow:hidden;transition:transform .12s ease,box-shadow .18s ease,filter .18s ease}button:not(:disabled):active,.button:not([aria-disabled=true]):active{transform:scale(.97);filter:brightness(.94);box-shadow:0 0 0 4px #2563eb2e}button:after,.button:after{position:absolute;inset:50%;border-radius:999px;background:currentColor;content:"";opacity:0;transform:translate(-50%,-50%) scale(0);pointer-events:none}button:not(:disabled):active:after,.button:not([aria-disabled=true]):active:after{inset:-35%;opacity:.12;transform:translate(0) scale(1);transition:transform .28s ease,opacity .35s ease}a{color:inherit}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:24px 16px;background:linear-gradient(180deg,#111a2b,#0d1525);color:#dbe3ef;box-shadow:inset -1px 0 #ffffff0f}.brand{display:flex;align-items:center;gap:10px;margin:0 10px 30px;color:#fff;font-size:17px;font-weight:780;letter-spacing:-.02em}.brand:before{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:linear-gradient(145deg,#5b8cff,#2859d9);box-shadow:0 8px 18px #2563eb59;color:#fff;content:"B";font-size:13px;font-weight:850}.sidebar nav{display:grid;gap:4px}.sidebar-footer{display:grid;gap:12px;margin-top:auto;border-top:1px solid rgb(255 255 255 / 10%);padding:18px 8px 0}.sidebar-language{display:grid;gap:6px;color:#9eacc0;font-size:12px}.sidebar-language select{width:100%;border:1px solid #394760;border-radius:8px;padding:8px 10px;background:#172238;color:#fff}.sidebar-identity{display:grid;gap:2px;overflow:hidden}.sidebar-identity strong,.sidebar-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-identity small{color:#9eacc0}.sidebar-logout{border:1px solid #42506a;border-radius:8px;padding:9px 12px;background:transparent;color:#e6ebf3;cursor:pointer;text-align:left}.nav-link{position:relative;border:1px solid transparent;border-radius:9px;padding:10px 12px;color:#bac5d6;text-decoration:none;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.nav-link:hover{background:var(--sidebar-hover);color:#fff;transform:translate(2px)}.nav-link.active{border-color:#789bff2e;background:linear-gradient(90deg,#395ca96b,#253247ad);color:#fff;box-shadow:inset 3px 0 #6f96ff}.topbar{position:sticky;z-index:40;top:0;display:flex;min-height:66px;align-items:center;gap:18px;border-bottom:1px solid rgb(215 223 234 / 90%);padding:0 32px;background:#ffffffe0;box-shadow:0 1px 10px #0f172a08;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbar-label{font-size:14px;color:#667085}.topbar-label{margin-right:auto;font-weight:650}.content{padding:40px clamp(24px,4vw,56px) 56px}.page-stack{display:grid;gap:24px;max-width:1120px;margin:0 auto}.page-header h1{margin:5px 0 9px;color:var(--ink-strong);font-size:clamp(29px,3vw,36px);line-height:1.12;letter-spacing:-.035em}.page-header p{margin:0;color:#667085}.page-header-row{display:flex;align-items:end;justify-content:space-between;gap:24px}.narrow-page{max-width:760px}.eyebrow{color:#2563eb!important;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.card{border:1px solid rgb(218 225 235 / 90%);border-radius:var(--radius-lg);padding:24px;background:#fffffff5;box-shadow:var(--shadow-sm)}.card h2{margin:0 0 14px;color:var(--ink-strong);font-size:18px;letter-spacing:-.018em}.muted{color:#667085}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;min-height:40px;padding:8px 15px;cursor:pointer;font-weight:700;line-height:1.2;text-decoration:none}.button:focus-visible,.nav-link:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{background:linear-gradient(180deg,#3269ed,#2859d9);box-shadow:0 1px 2px #1018281f,0 5px 12px #2563eb2e;color:#fff}.button-primary:not(:disabled):hover{background:linear-gradient(180deg,#2859d9,#214bbd);box-shadow:0 7px 18px #2563eb3d;transform:translateY(-1px)}.button-secondary{border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 1px 2px #0f172a0d;color:#263244}.button-secondary:not(:disabled):hover{border-color:#aeb9c8;background:#fff;transform:translateY(-1px)}.button-danger{background:#b42318;color:#fff}.button-danger:not(:disabled):hover{background:#912018;transform:translateY(-1px)}.notification-stack{position:fixed;z-index:1000;top:78px;right:20px;display:grid;gap:10px;width:min(420px,calc(100vw - 32px))}.notification{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border:1px solid;border-radius:13px;padding:14px 15px;box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:notification-in .2s ease-out}.notification p{margin:4px 0 0;font-size:13px;overflow-wrap:anywhere}.notification button{align-self:start;border:0;padding:0 3px;background:transparent;color:inherit;cursor:pointer;font-size:22px;line-height:1}.notification-warning{border-color:#f2c55c;background:#fffaebf5;color:#7a2e0e}.notification-error{border-color:#f97066;background:#fef3f2f7;color:#912018}.notification-success{border-color:#32d583;background:#ecfdf3f7;color:#05603a}@keyframes notification-in{0%{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}.status-neutral{background:#eef2f6;color:#475467}.status-positive{background:#dcfae6;color:#087443}.status-warning{background:#fef0c7;color:#93370d}.status-negative{background:#fee4e2;color:#b42318}.fatal-error{display:grid;place-items:start;gap:12px;max-width:640px;margin:12vh auto;padding:32px}.login-page{display:grid;place-items:center;min-height:100vh;padding:24px;background:radial-gradient(circle at 70% 0,#24447f 0,transparent 34rem),linear-gradient(145deg,#111a2b,#0b1220)}.login-page .card{width:min(100%,460px);border-color:#ffffff40;box-shadow:0 28px 80px #00000047}.method-grid{display:grid;gap:14px}.method-card{display:grid;gap:8px;border:1px solid #d8dee7;border-radius:12px;padding:20px;background:#fff;text-decoration:none}.method-card:hover{border-color:#2563eb;box-shadow:0 4px 12px #2563eb1a}.method-card strong{font-size:17px}.method-card span:last-child{color:#667085}.method-badge{width:fit-content;border-radius:999px;padding:3px 8px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:750}.state-panel{display:flex;gap:12px;margin-bottom:20px}.state-panel p{margin:4px 0;color:#667085}.state-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#94a3b8}.form-stack{display:grid;gap:18px}.form-field{display:grid;gap:7px}.form-label{color:#344054;font-size:13px;font-weight:720;letter-spacing:.005em}.label-with-tip{display:inline-flex;align-items:center;gap:6px}.info-tip{position:relative;display:inline-grid;place-items:center;width:17px;height:17px;border:1px solid #98a2b3;border-radius:50%;color:#667085;cursor:help;font-size:11px;font-weight:800}.info-tip [role=tooltip]{position:absolute;z-index:100;bottom:calc(100% + 8px);left:50%;display:none;width:min(280px,70vw);border-radius:8px;padding:9px 11px;background:#101828;box-shadow:0 8px 24px #10182838;color:#fff;font-size:12px;font-weight:500;line-height:1.4;transform:translate(-50%)}.info-tip:hover [role=tooltip],.info-tip:focus [role=tooltip]{display:block}.form-field input,.form-field select{width:100%;min-height:43px;border:1px solid #c7d0dd;border-radius:9px;padding:9px 12px;background:#fff;box-shadow:inset 0 1px 1px #0f172a05;color:var(--ink);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.form-field textarea{width:100%;resize:vertical;border:1px solid #c7d0dd;border-radius:9px;padding:10px 12px;background:#fff;box-shadow:inset 0 1px 1px #0f172a05;color:var(--ink);transition:border-color .16s ease,box-shadow .16s ease}.form-field input:hover:not(:disabled),.form-field select:hover:not(:disabled),.form-field textarea:hover:not(:disabled){border-color:#98a6b8}.form-field input::placeholder,.form-field textarea::placeholder{color:#98a2b3}.form-field input:disabled,.form-field select:disabled,.form-field textarea:disabled{background:#f2f4f7;color:#98a2b3;cursor:not-allowed}.form-field input:focus,.form-field select:focus{border-color:#2563eb;outline:3px solid #dbeafe}.form-field textarea:focus{border-color:#2563eb;outline:3px solid #dbeafe}.reliability-settings{padding-top:12px;border-top:1px solid #e2e8f0}.editor-console details pre{max-width:100%;overflow:auto;padding:12px;border-radius:8px;background:#0f172a;color:#e2e8f0;white-space:pre-wrap;overflow-wrap:anywhere}.template-editor{position:relative}.variable-suggestions{position:absolute;z-index:20;top:calc(100% + 4px);right:0;left:0;display:grid;max-height:180px;overflow-y:auto;border:1px solid #cbd5e1;border-radius:8px;padding:4px;background:#fff;box-shadow:0 8px 24px #10182824}.variable-suggestions button{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:6px;padding:8px 10px;background:transparent;color:#101828;cursor:pointer;text-align:left}.variable-suggestions button:hover,.variable-suggestions button:focus-visible{outline:0;background:#eff6ff}.variable-suggestions span{color:#667085;font-size:12px}.form-field input[aria-invalid=true]{border-color:#b42318}.form-hint{color:#667085;font-size:13px}.form-error{color:#b42318;font-size:13px}.settings-secret-form{margin-top:20px}.consent-row{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;line-height:1.45}.consent-row input{width:17px;height:17px;margin-top:2px}.warning-panel,.security-note{display:grid;gap:5px;border:1px solid #f6d78b;border-radius:12px;padding:15px 17px;background:linear-gradient(135deg,#fffcf1,#fff8e5);box-shadow:0 4px 12px #b453090d;color:#7a2e0e}.button-row{display:flex;flex-wrap:wrap;gap:10px}.workflow-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.workflow-delete{min-height:34px;padding:5px 10px}.identity-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.identity-preview div{border-bottom:1px solid #eef1f4;padding-bottom:10px}.identity-preview dt{color:#667085;font-size:12px}.identity-preview dd{margin:4px 0 0;font-weight:700}.qr-panel{display:grid;justify-items:center;gap:16px;text-align:center}.qr-panel svg{max-width:100%;height:auto;border:12px solid white}.table-scroll{margin:-8px;overflow-x:auto;border-radius:10px}table{width:100%;border-collapse:separate;border-spacing:0}th,td{border-bottom:1px solid var(--line-soft);padding:13px 14px;text-align:left;vertical-align:middle}th{background:#f8fafc;color:#667085;font-size:11px;font-weight:780;letter-spacing:.045em;text-transform:uppercase}th:first-child{border-radius:9px 0 0}th:last-child{border-radius:0 9px 0 0}tbody tr{transition:background .14s ease}tbody tr:hover{background:#f8faff}tbody tr:last-child td{border-bottom:0}td a{color:#2454cc;font-weight:650;text-underline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dialog-page{display:grid;gap:18px;max-width:1040px;height:calc(100vh - 136px);margin:0 auto}.dialog-header{display:flex;align-items:end;justify-content:space-between;gap:20px}.dialog-header h1{margin:3px 0}.dialog-header p{margin:0;color:#667085}.dialog-header-actions{display:flex;align-items:center;gap:10px}.dialog-window{display:grid;grid-template-rows:minmax(240px,1fr) auto;min-height:0;overflow:hidden;border:1px solid #dfe4ea;border-radius:12px;background:#e9eef4}.message-list{display:flex;flex-direction:column;gap:10px;min-height:0;margin:0;padding:20px;overflow-y:auto;list-style:none}.message-row{display:flex}.message-outgoing{justify-content:flex-end}.message-bubble{max-width:min(76%,680px);border-radius:12px;padding:10px 12px;background:#fff;box-shadow:0 1px 2px #10182814}.message-outgoing .message-bubble{background:#dbeafe}.message-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{display:flex;justify-content:flex-end;gap:6px;margin-top:5px;color:#667085;font-size:11px}.message-media{display:block;margin-bottom:5px;color:#475467;font-size:11px;font-weight:750;text-transform:uppercase}.dialog-empty{display:grid;place-items:center;min-height:240px;padding:30px;color:#667085;text-align:center}.telegram-buttons{display:grid;gap:7px;margin-top:10px}.telegram-button-wrap{display:grid;gap:3px}.telegram-button{border:1px solid #93c5fd;border-radius:7px;min-height:34px;padding:6px 9px;background:#eff6ff;color:#1d4ed8;cursor:pointer;font-weight:700}.telegram-button.reply-button{border-style:dashed;background:#fff}.telegram-button:disabled{cursor:not-allowed;opacity:.55}.deadline{color:#667085;font-size:11px}.deadline.stale{color:#b42318;font-weight:700}.dialog-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-top:1px solid #dfe4ea;padding:12px;background:#fff}.dialog-composer textarea,.takeover-panel textarea{width:100%;resize:vertical;border:1px solid #cbd5e1;border-radius:8px;padding:9px 11px}.takeover-panel{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(250px,1fr) minmax(240px,.8fr);gap:16px;align-items:start;border:1px solid #fedf89;border-radius:12px;padding:16px;background:#fffaeb}.takeover-panel h2{margin:4px 0 6px;font-size:18px}.takeover-panel p{margin-top:0}.recording-timeline{display:grid;gap:10px;margin:0;padding:0;list-style:none}.trainer-session-header>:first-child{min-width:0}.trainer-session-controls{flex:0 0 auto;flex-direction:column;align-items:flex-end;margin-left:auto}.live-trainer-actions{margin-top:12px}.live-trainer-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;margin-top:16px;border-top:1px solid #eef1f4;padding-top:14px}.live-trainer-composer input{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 11px;background:#fff;color:#18202d}.live-trainer-composer input::placeholder{color:#667085}.live-trainer-composer input:hover:not(:disabled){border-color:#98a2b3}.live-trainer-composer input:focus{border-color:#2563eb;outline:3px solid #dbeafe}.live-trainer-composer input:disabled{background:#f8fafc;cursor:not-allowed;opacity:.65}.modal-backdrop{position:fixed;z-index:1100;inset:0;display:grid;place-items:center;padding:24px;background:#0f172a85;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ai-trainer-modal{display:grid;grid-template-rows:auto auto minmax(180px,1fr) auto auto;gap:14px;width:min(760px,100%);max-height:min(820px,calc(100vh - 48px));overflow:hidden;border:1px solid #d8e0eb;border-radius:18px;padding:22px;background:#fff;box-shadow:0 30px 90px #0f172a47}.ai-trainer-header{display:flex;align-items:start;justify-content:space-between;gap:20px}.ai-trainer-header h2{margin:4px 0 6px;font-size:24px}.ai-trainer-header p{margin:0;color:#667085}.modal-close{flex:0 0 auto;width:36px;height:36px;border:0;border-radius:9px;background:#f2f4f7;color:#344054;cursor:pointer;font-size:25px;line-height:1}.modal-close:hover:not(:disabled){background:#e4e7ec}.ai-safety-note{display:grid;gap:3px;border:1px solid #b2ddff;border-radius:10px;padding:11px 13px;background:#eff8ff;color:#175cd3;font-size:13px}.ai-trainer-thread{display:flex;flex-direction:column;gap:10px;min-height:180px;overflow-y:auto;border:1px solid #e4e7ec;border-radius:12px;padding:16px;background:#f8fafc}.ai-trainer-intro{margin:auto;max-width:560px;color:#475467;text-align:center}.ai-trainer-intro p{margin:8px 0 0;line-height:1.5}.ai-message{max-width:86%;border-radius:12px;padding:10px 12px;box-shadow:0 1px 2px #0f172a12}.ai-message span{display:block;margin-bottom:4px;color:#667085;font-size:11px;font-weight:750;text-transform:uppercase}.ai-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.ai-message-user{align-self:flex-end;background:#dbeafe}.ai-message-assistant{align-self:flex-start;border:1px solid #e4e7ec;background:#fff}.ai-thinking{color:#475467;font-style:italic}.ai-requirements{border:1px solid #e4e7ec;border-radius:9px;padding:9px 12px;background:#fcfcfd}.ai-requirements summary{cursor:pointer;color:#344054;font-weight:700}.ai-requirements p{margin:9px 0 0;color:#475467;white-space:pre-wrap}.ai-trainer-composer{display:grid;gap:10px;border-top:1px solid #eef1f4;padding-top:14px}.ai-trainer-composer textarea{min-height:74px}.trainer-start-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(300px,.8fr);gap:18px;align-items:start}.trainer-steps{display:grid;gap:16px;margin:0;padding-left:22px}.trainer-steps li{padding-left:4px}.trainer-steps span{display:block;margin-top:4px;color:#667085}.recorded-event{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid var(--line);border-radius:12px;padding:15px;background:#fff;box-shadow:var(--shadow-sm);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.recorded-event:hover{border-color:#c8d3e2;box-shadow:0 7px 20px #0f172a12;transform:translateY(-1px)}.event-delete{min-height:34px;padding:5px 10px}.event-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.event-replay{width:34px;min-height:34px;padding:5px;font-size:20px;line-height:1}.event-protected{align-self:center;color:#667085;font-size:12px;white-space:nowrap}.trainer-empty{grid-template-columns:minmax(0,1fr) auto;align-items:center}.recorded-event p,.review-event p{margin:4px 0}.event-sequence{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef2f6;font-weight:750}.event-warning{border-color:#fdb022!important;background:#fffaeb!important}.review-list{display:grid;gap:10px}.review-event{display:grid;grid-template-columns:100px minmax(220px,1fr) minmax(200px,.7fr);gap:16px;align-items:center;border:1px solid #e0e5eb;border-radius:10px;padding:14px;background:#fff}.include-toggle{display:flex;gap:7px;align-items:center;font-size:13px}.review-explainer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border:1px solid #bfdbfe;border-radius:12px;padding:14px 16px;background:#eff6ff;color:#1e3a5f}.review-explainer p{margin:4px 0 0;color:#475467}.parameter-control{display:grid;gap:10px}.fixed-event-label{color:#667085;font-size:12px;text-align:right}.ambiguity-label{color:#93370d;font-size:12px;font-weight:700}.editor-page{display:grid;gap:14px}.workflow-selection-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.workflow-selection-actions small{color:#667085}.editor-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px}.editor-toolbar h1{margin:3px 0}.editor-toolbar span{color:#667085;font-size:13px}.workflow-title-field{display:grid;gap:3px;min-width:min(520px,45vw)}.workflow-title-input{width:100%;border:1px solid transparent;border-radius:10px;padding:3px 8px;margin-left:-8px;background:transparent;color:var(--text);font:inherit;font-size:clamp(25px,2.4vw,34px);font-weight:760;letter-spacing:-.035em}.workflow-title-input:hover,.workflow-title-input:focus{border-color:#cfd6e2;background:#fff;outline:none;box-shadow:0 0 0 3px #625bd51a}.workflow-title-input[aria-invalid=true]{border-color:#f04438}.field-error{color:#b42318!important}.language-select{min-width:118px;min-height:40px;appearance:none;border:1px solid #cbd5e1;border-radius:8px;padding:8px 36px 8px 13px;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#475467 50%),linear-gradient(135deg,#475467 50%,transparent 50%);background-position:calc(100% - 16px) 17px,calc(100% - 11px) 17px;background-size:5px 5px,5px 5px;background-repeat:no-repeat;color:#101828;cursor:pointer;font-weight:650}.language-select:hover{border-color:#98a2b3;background-color:#f8fafc}.language-select:focus-visible{border-color:#2563eb;outline:3px solid #dbeafe}.editor-grid{display:grid;grid-template-columns:220px minmax(360px,1fr) 300px;height:max(540px,calc(100vh - 300px));min-height:540px;overflow:hidden;border:1px solid #d9e1eb;border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.editor-panel{overflow-y:auto;padding:14px}.editor-panel:first-child{border-right:1px solid #e5e9ef}.editor-panel:last-child{border-left:1px solid #e5e9ef}.editor-panel h2,.editor-console h2{margin:8px 0 12px;font-size:15px}.editor-library{padding-top:10px}.editor-library-tabs{position:sticky;z-index:2;top:-10px;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:-2px -4px 14px;border-bottom:1px solid #e2e6ec;padding:2px 4px 9px;background:#fbfbfc}.editor-library-tabs button{display:flex;min-height:34px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:8px;background:transparent;color:#667085;cursor:pointer;font:inherit;font-size:12px;font-weight:750}.editor-library-tabs button.active{background:#ebeafd;color:#4039ae}.inspector-tabs{top:-14px;margin:-6px -4px 14px}.workflow-test-panel{min-width:0}.workflow-test-panel .button-row{flex-wrap:wrap}.workflow-test-panel .live-trainer-actions{align-items:stretch}.workflow-test-panel .live-trainer-actions .button{height:auto;min-height:34px;white-space:normal}.workflow-test-panel .live-trainer-composer{display:grid;grid-template-columns:minmax(0,1fr) auto}.workflow-test-panel .live-trainer-composer input{min-width:0}.workflow-test-log{border-top:1px solid #e5e9ef;padding-top:10px;color:#475467;font-size:12px}.workflow-test-log summary{cursor:pointer;font-weight:750}.workflow-test-log ol{display:grid;gap:5px;padding-left:20px}.editor-library-tabs button span{min-width:17px;border-radius:999px;padding:1px 5px;background:#fff;color:#625bd5;font-size:9px}.node-library{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:22px}.node-library button{min-height:34px;border:1px solid #cbd5e1;border-radius:7px;padding:5px;background:#f8fafc;cursor:pointer;font-size:11px}.node-library.grouped{display:grid;grid-template-columns:1fr;gap:14px}.node-group{display:grid;gap:8px}.node-group-title{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px;color:#8a94a6;font-size:9px;font-weight:800;letter-spacing:.08em;text-align:center;text-transform:uppercase}.node-group-title:before,.node-group-title:after{content:"";height:1px}.node-group-title:before{background:linear-gradient(90deg,transparent,#cfd5df)}.node-group-title:after{background:linear-gradient(90deg,#cfd5df,transparent)}.node-group-items{display:grid;grid-template-columns:1fr 1fr;gap:6px}.node-group-items button{display:grid;place-items:center;line-height:1.25}.node-group-items .node-kind-disabled{border-style:dashed;background:#f4f5f7;color:#98a2b3;cursor:not-allowed}.node-kind-disabled small{font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.workflow-canvas{min-width:0;background:#f8fafc}.workflow-node{position:relative;display:grid;gap:4px;min-width:140px;border:1px solid #a9b7ca;border-radius:10px;padding:10px 13px;background:#fff;box-shadow:0 4px 12px #0f172a17}.workflow-node.selected{border-color:var(--primary);box-shadow:0 0 0 3px #dce7ff,0 9px 22px #2563eb26}.workflow-node small{color:#667085}.workflow-node span{color:#93370d;font-size:10px;font-weight:750}.workflow-node .workflow-node-detail{max-width:190px;overflow:hidden;color:#4942bd;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.workflow-node .workflow-node-detail.missing{color:#b54708}.workflow-node .branch-port{position:absolute;right:9px;color:#4942bd;font-size:9px;text-transform:uppercase}.workflow-node .branch-port-yes{top:28%}.workflow-node .branch-port-no{top:64%}.branch-settings{display:grid;gap:8px}.branch-settings .workflow-action-summary span{color:#667085;font-size:11px;line-height:1.45}.compact-field{margin-top:10px}.workflow-action-summary{display:grid;gap:5px;border:1px solid #c9c5ff;border-radius:12px;padding:12px;background:#f4f3ff}.workflow-action-summary small{color:#625bd5;font-weight:700}.workflow-action-summary strong{overflow-wrap:anywhere}.workflow-variables{display:grid;gap:10px}.variable-help{margin:0;color:#667085;font-size:12px;line-height:1.45}.variable-card{border:1px solid #e1e5ec;border-radius:12px;padding:10px;background:#fff}.variable-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.variable-card-header strong{overflow:hidden;color:#4942bd;font-size:12px;text-overflow:ellipsis}.text-danger{border:0;padding:3px;background:transparent;color:#b42318;cursor:pointer;font:inherit;font-size:11px;font-weight:700}.variable-checkbox{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:12px}.variable-checkbox input{width:auto}.editor-console{border:1px solid #dbe2ec;border-radius:12px;padding:16px;background:#fffffff5;box-shadow:var(--shadow-sm)}.editor-console ul{display:grid;gap:5px;margin:0;padding-left:20px}.issue-error{color:#b42318}.issue-warning{color:#93370d}.success-message{color:#087443;font-weight:700}.check-drawer-layer{position:fixed;z-index:120;inset:0;display:flex;justify-content:flex-end}.check-drawer-backdrop{position:absolute;inset:0;border:0;padding:0;background:#10182857;cursor:default}.check-drawer{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(480px,100vw);height:100dvh;border-left:1px solid #d8dee8;background:#f8f9fb;box-shadow:-18px 0 48px #1018282e;animation:drawer-enter .2s ease-out}.check-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #e2e6ec;padding:22px 24px 18px;background:#fff}.check-drawer-header h2{margin:4px 0 0;font-size:22px}.drawer-close{width:36px;height:36px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#475467;cursor:pointer;font-size:24px;line-height:1}.check-drawer-log{min-height:0;overflow-y:auto;padding:20px 24px 32px;scroll-behavior:smooth}.check-log-entry{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;border-bottom:1px solid #e4e7ec;padding:16px 0}.check-log-entry:first-child{padding-top:0}.check-log-entry p{margin:7px 0 0;line-height:1.5}.check-log-index{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e8e7ff;color:#4942bd;font-size:12px;font-weight:800}.check-positive{color:#067647}.check-negative{color:#b42318}.check-running{color:#4942bd}.check-running:before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#625bd5;animation:check-pulse 1s ease-in-out infinite}.check-issue{margin:8px 0 8px 40px;border-radius:8px;padding:9px 11px;font-size:12px}.check-issue.negative{background:#fef3f2;color:#b42318}.check-issue.warning{background:#fffaeb;color:#93370d}.dry-run-event{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;margin:8px 0 0 40px;border:1px solid #e0e4eb;border-radius:10px;padding:10px 12px;background:#fff}.dry-run-event>span{color:#667085;font-size:12px;font-weight:700}.dry-run-event div{display:grid;gap:3px}.dry-run-event small{color:#067647;font-size:10px;font-weight:750}.check-drawer-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #dfe3e9;padding:16px 24px;background:#fff}.check-drawer-footer .workflow-skip-button{border-color:#625bd5;background:transparent;color:#4942bd}.check-drawer-footer .workflow-skip-button:hover{background:#f4f3ff}@keyframes drawer-enter{0%{transform:translate(36px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes check-pulse{50%{opacity:.3;transform:scale(.8)}}.job-timeline{display:grid;gap:10px;margin:0;padding:0;list-style:none}.job-timeline li{display:grid;grid-template-columns:34px 1fr;gap:12px;border-left:3px solid #cbd5e1;padding:12px 14px;background:#fff}.job-timeline p{margin:4px 0}.approval-panel{display:grid;gap:18px;border:2px solid #fdb022;border-radius:12px;padding:20px;background:#fffcf5}.approval-panel h2{margin:0}.approval-summary{display:grid;gap:7px;border:1px solid #e4e7ec;border-radius:8px;padding:12px;background:#fff}.approval-summary div{display:flex;justify-content:space-between;gap:20px}.approval-summary span{color:#667085}.operations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.operations-grid div{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e4e7ec;border-radius:10px;padding:11px 13px;background:#fafbfc}.operations-grid span{color:#667085;font-size:12px}.operations-grid strong{font-size:18px}.schedule-fieldset{margin:0;border:0;padding:0}.schedule-fieldset legend{margin-bottom:9px;color:#344054;font-size:12px;font-weight:750}.schedule-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.schedule-mode{position:relative;display:grid;gap:4px;min-height:78px;border:1px solid #d9dee7;border-radius:12px;padding:13px 14px 13px 38px;background:#fff;cursor:pointer}.schedule-mode:hover{border-color:#bdb9ee}.schedule-mode.active{border-color:#6b64d9;background:#f5f4ff;box-shadow:0 0 0 2px #e6e4ff}.schedule-mode input{position:absolute;top:15px;left:14px;width:15px;height:15px;accent-color:#5b54d4}.schedule-mode strong{color:#252d3b;font-size:13px}.schedule-mode small{color:#7a8494;line-height:1.35}.plan-status-line{display:flex;flex-wrap:wrap;align-items:center;gap:9px}@media(max-width:680px){.schedule-mode-grid{grid-template-columns:1fr}}.hash-value{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}@media(max-width:760px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:14px 16px}.brand{margin-bottom:12px}.sidebar nav{display:flex;overflow-x:auto}.nav-link{white-space:nowrap}.content{padding:22px 16px}.topbar{padding:0 16px}.dialog-page{height:auto}.dialog-header{align-items:start;flex-direction:column}.dialog-window{min-height:520px}.message-bubble{max-width:90%}.dialog-composer,.takeover-panel,.review-event{grid-template-columns:1fr}.recorded-event{grid-template-columns:34px minmax(0,1fr)}.event-actions{grid-column:2;justify-content:flex-start}.trainer-empty,.trainer-start-grid{grid-template-columns:1fr}.trainer-session-header{align-items:stretch;flex-direction:column}.trainer-session-controls{align-items:stretch;margin-left:0}.trainer-session-controls .status-badge{align-self:flex-start}.live-trainer-composer{grid-template-columns:1fr}.modal-backdrop{align-items:end;padding:0}.ai-trainer-modal{width:100%;max-height:calc(100vh - 24px);border-radius:18px 18px 0 0;padding:17px}.editor-grid{grid-template-columns:1fr}.workflow-canvas{min-height:500px}.editor-panel{border:0!important;border-bottom:1px solid #e5e9ef!important}.page-header-row,.editor-toolbar,.workflow-selection-actions{align-items:stretch;flex-direction:column}.page-header-row .button,.editor-toolbar .button-row{width:100%}.editor-toolbar .button-row .button,.editor-toolbar .button-row select{flex:1 1 auto}.notification-stack{top:72px;right:12px;width:calc(100vw - 24px)}.check-drawer{width:100vw}.check-drawer-header,.check-drawer-log,.check-drawer-footer{padding-right:18px;padding-left:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.editor-panel .reliability-settings,.node-library .node-kind-disabled{display:none}:root{--ink: #17202e;--ink-strong: #0c1421;--muted: #687386;--line: #dde3eb;--line-soft: #edf0f4;--surface: #fff;--surface-subtle: #f7f8fa;--primary: #5b55d6;--primary-hover: #4943bf;--primary-soft: #eeedff;--danger: #c0362c;--radius-sm: 9px;--radius-md: 13px;--radius-lg: 18px;--shadow-sm: 0 1px 2px rgb(18 24 40 / 4%), 0 8px 24px rgb(18 24 40 / 4%);--shadow-md: 0 18px 50px rgb(18 24 40 / 13%)}html{background:#f5f6f8}body{background:#f5f6f8;color:var(--ink)}::selection{background:#dcd9ff;color:#211c69}.app-shell{grid-template-columns:252px minmax(0,1fr);background:#f5f6f8}.sidebar{z-index:60;width:252px;padding:22px 14px 16px;overflow:hidden;border-right:1px solid #e2e5ea;background:#fbfbfc;box-shadow:none;color:#394456}.brand-row{display:flex;align-items:center;justify-content:space-between;margin:0 5px 24px}.brand{display:flex;align-items:center;gap:11px;margin:0;color:#111827;text-decoration:none}.brand:before{display:none}.brand>span:last-child{display:grid;gap:1px}.brand strong{font-size:15px;font-weight:780;letter-spacing:-.025em}.brand small{color:#8a93a2;font-size:10px;font-weight:650;letter-spacing:.06em;text-transform:uppercase}.brand-mark{position:relative;display:block;width:34px;height:34px;border-radius:11px;background:#171b27;box-shadow:0 6px 14px #12182824}.brand-mark span{position:absolute;display:block;border-radius:999px;background:#fff}.brand-mark span:nth-child(1){top:9px;left:9px;width:6px;height:6px}.brand-mark span:nth-child(2){top:9px;right:9px;width:6px;height:6px;background:#a6a1ff}.brand-mark span:nth-child(3){right:9px;bottom:9px;left:9px;height:3px}.sidebar nav{display:grid;flex:1 1 auto;align-content:start;gap:18px;min-height:0;margin-right:-7px;padding-right:7px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#cfd3db transparent;scrollbar-width:thin}.sidebar nav::-webkit-scrollbar{width:5px}.sidebar nav::-webkit-scrollbar-track{background:transparent}.sidebar nav::-webkit-scrollbar-thumb{border-radius:999px;background:#cfd3db}.nav-group{display:grid;gap:3px}.nav-group-label{padding:0 11px 5px;color:#a0a7b2;font-size:10px;font-weight:760;letter-spacing:.085em;text-transform:uppercase}.nav-link{display:flex;align-items:center;gap:11px;min-height:39px;border:0;border-radius:10px;padding:8px 11px;color:#596477;font-size:13px;font-weight:620}.nav-link:hover{background:#f0f1f4;color:#1c2533;transform:none}.nav-link.active{border:0;background:#ebeafd;box-shadow:none;color:#4039ae}.nav-link.active:after{position:absolute;right:8px;width:5px;height:5px;border-radius:50%;background:#716ae7;content:""}.nav-link-nested{min-height:34px;margin-left:31px;padding-left:10px;font-size:12px}.nav-link-nested .nav-icon{width:15px;height:15px}.nav-icon{flex:0 0 auto;width:19px;height:19px}.sidebar-footer{flex:0 0 auto;gap:11px;margin-top:14px;border-top:1px solid #e6e8ec;padding:15px 3px 0}.sidebar-language{color:#8a93a2;font-size:10px;font-weight:680;letter-spacing:.03em;text-transform:uppercase}.sidebar-language select{min-height:36px;border:1px solid #dde1e7;border-radius:9px;padding:7px 10px;background:#fff;color:#394456;font-size:12px;text-transform:none}.sidebar-profile{display:grid;grid-template-columns:34px minmax(0,1fr) 32px;gap:9px;align-items:center;border-radius:12px;padding:7px;background:#f1f2f5}.profile-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#deddff;color:#4039ae;font-size:11px;font-weight:800}.sidebar-identity{display:grid;gap:1px;min-width:0}.sidebar-identity strong{color:#283141;font-size:12px}.sidebar-identity small{color:#8a93a2;font-size:10px}.sidebar-logout{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;padding:0;background:transparent;color:#7a8494}.sidebar-logout:hover{background:#fff;color:#c0362c}.sidebar-logout svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-close,.menu-toggle,.sidebar-scrim{display:none}.workspace{min-width:0}.topbar{min-height:67px;border-bottom:1px solid #e5e8ed;padding:0 clamp(22px,3vw,42px);background:#fbfbfceb;box-shadow:none}.topbar-context{display:grid;gap:1px;margin-right:auto}.topbar-context span{color:#8b94a3;font-size:11px;font-weight:630}.topbar-context strong{color:#232c3a;font-size:14px;font-weight:720;letter-spacing:-.01em}.topbar-statuses{display:flex;align-items:center;gap:9px}.worker-status{display:flex;min-height:30px;align-items:center;gap:6px;border:1px solid #dfe3e9;border-radius:999px;padding:5px 10px;background:#fff;color:#596477;font-size:11px;text-decoration:none}.worker-status strong{color:#232c3a}.worker-status-dot{width:7px;height:7px;border-radius:50%;background:#31a46c;box-shadow:0 0 0 3px #dff4e9}.worker-status.busy .worker-status-dot{background:#716ae7;box-shadow:0 0 0 3px #e8e7ff}.worker-status.offline .worker-status-dot{background:#d92d20;box-shadow:0 0 0 3px #fee4e2}.nav-count{min-width:20px;margin-left:auto;border-radius:999px;padding:2px 6px;background:#fdb022;color:#fff;font-size:10px;font-weight:800;text-align:center}.nav-link:has(.nav-count):after{display:none}.topbar-statuses>.status-badge{gap:7px;border:1px solid #dfe5e2;background:#fff;color:#50615a}.topbar-statuses>.status-badge:before{width:6px;height:6px;border-radius:50%;background:#31a46c;box-shadow:0 0 0 3px #dff4e9;content:""}.content{padding:38px clamp(22px,4vw,56px) 64px}.page-stack{gap:22px;max-width:1220px}.narrow-page{max-width:780px}.page-header{padding:2px 2px 8px}.page-header-row{align-items:center}.page-header h1{margin:7px 0;font-size:clamp(28px,3vw,35px);font-weight:730;letter-spacing:-.045em}.page-header p:not(.eyebrow){max-width:720px;color:#748093;line-height:1.55}.eyebrow{color:#6963d8!important;font-size:10px;font-weight:800;letter-spacing:.11em}.card{border-color:#e1e5eb;border-radius:17px;padding:23px;box-shadow:var(--shadow-sm)}.card>h2:first-child{padding-bottom:14px;border-bottom:1px solid #eef0f3}.card h2{color:#202938;font-size:17px;font-weight:720}.card p{line-height:1.55}.muted{color:#748093}.data-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));overflow:hidden;border:1px solid #e1e5eb;border-radius:15px;background:#fff;box-shadow:var(--shadow-sm)}.summary-item{position:relative;display:grid;gap:3px;padding:16px 19px}.summary-item+.summary-item{border-left:1px solid #eceef2}.summary-item strong{color:#273142;font-size:21px;line-height:1;letter-spacing:-.03em}.summary-item span{color:#7d8796;font-size:11px;font-weight:620}.summary-positive strong{color:#24734e}.summary-warning strong{color:#9a650c}.summary-negative strong{color:#b03930}.button{min-height:40px;border-radius:10px;padding:8px 15px;font-size:13px;font-weight:690}.button-primary{background:#5953cf;box-shadow:0 1px 2px #1d186429,0 5px 12px #4943bf21}.button-primary:not(:disabled):hover{background:#4842b9;box-shadow:0 8px 18px #4943bf30}.button-secondary{border-color:#d5dae2;background:#fff;box-shadow:0 1px 2px #12182808;color:#414c5d}.button-secondary:not(:disabled):hover{border-color:#bec5d0;background:#f9fafb}.button-danger{background:#fff;border-color:#efcbc7;color:#bd352b}.button-danger:not(:disabled):hover{border-color:#dcaaa5;background:#fff6f5}.button-row{align-items:center}.form-stack{gap:20px}.form-label{color:#3e495b;font-size:12px;font-weight:700}.form-field input,.form-field select,.form-field textarea,.live-trainer-composer input,.dialog-composer textarea,.takeover-panel textarea{border-color:#d4dae3;border-radius:10px;background:#fff;box-shadow:0 1px 2px #12182805}.form-field input,.form-field select{min-height:42px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.live-trainer-composer input:focus{border-color:#7069dc;outline:3px solid #e7e5ff}.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.info-panel{border:1px solid #d9d7fa;border-radius:12px;padding:14px 16px;background:#f6f5ff;color:#37327f}.info-panel p{margin:5px 0 0}.warning-panel,.security-note{border-color:#efd99a;background:#fffaf0;box-shadow:none}.status-badge{gap:5px;padding:5px 9px;font-size:11px;font-weight:710}.status-positive{background:#e6f6ed;color:#21744d}.status-warning{background:#fff1cf;color:#8b5b0b}.status-negative{background:#feebea;color:#a7352c}.status-neutral{background:#eef1f4;color:#596476}.table-scroll{margin:-7px;border:1px solid #e6e9ee}table{font-size:13px}th,td{padding:13px 15px}th{background:#fafafb;color:#8a93a2;font-size:10px;letter-spacing:.065em}tbody tr:hover{background:#fafaff}td a{color:#514bbf;font-weight:680;text-decoration:none}td a:hover{text-decoration:underline}.workflow-row-actions{gap:10px}.workflow-delete,.event-delete{min-height:32px;padding:4px 9px}.batch-progress{display:grid;gap:7px;min-width:150px}.batch-progress-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.batch-progress-label strong{font-size:12px}.batch-progress-label span{color:#7d8796;font-size:10px;white-space:nowrap}.progress-track{display:block;width:100%;height:5px;overflow:hidden;border-radius:999px;background:#e8eaf0}.progress-track>span{display:block;height:100%;border-radius:inherit;background:#6760d9}.batch-overview{display:grid;grid-template-columns:1.1fr .7fr .7fr 1.3fr;gap:12px}.batch-overview>div{display:grid;align-content:center;gap:7px;min-height:70px;border-right:1px solid #eceef2;padding:8px 16px 8px 0}.batch-overview>div:last-child{border-right:0}.batch-overview strong{color:#283142;font-size:13px}.batch-overview+.info-panel{margin:18px 0 0}.batch-detail-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.batch-detail-toolbar h2{margin-bottom:4px}.batch-detail-toolbar p{margin:0}.batch-detail-filters{display:flex;gap:9px}.batch-detail-filters select,.batch-detail-filters input{min-height:39px;border:1px solid #d4dae3;border-radius:9px;padding:7px 11px;background:#fff;color:var(--ink)}.batch-detail-filters input:focus,.batch-detail-filters select:focus{border-color:#7069dc;outline:3px solid #e7e5ff}.method-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.method-card{align-content:start;min-height:170px;border-color:#e0e4ea;border-radius:16px;padding:22px;box-shadow:var(--shadow-sm);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.method-card:hover{border-color:#bbb7f0;box-shadow:0 14px 28px #12182814;transform:translateY(-2px)}.method-badge{background:#eeedff;color:#514bbf}.identity-preview div{border:1px solid #e7e9ed;border-radius:11px;padding:12px;background:#fafafb}.trainer-start-grid{grid-template-columns:minmax(360px,1fr) minmax(300px,.75fr)}.trainer-steps{padding-left:20px}.trainer-steps li::marker{color:#6c65da;font-weight:800}.recorded-event,.review-event{border-radius:14px;box-shadow:none}.recorded-event:hover{border-color:#c9c6ef;box-shadow:var(--shadow-sm)}.event-sequence{background:#eeedff;color:#4d47b6}.review-explainer{border-color:#d9d7fa;background:#f6f5ff;color:#37327f}.job-timeline{position:relative;gap:8px}.job-timeline li{border:1px solid #e2e6ec;border-left:3px solid #8a84e6;border-radius:12px;box-shadow:var(--shadow-sm)}.editor-console{border-color:#e0e4ea;border-radius:15px;box-shadow:var(--shadow-sm)}.editor-console dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editor-console dl div{border-radius:10px;padding:10px 12px;background:#f7f8fa}.editor-console dt{color:#7b8493;font-size:11px}.editor-console dd{margin:4px 0 0;font-weight:650}.approval-panel{border:1px solid #e9ce83;border-radius:16px;background:#fffbf2}.dialog-page{max-width:1120px}.dialog-window{border-color:#dde2e9;border-radius:17px;background:#f0f2f5;box-shadow:var(--shadow-sm)}.message-list{gap:12px;padding:22px}.message-bubble{border:1px solid #e4e7ec;border-radius:14px 14px 14px 5px;box-shadow:0 2px 5px #1218280d}.message-outgoing .message-bubble{border-color:#d6d3fa;border-radius:14px 14px 5px;background:#ebeafd}.dialog-composer{padding:14px}.takeover-panel{border-color:#edd58f;border-radius:16px;background:#fffaf0}.ai-trainer-modal{border-color:#e0e4ea;border-radius:20px;box-shadow:0 34px 90px #1218283d}.ai-trainer-thread{border-color:#e5e7ec;background:#f7f8fa}.ai-message-user{background:#e8e6ff}.editor-grid{grid-template-columns:224px minmax(360px,1fr) 312px;border-color:#dfe3e9;border-radius:18px;box-shadow:var(--shadow-sm)}.editor-panel{padding:17px;background:#fbfbfc}.workflow-canvas{background:#f4f5f7}.workflow-node{border-color:#c9ced8;border-radius:12px;box-shadow:0 6px 16px #12182814}.workflow-node.selected{border-color:#625bd5;box-shadow:0 0 0 3px #e3e1ff,0 9px 22px #4943bf21}.node-library button{border-color:#d8dce3;border-radius:9px;background:#fff}.node-library button:hover{border-color:#b9b5ed;background:#f6f5ff;color:#4039ae}.login-page{grid-template-columns:minmax(300px,440px);justify-content:center;background:radial-gradient(circle at 30% 10%,#35306e 0,transparent 35rem),#161925}.login-page:before{position:fixed;top:36px;left:50%;color:#fff;content:"BOT ORCHESTRATOR";font-size:11px;font-weight:800;letter-spacing:.14em;transform:translate(-50%)}.login-page .card{border-color:#ffffff17;padding:30px;box-shadow:0 30px 80px #0000004d}.fatal-error{border:1px solid #e1e5eb;border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}@media(max-width:1060px){.app-shell{grid-template-columns:224px minmax(0,1fr)}.sidebar{width:224px}.nav-link{font-size:12px}.content{padding-inline:28px}.editor-grid{grid-template-columns:190px minmax(320px,1fr) 270px}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;top:0;bottom:0;left:0;display:flex;width:min(294px,calc(100vw - 42px));height:100vh;padding:18px 14px;transform:translate(-105%);transition:transform .22s ease}.sidebar-open{transform:translate(0);box-shadow:20px 0 50px #12182833}.sidebar nav{display:grid;overflow-x:hidden;overflow-y:auto}.sidebar-scrim{position:fixed;z-index:55;inset:0;display:block;width:100%;height:100%;border:0;background:#14182270;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sidebar-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:#f1f2f5;color:#596477;font-size:22px}.menu-toggle{display:grid;gap:4px;width:36px;height:36px;place-content:center;border:1px solid #e0e4ea;border-radius:9px;background:#fff}.menu-toggle span{display:block;width:15px;height:1.5px;border-radius:2px;background:#4d5869}.topbar{min-height:62px;padding:0 15px}.topbar-context span{display:none}.worker-status strong,.worker-status span:last-child{display:none}.worker-status{min-width:30px;justify-content:center;padding:6px}.topbar-statuses>.status-badge{overflow:hidden;width:28px;padding:6px;color:transparent;white-space:nowrap}.topbar-statuses>.status-badge:before{flex:0 0 auto}.content{padding:25px 16px 44px}.page-stack{gap:18px}.page-header{padding-inline:0}.page-header h1{font-size:28px}.card{padding:18px}.method-grid,.form-grid-2,.form-grid-3,.identity-preview,.data-summary{grid-template-columns:1fr}.batch-overview{grid-template-columns:1fr 1fr}.batch-overview>div{border-right:0;border-bottom:1px solid #eceef2}.batch-detail-toolbar,.batch-detail-filters{align-items:stretch;flex-direction:column}.summary-item+.summary-item{border-top:1px solid #eceef2;border-left:0}.method-card{min-height:0}.table-scroll{margin:-3px}th,td{padding:11px 12px}.editor-console dl{grid-template-columns:1fr}.review-explainer{flex-direction:column}.fixed-event-label{text-align:left}}@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}.session-batch-input{min-height:180px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.55;white-space:pre}.session-batch-input[data-masked=true]{-webkit-text-security:disc}.session-batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#667085;font-size:13px}.session-batch-toolbar label{display:inline-flex;align-items:center;gap:7px;color:#344054;cursor:pointer}.session-batch-results{display:grid;gap:10px;margin-bottom:18px}.session-batch-result{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr);gap:8px 20px;padding:14px 15px;border:1px solid #e2e6ec;border-radius:11px;background:#fafbfc}.session-batch-result>div,.session-batch-identity{display:grid;gap:3px}.session-batch-result span{color:#667085;font-size:13px}.session-batch-result .form-error{grid-column:1 / -1;margin:2px 0 0}@media(max-width:760px){.session-batch-toolbar{align-items:flex-start;flex-direction:column}.session-batch-result{grid-template-columns:1fr}}
