:root{font-family:Inter,Arial,sans-serif;color:#17242b;background:#f3f6f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.brand{color:#198b83;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1{margin:5px 0 0;font-size:25px}button,input{font:inherit}button{cursor:pointer}.login-card{width:min(420px,calc(100vw - 32px));margin:15vh auto;padding:32px;border:1px solid #dfe7e8;border-radius:18px;background:#fff;box-shadow:0 18px 60px #24404718}.login-card p{color:#6a787d}.login-card form{display:flex;gap:9px}.login-card input{flex:1;min-width:0;padding:12px;border:1px solid #cbd7d9;border-radius:9px}.login-card button,.toolbar button{border:0;border-radius:9px;background:#198b83;color:#fff;padding:11px 16px;font-weight:700}.error{margin-top:12px;color:#bd2d2d;font-size:13px}main{min-height:100vh;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.month-nav{display:flex;align-items:center;gap:16px}.month-nav strong{min-width:180px;text-align:center;font-size:18px}.month-nav button,.secondary{width:38px;height:38px;border:1px solid #d3dddf;border-radius:9px;background:#fff;color:#26383f;font-weight:700}.secondary{width:auto;padding:0 14px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px;padding:14px 16px;border:1px solid #dfe7e8;border-radius:13px;background:#fff}.toolbar form{display:flex;align-items:center;gap:10px}.toolbar input,.toolbar select{height:40px;padding:8px 10px;border:1px solid #cbd7d9;border-radius:8px;background:#fff}.toolbar select{min-width:270px}.toolbar label{display:flex;align-items:center;gap:8px;color:#637278;font-size:13px}.legend{display:flex;align-items:center;gap:14px;color:#58696f;font-size:13px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:14px;height:14px;border-radius:4px}.legend .work{background:#d9f2e3}.legend .off{background:#f3e0e0}.hint{color:#8a979c}.calendar-wrap{overflow:auto;border:1px solid #dce5e6;border-radius:14px;background:#fff;box-shadow:0 5px 20px #20393f0a}table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}th,td{padding:5px;border-right:1px solid #edf1f2;border-bottom:1px solid #edf1f2;text-align:center}thead th{position:sticky;top:0;z-index:2;background:#f8fafb;font-size:12px}thead th b,thead th small{display:block}thead th small{margin-top:3px;color:#849197;font-weight:500}.weekend{background:#fdf7f7!important;color:#ae5555}.person{position:sticky;left:0;z-index:1;min-width:190px;max-width:190px;background:#fff;text-align:left}.person span{display:inline-block;max-width:145px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.delete{float:right;border:0;background:transparent;color:#a6b0b4;font-size:20px}.delete:hover{color:#bd2d2d}.shift{width:34px;height:34px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:800}.shift.work{background:#d9f2e3;color:#187544}.shift.off{background:#f3e0e0;color:#a43f3f}.empty{padding:70px 25px;text-align:center;color:#75848a}#toast{position:fixed;right:24px;bottom:24px;padding:12px 16px;border-radius:10px;background:#183b37;color:#fff;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:none}#toast.bad{background:#a33131}.fatal{margin:60px auto;padding:20px;max-width:500px;color:#a33131;background:#fff;border-radius:12px}[hidden]{display:none!important}@media(max-width:850px){main{padding:12px}header,.toolbar{align-items:flex-start;flex-direction:column}.toolbar form{align-items:stretch;flex-direction:column;width:100%}.month-nav{order:3}.legend{flex-wrap:wrap}.hint{width:100%}}
.month-actions{display:flex;justify-content:flex-end;gap:10px;margin:0 0 15px}.month-actions button{padding:10px 15px;border:1px solid #198b83;border-radius:9px;background:#fff;color:#16776f;font-weight:750}.month-actions button:hover{background:#eaf6f5}.month-actions .danger{border-color:#d5a9a9;color:#a33131}.month-actions .danger:hover{background:#fff0f0}.shift.blank{background:#f7f9f9;color:#aab4b7;border-color:#e7eded}

.shift-total-head,.shift-total{position:sticky;right:0;z-index:1;min-width:62px;background:#f8fafb!important;border-left:2px solid #dfe7e8}.shift-total{font-size:15px;color:#18756d}.shift-total strong{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:9px;background:#e5f4f1}.shift-total-head{z-index:3;color:#53656b}

#range-label{margin-right:auto;color:#6f7f84;font-size:13px}.day-head{cursor:col-resize;user-select:none}.day-head:hover,.day-head.range-preview{background:#dcefed!important;color:#126e67;box-shadow:inset 0 -3px #198b83}

.modal{position:fixed;inset:0;z-index:100}.modal-backdrop{position:absolute;inset:0;background:#17272d88;backdrop-filter:blur(2px)}.modal-card{position:relative;width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 48px);margin:24px auto;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 80px #10252d55}.modal-head{display:flex;align-items:center;justify-content:space-between;margin:0;padding:20px 22px;border-bottom:1px solid #e5ebed}.modal-head h2{margin:4px 0 0}.modal-close{width:36px;height:36px;border:0;border-radius:9px;background:#edf1f2;color:#59696f;font-size:24px}.deals-summary{padding:13px 22px;border-bottom:1px solid #e8edef;color:#637278}.problem-text{color:#b03c3c}.deals-content{max-height:calc(100vh - 190px);overflow:auto;padding:12px}.deal-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 14px;border:1px solid #e4eaec;border-radius:11px;margin-bottom:8px}.deal-row.problem{border-color:#edc4c4;background:#fff8f8}.deal-main{display:grid;gap:5px;min-width:0}.deal-main a{color:#176e9b;font-weight:750;text-decoration:none}.deal-main small{color:#7b898e}.deal-responsible{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:260px}.schedule-badge{padding:6px 9px;border-radius:999px;font-size:12px;font-weight:750}.schedule-badge.work{background:#d9f2e3;color:#187544}.schedule-badge.off{background:#f3e0e0;color:#a43f3f}.schedule-badge.not_planned,.schedule-badge.not_in_schedule{background:#fff0c9;color:#8b5b00}.deals-loading,.deals-empty,.deals-error{padding:48px;text-align:center;color:#738187}.deals-error{color:#a33131}(max-width:700px){.deal-row,.deal-responsible{align-items:flex-start;flex-direction:column}.deal-responsible{min-width:0}.modal-card{margin:12px auto;max-height:calc(100vh - 24px)}}

.pipeline-card{width:min(620px,calc(100vw - 32px))}.pipeline-note{margin:0;padding:14px 22px;color:#68777c;border-bottom:1px solid #e8edef}.pipelines-list{display:grid;gap:8px;max-height:55vh;overflow:auto;padding:14px 18px}.pipeline-option{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e1e8ea;border-radius:9px;cursor:pointer}.pipeline-option:hover{background:#f5f9f9}.pipeline-option input{width:18px;height:18px;accent-color:#198b83}.pipeline-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;border-top:1px solid #e8edef}.pipeline-footer button{padding:10px 15px;border:0;border-radius:9px;background:#198b83;color:#fff;font-weight:750}.pipeline-footer .secondary-action{border:1px solid #cad7d9;background:#fff;color:#53656b}

.transfer-box{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding:13px 14px;border:1px solid #e5b4b4;border-radius:11px;background:#fff3f3}.transfer-box>div:first-child{display:grid;gap:4px}.transfer-box>div:first-child span{color:#8f5a5a;font-size:12px}.transfer-controls{display:flex;align-items:center;gap:8px}.transfer-controls select{height:36px;padding:6px 9px;border:1px solid #d6b4b4;border-radius:8px;background:#fff}.transfer-controls button{height:36px;padding:0 12px;border:0;border-radius:8px;background:#b64040;color:#fff;font-weight:750}.transfer-controls button:disabled{opacity:.6;cursor:wait}.no-recipient{color:#a33131;font-size:13px}(max-width:700px){.transfer-box,.transfer-controls{align-items:stretch;flex-direction:column}.transfer-controls{width:100%}}
.shift-transfer-card{width:min(680px,calc(100vw - 32px))}.shift-transfer-form{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:20px 22px}.shift-transfer-form label{display:grid;gap:7px;color:#5e6e73;font-size:13px;font-weight:700}.shift-transfer-form input,.shift-transfer-form select{height:42px;padding:0 11px;border:1px solid #ccd8da;border-radius:9px;background:#fff;color:#1d2b30}.shift-transfer-preview{display:flex;align-items:center;gap:14px;min-height:105px;margin:0 22px 20px;padding:17px;border-radius:12px;background:#f4f9f8;color:#506268}.preview-count{display:grid;min-width:130px;padding:13px;border-radius:10px;background:#fff;text-align:center}.preview-count strong{color:#18756d;font-size:25px}.preview-count span{margin-top:3px;font-size:12px}.shift-transfer-preview p{margin:0;line-height:1.55}.pipeline-footer button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:700px){.shift-transfer-form{grid-template-columns:1fr}.shift-transfer-preview{align-items:stretch;flex-direction:column}.preview-count{min-width:0}}
.day-head.today-column{background:#e4f4f2!important;color:#126f68;box-shadow:inset 0 3px #198b83,inset 1px 0 #b9ded9,inset -1px 0 #b9ded9}.day-head.today-column b{font-size:14px}.day-head.today-column small{color:#43817c}td.today-column{background:#f0f9f7;box-shadow:inset 1px 0 #d5ebe8,inset -1px 0 #d5ebe8}td.today-column .shift{box-shadow:0 0 0 2px #fff,0 0 0 3px #72b9b2}
.shift-transfer-preview{display:block;max-height:48vh;overflow:auto}.preview-summary{display:flex;align-items:center;gap:14px}.preview-summary p{margin:0;line-height:1.55}.task-preview-list{margin-top:16px;padding-top:14px;border-top:1px solid #dbe9e7}.task-preview-list h3{margin:0 0 9px;font-size:13px;color:#52686b}.task-preview-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 11px;margin-top:7px;border-radius:9px;background:#fff}.task-preview-row>div{display:grid;gap:4px}.task-preview-row strong{font-size:13px}.task-preview-row span,.task-preview-row a{color:#748489;font-size:12px}.task-preview-row a{color:#19759a;text-decoration:none;white-space:nowrap}.task-preview-row .task-overdue{color:#b33c3c}@media(max-width:700px){.preview-summary,.task-preview-row{align-items:stretch;flex-direction:column}.task-preview-row a{white-space:normal}}
.transfer-pipelines{margin:0 22px 14px;padding:13px 14px;border:1px solid #dfe8e9;border-radius:11px}.transfer-pipelines-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#53666a;font-size:13px}.transfer-pipelines-head button{padding:4px 8px;border:0;background:transparent;color:#168078;font-size:12px}.transfer-pipelines #transfer-pipelines-list{display:flex;flex-wrap:wrap;gap:7px}.transfer-pipelines label{display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:8px;background:#f3f7f7;color:#526367;font-size:12px;cursor:pointer}.transfer-pipelines input{accent-color:#198b83}.transfer-pipelines-loading{color:#7a898e;font-size:12px}
.section-nav{display:flex;gap:5px;margin-top:12px}.section-nav a{padding:7px 13px;border-radius:8px;color:#627277;font-size:13px;font-weight:750;text-decoration:none}.section-nav a:hover{background:#eaf3f2;color:#18776f}.section-nav a.active{background:#198b83;color:#fff}.kpi-page{min-height:100vh}.kpi-header{align-items:flex-start}.kpi-period{display:flex;align-items:center;gap:8px}.kpi-period label{color:#6d7c81;font-size:12px;font-weight:700}.kpi-period input{display:block;margin-top:5px;padding:9px 10px;border:1px solid #ccd7d9;border-radius:8px;background:#fff}.kpi-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:20px 22px;border:1px solid #e1e8e9;border-radius:14px;background:#fff}.kpi-intro h2{margin:0 0 7px}.kpi-intro p{margin:0;color:#718086}.kpi-placeholder{margin-top:14px;padding:70px 24px;border:1px dashed #cbd9da;border-radius:14px;background:#f8fbfb;text-align:center;color:#748489}.kpi-placeholder strong{display:block;margin-bottom:8px;color:#35484c;font-size:18px}@media(max-width:700px){.kpi-intro,.kpi-header{align-items:stretch;flex-direction:column}.kpi-period{align-items:stretch}}
.has-sidebar{padding-left:226px}.app-sidebar{position:fixed;z-index:20;left:0;top:0;bottom:0;width:190px;padding:20px 14px;background:#173d3a;color:#fff;box-shadow:6px 0 24px #173d3a18}.sidebar-logo{display:flex;align-items:center;gap:11px;padding:2px 7px 22px}.sidebar-logo>span{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:#fff;color:#177b73;font-size:13px;font-weight:900}.sidebar-logo>div{display:grid;gap:2px}.sidebar-logo strong{font-size:15px}.sidebar-logo small{color:#a9cac7;font-size:11px}.sidebar-nav{display:grid;gap:6px}.sidebar-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:#bdd5d2;font-size:14px;font-weight:750;text-decoration:none;transition:.15s}.sidebar-nav a:hover{background:#ffffff12;color:#fff}.sidebar-nav a.active{background:#fff;color:#176f68;box-shadow:0 6px 18px #0d292633}.sidebar-nav i{display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-style:normal;font-size:17px}@media(max-width:850px){.has-sidebar{padding-left:12px;padding-top:82px}.app-sidebar{right:0;bottom:auto;width:auto;height:58px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between}.sidebar-logo{padding:0}.sidebar-logo small{display:none}.sidebar-nav{display:flex}.sidebar-nav a{padding:8px 11px}.sidebar-nav i{display:none}}
.app-topbar{display:flex;align-items:center;gap:34px;margin:-24px -24px 22px;padding:12px 24px;border-bottom:1px solid #dce5e6;background:#173d3a;color:#fff}.topbar-logo{display:flex;align-items:center;gap:10px;padding-right:26px;border-right:1px solid #ffffff25}.topbar-logo span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;background:#fff;color:#177b73;font-size:12px;font-weight:900}.topbar-logo strong{font-size:15px;white-space:nowrap}.topbar-nav{display:flex;align-self:stretch;gap:4px}.topbar-nav a{display:flex;align-items:center;padding:0 17px;border-radius:8px;color:#bad3d0;font-size:14px;font-weight:750;text-decoration:none}.topbar-nav a:hover{background:#ffffff12;color:#fff}.topbar-nav a.active{background:#fff;color:#176f68}@media(max-width:600px){.app-topbar{gap:12px;padding:10px 12px}.topbar-logo{padding-right:12px}.topbar-logo strong{display:none}.topbar-nav a{padding:0 13px}}
.app-topbar{background:#fff;color:#26383d;box-shadow:0 3px 14px #2440470a}.topbar-logo{border-right-color:#dce5e6}.topbar-logo span{background:#198b83;color:#fff}.topbar-nav a{color:#67777c}.topbar-nav a:hover{background:#eef6f5;color:#17776f}.topbar-nav a.active{background:#dff1ee;color:#126f67}
.kpi-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.kpi-tabs a{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 13px;border:1px solid #dde6e7;border-radius:11px;background:#fff;color:#53646a;font-size:13px;font-weight:750;text-decoration:none}.kpi-tabs a:hover{border-color:#a9ceca;background:#f7fbfa}.kpi-tabs a.active{border-color:#198b83;background:#e5f3f1;color:#126f67;box-shadow:inset 0 -2px #198b83}.kpi-tabs a span{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:8px;background:#eef3f3;color:#829095;font-size:11px}.kpi-tabs a.active span{background:#198b83;color:#fff}.kpi-section{padding:20px 22px;border:1px solid #e1e8e9;border-radius:14px;background:#fff}.kpi-section-head{display:flex;align-items:center;justify-content:space-between}.kpi-section-head h2{margin:5px 0 0}.kpi-section .kpi-placeholder{margin-top:18px;border-color:#d6e2e3;background:#f8fbfb}@media(max-width:1000px){.kpi-tabs{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.kpi-tabs{grid-template-columns:1fr}.kpi-tabs a{min-height:48px}}
.kpi-period-label{color:#718085;font-size:13px}.kpi-filters{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:18px;padding:14px 15px;border-radius:11px;background:#f5f8f8}.kpi-filters>div>strong{display:block;margin-bottom:9px;color:#53656a;font-size:12px}.kpi-employee-options{display:flex;flex-wrap:wrap;gap:7px}.kpi-employee-options label{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #dbe5e6;border-radius:8px;background:#fff;color:#4f6166;font-size:12px;cursor:pointer}.kpi-employee-options input{accent-color:#198b83}.kpi-filters button{padding:9px 14px;border:0;border-radius:8px;background:#198b83;color:#fff;font-weight:750}.kpi-table-wrap{margin-top:16px;overflow:auto;border:1px solid #e0e7e8;border-radius:11px}.kpi-table{width:100%;min-width:760px;border-collapse:collapse;background:#fff}.kpi-table th,.kpi-table td{padding:13px 14px;border-right:0;text-align:left}.kpi-table thead th{position:static;background:#f5f8f8;color:#68777c;font-size:12px}.kpi-table .number{text-align:center;font-variant-numeric:tabular-nums}.kpi-table .success-number{color:#177544}.kpi-table .fail-number{color:#ae4141}.kpi-table tfoot td{background:#f4f8f7;font-weight:800}.kpi-load-error strong,.kpi-load-error span{color:#a33131}@media(max-width:700px){.kpi-filters{align-items:stretch;flex-direction:column}.kpi-filters button{align-self:flex-start}.kpi-section-head{align-items:flex-start;flex-direction:column;gap:8px}}
.kpi-filter-groups{display:grid;gap:12px;flex:1}.kpi-filter-groups>div>strong{display:block;margin-bottom:8px;color:#53656a;font-size:12px}
.schedule-problem-row{background:#fffafa}.kpi-shift-badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap}.kpi-shift-badge.work{background:#daf1e2;color:#187544}.kpi-shift-badge.off{background:#f4e1e1;color:#a43f3f}.kpi-shift-badge.not_planned{background:#fff0c9;color:#8b5b00}.kpi-schedule-problem{display:flex;align-items:center;gap:8px}.kpi-schedule-problem a{padding:6px 8px;border:1px solid #d7aaaa;border-radius:7px;color:#a23939;font-size:11px;font-weight:750;text-decoration:none;white-space:nowrap}.kpi-schedule-problem a:hover{background:#fff0f0}
.kpi-table thead th:nth-child(3),.kpi-table thead th:nth-child(4),.kpi-table thead th:nth-child(5),.kpi-table thead th:nth-child(6){text-align:center}.kpi-table tbody td:nth-child(6),.kpi-table tfoot td:nth-child(6){text-align:center}.kpi-schedule-problem{justify-content:center}
.kpi-filter-actions{display:flex;align-items:center;gap:8px}.kpi-filters .secondary-kpi{border:1px solid #94c2bd;background:#fff;color:#16776f}.kpi-filters button:disabled{opacity:.5;cursor:not-allowed}.kpi-local-note{padding:6px 9px;border-radius:999px;background:#eef4f3;color:#617478;font-size:11px}.activations-table{min-width:600px}.activations-table thead th:nth-child(3){text-align:center}@media(max-width:700px){.kpi-filter-actions{align-items:stretch;flex-direction:column}.kpi-filter-actions button{width:100%}}
.activation-rate-form{display:flex;align-items:flex-end;gap:9px;margin-top:17px;padding:13px 14px;border-radius:11px;background:#f4f8f7}.activation-rate-form label{display:grid;gap:6px;color:#53656a;font-size:12px;font-weight:700}.activation-rate-form input{width:190px;height:39px;padding:0 10px;border:1px solid #cad8d9;border-radius:8px;background:#fff}.activation-rate-form button{height:39px;padding:0 14px;border:0;border-radius:8px;background:#198b83;color:#fff;font-weight:750}.payment-number{color:#176f68}.activations-table thead th:nth-child(4){text-align:center}@media(max-width:500px){.activation-rate-form{align-items:stretch;flex-direction:column}.activation-rate-form input{width:100%}}
.generate-payment-button{padding:10px 14px;border:0;border-radius:9px;background:#198b83;color:#fff;font-weight:750}.generate-payment-button:disabled{opacity:.55}.payment-period-note{margin:14px 0 0;color:#6d7d82;font-size:13px}.payment-employee-grid{display:grid;gap:16px;margin-top:16px}.payment-employee-card{overflow:hidden;border:1px solid #dfe7e8;border-radius:12px}.payment-employee-card h3{margin:0;padding:13px 15px;background:#f4f8f7;font-size:15px}.payment-employee-card .kpi-table-wrap{margin:0;border:0;border-radius:0}.payment-table{min-width:980px}.payment-table thead th:nth-child(n+2){text-align:center}.copy-act{max-width:390px;padding:5px 7px;border:0;border-radius:6px;background:#eef5f4;color:#42615e;font-family:monospace;font-size:11px;text-align:left}.paid-checkbox{width:19px;height:19px;accent-color:#198b83}.paid-row{background:#f0f8f3}.paid-row td{color:#61766c}
.act-text{color:#42615e;font-family:monospace;font-size:11px}
.payment-table thead th:nth-child(n+2){text-align:left}.payment-table thead th:nth-child(2),.payment-table thead th:nth-child(3),.payment-table thead th:nth-child(4),.payment-table thead th:nth-child(6){text-align:center}.payment-table th:nth-child(1){width:27%}.payment-table th:nth-child(2){width:7%}.payment-table th:nth-child(3){width:9%}.payment-table th:nth-child(4){width:10%}.payment-table th:nth-child(5){width:39%}.payment-table th:nth-child(6){width:8%}
.payment-table th:nth-child(1){width:auto}.payment-table th:nth-child(2){width:90px}.payment-table th:nth-child(3){width:110px}.payment-table th:nth-child(4){width:130px}.payment-table th:nth-child(5){width:320px}.payment-table th:nth-child(6){width:110px}.payment-table td:nth-child(5){white-space:nowrap}
.payment-employee-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.payment-table{min-width:720px}.payment-table th,.payment-table td{padding:11px 10px}.payment-table th:nth-child(2){width:58px}.payment-table th:nth-child(3){width:78px}.payment-table th:nth-child(4){width:92px}.payment-table th:nth-child(5){width:245px}.payment-table th:nth-child(6){width:82px}.payment-table .act-text{font-size:10px}@media(max-width:1250px){.payment-employee-grid{grid-template-columns:1fr}.payment-table{min-width:880px}}
.combined-payment-wrap{margin-top:16px}.combined-payment-table{min-width:1450px}.combined-payment-table thead th{position:static;text-align:left}.combined-payment-table thead .payment-employee-name{text-align:center;background:#eaf3f1;color:#244d49;font-size:14px}.combined-payment-table thead .paid-head{text-align:center;vertical-align:middle}.combined-payment-table thead tr:nth-child(2) th:nth-child(2),.combined-payment-table thead tr:nth-child(2) th:nth-child(3),.combined-payment-table thead tr:nth-child(2) th:nth-child(4),.combined-payment-table thead tr:nth-child(2) th:nth-child(7),.combined-payment-table thead tr:nth-child(2) th:nth-child(8),.combined-payment-table thead tr:nth-child(2) th:nth-child(9){text-align:center}.combined-payment-table td{padding:11px 10px}.combined-payment-table .act-text{font-size:10px;white-space:nowrap}.combined-payment-table tbody td:last-child{text-align:center}.payment-missing{text-align:center;color:#8a979b}
.combined-payment-table th,.combined-payment-table td{border-right:1px solid #dfe6e7;border-bottom:1px solid #dfe6e7}.combined-payment-table thead tr:first-child th:first-child{background:#e4f1f6;color:#285568}.combined-payment-table thead tr:first-child th:nth-child(2){background:#f7eed8;color:#69562d;border-left:3px solid #b9c8ca}.combined-payment-table thead tr:nth-child(2) th:nth-child(-n+5){background:#eff6f9}.combined-payment-table thead tr:nth-child(2) th:nth-child(n+6){background:#fbf6e9}.combined-payment-table thead tr:nth-child(2) th:nth-child(6),.combined-payment-table tbody td:nth-child(6){border-left:3px solid #b9c8ca}.combined-payment-table .paid-head,.combined-payment-table tbody td:last-child{border-left:3px solid #b9c8ca;background:#f2f5f5}.combined-payment-table tbody tr:nth-child(even) td{background:#fafcfc}.combined-payment-table tbody tr:hover td{background:#f0f7f6}.combined-payment-table tbody tr.paid-row td{background:#edf7f0}.combined-payment-table th:last-child,.combined-payment-table td:last-child{border-right:0}
.payment-row-actions{display:flex;align-items:center;justify-content:center;gap:9px}.payment-row-actions label{display:flex}.delete-payment-period{padding:5px 7px;border:1px solid #dbb5b5;border-radius:6px;background:#fff;color:#a23c3c;font-size:10px;font-weight:750}.delete-payment-period:hover{background:#fff0f0}.delete-payment-period:disabled{opacity:.55}
.download-payment-xlsx{padding:5px 7px;border:1px solid #9bc8c3;border-radius:6px;background:#fff;color:#15776f;font-size:10px;font-weight:800;text-decoration:none}.settings-card{margin-bottom:15px;padding:20px;border:1px solid #dfe7e8;border-radius:14px;background:#fff}.settings-card h2{margin:0 0 16px;font-size:17px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.settings-grid label{display:grid;gap:6px;color:#53656a;font-size:12px;font-weight:700}.settings-grid label.wide{grid-column:span 2}.settings-grid input{height:42px;padding:0 11px;border:1px solid #cad7d9;border-radius:8px;background:#fff}.settings-grid small{font-weight:400}.settings-save{position:sticky;bottom:12px;display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #d8e4e3;border-radius:12px;background:#fff;box-shadow:0 8px 30px #25423e20}.settings-save button{padding:11px 16px;border:0;border-radius:9px;background:#198b83;color:#fff;font-weight:750}.settings-save span{color:#66777b;font-size:13px}@media(max-width:800px){.settings-grid{grid-template-columns:1fr}.settings-grid label.wide{grid-column:auto}}
.combined-payment-table .paid-head,.combined-payment-table tbody td:last-child{width:104px;min-width:104px;max-width:104px;padding-left:8px;padding-right:8px}.payment-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.payment-row-actions label{display:flex;margin:0}.download-payment-xlsx{white-space:nowrap}
.payment-actions-menu{position:relative}.payment-actions-toggle{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0 0 7px;border:1px solid #c7d5d6;border-radius:8px;background:#fff;color:#53676b;font-size:22px;font-weight:800;line-height:1}.payment-actions-toggle:hover,.payment-actions-toggle[aria-expanded="true"]{border-color:#81b9b4;background:#edf7f5;color:#15776f}.payment-actions-dropdown{position:absolute;z-index:10;right:0;bottom:calc(100% + 6px);min-width:140px;padding:5px;border:1px solid #d5e0e1;border-radius:9px;background:#fff;box-shadow:0 8px 25px #1d38352c;text-align:left}.payment-actions-dropdown a,.payment-actions-dropdown button{display:block;width:100%;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:#405459;font-size:11px;text-align:left;text-decoration:none}.payment-actions-dropdown a:hover{background:#edf7f5;color:#15776f}.payment-actions-dropdown button{color:#a23c3c}.payment-actions-dropdown button:hover{background:#fff0f0}
.combined-payment-table .paid-head,.combined-payment-table .payment-status-cell{width:72px;min-width:72px;max-width:72px;padding-left:8px;padding-right:8px;border-left:3px solid #b9c8ca;background:#f2f5f5;text-align:center}.combined-payment-table .actions-head,.combined-payment-table .payment-action-cell{width:48px;min-width:48px;max-width:48px;padding:6px;background:#f2f5f5;text-align:center}.combined-payment-table .payment-action-cell{border-left:1px solid #dfe6e7}.payment-status-cell label{display:flex;align-items:center;justify-content:center}.payment-action-cell .payment-actions-menu{display:inline-block}.combined-payment-table tbody tr:hover .payment-status-cell,.combined-payment-table tbody tr:hover .payment-action-cell{background:#e8f2f1}.combined-payment-table tbody tr.paid-row .payment-status-cell,.combined-payment-table tbody tr.paid-row .payment-action-cell{background:#edf7f0}
.combined-payment-table thead .management-head{border-left:2px solid #c7d2d4;background:#edf2f2;color:#53666a;text-align:center}.combined-payment-table .paid-head,.combined-payment-table .payment-status-cell{width:76px;min-width:76px;max-width:76px;border-left:2px solid #c7d2d4}.combined-payment-table .actions-head,.combined-payment-table .payment-action-cell{width:62px;min-width:62px;max-width:62px}.combined-payment-table .paid-head,.combined-payment-table .actions-head{background:#f5f8f8;color:#68777c;text-align:center}.combined-payment-table .payment-status-cell,.combined-payment-table .payment-action-cell{background:#fff}.combined-payment-table .payment-action-cell{border-left:1px solid #e4eaeb}.combined-payment-table .payment-actions-toggle{margin:auto}.combined-payment-table .paid-checkbox{margin:0}
.combined-payment-table .paid-head,.combined-payment-table .actions-head{vertical-align:middle;background:#f5f8f8}.combined-payment-table .payment-status-cell,.combined-payment-table .payment-action-cell{background:#f2f5f5}.combined-payment-table tbody tr:hover .payment-status-cell,.combined-payment-table tbody tr:hover .payment-action-cell{background:#e8f2f1}.combined-payment-table tbody tr.paid-row .payment-status-cell,.combined-payment-table tbody tr.paid-row .payment-action-cell{background:#edf7f0}
.payment-actions-toggle{padding:0}.payment-actions-toggle svg{display:block;width:18px;height:18px;fill:currentColor}
.activations-table thead th:nth-child(4),.activations-table thead th:nth-child(5){text-align:center}.activations-table .act-count{color:#786128}.activations-table{min-width:760px}
.payment-schedule-form{display:flex;align-items:flex-end;gap:10px;margin-top:18px;padding:14px 15px;border-radius:11px;background:#f4f8f7}.payment-schedule-form label{display:grid;gap:6px;color:#53656a;font-size:12px;font-weight:700}.payment-schedule-form input{height:40px;padding:0 11px;border:1px solid #cad8d9;border-radius:8px;background:#fff}.payment-schedule-form button{height:40px;padding:0 15px;border:0;border-radius:8px;background:#198b83;color:#fff;font-weight:750}.payment-schedule-form button:disabled{opacity:.55}.payment-schedule-wrap{max-width:780px}.payment-schedule-table{min-width:620px}.payment-schedule-table th,.payment-schedule-table td{text-align:center}.payment-schedule-table thead th{background:#e9f4f1;color:#48635f}.payment-schedule-table th:last-child,.payment-schedule-table td:last-child{width:100px}.payment-schedule-table tbody tr.paid-row td{background:#dff1e7;color:#526b60}@media(max-width:600px){.payment-schedule-form{align-items:stretch;flex-direction:column}.payment-schedule-form button{width:100%}}
.payment-schedule-form .clear-payment-schedule{border:1px solid #d6aaaa;background:#fff;color:#a33c3c}.payment-schedule-form .clear-payment-schedule:hover{background:#fff1f1}
.payment-schedule-year{max-width:780px;margin-top:14px;overflow:hidden;border:1px solid #dce6e6;border-radius:11px;background:#fff}.payment-schedule-year-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;background:#edf5f3}.payment-year-toggle{display:flex;align-items:center;gap:9px;padding:4px;border:0;background:transparent;color:#294d49;text-align:left}.payment-year-toggle strong{font-size:14px}.payment-year-toggle small{color:#71827e;font-size:11px}.payment-year-chevron{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:#dcece9;color:#18766e;font-size:18px;transition:transform .15s}.payment-schedule-year.collapsed .payment-year-chevron{transform:rotate(-90deg)}.clear-payment-year{padding:6px 9px;border:1px solid #d8b2b2;border-radius:7px;background:#fff;color:#a23d3d;font-size:11px;font-weight:750}.clear-payment-year:hover{background:#fff1f1}.payment-schedule-year.collapsed .payment-year-body{display:none}.payment-schedule-year .payment-schedule-wrap{margin:0;max-width:none;border:0;border-radius:0}@media(max-width:600px){.payment-schedule-year-head{align-items:flex-start}.payment-year-toggle{align-items:flex-start;flex-wrap:wrap}.payment-year-toggle small{width:100%;padding-left:31px}}
.payment-year-chevron{font-size:0}.payment-year-chevron::before{content:"";display:block;width:6px;height:6px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.settings-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.settings-card-head h2{margin:4px 0 0}.telegram-connection-status{padding:6px 9px;border-radius:999px;background:#eef2f2;color:#69797d;font-size:11px;font-weight:750}.telegram-connection-status.active{background:#dff2e6;color:#187544}.telegram-settings-grid{display:grid;grid-template-columns:1.4fr 1fr 180px;gap:13px;align-items:end}.telegram-settings-grid label{display:grid;gap:6px;color:#53656a;font-size:12px;font-weight:700}.telegram-settings-grid input:not([type="checkbox"]){height:42px;padding:0 11px;border:1px solid #cad7d9;border-radius:8px;background:#fff}.telegram-settings-grid small{min-height:15px;color:#7a898d;font-weight:400}.telegram-settings-grid .telegram-enabled{display:flex;align-items:center;gap:9px;grid-column:1/-1;padding-top:5px}.telegram-enabled input{width:18px;height:18px;accent-color:#198b83}.telegram-actions{display:flex;align-items:center;gap:9px;margin-top:16px}.telegram-actions button{height:39px;padding:0 14px;border:0;border-radius:8px;background:#198b83;color:#fff;font-weight:750}.telegram-actions .telegram-secondary{border:1px solid #a8c9c5;background:#fff;color:#16766f}.telegram-actions button:disabled{opacity:.55}.telegram-actions span{margin-left:4px;color:#617478;font-size:12px}@media(max-width:850px){.telegram-settings-grid{grid-template-columns:1fr}.telegram-actions{align-items:stretch;flex-direction:column}.telegram-actions span{margin:0}}
.secret-input-wrap{position:relative}.telegram-settings-grid .secret-input-wrap input{width:100%;padding-right:45px;background:#f7f9f9;color:#526367}.telegram-settings-grid .secret-input-wrap input:not([readonly]){background:#fff;color:#17242b}.secret-input-wrap button{position:absolute;right:5px;top:5px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;color:#617579}.secret-input-wrap button:hover{background:#e6f1ef;color:#16766f}.secret-input-wrap svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-card form{display:grid;gap:9px;margin-top:18px}.login-card input{width:100%}
.topbar-logout{margin-left:auto;padding:8px 13px;border:1px solid #d8e2e3;border-radius:8px;background:#fff;color:#66777b;font-size:13px;font-weight:750}.topbar-logout:hover{border-color:#d2aaaa;background:#fff2f2;color:#a23d3d}@media(max-width:600px){.topbar-logout{padding:8px 10px;font-size:0}.topbar-logout::before{content:"↪";font-size:17px}}
