/* Selly workspace: shared visual language with the approved landing page. */
@font-face{font-family:Selly Sans;src:url('/assets/SellySans.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--ink:#111;--muted:#777;--line:#e7e7e7;--canvas:#f7f7f7;--surface:#fff;--radius:22px}
body{font-family:'Selly Sans',Arial,sans-serif;background:var(--canvas);color:var(--ink)}
button,input,textarea,select{font:inherit}button{border-radius:12px;border-color:var(--line);transition:background .15s,box-shadow .15s}button.primary,.primary{background:#080808;border-color:#080808;color:#fff;border-radius:30px;padding:12px 20px}button.primary:hover{background:#292929}button.secondary{background:#f0f0f0;border-color:transparent;color:#111;border-radius:30px}button.secondary:hover{background:#e5e5e5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #0089ff;outline-offset:3px}input,textarea,select{border-color:#e4e4e4;background:#fff;border-radius:12px;padding:13px}input::placeholder,textarea::placeholder{color:#999}h1,h2,h3{font-weight:500;letter-spacing:-.035em}h2{font-size:clamp(28px,3vw,42px);line-height:1.13}p{line-height:1.65}small,.muted{color:var(--muted)}[hidden]{display:none!important}
.shell{grid-template-columns:224px minmax(0,1fr);background:var(--canvas)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 12px;gap:0;overflow-y:auto}.brand{font-weight:550;letter-spacing:-1px;font-size:26px;padding:0 12px}.brand img{width:37px;height:37px;object-fit:contain}.workspace{margin:24px 10px 20px;border:1px solid var(--line);border-radius:13px;padding:12px;font-size:12px}.workspace small{font-size:10px;margin-top:5px;color:#999}.sidebar nav{display:grid;gap:3px}.sidebar nav button{border:0;border-radius:10px;color:#777;padding:10px 12px;font-size:12px;min-height:39px}.sidebar nav button .icon{width:17px;height:17px;opacity:.65}.sidebar nav button.active{background:#111;color:#fff}.sidebar nav button.active .icon{filter:invert(1);opacity:1}.sidebar-bottom{border-top:1px solid var(--line);padding-top:17px;margin-top:22px;gap:8px}.sidebar-bottom .agent{width:34px;height:42px}.sidebar-bottom small{font-size:10px}.sidebar-bottom button{border:0}.main{min-width:0}.main>header{height:81px;background:var(--canvas);border-bottom:1px solid var(--line);padding:0 32px}.main>header h1{font-size:22px}.main>header .status{font-size:11px;color:#888;background:#eee;border-radius:20px;padding:8px 11px}.main>header .status.live{background:#111;color:#fff}.content{max-width:1600px;margin:auto;padding:30px 32px 55px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:none;padding:26px}.panel h3{font-size:19px}.panel-head{gap:15px;align-items:center}.toolbar{margin-bottom:24px;gap:9px}.toolbar p,.intro{color:#777;font-size:14px}.cards{gap:18px}.tag{background:#f0f0f0;color:#666;border-radius:20px;font-size:10px;padding:6px 9px;border:0}.stats{gap:16px;margin:24px 0}.stat{border:1px solid var(--line);background:#fff;border-radius:20px;padding:22px}.stat small{color:#888;font-size:12px}.stat strong{font-size:32px;font-weight:450;letter-spacing:-1px;margin-top:10px}.table-wrap{border:1px solid var(--line);border-radius:20px;background:#fff;overflow:auto}table{border-collapse:collapse;width:100%}th{background:#fafafa;font-weight:450;color:#888;font-size:11px;text-align:left}td,th{border-bottom:1px solid #efefef;padding:17px 18px;font-size:12px}tr:last-child td{border-bottom:0}td button{font-size:11px}.text-button{background:none;border:0;padding:0;text-align:left;font-weight:500}.text-button:hover{background:none;text-decoration:underline}.empty{padding:42px 25px;color:#999;background:transparent;border:0;line-height:1.7;text-align:center}.icon{width:18px;height:18px}
.agent,.agent.chosen-cyan{display:inline-flex;align-items:center;justify-content:center;position:relative;background:none!important;overflow:visible;border-radius:0;flex-shrink:0}.agent img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 5px #00000012)}.agent.large{width:95px;height:110px}.agent.hero-agent{width:200px;height:210px}.workspace-hero{display:flex;justify-content:space-between;align-items:center;padding:35px 40px;background:#fff;border:1px solid var(--line);border-radius:26px;gap:30px}.workspace-hero h2{margin:13px 0 18px;font-size:40px}.workspace-hero p{color:#888;font-size:14px}.hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.eyebrow{font-size:10px;letter-spacing:.08em;color:#888}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.readiness-track{display:block;width:100%;height:5px;border:0;border-radius:9px;overflow:hidden;background:#eee;margin:23px 0 16px;accent-color:#111}.readiness-track::-webkit-progress-bar{background:#eee}.readiness-track::-webkit-progress-value{background:#111}.checklist{border:0;border-bottom:1px solid #eee;border-radius:0;padding:17px 0;color:#555;background:none;font-size:12px;gap:12px}.checklist:hover{background:#fafafa}.check-state{color:#aaa}.check-state.done{color:#111}.overview-panel h3{font-size:30px;line-height:1.2;margin:24px 0 18px}.overview-panel p{color:#888;font-size:13px}.overview-panel button{margin-top:17px}.overview-divider{height:1px;background:var(--line);margin:29px 0}.overview-panel h4{font-weight:450;margin-bottom:8px}.page-intro{margin:8px 0 32px;max-width:750px}.page-intro h2{margin:13px 0 20px}.page-intro p{color:#888;font-size:14px}.setup-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.form-grid{gap:20px}.form-grid>.primary{justify-self:start}.sector-profile h3{margin-top:24px}.sector-profile h4{font-weight:500;margin:25px 0 8px}.sector-profile p{color:#777;font-size:13px}.sector-profile small{display:block;margin-top:30px;font-size:11px;line-height:1.6}.agent-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:27px}.agent-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:27px 15px;display:flex;flex-direction:column;align-items:center;gap:10px}.agent-card.selected{border:2px solid #111;padding:26px 14px}.agent-card:hover{background:#f0f0f0}.agent-card strong{font-weight:450;margin-top:10px}.agent-card small{font-size:11px}.policy-banner{background:#111;color:#fff;border-radius:22px;padding:28px;margin-bottom:24px}.policy-banner strong{font-size:20px;font-weight:450}.policy-banner p{color:#fff;font-size:13px;margin:15px 0 0;max-width:850px}.skills-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.skills-grid details{padding:20px 24px}.skills-grid summary{cursor:pointer;font-size:13px;line-height:1.5}.skills-grid p{white-space:pre-wrap;color:#888;font-size:12px;margin:20px 0 0}.audit-list article{display:grid;grid-template-columns:150px 1fr 120px;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center;font-size:12px}.audit-list article:last-child{border:0}.audit-list time,.audit-list span{font-size:11px;color:#999}.audit-list strong{font-weight:450}.audit-list small{display:block;margin-top:5px;overflow-wrap:anywhere}
.chat-layout{display:grid;grid-template-columns:260px minmax(300px,1fr) 250px;height:calc(100dvh - 144px);min-height:480px;border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden}.chat-list{background:#fafafa;border-right:1px solid var(--line);overflow:auto;padding:14px}.chat-list .panel-head{padding:4px 4px 12px}.chat-list .panel-head h3{font-size:15px;margin:0}.list-search{margin:2px 0 14px}.list-search input{font-size:11px;background:#fff;padding:11px}.chat-item{background:transparent;border:0;border-radius:12px;padding:13px 9px;gap:10px;width:100%;text-align:left}.chat-item.selected{background:#ededed}.chat-item .agent{width:34px;height:40px}.chat-item small{color:#999}.chat-item strong{font-weight:500}.chat-pane{background:#fff;min-height:0}.chat-head{padding:18px 20px;border-color:var(--line);gap:10px}.chat-head h3{font-size:15px}.chat-head small{color:#999;line-height:1.5}.chat-head button{font-size:10px;padding:9px 13px}.messages{gap:14px;padding:24px}.message{background:#f1f1f1;border:0;border-radius:16px;padding:12px 15px;font-size:13px;color:#333}.message.out{background:#111;color:#fff}.message small{color:#888}.message.out small{color:#fff}.message p{line-height:1.6}#send{align-items:flex-end;border-color:var(--line);padding:15px;gap:10px}#send textarea{font-size:12px;min-height:52px;max-height:150px}#send button{font-size:12px;padding:13px 17px}.chat-context{border-left:1px solid var(--line);overflow:auto;background:#fafafa}.customer-context{padding:24px 20px}.contact-monogram{width:46px;height:46px;border-radius:50%;background:#e9e9e9;display:grid;place-items:center;font-size:20px;margin-bottom:15px}.customer-context h3{font-size:17px;margin-bottom:7px}.customer-context>p{font-size:12px;color:#888}.customer-context dl{font-size:12px}.customer-context dt{font-size:10px;color:#999;margin:20px 0 6px}.customer-context dd{margin:0;overflow-wrap:anywhere;line-height:1.6}.customer-context h4{font-size:12px;font-weight:500;margin-top:24px}.customer-context button{font-size:11px;width:100%;margin-top:20px}.context-summary{display:flex;gap:22px;border-block:1px solid var(--line);padding:18px 0;margin-top:25px;font-size:10px;color:#888}.context-summary strong{display:block;font-size:17px;font-weight:450;color:#111;margin-top:8px}.notice{background:#f0f0f0;color:#555;border:0;font-size:12px;line-height:1.6}dialog{border-color:var(--line);border-radius:24px;padding:28px;box-shadow:0 30px 100px #0002}dialog::backdrop{background:#0003;backdrop-filter:blur(5px)}.modal-head h2{font-size:25px}.modal-footer{border-top:1px solid var(--line);padding-top:20px}.settings-form{max-width:900px}.settings-form h3{border-top:1px solid var(--line);padding-top:25px;margin-top:15px}.settings-form>h3:first-child{border:0;margin:0;padding:0}.agent-option{background:#fafafa;border:1px solid var(--line);border-radius:15px;padding:14px;align-items:center;text-align:center;font-size:11px}.agent-option .agent{margin:auto}.signin aside{background:#f7f7f7}.signin aside h1{font-weight:450}.signin p,.signin small{color:#888}.signin main .primary{border-radius:30px}.sidebar nav button.active span{background:#fff;color:#111}
@media(min-width:1450px){.chat-layout{grid-template-columns:280px minmax(350px,1fr) 280px}}
@media(max-width:1200px){.chat-layout{grid-template-columns:240px minmax(300px,1fr)}.chat-context{display:none}.dashboard-grid{grid-template-columns:1fr}.workspace-hero{padding:30px}.workspace-hero h2{font-size:35px}}
@media(max-width:900px){.setup-layout{grid-template-columns:1fr}.skills-grid{grid-template-columns:1fr}.agent-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.shell{display:block}.main>header{height:68px;padding:0 18px}.content{padding:20px 16px 35px}.sidebar.open{width:265px;padding:20px 12px}.main>header h1{font-size:19px}.main>header>.secondary{font-size:10px}.workspace-hero{padding:25px 22px;gap:10px}.workspace-hero h2{font-size:28px}.workspace-hero .hero-agent{width:95px;height:125px}.workspace-hero p{font-size:12px}.hero-actions button{font-size:11px}.stats{gap:10px}.stat{padding:18px}.stat strong{font-size:25px}.panel{padding:22px}.page-intro h2{font-size:30px}.chat-layout{grid-template-columns:1fr;height:auto;min-height:0;overflow:hidden}.chat-list{max-height:230px;border-right:0;border-bottom:1px solid var(--line)}.chat-pane{height:65dvh;min-height:400px}.chat-context{display:block;border-left:0;border-top:1px solid var(--line)}.customer-context{padding:23px}.customer-context dl{display:grid;grid-template-columns:1fr 1.5fr;gap:12px}.customer-context dt{margin:0}.customer-context dd{margin:0}.audit-list article{grid-template-columns:1fr;gap:7px}.agent-gallery{gap:12px}.agent-card{padding:22px 10px}.agent-card.selected{padding:21px 9px}.agent-card .large{width:105px;height:115px}.agent-card strong{font-size:13px}.modal-footer{position:sticky;bottom:-28px;background:#fff;padding-bottom:15px}dialog{max-height:88dvh}.form-grid button.primary{min-height:46px}.hero-actions{gap:7px}.hero-actions .secondary{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.nav-group{font-size:9px;color:#aaa;letter-spacing:.025em;margin:19px 12px 7px;display:block}.nav-group:first-child{margin-top:0}.sidebar{scrollbar-width:thin}.sidebar nav button{min-height:36px;padding:8px 12px}.table-search{position:relative;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:10px 16px}.table-search img{width:15px;height:15px;opacity:.5}.table-search input{border:0;padding:8px 0;background:none;font-size:12px;box-shadow:none}.table-search:focus-within{background:#fafafa}
.skill-status{display:inline-block;margin-top:12px;padding:5px 8px;background:#f0f0f0;border-radius:20px;font-size:10px;color:#777}.skills-grid details p{white-space:normal;line-height:1.75}
.chat-back{display:none}.chat-item:hover,.chat-item.selected:hover{background:#ededed}.chat-head>div{flex:1;min-width:0}.chat-head h3{overflow-wrap:anywhere}
@media(max-width:780px){.chat-layout .chat-pane,.chat-layout .chat-context{display:none}.chat-layout .chat-list{max-height:calc(100dvh - 140px);min-height:300px;border:0}.chat-layout.has-active .chat-list{display:none}.chat-layout.has-active .chat-pane{display:flex;height:calc(100dvh - 110px);min-height:300px}.chat-back{display:block;border:0;background:#f0f0f0;border-radius:50%;width:34px;height:34px;padding:0;flex-shrink:0;font-size:18px}.chat-head{padding:14px;gap:10px}#send{padding-bottom:max(12px,env(safe-area-inset-bottom))}.chat-pane .messages{min-height:0}.chat-layout.has-active{border-radius:18px}}
.chat-customer-open{display:none}@media(max-width:1200px){.chat-customer-open{display:inline-flex!important;align-items:center;justify-content:center;width:34px;height:34px;padding:7px!important;border-radius:50%;border:0;background:#f0f0f0}.chat-customer-open .icon{width:16px;height:16px}}
.connection-title{display:flex;align-items:center;gap:10px}.connection-title>img{width:24px;height:24px;object-fit:contain;flex-shrink:0}.connection-passport{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.connection-passport summary{font-size:12px;cursor:pointer}.connection-passport p,.connection-passport small{font-size:11px;line-height:1.75;color:#888}.connection-passport p{margin:15px 0 10px}.connection-passport small{display:block}
.auth-links{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.auth-links .text-button{font-size:12px;color:#777}.signin main form>p{margin:0;color:#888;font-size:13px}.workspace{position:relative;padding-right:35px}.workspace-switch{position:absolute;right:5px;top:10px;border:0;padding:5px;font-size:16px;background:none}
.security-sessions article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-bottom:1px solid var(--line)}.security-sessions article:last-child{border:0}.security-sessions strong{font-size:13px;font-weight:450}.security-sessions small{display:block;color:#999;font-size:11px;margin-top:8px}.security-sessions button{font-size:11px}.main .panel+.panel{margin-top:20px}.main .panel>p{color:#777;font-size:13px}.main .panel>p+button{margin-top:12px}
.yandex-login{display:flex;align-items:center;justify-content:center;gap:12px;padding:13px 20px;margin-top:12px;border-radius:12px;background:#111;color:#fff;text-decoration:none;font-weight:600}.yandex-login span{font-size:23px;line-height:1}.yandex-login:hover{background:#292929}.yandex-login:focus-visible{outline:3px solid #0091ff;outline-offset:3px}
.sidebar-balance{margin:0 12px 12px;padding:12px 14px;text-align:left;background:#f5f5f5;border:0;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:4px;width:calc(100% - 24px);color:#000}.sidebar-balance small{grid-column:1/-1;color:#737373;font-size:11px}.billing-overview{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.balance-number{display:block;font-size:42px;letter-spacing:-.04em;margin:12px 0}.balance-breakdown{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#737373}.payment-method{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #e8e8e8}.payment-method>div{flex:1;min-width:0}.payment-method small,.billing-overview small{display:block;color:#737373;margin-top:8px}.renewal-state{padding-top:12px;border-top:1px solid #e8e8e8}.billing-overview .primary{margin-top:16px}@media(max-width:700px){.billing-overview{grid-template-columns:1fr}.payment-method{flex-wrap:wrap}.payment-method>div{flex-basis:100%}.payment-method button,.payment-method>a{flex:1}.balance-number{font-size:36px}}
.cards>.panel,.billing-overview>.panel{margin-top:0}.check input{accent-color:#000}
.offer-line{display:grid;grid-template-columns:1fr 100px;align-items:end;gap:12px;border-top:1px solid #e8e8e8;padding:12px 0}.offer-line input[type=number]{width:100%}.offer-line .check{align-self:center}@media(max-width:600px){.offer-line{grid-template-columns:1fr}.offer-line>label:last-child{max-width:100px}}
.inline-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.connection-passport,details{margin-top:16px}.cards .panel details{font-size:13px}.panel>.cards{margin-top:20px}

.conversation-filters{display:grid;gap:8px;padding:0 12px 12px}.conversation-filters label{display:grid;gap:4px;font-size:11px;color:#666}.conversation-filters select,.conversation-filters input{width:100%;min-width:0;background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:9px;color:#171717}.conversation-filters button{min-height:36px;border:0;border-radius:10px;background:#111;color:#fff}.conversation-filters .list-search{margin:0}
/* One compact disclosure indicator for every single-select in the service. */
select:not([multiple]){
  appearance:none;
  -webkit-appearance:none;
  background-image:url('/assets/chevron-down.svg');
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:14px 14px;
  padding-right:42px;
  min-height:44px;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
select:not([multiple]):disabled{cursor:not-allowed;color:#888}
@media (forced-colors:active){select:not([multiple]){appearance:auto;-webkit-appearance:auto;background-image:none}}

/* Mobile navigation stays open across metadata refreshes and remains scrollable. */
.mobile-menu-close{display:none}
@media(max-width:780px){.sidebar.open{overflow-y:auto;overscroll-behavior:contain}.sidebar .mobile-menu-close{display:block;align-self:flex-end;margin-bottom:12px;flex-shrink:0}.sidebar.open nav{flex-shrink:0}.sidebar.open .sidebar-bottom{padding-bottom:env(safe-area-inset-bottom,12px)}}

.help-intro{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:12px 0 30px;border-bottom:1px solid var(--line)}.help-intro h2{font-size:42px;letter-spacing:-1.6px;margin-bottom:12px}.help-intro p{color:#777;line-height:1.6}.help-intro img{width:180px;height:200px;object-fit:contain;filter:drop-shadow(0 14px 12px #0002)}.help-search{max-width:560px;margin-top:24px}.help-search input{margin-top:5px}.help-categories{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 38px}.help-categories a{background:#eee;border-radius:22px;padding:10px 15px;text-decoration:none}.help-category{max-width:960px;margin:0 0 40px;scroll-margin-top:25px}.help-category h3{font-size:22px;letter-spacing:-.7px;margin-bottom:20px}.help-article{border-top:1px solid var(--line);padding:20px 0}.help-article summary{cursor:pointer;list-style-position:outside;padding-left:8px;margin-left:16px}.help-article summary strong{font-size:17px;font-weight:600}.help-article summary span{display:block;color:#777;font-size:13px;line-height:1.5;margin-top:6px}.help-body{max-width:780px;padding:18px 0 0 24px;line-height:1.7}.help-body ol{padding-left:22px}.help-body li{padding-left:6px;margin-bottom:12px}.help-body p{color:#666;border-left:2px solid #111;padding-left:18px;margin:24px 0}.help-article[hidden],.help-category[hidden],#help-empty[hidden]{display:none}@media(max-width:780px){.help-intro{gap:16px;align-items:flex-start}.help-intro h2{font-size:31px}.help-intro img{width:74px;height:95px}.help-categories{gap:6px}.help-categories a{font-size:12px;padding:9px 12px}.help-body{padding-left:4px}.help-article summary strong{font-size:16px}}
