.operator-reply{margin:16px 0;border:1px solid var(--line);border-radius:9px;padding:14px;background:#fbfcfd}.operator-reply b{display:block;font-size:12px;margin-bottom:9px}.operator-reply textarea,.operator-reply input.rag-keywords{display:block;width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;resize:vertical;color:var(--ink);background:#fff;margin-bottom:9px}.operator-reply.existing{border-left:3px solid var(--blue);background:#f4fbfb}.operator-reply.existing p{color:#365568;white-space:pre-wrap;line-height:1.5;margin:0}.rag-check{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:11px;margin:8px 0 12px}.rag-check input{accent-color:var(--blue)}.reply-button{border:0;border-radius:7px;padding:9px 12px;background:var(--blue-dark);color:#fff;font-weight:700;font-size:12px}.history-row{display:block}.history-row summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.history-row summary::-webkit-details-marker{display:none}.history-detail{border-top:1px solid #edf1f4;margin-top:12px;padding-top:12px;line-height:1.5;font-size:12px}.history-detail b{font-size:11px;color:var(--blue)}.support-reply{white-space:pre-wrap;background:#f4fbfb;border-left:3px solid var(--blue);padding:10px;margin-top:6px;color:#365568}.knowledge-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:22px}.knowledge-form-panel{padding:28px}.knowledge-form-panel label{display:block;font-size:12px;font-weight:700;margin:0 0 8px}.knowledge-form-panel input,.knowledge-form-panel textarea,.knowledge-form-panel select{width:100%;border:1px solid var(--line);border-radius:8px;background:#fbfcfd;color:var(--ink);padding:11px 12px;outline:none;margin-bottom:17px}.knowledge-form-panel textarea{resize:vertical;line-height:1.5}.knowledge-list-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.knowledge-list-heading h2{font:600 22px 'Golos Text', sans-serif;margin:0}.knowledge-list{display:grid;gap:12px}.knowledge-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 20px}.knowledge-card-top{display:flex;justify-content:space-between;align-items:center}.knowledge-card h3{font:600 18px 'Golos Text', sans-serif;margin:13px 0 9px}.knowledge-keywords{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 12px}.knowledge-keywords span{font-size:10px;color:var(--blue);background:#e6f4f4;padding:4px 7px;border-radius:4px}.knowledge-content{border-top:1px solid #edf1f4;padding-top:12px;color:var(--muted);font-size:12px;line-height:1.55;white-space:pre-wrap;max-height:180px;overflow:auto}@media(max-width:900px){.knowledge-layout{grid-template-columns:1fr}}@media(max-width:600px){.knowledge-form-panel{padding:21px}}
.history-row{cursor:pointer}.history-row:hover{background:#f8fbfc}.operator-solution{margin-top:18px;padding:18px 20px;border:1px solid #a7dfc8;border-left:4px solid #2eaa73;border-radius:9px;background:#effbf5}.operator-solution h3{margin:8px 0;color:#176b4a;font:700 18px 'Golos Text', sans-serif}.operator-solution p{margin:0 0 12px;white-space:pre-wrap;line-height:1.6;color:#234b3b}.operator-solution strong{color:#16804f;font-size:12px}
.auth-required{overflow:hidden}.auth-required>.topbar,.auth-required>.shell,.auth-required>#toast{display:none!important}.auth-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 10%,#dcefea 0,transparent 36%),#f1f5f7;overflow:auto}.auth-gate[hidden]{display:none}.auth-card{width:min(100%,470px);padding:34px;background:#fff;border:1px solid #e3eaed;border-radius:20px;box-shadow:0 24px 70px #102a431a}.auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:28px;font:700 18px 'Golos Text', sans-serif}.auth-card h1{margin:0 0 23px;font:700 29px/1.14 'Golos Text', sans-serif;letter-spacing:-.035em;color:#102a43}.auth-card .eyebrow{margin-bottom:8px}.auth-card label{display:block;margin:0 0 7px;color:#42596b;font-size:13px;font-weight:700}.auth-card input{width:100%;height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:0 12px;color:#102a43;background:#fff;outline:0}.auth-card input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e20}.token-field{position:relative}.token-field input{padding-right:48px}.token-field button{position:absolute;right:4px;top:4px;width:34px;height:34px;border:0;border-radius:8px;background:#f1f6f6;color:#42616a}.auth-submit,.workspace-create{width:100%;min-height:44px;margin-top:14px;border:0;border-radius:10px;background:#0f766e;color:#fff;font-weight:700;transition:background .15s,transform .15s}.auth-submit:hover,.workspace-create:hover{background:#0b625c}.auth-submit:active,.workspace-create:active{transform:translateY(1px)}.auth-error{margin:10px 0 0;padding:10px 12px;border:1px solid #fecaca;border-radius:9px;background:#fff5f5;color:#b42336;font-size:13px;line-height:1.45}.auth-divider{display:flex;align-items:center;gap:12px;margin:25px 0 18px;color:#7b8d98;font-size:10px;font-weight:700;letter-spacing:.08em;white-space:nowrap}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e6ecee}.workspace-create{margin-top:9px;background:#e8f4f2;color:#0f766e;border:1px solid #bfdfda}.workspace-create:hover{background:#d9eeeb}.workspace-result{margin-top:15px;padding:14px;border:1px solid #b7dfd5;border-radius:11px;background:#f1faf7;color:#176b4a;font-size:13px}.issued-workspace-token{margin:9px 0;padding:10px;border-radius:8px;background:#fff;color:#102a43;font:12px ui-monospace,monospace;overflow-wrap:anywhere}.workspace-result button{min-height:36px;margin:5px 5px 0 0;padding:0 12px;border:1px solid #bddbd5;border-radius:8px;background:#fff;color:#0f766e;font-weight:700}.workspace-label{color:#b8d5d3;font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-button{height:36px;padding:0 14px;border:1px solid #ffffff47;border-radius:9px;background:#ffffff10;color:#fff;font-weight:700}.logout-button:hover{background:#ffffff20}.workspace-empty{display:grid;justify-items:center;gap:12px;margin:15px 0 24px;padding:36px 24px;border:1px solid #d6e7e5;border-radius:16px;background:linear-gradient(135deg,#fff,#f2faf8);text-align:center;box-shadow:0 10px 30px #102a430a}.workspace-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e0f1ee;color:#0f766e;font-size:24px}.workspace-empty h3{max-width:650px;margin:0;color:#344d5d;font-size:16px;line-height:1.55}.workspace-empty button{min-height:40px;padding:0 16px;border:0;border-radius:10px;background:#0f766e;color:#fff;font-weight:700}.employee-empty{margin:0 0 22px}.employee-grid[hidden]{display:none!important}
/* Consistent native controls across the dashboard. */
select{appearance:none;-webkit-appearance:none;min-height:40px;padding:0 40px 0 12px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475d6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;color:var(--ink)}
button{border:1px solid transparent;transition:filter .15s,transform .15s,background-color .15s}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,select:focus-visible{outline:3px solid #0f766e55;outline-offset:2px}.ticket-card .operator-reply.existing{background:#effbf5;border-color:#c2e7d4}.ticket-card .operator-reply.existing b{color:#176b4a}.ticket-card .operator-reply:not(.existing) b:before{content:"Новый ответ"}.ticket-card .operator-reply:not(.existing)>b{font-size:0}.ticket-card .operator-reply:not(.existing)>b:after{content:"Новый ответ";font-size:12px}.ticket-card .ticket-actions button[data-action="take"],.ticket-card .ticket-actions button[data-action="close"]{min-height:38px;padding:0 13px;border-radius:9px;font-weight:700}.ticket-card .ticket-actions button[data-action="take"]{background:#0f766e;color:#fff}.ticket-card .ticket-actions button[data-action="close"]{background:#fff;border-color:#d6e0e5;color:#465d6d}.ticket-card button.is-loading{opacity:.65;cursor:wait}.ticket-card button:disabled{opacity:.6;cursor:not-allowed}.employee-grid>.result-column>.history-panel .empty-state{padding:20px}.api-docs{display:none!important}
@media(max-width:600px){.auth-card{padding:25px 21px}.auth-card h1{font-size:25px}.topbar-right .workspace-label{display:none}}
.feedback-notice{margin-top:18px;padding:15px 18px;border-radius:9px;line-height:1.5;font-weight:600}.feedback-success{border:1px solid #a7dfc8;background:#effbf5;color:#176b4a}.feedback-pending{border:1px solid #b7d8e6;background:#f1f8fb;color:#24566b}.status-success{color:#16804f!important;background:#effbf5;border-color:#a7dfc8}.status-pending{color:#9a6410!important;background:#fff8e8;border-color:#f0d28b}.result-actions button:disabled{cursor:wait;opacity:.55}
.topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:18px}.channel-indicators{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.channel-indicator{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid rgba(159,179,200,.3);border-radius:999px;color:#d1e1ed;font-size:10px;white-space:nowrap}.channel-indicator i{width:6px;height:6px;border-radius:50%;background:#57d6a2;box-shadow:0 0 0 3px rgba(87,214,162,.12)}@media(max-width:760px){.topbar-right{gap:8px;flex-direction:column;align-items:flex-end}.channel-indicators{gap:4px}.channel-indicator{padding:4px 7px}}
.builder-block .integration-section{margin-top:0}.builder-block .integration-grid{margin-bottom:18px}.builder-block .integration-keys{margin-top:16px}.builder-block .widget-settings,.builder-block .widget-preview-panel{box-shadow:none}.builder-block .preview-window b{background:#2563eb}.builder-block .key-create-row{grid-template-columns:minmax(180px,1fr) minmax(180px,1.2fr) auto}.builder-block .issued-key-notice{margin:12px 0;padding:12px;border:1px solid #f0d28b;border-radius:8px;background:#fff8e8;color:#795814;overflow-wrap:anywhere}.builder-block .snippet-box{margin-top:14px}.builder-block .keys-table{width:100%;border-collapse:collapse;font-size:12px}.builder-block .keys-table th,.builder-block .keys-table td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.builder-block .keys-table th{color:var(--muted);font-size:10px;text-transform:uppercase}.builder-block .keys-table small{display:block;color:var(--muted);margin-top:4px}.builder-block .keys-table code{overflow-wrap:anywhere}.builder-block .table-wrap{overflow-x:auto}.builder-block pre{overflow:auto;padding:14px;border-radius:9px;background:#102a43;color:#e9f4fa;white-space:pre-wrap;overflow-wrap:anywhere}.builder-block[hidden]{display:none}@media(max-width:760px){.builder-block .integration-grid{grid-template-columns:1fr}.builder-block .key-create-row{grid-template-columns:1fr}.builder-block .key-create-row label{grid-column:auto}.builder-block .keys-table{min-width:700px}}

/* Leadership overview: the existing teal visual system, with explicit metric assumptions. */
.leader-dashboard{margin-bottom:32px}.leader-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}.leader-heading .eyebrow{margin-bottom:8px}.leader-heading h2{font-size:24px;margin:0}.leader-heading>p{font-size:13px;color:var(--muted);max-width:360px;text-align:right;margin:0}.leader-heading>p.stale{color:#a32e45}
.leader-dashboard .metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}.leader-dashboard .metric{min-width:0;padding:22px}.leader-dashboard .metric-label{font-size:12px;letter-spacing:.025em}.leader-dashboard .metric-value{font-size:38px;line-height:1.2;margin:14px 0 8px}.metric-value small{font-size:20px;margin-left:6px}.leader-dashboard .metric-detail{font-size:13px;line-height:1.5}.leader-dashboard .metric-accent{background:#eaf7f5;border-color:#9bccc6}.leader-dashboard .load-panel{grid-column:1/-1}.load-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.load-heading h3{font-size:17px;margin:0}.load-heading>span{font-size:13px;color:var(--muted)}.department-load{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px 28px}.load-label{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:9px}.load-label small{font-size:12px;color:var(--muted);font-weight:400}.load-track{height:7px;border-radius:8px;overflow:hidden;background:#e9eff2}.load-track>span{display:block;height:100%;background:#23968d;border-radius:8px;transition:width .3s}.metrics-method{font-size:13px;line-height:1.6;color:var(--muted);max-width:950px}.demo-grid button:focus-visible{outline:3px solid #23968d;outline-offset:2px}
@media(max-width:1050px){.leader-dashboard .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.leader-heading{align-items:start}}@media(max-width:600px){.leader-dashboard .metrics{grid-template-columns:1fr}.leader-heading,.load-heading{display:block}.leader-heading>p{text-align:left;margin-top:12px}.load-heading>span{display:block;margin-top:8px}.demo-grid{grid-template-columns:1fr}}
