:root{color-scheme:light;--ink:#202123;--muted:#737780;--quiet:#9ca0a8;--line:#e5e6e8;--canvas:#fff;--sidebar:#f7f7f8;--soft:#f2f2f3;--accent:#1f5fe0;--accent-dark:#1748b8;--accent-soft:#eaf1fe;--blue-soft:#edf4fb;--lilac-soft:#f3effc;--warn:#fff5df;--danger:#b23b35;--shadow:0 18px 60px #11182718;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--canvas);color:var(--ink);font-size:15px;line-height:1.5}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.hidden{display:none!important}
.app-shell{min-height:100dvh;display:flex;background:#fff}
.sidebar{width:252px;flex:0 0 252px;background:var(--sidebar);border-right:1px solid #ececef;padding:18px 12px;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:10px;padding:8px 10px;font-weight:720;font-size:14px;letter-spacing:-.02em}
.brand-symbol{width:28px;height:28px;display:grid;place-items:center;color:var(--accent);font-size:25px;line-height:1}
.nav-label{padding:30px 12px 9px;font-size:10px;font-weight:750;letter-spacing:.12em;color:#9a9da4}
.side-nav{display:grid;gap:4px}
.nav-item{height:42px;border:0;border-radius:9px;background:transparent;display:flex;align-items:center;gap:11px;padding:0 12px;color:#42454b;text-align:left;font-size:13px;font-weight:540}
.nav-item:hover,.nav-item.active{background:#ebebed;color:#17181a}
.nav-icon{width:18px;text-align:center;color:#777b82;font-size:17px}
.nav-count{margin-left:auto;border-radius:99px;background:#e4e5e7;color:#62666d;padding:1px 7px;font-size:10px}
.sidebar-bottom{margin-top:auto;border-top:1px solid #e8e8ea;padding-top:12px;display:grid;gap:8px}
.profile{display:flex;align-items:center;gap:10px;padding:8px}
.avatar{width:32px;height:32px;border-radius:50%;background:#dce7fb;color:#1748b8;display:grid;place-items:center;font-weight:750}
.profile-copy{display:grid;line-height:1.25}.profile-copy b{font-size:12px;font-weight:650}.profile-copy small{font-size:10px;color:var(--muted);margin-top:4px}
.logout{width:100%}
.main-column{min-width:0;flex:1;display:flex;flex-direction:column}
.topbar{height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,48px);border-bottom:1px solid #f0f0f1;background:#ffffffec;position:sticky;top:0;z-index:5;backdrop-filter:blur(10px)}
.mobile-brand{display:none}.topbar-right{display:flex;align-items:center;gap:12px}
.secure-pill{display:inline-flex;align-items:center;gap:7px;color:#777b82;font-size:11px}.secure-pill i{width:7px;height:7px;border-radius:50%;background:#1f5fe0}
.icon-button{width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:10px;color:#555961;display:inline-grid;place-items:center;font-size:20px;line-height:1}
.icon-button:hover{background:var(--soft)}
.mobile-logout{display:none}
.workspace{width:min(100%,1060px);margin:0 auto;padding:38px clamp(20px,5vw,58px) 64px}
.page{display:none}.page.active{display:block}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 26px}
.page-heading h1{margin:2px 0 4px;font-size:28px;font-weight:650;letter-spacing:-.045em;line-height:1.2}
.eyebrow{margin:0 0 6px;font-size:10px;letter-spacing:.12em;font-weight:750;color:#858991}
.subtle{margin:0;color:var(--muted);font-size:13px}
.button{border:1px solid transparent;border-radius:10px;min-height:42px;padding:9px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:650;transition:background .15s,transform .12s}
.button:active{transform:scale(.985)}
.button.primary{background:var(--accent);color:#fff}
.button.primary:hover{background:var(--accent-dark)}
.button.secondary{background:#fff;border-color:var(--line);color:#33363b}
.button.secondary:hover{background:#f7f7f8}
.button.full{width:100%}
.new-order-btn{white-space:nowrap}
.text-button{border:0;background:transparent;color:#555961;font-size:12px;font-weight:600;padding:8px 0}
.text-button:hover{color:var(--accent-dark)}
.text-button span{margin-left:4px}
.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:23px}
.stat-card{min-height:142px;border:1px solid var(--line);border-radius:13px;padding:17px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto auto;column-gap:11px;align-content:start}
.stat-icon{width:34px;height:34px;border-radius:10px;grid-row:1/4;display:grid;place-items:center;font-size:18px}
.stat-icon.mint{background:var(--accent-soft);color:var(--accent-dark)}.stat-icon.sky{background:var(--blue-soft);color:#3673aa}.stat-icon.lilac{background:var(--lilac-soft);color:#7657b3}
.stat-label{font-size:11px;color:var(--muted);align-self:center}.stat-card>b{font-size:27px;line-height:1.1;letter-spacing:-.04em;margin-top:8px}.stat-card>small{font-size:10px;color:var(--quiet);margin-top:5px}
.section-card{border:1px solid var(--line);border-radius:13px;padding:19px;margin:13px 0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.section-heading h2{margin:0;font-size:15px;font-weight:650;letter-spacing:-.02em}.section-heading p{margin:3px 0 0;font-size:11px;color:var(--muted)}
.list-stack{display:grid}
.loading-row{padding:22px;color:var(--muted);font-size:12px;text-align:center}
.mini-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;border-top:1px solid #f0f0f1;padding:12px 1px}
.mini-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f0f4f2;color:#1f5fe0;font-size:12px;font-weight:700}
.mini-main{min-width:0}.mini-main b{display:block;font-size:12px;font-weight:640;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-main small{display:block;color:var(--muted);font-size:10px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.status{display:inline-flex;align-items:center;gap:6px;border-radius:99px;background:#f0f1f2;color:#666a71;padding:4px 9px;font-size:10px;font-weight:620;white-space:nowrap}
.status:before{content:"";width:6px;height:6px;border-radius:50%;background:#a2a6ad}
.status.new{background:#edf5f1;color:#14795f}.status.new:before{background:#1aa47f}
.status.contacted{background:#eef4fb;color:#3973a8}.status.contacted:before{background:#548cc0}
.status.interview{background:#f4effb;color:#7858ad}.status.interview:before{background:#8a68c1}
.status.hired{background:#eaf5ed;color:#377449}.status.hired:before{background:#4d9a5e}
.status.rejected{background:#f8eeee;color:#9b514b}.status.rejected:before{background:#bf6259}
.toolbar{display:flex;align-items:center;gap:9px;margin:0 0 16px}
.search-box{display:flex;align-items:center;gap:8px;min-width:0;flex:1;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;color:#858991}
.search-box:focus-within{border-color:#9bceb9;box-shadow:0 0 0 3px #1f5fe012}
.search-box>span{font-size:20px;line-height:1}.search-box input{width:100%;border:0;outline:none;background:transparent;color:var(--ink);font-size:12px;min-width:0}
.search-box input::placeholder{color:#a0a3aa}
.filter-select,.input-control{height:42px;border:1px solid var(--line);border-radius:10px;padding:0 11px;background:#fff;color:#33363b;font-size:12px;outline:none}
.filter-select:focus,.input-control:focus{border-color:#9bceb9;box-shadow:0 0 0 3px #1f5fe012}
.lead-list,.order-list{display:grid;gap:9px}
.lead-card,.order-card{width:100%;border:1px solid var(--line);border-radius:12px;padding:15px 16px;background:#fff;text-align:left;transition:border-color .15s,box-shadow .15s}
.lead-card:hover,.order-card:hover{border-color:#cfd5d2;box-shadow:0 4px 14px #1018280b}
.lead-card-top,.order-card-top{display:flex;align-items:center;gap:12px}
.lead-card .mini-avatar{width:40px;height:40px;font-size:13px;flex:0 0 auto}
.lead-card-info,.order-card-info{flex:1;min-width:0}
.lead-card-name,.order-card-name{font-size:13px;font-weight:660;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lead-card-secondary,.order-card-secondary{font-size:11px;color:var(--muted);display:block;margin-top:3px}
.lead-card-foot,.order-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid #f0f0f1}
.lead-answer{font-size:10px;color:#666a71;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:68%}
.order-amount{font-size:13px;font-weight:700}
.empty-state{padding:55px 15px;text-align:center;border:1px dashed #dddfe2;border-radius:14px;color:#656970}
.empty-icon{width:42px;height:42px;border-radius:14px;background:#f1f6f3;color:#1f5fe0;display:grid;place-items:center;margin:0 auto 12px;font-size:21px}
.empty-state b{font-size:13px}.empty-state p{margin-top:5px}
.message{padding:11px 12px;border-radius:10px;margin:11px 0;background:var(--warn);color:#77561c;font-size:12px}
.message.error{background:#fff0ef;color:var(--danger)}.message.success{background:#e9f7ef;color:#277047}
.dialog{width:min(100% - 28px,550px);max-height:min(88dvh,840px);border:1px solid var(--line);border-radius:18px;padding:22px;background:#fff;color:var(--ink);box-shadow:var(--shadow);overflow:auto}
.dialog::backdrop{background:#17191c68;backdrop-filter:blur(2px)}
.dialog.small-dialog{width:min(100% - 28px,450px)}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.dialog-head h2{font-size:20px;line-height:1.25;letter-spacing:-.035em;margin:0;font-weight:650}
.field-label{display:block;margin:13px 0 6px;font-size:11px;font-weight:650;color:#44474d}
.field-label span{color:var(--muted);font-weight:450}
.dialog .input-control{width:100%;height:46px;padding:10px 12px;font-size:13px}
.dialog .note-area{height:auto;min-height:94px;resize:vertical}
.dialog .compact-area{height:auto;min-height:62px;resize:vertical}
.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:19px}
.dialog-actions .button{min-width:110px}
.detail-grid{display:grid;gap:0;border-top:1px solid var(--line);margin-bottom:13px}
.detail-row{display:grid;grid-template-columns:minmax(115px,.7fr) minmax(0,1.3fr);gap:14px;padding:10px 0;border-bottom:1px solid #f0f0f1;font-size:12px}
.detail-row span{color:var(--muted)}.detail-row b{font-weight:550;white-space:pre-wrap;overflow-wrap:anywhere}
.share-link{padding:12px;border-radius:9px;background:#f5f5f6;font-size:11px;overflow-wrap:anywhere;color:#3e4147}
.login-page{flex:1;display:grid;place-items:center;padding:22px}
.login-card{width:min(100%,380px);padding:34px;border:1px solid var(--line);border-radius:16px;text-align:center;box-shadow:0 8px 28px #10182808}
.login-mark{width:46px;height:46px;border-radius:15px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;margin:0 auto 20px;font-size:28px}
.login-card h1,.owner-card h1{font-size:24px;letter-spacing:-.04em;line-height:1.2;margin:5px 0 8px;font-weight:650}
  .login-card .button{margin-top:12px}.login-card .input-control{width:100%;height:48px;text-align:center;font-size:20px;letter-spacing:.35em}.login-card .field-label{text-align:left}.login-note{font-size:11px;color:var(--quiet);line-height:1.55;margin:13px 0 0}
.owner-page{width:100%;min-height:100dvh;background:#f7f7f8;padding:28px 14px}
.owner-card{max-width:660px;margin:0 auto;padding:clamp(18px,5vw,36px);border:1px solid var(--line);border-radius:16px;background:white;box-shadow:0 8px 28px #10182808}
.owner-card .login-mark{margin-left:0}
.terms-copy{font-size:12px;color:#51545a;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:16px 0}
.terms-copy h2{font-size:14px;color:var(--ink)}.terms-copy h3{font-size:12px;color:var(--ink);margin:16px 0 4px}.terms-copy li{margin:6px 0}
.signature{display:block;width:100%;height:180px;border:1px dashed #aeb3b8;border-radius:10px;touch-action:none;background:#fff}
.agree-row{display:flex;align-items:flex-start;gap:9px;font-size:11px;margin:13px 0}
.agree-row input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--accent)}
.toast{position:fixed;z-index:30;left:50%;bottom:25px;transform:translateX(-50%);max-width:calc(100% - 28px);padding:11px 15px;border-radius:10px;background:#202123;color:#fff;font-size:12px;box-shadow:var(--shadow)}
@media(max-width:850px){.sidebar{width:220px;flex-basis:220px}.workspace{padding:30px 24px 50px}}
@media(max-width:640px){
 .sidebar{display:none}.main-column{min-height:100dvh}.topbar{height:54px;flex-basis:54px;padding:0 16px}.mobile-brand{display:flex;padding:0;font-size:13px}.mobile-brand .brand-symbol{font-size:22px}.topbar-right{gap:8px}.secure-pill{font-size:10px}.mobile-logout{display:inline-grid;width:32px;height:32px;font-size:17px}
 .workspace{padding:25px 15px calc(96px + env(safe-area-inset-bottom));width:100%}.page-heading{align-items:flex-start;margin-bottom:19px;gap:12px}.page-heading h1{font-size:24px}.page-heading .subtle{font-size:12px}
 .new-order-btn{padding:9px 11px;min-height:38px;font-size:11px}
 .stats-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.stat-card{min-height:118px;padding:12px;grid-template-columns:30px 1fr;column-gap:8px}.stat-icon{width:30px;height:30px}.stat-card>b{font-size:23px;margin-top:6px}.stat-card>small{font-size:9px}
 .section-card{padding:15px 13px;margin:9px 0;border-radius:12px}.section-heading h2{font-size:14px}.section-heading p{font-size:10px}.section-heading .text-button{font-size:10px}
 .mini-row{grid-template-columns:32px minmax(0,1fr) auto;gap:8px;padding:11px 0}.mini-avatar{width:31px;height:31px;font-size:11px}.mini-main b{font-size:11px}.mini-main small{font-size:9px}.mini-row .status{font-size:9px;padding:4px 7px}
 .toolbar{gap:7px;margin-bottom:12px}.search-box{height:42px;padding:0 10px}.search-box input{font-size:11px}.filter-select{max-width:132px;height:42px;font-size:10px;padding:0 6px}.toolbar>.icon-button{flex:0 0 38px}
 .lead-card,.order-card{padding:13px 12px}.lead-card-foot,.order-card-foot{margin-top:10px}.lead-card-name,.order-card-name{font-size:12px}.lead-card-secondary,.order-card-secondary{font-size:10px}
 .mobile-nav{display:grid;position:fixed;z-index:15;left:0;right:0;bottom:0;grid-template-columns:repeat(3,1fr);gap:4px;padding:7px 12px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#ffffffed;backdrop-filter:blur(15px)}
 .mobile-nav-item{border:0;background:transparent;border-radius:10px;min-height:48px;display:grid;place-items:center;align-content:center;gap:1px;color:#767a81}.mobile-nav-item span{font-size:18px;line-height:1.1}.mobile-nav-item small{font-size:9px;font-weight:600}.mobile-nav-item.active{background:#eaf1fe;color:#1748b8}
 .dialog{width:100%;max-width:none;max-height:calc(100dvh - 12px);margin:auto 0 0;border-radius:18px 18px 0 0;border-bottom:0;padding:19px 16px calc(17px + env(safe-area-inset-bottom))}
 .dialog::backdrop{background:#17191c66}.dialog-head h2{font-size:19px}.dialog-actions{position:sticky;bottom:-17px;padding:12px 0 5px;background:#fff}.dialog-actions .button{flex:1;min-width:0}
 .detail-row{grid-template-columns:95px minmax(0,1fr);gap:10px;font-size:11px}
 .login-page{padding:16px}.login-card{padding:26px 20px}.owner-page{padding:12px 0}.owner-card{border-radius:0;border-left:0;border-right:0;padding:20px 16px;box-shadow:none}
}
@media(min-width:641px){.mobile-nav{display:none}}
@media print{.sidebar,.topbar,.mobile-nav,.dialog-actions,.button,.toast{display:none!important}body,.app-shell,.main-column{display:block;background:#fff}.workspace,.owner-page{display:block!important;padding:0;max-width:none}.page{display:none!important}.page.active{display:block!important}.section-card,.lead-card,.order-card{break-inside:avoid;box-shadow:none}}

/* Core CRM sections */
.language-switch{border:1px solid #e8e8ec;background:#fff;color:#4b4d56;border-radius:999px;padding:8px 12px;font:600 12px inherit;cursor:pointer}
.research-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin:18px 0;background:#f1f7f5;border:1px solid #d9ebe4;border-radius:18px}
.research-banner p{margin:5px 0 0;max-width:640px;font-size:13px}
.research-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.upload-privacy{display:block;margin-top:8px;color:#80838b;font-size:11px}
.crm-list{display:grid;gap:12px;margin-top:18px}
.crm-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:#fff;border:1px solid #ececf0;border-radius:18px;box-shadow:0 4px 18px #20212a08}
.crm-card-main{min-width:0;flex:1}.crm-card-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.crm-card-title b{font-size:16px}.crm-card p{margin:6px 0 0;color:#737681;font-size:13px}.crm-card-meta a{color:#337d68;text-decoration:none}.crm-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.crm-card-actions .filter-select{min-width:140px}.crm-card .button{white-space:nowrap}
.research-banner .subtle{color:#66718a}.custom-tab-nav{animation:fade-in .18s ease-out}
.language-switch:focus-visible,.crm-card button:focus-visible,.crm-card a:focus-visible{outline:3px solid #b9cdf6;outline-offset:2px}
@keyframes fade-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){.research-banner{align-items:flex-start;padding:15px;flex-direction:column}.research-actions{width:100%}.research-actions .button{flex:1;justify-content:center}.crm-card{align-items:flex-start;flex-direction:column;padding:16px}.crm-card-actions{width:100%}.crm-card-actions .button{flex:1;justify-content:center}.toolbar{flex-wrap:wrap}.toolbar .search-box{flex-basis:100%}.language-switch{padding:7px 9px;font-size:11px}.crm-card-title b{font-size:15px}}



/* Fargona Tezkor publication cards */
.promo-feature-card { padding: 22px 24px; border: 1px solid #e5eaf3; border-radius: 20px; background: linear-gradient(135deg, #fff 0%, #f8fcfa 100%); box-shadow: 0 8px 24px rgba(18, 48, 39, .055); }
.promo-feature-card .crm-card-main { min-width: 0; }
.promo-feature-card .crm-card-main p { margin: 8px 0; color: #4b5652; line-height: 1.6; overflow-wrap: anywhere; }
.promo-feature-card .crm-card-main p:first-child { margin-top: 0; font-size: 18px; color: #202123; }
.promo-feature-card .crm-card-main p:first-child b { font-size: 10px; color: #0b9875; letter-spacing: .1em; }
.promo-feature-card .crm-card-main a.button { margin: 2px 4px 2px 0; }
.promo-feature-card .crm-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
@media (max-width: 640px) { .promo-feature-card { padding: 17px; border-radius: 17px; } .promo-feature-card .crm-card-main p:first-child { font-size: 17px; } .promo-feature-card .crm-card-actions { display: grid; grid-template-columns: 1fr 1fr; } .promo-feature-card .crm-card-actions .button:first-child { grid-column: 1 / -1; } }

.autopilot-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.autopilot-steps>div{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e5eaf3;border-radius:13px;background:#fafcfb;font-size:12px}.autopilot-steps span,.autopilot-section-title>span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#eaf1fe;color:#1748b8;font-size:11px;font-weight:750}.autopilot-panel,.autopilot-result{padding:20px 22px;margin:12px 0;border:1px solid #e6ebf3;border-radius:17px;background:#fff;box-shadow:0 5px 18px #20212a06}.autopilot-section-title{display:flex;align-items:center;gap:11px;margin-bottom:13px}.autopilot-section-title>span{flex:0 0 28px}.autopilot-section-title b,.autopilot-section-title small{display:block}.autopilot-section-title b{font-size:14px}.autopilot-section-title small{font-size:11px;color:var(--muted);margin-top:2px}.autopilot-panel>.input-control{width:100%}.autopilot-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.autopilot-choice{display:flex;gap:11px;padding:14px;border:1px solid var(--line);border-radius:13px;cursor:pointer}.autopilot-choice:has(input:checked){border-color:#9bcbb9;background:#f3f7fe}.autopilot-choice input{width:17px;height:17px;margin-top:2px;accent-color:var(--accent)}.autopilot-choice b,.autopilot-choice small{display:block}.autopilot-choice b{font-size:12px}.autopilot-choice small{font-size:10px;color:var(--muted);margin-top:3px}.autopilot-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.autopilot-fields label{min-width:0}.autopilot-fields .input-control{width:100%}.autopilot-result{background:linear-gradient(140deg,#f7fbf9,#fff);border-color:#dfece6}.autopilot-prompt{width:100%;height:235px!important;padding:12px;resize:vertical;line-height:1.55;white-space:pre-wrap;background:#fff!important}.autopilot-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:12px}.autopilot-footnote{margin:12px 0 0;color:#727a76;font-size:11px}.autopilot-actions a[aria-disabled=true]{opacity:.55;pointer-events:none}@media(max-width:640px){.autopilot-steps{gap:5px}.autopilot-steps>div{padding:9px 6px;gap:5px;font-size:10px}.autopilot-steps span{width:24px;height:24px;flex:0 0 24px}.autopilot-panel,.autopilot-result{padding:16px}.autopilot-choice-grid{grid-template-columns:1fr}.autopilot-fields{grid-template-columns:1fr 1fr}.autopilot-fields label:first-child{grid-column:1/-1}.autopilot-actions{align-items:stretch;flex-direction:column-reverse}.autopilot-actions .button{width:100%}.mobile-nav{grid-template-columns:repeat(4,1fr);padding-left:6px;padding-right:6px}.mobile-nav-item small{font-size:8px}}

.autopilot-found{margin:14px 0 30px}.autopilot-found-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid #e6ebf3;border-radius:17px;background:#fff}.autopilot-found-head h2{margin:0;font-size:18px;letter-spacing:-.02em}.autopilot-found-head .subtle{max-width:650px;margin:7px 0 0;font-size:12px}.autopilot-count{display:inline-grid;place-items:center;min-width:27px;height:27px;padding:0 7px;border-radius:99px;background:#eaf1fe;color:#1748b8;font-size:12px;vertical-align:middle}.autopilot-found-actions{display:flex;gap:8px;flex-wrap:wrap}.autopilot-business-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 19px;border:1px solid #e6ebf3;border-radius:15px;background:#fff}.autopilot-business-main{min-width:0}.autopilot-business-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.autopilot-business-title b{font-size:14px}.autopilot-business-title span,.autopilot-business-main small{font-size:10px;color:#858991}.autopilot-business-main p{margin:5px 0 0;color:#737681;font-size:11px}.autopilot-contact a{color:#1f5fe0;text-decoration:none}.autopilot-business-card>.button{flex:0 0 auto}@media(max-width:640px){.autopilot-found-head{align-items:stretch;flex-direction:column;padding:16px}.autopilot-found-head h2{font-size:16px}.autopilot-found-actions{display:grid;grid-template-columns:1fr 1fr}.autopilot-business-card{align-items:flex-start;flex-direction:column;padding:15px}.autopilot-business-card>.button{width:100%;justify-content:center}}

/* Source profile pages */
.promo-source-group{margin:0 0 22px;padding:18px 20px;border:1px solid #e5eaf3;border-radius:18px;background:#fbfcfb}
.promo-source-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.promo-source-heading .eyebrow{margin:0 0 3px}
.promo-source-heading h2{margin:0;font-size:17px;letter-spacing:-.025em}
.source-page-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}
.source-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 22px;padding:0 0 20px;border-bottom:1px solid #e6ebf3}
.source-page-header h1{margin:3px 0 5px;font-size:30px;line-height:1.15;letter-spacing:-.045em}
.source-page-header .subtle{margin:0}
.source-page-count{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #e3eee9;border-radius:14px;background:#f3f7fe;color:#1f5fe0}
.source-page-count b{font-size:20px;line-height:1}
.source-page-count span{font-size:10px;font-weight:700;letter-spacing:.1em}
.source-record-list{display:grid;gap:14px}
.source-record-card{padding:19px 20px;border:1px solid #e7ebe9;border-radius:16px;background:#fff;box-shadow:0 3px 14px rgba(29,43,38,.035)}
.source-record-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.source-record-kicker{color:#159273;font-size:9px;font-weight:750;letter-spacing:.12em}
.source-record-header h3{margin:3px 0 0;color:#242925;font-size:17px;font-weight:650;letter-spacing:-.02em}
.source-record-meta{margin:5px 0 0;color:#7a817d;font-size:12px}
.source-record-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.source-record-actions .button{white-space:nowrap}
.source-record-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}
.source-record-field{min-width:0;padding:10px 12px;border:1px solid #eff1f0;border-radius:11px;background:#f8fafd}
.source-record-field span,.source-record-evidence span{display:block;color:#838a86;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.source-record-field b,.source-record-field a{display:block;margin-top:4px;color:#343a36;font-size:12px;font-weight:550;overflow-wrap:anywhere;text-decoration:none}
.source-record-field a{color:#1f5fe0}
.source-record-field .muted-value{color:#9aa09c;font-weight:450}
.source-record-evidence{margin-top:12px;padding:12px 14px;border-left:3px solid #45ae8f;border-radius:0 10px 10px 0;background:#f6faf8}
.source-record-evidence p{margin:5px 0 0;color:#5e6762;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:720px){
 .promo-source-group{padding:14px;border-radius:15px}
 .promo-source-heading{align-items:flex-start;flex-direction:column}
 .source-page-top{margin-bottom:17px}
 .source-page-header{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:17px;padding-bottom:16px}
 .source-page-header h1{font-size:25px}
 .source-record-card{padding:15px;border-radius:14px}
 .source-record-header{flex-direction:column;gap:12px}
 .source-record-actions{width:100%;justify-content:flex-start}
 .source-record-actions .button{flex:1;justify-content:center}
 .source-record-fields{grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}
}


/* Keep the Bloggers home focused on the Fargona Tezkor folder */
#homePage > .page-heading,
#homePage > .research-banner,
#homePage > #excelImportMessage,
#homePage > .toolbar,
#homePage > #promoList,
#homePage > #promoEmpty{display:none!important}
#homePage > .blogger-subnav{display:flex;justify-content:center;align-items:center;width:100%;margin:clamp(24px,7vh,72px) auto}
#homePage .source-folder-button{display:grid;grid-template-columns:72px minmax(0,1fr) 42px;align-items:center;gap:18px;width:min(100%,720px);min-height:148px;padding:24px 30px;border:1px solid #079873;border-radius:26px;background:linear-gradient(125deg,#12ae86 0%,#078568 58%,#076c5a 100%);box-shadow:0 18px 42px #087b612e;color:#fff;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
#homePage .source-folder-button:hover{transform:translateY(-3px);box-shadow:0 24px 50px #087b6138}
#homePage .source-folder-button:focus-visible{outline:4px solid #9be5cf;outline-offset:4px}
#homePage .source-folder-symbol{display:grid;place-items:center;width:68px;height:68px;border:1px solid #ffffff55;border-radius:21px;background:#ffffff20;font-size:34px;line-height:1}
#homePage .source-folder-name{font-size:clamp(24px,3vw,34px);font-weight:750;letter-spacing:-.035em}
#homePage .source-folder-arrow{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff55;border-radius:50%;background:#ffffff18;font-size:23px}
@media(max-width:720px){
 #homePage > .blogger-subnav{margin:28px auto}
 #homePage .source-folder-button{grid-template-columns:56px minmax(0,1fr) 36px;gap:13px;min-height:112px;padding:18px;border-radius:21px}
 #homePage .source-folder-symbol{width:54px;height:54px;border-radius:17px;font-size:27px}
 #homePage .source-folder-arrow{width:36px;height:36px;font-size:19px}
}


/* Dynamic source folders created from imported blogger profiles */
#homePage > .blogger-folder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:22px;width:min(100%,940px);margin:clamp(24px,7vh,72px) auto}
#homePage > .blogger-folder-grid.hidden{display:none!important}
#homePage .blogger-folder-grid .source-folder-button{width:100%;justify-self:center}
@media(max-width:720px){#homePage > .blogger-folder-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin:28px auto}}

/* Clear, scannable custom lead records */
.custom-record-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px;padding:0 0 20px;border-bottom:1px solid #e5eaf3}
.custom-record-page-header h1{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.04em}
.custom-record-page-header .subtle{margin:7px 0 0;font-size:13px}
.custom-record-page-header .button{flex:0 0 auto}
.custom-record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.custom-record-toolbar .search-box{width:min(100%,460px)}
.custom-record-count,.custom-record-completion{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #dcece5;border-radius:999px;background:#f3f7fe;color:#1f5fe0;padding:7px 11px;font-size:12px;font-weight:700}
.custom-record-card{display:block;padding:20px 22px;border-color:#e7ebe9;border-radius:17px;box-shadow:0 3px 14px #20212a08}
.custom-record-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.custom-record-card-head .eyebrow{margin:0 0 4px;color:#128568}
.custom-record-card-head h2{margin:0;font-size:18px;letter-spacing:-.025em;overflow-wrap:anywhere}
.custom-record-card-head small{display:block;margin-top:5px;font-size:11px}
.custom-record-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.custom-record-field{min-width:0;padding:11px 12px;border:1px solid #ecf0f6;border-radius:12px;background:#fafcfb}
.custom-record-field>span{display:block;margin-bottom:5px;color:#777e7a;font-size:10px;font-weight:700;letter-spacing:.04em}
.custom-record-field>strong{display:block;color:#202824;font-size:13px;font-weight:600;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}
.custom-record-field.is-empty>strong{color:#a5aaa7;font-weight:400}
.custom-record-link{color:#1f5fe0;text-decoration:none}
.custom-record-link:hover{text-decoration:underline}
.custom-record-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid #ecf0f6}
.button.danger{border:1px solid #f1d7d7;background:#fff;color:#b42318}
.button.danger:hover{background:#fff5f4}
.custom-record-actions button{min-width:112px}
@media(max-width:760px){.custom-record-page-header{align-items:flex-start;flex-direction:column}.custom-record-page-header .button{width:100%;justify-content:center}.custom-record-toolbar{align-items:stretch;flex-direction:column}.custom-record-toolbar .search-box{width:100%}.custom-record-card{padding:16px}.custom-record-card-head{align-items:flex-start;flex-direction:column}.custom-record-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-record-actions{display:grid;grid-template-columns:1fr 1fr}.custom-record-actions button{width:100%;min-width:0;justify-content:center}}
@media(max-width:430px){.custom-record-fields{grid-template-columns:1fr}}
.excel-lead-page-actions{display:flex;gap:8px;flex-wrap:wrap}
.excel-lead-page-actions .button{justify-content:center}
.excel-lead-list-head,.excel-lead-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(150px,.8fr) minmax(135px,.65fr) 240px;align-items:center;gap:18px}
.excel-lead-list-head{padding:0 20px 8px;color:#858b87;font-size:10px;font-weight:750;letter-spacing:.07em}
.excel-lead-date-sort{justify-self:start;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}
.excel-lead-date-sort:hover{color:#1f5fe0}
.excel-lead-date{color:#69736e;font-size:12px;white-space:nowrap}
.excel-lead-meta{grid-column:1/4;display:grid;gap:5px;min-width:0;padding-top:8px;border-top:1px solid #ecf0f6}
.excel-lead-meta p{margin:0;color:#34413a;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.excel-lead-meta small{color:#7b8580;font-size:11px}
.excel-lead-row.is-high-intent{border-left:4px solid #e38a32;background:#fff8f0}
.excel-lead-number{flex:0 0 24px;color:#87918b;font-size:13px;font-weight:750;text-align:right}
.lead-intent-badge{display:inline-flex;flex:0 0 auto;align-items:center;border-radius:999px;background:#fff0d8;color:#95500c;padding:5px 8px;font-size:10px;font-weight:750;white-space:nowrap}
.high-intent-panel{margin:0 0 18px;padding:18px 20px;border:1px solid #f2d7b1;border-radius:16px;background:#fff8f0}
.high-intent-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.high-intent-header .eyebrow{margin:0 0 4px;color:#a55b14}
.high-intent-header h2{margin:0;font-size:18px}
.high-intent-header .subtle{margin:4px 0 0;font-size:12px}
.high-intent-total{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fde2c4;color:#8c4b0d;font-weight:800}
.high-intent-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}
.high-intent-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:11px 13px;border:1px solid #f1e3d0;border-radius:12px;background:#fff;text-align:left;cursor:pointer}
.high-intent-item:hover{border-color:#df9e56}
.high-intent-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.high-intent-item span{flex:0 0 auto;color:#8a5720;font-size:11px}
.excel-lead-row{padding:13px 18px;border:1px solid #e6ebf3;border-radius:14px;background:#fff;box-shadow:0 2px 9px #20212a05}
.excel-lead-name{display:flex;align-items:center;gap:11px;min-width:0}
.excel-lead-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.excel-lead-phone{color:#1f5fe0;text-decoration:none;font-size:14px;font-weight:620}
.excel-lead-actions{display:flex;justify-content:flex-end;gap:8px}
.excel-lead-actions .button{min-width:105px;justify-content:center}
@media(max-width:760px){.excel-lead-page-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.excel-lead-page-actions #customAddRecord{grid-column:1/-1}.excel-lead-page-actions .button{width:100%}.excel-lead-list-head{display:none}.excel-lead-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px}.excel-lead-name{grid-column:1/-1}.excel-lead-phone{grid-column:1;grid-row:2}.excel-lead-actions{grid-column:2;grid-row:2}.excel-lead-date{grid-column:1/-1;grid-row:3}.excel-lead-meta{grid-column:1/-1;grid-row:4}.high-intent-panel{padding:15px}.high-intent-list{grid-template-columns:1fr}.lead-intent-badge{font-size:9px;padding:4px 6px}.excel-lead-number{flex-basis:18px}.excel-lead-actions .button{min-width:0;padding:8px 10px;font-size:11px}}
#mobileNav:has(.excel-leads-mobile-nav){grid-template-columns:repeat(6,minmax(0,1fr))}
.mobile-more{position:fixed;z-index:16;left:12px;right:12px;bottom:calc(88px + env(safe-area-inset-bottom));max-height:60vh;overflow:auto;display:grid;gap:2px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 32px #0000002e}
.mobile-more.hidden{display:none}
.mobile-more-item{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;border:0;border-radius:10px;background:transparent;text-align:left;font:inherit;color:inherit}
.mobile-more-item span{width:24px;text-align:center;font-size:18px}.mobile-more-item b{font-weight:600;font-size:15px}.mobile-more-item.active{background:#eaf1fe;color:#1748b8}
@media(min-width:641px){.mobile-more{display:none}}


/* Excel lead consultation workflow */
.lead-status-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
.lead-status-column{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:12px 16px;border:1px solid #e1e7f1;border-radius:14px;background:#fff;color:#4a5672;text-align:left;font-weight:700;transition:background .15s,border-color .15s,box-shadow .15s}
.lead-status-column:hover{border-color:#b8c4bd}
.lead-status-column b{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#eff2f8;color:#5a6580;font-size:12px}
.lead-status-column.is-active{box-shadow:0 0 0 2px #0d25570d}
.lead-status-column.is-booked{border-color:#f3d2a8;background:#fff8f0;color:#925316}
.lead-status-column.is-booked b{background:#fde2c4;color:#8c4b0d}
.lead-status-column.is-booked.is-active{border-color:#e9a955;background:#fff1e2}
.lead-status-column.is-attended{border-color:#b8e2c9;background:#f3fbf6;color:#24744a}
.lead-status-column.is-attended b{background:#d8f1e2;color:#1f7046}
.lead-status-column.is-attended.is-active{border-color:#64bd88;background:#eaf8ef}
.lead-status-column.is-no-answer{border-color:#f0c3c0;background:#fff7f6;color:#a63834}
.lead-status-column.is-no-answer b{background:#f8dddb;color:#9c302d}
.lead-status-column.is-no-answer.is-active{border-color:#d96e68;background:#ffedeb}
.lead-consult-actions{grid-column:1/4;display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.lead-consult-actions>span:first-child{color:#6b7690;font-size:11px;font-weight:650}
.lead-status-action{min-height:30px;padding:5px 11px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:750;transition:transform .12s,box-shadow .12s}
.lead-status-action:hover{transform:translateY(-1px)}
.lead-status-action.is-booked{border-color:#f0cb9c;background:#fff1e2;color:#96550e}
.lead-status-action.is-booked.is-selected{border-color:#df9b45;background:#fde2c4;box-shadow:inset 0 0 0 1px #df9b45}
.lead-status-action.is-attended{border-color:#b5dfc5;background:#eaf8ef;color:#237449}
.lead-status-action.is-attended.is-selected{border-color:#54af78;background:#cdebd8;box-shadow:inset 0 0 0 1px #54af78}
.lead-status-action.is-no-answer{border-color:#efbfbc;background:#fff1f0;color:#a63834}
.lead-status-action.is-no-answer.is-selected{border-color:#d96e68;background:#f6d5d3;box-shadow:inset 0 0 0 1px #d96e68}
.lead-consult-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#f0f3f9;color:#66716a;font-size:11px;font-weight:700}
.lead-consult-status.is-booked{background:#fff0d8;color:#925316}
.lead-consult-status.is-attended{background:#dff3e7;color:#24744a}
.lead-consult-status.is-no-answer{background:#f8dddb;color:#9c302d}
.excel-lead-row.is-consult-booked{border-color:#efcfaa;background:#fff8f0}
.excel-lead-row.is-consult-attended{border-color:#a9dabb;background:#f3fbf6}
.excel-lead-row.is-consult-no-answer{border-color:#edb2af;background:#fff6f5}
.excel-lead-call-row{display:flex;align-items:flex-start;gap:10px;min-width:0}
.excel-lead-call-copy{flex:1;min-width:0}
.excel-lead-call-placeholder{color:#9ca0a8!important;opacity:.72}
.excel-lead-call-edit.icon-button{width:30px;height:30px;flex:0 0 30px;border:0;background:transparent;color:#7b8580;font-size:19px;box-shadow:none}
.excel-lead-call-edit.icon-button:hover{background:#f2f4f3;color:#1f5fe0}
@media(max-width:760px){.lead-status-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:14px}.lead-status-column{min-height:50px;padding:9px 10px;font-size:11px}.lead-status-column b{min-width:24px;height:24px;padding:0 6px}.lead-consult-actions{grid-column:1/-1;grid-row:4}.excel-lead-meta{grid-row:5}}
@media(max-width:430px){.lead-status-columns{grid-template-columns:1fr}.lead-status-column{min-height:44px}.lead-consult-actions{gap:6px}.lead-status-action{padding:5px 9px;font-size:10px}}
.language-switch b{font-weight:600;opacity:.45}.language-switch b.on{opacity:1;color:#1748b8}
@media(max-width:640px){.language-switch{min-height:44px;padding:0 14px}.icon-button{width:44px;height:44px}.mobile-brand{min-height:44px;display:inline-flex;align-items:center}}
@media(max-width:640px){.button{min-height:44px}}
.nav-archive{display:block}
.nav-archive-summary{height:42px;border-radius:9px;display:flex;align-items:center;gap:11px;padding:0 12px;color:#42454b;font-size:13px;font-weight:540;cursor:pointer;list-style:none;user-select:none}
.nav-archive-summary::-webkit-details-marker{display:none}
.nav-archive-summary:hover,.nav-archive:has(.nav-item.active)>.nav-archive-summary{background:#ebebed;color:#17181a}
.nav-archive-arrow{margin-left:auto;font-size:16px;transition:transform .15s}
.nav-archive[open]>.nav-archive-summary .nav-archive-arrow{transform:rotate(90deg)}
.nav-archive-list{display:grid;gap:4px;margin:4px 0 4px 14px;padding-left:8px;border-left:1px solid #e1e3e6}
.mobile-nav{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:1fr}
.nav-archive.drop-target>.nav-archive-summary{background:#eaf1fe;color:#1748b8;outline:2px dashed #1748b8;outline-offset:-2px}
.side-nav.drop-main .nav-archive-list{outline:2px dashed #c3c7cc;outline-offset:2px;border-radius:9px}
.nav-item[draggable="true"]{cursor:pointer}
.nav-context-menu{position:fixed;z-index:60;min-width:190px;padding:6px;border:1px solid #e1e3e6;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(23,24,26,.16)}
.nav-context-menu.hidden{display:none}
.nav-context-menu button{width:100%;min-height:40px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#17181a;font-size:13px;font-weight:560;text-align:left;cursor:pointer}
.nav-context-menu button:hover{background:#ebebed}
.nav-item[data-renamed]>span:not(.nav-icon):not(.nav-count):not(.nav-custom-label){display:none}
.nav-item.drop-before{box-shadow:0 -2px 0 #1748b8}
.nav-item.drop-after{box-shadow:0 2px 0 #1748b8}
.nav-rename-panel{position:fixed;z-index:61;width:260px;padding:10px;border:1px solid #e1e3e6;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(23,24,26,.16);display:grid;gap:8px}
.nav-rename-panel.hidden{display:none}
.nav-rename-panel input{height:40px;border:1px solid #d9dce0;border-radius:8px;padding:0 10px;font-size:14px}
.nav-rename-panel div{display:flex;gap:8px}
.nav-rename-panel .button{flex:1;min-height:38px;font-size:13px}
.nav-archive.drop-above{box-shadow:0 -2px 0 #1748b8}
.nav-archive.drop-below{box-shadow:0 2px 0 #1748b8}
/* Qayta aloqa (перезвонить) */
.lead-status-columns{grid-template-columns:repeat(5,minmax(0,1fr))}
.lead-status-column.is-callback{border-color:#c9d3f3;background:#f6f8ff;color:#2f4aa3}
.lead-status-column.is-callback b{background:#dfe6fb;color:#2a418f}
.lead-status-column.is-callback.is-active{border-color:#6f86d9;background:#edf1ff}
.lead-status-action.is-callback{border-color:#c4cff2;background:#f1f4ff;color:#2f4aa3}
.lead-status-action.is-callback.is-selected{border-color:#6f86d9;background:#dfe6fb;box-shadow:inset 0 0 0 1px #6f86d9}
.lead-consult-status.is-callback{background:#e4e9fb;color:#2f4aa3}
.excel-lead-row.is-consult-callback{border-color:#c4cff2;background:#f7f9ff}
.callback-dialog{width:min(420px,calc(100vw - 32px));padding:0;border:1px solid #e1e3e6;border-radius:16px;box-shadow:0 24px 60px rgba(23,24,26,.22)}
.callback-dialog::backdrop{background:rgba(23,24,26,.4)}
.callback-form{display:grid;gap:12px;padding:20px}
.callback-form h2{margin:0;font-size:20px}
.callback-lead{margin:-6px 0 0;font-size:13px}
.callback-hint{margin:0;color:#66718a;font-size:13px}
.callback-presets{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.callback-presets button{min-height:44px;border:1px solid #c4cff2;border-radius:10px;background:#f1f4ff;color:#2f4aa3;font-size:14px;font-weight:700;cursor:pointer}
.callback-presets button:hover{background:#e4e9fb}
.callback-calendar{display:grid;gap:6px;font-size:12px;font-weight:650;color:#66718a}
.callback-calendar input{height:44px;border:1px solid #d9dce0;border-radius:10px;padding:0 10px;font-size:15px}
.callback-message{padding:9px 12px;border-radius:10px;background:#fff1f0;color:#a63834;font-size:13px}
.callback-message.hidden{display:none}
.callback-actions{display:flex;flex-wrap:wrap;gap:8px}
.callback-actions .button{min-height:44px}
@media(max-width:760px){.lead-status-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.lead-status-columns{grid-template-columns:1fr}}

.excel-lead-ai{margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#f4f1ff;color:#43399a;font-size:13px;line-height:1.45}
.excel-lead-ai b{color:#2f2780}
.excel-lead-ai{white-space:pre-line}

/* O'quvchi bo'ldi */
.lead-status-columns{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1180px){.lead-status-columns{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.lead-status-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.lead-status-columns{grid-template-columns:1fr}}
.lead-status-column.is-student{border-color:#b8e2c9;background:#f3fbf6;color:#1b6b43}
.lead-status-column.is-student b{background:#d1efdc;color:#1b6b43}
.lead-status-column.is-student.is-active{border-color:#3fa56d;background:#e6f6ec}
.lead-status-action.is-student{border-color:#a8dcbd;background:#e9f8ef;color:#1b6b43}
.lead-status-action.is-student.is-selected{border-color:#3fa56d;background:#c9ebd6;box-shadow:inset 0 0 0 1px #3fa56d}
.lead-consult-status.is-student{background:#d9f2e3;color:#1b6b43}
.excel-lead-row.is-consult-student{border-color:#a8dcbd;background:#f5fcf8}
.student-dialog{width:min(520px,calc(100vw - 32px))}
.student-debt{margin:0;font-size:14px;color:#66718a}
.student-debt b{color:#a63834;font-size:16px}
.student-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.student-tiles div{padding:10px 12px;border:1px solid #e1e7f1;border-radius:12px;background:#f8fafd;display:grid;gap:4px}
.student-tiles span{font-size:11px;font-weight:650;color:#6b7690}
.student-tiles b{font-size:15px}
.student-tile-debt b{color:#a63834}
.student-tile-debt.is-clear b{color:#1b6b43;font-size:13px}
.student-progress{height:8px;border-radius:999px;background:#edf0ee;overflow:hidden}
.student-progress i{display:block;height:100%;width:0;background:#3fa56d;transition:width .25s}
.student-inline{display:flex;gap:8px}
.student-inline input{flex:1;min-width:0}
.student-subtitle{margin:6px 0 0;font-size:14px}
.student-add{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}
.student-add input{height:44px;border:1px solid #d9dce0;border-radius:10px;padding:0 10px;font-size:14px;min-width:0}
.student-payments{display:grid;gap:6px;max-height:220px;overflow:auto}
.student-payment{display:grid;grid-template-columns:auto auto 1fr auto;gap:10px;align-items:center;padding:8px 10px;border:1px solid #e1e7f1;border-radius:10px;font-size:13px}
.student-payment span{color:#6b7690}
.student-payment em{color:#6b7690;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.student-payment.is-cancelled{opacity:.55;text-decoration:line-through}
.student-payment-cancel{border:0;background:transparent;color:#a63834;cursor:pointer;font-size:14px;min-width:32px;min-height:32px}
@media(max-width:520px){.student-add{grid-template-columns:1fr}.student-tiles{grid-template-columns:1fr}}

/* Дашборд */
.dash-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid #e5eaf3}
.dash-head h1{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.04em}
.dash-head .subtle{margin:7px 0 0;font-size:13px}
.dash-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.dash-period{min-height:38px;padding:0 14px;border:1px solid #e1e3e6;border-radius:999px;background:#fff;color:#4a5672;font-size:13px;font-weight:650;cursor:pointer}
.dash-period.is-active{background:#17181a;border-color:#17181a;color:#fff}
.dash-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:0 0 16px}
.dash-tile{display:grid;gap:6px;padding:16px;border:1px solid #e1e7f1;border-radius:16px;background:#fff}
.dash-tile-label{font-size:12px;font-weight:700;color:#6b7690}
.dash-tile-value{font-size:clamp(22px,2.4vw,28px);letter-spacing:-.03em}
.dash-tile-sub{font-size:12px;color:#8791a8}
.dash-tile.is-good .dash-tile-value{color:#1b6b43}
.dash-tile.is-bad .dash-tile-value{color:#a63834}
.dash-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 12px}
.dash-card{padding:16px;border:1px solid #e1e7f1;border-radius:16px;background:#fff;min-width:0}
.dash-card h2{margin:0 0 12px;font-size:15px}
.dash-bar-row{display:grid;grid-template-columns:130px 1fr 36px;gap:10px;align-items:center;margin:0 0 8px;font-size:13px}
.dash-bar-row b{text-align:right}
.dash-bar{height:10px;border-radius:999px;background:#edf1f7;overflow:hidden}
.dash-bar i{display:block;height:100%;border-radius:999px;background:#9aa6a0}
.dash-bar i.is-no_answer{background:#d96e68}.dash-bar i.is-callback{background:#6f86d9}.dash-bar i.is-booked{background:#e9a955}.dash-bar i.is-attended{background:#64bd88}.dash-bar i.is-student{background:#2f9e63}
.dash-columns{display:flex;align-items:flex-end;gap:5px;height:150px}
.dash-column{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;height:100%;min-width:0}
.dash-column i{display:block;width:100%;border-radius:6px 6px 2px 2px;background:#2f9e63;min-height:0}
.dash-column small{font-size:10px;color:#8791a8}
.dash-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;width:100%;padding:10px 4px;border:0;border-top:1px solid #edf1f7;background:transparent;text-align:left;font-size:13px;cursor:pointer}
.dash-row:first-of-type{border-top:0}
.dash-row.is-static{grid-template-columns:1fr auto;cursor:default}
.dash-row:not(.is-static):hover{background:#f7f9f8}
.dash-row-main{display:grid;gap:2px;min-width:0}
.dash-row-main small,.dash-row-sub{color:#8791a8;font-size:12px}
.dash-row-debt{color:#a63834}
.dash-row-paid{color:#1b6b43}
@media(max-width:900px){.dash-two{grid-template-columns:1fr}}
@media(max-width:520px){.dash-bar-row{grid-template-columns:100px 1fr 30px}.dash-row{grid-template-columns:1fr auto}.dash-row-sub{display:none}}
.dash-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:640px){.dash-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

.student-lead-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:-4px 0 0}
.student-lead-box b{font-size:17px;color:#17181a}
.student-phone{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:#e9f8ef;color:#1b6b43;font-size:14px;font-weight:700;text-decoration:none}
.student-phone:hover{background:#d7f1e2}

/* Skript va reglament */
.script-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid #e5eaf3}
.script-head h1{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.04em}
.script-badges{margin:10px 0 0}
.script-version{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:#fff1e2;color:#925316;font-size:12px;font-weight:750}
.script-note{max-width:640px;margin:10px 0 0;font-size:13px}
.script-actions{display:flex;gap:8px;flex-wrap:wrap}
.script-toc{margin:0 0 16px;padding:16px;border:1px solid #e1e7f1;border-radius:16px;background:#f8fafd}
.script-toc ol{margin:8px 0 0;padding-left:20px;columns:2;column-gap:28px}
.script-toc li{margin:0 0 6px;break-inside:avoid;font-size:13px}
.script-toc a{color:#17181a;text-decoration:none}
.script-toc a:hover{color:#1748b8;text-decoration:underline}
.script-section{margin:0 0 12px;padding:18px;border:1px solid #e1e7f1;border-radius:16px;background:#fff;scroll-margin-top:12px}
.script-section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 10px}
.script-section-top h2{margin:0;font-size:18px;letter-spacing:-.02em}
.script-tools{display:flex;gap:4px;flex:0 0 auto}
.script-tool{min-width:34px;min-height:34px;border:1px solid #e1e3e6;border-radius:8px;background:#fff;color:#4a5672;cursor:pointer;font-size:13px}
.script-tool:hover:not(:disabled){background:#f0f3f9}
.script-tool:disabled{opacity:.35;cursor:default}
.script-body{font-size:14px;line-height:1.6;color:#2b2f2d}
.script-body p{margin:0 0 10px}
.script-body ul,.script-body ol{margin:0 0 10px;padding-left:22px}
.script-body li{margin:0 0 5px}
.script-body blockquote{margin:0 0 12px;padding:10px 14px;border-left:3px solid #2f9e63;border-radius:0 10px 10px 0;background:#f1faf5;color:#1b4d33;font-style:italic}
.script-dialog{width:min(640px,calc(100vw - 32px))}
.script-input{width:100%;border:1px solid #d9dce0;border-radius:10px;padding:10px;font:inherit;font-size:14px;box-sizing:border-box}
.script-textarea{resize:vertical;line-height:1.5}
@media(max-width:700px){.script-toc ol{columns:1}}
@media print{.script-actions,.script-tools{display:none!important}.script-section{break-inside:avoid;box-shadow:none}.script-toc{display:none}}

/* Опрос по звонку */
@media(min-width:1181px){.lead-status-columns{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}
.lead-status-column.is-unclear{border-color:#f0c3c0;background:#fff7f6;color:#a63834}
.lead-status-column.is-unclear b{background:#f8dddb;color:#9c302d}
.lead-status-column.is-unclear.is-active{border-color:#d96e68;background:#ffedeb}
.lead-unclear-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#fdecea;color:#a63834;font-size:11px;font-weight:750}
.lead-survey-action.is-full{border-color:#a8dcbd;background:#e9f8ef;color:#1b6b43}
.survey-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}
.survey-block{display:grid;gap:8px;padding:12px 0;border-top:1px solid #edf1f7}
.survey-block h3{margin:0;font-size:13px;color:#4a5672}
.survey-chips{display:flex;flex-wrap:wrap;gap:6px}
.survey-chip{min-height:38px;padding:0 13px;border:1px solid #d9dce0;border-radius:999px;background:#fff;color:#4a5672;font-size:13px;font-weight:650;cursor:pointer}
.survey-chip.is-on{border-color:#1748b8;background:#eaf1fe;color:#1748b8}
.survey-row{display:grid;grid-template-columns:2fr 1fr;gap:8px}
.survey-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#4a5672}
.survey-old{padding:10px 12px;border:1px solid #e1e7f1;border-radius:10px;background:#f8fafd;font-size:13px}
.survey-old p{margin:8px 0 0;white-space:pre-line;color:#4a5672}
.survey-progress{margin:0;padding:10px 12px;border-radius:10px;background:#fff1e2;color:#925316;font-size:13px;font-weight:650}
.survey-progress.is-full{background:#e9f8ef;color:#1b6b43}
.survey-full.hidden,.callback-calendar.hidden{display:none}

/* ИИ-совет по лиду: следующий шаг, что уточнить, состояние + процент оставшегося уточнения */
.lead-advice{display:grid;gap:10px;margin:10px 0 0;padding:12px 14px;border:1px solid #e3def9;border-radius:14px;background:linear-gradient(180deg,#fbfaff,#f4f1ff)}
.lead-advice-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px}
.lead-advice-title{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#5a4fcf}
.lead-advice-title::before{content:"✦";font-size:13px}
.lead-advice-progress{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#5b5f6b}
.lead-advice-progress.is-done{color:#1b6b43}
.lead-advice-bar{width:96px;height:7px;border:0;border-radius:99px;overflow:hidden;background:#e4e0f7;appearance:none;-webkit-appearance:none}
.lead-advice-bar::-webkit-progress-bar{background:#e4e0f7;border-radius:99px}
.lead-advice-bar::-webkit-progress-value{background:#1748b8;border-radius:99px}
.lead-advice-bar::-moz-progress-bar{background:#1748b8;border-radius:99px}
.lead-advice-row{display:grid;grid-template-columns:128px minmax(0,1fr);gap:4px 12px;align-items:start}
.lead-advice-label{padding-top:2px;font-size:12px;font-weight:750;color:#6b6f80}
.lead-advice-row p{margin:0;font-size:14px;line-height:1.5;color:#2c2f3a;overflow-wrap:anywhere}
.lead-advice-row.is-next{padding:10px 12px;border:1px solid #bfe5d6;border-radius:10px;background:#e8f6f0}
.lead-advice-row.is-next .lead-advice-label{color:#0d6a52}
.lead-advice-row.is-next p{font-weight:650;color:#0d5c47}
.lead-advice-row.is-state p::before{content:"";display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#b9bcc8;vertical-align:baseline}
.lead-advice-row.is-state.is-hot p::before{background:#e5484d}
.lead-advice-row.is-state.is-warm p::before{background:#f0a020}
.lead-advice-row.is-state.is-cold p::before{background:#4c8dff}
.lead-advice-row.is-plain{grid-template-columns:1fr}
@media(max-width:600px){.lead-advice-row{grid-template-columns:1fr}.lead-advice-bar{width:72px}}

/* polish-22: vacancy answers + mobile phone */
.custom-record-field.is-wide{grid-column:1/-1}
.custom-record-answers{margin:0;display:grid;gap:8px}
.custom-record-answers div{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:4px 14px;padding:8px 0;border-top:1px solid #ecf0f6}
.custom-record-answers div:first-child{padding-top:0;border-top:0}
.custom-record-answers dt{margin:0;color:#5f6863;font-size:12px;font-weight:600;line-height:1.4}
.custom-record-answers dd{margin:0;color:#1f5fe0;font-size:13px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
a.custom-record-link{color:#1f5fe0;font-weight:650;text-decoration:none}
@media(max-width:600px){.custom-record-answers div{grid-template-columns:1fr}}
@media(max-width:760px){
  .excel-lead-row{grid-template-columns:auto minmax(0,1fr)}
  .excel-lead-phone{white-space:nowrap;align-self:center}
  .excel-lead-actions{flex-wrap:wrap;justify-content:flex-end}
}

/* ---------- polish-23 (2026-11-19): ученики отдельно от лидов; удобство на телефоне и компьютере ---------- */
/* Фильтры лидов — компактные «таблетки» в одну строку, прилипают под шапкой; «Ученики» — справа, отдельно. */
.lead-status-columns{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:10px 0;position:sticky;top:58px;z-index:4;background:#fffffff2;backdrop-filter:blur(10px)}
.lead-status-column{flex:0 0 auto;min-height:40px;padding:0 6px 0 14px;border-radius:999px;font-size:13px;gap:8px;white-space:nowrap}
.lead-status-column b{min-width:26px;height:26px;padding:0 7px;font-size:12px}
.lead-status-column.is-active{box-shadow:0 0 0 2px #1f5fe040,0 2px 8px #1f5fe01a}
.lead-status-column.is-student{margin-left:auto;font-weight:800}
.lead-status-column.is-student.is-active{border-color:#1b6b43;background:#1b6b43;color:#fff}
.lead-status-column.is-student.is-active b{background:#ffffff33;color:#fff}
.custom-record-toolbar{margin:0 0 12px}
.student-search-hint{display:block;width:100%;margin:-2px 0 12px;padding:10px 14px;border:1px dashed #8fcfaa;border-radius:12px;background:#f3fbf6;color:#1b6b43;font-size:13px;font-weight:700;text-align:left;cursor:pointer}
.student-search-hint.hidden{display:none}

/* Строка лида на компьютере: имя целиком, бейджи под именем, действия справа, статусы и итог звонка во всю ширину. */
.excel-lead-list-head,.excel-lead-row{grid-template-columns:minmax(0,1.3fr) minmax(140px,.7fr) 92px auto}
.excel-lead-row{gap:12px 16px;padding:14px 18px}
.excel-lead-row>.lead-consult-actions,.excel-lead-row>.excel-lead-meta{grid-column:1/-1}
.excel-lead-title{display:flex;flex-direction:column;gap:5px;min-width:0}
.excel-lead-name b{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3;overflow-wrap:anywhere}
.excel-lead-badges{display:flex;flex-wrap:wrap;gap:5px}
.excel-lead-phone{justify-self:start}
.excel-lead-row>.excel-lead-actions{align-items:center;flex-wrap:nowrap}
.excel-lead-row>.excel-lead-actions>.button{min-width:0;min-height:38px;padding:0 14px;white-space:nowrap}

/* Меню «⋯»: «Изменить» и «Удалить» не на виду, чтобы не нажать случайно. */
.lead-more{position:relative;flex:0 0 auto}
.lead-more>summary{list-style:none;width:42px;min-width:0!important;min-height:38px;padding:0!important;justify-content:center;font-size:18px;font-weight:800;cursor:pointer}
.lead-more>summary::-webkit-details-marker{display:none}
.lead-more[open]>summary{background:var(--soft)}
.lead-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:8;display:grid;gap:2px;min-width:180px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 34px #11182724}
.lead-more-menu .button{width:100%;min-width:0;min-height:40px;justify-content:flex-start;padding:0 12px;border:0;background:transparent}
.lead-more-menu .button:hover{background:var(--soft)}
.lead-more-menu .button.danger{color:var(--danger)}

/* Ученик в списке «Ученики»: оплата и долг вместо кнопок консультации. */
.excel-lead-row.is-student-row{grid-template-columns:minmax(0,1.3fr) minmax(140px,.7fr) minmax(160px,.8fr) auto;border-color:#cfe9d9;background:#fbfefc}
.excel-lead-row.is-student-row.has-debt{border-left:4px solid #e0894a}
.student-row-status{display:grid;gap:3px;min-width:0}
.student-pay{justify-self:start;display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#f0f3f9;color:#5a6580;font-size:12px;font-weight:750;white-space:nowrap}
.student-pay.is-debt{background:#fff0e3;color:#b45200}
.student-pay.is-paid{background:#e3f5ea;color:#1b6b43}
.student-paid-line{color:var(--muted);font-size:11px}

@media(max-width:760px){
  /* Шапка раздела короче: кнопки Excel в одну строку, список лидов виден сразу. */
  .custom-record-page-header{gap:12px;margin-bottom:10px;padding-bottom:12px}
  .custom-record-page-header h1{font-size:22px}
  .custom-record-page-header .subtle{display:none}
  .excel-lead-page-actions{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none}
  .excel-lead-page-actions::-webkit-scrollbar{display:none}
  .excel-lead-page-actions .button{flex:0 0 auto;width:auto;min-height:40px;padding:0 14px;font-size:13px}
  .excel-lead-page-actions #customAddRecord{order:-1}
  /* Повторные заявки — одна строка с прокруткой вбок. */
  .high-intent-panel{margin-bottom:10px;padding:12px 14px}
  .high-intent-header{margin-bottom:8px}
  .high-intent-header .eyebrow,.high-intent-header .subtle{display:none}
  .high-intent-header h2{font-size:15px}
  .high-intent-total{width:30px;height:30px;font-size:13px}
  .high-intent-list{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .high-intent-list::-webkit-scrollbar{display:none}
  .high-intent-item{flex:0 0 76%;flex-direction:column;align-items:flex-start;gap:3px;scroll-snap-align:start}
  /* Фильтры — строка с прокруткой, прилипает под шапкой. */
  .lead-status-columns{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;top:54px;margin:0 -15px 10px;padding:8px 15px}
  .lead-status-columns::-webkit-scrollbar{display:none}
  .lead-status-column{min-height:38px;font-size:12.5px}
  .lead-status-column.is-student{margin-left:0}
  .custom-record-toolbar{flex-direction:row;align-items:center;gap:8px}
  .custom-record-toolbar .search-box{flex:1;width:auto}
  .custom-record-count{padding:6px 10px;font-size:11px}
  /* Карточка лида: имя, крупная кнопка звонка, статусы одной строкой, итог звонка и действия. */
  .excel-lead-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name" "phone date" "consult consult" "meta meta" "actions actions";gap:10px;padding:14px}
  .excel-lead-row>.excel-lead-name{grid-area:name}
  .excel-lead-row>.excel-lead-phone{grid-area:phone}
  .excel-lead-row>.excel-lead-date{grid-area:date;align-self:center;font-size:11px}
  .excel-lead-row>.lead-consult-actions{grid-area:consult;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -14px;padding:2px 14px}
  .excel-lead-row>.lead-consult-actions::-webkit-scrollbar{display:none}
  .excel-lead-row>.lead-consult-actions>span:first-child{display:none}
  .excel-lead-row>.excel-lead-meta{grid-area:meta}
  .excel-lead-row>.excel-lead-actions{grid-area:actions;justify-content:stretch}
  .excel-lead-row>.excel-lead-actions>.button{flex:1 1 0;padding:0 10px;font-size:13px}
  .excel-lead-row .lead-status-action{flex:0 0 auto;min-height:36px;padding:0 12px;font-size:12px}
  .excel-lead-name .mini-avatar{display:none}
  .excel-lead-phone{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;background:var(--accent);color:#fff!important;font-size:15px;font-weight:700;white-space:nowrap}
  .excel-lead-phone::before{content:"📞";font-size:15px}
  .excel-lead-meta p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .excel-lead-row.is-student-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "phone" "status" "actions"}
  .excel-lead-row.is-student-row>.student-row-status{grid-area:status}
}
@media(max-width:640px){
  /* Шапка: без лишнего, название в одну строку. */
  .secure-pill{display:none}
  .mobile-brand .brand-name{white-space:nowrap;font-size:14px}
  .language-switch{min-height:40px;padding:0 10px;font-size:11px}
  .topbar .icon-button{width:40px;height:40px}
  /* Поля ввода 16px: телефон не увеличивает страницу при наборе. */
  .search-box input,.input-control,.callback-dialog input,.callback-dialog select,.callback-dialog textarea{font-size:16px}
  .toast{bottom:calc(84px + env(safe-area-inset-bottom))}
  /* Окна (перезвон, опрос, ученик, итог звонка) — снизу во всю ширину, кнопки всегда под пальцем. */
  .callback-dialog{width:100vw;max-width:100vw;max-height:94dvh;margin:auto 0 0;overflow:auto;border-radius:20px 20px 0 0;border-bottom:0}
  .callback-form{padding:18px 16px 0}
  .callback-actions{position:sticky;bottom:0;z-index:2;margin:0 -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #eef0ef;background:#fff}
  .callback-actions .button{flex:1 1 0;min-width:0}
}
/* Компьютер: боковое меню всегда на месте при прокрутке; на широких экранах — больше места под список. */
@media(min-width:641px){.sidebar{position:sticky;top:0;align-self:flex-start;height:100vh;height:100dvh;overflow-y:auto}}
@media(min-width:1280px){.workspace{width:min(100%,1200px)}}
@media(max-width:760px){.lead-more-menu{top:auto;bottom:calc(100% + 6px)}}
@media(max-width:520px){.student-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.student-tiles div{padding:8px 9px}.student-tiles span{font-size:10px}.student-tiles b{font-size:13px;overflow-wrap:anywhere}}
@media(min-width:641px){.topbar{justify-content:flex-end}}
@media(max-width:640px){
  /* Дашборд на телефоне: период одной строкой, суммы в плашках без переноса. */
  .dash-head{gap:10px;margin-bottom:12px;padding-bottom:12px}
  .dash-head h1{font-size:24px}
  .dash-head .subtle{display:none}
  .dash-controls{flex-wrap:nowrap;width:100%;overflow-x:auto;scrollbar-width:none}
  .dash-controls::-webkit-scrollbar{display:none}
  .dash-period{flex:0 0 auto;min-height:38px;padding:0 13px}
  .dash-controls .icon-button{flex:0 0 38px;width:38px;height:38px;margin-left:auto}
  .dash-tiles{gap:8px}
  .dash-tile{gap:4px;padding:12px}
  .dash-tile-value{font-size:19px;white-space:nowrap}
  .dash-tile-sub{font-size:11px}
}

/* ---------- polish-24 (2026-11-19): ИИ-очередь звонков — главный экран лидов (кнопка «ИИ maslahat») ---------- */
/* Переключатель режимов: очередь ИИ (главная) или весь список лидов. */
.lead-mode-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:520px;margin:0 0 12px;padding:5px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
.lead-mode{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:#4b5058;font:inherit;font-size:14px;font-weight:750;cursor:pointer;white-space:nowrap}
.lead-mode b{min-width:26px;height:24px;padding:0 7px;border-radius:999px;background:#e3e5e8;color:#4b5058;font-size:12px;line-height:24px;text-align:center}
.lead-mode.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #11182724}
.lead-mode.is-queue:not(.is-active) b{background:#ffe3cc;color:#b45200}
.lead-mode.is-queue.is-active{background:#dd5f00;color:#fff}
.lead-mode.is-queue.is-active b{background:#ffffff33;color:#fff}
.lead-status-columns.hidden,.custom-record-toolbar.hidden{display:none!important}
/* Панель очереди: когда составлена, сколько уже позвонили, кнопка пересчёта. */
.call-queue-panel{margin:0 0 12px;padding:12px 16px;border:1px solid #f3d3b6;border-radius:14px;background:#fff8f1}
.call-queue-panel.hidden{display:none}
.call-queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px 16px}
.call-queue-info{display:grid;gap:6px;min-width:0}
.call-queue-meta{margin:0;color:#5d6168;font-size:13px;line-height:1.45}
.call-queue-progress{display:flex;align-items:center;gap:8px;font-size:13px}
.call-queue-progress b{font-variant-numeric:tabular-nums}
.call-queue-progress progress{width:140px;height:8px;accent-color:#dd5f00}
.call-queue-stale{margin:0;color:#b45200;font-size:13px;font-weight:700}
.call-queue-build{flex:0 0 auto;min-height:42px;padding:0 16px;white-space:nowrap}
.call-queue-panel.is-busy .call-queue-build{cursor:progress;opacity:.85}
/* Список очереди: заголовки частей; «Следующий звонок» заметнее остальных. */
.queue-section{margin:10px 0 -4px;color:#858991;font-size:11px;font-weight:800;line-height:1.3;letter-spacing:.1em;text-transform:uppercase}
.queue-section:first-child{margin-top:0}
.queue-section.is-next{color:#dd5f00}
.empty-state.queue-finished{padding:22px 15px}
.excel-lead-number.queue-rank{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:999px;background:#dd5f00;color:#fff;font-size:14px;font-weight:800;text-align:center}
.excel-lead-number.queue-rank.is-live{background:#fff;box-shadow:inset 0 0 0 2px #dd5f00;font-size:15px}
.excel-lead-number.queue-rank.is-done{background:#e3f5ea;color:#1b6b43}
.excel-lead-row.is-next-call{border:2px solid #dd5f00;box-shadow:0 10px 30px #dd5f001f}
.excel-lead-row.is-next-call .excel-lead-name b{font-size:19px}
.excel-lead-row>.lead-queue-advice{grid-column:1/-1;min-width:0}
.lead-queue-advice .lead-advice{margin:0}
.lead-advice-row.is-why p{font-weight:650}
.lead-advice-row.is-say{padding:10px 12px;border:1px solid #f3c9a4;border-radius:10px;background:#fff6ee}
.lead-advice-row.is-say .lead-advice-label{color:#b45200}
.lead-advice-row.is-say p{font-weight:650;color:#7a3a10}
.lead-queue-done{margin:8px 0 0;color:#1b6b43;font-size:13px;font-weight:700}
.lead-queue-advice>.lead-queue-done:first-child{margin-top:0}
.excel-lead-row.is-queue-done{background:#f8fafd;opacity:.78}
/* Общий список: значок у лида, которого ИИ уже поставил на звонок. */
.lead-queue-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#ffe9d6;color:#b45200;font-size:11px;font-weight:750}
@media(max-width:760px){
  .lead-mode-switch{max-width:none;margin-bottom:10px}
  /* В очереди кнопки Excel не нужны (они во «Все лиды»): первый звонок виден без прокрутки. */
  .is-queue-mode .excel-lead-page-actions{display:none}
  .is-queue-mode .custom-record-page-header{margin-bottom:8px;padding-bottom:0;border-bottom:0}
  .call-queue-panel{padding:12px 14px}
  .call-queue-head{flex-wrap:wrap}
  .call-queue-info{flex:1 1 180px}
  .call-queue-progress progress{flex:1;width:auto;min-width:50px}
  .call-queue-build{flex:1 1 auto}
  .excel-lead-row.is-queue-item{grid-template-areas:"name name" "phone date" "queue queue" "consult consult" "meta meta" "actions actions"}
  .excel-lead-row.is-queue-item>.lead-queue-advice{grid-area:queue}
}

/* ---------- polish-25 (2026-11-19): итог последнего звонка — понятная фраза от ИИ, запись оператора под «Подробнее» ---------- */
.lead-call-result{display:grid;gap:6px;min-width:0}
.lead-call-label{color:#858991;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.excel-lead-meta .lead-call-summary{display:block;margin:0;overflow:visible;-webkit-line-clamp:unset;color:var(--ink);font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.lead-call-more>summary{display:inline-flex;align-items:center;gap:6px;min-height:34px;color:#4b5058;font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.lead-call-more>summary::-webkit-details-marker{display:none}
.lead-call-more>summary::after{content:"▾";font-size:11px}
.lead-call-more[open]>summary::after{content:"▴"}
.lead-call-detail-list{display:grid;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fafafa}
.lead-call-detail{display:grid;grid-template-columns:140px minmax(0,1fr);gap:2px 12px;font-size:13px;line-height:1.45}
.lead-call-detail span{color:#6b6f80;font-weight:700}
.excel-lead-meta .lead-call-detail p{display:block;margin:0;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}
.lead-call-detail.is-plain{grid-template-columns:minmax(0,1fr)}
@media(max-width:600px){.lead-call-detail{grid-template-columns:minmax(0,1fr)}}

/* ---------- polish-26 (2026-11-20): ровные колонки, спокойные цвета статусов, дашборд из шести плиток ---------- */
/* Список лидов на компьютере: у заголовка и у строк одна и та же сетка с фиксированной колонкой действий.
   Раньше последняя колонка была auto: в заголовке она пустая, в строке — кнопки, и «Телефон» с «Датой» разъезжались. */
@media(min-width:1181px){
  .excel-lead-list-head,.excel-lead-row:not(.is-student-row){grid-template-columns:minmax(0,1.3fr) minmax(150px,.7fr) 104px 300px}
  .excel-lead-row:not(.is-student-row)>.excel-lead-actions{justify-content:flex-end}
}
/* Узкий компьютер и планшет: кнопки действий уходят под имя, чтобы имя и телефон не сжимались. */
@media(min-width:761px) and (max-width:1180px){
  .excel-lead-list-head,.excel-lead-row:not(.is-student-row){grid-template-columns:minmax(0,1fr) 170px 104px}
  .excel-lead-list-head>span:last-child{display:none}
  .excel-lead-row:not(.is-student-row)>.excel-lead-actions{grid-column:1/-1;justify-content:flex-start}
  .excel-lead-name .mini-avatar{display:none}
  /* Кнопки Excel не сжимаются в столбик, а целиком уходят под заголовок. */
  .custom-record-page-header{flex-wrap:wrap}
  .excel-lead-page-actions{flex-wrap:nowrap}
}
@media(min-width:761px){.excel-lead-list-head{column-gap:16px;padding:0 19px 8px}}
.excel-lead-date-sort{white-space:nowrap}

/* Кнопки статуса консультации: невыбранные — нейтральные, с цветной точкой; цветом залит только выбранный статус.
   На карточке остаётся один яркий акцент — текущий статус, а не пять цветных кнопок. */
.lead-status-action{display:inline-flex;align-items:center;gap:7px}
.lead-status-action::before{content:"";flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:currentColor}
.lead-status-action:not(.is-selected){border-color:#e0e5ee;background:#fff;color:#3f4642}
.lead-status-action:not(.is-selected):hover{border-color:#c6ccc8;background:#f6f8fc}
.lead-status-action.is-booked:not(.is-selected)::before{background:#e9a955}
.lead-status-action.is-attended:not(.is-selected)::before{background:#64bd88}
.lead-status-action.is-no-answer:not(.is-selected)::before{background:#d96e68}
.lead-status-action.is-callback:not(.is-selected)::before{background:#6f86d9}
.lead-status-action.is-student:not(.is-selected)::before{background:#2f9e63}
/* Карточка лида — белая при любом статусе: статус и так виден по выбранной кнопке. */
.excel-lead-row.is-consult-booked,.excel-lead-row.is-consult-attended,.excel-lead-row.is-consult-no-answer,.excel-lead-row.is-consult-callback,.excel-lead-row.is-consult-student{border-color:#e6ebf3;background:#fff}
/* Особые карточки сохраняют свою рамку (порядок как раньше: повторная заявка, затем «Следующий звонок»). */
.excel-lead-row.is-high-intent{border-left:4px solid #e38a32;background:#fff}
.excel-lead-row.is-next-call{border:2px solid #dd5f00}
.excel-lead-row.is-queue-done{background:#f8fafd}

/* Фильтры над списком — тоже нейтральные с цветной точкой; цветом выделен только выбранный фильтр.
   Отступ слева чуть меньше, чтобы с точками все фильтры по-прежнему помещались в одну строку (и по-узбекски). */
.lead-status-columns{gap:6px}
.lead-status-column{padding-left:11px}
.lead-status-column>span{display:inline-flex;align-items:center;gap:4px}
.lead-status-column>span::before{content:"";flex:0 0 auto;width:6px;height:6px;border-radius:50%;background:#9aa6a0}
.lead-status-column[data-lead-filter="all"]>span::before{display:none}
.lead-status-column.is-booked>span::before{background:#e9a955}
.lead-status-column.is-attended>span::before{background:#64bd88}
.lead-status-column.is-no-answer>span::before,.lead-status-column.is-unclear>span::before{background:#d96e68}
.lead-status-column.is-callback>span::before{background:#6f86d9}
.lead-status-column.is-student>span::before{background:#2f9e63}
.lead-status-column.is-student.is-active>span::before{background:#fff}
.lead-status-column:not(.is-active){border-color:#e0e5ee;background:#fff;color:#3f4642}
.lead-status-column:not(.is-active) b{background:#eff2f8;color:#5a6580}
.lead-status-column:not(.is-active):hover{border-color:#c6ccc8}

/* Телефон: кнопки статусов переносятся на вторую строку, а не уезжают за край экрана.
   Панель очереди: кнопка «ИИ maslahat» — отдельной строкой, чтобы «Позвонили 12 / 12» не ломалось (по-узбекски длиннее). */
@media(max-width:760px){
  .excel-lead-row>.lead-consult-actions{flex-wrap:wrap;overflow-x:visible;margin:0;padding:0}
  .call-queue-info{flex-basis:100%}
}

/* Дашборд: опросы — строкой под воронкой. */
.dash-funnel-foot{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:14px 0 0;padding:12px 0 0;border-top:1px solid #edf1f7;font-size:13px}
.dash-funnel-foot span{color:#5a6580;font-weight:650}
.dash-funnel-foot small{margin-left:auto;color:#8791a8;font-size:12px}
.dash-funnel-foot small.is-bad{color:#a63834;font-weight:650}
/* Телефон: четыре периода и «Обновить» помещаются в одну строку без прокрутки. */
@media(max-width:640px){
  .dash-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 38px;gap:6px;overflow:visible}
  .dash-period{min-width:0;padding:0 4px;font-size:12.5px;white-space:nowrap}
  .dash-controls .icon-button{margin-left:0}
}
/* «Стали учениками» / «O‘quvchi bo‘lganlar» — в одну строку. */
@media(max-width:520px){.dash-bar-row{grid-template-columns:124px 1fr 30px}}

/* ---------- polish-27 (2026-11-23): опрос по звонку сохраняется с любым количеством ответов ---------- */
.survey-hint{margin:-4px 2px 0;font-size:12.5px;line-height:1.45}
/* На телефоне кнопки опроса прилипают к низу: сообщение прокручиваем так, чтобы оно было над ними */
.survey-dialog .callback-message{scroll-margin-bottom:104px}

/* ---------- polish-28 (2026-11-23): одна кнопка «Записать звонок», архив лидов, очередь по одному лиду ---------- */
/* Статус лида — одна плашка вместо ряда кнопок: этап и время следующего звонка или консультации. */
.excel-lead-row>.lead-status-line{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.lead-consult-status{gap:6px;min-height:30px;padding:4px 11px;font-size:12px}
.lead-consult-status time,.lead-consult-status b{font-weight:800;font-variant-numeric:tabular-nums}
.lead-consult-status span+span{font-weight:650;opacity:.8}
/* Главная кнопка карточки. */
.excel-lead-row>.excel-lead-actions>.lead-call-action{flex:1 1 auto}
.excel-lead-row.is-next-call .lead-call-action{min-height:46px;font-size:15px}
/* Окно «Записать звонок»: шаг 1 — результат, шаг 2 — только нужное по этому результату. */
.call-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}
.call-steps{display:grid;gap:4px}
.call-dialog .survey-block:first-child{border-top:0;padding-top:0}
.call-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.call-result{display:flex;align-items:center;gap:9px;min-height:52px;padding:8px 12px;border:1px solid #e0e5ee;border-radius:12px;background:#fff;color:#1f2623;font:inherit;font-size:14px;font-weight:700;line-height:1.25;text-align:left;cursor:pointer}
.call-result:hover{border-color:#b9c1bc;background:#f6f8fc}
.call-result::before{content:"";flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#97a1b6}
.call-result.is-no-answer::before{background:#d96e68}
.call-result.is-callback::before,.call-result.is-thinking::before{background:#6f86d9}
.call-result.is-booked::before,.call-result.is-attended::before{background:#e9a955}
.call-result.is-paid::before{background:#2f9e63}
.call-chosen{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:#f4f6f5;font-size:14px}
.call-chosen span{color:#68738c;font-size:12px;font-weight:700}
.call-chosen b{flex:1 1 auto;min-width:0}
.call-change{flex:0 0 auto;min-height:36px;padding:0 8px;border:0;background:none;color:var(--accent);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.call-info{margin:0;color:#59625d;font-size:13px;line-height:1.45}
/* Очередь по одному лиду: под карточкой — «Пропустить», ниже свёрнутые списки «дальше» и «уже позвонили». */
.queue-section.is-next{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.queue-section.is-next i{font-style:normal;color:#c4c7cc}
.queue-section.is-next span+i~*{color:#858991}
.queue-focus-nav{display:flex;justify-content:flex-end}
.queue-focus-nav .button{min-height:42px}
.queue-rest{border:1px solid #e6ebf3;border-radius:14px;background:#fff;overflow:hidden}
.queue-rest>summary{display:flex;align-items:center;gap:8px;padding:12px 16px;color:#3f4642;font-size:13px;font-weight:750;cursor:pointer;list-style:none}
.queue-rest>summary::-webkit-details-marker{display:none}
.queue-rest>summary::after{content:"▾";margin-left:auto;color:#97a1b6}
.queue-rest[open]>summary::after{content:"▴"}
.queue-rest>summary b{min-width:24px;padding:1px 8px;border-radius:999px;background:#f0f3f9;font-size:12px;text-align:center}
.queue-rest-item{display:grid;gap:2px;width:100%;margin:0;padding:10px 16px;border:0;border-top:1px solid #eff2f8;background:none;color:inherit;font:inherit;text-align:left}
button.queue-rest-item{cursor:pointer}
button.queue-rest-item:hover{background:#f6f8fc}
.queue-rest-item b{font-size:14px}
.queue-rest-item span{color:#68738c;font-size:12.5px;line-height:1.4}
.queue-rest.is-done .queue-rest-item b{color:#68738c;font-weight:650}
/* Архив: причина рядом с именем, кнопка «Вернуть в список». */
.excel-lead-row.is-archived-row{background:#f8fafd}
.lead-archive-reason{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#eceeed;color:#4a5672;font-size:11px;font-weight:750}
.lead-archive-note{align-self:center;color:#68738c;font-size:12px;line-height:1.4}
.excel-lead-phone.is-empty{background:none;color:#97a1b6!important;padding:0;min-height:0}
.excel-lead-phone.is-empty::before{content:none}
.archive-lost-note{margin:4px 2px 0;color:#76819a;font-size:12.5px;line-height:1.5}
/* «Подробнее»: следующий шаг, известное о ребёнке, история звонков. */
.lead-call-more .lead-call-detail-list+.lead-call-detail-list{margin-top:8px}
.lead-call-history{display:grid;gap:4px;margin-top:10px}
.lead-call-history p{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:0;color:#4a5672;font-size:12.5px;-webkit-line-clamp:unset}
.lead-call-history time{color:#76819a;font-variant-numeric:tabular-nums}
.lead-call-history i{font-style:normal;color:#97a1b6}
.lead-call-history small{color:#97a1b6}
@media(max-width:760px){
  .excel-lead-row>.lead-status-line{grid-area:consult}
  /* В очереди кнопка «Записать звонок» стоит сразу под подсказкой: она видна без прокрутки. */
  .excel-lead-row.is-queue-item{grid-template-areas:"name name" "phone date" "queue queue" "actions actions" "consult consult" "meta meta"}
  .call-results{grid-template-columns:1fr}
  .call-result{min-height:50px;font-size:15px}
  .queue-focus-nav .button{flex:1 1 auto}
}
/* ---------- polish-29: очередь звонков по правилам — счётчики над очередью, «Сегодня позвонили» ---------- */
.call-queue-stats{display:flex;flex-wrap:wrap;gap:8px 22px}
.call-queue-stat{display:inline-flex;align-items:baseline;gap:7px;color:#5d6168;font-size:13px;line-height:1.45}
.call-queue-stat b{color:#0d2557;font-size:16px;font-variant-numeric:tabular-nums}
.call-queue-stat:first-child b{color:#dd5f00}
.queue-rest.is-done .queue-rest-item .lead-consult-status{justify-self:start}
@media(max-width:760px){.call-queue-stats{gap:6px 16px}}
/* ---------- polish-30: HR — заявки сгруппированы по вакансиям, ответы анкеты понятными «чипами», вердикт по фильтрам ---------- */
.hr-lead-groups{gap:24px}
.hr-group-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#0d2557;font-size:15px;font-weight:720;line-height:1.3}
.hr-group-icon{font-size:16px;line-height:1}
.hr-group-count{min-width:24px;padding:1px 8px;border-radius:999px;background:#f0f3f9;color:#4a5672;font-size:12px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
.hr-card .lead-card-top{align-items:flex-start}
.lead-card-secondary.hr-card-meta{display:flex;flex-wrap:wrap;gap:2px 6px;font-variant-numeric:tabular-nums}
.hr-card-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.hr-chip{display:inline-block;max-width:100%;padding:5px 9px;border:1px solid #eceeed;border-radius:8px;background:#f7f8f8;color:#5d6168;font-size:11.5px;line-height:1.35;text-align:left;overflow-wrap:anywhere}
.hr-chip-label::after{content:":";margin-right:4px}
.hr-chip b{color:#26302b;font-weight:650}
.hr-chip i,.hr-answer-a i,.hr-verdict i,.hr-card-note i{font-style:normal;margin-right:4px}
.hr-chip.good{background:#f0f8f4;border-color:#d7ede3}.hr-chip.good b{color:#14795f}
.hr-chip.bad{background:#fbf1f0;border-color:#f1d8d5}.hr-chip.bad b{color:#a4473f}
.hr-chip.warn{background:#fdf6e8;border-color:#f3e3c2}.hr-chip.warn b{color:#8a5a12}
.hr-chip.more{color:#76819a;font-weight:650}
.hr-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:11px;padding-top:10px;border-top:1px solid #f0f0f1}
.hr-verdict{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:700;line-height:1.3}
.hr-verdict.good{background:#e8f5ee;color:#14795f}
.hr-verdict.bad{background:#f8eceb;color:#a4473f}
.hr-verdict.warn{background:#fcf1dc;color:#8a5a12}
.hr-card-note{display:inline-flex;align-items:center;color:#5d6168;font-size:11.5px}
/* Карточка кандидата */
.hr-dialog-vacancy{display:flex;align-items:center;gap:6px;margin:4px 0 0;color:var(--muted);font-size:13px}
.detail-grid.hr-dialog-info{border-top:0}
.hr-dialog-info .detail-row{border-top:1px solid #f0f0f1}
.hr-dialog-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:2px 0 12px}
.hr-dialog-date{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.hr-dialog-section{margin:16px 0 8px;color:#5d6168;font-size:11.5px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.hr-answers{display:grid;gap:6px}
.hr-answer{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.15fr);gap:12px;align-items:baseline;padding:9px 12px;border-radius:10px;background:#f7f8f8;font-size:12.5px;line-height:1.4}
.hr-answer-q{color:#5d6168;overflow-wrap:anywhere}
.hr-answer-a{color:#26302b;font-weight:650;overflow-wrap:anywhere}
.hr-answer.good{background:#f0f8f4}.hr-answer.good .hr-answer-a{color:#14795f}
.hr-answer.bad{background:#fbf1f0}.hr-answer.bad .hr-answer-a{color:#a4473f}
.hr-answer.warn{background:#fdf6e8}.hr-answer.warn .hr-answer-a{color:#8a5a12}
@media(max-width:640px){
  .hr-answer{grid-template-columns:1fr;gap:3px}
  .hr-chip{font-size:11px}
  .hr-group-title{font-size:14px}
}

/* ---------- polish-31: Вакансии — папка на каждую кампанию, внутри полки по этапам найма ---------- */
.hr-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.hr-folder{display:flex;align-items:flex-start;gap:12px;width:100%;min-height:118px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 1px 2px #1118270a;transition:border-color .15s,box-shadow .15s,transform .15s}
.hr-folder:hover{border-color:#cfe9df;box-shadow:0 6px 18px #11182712;transform:translateY(-1px)}
.hr-folder:focus-visible,.hr-verdict-chip:focus-visible,.hr-shelf-title:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hr-folder-icon{flex:0 0 auto;width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:var(--accent-soft);font-size:20px;line-height:1}
.hr-folder-body{display:grid;gap:9px;min-width:0}
.hr-folder-title{font-size:15px;font-weight:720;line-height:1.3;overflow-wrap:anywhere}
.hr-folder-stats{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;color:var(--muted);font-size:12px}
.hr-folder-new,.hr-folder-total{display:inline-flex;align-items:center;gap:6px}
.hr-folder-new b{min-width:24px;padding:1px 8px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:750;text-align:center;font-variant-numeric:tabular-nums}
.hr-folder-new.is-zero b{background:#eef0ef;color:#76819a}
.hr-folder-total b{color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
.hr-folder-date{display:flex;flex-wrap:wrap;gap:2px 6px;color:var(--quiet);font-size:11.5px}
.hr-folder-date b{color:var(--muted);font-weight:600;font-variant-numeric:tabular-nums}
/* Открытая папка */
.lead-list.is-folder{gap:0}
.hr-folder-head{display:grid;gap:14px;margin-bottom:16px}
.hr-back{justify-self:start;min-height:34px;padding:0 12px}
.hr-folder-heading{display:flex;align-items:flex-start;gap:12px}
.hr-folder-heading-text{min-width:0}
.hr-folder-heading h2{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.01em;overflow-wrap:anywhere}
.hr-folder-forms{display:flex;flex-wrap:wrap;gap:2px 8px;margin:6px 0 0;color:var(--muted);font-size:12px}
.hr-folder-forms b{color:#4a5672;font-weight:600;overflow-wrap:anywhere}
.hr-folder-forms b+b::before{content:"·";margin-right:8px;color:var(--quiet)}
.hr-verdict-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px;padding-bottom:4px}
.hr-verdict-chip{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#42454b;font-size:12.5px;font-weight:600}
.hr-verdict-chip b{color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums}
.hr-verdict-chip.good b{color:#14795f}.hr-verdict-chip.warn b{color:#8a5a12}.hr-verdict-chip.bad b{color:#a4473f}
.hr-verdict-chip.is-active{background:#0d2557;border-color:#0d2557;color:#fff}.hr-verdict-chip.is-active b{color:#d9e7e1}
.hr-shelves{display:grid;gap:6px}
.hr-shelf{padding-top:12px;border-top:1px solid #f0f0f1}
.hr-shelf-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#0d2557;font-size:12px;font-weight:760;letter-spacing:.05em;text-transform:uppercase;list-style:none;cursor:pointer}
.hr-shelf-title::-webkit-details-marker{display:none}
.hr-shelf-title::before{content:"▸";color:var(--quiet);font-size:11px;transition:transform .15s}
details[open]>.hr-shelf-title::before{transform:rotate(90deg)}
.hr-shelf-count{min-width:24px;padding:1px 8px;border-radius:999px;background:#f0f3f9;color:#4a5672;font-size:11.5px;letter-spacing:0;text-align:center;font-variant-numeric:tabular-nums}
.hr-shelf[data-stage="new"] .hr-shelf-count{background:var(--accent);color:#fff}
.hr-shelf.is-empty{display:flex;align-items:center;gap:8px;padding-bottom:6px;color:var(--quiet);font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.hr-shelf.is-empty::before{content:"▸";visibility:hidden;font-size:11px}
.hr-shelf.is-empty .hr-shelf-count{background:#f6f7f7;color:var(--quiet)}
.hr-shelf .lead-list{margin-bottom:8px}
/* На телефоне поиск и «Обновить» остаются в одной строке (общее правило переносит кнопку вниз). */
@media(max-width:720px){#leadsPage .toolbar{flex-wrap:nowrap}#leadsPage .toolbar .search-box{flex-basis:auto}}
@media(max-width:640px){
  .hr-folders{grid-template-columns:1fr;gap:10px}
  .hr-folder{min-height:0;padding:14px}
  .hr-folder-heading h2{font-size:18px}
}

/* ---------- superayiq-1: brand theme SUPER AYIQ (2026-11-30) ----------
   Цвета и шрифт сайта superayiq.uz: тёмно-синий #0D2557, синий #1F5FE0, оранжевый #FF7A00, Poppins. */
:root{--navy:#0d2557;--blue:#1f5fe0;--orange:#ff7a00;--ice:#d2e1f8;--ink:#16223f;--muted:#5b6782;--quiet:#8f9ab2;--line:#e1e7f1;--soft:#f0f4fa;--sidebar:#0d2557;--accent:#1f5fe0;--accent-dark:#1748b8;--accent-soft:#eaf1fe;--shadow:0 18px 60px #0d255718;font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{color:var(--ink)}
.app-shell{background:#f6f8fc}
.main-column{background:#f6f8fc}
/* Боковое меню — тёмно-синее, как шапка сайта */
.sidebar{background:var(--navy);border-right:0;color:#d4def3}
.sidebar .brand{gap:10px;padding:6px 8px 4px}
.brand-avatar{width:34px;height:34px;border-radius:50%;flex:0 0 auto;display:block}
.brand-word{height:17px;width:auto;display:block}
.brand-symbol,.brand-name{display:none}
.nav-label{color:#8ea3cf}
.nav-item,.nav-archive-summary{color:#c9d6f2;font-weight:500}
.nav-icon{color:#8ea3cf}
.nav-item:hover,.nav-archive-summary:hover,.nav-archive:has(.nav-item.active)>.nav-archive-summary{background:#ffffff14;color:#fff}
.nav-item.active{background:#ffffff1f;color:#fff;box-shadow:inset 3px 0 0 var(--orange)}
.nav-item.active .nav-icon,.nav-item:hover .nav-icon{color:var(--orange)}
.nav-count{background:#ffffff24;color:#fff}
.nav-archive-list{border-left-color:#ffffff24}
.sidebar-bottom{border-top-color:#ffffff1f}
.profile-copy b{color:#fff}
.profile-copy small{color:#8ea3cf}
.sidebar .avatar{background:var(--orange);color:var(--navy)}
.sidebar .logout{color:#c9d6f2}
/* Шапка */
.topbar{background:#ffffffee;border-bottom:1px solid #e6ebf3}
.mobile-brand{gap:8px}
.mobile-brand .brand-avatar{width:30px;height:30px}
.mobile-brand .brand-word{height:15px}
.language-switch{border-color:#dfe6f2;color:var(--muted)}
.language-switch b.on{color:var(--accent)}
.secure-pill i{background:var(--orange)}
/* Заголовки и кнопки */
.page-heading h1,.custom-record-page-header h1{color:var(--navy);font-weight:700;letter-spacing:-.025em}
h1,h2,h3{color:var(--navy)}
.eyebrow{color:var(--accent)}
.button{border-radius:12px;font-weight:600}
.button.primary{background:var(--accent);color:#fff}
.button.primary:hover{background:var(--accent-dark)}
.button.secondary{border-color:#dbe3f0;color:var(--navy)}
.button.secondary:hover{background:#f3f6fc}
.input-control:focus,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #1f5fe026}
.dash-column i{background:var(--accent)}
/* Вход: слева бренд, справа карточка */
.login-page{display:grid;grid-template-columns:1fr;place-items:stretch;padding:0;background:#f6f8fc;min-height:calc(100dvh - 58px)}
.login-hero{display:flex;flex-direction:column;justify-content:center;gap:22px;padding:28px 24px 0;background:var(--navy);color:#fff;overflow:hidden}
.login-hero-word{height:26px;width:auto;display:block}
.login-hero-text{margin:0;color:#c9d6f2;font-size:15px;max-width:30em}
.login-hero-bear{display:none;width:min(440px,92%);height:auto;margin-top:8px}
.login-hero-ground{height:6px;border-radius:6px;background:var(--orange);margin:-4px -24px 0}
.login-side{display:grid;place-items:center;padding:24px 16px 40px}
.login-card{width:min(100%,400px);padding:32px 28px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 18px 50px #0d25570f}
.login-avatar{width:56px;height:56px;border-radius:50%;display:block;margin:0 auto 16px}
.login-card h1{color:var(--navy);font-weight:700;letter-spacing:-.02em}
.button.google{background:#fff;color:#1f2937;border:1px solid #d7deea;min-height:48px;font-size:14px}
.button.google:hover{background:#f6f8fc}
.button.google svg{width:20px;height:20px;flex:0 0 auto}
.login-divider{display:flex;align-items:center;gap:10px;margin:18px 0 4px;color:var(--quiet);font-size:11px}
.login-divider::before,.login-divider::after{content:"";flex:1;height:1px;background:var(--line)}
@media(min-width:900px){
 .login-page{grid-template-columns:1.05fr .95fr}
 .login-hero{padding:56px 56px 0;justify-content:flex-end}
 .login-hero-word{height:34px}
 .login-hero-bear{display:block}
 .login-hero-ground{margin:-6px -56px 0}
}
.dash-period.is-active{background:var(--navy);border-color:var(--navy);color:#fff}
.student-lead-box b,.script-toc a,.nav-context-menu button{color:var(--navy)}
@media(max-width:899px){.login-hero-word{display:none}.login-hero{padding-top:22px}.login-hero-text{font-size:14px;padding-bottom:18px}}
/* Ожидание решения владельца и раздел «Доступ» (вход через Google) */
.access-wait h1{font-size:22px}
.access-wait-email{margin:14px 0 6px;font-weight:600;color:var(--navy);word-break:break-all}
.access-list{display:grid;gap:14px}
.access-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
.access-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.access-who{display:grid;min-width:0;flex:1}
.access-who b{color:var(--navy);font-weight:600}
.access-who small{color:var(--muted);font-size:12px;word-break:break-all}
.access-chips{display:flex;gap:6px;flex-wrap:wrap}
.access-chip{border-radius:999px;padding:4px 10px;font-size:11px;font-weight:600;background:#eef2f8;color:var(--muted)}
.access-chip.is-approved{background:#e6f6ec;color:#1b6b43}
.access-chip.is-pending{background:#fff1e2;color:#b45200}
.access-chip.is-blocked{background:#ffedeb;color:#a63834}
.access-chip.is-owner{background:var(--navy);color:#fff}
.access-sections{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.access-section{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:8px 12px;font-size:13px;cursor:pointer;background:#f8fafd}
.access-section input{accent-color:var(--accent);width:16px;height:16px;margin:0}
.access-section:has(input:checked){border-color:#b9cdf6;background:var(--accent-soft);color:var(--navy)}
.access-actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.access-who{flex:1 1 200px}
.access-who small span:last-child{white-space:nowrap}
@media(max-width:899px){
 .login-page{align-content:start;min-height:0}
 .login-hero{padding:18px 20px 0;gap:10px}
 .login-hero-text{padding-bottom:14px}
 .login-hero-ground{margin:0 -20px}
 .login-side{place-items:start center;padding:20px 16px 32px}
}


/* ---------- superayiq-2: поступления на дашборде, способ оплаты, звонки в «Вакансиях» (2026-11-30) ---------- */
.money-card{margin:0 0 16px;padding:18px}
.money-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.money-head h2{margin:0;font-size:18px;color:var(--navy)}
.money-title .subtle{margin:4px 0 0;font-size:12px}
.money-month{display:flex;align-items:center;gap:6px}
.money-month b{min-width:132px;text-align:center;font-size:15px;color:var(--navy)}
.money-month .icon-button:disabled{opacity:.35;cursor:default}
.money-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px;margin:0 0 14px}
.money-total{display:grid;align-content:start;gap:4px}
.money-total>span{font-size:12px;font-weight:700;color:#6b7690}
.money-total>b{font-size:clamp(28px,3.4vw,40px);letter-spacing:-.03em;color:var(--navy);line-height:1.1}
.money-diff{font-size:13px;color:#59627a}
.money-diff.is-up b{color:#1b6b43}.money-diff.is-down b{color:#a63834}
.money-refunds{font-size:12px;color:#a63834}
.money-plan{padding:14px;border:1px solid #e1e7f1;border-radius:14px;background:#f7f9fe;min-width:0}
.money-plan-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#59627a}
.money-plan-head b{color:var(--navy)}
.money-edit{min-height:36px;padding:0 12px;font-size:13px}
.money-plan-bar{height:12px;margin:12px 0 6px;border-radius:999px;background:#e3e9f6;overflow:hidden}
.money-plan-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--orange))}
.money-plan-foot,.money-forecast{display:block;font-size:12px;color:#59627a}
.money-forecast{margin-top:6px}
.money-tiles{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 14px}
.money-tiles .dash-tile-value{font-size:clamp(18px,1.9vw,24px);white-space:nowrap}
@media(max-width:900px){.money-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Одна колонка формы окна сжимается по ширине экрана: длинное поле или строка больше не раздвигают окно на телефоне. */
.callback-form,.callback-calendar{grid-template-columns:minmax(0,1fr)}
.dash-tile.is-clickable{cursor:pointer}
.dash-tile.is-clickable:hover,.dash-tile.is-clickable:focus-visible{border-color:var(--blue);outline:none}
.money-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;margin:0 0 14px}
.money-breakdown,.money-months,.money-list{padding:14px;border:1px solid #e1e7f1;border-radius:14px;background:#fff;min-width:0}
.money-breakdown h3,.money-months h3,.money-list h3,.money-reconcile h3{margin:0 0 10px;font-size:13px;color:var(--navy)}
.money-list h3 small,.money-reconcile h3 small{display:inline-block;min-width:22px;padding:1px 7px;border-radius:999px;background:#eef2ff;color:#2f4aa3;font-size:11px;text-align:center}
.money-bar-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto 34px;gap:8px;align-items:center;margin:0 0 8px;font-size:12.5px}
.money-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3c4660}
.money-bar-row b{white-space:nowrap}
.money-bar-row small{color:#8791a8;text-align:right}
.dash-bar i.is-money{background:var(--blue)}
.money-months{margin:0 0 14px}
.money-columns{height:150px}
.money-columns .dash-column{padding:0;border:0;background:transparent;font:inherit;cursor:pointer}
.money-columns .dash-column i{background:#bccbf3}
.money-columns .dash-column.is-current i{background:var(--blue)}
.money-columns .dash-column.is-current small{color:var(--navy);font-weight:800}
.money-columns .dash-column em{font-style:normal;font-size:10px;color:#59627a;white-space:nowrap}
.money-reconcile{margin:0 0 14px;padding:14px;border:1px solid #f1d7a8;border-radius:14px;background:#fff8ec}
.money-reconcile>.subtle{margin:0 0 6px;font-size:12px;line-height:1.45}
.money-suspect{padding:10px 0;border-top:1px dashed #efd2a0;font-size:13px}
.money-suspect-top{margin:0 0 6px;color:#3c4660}
.money-candidate{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0 5px 12px;border-left:3px solid #f3c98a;font-size:12.5px;color:#59627a}
.money-candidate .button{min-height:34px;padding:0 10px;font-size:12px;flex:0 0 auto}
.money-different{margin:6px 0 0;padding:4px 0;border:0;background:none;color:#a35a00;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.money-row.is-refund .dash-row-main b{color:#a63834}
.money-receipt-no{color:#59627a}
.money-more{width:100%;margin-top:8px}
.money-dialog .callback-form{gap:12px}
@media(max-width:760px){.money-main{grid-template-columns:1fr}}
@media(max-width:520px){
  .money-card{padding:14px}
  .money-month b{min-width:110px;font-size:14px}
  .money-bar-row{grid-template-columns:96px minmax(0,1fr) auto 30px;gap:6px;font-size:12px}
  .money-candidate{flex-wrap:wrap}
}
/* Карточка ученика: способ и дата оплаты */
.student-add-more{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.student-add-more select,.student-add-more input{width:100%;height:44px;border:1px solid #d9dce0;border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff;min-width:0}
.student-add-more label{display:grid;gap:4px;font-size:12px;font-weight:650;color:#66718a}
.student-add-more label input{height:40px}
.student-payment-method{font-style:normal;font-weight:700;color:#2f4aa3}
@media(max-width:520px){.student-add-more{grid-template-columns:1fr}}
/* «Вакансии»: последний звонок на карточке и журнал в карточке кандидата */
.hr-card-call{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 9px;border-radius:999px;background:#eef2ff;color:#2f4aa3;font-size:12px;font-weight:700}
.hr-card-call i{font-style:normal}
.hr-card-call span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hr-card-call b{font-weight:800;white-space:nowrap}
.hr-card-call.is-no-answer{background:#f1f3f7;color:#59627a}
.hr-card-call.is-interview{background:#fff3e0;color:#a35a00}
.hr-card-call.is-hired{background:#e6f5ec;color:#1b6b43}
.hr-card-call.is-not-fit,.hr-card-call.is-refused,.hr-card-call.is-wrong-number,.hr-card-call.is-no-show{background:#fdeceb;color:#a63834}
.hr-calls{display:grid;gap:8px;margin:0 0 4px}
.hr-call{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;padding:8px 10px;border:1px solid #e5eaf3;border-radius:12px;background:#fff}
.hr-call-when{font-size:12px;color:#8791a8}
.hr-call-body{display:grid;gap:2px;min-width:0}
.hr-call-body b{font-size:13px}
.hr-call-body small{font-size:12px;color:#59627a;overflow-wrap:anywhere}
.hr-call-body .hr-call-by{color:#8791a8}
.hr-calls-empty{margin:0 0 6px;font-size:13px}
.call-result.is-interview::before{background:#e9a955}
.call-result.is-hired::before{background:#2f9e63}
.call-result.is-not-fit::before,.call-result.is-refused::before,.call-result.is-wrong-number::before,.call-result.is-no-show::before{background:#d96e68}
#leadDialog .dialog-actions{flex-wrap:wrap}

/* ---------- superayiq-3: все платежи месяца — кто внёс, что поступило и откуда (2026-11-30) ---------- */
.money-list-head h3{margin:0}
.money-list-head .subtle{margin:4px 0 10px;font-size:12px}
.money-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.money-filter{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid #dfe5f1;border-radius:999px;background:#fff;color:#3c4660;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.money-filter b{padding:1px 7px;border-radius:999px;background:#eef2ff;color:#2f4aa3;font-size:11px}
.money-filter.is-active{border-color:var(--navy);background:var(--navy);color:#fff}
.money-filter.is-active b{background:rgba(255,255,255,.18);color:#fff}
.money-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:10px 4px;border-top:1px solid #edf1f7}
.money-rows>.money-row:first-child{border-top:0}
.money-row-main{display:grid;gap:2px;min-width:0}
.money-row-who{font-size:14px}
.money-row-main small{font-size:12px;color:#59627a;overflow-wrap:anywhere}
.money-row-label{color:#8791a8;font-weight:600}
.money-row-label::after{content:":"}
.money-src{font-weight:700}
.money-src.is-crm{color:var(--blue)}.money-src.is-bot{color:#7a4ad9}.money-src.is-payme{color:#0b8aa6}.money-src.is-receipt{color:#a35a00}
.money-row>b{font-size:14px;white-space:nowrap}
.money-row.is-refund .money-row-who{color:#a63834}

/* ---------- superayiq-4: «Удалить платёж» в списке платежей (2026-11-30) ---------- */
.money-row-side{display:grid;justify-items:end;gap:6px}
.money-row-del{min-height:30px;padding:0 10px;border:1px solid #f1d7d7;border-radius:8px;background:#fff;color:#b42318;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.money-row-del:hover{background:#fff5f4}
.money-cancel-what{margin:4px 0 0;font-size:13px;overflow-wrap:anywhere}
