:root{--bg:#f6f7fb;--ink:#233047;--muted:#64748b;--nav:#17243c;--blue:#5151d6;--line:#e7eaf2}
.page{max-width:1540px;margin:auto}.sidebar .brand{font-size:18px}.nav-button.active{background:#ffffff12;box-shadow:inset 3px 0 #aaa6ff}.nav-button.active .icon{color:#c4bfff}.topbar{background:#ffffffed;backdrop-filter:blur(12px)}
.wb-top-search{display:flex;align-items:center;gap:9px;color:#64748b;background:#f6f7fb;border:1px solid var(--line);border-radius:9px;padding:8px 11px;font-size:12px}.wb-top-search kbd{font:10px inherit;border:1px solid #dce0eb;background:white;border-radius:4px;padding:2px 4px;color:#8790a3;margin-left:18px}
.wb-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:8px 0 29px}.wb-hero-label,.wb-kicker{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#77829b}.wb-hero-label{display:flex;align-items:center;gap:8px}.wb-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#40a682;box-shadow:0 0 0 4px #40a68214}.wb-hero h1{font-size:34px;letter-spacing:-1.2px;line-height:1.25;margin-top:15px}.wb-hero h1 span{font-size:16px;font-weight:500;letter-spacing:0;display:block;color:#64748b;margin-top:10px}.wb-hero p{font-size:13px;color:#64748b;line-height:1.7;margin:8px 0 14px}.wb-profile,.wb-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.wb-hero-actions{flex-shrink:0}.wb-hero-actions .primary{box-shadow:0 5px 12px #5151d620}
.wb-tag{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:5px 8px;font-size:11px;line-height:1.3;font-weight:600;background:#f0f1f8;color:#5c6583;overflow-wrap:anywhere}.wb-tag.green{color:#25755c;background:#eaf7f1}.wb-tag.amber{color:#97601b;background:#fff5e4}.wb-tag.muted{color:#727c90;background:#f2f3f7}
.wb-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.wb-stat{position:relative;border:1px solid var(--line);border-radius:14px;background:#fff;padding:19px 21px;display:flex;flex-direction:column;gap:8px;min-width:0;box-shadow:0 2px 3px #182c4a02}.wb-stat strong{font-size:29px;font-weight:650;letter-spacing:-1px}.wb-stat>span:not(.wb-stat-icon){font-size:12px;font-weight:600}.wb-stat small{color:#8b94a5;font-size:10px}.wb-stat-icon{position:absolute;right:17px;top:18px;display:grid;place-items:center;width:32px;height:32px;background:#f3f2ff;border-radius:10px;color:#7270d9}.wb-stat-icon .icon{width:16px;height:16px}
.wb-day-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.wb-day-main,.wb-day-side{display:flex;flex-direction:column;gap:20px;min-width:0}.wb-card{padding:24px;border-radius:15px;border:1px solid var(--line);box-shadow:0 2px 4px #182c4a02}.wb-card h2{font-size:16px;font-weight:700;letter-spacing:-.3px;line-height:1.5}.wb-card h3{font-size:14px;font-weight:650;line-height:1.5}.wb-card p{color:#64748b;font-size:12px;line-height:1.75}.wb-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.wb-card-head p{margin-top:5px}.wb-card-head .wb-kicker{display:block;margin-bottom:6px}.wb-text-button{background:none;color:#6060bf;display:inline-flex;gap:7px;align-items:center;padding:2px 0;font-size:11px;font-weight:600;line-height:1.5;text-align:left}.wb-text-button .icon{width:14px;height:14px}.wb-muted{font-size:12px;color:#718096;line-height:1.65}.wb-warning{font-size:12px;line-height:1.7;color:#97601b;background:#fff7e9;border:1px solid #f4e1ba;border-radius:9px;padding:11px}.wb-footnote{margin-top:15px!important;font-size:11px!important;line-height:1.7!important;color:#7b8499!important}
.wb-alert{display:flex;align-items:center;gap:14px;padding:15px 18px;background:#fffaf1;border:1px solid #f1e2c5;border-radius:12px;margin-bottom:22px;color:#9c743c}.wb-alert>div{flex:1;min-width:0}.wb-alert strong{font-size:12px;font-weight:650}.wb-alert p{font-size:11px;line-height:1.7;color:#9b805a;margin-top:4px}.wb-alert>.icon{align-self:flex-start;margin-top:3px;width:18px}.wb-alert .btn{flex-shrink:0;background:#ffffffa0;border-color:#e9d7b8;color:#8d6c39}
.wb-chat-preview{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid #f0f2f7;color:var(--ink);text-decoration:none!important}.wb-chat-preview:last-child{border-bottom:0;padding-bottom:0}.wb-chat-preview>span:nth-child(2){min-width:0;flex:1}.wb-chat-preview strong{font-size:12px;line-height:1.6;display:block}.wb-chat-preview p{font-size:12px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0 7px;overflow-wrap:anywhere}.wb-chat-preview small{font-size:10px;color:#8d98a9}.wb-chat-avatar{width:34px;height:34px;display:grid;place-items:center;background:#ebf5fc;color:#4886b1;border-radius:11px;font-size:11px;font-weight:700;flex-shrink:0}.wb-chat-preview>.icon{width:15px;color:#a2adbd;margin-top:7px}.wb-chat-preview:hover strong{color:var(--blue)}
.wb-role-prompts{display:grid;grid-template-columns:1fr;gap:9px}.wb-role-prompts button{display:flex;align-items:center;gap:11px;padding:12px 13px;background:#f8f8fd;color:#535c79;border:1px solid #edeef6;border-radius:9px;font-size:12px;line-height:1.5;text-align:left}.wb-role-prompts button:hover{border-color:#cfcff0;background:#f3f2ff}.wb-role-prompts button span{flex:1}.wb-role-prompts .icon{width:15px;height:15px;color:#9692c7}.wb-feature-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#efedfc;color:#7770cd;margin-bottom:13px}.wb-meeting{background:linear-gradient(145deg,#fff 30%,#f9f8ff)}.wb-meeting>p{margin:7px 0 17px}.wb-meeting label{font-size:11px;margin-top:12px}.wb-meeting input,.wb-meeting select{font-size:12px;padding:11px}.wb-meeting form>.btn{width:100%;margin-top:16px}.wb-meeting details{margin-top:13px;color:#718096;font-size:11px}.wb-meeting summary{cursor:pointer;padding:3px 0}.wb-meeting .form-field{margin-top:12px}.wb-next-meeting{padding:13px 0;border-top:1px solid var(--line);margin-top:14px}.wb-next-meeting strong{display:block;font-size:12px}.wb-next-meeting small{display:block;margin-top:6px;font-size:11px}
.wb-source-row{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #f0f2f7;min-width:0}.wb-source-row:last-child{border-bottom:0}.wb-source-row>div:not(.wb-source-actions){min-width:0;flex:1}.wb-source-row strong{font-size:12px;font-weight:650;display:block;overflow-wrap:anywhere}.wb-source-row span:not(.wb-provider,.wb-tag){display:block;font-size:11px;color:#7a859b;margin-top:5px;line-height:1.6}.wb-source-row small{display:block;font-size:10px;line-height:1.7;margin-top:4px;color:#8a95a7}.wb-provider{flex-shrink:0;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:13px;font-weight:700;color:#6870ae;background:#eff0fb}.wb-provider.telegram{color:#418cb6;background:#ebf6fc}.wb-provider.google_sheets{color:#358368;background:#eaf6ee}.wb-provider.amocrm{color:#4b8fb7;background:#eaf5fb}.wb-provider.bitrix24{color:#5f9fa9;background:#eaf7f8}.wb-source-actions{display:flex;gap:6px;flex-wrap:wrap}.wb-source-list.compact .wb-source-row{align-items:flex-start;position:relative;padding-bottom:37px}.wb-source-list.compact .wb-tag{position:absolute;bottom:12px;left:44px;font-size:10px;padding:3px 6px}.wb-source-list.compact .wb-source-row:last-child{padding-bottom:33px}.wb-source-list.compact+.wb-text-button{margin-top:13px}.wb-help-card{padding:5px 22px 14px}.wb-help-card h3{font-size:13px;margin-bottom:7px}.wb-help-card p{font-size:11px;color:#8a94a8;line-height:1.8;margin-bottom:12px}.wb-help-card .wb-feature-icon{background:#edf1f7;color:#8a99b5}
.wb-action-item{padding:16px 0;border-bottom:1px solid #eef0f5}.wb-action-item:last-child{border-bottom:0}.wb-item-top{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:11px;margin-bottom:9px}.wb-action-item h3{margin:0 0 6px}.wb-action-item>p{font-size:11px;margin-bottom:8px}.wb-origin{display:inline-flex;align-items:center;gap:6px;color:#717998;font-size:11px;line-height:1.6}.wb-origin .icon{width:12px;height:12px;flex-shrink:0}.wb-item-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.wb-late{color:#b37138}.wb-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}.wb-confirmed-tasks{margin-bottom:25px}.wb-legacy-task{display:flex;align-items:center;gap:12px;color:var(--ink);padding:15px 0;border-top:1px solid #f0f2f7;text-decoration:none!important}.wb-legacy-task>span:nth-child(2){flex:1;min-width:0}.wb-legacy-task strong{font-size:12px;display:block;line-height:1.6}.wb-legacy-task small{font-size:10px;display:block;margin-top:4px}.wb-task-check{color:#8b8aca;background:#f3f2fc;border-radius:8px;padding:7px;display:flex}.wb-task-check .icon{width:15px}.wb-legacy-task>.icon{width:14px;color:#9ca7ba}.tg-task-button{display:inline-flex;align-items:center;gap:5px;background:transparent;color:#7c89a4;font-size:10px;padding:9px 0 0}.tg-task-button:hover{color:#5151d6}.tg-task-button .icon{width:12px;height:12px}
dialog.wb-search-dialog{width:min(820px,calc(100vw - 24px));max-width:820px}.wb-search-input{display:flex;align-items:center;gap:9px;padding:7px 7px 7px 12px;border:1px solid #dce0ee;border-radius:11px;background:#f9faff}.wb-search-input>.icon{color:#8d96aa}.wb-search-input input{background:none;border:0;padding:7px 4px}.wb-search-input input:focus-visible{outline-offset:0}.wb-search-result{padding:20px 0;border-bottom:1px solid var(--line)}.wb-search-result>div{display:flex;gap:12px;align-items:center;margin-bottom:10px}.wb-search-result h3{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.wb-search-result p{white-space:pre-wrap;font-size:12px;line-height:1.8;color:#64748b;max-height:150px;overflow:auto;margin:9px 0}.wb-search-empty{min-height:150px;display:flex;gap:12px;align-items:center;justify-content:center;color:#8d96aa;font-size:13px;text-align:center}.wb-search-empty>.icon{width:24px;height:24px}#wb-search-results{margin-top:20px}#wb-propose-form>.form-field{margin-top:15px}#wb-propose-form select{margin-bottom:15px}
@media(min-width:1500px){.wb-day-grid{grid-template-columns:minmax(0,1fr) 370px}.wb-card{padding:27px}}
@media(max-width:1150px){.wb-day-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.wb-card{padding:19px}.wb-stats{gap:10px}.wb-stat{padding:17px 15px}.wb-stat>span:not(.wb-stat-icon){max-width:140px;line-height:1.5}.wb-stat-icon{right:12px}.wb-hero-actions{flex-direction:column;align-items:stretch}.wb-top-search kbd,.topbar-status{display:none}}
@media(max-width:850px){.wb-day-grid{grid-template-columns:minmax(0,1fr)}.wb-day-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.wb-help-card{grid-column:1/-1}.wb-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wb-hero{gap:16px}.wb-source-row{flex-wrap:wrap}.wb-source-actions{width:100%;padding-left:44px}.wb-item-grid{grid-template-columns:1fr}.wb-hero h1{font-size:29px}}
@media(max-width:520px){.page{padding:20px 14px}.wb-hero{display:block;padding-bottom:22px}.wb-hero h1{font-size:29px}.wb-hero-actions{flex-direction:row;margin-top:20px;gap:8px}.wb-hero-actions .btn{flex:1;padding:10px 8px;font-size:11px}.wb-hero-label{font-size:8px;letter-spacing:1.1px}.wb-stats{gap:9px;margin-bottom:16px}.wb-stat{padding:15px 13px;gap:7px}.wb-stat strong{font-size:26px}.wb-stat-icon{width:26px;height:26px;top:13px;right:11px;border-radius:8px}.wb-stat-icon .icon{width:13px;height:13px}.wb-stat small{font-size:9px;line-height:1.6}.wb-stat>span:not(.wb-stat-icon){font-size:10px}.wb-day-side{display:flex}.wb-card{padding:18px}.wb-card-head{gap:8px}.wb-card-head h2{font-size:15px}.wb-card-head .wb-kicker{font-size:8px;letter-spacing:1px}.wb-text-button{font-size:10px}.wb-alert{align-items:flex-start;padding:13px;gap:10px;flex-wrap:wrap}.wb-alert .btn{margin-left:28px}.wb-alert strong{font-size:11px}.wb-top-search{padding:8px;border:0;background:transparent}.wb-top-search span,.wb-top-search kbd{display:none}.wb-search-input .btn{padding:10px;font-size:11px}.wb-search-input input{font-size:12px}.wb-search-input{gap:4px;padding-left:9px}.wb-chat-preview{gap:10px}.wb-chat-avatar{width:30px;height:30px;border-radius:9px}.wb-help-card{padding:3px 18px 10px}.wb-source-row>.wb-tag{font-size:10px}.wb-card .empty-state{padding:22px 5px}.wb-card .empty-state h3{font-size:13px}.wb-card .empty-state p{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wb-top-search,.wb-role-prompts button{transition:none}}

.wb-search-title{background:transparent;color:var(--blue);padding:0;text-align:left}.wb-search-title:hover{text-decoration:underline}.wb-card .empty-state{min-height:0;padding:36px 15px}.wb-card .empty-icon{width:44px;height:44px;margin-bottom:12px}.wb-card .empty-state h3{font-size:13px}.wb-card .empty-state p{max-width:390px;font-size:12px}

.wb-onboard-dialog{width:min(700px,calc(100vw - 24px));max-width:700px}.wb-onboard-step{padding:20px 0;border-bottom:1px solid var(--line)}.wb-onboard-step h3{font-size:14px;display:flex;align-items:center;gap:10px;margin-bottom:20px}.wb-onboard-step h3>span{display:grid;place-items:center;border-radius:8px;width:25px;height:25px;color:#7166d1;background:#f0edfc;font-size:11px}.wb-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.wb-onboard-chats{max-height:210px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:4px 12px;margin-top:12px}.wb-onboard-chats label{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f1f3f7;margin:0;font-size:12px;line-height:1.6;font-weight:500}.wb-onboard-chats label:last-child{border:0}.wb-onboard-chats input{width:16px;height:16px;flex-shrink:0}.wb-onboard-chats small{display:block;font-size:10px;font-weight:400}#wb-onboard-chosen{font-size:11px;color:#7770c4;margin-top:9px}#wb-onboard-form select{font-size:12px}.wb-onboard-step label{font-size:12px}@media(max-width:520px){.wb-form-grid{grid-template-columns:1fr}.wb-onboard-step{padding:15px 0}.wb-onboard-dialog .dialog-sub{font-size:12px}}

.wb-feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:25px;padding-top:15px;border-top:1px solid var(--line)}.wb-feedback>span{color:#7b8499;font-size:11px;margin-right:8px}

.wb-staff-picker{margin:12px 0 17px;padding:12px 14px;border:1px solid #e2e7fa;border-radius:12px;background:#f8faff}.wb-staff-picker summary{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#5965ce;cursor:pointer}.wb-staff-picker summary svg{width:17px;height:17px}.wb-staff-picker[open] summary{margin-bottom:14px}.wb-staff-picker label{font-size:12px}.wb-staff-results{max-height:250px;overflow:auto;margin:9px 0}.wb-staff-candidate{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e7ecf7}.wb-staff-candidate:last-of-type{border:0}.wb-staff-candidate>div{flex:1;min-width:0}.wb-staff-candidate strong{display:block;font-size:13px;overflow-wrap:anywhere}.wb-staff-candidate small{display:block;font-size:12px;color:#7e8aa5;margin-top:4px;overflow-wrap:anywhere}.wb-staff-candidate span{display:block;font-size:11px;color:#99a3b7;margin-top:4px}.wb-staff-candidate .btn{flex:0 0 auto}.wb-staff-selection{display:flex;gap:9px;align-items:flex-start;font-size:12px;padding:12px;border-radius:10px;background:#eef7f3;border:1px solid #deeee6;margin:10px 0 15px;overflow-wrap:anywhere}.wb-staff-selection>svg{width:16px;height:16px;flex:0 0 16px;color:#459779}.wb-staff-selection>span{flex:1;min-width:0}.wb-staff-selection small{display:block;font-size:11px;line-height:1.6;color:#758b86;margin-top:5px}.wb-staff-selection a{font-size:11px;flex:0 0 auto}@media(max-width:650px){.wb-staff-picker{padding:11px}.wb-staff-candidate{gap:8px;flex-wrap:wrap}.wb-staff-selection{flex-wrap:wrap}.wb-staff-selection a{margin-left:25px}}
