﻿:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,system-ui,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;--bg: #f7fbff;--panel: #ffffff;--panel-2: #eef6ff;--panel-hover: #e3f0ff;--line: rgba(37, 99, 160, .14);--line-strong: rgba(37, 99, 160, .24);--text: #142238;--muted: rgba(20, 34, 56, .66);--subtle: rgba(20, 34, 56, .46);--accent: #1f82e6;--accent-hover: #166ec6;--accent-bg: rgba(31, 130, 230, .12);--accent-border: rgba(31, 130, 230, .35);--accent-contrast: #ffffff;--green: #34c77b;--green-bg: rgba(52, 199, 123, .14);--yellow: #e5b53e;--yellow-bg: rgba(229, 181, 62, .14);--red: #e5534b;--red-bg: rgba(229, 83, 75, .14);--gray-cell: rgba(255, 255, 255, .04);--scrollbar: rgba(255, 255, 255, .16);--scrollbar-hover: rgba(255, 255, 255, .26);--shadow-md: 0 4px 16px rgba(0, 0, 0, .5);--shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;accent-color:var(--accent);color-scheme:dark}:root[data-theme=light]{--bg: #f7fbff;--panel: #ffffff;--panel-2: #eef6ff;--panel-hover: #e3f0ff;--line: rgba(37, 99, 160, .14);--line-strong: rgba(37, 99, 160, .24);--text: #142238;--muted: rgba(20, 34, 56, .66);--subtle: rgba(20, 34, 56, .46);--accent: #1f82e6;--accent-hover: #166ec6;--accent-bg: rgba(31, 130, 230, .12);--accent-border: rgba(31, 130, 230, .35);--accent-contrast: #ffffff;--green: #1e9e5a;--green-bg: rgba(30, 158, 90, .12);--yellow: #b07d0a;--yellow-bg: rgba(176, 125, 10, .14);--red: #d23b32;--red-bg: rgba(210, 59, 50, .11);--gray-cell: rgba(0, 0, 0, .03);--scrollbar: rgba(0, 0, 0, .22);--scrollbar-hover: rgba(0, 0, 0, .34);--shadow-md: 0 4px 16px rgba(0, 0, 0, .12);--shadow-lg: 0 12px 32px rgba(0, 0, 0, .16);color-scheme:light}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;background:var(--bg);color:var(--text)}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--scrollbar);border-radius:4px}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover)}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}button{font-family:inherit}input,textarea{font-family:inherit;font-size:inherit;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm);padding:8px 12px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-bg)}input::placeholder,textarea::placeholder{color:var(--subtle)}h1,h2,h3{margin:0;font-weight:600}h1{font-size:20px}h2{font-size:16px}h3{font-size:14px}.muted{color:var(--muted)}.subtle{color:var(--subtle)}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-loading{height:100%;display:flex;align-items:center;justify-content:center}.app-loading-spinner{width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.layout{display:block;position:relative;height:100%}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:40;width:216px;display:flex;flex-direction:column;background:var(--panel);border-right:1px solid var(--line);padding:12px 8px;gap:8px;overflow-x:hidden;transition:width .15s ease}.sidebar-item span{white-space:nowrap}.sidebar-head{display:flex;align-items:center;gap:8px;padding:2px 4px;min-height:34px;flex-shrink:0}.sidebar-logo{flex-shrink:0;display:block}.sidebar-mark{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;line-height:1;color:var(--accent)}.sidebar-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--muted);cursor:pointer;transition:background .12s ease,color .12s ease}.sidebar-toggle:hover{background:var(--panel-hover);color:var(--text)}.sidebar-toggle svg{color:var(--text);opacity:.6}.sidebar-toggle:hover svg{opacity:1}.sidebar-brand{flex:1;font-size:16px;font-weight:700;white-space:nowrap}.sidebar-privacy.on svg{color:var(--accent);opacity:1}.privacy-hidden .pii{filter:blur(5px);-webkit-user-select:none;user-select:none;pointer-events:none}.sidebar-nav{flex:1;display:flex;flex-direction:column;gap:2px;overflow-y:auto;overflow-x:hidden}.sidebar-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-size:14px;cursor:pointer;text-align:left;transition:background .12s ease,color .12s ease}.sidebar-item:hover{background:var(--panel-hover);color:var(--text)}.sidebar-item-active{background:var(--accent-bg);color:var(--accent)}.sidebar-item svg{color:var(--text);opacity:.62}.sidebar-item:hover svg{opacity:1}.sidebar-item-active svg{color:var(--accent);opacity:1}.sidebar-footer{border-top:1px solid var(--line);padding-top:8px;display:flex;align-items:center;gap:6px}.sidebar-user{flex:1;font-size:13px;color:var(--subtle)}.content{margin-left:216px;height:100%;overflow-y:auto;padding:0 24px 20px;transition:margin-left .15s ease}.content>*{padding-top:20px;animation:screen-in .18s ease}.fade-in{animation:screen-in .16s ease}@keyframes screen-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}.layout-collapsed .sidebar{width:60px}.layout-collapsed .content{margin-left:60px}.layout-collapsed .sidebar:hover{width:216px;box-shadow:4px 0 24px #00000073}.layout-collapsed .sidebar:not(:hover) .sidebar-brand,.layout-collapsed .sidebar:not(:hover) .sidebar-privacy,.layout-collapsed .sidebar:not(:hover) .sidebar-theme,.layout-collapsed .sidebar:not(:hover) .sidebar-user,.layout-collapsed .sidebar:not(:hover) .sidebar-item span{display:none}.layout-collapsed .sidebar:not(:hover) .sidebar-head{justify-content:center}.layout-collapsed .sidebar:not(:hover) .sidebar-item{justify-content:center;gap:0;padding-left:0;padding-right:0}.layout-collapsed .sidebar:not(:hover) .sidebar-footer{justify-content:center}.bottombar{display:none}.more-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:90}.more-sheet{position:absolute;left:0;right:0;bottom:56px;background:var(--panel);border-top:1px solid var(--line);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:8px;display:flex;flex-direction:column;gap:2px}.more-sheet-item{display:flex;align-items:center;gap:10px;padding:12px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text);font-size:15px;cursor:pointer;text-align:left}.more-sheet-item:hover{background:var(--panel-hover)}.more-sheet-item-active{color:var(--accent);background:var(--accent-bg)}@media(max-width:760px){.sidebar{display:none}.content{margin-left:0;padding:0 12px 72px}.content>*{padding-top:14px}.bottombar{position:fixed;left:0;right:0;bottom:0;z-index:80;display:flex;height:56px;background:var(--panel);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.bottombar-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:none;background:transparent;color:var(--muted);font-size:10.5px;cursor:pointer}.bottombar-item-active{color:var(--accent)}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2);color:var(--text);font-size:14px;cursor:pointer;transition:background .12s ease,border-color .12s ease}.btn:hover{background:var(--panel-hover)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.btn-primary:hover{background:var(--accent-hover)}.btn-danger{color:var(--red);border-color:var(--red-bg)}.btn-sm{padding:5px 10px;font-size:13px}.btn-icon{padding:8px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);padding:16px}.login-screen{height:100%;display:flex;align-items:center;justify-content:center;padding:16px}.login-card{width:100%;max-width:360px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px 24px;display:flex;flex-direction:column;gap:16px}.login-field{display:flex;flex-direction:column;gap:6px;font-size:13px}.login-error{color:var(--red);font-size:13px}.ui-select{position:relative;min-width:0}.ui-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm);padding:8px 12px;font-size:14px;transition:border-color .15s ease,box-shadow .15s ease}.ui-select-trigger:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-bg)}.ui-select-trigger:disabled{opacity:.55;cursor:not-allowed}.ui-select-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-placeholder{color:var(--subtle)}.ui-select-chevron{flex-shrink:0;color:var(--muted);transition:transform .15s ease}.ui-select-chevron-open{transform:rotate(180deg)}.ui-select-menu{margin:0;padding:4px;list-style:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--panel-2);border:1px solid var(--line-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-md)}.ui-select-option{padding:8px 10px;border-radius:var(--radius-sm);cursor:pointer;font-size:14px;line-height:1.35}.ui-select-option:hover,.ui-select-option-active{background:var(--panel-hover)}.ui-select-option-selected{background:var(--accent-bg);color:var(--accent);font-weight:500}.ui-select-option-disabled{opacity:.45;cursor:not-allowed}.contact-picker-menu{display:flex;flex-direction:column;padding:0}.contact-picker-search{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid var(--line);color:var(--muted)}.contact-picker-search input{flex:1;border:none;background:transparent;color:var(--text);font-size:14px;outline:none}.contact-picker-list{margin:0;padding:4px;list-style:none;overflow-y:auto}.btn-ghost{background:transparent;border-color:transparent}.btn-ghost:hover{background:var(--panel-hover)}.ui-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px}.ui-modal{width:100%;max-width:440px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.ui-modal-wide{max-width:640px}.ui-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.ui-modal-body{padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.ui-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}@media(max-width:760px){.ui-modal-backdrop{align-items:flex-end;padding:0}.ui-modal{max-width:none;max-height:92vh;border-radius:var(--radius-lg) var(--radius-lg) 0 0;border-bottom:none}}.ui-toast-host{position:fixed;left:0;right:0;bottom:24px;z-index:3000;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;padding:0 16px}.ui-toast{max-width:360px;background:var(--panel-2);border:1px solid var(--line-strong);border-radius:var(--radius-md);padding:10px 16px;font-size:14px;box-shadow:var(--shadow-md);pointer-events:auto;display:flex;align-items:center;gap:14px}.ui-toast-error{border-color:var(--red);color:var(--red)}.ui-toast-action{flex-shrink:0;border:none;background:transparent;color:var(--accent);font-size:14px;font-weight:600;cursor:pointer;padding:0}.ui-toast-action:hover{color:var(--accent-hover)}@media(max-width:760px){.ui-toast-host{bottom:72px}}.ui-checkbox{display:inline-flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.ui-checkbox input{position:absolute;opacity:0;width:0;height:0}.ui-checkbox-box{width:18px;height:18px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-strong);border-radius:4px;background:var(--panel);color:var(--accent-contrast);transition:background .12s ease,border-color .12s ease}.ui-checkbox-box-checked{background:var(--accent);border-color:var(--accent)}.ui-checkbox-disabled{opacity:.5;cursor:not-allowed}.ui-checkbox input:focus-visible+.ui-checkbox-box{box-shadow:0 0 0 3px var(--accent-bg)}.ui-table-wrap{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel)}.ui-table thead th{position:sticky;top:0;z-index:2;background:var(--panel)}@media(max-width:760px){.ui-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.ui-table{min-width:600px}}.ui-table{width:100%;border-collapse:collapse;font-size:14px}.ui-table th{padding:10px 12px;font-size:12px;font-weight:500;color:var(--subtle);text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--line);white-space:nowrap}.ui-skeleton{display:inline-block;border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--panel-hover) 25%,var(--panel-2) 37%,var(--panel-hover) 63%);background-size:400% 100%;animation:ui-skeleton-pulse 1.4s ease infinite}@keyframes ui-skeleton-pulse{0%{background-position:100% 50%}to{background-position:0 50%}}.ui-skeleton-row{display:flex;border-bottom:1px solid var(--line)}.ui-skeleton-row:last-child{border-bottom:none}.ui-skeleton-cell{flex:1;padding:13px 12px}.ui-th-sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.ui-th-sortable:hover{color:var(--text)}.ui-th-inner{display:inline-flex;align-items:center;gap:4px}.ui-th-arrow{color:var(--accent)}.cmdk-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4000;background:#00000080;display:flex;justify-content:center;align-items:flex-start;padding-top:12vh}.cmdk{width:min(560px,92vw);background:var(--panel-2);border:1px solid var(--line-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);overflow:hidden}.cmdk-search{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--muted)}.cmdk-search input{flex:1;border:none;background:transparent;color:var(--text);font-size:16px;outline:none}.cmdk-list{max-height:50vh;overflow-y:auto;padding:6px}.cmdk-empty{padding:18px;text-align:center;color:var(--subtle);font-size:14px}.cmdk-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text);font-size:14px;cursor:pointer;text-align:left}.cmdk-item-active{background:var(--accent-bg)}.cmdk-item-label{flex:1}.cmdk-item-hint{font-size:12px;color:var(--subtle)}.cmdk-item-go{color:var(--subtle);opacity:0}.cmdk-item-active .cmdk-item-go{opacity:1;color:var(--accent)}.chips-editor{display:flex;flex-direction:column;gap:10px}.chips-row{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:2px;padding:3px 4px 3px 6px;background:var(--panel-2);border:1px solid var(--line-strong);border-radius:var(--radius-sm);font-size:13px}.chip-label{padding:0 4px}.chip-move,.chip-remove{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:transparent;color:var(--subtle);border-radius:4px;cursor:pointer}.chip-move:hover,.chip-remove:hover{background:var(--panel-hover);color:var(--text)}.chip-move:disabled{opacity:.3;cursor:default}.chip-remove:hover{color:var(--red)}.chips-add{display:flex;gap:8px}.chips-add input{flex:1}.inline-edit-trigger{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;padding:2px 4px;margin:-2px -4px;border-radius:var(--radius-sm);color:inherit;font:inherit;cursor:pointer;text-align:left;transition:background .12s ease}.inline-edit-trigger:hover{background:var(--panel-hover)}.ui-row-actions-head{width:1px}.ui-row-actions-cell{width:1px;white-space:nowrap;text-align:right;padding-right:8px!important}.ui-row-actions{display:inline-flex;gap:4px;opacity:0;transition:opacity .12s ease}tr:hover .ui-row-actions,.ui-row-actions:focus-within{opacity:1}.ui-row-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:none;border-radius:var(--radius-sm);background:var(--panel-2);color:var(--muted);cursor:pointer;transition:background .12s ease,color .12s ease}.ui-row-action:hover{background:var(--panel-hover);color:var(--text)}.ui-row-action-danger:hover{color:var(--red)}@media(hover:none){.ui-row-actions{opacity:1}}.ui-table td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.ui-table tbody tr:last-child td{border-bottom:none}.ui-table-row-click{cursor:pointer}.ui-table-row-click:hover{background:var(--gray-cell)}.ui-tabs{display:inline-flex;gap:2px;padding:3px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);max-width:100%;overflow-x:auto}.ui-tab{flex-shrink:0;white-space:nowrap}.ui-tab{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-size:13px;cursor:pointer}.ui-tab:hover{color:var(--text)}.ui-tab-active{background:var(--accent-bg);color:var(--accent)}.ui-tab-count{font-size:12px;opacity:.8}.ui-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 16px;text-align:center;border:1px dashed var(--line-strong);border-radius:var(--radius-md)}.ui-empty-title{font-size:15px;font-weight:500}.ui-empty-hint{font-size:13px;color:var(--muted);max-width:360px}.ui-empty-action{margin-top:8px}.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:12px;line-height:1.5;background:var(--gray-cell);color:var(--muted);white-space:nowrap}.badge-accent{background:var(--accent-bg);color:var(--accent)}.badge-green{background:var(--green-bg);color:var(--green)}.badge-yellow{background:var(--yellow-bg);color:var(--yellow)}.badge-red{background:var(--red-bg);color:var(--red)}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0}.toolbar .ui-select{min-width:150px}.toolbar-search{flex:1;min-width:180px;max-width:320px}.toolbar-spacer{flex:1}.screen-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:13px;color:var(--muted)}.pager-buttons{display:flex;gap:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.form-field{display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:0}.form-field-wide{grid-column:1 / -1}.form-field input,.form-field textarea{width:100%}@media(max-width:480px){.form-grid{grid-template-columns:1fr}}.detail-topbar{margin-bottom:6px}.detail-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:14px;margin-top:16px;align-items:start}.detail-col{display:flex;flex-direction:column;gap:14px;min-width:0}@media(max-width:900px){.detail-grid{grid-template-columns:1fr}}.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.card h2{margin-bottom:8px}.card-head h2{margin-bottom:0}.card textarea{width:100%;margin-bottom:8px}.props{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0;font-size:13.5px}.props dt{color:var(--muted)}.props dd{margin:0;min-width:0;overflow-wrap:anywhere}.tag-row{display:flex;flex-wrap:wrap;gap:6px}.tags-pick{display:flex;flex-direction:column;gap:10px;max-height:260px;overflow-y:auto}.tags-new{display:flex;gap:8px;margin-top:4px}.tags-new input{flex:1}.mini-list{display:flex;flex-direction:column;gap:4px}.mini-list-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:transparent;color:var(--text);font-size:13.5px;cursor:pointer;text-align:left}.mini-list-item:hover{background:var(--panel-hover)}.mini-list-item>.ellipsis{flex:1}.mini-list-amount{color:var(--muted);white-space:nowrap}.timeline{display:flex;flex-direction:column;gap:12px}.timeline-item{display:flex;gap:10px}.timeline-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);margin-top:6px;flex-shrink:0}.timeline-body{min-width:0}.timeline-title{display:flex;align-items:center;gap:8px;font-size:13.5px;flex-wrap:wrap}.board{display:flex;gap:12px;overflow-x:auto;align-items:flex-start;padding-bottom:8px;margin-top:14px}.board-col{flex:0 0 240px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);padding:10px}.board-col-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:600;font-size:13.5px}.board-col-sum{margin-top:2px;font-size:12.5px}.board-col-items{display:flex;flex-direction:column;gap:6px;margin-top:10px}.board-card{display:flex;flex-direction:column;gap:3px;width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2);color:var(--text);font-size:13px;cursor:pointer;text-align:left}.board-card:hover{background:var(--panel-hover)}.board-card-amount{color:var(--muted);font-size:12.5px}.board-col-more{font-size:12.5px;padding:4px 2px}.task-done{text-decoration:line-through;color:var(--muted)}.overdue{color:var(--red)}.sum-income{color:var(--green)}.sum-expense{color:var(--red)}.money-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.money-total{display:flex;flex-direction:column;gap:4px;font-size:17px;font-weight:600}.money-total .muted{font-size:12.5px;font-weight:400}@media(max-width:600px){.money-totals{grid-template-columns:1fr}}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.metric{display:flex;flex-direction:column;gap:4px}.metric-value{font-size:22px;font-weight:700}@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.metric-grid{grid-template-columns:1fr}}.invite-result p{margin:0 0 10px}.invite-link{display:flex;align-items:center;gap:8px;padding:8px 10px;background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius-sm)}.invite-link code{flex:1;min-width:0;font-size:12.5px;color:var(--accent)}.an-period{margin-top:12px}.an-h2{margin-top:20px;margin-bottom:10px}.an-chart{display:flex;flex-direction:column;gap:6px}.an-chart-svg{width:100%;height:140px;display:block}.an-chart-labels{display:flex;font-size:11px;color:var(--subtle)}.an-chart-labels span{flex:1;text-align:center}.an-chart-peak{font-size:12px;margin-top:2px}
.sidebar{background:linear-gradient(180deg,#ffffff 0%,#eef7ff 100%);box-shadow:8px 0 28px rgba(37,99,160,.08)}.sidebar-mark{width:26px;height:26px;border-radius:8px;background:var(--accent-bg)}.sidebar-item-active{background:#dff0ff;color:#126bc2;font-weight:600}.content{background:linear-gradient(180deg,#f7fbff 0%,#ffffff 46%,#f7fbff 100%)}.card,.ui-table-wrap,.login-card{box-shadow:0 10px 30px rgba(37,99,160,.07)}.kids-screen{max-width:1120px}.kids-screen-head{align-items:flex-start;margin-bottom:16px}.kids-screen-head p{margin:6px 0 0;max-width:680px;line-height:1.45}.kids-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kids-card{min-height:168px;display:flex;flex-direction:column;gap:8px}.kids-card-icon{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--accent-bg);font-size:22px}.kids-card p{margin:0;line-height:1.45}@media(max-width:900px){.kids-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.kids-grid{grid-template-columns:1fr}.kids-screen-head .btn{width:100%}}/* faraplan-style-v1 */
:root,:root[data-theme=light]{--bg:#f4f4f7;--panel:#ffffff;--panel-2:#fbfbfd;--panel-hover:#f0f0f6;--line:rgba(35,35,60,.13);--line-strong:rgba(35,35,60,.22);--text:#33384a;--muted:rgba(51,56,74,.72);--subtle:rgba(51,56,74,.52);--accent:#312f83;--accent-hover:#262469;--accent-bg:rgba(49,47,131,.10);--accent-border:rgba(49,47,131,.32);--accent-contrast:#fff;--shadow-md:0 2px 12px rgba(28,30,54,.08);--shadow-lg:0 12px 32px rgba(28,30,54,.14);color-scheme:light}
html,body,#root{background:#f4f4f7}
.layout{background:#f4f4f7}
.sidebar{width:304px!important;background:#312f83!important;border-right:none!important;padding:22px 20px 18px!important;gap:16px!important;box-shadow:none!important}
.content{margin-left:304px!important;padding:0 30px 28px!important;background:#f4f4f7!important}
.content>*{padding-top:24px}
.screen-head{min-height:58px;margin:-24px -30px 28px;padding:0 30px;background:#fff;border-bottom:1px solid #e1e1e7;box-shadow:0 2px 10px rgba(40,40,70,.06)}
.screen-head h1{font-size:20px;font-weight:500;color:#3d3d45}
.sidebar-head{min-height:72px;padding:0 0 16px!important;gap:12px}
.sidebar-brand{color:#fff;font-size:16px;font-weight:600}
.sidebar-mark{width:42px!important;height:42px!important;border-radius:22px!important;background:#746ff4!important;color:#fff!important;font-size:18px}
.sidebar-toggle{color:rgba(255,255,255,.84)!important}
.sidebar-toggle svg{color:#fff!important;opacity:.9!important}
.sidebar-toggle:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
.sidebar-nav{gap:4px!important;padding-top:12px}
.sidebar-item{height:44px;padding:0 24px!important;border:1px solid transparent!important;border-radius:5px!important;color:rgba(255,255,255,.88)!important;font-size:17px!important;font-weight:500!important;gap:14px!important}
.sidebar-item svg{color:#fff!important;opacity:.92!important;width:21px;height:21px}
.sidebar-item:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}
.sidebar-item-active{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.78)!important;color:#fff!important;font-weight:600!important}
.sidebar-item-active svg{color:#fff!important;opacity:1!important}
.sidebar-footer{margin:0 -20px -18px!important;padding:18px 20px!important;border-top:1px solid rgba(255,255,255,.18)!important;color:#fff}
.sidebar-user{color:rgba(255,255,255,.78)!important;font-size:13px}
.card,.ui-table-wrap,.login-card{border-color:#dfdfe6!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
.metric-grid{gap:22px;margin-top:0}
.metric{align-items:center;text-align:center;min-height:132px;justify-content:center}
.metric-value{font-size:42px;color:#312f83;font-weight:400}
.kids-screen{max-width:none}
.kids-grid{gap:22px}
.kids-card{border-radius:0!important;min-height:156px}
.kids-card-icon{border-radius:50%;background:#f2f2fb;color:#312f83;font-weight:600}
.btn-primary{background:#312f83;border-color:#312f83}
.btn-primary:hover{background:#27256f}
.layout-collapsed .sidebar{width:304px!important}
.layout-collapsed .content{margin-left:304px!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-brand,.layout-collapsed .sidebar:not(:hover) .sidebar-privacy,.layout-collapsed .sidebar:not(:hover) .sidebar-theme,.layout-collapsed .sidebar:not(:hover) .sidebar-user,.layout-collapsed .sidebar:not(:hover) .sidebar-item span{display:inline!important}
@media(max-width:760px){.sidebar{display:none!important}.content{margin-left:0!important;padding:0 12px 72px!important}.screen-head{margin:0 -12px 16px;padding:0 12px}.bottombar{background:#312f83!important;border-top:none!important}.bottombar-item{color:rgba(255,255,255,.78)!important}.bottombar-item-active{color:#fff!important}}
/* paraplan-screens-v1 */
.pp-screen{display:flex;flex-direction:column;gap:22px}
.pp-head p{margin:5px 0 0;max-width:860px;line-height:1.4}
.pp-metrics{display:grid;gap:18px}.pp-metrics.six{grid-template-columns:repeat(6,minmax(0,1fr))}
.pp-metric{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px}.pp-metric span{font-size:15px;color:#242842}.pp-metric strong{font-size:42px;line-height:1;color:#312f83;font-weight:400}.pp-metric em{font-style:normal;color:var(--subtle);font-size:12px}
.pp-grid{display:grid;gap:22px}.pp-grid.two{grid-template-columns:1fr 1fr}.pp-grid.three{grid-template-columns:repeat(3,1fr)}
.pp-panel{padding:0!important}.pp-panel-head{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #e1e1e7}.pp-panel-head h2{font-size:18px;font-weight:500;color:#42424b}.pp-panel>.pp-rows,.pp-panel>.pp-form,.pp-panel>.pp-table{padding:0 22px 16px}
.pp-rows{display:flex;flex-direction:column}.pp-row{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e8e8ee}.pp-row:last-child{border-bottom:none}.pp-row strong{display:block;font-weight:500;color:#303348}.pp-row .muted{display:block;margin-top:3px;font-size:13px}.pp-row-note{color:#312f83;font-size:13px;white-space:nowrap}
.pp-toolbar{display:flex;flex-wrap:wrap;gap:10px}.pp-toolbar .btn{background:#fff}
.pp-schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.pp-calendar{padding:0!important;overflow:hidden}.pp-calendar-head{display:grid;grid-template-columns:repeat(6,1fr);height:52px;border-bottom:1px solid #e1e1e7;background:#fff}.pp-calendar-head strong{display:flex;align-items:center;justify-content:center;font-weight:500}.pp-calendar-body{display:grid;grid-template-columns:repeat(6,1fr)}.pp-slot{min-height:96px;border-right:1px solid #eeeef3;border-bottom:1px solid #eeeef3;padding:8px;background:#fff}.pp-slot span{font-size:12px;color:#8a8a96}.pp-slot.busy{background:#f6f5ff}.pp-slot b{display:block;margin-top:8px;padding:8px;border-left:3px solid #312f83;background:#fff;color:#303348;font-size:13px}.pp-slot small{display:block;margin-top:4px;color:#7b7b86;font-weight:400}.pp-side{display:flex;flex-direction:column;gap:12px}
.pp-cell{display:flex;flex-direction:column;gap:3px;padding:8px 0}.pp-cell strong{font-weight:500}.pp-form{border-top:1px solid #e6e6ec;margin-top:10px;padding-top:14px!important}.pp-form h3{margin-bottom:10px;font-size:15px}.pp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pp-form label{display:flex;flex-direction:column;gap:5px}.pp-form input{background:#fff}
.pp-attendance{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px}.pp-table{display:flex;flex-direction:column}.pp-table-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:12px;align-items:center;min-height:58px;border-bottom:1px solid #e8e8ee}.pp-statuses{display:flex;align-items:center;gap:8px}.pp-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 10px;font-size:12px}.pp-status-green{background:#e6f6ec;color:#1d8247}.pp-status-blue{background:#ecebff;color:#312f83}.pp-status-orange{background:#fff1df;color:#b46600}.pp-status-gray{background:#eeeeF3;color:#666878}
.pp-board{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:14px;overflow-x:auto}.pp-board-col{padding:0!important;min-height:360px}.pp-board-col h2{height:56px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e1e7}.pp-board-col h2 span{font-size:12px;border-radius:999px;background:#ff7a2f;color:#fff;padding:2px 7px}
.pp-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:12px 0 16px}.pp-tab{border:none;background:#f0f0f6;border-radius:4px;padding:7px 12px;color:#5f6270}.pp-tab.active{background:#312f83;color:#fff}
.pp-detail-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px}.pp-profile{padding:20px!important}.pp-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px}
@media(max-width:1180px){.pp-metrics.six{grid-template-columns:repeat(3,1fr)}.pp-board{grid-template-columns:repeat(3,minmax(230px,1fr))}.pp-fields{grid-template-columns:repeat(2,1fr)}.pp-schedule-layout,.pp-attendance,.pp-detail-layout{grid-template-columns:1fr}}
@media(max-width:760px){.pp-metrics.six,.pp-grid.two,.pp-grid.three{grid-template-columns:1fr}.pp-form-grid,.pp-fields{grid-template-columns:1fr}.pp-board{grid-template-columns:1fr}.pp-table-row{grid-template-columns:1fr}}
/* server-persistence-v1 */
.pp-save-hint{display:inline-flex;align-items:center;border-radius:999px;background:#e8f4ff;color:#176cae;padding:6px 12px;font-size:12px;font-weight:600}
.pp-form-actions{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.pp-form-ok{color:#168044;font-size:13px}
.pp-form-error{color:#c93434;font-size:13px}
.pp-form button:disabled{opacity:.65;cursor:wait}
/* access-deals-v1 */
.btn-link{background:transparent;border:none;color:#312f83;box-shadow:none}
.login-success{padding:10px 12px;border-radius:6px;background:#e8f8ef;color:#16733f;font-size:13px}
.access-page,.roles-page,.password-page{max-width:1500px}.access-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.access-form{display:grid;grid-template-columns:1.2fr 1.3fr 1fr 1fr 1fr auto;gap:10px;margin-bottom:18px}.access-form input,.access-form select,.password-page input{height:42px;border:1px solid #d8d8e2;border-radius:4px;padding:0 12px;background:#fff}.access-table{padding:0!important}.access-row{display:grid;grid-template-columns:1.2fr 1.4fr 1fr .8fr 1.2fr;gap:12px;align-items:center;min-height:72px;padding:0 22px;border-bottom:1px solid #e7e7ee}.access-row-head{min-height:44px;color:#777;font-size:13px;background:#fff}.access-actions{display:flex;gap:8px;justify-content:flex-end}.roles-list{display:grid;gap:10px;margin-top:14px}.role-card{border:1px solid #e1e1e8;border-radius:6px;padding:12px;display:flex;justify-content:space-between;gap:12px}.password-page{display:grid;gap:12px;max-width:520px}
.lead-screen{position:relative}.lead-toolbar{display:grid;grid-template-columns:44px 44px minmax(180px,1fr) minmax(180px,1fr) 220px;gap:10px;align-items:center}.lead-toolbar input,.lead-toolbar select{height:48px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 16px}.view-btn{height:48px;border:1px solid #d8d8e2;background:#fff;border-radius:4px;color:#313187;font-weight:700}.view-btn.active{border-color:#313187}
.lead-board{display:grid;grid-template-columns:repeat(6,minmax(250px,1fr));gap:22px;overflow-x:auto;padding-bottom:12px}.lead-col{min-height:620px;border-top:4px solid var(--accent);padding-top:12px}.lead-col h2{text-align:center;font-size:18px;margin:0 0 12px}.add-lead-btn{width:100%;height:46px;border:1px solid #c8c8d2;background:#fff;border-radius:4px;color:#303083;font-weight:600;margin-bottom:12px}.lead-list{display:flex;flex-direction:column;gap:12px;max-height:620px;overflow:auto;padding:0 8px}.lead-card{border:1px solid #d4d4dc;border-radius:4px;background:#fff;min-height:74px;text-align:left;padding:12px 14px;display:flex;justify-content:space-between;gap:12px;color:#2f2f85}.lead-card.active{border-color:#756cff;box-shadow:0 0 0 1px #756cff}.lead-card strong{display:block;font-size:18px;font-weight:500}.lead-card em{display:block;font-style:normal;color:#777;margin-top:4px}.lead-card b{color:#777;font-weight:500;white-space:nowrap}.lead-empty{border:1px dashed #d8d8e2;border-radius:4px;padding:18px;text-align:center;color:#888;background:#fff}
.lead-drawer{position:fixed;right:0;top:0;bottom:0;width:min(520px,96vw);background:#fff;z-index:40;box-shadow:-12px 0 28px rgba(30,30,50,.18);padding:18px 34px;overflow:auto}.lead-drawer-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.icon-btn{border:none;background:transparent;font-size:34px;color:#777}.lead-avatar{text-align:center;margin:24px 0}.lead-avatar div{width:150px;height:150px;border:1px solid #aeb0bb;border-radius:50%;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;font-size:86px;color:#858a91}.lead-avatar h2{margin:0 0 4px}.lead-form{display:grid;grid-template-columns:1fr;gap:14px}.lead-form label{display:grid;grid-template-columns:130px 1fr;gap:14px;align-items:center}.lead-form span{color:#777}.lead-form input,.lead-form select,.lead-form textarea{border:1px solid #d8d8e2;border-radius:4px;padding:11px 12px;background:#fff}.lead-wide{align-items:start!important}
@media(max-width:900px){.access-form,.access-row{grid-template-columns:1fr}.lead-toolbar{grid-template-columns:1fr}.lead-board{grid-template-columns:repeat(2,minmax(240px,1fr))}}
/* lead-drawer-paraplan-v1 */
.lead-drawer{padding:18px 30px 28px!important;width:min(520px,96vw)!important}.lead-drawer-top{display:flex;align-items:center;justify-content:space-between;height:34px}.lead-top-actions{display:flex;align-items:center;gap:18px}.lead-top-actions .lead-icon:not(:last-child){border-right:1px solid #ddd;padding-right:18px}.lead-icon{border:none;background:transparent;color:#777;font-size:25px;line-height:1;min-width:30px;height:30px;cursor:pointer}.lead-icon:hover{color:#303083}.lead-icon.close{font-size:34px}
.lead-avatar{margin:28px 0 22px!important}.lead-avatar>div{overflow:hidden;background:#fff}.lead-avatar img{width:150px;height:150px;border:1px solid #aeb0bb;border-radius:50%;object-fit:cover;margin:0 auto 18px;display:block}.lead-info{display:grid;gap:16px}.lead-info h3,.lead-edit h3{font-size:15px;font-weight:500;color:#777;margin:14px 0 2px}.lead-info-row{display:grid;grid-template-columns:140px 1fr;gap:12px;align-items:start;min-height:26px}.lead-info-row span{color:#777}.lead-info-row strong{font-weight:400;color:#777;line-height:1.45}.lead-info-row i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px;vertical-align:middle}.lead-drawer-buttons{display:grid;gap:18px;margin:28px 70px 0}.lead-drawer-buttons .btn{height:48px;background:#fff;color:#777;font-weight:600}
.lead-edit{display:grid;gap:16px;margin-top:28px}.lead-edit>label{display:grid;grid-template-columns:128px 1fr;gap:14px;align-items:center}.lead-edit label>span{color:#777}.lead-edit input,.lead-edit select,.lead-edit textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:12px 14px;color:#262a42}.lead-input-wrap{position:relative}.lead-input-wrap button{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:none;background:transparent;color:#999;font-size:20px}.lead-radio{display:flex;gap:28px}.lead-radio label{display:flex;align-items:center;gap:8px;color:#777}.lead-radio input{width:22px;height:22px;accent-color:#303083}.lead-check{display:flex!important;grid-template-columns:none!important;gap:14px!important;margin-left:128px}.lead-check input{width:24px;height:24px}.lead-add-phone{width:260px;margin-left:70px;background:#fff;color:#303083;font-weight:600}.lead-wide{align-items:start!important}.lead-save{width:260px;height:48px;margin:8px auto 0}
.lead-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-left:128px}.lead-photo-grid label{height:120px;border:1px dashed #cfcfd8;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden}.lead-photo-grid input{display:none}.lead-photo-grid img{width:100%;height:100%;object-fit:cover}.lead-photo-grid b{color:#303083;font-weight:600}
@media(max-width:640px){.lead-edit>label,.lead-info-row{grid-template-columns:1fr}.lead-check,.lead-add-phone,.lead-photo-grid{margin-left:0}.lead-drawer-buttons{margin-left:0;margin-right:0}}
/* paraplan-full-core-v1 */
.pp-screen{display:flex;flex-direction:column;gap:22px}.pp-head p{margin:5px 0 0;max-width:900px;line-height:1.45}.pp-metrics{display:grid;gap:18px}.pp-metrics.six{grid-template-columns:repeat(6,minmax(0,1fr))}.pp-metrics.three{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-metric{min-height:124px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px}.pp-metric.compact{min-height:94px}.pp-metric span{font-size:15px;color:#242842}.pp-metric strong{font-size:38px;line-height:1;color:#312f83;font-weight:400}.pp-metric em{font-style:normal;color:var(--subtle);font-size:12px}.pp-grid{display:grid;gap:22px}.pp-grid.two{grid-template-columns:1fr 1fr}.pp-grid.three{grid-template-columns:repeat(3,1fr)}
.pp-panel{padding:0!important}.pp-panel-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px;border-bottom:1px solid #e1e1e7}.pp-panel-head h2{font-size:18px;font-weight:500;color:#42424b}.pp-panel>.pp-rows,.pp-panel>.pp-form,.pp-panel>.pp-table,.pp-panel>.pp-metrics{padding:0 22px 16px}.pp-rows{display:flex;flex-direction:column}.pp-row{width:100%;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;border-bottom:1px solid #e8e8ee;background:transparent;text-align:left}.pp-row.clickable{cursor:pointer}.pp-row.clickable:hover{background:#f7fbff}.pp-row:last-child{border-bottom:none}.pp-row strong{display:block;font-weight:500;color:#303348}.pp-row .muted{display:block;margin-top:3px;font-size:13px}.pp-row-note{color:#312f83;font-size:13px;white-space:nowrap}
.pp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pp-toolbar input,.pp-toolbar select{height:42px;border:1px solid #dcdce6;border-radius:4px;background:#fff;padding:0 12px}.pp-schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px}.pp-calendar{padding:0!important;overflow:hidden}.pp-calendar-head{display:grid;grid-template-columns:repeat(7,1fr);height:52px;border-bottom:1px solid #e1e1e7;background:#fff}.pp-calendar-head strong{display:flex;align-items:center;justify-content:center;font-weight:500}.pp-calendar-body{display:grid;grid-template-columns:repeat(7,1fr)}.pp-slot{min-height:92px;border-right:1px solid #eeeef3;border-bottom:1px solid #eeeef3;padding:8px;background:#fff}.pp-slot span{font-size:12px;color:#8a8a96}.pp-slot.busy{background:#f6f5ff}.pp-slot b{display:block;margin-top:8px;padding:8px;border-left:3px solid #312f83;background:#fff;color:#303348;font-size:13px}.pp-slot small{display:block;margin-top:4px;color:#7b7b86;font-weight:400}.pp-side{display:flex;flex-direction:column;gap:12px;padding:20px!important}
.pp-cell{display:flex;flex-direction:column;gap:3px;padding:8px 0}.pp-cell strong{font-weight:500;line-height:1.35}.pp-form{border-top:1px solid #e6e6ec;margin-top:10px;padding-top:14px!important}.pp-form h3{margin-bottom:10px;font-size:15px}.pp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pp-form label{display:flex;flex-direction:column;gap:5px}.pp-form input,.pp-form select,.pp-form textarea{background:#fff;border:1px solid #d8d8e2;border-radius:4px;padding:10px 12px}.pp-form-actions{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.pp-form-ok{color:#168044;font-size:13px}.pp-form-error{color:#c93434;font-size:13px}.pp-form button:disabled{opacity:.65;cursor:wait}
.pp-attendance{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px}.pp-table{display:flex;flex-direction:column}.pp-table-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:12px;align-items:center;min-height:58px;border-bottom:1px solid #e8e8ee}.pp-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 10px;font-size:12px}.pp-status-green{background:#e6f6ec;color:#1d8247}.pp-status-blue{background:#ecebff;color:#312f83}.pp-status-orange{background:#fff1df;color:#b46600}.pp-status-gray{background:#eeeef3;color:#666878}
.pp-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:12px 0 16px}.pp-tab{border:none;background:#f0f0f6;border-radius:4px;padding:7px 12px;color:#5f6270}.pp-tab.active{background:#312f83;color:#fff}.pp-detail-layout{display:grid;grid-template-columns:370px minmax(0,1fr);gap:22px}.pp-profile{padding:20px!important}.pp-profile-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.pp-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px}
.lead-screen{position:relative}.lead-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lead-toolbar input,.lead-toolbar select{height:48px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 14px;min-width:220px}.view-btn{height:48px;width:48px;border:1px solid #312f83;border-radius:4px;background:#fff;color:#312f83}.lead-board{display:grid;grid-template-columns:repeat(6,minmax(245px,1fr));gap:14px;overflow-x:auto}.lead-col{background:#f5f5f8;border-top:4px solid var(--accent);padding:10px;min-height:560px}.lead-col h2{text-align:center;font-size:17px;margin:8px 0 14px}.add-lead-btn{height:46px;width:100%;background:#fff;border:1px solid #cfcfd8;border-radius:4px;color:#303083;font-weight:600;margin-bottom:12px}.lead-list{display:flex;flex-direction:column;gap:12px}.lead-card{min-height:74px;background:#fff;border:1px solid #d9d9e3;border-radius:4px;padding:12px 14px;display:flex;justify-content:space-between;gap:12px;text-align:left}.lead-card.active{border-color:#746cff;box-shadow:0 0 0 1px #746cff}.lead-card strong{display:block;color:#303083;font-size:16px}.lead-card em{font-style:normal;color:#777;font-size:13px}.lead-card b{font-weight:500;color:#777}.lead-empty{color:#8a8a96;text-align:center;padding:20px 0}
@media(max-width:1300px){.pp-metrics.six{grid-template-columns:repeat(3,1fr)}.lead-board{grid-template-columns:repeat(3,minmax(245px,1fr))}.pp-fields{grid-template-columns:repeat(2,1fr)}.pp-schedule-layout,.pp-attendance,.pp-detail-layout{grid-template-columns:1fr}}
@media(max-width:760px){.pp-metrics.six,.pp-metrics.three,.pp-grid.two,.pp-grid.three{grid-template-columns:1fr}.pp-form-grid,.pp-fields{grid-template-columns:1fr}.lead-board{grid-template-columns:1fr}.pp-table-row{grid-template-columns:1fr}.pp-calendar-head,.pp-calendar-body{grid-template-columns:repeat(2,1fr)}}

/* schedule-sidebar-token-fix-v1 */
.layout,.layout-collapsed{display:block!important;min-height:100vh;background:#f4f4f7!important}
.layout .sidebar,.layout-collapsed .sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:304px!important;min-width:304px!important;max-width:304px!important;transform:none!important;transition:none!important}
.layout .content,.layout-collapsed .content{margin-left:304px!important;width:calc(100% - 304px)!important;max-width:calc(100% - 304px)!important;min-height:100vh!important;overflow-x:hidden!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-brand,.layout-collapsed .sidebar:not(:hover) .sidebar-primary,.layout-collapsed .sidebar:not(:hover) .sidebar-user{opacity:1!important;width:auto!important;max-width:none!important;overflow:visible!important;transform:none!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-item{justify-content:flex-start!important;padding:0 24px!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-item span,.layout-collapsed .sidebar:not(:hover) .sidebar-footer,.layout-collapsed .sidebar:not(:hover) .sidebar-nav span{display:inline!important;opacity:1!important}
.sidebar,.sidebar *{box-sizing:border-box}
.pp-screen,.screen-head,.card{min-width:0}
.pp-schedule-layout{grid-template-columns:minmax(0,1fr) minmax(320px,390px)!important;align-items:start}
.pp-side{min-width:0;max-width:100%;overflow:hidden}
.pp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.pp-form label,.pp-form input,.pp-form select,.pp-form textarea{min-width:0;width:100%;box-sizing:border-box}
.pp-form-actions{max-width:100%}
.pp-form-error{max-width:100%;line-height:1.35}
@media(max-width:1100px){.pp-schedule-layout,.pp-attendance,.pp-detail-layout{grid-template-columns:1fr!important}.pp-side{width:100%}.pp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.layout .sidebar,.layout-collapsed .sidebar{display:none!important}.layout .content,.layout-collapsed .content{margin-left:0!important;width:100%!important;max-width:100%!important;padding:0 12px 70px!important}.pp-form-grid{grid-template-columns:1fr!important}.pp-calendar-head,.pp-calendar-body{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:430px){.pp-form-grid{grid-template-columns:1fr!important}.pp-toolbar input,.pp-toolbar select{width:100%}.btn,.btn-primary{white-space:normal}}

/* sidebar-hard-lock-v2 */
.layout .sidebar,.layout-collapsed .sidebar,.layout-collapsed .sidebar:hover{width:304px!important;min-width:304px!important;max-width:304px!important;transform:none!important;transition:none!important;box-shadow:none!important}
.layout .content,.layout-collapsed .content{margin-left:304px!important;width:calc(100% - 304px)!important;max-width:calc(100% - 304px)!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-brand,.layout-collapsed .sidebar:not(:hover) .sidebar-privacy,.layout-collapsed .sidebar:not(:hover) .sidebar-theme,.layout-collapsed .sidebar:not(:hover) .sidebar-user{display:flex!important;opacity:1!important;visibility:visible!important;width:auto!important;max-width:none!important;overflow:visible!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-item span,.layout-collapsed .sidebar:not(:hover) .sidebar-nav span{display:inline!important;opacity:1!important;visibility:visible!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-head,.layout-collapsed .sidebar:not(:hover) .sidebar-item,.layout-collapsed .sidebar:not(:hover) .sidebar-footer{justify-content:flex-start!important}
.layout-collapsed .sidebar:not(:hover) .sidebar-item{gap:12px!important;padding:0 24px!important}
@media(max-width:760px){.layout .sidebar,.layout-collapsed .sidebar{display:none!important}.layout .content,.layout-collapsed .content{margin-left:0!important;width:100%!important;max-width:100%!important}}

/* classes-schedule-paraplan-v1 */
.pp-schedule-screen .pp-head{align-items:center}.pp-schedule-screen .pp-head .btn-primary{width:44px;height:44px;border-radius:4px;font-size:24px;line-height:1;padding:0}.pp-schedule-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pp-schedule-bar input,.pp-schedule-bar select,.pp-class-toolbar input{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 12px;color:#303348}.pp-icon-btn{width:42px;height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#312f83;font-size:24px;display:inline-flex;align-items:center;justify-content:center}.pp-schedule-board{padding:0!important;overflow:hidden}.pp-board-scroll{overflow:auto;cursor:grab;user-select:none}.pp-board-scroll:active{cursor:grabbing}.pp-time-grid{min-width:980px;display:grid;grid-template-columns:78px repeat(var(--days),minmax(142px,1fr));background:#fff}.pp-time-head,.pp-day-head{position:sticky;top:0;z-index:3;height:58px;background:#fff;border-bottom:1px solid #dcdce6;border-right:1px solid #eeeef3;display:flex;align-items:center;justify-content:center}.pp-day-head{flex-direction:column;gap:2px}.pp-day-head strong{font-size:15px;font-weight:600;color:#303348}.pp-day-head span{font-size:12px;color:#7b7b86}.pp-hour{position:sticky;left:0;z-index:2;min-height:76px;background:#fbfbfd;border-right:1px solid #dcdce6;border-bottom:1px solid #eeeef3;display:flex;align-items:flex-start;justify-content:center;padding-top:8px;color:#777;font-size:12px}.pp-hour-cell{min-height:76px;border-right:1px solid #eeeef3;border-bottom:1px solid #eeeef3;padding:6px;background:#fff}.pp-lesson-chip{width:100%;border:1px solid #d9d9e3;border-left:4px solid var(--lesson);border-radius:4px;background:#fff;text-align:left;padding:8px;color:#303348;box-shadow:0 1px 2px #0000000d}.pp-lesson-chip strong,.pp-lesson-chip span,.pp-lesson-chip small{display:block}.pp-lesson-chip strong{color:#303083;font-size:14px}.pp-lesson-chip span{font-size:12px;margin-top:3px}.pp-lesson-chip small{font-size:11px;margin-top:4px;color:#777}.pp-modal-backdrop{position:fixed;inset:0;background:rgba(19,20,34,.32);z-index:80;display:flex;align-items:flex-start;justify-content:flex-end}.pp-modal{width:min(560px,96vw);max-height:100vh;overflow:auto;background:#fff;box-shadow:-8px 0 30px #00000024;padding:24px 30px;display:flex;flex-direction:column;gap:16px}.pp-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.pp-modal-head h2{font-size:22px;font-weight:500;color:#444;margin:0}.pp-modal-head p{margin:6px 0 0}.pp-modal label{display:flex;flex-direction:column;gap:6px}.pp-modal label>span{color:#777;font-size:13px}.pp-modal input,.pp-modal select,.pp-modal textarea{border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:10px 12px;min-height:42px;color:#303348}.pp-check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pp-check{border:1px solid #d8d8e2;border-radius:4px;min-height:40px;display:flex!important;align-items:center;justify-content:center;gap:7px;color:#555}.pp-check input{width:auto;min-height:auto}.pp-check.active{border-color:#312f83;color:#312f83;background:#f4f3ff}.pp-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid #eeeef3;padding-top:14px}.pp-class-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.pp-class-toolbar input{min-width:260px}.pp-class-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(380px,.75fr);gap:22px}.pp-class-list,.pp-class-card{padding:0!important;overflow:hidden}.pp-class-table-head,.pp-class-row{display:grid;grid-template-columns:minmax(220px,1.4fr) 130px minmax(160px,1fr) 120px minmax(220px,1fr);gap:12px;align-items:center;border-bottom:1px solid #e8e8ee;padding:0 18px}.pp-class-table-head{height:52px;background:#fbfbfd;color:#777;font-size:12px}.pp-class-row{width:100%;min-height:76px;border-left:3px solid transparent;background:#fff;text-align:left}.pp-class-row.active,.pp-class-row:hover{background:#f8fbff;border-left-color:#312f83}.pp-class-name{display:grid;grid-template-columns:14px minmax(0,1fr);gap:8px;align-items:center}.pp-class-name i{width:12px;height:12px;border-radius:50%}.pp-class-name strong{display:block;color:#303083;font-size:15px}.pp-class-name em{display:block;grid-column:2;font-size:12px;color:#777;font-style:normal;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pp-row-actions{display:flex!important;gap:10px;flex-wrap:wrap}.pp-row-actions b{font-size:12px;font-weight:600;color:#312f83;cursor:pointer}.pp-empty-state{padding:28px;color:#777}.pp-class-card{padding:22px!important}.pp-class-card h2{font-size:22px;font-weight:500;color:#444}.pp-color-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pp-swatch{width:28px;height:28px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #d8d8e2}.pp-swatch.active{box-shadow:0 0 0 2px #312f83}.pp-color-row input[type=color]{width:38px;height:32px;padding:2px;border:1px solid #d8d8e2}.pp-wide-label textarea{min-height:92px}
@media(max-width:1280px){.pp-class-layout{grid-template-columns:1fr}.pp-class-table-head,.pp-class-row{grid-template-columns:minmax(220px,1fr) 110px 140px 110px 190px}.pp-time-grid{min-width:900px}}
@media(max-width:760px){.pp-class-table-head{display:none}.pp-class-row{grid-template-columns:1fr;gap:8px;padding:14px}.pp-row-actions{justify-content:flex-start}.pp-check-grid{grid-template-columns:repeat(2,1fr)}.pp-modal{width:100vw}.pp-schedule-bar input,.pp-schedule-bar select,.pp-class-toolbar input{width:100%}}


/* rooms-chain1 */
.pp-date-title{min-width:142px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;font-weight:600}
.pp-drawer-backdrop{position:fixed;inset:0;z-index:85;background:rgba(20,22,35,.18);display:flex;justify-content:flex-end}
.pp-schedule-drawer{width:min(520px,96vw);height:100vh;background:#fff;box-shadow:-12px 0 28px rgba(30,30,50,.18);padding:18px 34px 28px;overflow:auto}
.pp-drawer-title{text-align:center;margin:22px 0 24px}.pp-drawer-title h2{font-size:24px;font-weight:500;color:#242842}.pp-drawer-title p{margin:6px 0 0}
.pp-drawer-avatar{width:126px;height:126px;margin:0 auto 18px;border:1px solid #aeb0bb;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:70px;color:#858a91;background:#fff}
.pp-drawer-fields{grid-template-columns:1fr!important;margin-top:12px}.pp-tab-body{display:flex;flex-direction:column;gap:14px}.pp-description{padding:18px 22px;color:#555;line-height:1.5}
.pp-card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.settings-screen .pp-tabs{margin-top:-6px}.settings-rooms{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:18px;align-items:start}
.pp-room-form h2{margin-bottom:6px}.pp-room-add{display:flex;gap:8px;margin-top:14px}.pp-room-add input{flex:1}
.pp-room-list{padding:0!important}.pp-room-row{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;border-bottom:1px solid #e8e8ee}.pp-room-row:last-child{border-bottom:0}.pp-room-row strong{display:block;color:#303348}.pp-room-row span{display:block;margin-top:3px;font-size:13px}
.pp-attendance-current{margin-bottom:12px}.pp-table .pp-empty-state{margin:10px 0}
@media(max-width:900px){.settings-rooms{grid-template-columns:1fr}.pp-schedule-drawer{width:100vw}.pp-room-add{flex-direction:column}}


/* attendance-paraplan1 */
.att-layout{display:grid;grid-template-columns:380px minmax(0,1fr);gap:36px;align-items:start}.att-left{display:flex;flex-direction:column;gap:36px}.att-datebar{height:50px;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;background:#fff;border:1px solid #d8d8e2;border-radius:4px;box-shadow:0 2px 4px #00000012}.att-datebar button{border:0;background:#fff;border-right:1px solid #e4e4eb;font-size:24px;color:#303348}.att-datebar button:last-child{border-right:0;border-left:1px solid #e4e4eb}.att-date-label{position:relative;display:flex!important;align-items:center;justify-content:center;font-size:18px;color:#303348;cursor:pointer}.att-date-label input{position:absolute;inset:0;opacity:0;cursor:pointer}.att-lessons{border:1px solid #d8d8e2;background:#fff}.att-lesson{width:100%;min-height:58px;display:grid;grid-template-columns:58px minmax(0,1fr) 86px;gap:12px;align-items:center;border:0;border-bottom:1px solid #e8e8ee;background:#fff;text-align:left;padding:0 18px;color:#303348}.att-lesson:last-child{border-bottom:0}.att-lesson.active{outline:1px solid #312f83;outline-offset:-1px}.att-time{color:#777;font-size:16px}.att-lesson-main strong{display:block;color:#252a45;font-size:15px}.att-lesson-main em{display:block;font-style:normal;color:#777;font-size:12px;margin-top:3px}.att-run{color:#777;text-align:right}.att-detail{min-width:0}.att-title-row{display:flex;justify-content:space-between;gap:18px;margin:4px 0 24px}.att-title-row h2{font-size:24px;text-transform:uppercase;color:#242842}.att-title-row p{margin:8px 0 0;color:#3f4357}.att-title-actions{display:flex;gap:12px}.att-tools{display:grid;grid-template-columns:minmax(250px,450px) auto auto;gap:18px;align-items:center;margin-bottom:28px}.att-tools select{height:48px;background:#fff;border:1px solid #d8d8e2;border-radius:4px;padding:0 14px;color:#777}.att-students{display:flex;flex-direction:column;gap:12px}.att-student-row{display:grid;grid-template-columns:44px minmax(180px,1fr) auto;gap:16px;align-items:center;min-height:60px}.att-avatar{width:38px;height:38px;border:1px solid #aeb0bb;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#7c838b;font-size:20px;background:#fff}.att-student-info strong{display:block;font-weight:500;color:#555}.att-student-info span{display:block;color:#777;margin-top:3px}.att-status-actions{display:flex;align-items:center;gap:14px}.att-status-actions button{border:0;background:transparent;color:#555;padding:6px 0;cursor:pointer}.att-status-actions button.active{color:#303083;font-weight:700}.att-status-select{width:34px;min-width:34px;height:32px;border:0;background:transparent;color:#555;font-size:0;padding:0}.att-status-select option{font-size:14px}.att-status-select:focus{box-shadow:none}.att-status-select:after{content:"вЊ„"}.pp-att-screen .pp-tabs{margin:0 0 18px}
@media(max-width:1100px){.att-layout{grid-template-columns:1fr}.att-left{gap:18px}.att-tools{grid-template-columns:1fr}.att-student-row{grid-template-columns:44px 1fr}.att-status-actions{grid-column:2;flex-wrap:wrap}}


/* students-paraplan1 */
.att-date-label{border:0;background:#fff;width:100%;height:100%;position:relative;display:flex!important;align-items:center;justify-content:center;font-size:18px;color:#303348;cursor:pointer}.att-date-label input{position:absolute;inset:0;opacity:0;cursor:pointer}
.student-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.student-toolbar input{height:44px;min-width:280px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 14px}.student-empty{min-height:360px;display:flex;align-items:center;justify-content:center;text-align:center;background:#fff;border:1px solid #e1e1e7}.student-empty h2{font-size:20px;margin-bottom:8px}.student-name-cell{display:flex;align-items:center;gap:12px}.student-mini-avatar{width:36px;height:36px;border:1px solid #aeb0bb;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#7b838b;background:#fff;font-size:18px}.student-name-cell strong{display:block;color:#303083;font-size:15px}.student-name-cell em{display:block;font-style:normal;color:#777;font-size:12px;margin-top:3px}.student-drawer{width:min(540px,96vw);height:100vh;overflow:auto;background:#fff;box-shadow:-12px 0 28px rgba(30,30,50,.18);padding:18px 30px 28px}.student-drawer-avatar{text-align:center;margin:24px 0}.student-drawer-avatar>div{width:138px;height:138px;border:1px solid #aeb0bb;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;font-size:76px;color:#858a91;background:#fff}.student-drawer-avatar h2{font-size:22px;font-weight:500;color:#242842}.student-edit{display:grid;gap:16px;margin-top:16px}.student-edit>label{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:center}.student-edit label>span{color:#777}.student-edit input,.student-edit select,.student-edit textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:12px 14px;color:#262a42}.student-check{display:flex!important;grid-template-columns:none!important;gap:12px!important;margin-left:132px}.student-check input{width:24px;height:24px}.student-add-phone{width:260px;margin-left:96px;background:#fff;color:#303083;font-weight:600}.student-save{width:260px;height:48px}.student-form-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px auto 0}.student-save-secondary{background:#fff;color:#303083;font-weight:600}
@media(max-width:760px){.student-edit>label{grid-template-columns:1fr}.student-check,.student-add-phone{margin-left:0}.student-toolbar input{min-width:0;width:100%}}


/* settings-student-profile-v1 */
.settings-custom{display:grid;gap:18px}.settings-list-head{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.custom-field-modal{gap:14px}.custom-check{margin-left:0!important}.status-color-dot{font-size:12px;color:#777}.student-profile-head{display:flex;justify-content:space-between;gap:12px}.student-profile-card{padding:0!important;overflow:hidden}.student-profile-summary{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:16px;align-items:center;padding:22px 26px;border-bottom:1px solid #e8e8ee}.student-big-avatar{width:56px;height:56px;border:1px solid #aeb0bb;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:30px;color:#7c838b;background:#fff}.student-profile-summary h1{font-size:24px;color:#242842}.student-profile-summary p{margin:6px 0 0;color:#777}.student-info-dot{width:24px;height:24px;border:1px solid #aeb0bb;border-radius:50%;background:#fff;color:#303083;font-weight:700}.student-profile-status{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.student-profile-card .pp-tabs{padding:0 22px}.student-profile-card .pp-rows,.student-profile-card .pp-fields,.student-history,.student-sub-table{padding:0 22px 18px}.student-toolbar select{height:44px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 12px}
@media(max-width:760px){.student-profile-summary{grid-template-columns:56px 1fr}.student-profile-status{grid-column:1 / -1;align-items:flex-start}}


/* student-profile-status-nav-v2 */
.student-profile-status{flex-direction:row!important;align-items:center!important;justify-content:flex-end;gap:12px!important;white-space:nowrap}
.student-status-inline{min-width:150px;height:34px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303083;padding:0 10px;font-weight:600}
.student-status-profile{min-width:190px}
.student-info-dot{cursor:pointer}
.student-info-dot[aria-expanded=true]{background:#312f83;color:#fff;border-color:#312f83}
.student-info-popover{padding:18px 22px 0;border-bottom:1px solid #e8e8ee;background:#fbfbfd}


/* students-paraplan-detail-v3 */
.student-toolbar-paraplan{justify-content:flex-start}.student-toolbar-paraplan input{min-width:230px}.student-filter-panel{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px;margin:14px 0}.student-filter-panel label{display:flex;flex-direction:column;gap:6px;color:#777}.student-filter-panel select,.student-filter-panel input{height:40px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 10px}.student-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;color:#777}.student-pager div{display:flex;gap:6px}.student-pager button{min-width:32px;height:32px;border:1px solid #d8d8e2;background:#fff;border-radius:4px;color:#303083}.student-pager button.active{background:#312f83;color:#fff;border-color:#312f83}.student-profile-card .pp-tabs{padding:0 26px;margin-top:18px}.student-tab-body{padding:0 26px 24px}.student-tab-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.student-name-line{display:flex;align-items:center;gap:10px}.student-name-line h1{margin:0}.student-info-dot{flex:0 0 auto}.student-side-backdrop{position:fixed;inset:0;z-index:90;background:rgba(19,20,34,.18);display:flex;justify-content:flex-end}.student-side-card{width:min(430px,96vw);height:100vh;overflow:auto;background:#fff;box-shadow:-14px 0 34px rgba(30,30,50,.2);padding:18px 30px 34px}.student-side-top{display:flex;justify-content:space-between;align-items:center}.student-side-close,.student-side-icon{width:38px;height:38px;border:0;background:#fff;color:#777;font-size:26px}.student-side-icon{font-size:20px}.student-side-avatar-wrap{text-align:center;margin:18px 0 28px}.student-side-avatar{width:124px;height:124px;border:1px solid #aeb0bb;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:70px;color:#858a91}.student-side-avatar-wrap h2{font-size:22px;font-weight:500;color:#242842}.student-side-avatar-wrap p{color:#777}.student-side-card h3{font-size:14px;color:#777;font-weight:500;margin:20px 0 12px}.student-side-fields{display:grid;gap:14px}.student-side-fields div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px}.student-side-fields span{color:#777}.student-side-fields strong{font-weight:500;color:#3c4054}.student-sub-modal{width:min(620px,96vw)}.student-sub-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.student-sub-form label{display:flex;flex-direction:column;gap:6px}.student-sub-form .lead-wide{grid-column:1 / -1}.student-history-editor{display:grid;gap:12px}.student-history-editor textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:12px 14px;color:#303348}.status-title-with-dot{display:flex!important;align-items:center;gap:8px}.status-title-with-dot i,.status-color-dot{display:inline-block;width:14px;height:14px;border-radius:50%;box-shadow:0 0 0 1px #d8d8e2;text-indent:-999px;overflow:hidden}.status-name-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:14px;align-items:end}.status-active-switch{height:42px;display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.status-active-switch input{width:20px;min-height:20px}.status-color-picker{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:10px;align-items:center}.status-color-picker i{width:34px;height:34px;border-radius:50%;box-shadow:0 0 0 1px #d8d8e2}.status-palette{display:flex;gap:8px;flex-wrap:wrap}.status-palette button{width:28px;height:28px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #d8d8e2}.status-palette button.active{box-shadow:0 0 0 2px #312f83}
@media(max-width:760px){.student-filter-panel,.student-sub-form,.status-name-row{grid-template-columns:1fr}.student-side-fields div{grid-template-columns:1fr}.student-pager{align-items:flex-start;flex-direction:column}}


/* student-info-slide1 */
.student-profile-title{min-width:0}
.student-name-line{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap}
.student-name-line h1{display:inline-block;margin:0;line-height:1.2}
.student-info-dot{width:24px!important;height:24px!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;vertical-align:middle;cursor:pointer}

/* subscription-paraplan1 */
.student-sub-backdrop{align-items:center;justify-content:center;background:rgba(49,47,131,.45)}
.student-sub-modal-paraplan{width:min(1000px,calc(100vw - 90px))!important;max-height:calc(100vh - 64px);display:flex;flex-direction:column;padding:0!important;border-radius:0!important;overflow:hidden}
.student-sub-titlebar{display:flex;align-items:center;justify-content:space-between;padding:28px 42px 16px;border-bottom:1px solid #e1e2e8}
.student-sub-titlebar h2{font-size:25px;font-weight:500;color:#242842;margin:0}
.student-sub-content{display:grid;grid-template-columns:minmax(500px,1fr) 260px;gap:74px;overflow:auto;padding:32px 42px 22px}
.student-sub-main{display:grid;gap:14px;align-content:start}
.student-sub-main h3{font-size:22px;font-weight:600;color:#242842;margin:0 0 8px}
.student-sub-row{display:grid!important;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center;color:#6f737b}
.student-sub-row>span,.student-sub-side label>span{font-size:15px;color:#6f737b}
.student-sub-row input,.student-sub-row select,.student-sub-side input,.student-sub-side select,.student-sub-side textarea{width:100%;min-height:47px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#252842;padding:0 14px;font-size:15px}
.student-sub-side textarea{padding:12px 14px;resize:vertical}
.student-sub-static strong{font-size:15px;font-weight:500;color:#242842}
.student-sub-side{display:grid;gap:20px;align-content:start;padding-top:2px}
.student-sub-side label{display:grid;gap:8px}
.student-sub-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e1e2e8;padding:18px 42px;display:flex;justify-content:center}
.student-sub-footer .btn{min-width:185px;height:48px;font-size:15px}
.student-sub-error{margin:0 42px 8px}
.finance-settings .pp-tabs{margin-bottom:12px}
.finance-add-form{margin-top:12px}
@media(max-width:860px){.student-sub-modal-paraplan{width:100vw!important;height:100vh;max-height:100vh}.student-sub-content{grid-template-columns:1fr;gap:28px;padding:22px}.student-sub-titlebar{padding:22px}.student-sub-row{grid-template-columns:1fr;gap:7px}.student-sub-footer{padding:14px 22px}}
.student-info-popover{display:none!important}
.student-side-backdrop{position:fixed!important;inset:0!important;z-index:5000!important;background:rgba(19,20,34,.18)!important;display:flex!important;justify-content:flex-end!important;align-items:stretch!important;animation:student-fade-in .14s ease-out}
.student-side-card{position:relative!important;width:min(430px,96vw)!important;height:100vh!important;max-height:100vh!important;overflow:auto!important;background:#fff!important;box-shadow:-14px 0 34px rgba(30,30,50,.22)!important;padding:18px 30px 34px!important;animation:student-slide-in .2s ease-out}
.student-side-top{display:flex!important;justify-content:space-between!important;align-items:center!important}

/* subscriptions-table1 */
.student-sub-alert{color:#d92f4f!important}
.student-subscriptions-paraplan{background:#f3f3f7;margin:0 -26px -24px;padding:28px 26px 24px}
.student-sub-list-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 120px 140px 52px 210px;gap:16px;align-items:end;margin-bottom:10px}
.student-sub-list-toolbar input,.student-sub-list-toolbar select{height:44px;border:0;border-bottom:1px solid #cfd1dc;background:transparent;color:#4d515a;padding:0 10px;font-size:14px}
.student-filter-icon{height:44px;background:#fff;border-color:#dfe1e9;color:#312f83}
.student-sub-list-table{background:#fff;border:1px solid #e2e3eb;overflow:auto}
.student-sub-list-table table{width:100%;border-collapse:collapse;table-layout:fixed}
.student-sub-list-table th{height:42px;text-align:left;font-size:12px;font-weight:500;color:#777;border-bottom:1px solid #e2e3eb;padding:0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.student-sub-list-table td{height:64px;border-bottom:1px solid #ececf2;padding:0 18px;color:#4b4f5e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.student-sub-list-table tbody tr{cursor:pointer;transition:background .12s ease,box-shadow .12s ease}
.student-sub-list-table tbody tr:hover{background:#eef7ff;box-shadow:inset 3px 0 #8bc7ff}
.student-sub-list-table tbody tr:active{background:#dcdefd}
.student-sub-list-table tbody tr.sub-row-active{background:#eef6e9!important}
.student-sub-list-table tbody tr.sub-row-ended{background:#fff0ec!important}
.student-sub-list-table tbody tr.sub-row-future{background:#fff4d8!important}
.student-sub-list-table tbody tr.sub-row-active:hover{background:#e2efd9!important;box-shadow:inset 3px 0 #61772d}
.student-sub-list-table tbody tr.sub-row-ended:hover{background:#ffe4dc!important;box-shadow:inset 3px 0 #f04422}
.student-sub-list-table tbody tr.sub-row-future:hover{background:#ffe9af!important;box-shadow:inset 3px 0 #d47700}
.sub-status-inline{width:100%;min-width:170px;height:36px;border:1px solid #e2d7cc;border-radius:9px;background:#fff;color:#2f241a;padding:0 10px;font:500 13px/1 Inter,Arial,sans-serif;cursor:pointer}
.sub-status-inline:focus{outline:2px solid rgba(244,91,8,.22);border-color:#f45b08}
.student-sub-list-footer{padding:16px 14px 0;color:#777}
.sub-side-backdrop{position:fixed;inset:0;z-index:5200;background:rgba(19,20,34,.08);display:flex;justify-content:flex-end;animation:student-fade-in .14s ease-out}
.sub-side-card{width:min(430px,96vw);height:100vh;overflow:auto;background:#fff;box-shadow:-16px 0 34px rgba(30,30,50,.18);padding:18px 42px 34px;animation:student-slide-in .2s ease-out}
.sub-side-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.sub-side-top>div{display:flex;gap:14px}
.sub-side-card h3{font-size:15px;font-weight:500;color:#777;margin:0 0 26px}
.sub-side-row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center;min-height:52px}
.sub-side-row span{color:#777;font-size:14px}
.sub-side-row strong{font-weight:500;color:#4b4f5e}
.sub-side-action{width:100%;height:42px;margin-top:24px;background:#fff;border-color:#d8d8e2;color:#777}
@media(max-width:860px){.student-sub-list-toolbar{grid-template-columns:1fr}.student-subscriptions-paraplan{margin:0 -22px -24px;padding:20px 16px}.sub-side-card{width:100vw;padding:18px 28px 34px}.sub-side-row{grid-template-columns:1fr;gap:4px}}

/* subscriptions-layout1 */
.student-sub-list-toolbar-v2{grid-template-columns:minmax(130px,1.25fr) minmax(110px,.95fr) minmax(120px,.9fr) minmax(120px,.9fr) minmax(120px,.9fr) 52px minmax(175px,1.1fr)!important;gap:10px!important;align-items:end}
.student-sub-list-toolbar-v2 input,.student-sub-list-toolbar-v2 select{min-width:0!important;font-size:13px!important;padding:0 8px!important}
.student-sub-list-toolbar-v2 .sub-filter-lesson{grid-column:1}
.student-sub-list-toolbar-v2 .sub-filter-type{grid-column:2}
.student-sub-list-toolbar-v2 .sub-filter-status{grid-column:3}
.student-sub-list-toolbar-v2 .sub-filter-from{grid-column:4}
.student-sub-list-toolbar-v2 .sub-filter-to{grid-column:5}
.student-sub-list-toolbar-v2 .student-filter-icon{grid-column:6}
.student-sub-list-toolbar-v2 .sub-add-btn{grid-column:7;height:44px;white-space:nowrap}
.student-schedule-board{background:#f3f3f7;margin:0 -26px -24px;padding:12px 16px 24px}
.student-schedule-controls{display:grid;grid-template-columns:38px minmax(180px,1fr) 38px auto minmax(120px,160px) minmax(120px,160px) 52px;gap:8px;align-items:center;margin-bottom:12px}
.student-schedule-controls strong{height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e0e1e9;color:#34384b;font-weight:500}
.student-schedule-controls .btn,.student-schedule-controls select{height:40px;border:1px solid #e0e1e9;background:#fff;color:#4b4f5e}
.student-schedule-grid{display:grid;grid-template-columns:46px repeat(7,minmax(120px,1fr));background:#fff;border:1px solid #e0e1e9;overflow:auto}
.student-schedule-corner,.student-schedule-day{height:38px;border-bottom:1px solid #e0e1e9;background:#fff}
.student-schedule-day{display:flex;align-items:center;padding:0 10px;font-weight:600;color:#303348;text-transform:none;border-left:1px solid #e0e1e9;white-space:nowrap}
.student-schedule-time{min-height:78px;border-bottom:1px solid #ececf2;color:#777;font-size:13px;padding:10px 8px;background:#fff}
.student-schedule-slot{position:relative;min-height:78px;border-left:1px solid #e0e1e9;border-bottom:1px solid #ececf2;background:#fafafd;padding:4px}
.student-schedule-card{width:100%;min-height:52px;border:1px solid #99cfff;background:#eaf6ff;color:#242842;border-radius:4px;text-align:left;padding:7px 9px;display:grid;gap:3px;cursor:pointer}
.student-schedule-card strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.student-schedule-card span{font-size:12px;color:#667}
.student-schedule-card:hover{background:#dff1ff;border-color:#5eb7ef}
.student-schedule-empty{margin-top:12px}
@media(max-width:980px){.student-sub-list-toolbar-v2{grid-template-columns:1fr 1fr!important}.student-sub-list-toolbar-v2>*{grid-column:auto!important}.student-schedule-controls{grid-template-columns:38px 1fr 38px}.student-schedule-controls select,.student-schedule-controls .student-filter-icon{display:none}.student-schedule-grid{grid-template-columns:42px repeat(7,136px)}}
.student-side-actions{display:flex;align-items:center;gap:10px}
@keyframes student-fade-in{from{opacity:0}to{opacity:1}}
@keyframes student-slide-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
/* teachers-paraplan1 */
.student-pager{justify-content:flex-start!important;gap:18px}.student-pager div{flex:0 0 auto}.student-pager span{white-space:nowrap}.teachers-screen .pp-head{margin-bottom:18px}.teacher-toolbar{display:grid;grid-template-columns:minmax(220px,300px) 150px 170px minmax(180px,240px);gap:12px;align-items:center;margin:0 0 16px}.teacher-toolbar input,.teacher-toolbar select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}.teacher-table-card{background:#fff;border:1px solid #dedfe7;border-radius:2px;overflow:hidden}.teacher-table{width:100%;border-collapse:collapse;color:#303348}.teacher-table th{height:44px;text-align:left;padding:0 22px;border-bottom:1px solid #e5e6ee;color:#777;font-size:13px;font-weight:500;background:#fff}.teacher-table td{height:72px;padding:0 22px;border-bottom:1px solid #e8e9f0;vertical-align:middle}.teacher-table tbody tr{cursor:pointer;transition:background .12s ease}.teacher-table tbody tr:hover{background:#eef7ff}.teacher-name-cell{display:flex;align-items:center;gap:12px}.teacher-name-cell strong{font-weight:500;color:#252a44}.teacher-table select{height:34px;min-width:118px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 8px;color:#303348}.teacher-actions-cell{text-align:right;white-space:nowrap}.teacher-actions-cell button{border:0;background:transparent;color:#777;cursor:pointer;margin-left:10px}.teacher-actions-cell button:hover{color:#302f83}.teacher-empty{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}.teacher-empty h2{font-size:18px;color:#242842}.teacher-pager{display:flex;align-items:center;gap:14px;margin-top:14px;color:#777}.teacher-pager button{min-width:32px;height:32px;border:1px solid #312f83;border-radius:4px;background:#312f83;color:#fff}.teacher-side-backdrop{position:fixed;inset:0;z-index:110;background:rgba(19,20,34,.18);display:flex;justify-content:flex-end}.teacher-side-card{width:min(560px,96vw);height:100vh;overflow:auto;background:#fff;box-shadow:-14px 0 34px rgba(30,30,50,.2);padding:18px 34px 34px}.teacher-side-card .pp-tabs{margin:22px 0 14px}.teacher-side-tab{padding-bottom:24px}.teacher-rates .pp-fields,.teacher-rates>div{display:grid;gap:12px}.teacher-form-card{width:min(520px,96vw);height:100vh;overflow:auto;background:#fff;box-shadow:-14px 0 34px rgba(30,30,50,.2);padding:18px 30px 24px}.teacher-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-top:18px}.teacher-form-grid label{display:flex;flex-direction:column;gap:6px;color:#777}.teacher-form-grid input,.teacher-form-grid select,.teacher-form-grid textarea{width:100%;min-height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:8px 12px}.teacher-form-grid .wide,.teacher-form-grid h3{grid-column:1 / -1}.teacher-radio-row{display:flex;gap:18px;align-items:center;min-height:42px}.teacher-radio-row label{flex-direction:row!important;align-items:center;color:#777}.teacher-radio-row input{width:18px;min-height:18px}.teacher-add-phone{grid-column:1 / -1;justify-self:center;min-width:220px}.teacher-form-actions{position:sticky;bottom:0;margin:18px -30px -24px;padding:16px 30px;background:#fff;border-top:1px solid #e5e6ee;display:flex;justify-content:center;gap:12px}.teacher-form-actions .btn{min-width:150px;height:44px}@media(max-width:900px){.teacher-toolbar{grid-template-columns:1fr 1fr}.teacher-form-grid{grid-template-columns:1fr}.teacher-side-card,.teacher-form-card{width:100vw}}@media(max-width:620px){.teacher-toolbar{grid-template-columns:1fr}.teacher-table{min-width:760px}.teacher-table-card{overflow:auto}}
/* paraplan-filters1 */
.pp-filter-button{width:48px;height:42px;padding:0;background:#fff;border-color:#d8d8e2;border-radius:6px;box-shadow:0 1px 4px rgba(28,32,50,.08)}.pp-filter-icon{position:relative;display:inline-block;width:28px;height:28px}.pp-filter-funnel{position:absolute;left:4px;top:7px;width:22px;height:18px;background:#8a949c;clip-path:polygon(0 0,76% 0,56% 28%,56% 92%,40% 92%,40% 28%)}.pp-filter-dot{position:absolute;right:0;top:1px;width:16px;height:16px;border-radius:50%;background:#302f83;box-shadow:0 0 0 1px #302f83}.pp-trash-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;background:transparent;color:#777;cursor:pointer}.pp-trash-button:hover{color:#302f83}.pp-trash-icon{position:relative;display:inline-block;width:18px;height:20px}.pp-trash-icon:before{content:"";position:absolute;left:4px;top:6px;width:10px;height:12px;border:2px solid currentColor;border-top:0;border-radius:1px}.pp-trash-icon:after{content:"";position:absolute;left:2px;top:3px;width:14px;height:2px;background:currentColor;border-radius:2px;box-shadow:4px -3px 0 -1px currentColor}.pp-filter-backdrop{position:fixed;inset:0;z-index:130;background:rgba(30,31,45,.28);display:flex;align-items:center;justify-content:center;padding:22px}.pp-filter-modal{width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid #dedfe7;box-shadow:0 18px 44px rgba(30,30,50,.24);padding:26px 30px}.pp-filter-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e6ee;padding-bottom:14px;margin-bottom:20px}.pp-filter-head h2{font-size:22px;font-weight:500;color:#242842}.pp-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.pp-filter-grid label{display:flex;flex-direction:column;gap:7px;color:#777}.pp-filter-grid input,.pp-filter-grid select{height:44px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}.pp-filter-actions{display:flex;justify-content:center;margin-top:24px}.pp-filter-actions .btn{min-width:170px;height:46px}.student-toolbar-v2{display:grid!important;grid-template-columns:minmax(190px,250px) minmax(180px,230px) 180px 190px minmax(20px,1fr) 145px 52px;gap:12px;align-items:center}.student-toolbar-v2 input,.student-toolbar-v2 select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}.student-add-inline,.teacher-add-inline{height:42px;white-space:nowrap}.teacher-toolbar-v2{grid-template-columns:minmax(220px,300px) 150px 170px 190px minmax(20px,1fr) 145px 52px}.student-add-inline,.teacher-add-inline{justify-self:end}.teacher-toolbar-v2 .teacher-add-inline{justify-self:end}.teacher-actions-cell{width:56px}.teacher-form-grid label:has(input[placeholder="+7"]){grid-column:auto}.teacher-form-grid .teacher-add-phone+label{grid-column:1 / -1}@media(max-width:1100px){.student-toolbar-v2,.teacher-toolbar-v2{grid-template-columns:1fr 1fr 145px 52px}}@media(max-width:700px){.student-toolbar-v2,.teacher-toolbar-v2,.pp-filter-grid{grid-template-columns:1fr}.pp-filter-button{width:100%}.teacher-toolbar-v2 .teacher-add-inline{justify-self:stretch}}

/* paraplan-tasks1 */
.tasks-screen .pp-head{margin-bottom:18px}
.tasks-toolbar{display:grid;grid-template-columns:minmax(190px,1.2fr) 142px 142px 170px minmax(140px,170px) minmax(140px,170px) minmax(140px,170px) minmax(150px,180px) minmax(18px,1fr) 145px 52px;gap:10px 12px;align-items:center;margin:0 0 16px}
.tasks-toolbar input,.tasks-toolbar select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px;min-width:0}
.tasks-toolbar-spacer{display:block}
.task-add-inline{height:42px;justify-self:end;white-space:nowrap}
.tasks-table-card{background:#fff;border:1px solid #dedfe7;border-radius:2px;overflow:hidden}
.tasks-table-card .ui-table-wrap{border:0;border-radius:0;background:#fff}
.tasks-table-card .ui-table th{height:44px;background:#fff;color:#777;font-size:13px;font-weight:500;text-transform:none;letter-spacing:0;border-bottom:1px solid #e5e6ee}
.tasks-table-card .ui-table td{height:66px;border-bottom:1px solid #e8e9f0;color:#303348}
.tasks-table-card .ui-table-row-click:hover{background:#eef7ff}
.task-title-cell{display:flex;flex-direction:column;gap:4px}
.task-title-cell strong{font-weight:500;color:#252a44}
.task-title-cell span{font-size:12px;color:#777}
.task-status-badge{display:inline-flex;align-items:center;min-height:26px;padding:3px 10px;border-radius:999px;background:#eef7ff;color:#302f83}
.tasks-empty{min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;background:#fff}
.task-modal{width:min(920px,96vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid #dedfe7;box-shadow:0 18px 44px rgba(30,30,50,.24);padding:28px 42px}
.task-modal .pp-modal-head{margin-bottom:22px}
.task-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}
.task-modal-grid label{display:flex;flex-direction:column;gap:7px;color:#777}
.task-modal-grid input,.task-modal-grid select,.task-modal-grid textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:10px 12px}
.task-modal-grid .wide,.task-extra{grid-column:1 / -1}
.task-extra{border-top:1px solid #e5e6ee;padding-top:14px}
.task-extra summary{cursor:pointer;color:#303083;font-weight:600;margin-bottom:14px}
.task-modal-grid.inner{grid-template-columns:1fr 1fr 1fr}
.task-modal-actions{display:flex;justify-content:center;margin-top:24px}
.task-modal-actions .btn{min-width:170px;height:46px}
@media(max-width:1250px){.tasks-toolbar{grid-template-columns:minmax(190px,1fr) 142px 142px minmax(150px,1fr);}.tasks-toolbar-spacer{display:none}.task-add-inline{grid-column:3}.tasks-toolbar .pp-filter-button{grid-column:4}}
@media(max-width:760px){.tasks-toolbar,.task-modal-grid,.task-modal-grid.inner{grid-template-columns:1fr}.task-add-inline,.tasks-toolbar .pp-filter-button{grid-column:auto;justify-self:stretch}.task-modal{padding:22px 18px}}

/* student-profile-polish1 */
.student-profile-head{justify-content:flex-start!important;margin-bottom:12px}
.student-profile-summary{grid-template-columns:58px minmax(0,1fr) auto!important;gap:12px!important;padding:18px 24px!important}
.student-big-avatar{width:48px!important;height:48px!important;font-size:26px!important}
.student-profile-title{min-width:0}
.student-name-line{gap:8px!important}
.student-profile-summary h1{font-size:22px!important}
.student-profile-summary p{margin-top:4px!important}
.student-profile-status{gap:6px!important}
@media(max-width:760px){.student-profile-summary{grid-template-columns:48px 1fr!important}}

/* student-task-history-conversion1 */
.student-history-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.75fr);gap:18px}
.student-history-box{background:#fff;border:1px solid #dedfe7;border-radius:4px;padding:18px;display:flex;flex-direction:column;gap:12px}
.student-history-box h3{font-size:18px;font-weight:500;color:#242842}
.student-history-box textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:12px 14px}
.student-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.student-empty-soft{min-height:120px;display:flex;align-items:center;justify-content:center;color:#777;border:1px dashed #d8d8e2;background:#fbfbfd;border-radius:4px;text-align:center;padding:18px}
.student-payments{background:#fff}
.task-modal-backdrop,.conversion-backdrop{align-items:center!important;justify-content:center!important;z-index:6000!important}
.task-modal-paraplan{width:min(930px,96vw)!important;max-height:88vh!important}
.task-assignees{grid-column:1 / -1;display:grid;grid-template-columns:120px repeat(auto-fit,minmax(160px,1fr));gap:10px;align-items:center}
.task-assignees>span{color:#777}
.task-assignees label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;color:#303348}
.task-assignees input{width:18px!important;min-height:18px!important}
.task-assignees b{font-weight:500}
.conversion-modal{width:min(560px,94vw);background:#fff;border:1px solid #dedfe7;box-shadow:0 18px 44px rgba(30,30,50,.24);padding:28px 34px;display:grid;gap:20px}
.conversion-modal p{font-size:17px;color:#303348;margin:0;line-height:1.5}
.conversion-actions{display:flex;justify-content:flex-end;gap:12px}
.lead-card[draggable=true]{cursor:grab}
.lead-card[draggable=true]:active{cursor:grabbing}
@media(max-width:900px){.student-history-grid{grid-template-columns:1fr}.task-assignees{grid-template-columns:1fr}}

/* reusable-filter-icon */
.cr-filter-icon{
  position:relative;
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.cr-filter-icon-lines{
  position:absolute;
  left:6px;
  top:15px;
  width:18px;
  height:4px;
  background:#8D969B;
  border-radius:3px;
}
.cr-filter-icon-lines:before{
  content:"";
  position:absolute;
  left:0;
  top:-7px;
  width:20px;
  height:4px;
  background:#8D969B;
  border-radius:3px;
}
.cr-filter-icon-lines:after{
  content:"";
  position:absolute;
  left:11px;
  top:3px;
  width:4px;
  height:15px;
  background:#8D969B;
  border-radius:2px;
}
.cr-filter-icon-dot{
  position:absolute;
  right:2px;
  top:2px;
  width:17px;
  height:17px;
  background:#2F2A8B;
  border-radius:50%;
  box-shadow:0 0 0 1px #2F2A8B;
}
.cr-filter-icon-foot{
  position:absolute;
  right:4px;
  bottom:4px;
  width:9px;
  height:4px;
  background:#8D969B;
  border-radius:2px;
}
.cr-filter-icon-stem{
  position:absolute;
  right:12px;
  bottom:1px;
  width:4px;
  height:13px;
  background:#8D969B;
  border-radius:2px;
}
.cr-filter-icon-small{
  width:22px;
  height:22px;
  transform:scale(.74);
  transform-origin:center;
}
/* tasks-drawer-assignee-select1 */
.task-assignees-select{grid-column:1 / -1;display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:start}
.task-assignee-control{display:grid;gap:10px}
.task-assignee-control select{height:42px}
.task-assignee-chips{display:flex;flex-wrap:wrap;gap:8px;min-height:34px;align-items:center}
.task-assignee-chips button{height:32px;border:1px solid #d8d8e2;background:#f7f8fc;color:#303348;border-radius:16px;padding:0 9px 0 12px;display:inline-flex;align-items:center;gap:8px}
.task-assignee-chips b{font-size:16px;color:#777}
.task-assignee-chips em{color:#777;font-style:normal}
.tasks-table-card .ui-table-row-click{cursor:pointer;transition:background .12s ease}
.tasks-table-card .ui-table-row-click:hover{background:#eef7ff}
.task-side-backdrop{position:fixed;inset:0;z-index:6100;background:rgba(19,20,34,.18);display:flex;justify-content:flex-end}
.task-side-card{width:min(470px,96vw);height:100vh;overflow:auto;background:#fff;box-shadow:-14px 0 34px rgba(30,30,50,.2);padding:18px 30px 34px}
.task-side-title{text-align:center;margin:18px 0 28px}
.task-side-avatar{margin:0 auto 16px}
.task-side-title h2{font-size:22px;font-weight:500;color:#242842}
.task-side-title p{color:#777}
.task-side-card h3{font-size:14px;color:#777;font-weight:500;margin:20px 0 12px}
.task-side-text{border:1px solid #e2e3eb;background:#fbfbfd;border-radius:4px;padding:12px 14px;min-height:72px;color:#303348;line-height:1.45;white-space:pre-wrap}


/* crm-tasks-leads-history-fix1 */
.task-side-actions{align-items:flex-start}
.task-side-icons{display:flex;align-items:center;gap:8px}
.task-side-delete:hover{color:#d23b32}
.lead-icon{font-size:22px}
.lead-record-modal{display:grid;gap:14px;width:min(520px,96vw)}
.lead-record-modal label{display:grid;gap:6px;color:#777}
.lead-record-modal select,.lead-record-modal input,.lead-record-modal textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:11px 12px;color:#262a42}
.student-history-single{padding:18px!important}
.student-history-column{display:flex;flex-direction:column;gap:12px}
.student-history-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.student-history-list{display:flex;flex-direction:column;border:1px solid #e2e3eb;border-radius:4px;overflow:hidden;background:#fff}
.student-history-item{border:0;border-bottom:1px solid #e8e8ef;background:#fff;text-align:left;padding:14px 16px;cursor:default;color:#242842}
.student-history-item:last-child{border-bottom:0}
.student-history-item.task{cursor:pointer}
.student-history-item.task:hover{background:#eef7ff}
.student-history-item strong{display:block;font-size:15px;color:#303083}
.student-history-item span{display:block;margin-top:4px;color:#777;font-size:13px}
.student-history-item p{margin:8px 0 0;color:#555;line-height:1.45}


/* crm-confirm-history-focus1 */
.crm-confirm-backdrop{position:fixed;inset:0;z-index:9000;background:rgba(48,48,132,.45);display:flex;align-items:center;justify-content:center;padding:20px}
.crm-confirm-modal{width:min(750px,92vw);background:#fff;box-shadow:0 18px 48px rgba(30,30,50,.24);padding:34px 42px;border-radius:0;color:#242842}
.crm-confirm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid #dfe0e8;padding-bottom:16px}
.crm-confirm-head h2{font-size:24px;font-weight:500;color:#242842}
.crm-confirm-close{border:0;background:#fff;color:#7b828a;font-size:34px;line-height:1;cursor:pointer}
.crm-confirm-modal p{margin:52px 0;text-align:center;font-size:17px;color:#141b35}
.crm-confirm-actions{display:flex;justify-content:center;gap:12px;border-top:1px solid #dfe0e8;padding-top:32px}
.crm-confirm-actions .btn{min-width:126px;height:48px;background:#fff;color:#777;font-weight:600}
.student-history-kind{display:inline-flex;align-items:center;margin-bottom:6px;color:#777;font-size:13px;font-weight:500}
.student-history-kind:before{content:"";width:16px;height:16px;margin-right:6px;border:2px solid #6f7184;border-radius:3px;box-shadow:inset 0 -5px 0 rgba(111,113,132,.16)}


/* crm-search-comment-warning1 */
.tasks-toolbar input[list]{height:44px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 12px;min-width:160px;color:#303348}
.task-conflict-warning{grid-column:1 / -1;text-align:center;margin-top:10px}
.task-modal-actions .btn:disabled{opacity:.55;cursor:not-allowed}
.student-schedule-empty{font-size:18px;line-height:1.5;text-align:center;padding:38px!important;color:#4b5268}
.student-sub-row input[list],.lead-record-modal input[list],.task-modal-grid input[list]{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:10px 12px;min-height:42px}


/* student-classes-payments12 */
.student-classes-panel,.student-payments-v2{display:grid;gap:18px}
.student-classes-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.student-classes-head h3{font-size:22px;font-weight:500;color:#242842;margin:0}
.student-big-add{width:210px;height:72px;border:1px solid #d8d8e2;background:#fff;border-radius:4px;color:#303083;box-shadow:0 2px 5px rgba(30,30,50,.08);cursor:pointer;transition:background .12s,border-color .12s,box-shadow .12s}
.student-big-add:hover{background:#eef7ff;border-color:#93cfff;box-shadow:0 4px 12px rgba(70,130,200,.16)}
.student-big-add span{display:flex;align-items:center;justify-content:center;gap:12px;font-size:18px;font-weight:600}
.student-big-add b{font-size:30px;line-height:1;font-weight:500}
.student-big-add em{font-style:normal}
.student-prepared-table{background:#fff;border:1px solid #dedfe7;border-radius:2px;overflow:hidden}
.student-prepared-head,.student-prepared-row{display:grid;grid-template-columns:1.2fr .8fr .9fr 1.5fr;align-items:center}
.student-classes-table .student-prepared-head,.student-classes-table .student-prepared-row{grid-template-columns:1.3fr .8fr 1fr .7fr}
.student-prepared-head{height:48px;border-bottom:1px solid #e5e6ee;color:#777;font-size:13px;font-weight:500;background:#fff}
.student-prepared-head span,.student-prepared-row span,.student-prepared-row strong{padding:0 22px;min-width:0}
.student-prepared-row{width:100%;min-height:66px;border:0;border-bottom:1px solid #e8e9f0;background:#fff;text-align:left;color:#303348;cursor:pointer;transition:background .12s}
.student-prepared-row:hover{background:#eef7ff}
.student-prepared-row strong{font-weight:500;color:#303083}
.student-prepared-row span{color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.student-prepared-empty{min-height:170px;display:flex;align-items:center;justify-content:center;color:#777;background:#fff;font-size:17px}
.student-payment-stats{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px}
.student-payment-stats>div{background:#fff;border:1px solid #dedfe7;border-radius:2px;min-height:92px;padding:16px 18px;display:grid;align-content:center;gap:8px}
.student-payment-stats span{color:#777;font-size:14px}
.student-payment-stats strong{font-size:24px;font-weight:500;color:#303083}
.student-payment-filters{display:grid;grid-template-columns:190px 190px 180px 1fr;gap:12px;align-items:end}
.student-payment-filters label{display:grid;gap:6px;color:#777}
.student-payment-filters input,.student-payment-filters select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}
@media(max-width:900px){.student-payment-stats{grid-template-columns:1fr 1fr}.student-payment-filters{grid-template-columns:1fr}.student-prepared-head,.student-prepared-row,.student-classes-table .student-prepared-head,.student-classes-table .student-prepared-row{grid-template-columns:1fr}.student-prepared-head{display:none}.student-prepared-row{gap:4px;padding:14px 0}.student-big-add{width:100%}}


/* classes-schedule-chain13 */
.pp-class-layout{grid-template-columns:1fr!important}
.pp-class-card{position:fixed;right:0;top:0;width:min(620px,96vw);height:100vh;z-index:90;background:#fff;box-shadow:-12px 0 32px rgba(30,30,50,.22);overflow:auto;animation:class-drawer-in .16s ease-out}
.pp-class-drawer-actions{display:flex;align-items:center;gap:8px}
.class-student-picker{grid-column:1 / -1;border:1px solid #dedfe7;background:#fbfbfd;border-radius:4px;padding:14px;display:grid;gap:12px}
.class-student-picker-head{display:flex;align-items:center;justify-content:space-between;color:#777}
.class-student-picker-head strong{color:#303083;font-weight:500}
.class-student-picker input[type=text],.class-student-picker>input{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}
.class-student-checks{max-height:260px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.class-student-checks label,.class-participant-list label,.schedule-drawer-students label{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;border:1px solid #e1e2ea;background:#fff;border-radius:4px;padding:10px 12px;color:#303348}
.class-student-checks label.checked{border-color:#312f83;background:#f4f3ff}
.class-student-checks input,.class-participant-list input,.schedule-drawer-students input{width:18px!important;height:18px!important;min-height:18px!important}
.class-student-empty{padding:16px;color:#777;text-align:center}
.class-participant-panel{display:grid;gap:14px}
.class-participant-count{display:flex;align-items:baseline;gap:10px;color:#777}
.class-participant-count strong{font-size:26px;color:#303083;font-weight:500}
.class-participant-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.pp-class-card .pp-tabs{
  gap:10px;
  flex-wrap:nowrap;
  overflow-x:auto;
  padding-bottom:2px;
}
.pp-class-card .pp-tab{
  flex:0 0 auto;
  background:transparent;
  border-radius:0;
  padding:8px 8px 10px;
  color:var(--text-primary,#211d19);
  white-space:nowrap;
}
.pp-class-card .pp-tab.active{
  background:transparent;
  color:var(--primary,#f45b08);
  box-shadow:inset 0 -2px 0 var(--primary,#f45b08);
  font-weight:600;
}
.class-participants-tab .card{
  overflow:hidden;
}
.class-participant-summary{
  margin:0;
  color:var(--text-secondary,#756e67);
  font-size:14px;
}
.class-participant-list label{
  border-radius:8px!important;
  border-color:var(--border,#e9ddd0)!important;
}
.class-former-participant-list{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
.class-former-participant{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:10px 12px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:8px;
  background:var(--surface-secondary,#faf6ef);
  color:var(--text-secondary,#756e67);
}
.class-participants-edit-btn{
  width:100%;
  min-height:44px;
}
.pp-board-scroll{cursor:grab!important}
.pp-board-scroll.dragging{cursor:grabbing!important}
/* paraplan-tasks21 */
.pp-lesson-chip{cursor:pointer;transition:background .12s,border-color .12s,box-shadow .12s,transform .12s}
.pp-lesson-chip:hover{background:#eef8ff!important;border-color:#83c8f3!important;box-shadow:0 5px 14px rgba(45,164,255,.18);transform:translateY(-1px)}
.schedule-drawer-students{margin-top:18px;display:grid;gap:12px}
.schedule-drawer-students h3{display:flex;align-items:center;gap:8px}
.schedule-drawer-students h3 span{font-size:13px;color:#303083;background:#eef1ff;border-radius:999px;padding:2px 8px}
@keyframes class-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}


/* classes-student-record14 */
.pp-class-toolbar-v2{display:grid!important;grid-template-columns:minmax(260px,340px) 170px 170px 1fr auto;align-items:end;gap:12px}
.pp-class-toolbar-v2 label{display:grid;gap:5px;color:#777;font-size:13px}
.pp-class-toolbar-v2 select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}
.pp-class-add-right{justify-self:end;min-width:138px}
.class-type-block{display:grid;gap:8px}
.class-type-block>span{color:#777;font-size:13px}
.class-type-block>div{display:flex;gap:10px;flex-wrap:wrap}
.class-type-block label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;border:1px solid #d8d8e2;background:#fff;border-radius:4px;padding:10px 14px;color:#303348}
.class-type-block label.active{border-color:#312f83;background:#f4f3ff;color:#312f83}
.class-type-block input{width:18px!important;min-height:18px!important}
.class-student-select{height:46px;border:1px solid #d8d8e2;background:#fff;border-radius:4px;color:#303348;display:flex;align-items:center;justify-content:space-between;padding:0 14px;cursor:pointer}
.class-student-select b{font-size:18px;color:#777}
.class-student-dropdown{border:1px solid #d8d8e2;background:#fff;border-radius:4px;padding:12px;display:grid;gap:10px;box-shadow:0 10px 24px rgba(30,30,50,.12)}
.student-record-backdrop{align-items:center!important;justify-content:center!important}
.student-record-modal{width:min(560px,94vw)!important}
.student-record-modal textarea{resize:vertical}
.student-classes-panel .student-prepared-empty{min-height:230px;font-size:18px}
@media(max-width:900px){.pp-class-toolbar-v2{grid-template-columns:1fr}.pp-class-add-right{justify-self:stretch}}


/* attendance-modal-close15 */
.att-student-row{grid-template-columns:44px minmax(180px,420px) auto!important;justify-content:start;gap:16px!important;padding:8px 0}
.att-student-link{border:0;background:transparent;text-align:left;padding:6px 0;cursor:pointer}
.att-student-link strong{color:#303083!important}
.att-student-link:hover strong{text-decoration:underline}
.att-status-actions{justify-content:flex-end;gap:8px!important}
.att-status-actions button{min-width:92px;min-height:38px;border:1px solid #d8d8e2!important;border-radius:4px!important;background:#fff!important;padding:0 12px!important;color:#303348!important}
.att-status-actions button:hover{background:#eef7ff!important;border-color:#93cfff!important}
.att-status-actions button.active{background:#312f83!important;border-color:#312f83!important;color:#fff!important}
.att-status-select{width:42px!important;min-width:42px!important;height:38px!important;border:1px solid #d8d8e2!important;border-radius:4px!important;background:#fff!important;font-size:14px!important;color:transparent!important}
.att-status-select:hover{background:#eef7ff!important}
@media(max-width:1100px){.att-student-row{grid-template-columns:44px 1fr!important}.att-status-actions{grid-column:2;justify-content:flex-start}}


/* sales-records-settings-v17 */
.sidebar-footer{display:grid!important;grid-template-columns:34px 34px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;min-height:72px!important;flex:0 0 72px!important}
.sidebar-footer .sidebar-toggle{width:34px!important;height:34px!important;transform:none!important}
.sidebar-footer .sidebar-user{display:block!important;min-width:0!important;line-height:34px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.layout-collapsed .sidebar-footer,.layout-collapsed .sidebar:hover .sidebar-footer{grid-template-columns:34px 34px minmax(0,1fr)!important}
.lead-toolbar-paraplan{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin-bottom:22px}
.lead-toolbar-paraplan .toolbar-spacer,.records-toolbar .toolbar-spacer{flex:1 1 auto}
.lead-toolbar-add{min-width:132px;height:42px}
.lead-table-card,.records-table-card,.settings-leads-table{background:#fff;border:1px solid #e0e0e8;border-radius:4px;overflow:hidden}
.lead-table-head,.lead-table-row{display:grid;grid-template-columns:minmax(230px,1.5fr) 180px 150px 150px 170px 52px;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #e8e8ee}
.lead-table-head,.records-table-head,.settings-leads-row.head{color:#777;font-size:13px;background:#fff}
.lead-table-row,.records-table-row{width:100%;border-left:0;border-right:0;border-top:0;background:#fff;text-align:left;color:#303348;cursor:pointer}
.lead-table-row:hover,.lead-table-row.active,.records-table-row:hover,.records-table-row.active{background:#eef7ff}
.lead-table-person{display:flex;align-items:center;gap:12px;min-width:0}
.lead-table-person i{width:34px;height:34px;border:1px solid #aeb0bb;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;color:#777;flex:0 0 auto}
.lead-table-person b{display:grid;gap:3px;min-width:0;font-weight:400}
.lead-table-person strong{font-weight:500;color:#303083;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lead-table-person em{font-style:normal;color:#777;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lead-table-delete{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:4px;color:#777;font-size:18px}
.lead-table-delete:hover{background:#ffecec;color:#d23b32}
.records-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.records-toolbar input,.records-toolbar select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 12px;min-width:135px}
.records-toolbar input:first-child{min-width:170px}
.records-table-head,.records-table-row{display:grid;grid-template-columns:minmax(230px,1.4fr) minmax(180px,1.2fr) 150px 150px minmax(180px,1fr);align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #e8e8ee}
.records-drawer{z-index:75}
.record-edit{padding-top:8px}
.settings-leads{display:grid;gap:16px}
.settings-leads-head{position:relative;padding-right:170px}
.settings-leads-head .btn{position:absolute;right:16px;top:16px}
.settings-leads-row{display:grid;grid-template-columns:minmax(180px,1fr) 150px minmax(220px,1.4fr) 190px;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e8e8ee}
.settings-leads-row:last-child{border-bottom:0}
.settings-leads-actions{display:flex;gap:8px;justify-content:flex-end}
.lead-settings-modal{width:min(520px,96vw)}
@media(max-width:980px){.lead-table-head,.lead-table-row,.records-table-head,.records-table-row,.settings-leads-row{grid-template-columns:1fr}.lead-table-head,.records-table-head{display:none}.lead-toolbar-paraplan .toolbar-spacer,.records-toolbar .toolbar-spacer{display:none}.lead-toolbar-paraplan input,.lead-toolbar-paraplan select,.records-toolbar input,.records-toolbar select{min-width:100%;flex:1 1 100%}}


/* paraplan-records-attendance-v18 */
.side-click-catcher{position:fixed;left:304px;right:min(520px,96vw);top:0;bottom:0;z-index:60;background:transparent}
.layout-collapsed .side-click-catcher{left:88px}
.records-drawer{z-index:75!important}
.records-date-filter{position:relative;display:block}
.records-date-filter>input:first-child{padding-right:42px!important}
.records-date-filter>input[type=date]{position:absolute;inset:0;width:100%;height:42px;opacity:0;cursor:pointer}
.records-date-filter>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#7f8790;pointer-events:none;font-size:18px}
.record-edit .lead-wide textarea{min-height:116px}
.att-bookings-section,.att-teachers-section{margin-top:34px;display:grid;gap:14px}
.att-bookings-section h2,.att-teachers-section h2{font-size:24px;font-weight:500;margin:0 0 4px;color:#272b45}
.att-booking-row,.att-teacher-row{display:grid;grid-template-columns:44px minmax(180px,380px) auto;align-items:center;gap:14px;padding:8px 0}
.att-booking-main{display:grid;gap:4px}
.att-booking-main strong,.att-teacher-row strong{font-weight:500;color:#303348}
.att-booking-main span{color:#777}
.att-booking-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.att-booking-actions button:not(.lead-icon){border:0;background:transparent;color:#555;font-size:15px;cursor:pointer;padding:8px 10px;border-radius:4px}
.att-booking-actions button:not(.lead-icon):hover{background:#eef7ff;color:#303083}
.att-teachers-section select{width:min(450px,100%);height:46px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 14px}
.pp-empty-state.compact{min-height:auto;padding:12px}
@media(max-width:980px){.side-click-catcher{left:0}.att-booking-row,.att-teacher-row{grid-template-columns:44px 1fr}.att-booking-actions{grid-column:2;justify-content:flex-start;flex-wrap:wrap}}


/* paraplan-tasks20 */
.record-person-field{position:relative}
.record-person-combo{position:relative;min-width:0}
.record-person-input-wrap{display:flex;align-items:center;border:1px solid #d8d8e2;border-radius:4px;background:#fff;overflow:hidden}
.record-person-input-wrap input{border:0!important;flex:1 1 auto;min-width:0;height:44px}
.record-person-arrow{width:42px;height:44px;border:0;border-left:1px solid #ececf3;background:#fff;color:#6f7480;font-size:20px;cursor:pointer}
.record-person-arrow:hover{background:#f5f8ff;color:#303083}
.record-person-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:120;background:#fff;border:1px solid #d8d8e2;border-radius:4px;box-shadow:0 14px 32px rgba(30,30,50,.18);max-height:280px;overflow:auto;padding:8px}
.record-person-menu-title{padding:8px 10px;color:#777;font-size:13px}
.record-person-menu button{width:100%;display:grid;gap:3px;text-align:left;border:0;background:#fff;border-radius:4px;padding:10px 12px;cursor:pointer;color:#303348}
.record-person-menu button:hover{background:#eef7ff}
.record-person-menu button strong{font-weight:500;color:#303083}
.record-person-menu button span,.record-person-empty{font-size:13px;color:#777}
.record-person-empty{padding:12px}
.att-booking-row{display:flex!important;align-items:center!important;gap:14px!important;padding:8px 0!important}
.att-booking-main{flex:0 0 360px;max-width:360px}
.att-booking-actions{justify-content:flex-start!important;gap:16px!important;margin-left:8px}
.att-booking-canceled{color:#777;font-size:15px;padding:8px 10px}
@media(max-width:980px){.att-booking-row{flex-wrap:wrap}.att-booking-main{flex:1 1 220px}.att-booking-actions{margin-left:58px;flex:1 1 100%}}

/* paraplan-tasks22 */

/* paraplan-tasks23 */
.pp-board-scroll.dragging .pp-time-grid{will-change:transform}
.att-status-actions{gap:0!important}
.att-status-actions button{
  min-width:auto!important;
  min-height:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:4px 14px!important;
  color:#555!important;
  font-size:15px!important;
  font-weight:400!important;
  cursor:pointer;
  border-right:1px solid #d8d8e2!important;
}

/* paraplan-tasks49 stable task table text */
.tasks-table-card .ui-table {
  table-layout: fixed !important;
  width: 100% !important;
}
.tasks-table-card .ui-table th,
.tasks-table-card .ui-table td {
  overflow: hidden !important;
  min-width: 0 !important;
}
.tasks-table-card .ui-table th:nth-child(1),
.tasks-table-card .ui-table td:nth-child(1) {
  width: 36% !important;
}
.tasks-table-card .ui-table th:nth-child(2),
.tasks-table-card .ui-table td:nth-child(2) {
  width: 10% !important;
}
.tasks-table-card .ui-table th:nth-child(3),
.tasks-table-card .ui-table td:nth-child(3) {
  width: 12% !important;
}
.tasks-table-card .ui-table th:nth-child(4),
.tasks-table-card .ui-table td:nth-child(4) {
  width: 10% !important;
}
.tasks-table-card .ui-table th:nth-child(5),
.tasks-table-card .ui-table td:nth-child(5) {
  width: 13% !important;
}
.tasks-table-card .ui-table th:nth-child(6),
.tasks-table-card .ui-table td:nth-child(6) {
  width: 10% !important;
}
.tasks-table-card .ui-table th:nth-child(7),
.tasks-table-card .ui-table td:nth-child(7) {
  width: 9% !important;
}
.tasks-table-card .task-title-cell {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.tasks-table-card .task-title-cell strong {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.tasks-table-card .task-title-cell span {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
}
@media(max-width:980px){
  .tasks-table-card .ui-table {
    min-width: 900px !important;
  }
}
.att-status-actions button:hover{background:transparent!important;color:#303083!important}
.att-current-status{display:inline-flex;align-items:center;gap:6px;color:#555;font-size:15px;padding:4px 12px 4px 0;border-right:1px solid #d8d8e2}
.att-current-status i{width:10px;height:10px;border-radius:50%;background:#48d783;display:inline-block}
.att-current-status.miss i{background:#ef4f6f}
.att-status-select{cursor:pointer;margin-left:8px}
.att-booking-confirmed{color:#777;font-size:15px;padding:8px 10px}

/* paraplan-tasks24 */
.att-status-select{
  color:#303348!important;
  background-color:#fff!important;
}
.att-status-select option{
  color:#303348!important;
  background:#fff!important;
}
.student-att-filters{
  display:grid;
  grid-template-columns:minmax(220px,1.2fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(170px,.8fr) minmax(170px,.8fr);
  gap:24px;
  align-items:end;
  margin:22px 0;
}
.student-att-filters label{display:grid;gap:8px;color:#777;font-size:14px}
.student-att-filters select,.student-att-filters input{height:42px;border:0;border-bottom:1px solid #d8d8e2;background:#fff;padding:0 8px;color:#303348}
.student-att-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:22px;align-items:start}
.student-att-table .student-prepared-head,.student-att-table .student-prepared-row{grid-template-columns:1.2fr .9fr .8fr .9fr 1fr 1.2fr}
.student-prepared-row.active{background:#eef7ff}
.student-att-status-edit{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.student-att-status-label{display:inline-flex;align-items:center;gap:7px;color:#555}
.student-att-status-label i{width:10px;height:10px;border-radius:50%;background:#48d783;display:inline-block}
.student-att-status-label.miss i{background:#ef4f6f}
.student-att-status-edit select{width:26px;border:0;background:#fff;color:#303348;cursor:pointer}
.student-att-status-edit select option{color:#303348;background:#fff}
.student-att-detail{background:#fff;border:1px solid #dedfe7;padding:18px;display:grid;gap:12px}
.student-att-detail>div:first-child{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eeeef3;padding-bottom:10px}
.student-att-detail h3{font-size:22px;font-weight:500;color:#272b45;margin:0}
@media(max-width:1100px){.student-att-filters,.student-att-layout{grid-template-columns:1fr}.student-att-table .student-prepared-head,.student-att-table .student-prepared-row{grid-template-columns:1fr}}

/* paraplan-tasks25 */
.att-payment-paid{color:#38b76a!important;font-weight:600}
.att-status-menu-wrap{position:relative;display:inline-flex;align-items:center;margin-left:8px}
.att-status-arrow{width:34px!important;min-width:34px!important;height:30px!important;border:0!important;background:#fff!important;color:#303348!important;border-radius:3px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.att-status-arrow:hover{background:#eef7ff!important}
.att-status-menu{position:absolute;right:0;top:34px;z-index:30;min-width:210px;max-height:260px;overflow:auto;background:#fff;border:1px solid #d8d8e2;border-radius:4px;box-shadow:0 8px 24px rgba(28,30,50,.16);padding:8px 0}
.att-status-menu button{width:100%;height:42px;border:0!important;background:#fff!important;color:#303348!important;text-align:left;display:flex!important;align-items:center!important;gap:8px!important;padding:0 16px!important;font-size:14px!important}
.att-status-menu button:hover{background:#eef7ff!important}
.att-status-menu i{width:10px;height:10px;border-radius:50%;display:inline-block}
.att-current-status{color:#555!important}
.att-current-status.miss i,.student-att-status-label.miss i{background:inherit}
.student-att-status-label i{background:#38b76a}

/* paraplan-tasks26 */
.class-search-select{position:relative;width:100%}
.class-search-input-wrap{display:flex;align-items:center;border:1px solid #d8d8e2;border-radius:4px;background:#fff;overflow:hidden}
.class-search-input-wrap input{height:44px;border:0!important;box-shadow:none!important;flex:1;min-width:0;background:#fff;color:#303348}
.class-search-input-wrap button{width:42px;height:44px;border:0;border-left:1px solid #ececf3;background:#fff;color:#303348;font-size:18px;cursor:pointer}
.class-search-input-wrap button:hover{background:#eef7ff;color:#303083}
.class-search-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:220;background:#fff;border:1px solid #d8d8e2;border-radius:4px;box-shadow:0 14px 32px rgba(30,30,50,.18);max-height:280px;overflow:auto;padding:8px}
.class-search-menu button{width:100%;border:0;background:#fff;color:#303348;text-align:left;border-radius:4px;padding:10px 12px;cursor:pointer;font-weight:500}
.class-search-menu button:hover{background:#eef7ff;color:#303083}
.class-search-empty{padding:12px;color:#777}
.student-classes-table .student-prepared-head,.student-classes-table .student-prepared-row{grid-template-columns:1.3fr .75fr 1fr .7fr 120px}
.student-class-row{position:relative}
.student-class-actions{text-align:right}
.student-class-actions em{font-style:normal;color:#303083;opacity:0;cursor:pointer;padding:8px 0}
.student-class-row:hover .student-class-actions em{opacity:1}
.student-class-actions em:hover{text-decoration:underline}
.student-class-info-drawer,.booking-info-drawer{z-index:180}
.student-class-detach{margin-top:22px;width:100%}
.student-att-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px;align-items:start}
.student-att-layout:has(.student-att-detail){grid-template-columns:minmax(0,1fr) minmax(260px,340px)!important}
.student-att-table{width:100%}
.student-att-table .student-prepared-head,.student-att-table .student-prepared-row{grid-template-columns:minmax(180px,1.35fr) minmax(160px,1fr) minmax(120px,.8fr) minmax(130px,.9fr) minmax(120px,.8fr) minmax(150px,1fr)!important}
.student-att-table .student-prepared-row span,.student-att-table .student-prepared-row strong{overflow:hidden;text-overflow:ellipsis}
.student-att-status-edit{min-width:0}
.student-att-status-edit select{flex:0 0 28px}
.lead-booking-confirm-card{max-width:760px}
.lead-booking-confirm-body{display:grid;gap:18px;padding:28px 0 20px}
.lead-booking-confirm-body p{margin:0;text-align:left;font-size:17px}
.lead-booking-option{display:flex;align-items:center;gap:12px;color:#242842;font-size:16px}
.lead-booking-option input[type=checkbox]{width:20px;height:20px}
.lead-booking-option select{height:36px;border:0;border-bottom:1px solid #d8d8e2;background:#fff;color:#303083;padding:0 28px 0 4px}
.lead-booking-option select:disabled{opacity:.55}
.lead-record-modal .class-search-menu{z-index:260}
@media(max-width:900px){.student-att-layout:has(.student-att-detail),.student-att-table .student-prepared-head,.student-att-table .student-prepared-row,.student-classes-table .student-prepared-head,.student-classes-table .student-prepared-row{grid-template-columns:1fr!important}.student-class-actions{text-align:left}.student-class-actions em{opacity:1}}

.schedule-drawer-students-plain>div{display:grid;gap:8px}
.schedule-student-name{border:1px solid #e1e2ea;background:#fff;border-radius:4px;padding:10px 12px;color:#303348}
.subscription-days label.disabled{opacity:.42;background:#f1f2f6;color:#999;border-style:dashed}
.subscription-days label.disabled input{cursor:not-allowed}
.student-classes-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.student-classes-head .student-big-add{min-width:320px!important;max-width:100%!important;flex:none!important;white-space:nowrap}
.student-classes-head .student-big-add span{flex-wrap:nowrap!important;white-space:nowrap}
.student-classes-table .student-prepared-head,.student-classes-table .student-prepared-row{grid-template-columns:minmax(170px,1.2fr) .65fr minmax(120px,.9fr) .65fr minmax(120px,.85fr) 112px!important}

.payment-modal-backdrop{align-items:center!important;justify-content:center!important;z-index:6000!important}
.payment-purpose>div{display:grid!important;grid-template-columns:max-content max-content;align-items:center;column-gap:24px;row-gap:10px}
.payment-purpose>div>select,.payment-purpose>div>input:not([type]),.payment-purpose>div>input[type=text]{grid-column:1 / -1;width:100%}
.payment-purpose label{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:8px;margin:0;color:#303348}
.payment-purpose input[type=radio]{width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;border:1px solid #bfc1cf!important;box-shadow:none!important;accent-color:#303083}

/* attendance-student-photo-v34 */
.att-empty-detail{background:#f3f6fb!important;border:0!important;box-shadow:none!important}
.att-student-row{grid-template-columns:44px minmax(170px,330px) max-content!important;width:max-content;max-width:100%;justify-content:start!important}
.att-avatar-button{border:1px solid #aeb0bb!important;cursor:pointer;padding:0!important;overflow:hidden}
.att-avatar-button:hover{box-shadow:0 0 0 3px rgba(54,168,255,.16);border-color:#36a8ff!important}
.att-avatar img,.student-big-avatar img,.student-side-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.att-status-actions{justify-content:flex-start!important;gap:0!important;margin-left:2px!important}
.att-status-actions button{min-width:auto!important;min-height:auto!important;border:0!important;border-radius:0!important;background:transparent!important;padding:6px 12px!important;color:#555!important;font-size:15px!important}
.att-status-actions button+button,.att-status-menu-wrap{border-left:1px solid #d8d8e2}
.att-status-actions button:hover{background:transparent!important;color:#303083!important}
.att-status-arrow{background:transparent!important}
.student-side-avatar-upload{position:relative;cursor:pointer;overflow:hidden;background:#fff}
.student-side-avatar-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.student-side-avatar-upload b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(49,47,131,.72);color:#fff;font-size:14px;font-weight:600;opacity:0;transition:opacity .15s ease}
.student-side-avatar-upload:hover b{opacity:1}
.student-side-avatar-upload:hover{box-shadow:0 0 0 4px rgba(49,47,131,.12)}

/* paraplan-tasks27 */
.pp-class-modal-paraplan{width:min(560px,96vw);padding:24px 36px 90px;gap:18px}
.pp-class-modal-paraplan .pp-modal-head{border-bottom:0;margin-bottom:4px}
.class-drawer-head h2{font-size:18px;font-weight:500;color:#777}
.class-drawer-row{display:grid!important;grid-template-columns:118px minmax(0,1fr);gap:16px;align-items:center;margin:0}
.class-drawer-row>span,.class-drawer-section-title{color:#777;font-size:15px;font-weight:400}
.class-drawer-row input,.class-drawer-row select,.class-drawer-row textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348}
.class-drawer-row textarea{min-height:120px;resize:vertical}
.class-drawer-row-tall{align-items:start}
.class-drawer-type>div{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.class-drawer-type label{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;border:0!important;background:transparent!important;padding:0!important;color:#777}
.class-drawer-type label.active{color:#303083}
.class-drawer-type input{width:22px!important;height:22px!important;min-height:22px!important;accent-color:#302f83}
.class-color-select{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:10px;align-items:center}
.class-color-select i{width:18px;height:18px;border-radius:50%;display:inline-block;box-shadow:0 0 0 1px #d8d8e2}
.class-drawer-section-title{margin:18px 0 0}
.pp-class-modal-paraplan .class-student-picker{border:0;background:transparent;padding:0}
.class-drawer-control{min-width:0}
.pp-class-modal-paraplan .class-student-select{width:100%}
.pp-class-modal-paraplan .class-student-dropdown{position:relative;margin-top:8px;z-index:4}
.class-drawer-actions{position:sticky;bottom:-90px;background:#fff;margin:16px -36px -90px;padding:18px 36px;justify-content:center}
.class-drawer-actions .btn{min-width:150px;height:46px}
@media(max-width:700px){.class-drawer-row{grid-template-columns:1fr;gap:7px}.pp-class-modal-paraplan{padding:20px 18px 86px}.class-drawer-actions{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}}

/* paraplan-tasks29 */
.pp-lesson-chip{text-decoration:none;display:block}

/* paraplan-tasks31 */
.att-layout{grid-template-columns:390px minmax(0,1fr);gap:42px}
.att-lessons{box-shadow:0 2px 5px rgba(24,28,45,.06)}
.att-lesson{cursor:pointer;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease}
.att-lesson:hover{background:#f7fbff;box-shadow:inset 3px 0 0 #36a8ff}
.att-lesson:hover .att-lesson-main strong{color:#303083}
.att-lesson.active{background:#fff;outline:1px solid #312f83;box-shadow:inset 3px 0 0 #312f83}
.att-detail{min-height:560px;padding-top:2px}
.att-empty-detail{min-height:520px;background:#fff;border:1px solid #e0e1ea;box-shadow:0 2px 6px rgba(24,28,45,.04)}
.att-title-row{align-items:flex-start;border-bottom:1px solid #e5e6ee;padding-bottom:18px;margin-bottom:22px}
.att-title-row h2{letter-spacing:0;font-weight:500;margin:0 0 4px}
.att-tools{border-bottom:1px solid #e8e9f0;padding-bottom:22px}
.att-student-row,.att-booking-row,.att-teacher-row{border-radius:4px;padding:8px 10px;transition:background .14s ease}
.att-student-row:hover,.att-booking-row:hover,.att-teacher-row:hover{background:#f7fbff}
.att-status-actions button:hover,.att-booking-actions button:hover{color:#303083}
@media(max-width:1100px){.att-layout{grid-template-columns:1fr;gap:22px}.att-empty-detail{min-height:240px}}

/* paraplan-tasks32 */
.lead-drawer-backdrop{background:rgba(20,22,35,.10);z-index:95}
.lead-drawer-backdrop .lead-drawer{z-index:auto}

/* lead-profile-history-v35 */
.lead-record-backdrop{z-index:6100!important;align-items:center!important;justify-content:center!important}
.lead-profile-screen{padding:0!important;background:#f3f4f8;min-height:100vh}
.lead-profile-screen>.topbar{padding:18px 32px 8px;background:#fff}
.lead-profile-head{position:relative;display:grid;grid-template-columns:70px 82px minmax(0,1fr);gap:18px;align-items:center;background:#fff;padding:18px 32px 22px;border-bottom:1px solid #e4e5ec}
.lead-profile-back{width:34px;height:34px;border:0;background:#fff;color:#777;font-size:32px;cursor:pointer}
.lead-profile-back:hover{color:#303083}
.lead-profile-avatar{width:82px;height:82px;border:1px solid #aeb0bb;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#858a91;font-size:46px;background:#fff;overflow:hidden}
.lead-profile-avatar img{width:100%;height:100%;object-fit:cover}
.lead-profile-person h1{font-size:22px;font-weight:500;color:#242842;margin:0}
.lead-profile-person p{margin:6px 0 0;color:#555}
.lead-profile-screen .pp-tabs{justify-content:center;background:#fff;padding:0 24px 18px;margin:0;border-bottom:1px solid #e5e6ee}
.lead-history-wrap{padding:34px 34px 92px}
.lead-history-list{display:grid;gap:12px}
.lead-history-card{background:#fff;border:1px solid #ebecf2;border-radius:6px;box-shadow:0 3px 10px rgba(28,32,48,.07);padding:24px 28px;color:#303348}
.lead-history-title{display:flex;align-items:center;gap:10px;font-size:16px}
.lead-history-title b{font-size:26px;color:#858a91;line-height:1}
.lead-history-title strong{font-weight:500;color:#33374d}
.lead-history-title span{display:inline-flex;align-items:center;border:1px solid #2da4ff;color:#258ee8;border-radius:999px;padding:4px 10px;font-size:14px;background:#fff}
.lead-history-card.record .lead-history-title span{background:#2da4ff;color:#fff;border-color:#2da4ff}
.lead-history-card p{margin:12px 0 0 54px;color:#44495d;line-height:1.45}
.lead-history-meta{display:flex;align-items:center;gap:16px;margin:14px 0 0 54px;color:#777}
.lead-history-meta em{font-style:normal;font-size:13px}
.lead-comment-bar{position:fixed;left:var(--sidebar-width, 300px);right:0;bottom:0;background:#f3f4f8;padding:14px 32px 18px;border-top:1px solid #dfe1e9;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
.lead-comment-bar input{height:46px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 14px;color:#303348}
.lead-chat-empty{margin:34px;background:#fff;border:1px solid #e5e6ee;border-radius:6px;padding:42px;text-align:center;color:#777}
.layout-collapsed .lead-comment-bar{left:var(--sidebar-collapsed-width, 84px)}
@media(max-width:900px){.lead-profile-head{grid-template-columns:40px 64px 1fr;padding:16px}.lead-profile-avatar{width:64px;height:64px;font-size:36px}.lead-history-wrap{padding:20px 16px 104px}.lead-comment-bar{left:0;grid-template-columns:1fr;padding:12px 16px 74px}.lead-history-card p,.lead-history-meta{margin-left:0}}


/* paraplan-tasks36 */
.lead-profile-screen>.topbar p,.lead-profile-screen>.topbar .top-subtitle{display:none!important}
.lead-profile-screen>.topbar{padding:18px 28px 0!important}
.lead-profile-head{grid-template-columns:36px 82px minmax(0,1fr) auto!important;gap:14px!important;padding:16px 32px 20px!important}
.lead-profile-back{font-size:30px!important;line-height:1!important}
.lead-profile-avatar-upload{position:relative;cursor:pointer}
.lead-profile-avatar-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.lead-profile-avatar-upload b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(49,47,131,.72);color:#fff;font-size:13px;font-weight:600;opacity:0;transition:opacity .15s ease}
.lead-profile-avatar-upload:hover b{opacity:1}
.lead-profile-name{border:0;background:transparent;padding:0;margin:0;font-size:24px;line-height:1.2;font-weight:500;color:#242842;cursor:pointer;text-align:left}
.lead-profile-name:hover,.lead-profile-phone:hover{color:#303083}
.lead-profile-phone{border:0;background:transparent;padding:0;margin:6px 0 0;color:#555;cursor:pointer;text-align:left}
.lead-profile-screen .pp-tabs{justify-content:center;background:#fff;padding:0 24px 18px!important;margin:0!important;border-bottom:1px solid #e5e6ee}
.lead-profile-screen .pp-tabs button{border:0!important;background:transparent!important;border-radius:0!important;color:#777!important;font-size:16px!important;padding:12px 18px!important}
.lead-profile-screen .pp-tabs button.active{color:#3432b8!important;box-shadow:none!important}
.student-big-avatar-button{border:1px solid #aeb0bb!important;cursor:pointer}
.student-big-avatar-button:hover{box-shadow:0 0 0 4px rgba(49,47,131,.1)}
.student-edit-avatar{margin-bottom:14px!important}
.student-class-actions em{opacity:1!important;color:#303083!important;font-weight:500}
.student-big-add em{font-style:normal}
@media(max-width:900px){.lead-profile-head{grid-template-columns:34px 64px 1fr!important}.lead-profile-avatar{width:64px!important;height:64px!important}.lead-profile-name{font-size:20px!important}}


/* paraplan-tasks37 */
.pp-class-toolbar-v2{grid-template-columns:minmax(220px,420px) 120px 150px minmax(20px,1fr) auto auto!important}
.pp-class-template-add{height:42px;white-space:nowrap;background:#fff;color:#303083;border-color:#d8d8e2}
.pp-class-add-right{height:42px;white-space:nowrap}
.pp-class-list{border-color:#e4e5ec!important}
.pp-class-table-head,.pp-class-row{border-bottom:1px solid #e8e9f0!important}
.pp-class-row{box-shadow:none!important}
.pp-class-row:before,.pp-class-row:after{display:none!important}
.class-info-backdrop{position:fixed!important;inset:0!important;z-index:150!important;background:rgba(19,20,34,.18)!important;display:flex!important;justify-content:flex-end!important}
.class-info-backdrop .pp-class-card{width:min(560px,96vw)!important;height:100vh!important;overflow:auto!important;border-radius:0!important;border:0!important;margin:0!important;box-shadow:-14px 0 34px rgba(30,30,50,.22)!important;padding:20px 30px 34px!important}
.template-modal-backdrop{align-items:center;justify-content:center;background:rgba(49,47,131,.45)}
.template-modal{width:min(760px,calc(100vw - 80px))!important;max-height:calc(100vh - 64px);overflow:auto;border-radius:0!important;padding:34px 42px!important}
.template-modal .pp-modal-head{border-bottom:1px solid #e1e2e8;padding-bottom:16px;margin-bottom:24px}
.template-modal h2{font-size:25px;font-weight:500;color:#242842}
.template-row{display:grid!important;grid-template-columns:130px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:18px;color:#6f737b}
.template-row>span{font-size:15px;color:#6f737b}
.template-row input,.template-row select{width:100%;min-height:47px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#252842;padding:0 14px;font-size:15px}
.template-pick{border:1px solid #d8d8e2;background:#fff;display:grid;gap:8px;padding:12px}
.template-pick>input{min-height:40px}
.template-check-all,.template-class-list label,.template-checkbox-row label,.template-type-row label{display:flex;align-items:center;gap:10px;color:#303348}
.template-check-all input,.template-class-list input,.template-checkbox-row input,.template-type-row input{width:18px;min-height:18px}
.template-class-list{max-height:180px;overflow:auto;display:grid;gap:8px;padding-top:4px}
.template-type-row>div{display:flex;gap:44px}
.template-period-row>div{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.template-footer{border-top:1px solid #e1e2e8;padding-top:24px;margin-top:18px;display:flex;justify-content:center}
.template-footer .btn{min-width:185px;height:48px}
@media(max-width:900px){.pp-class-toolbar-v2{grid-template-columns:1fr!important}.template-modal{width:100vw!important;height:100vh;max-height:100vh}.template-row{grid-template-columns:1fr;gap:7px}.template-period-row>div{grid-template-columns:1fr}}


/* paraplan-tasks38 */
.pp-class-table-head,.pp-class-row{border-color:#eef0f6!important;color:#303348!important}
.pp-class-list,.pp-class-row,.pp-class-table-head{background:#fff!important}
.pp-class-row{border-left:0!important;border-right:0!important;border-top:0!important;outline:0!important}
.pp-class-row.active,.pp-class-row:hover{background:#f4f9ff!important;border-left:0!important;box-shadow:inset 3px 0 #8bc7ff!important}
.pp-class-toolbar-v2{grid-template-columns:minmax(220px,420px) 120px 150px minmax(20px,1fr) auto auto auto!important}
.pp-class-active-templates{height:42px;white-space:nowrap;background:#fff;color:#303083;border-color:#d8d8e2}
.template-modal{width:min(750px,calc(100vw - 80px))!important;padding:36px 42px!important;gap:0!important}
.template-row{grid-template-columns:96px minmax(0,1fr)!important;margin-bottom:22px!important}
.template-clear-input{position:relative}
.template-clear-input input{padding-right:42px!important}
.template-clear-input button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;background:transparent;color:#8a9098;font-size:20px;cursor:pointer}
.template-combo{position:relative}
.template-combo-trigger{width:100%;height:47px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#142238;display:grid;grid-template-columns:1fr 28px 24px;align-items:center;text-align:left;padding:0 12px;font-size:15px}
.template-combo-trigger.active{border-color:#302f83;box-shadow:0 0 0 1px #302f83}
.template-combo-trigger b,.template-combo-trigger em{font-style:normal;color:#8a9098;text-align:center}
.template-combo-trigger em{font-size:20px}
.template-dropdown{position:absolute;left:0;right:0;top:54px;z-index:20;background:#fff;border:1px solid #d8d8e2;border-radius:4px;box-shadow:0 8px 20px rgba(30,30,50,.13);padding:14px 18px 16px}
.template-dropdown>input{height:47px;margin-bottom:14px}
.template-select-all{border:0;background:transparent;color:#777;font-weight:600;padding:8px 0 12px 26px;text-align:left;cursor:pointer}
.template-dropdown-list{max-height:220px;overflow:auto;display:grid;gap:2px}
.template-dropdown-list button{height:44px;border:0;background:#fff;display:grid;grid-template-columns:28px 1fr;align-items:center;text-align:left;color:#777;font-size:15px;cursor:pointer}
.template-dropdown-list button.checked{color:#302f83}
.template-dropdown-list button:hover{background:#f7f8fc}
.template-dropdown-list button span{font-size:20px;color:#302f83}
.template-selected-list{margin-top:14px;display:grid;gap:14px}
.template-selected-list div{display:grid;grid-template-columns:minmax(0,1fr) 110px 130px;gap:14px;align-items:center;color:#777}
.template-selected-list strong{font-weight:600;color:#6a6f78}
.template-selected-list span:last-child{border-bottom:1px solid #d8d8e2;padding-bottom:8px}
.template-type-row>div{justify-content:space-between;max-width:420px}
.template-checkbox-row{align-items:start!important}
.template-checkbox-row>label{min-height:42px}
.template-footer{gap:14px}
.active-templates-backdrop{align-items:center;justify-content:center;background:rgba(49,47,131,.45)}
.active-templates-modal{width:min(980px,calc(100vw - 80px))!important;max-height:calc(100vh - 70px);overflow:auto;border-radius:0!important;padding:32px 38px!important}
.active-template-table{border:1px solid #e3e4ec;background:#fff;overflow:auto}
.active-template-row{display:grid;grid-template-columns:1.1fr .8fr .7fr 1.6fr 1fr;gap:14px;align-items:center;min-height:58px;padding:0 18px;border-bottom:1px solid #ececf2;color:#4b4f5e}
.active-template-row.head{min-height:44px;color:#777;font-size:13px;background:#fbfbfd}
.active-template-row strong{font-weight:500;color:#242842}
@media(max-width:900px){.pp-class-toolbar-v2{grid-template-columns:1fr!important}.template-row{grid-template-columns:1fr!important}.template-dropdown{position:relative;top:auto;margin-top:8px}.template-selected-list div,.active-template-row{grid-template-columns:1fr}.active-template-row.head{display:none}}


/* teacher-profile-screen-v40 */
.teacher-profile-screen{padding:0!important;background:#f3f4f8;min-height:100vh}
.teacher-profile-top{padding:12px 28px 0;background:#fff}
.teacher-profile-head{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:18px;align-items:center;background:#fff;padding:16px 30px 22px;border-bottom:1px solid #e5e6ee;box-shadow:0 3px 12px rgba(30,30,50,.06)}
.teacher-profile-avatar{width:82px;height:82px;border:1px solid #aeb0bb;border-radius:50%;background:#fff;color:#858a91;font-size:48px;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer}
.teacher-profile-avatar img{width:100%;height:100%;object-fit:cover}
.teacher-profile-name-line{display:flex;align-items:center;gap:10px}
.teacher-profile-name-line h1{margin:0;font-size:22px;font-weight:500;color:#242842}
.teacher-profile-person p{margin:6px 0 0;color:#555}
.teacher-profile-state{align-self:start;color:#555}
.teacher-profile-state span{display:flex;align-items:center;gap:7px}
.teacher-profile-state i{width:10px;height:10px;border-radius:50%;display:inline-block}
.teacher-profile-state i.green{background:#42cf75}
.teacher-profile-state i.gray{background:#9aa0a7}
.teacher-profile-screen .pp-tabs{justify-content:center;background:#fff;padding:0 24px 18px!important;margin:0!important;border-bottom:1px solid #e5e6ee}
.teacher-profile-screen .pp-tabs button{border:0!important;background:transparent!important;border-radius:0!important;color:#777!important;font-size:16px!important;padding:12px 18px!important}
.teacher-profile-screen .pp-tabs button.active{color:#3432b8!important}
.teacher-profile-body{padding:32px;min-height:calc(100vh - 245px)}
.teacher-class-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,380px));gap:30px}
.teacher-attach-tile{height:380px;border:1px dashed #cfd2da;background:#fff;color:#777;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;box-shadow:0 2px 6px rgba(30,30,50,.04);cursor:pointer}
.teacher-attach-tile:hover{background:#f9fbff;border-color:#302f83;color:#302f83}
.teacher-attach-tile span{font-size:48px;line-height:1;color:#302f83}
.teacher-attach-tile strong{font-size:16px;font-weight:500}
.teacher-class-card{height:380px;background:#fff;border:1px solid #e3e4ec;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;box-shadow:0 2px 7px rgba(30,30,50,.05)}
.teacher-class-card h2{font-size:24px;font-weight:500;color:#242842;margin:0 0 8px}
.teacher-class-card p{color:#777;margin:0}
.teacher-class-count{margin:54px 0 48px;display:flex;align-items:center;justify-content:center;gap:12px;color:#302f83}
.teacher-class-count span{font-size:32px;color:#d2d2d8}
.teacher-class-count strong{font-size:54px;font-weight:400}
.teacher-class-actions{display:flex;gap:12px;justify-content:center}
.teacher-profile-schedule-bar{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.teacher-profile-schedule-grid{display:grid;grid-template-columns:76px repeat(7,minmax(130px,1fr));background:#fff;border:1px solid #e0e1e8;overflow:auto}
.teacher-schedule-corner,.teacher-schedule-day,.teacher-schedule-time,.teacher-schedule-slot{min-height:58px;border-right:1px solid #eeeef3;border-bottom:1px solid #eeeef3}
.teacher-schedule-day,.teacher-schedule-time,.teacher-schedule-corner{display:flex;align-items:center;justify-content:center;color:#777;background:#fbfbfd}
.teacher-schedule-slot{padding:6px;background:#fff}
.teacher-schedule-card{width:100%;border:1px solid #d8d8e2;border-left:4px solid #302f83;background:#fff;text-align:left;border-radius:4px;padding:8px;color:#303348}
.teacher-schedule-card:hover{background:#f7fbff}
.teacher-schedule-card strong,.teacher-schedule-card span{display:block}
.teacher-schedule-card span{font-size:12px;color:#777;margin-top:4px}
.teacher-rates-fields{background:#fff;border:1px solid #e3e4ec;padding:24px}
.teacher-attach-modal{width:min(560px,96vw)!important}
@media(max-width:760px){.teacher-profile-head{grid-template-columns:64px 1fr}.teacher-profile-state{grid-column:1 / -1}.teacher-profile-avatar{width:64px;height:64px;font-size:36px}.teacher-profile-body{padding:20px 14px}.teacher-class-grid{grid-template-columns:1fr}.teacher-attach-tile,.teacher-class-card{height:300px}.teacher-profile-schedule-grid{min-width:900px}}


/* teacher-profile-v42 */
.teacher-attach-backdrop,.teacher-center-backdrop{align-items:center!important;justify-content:center!important}
.teacher-attach-modal,.teacher-pay-modal{width:min(760px,94vw)!important;box-shadow:0 18px 50px rgba(30,30,50,.22)!important}
.teacher-attach-modal .pp-modal-head,.teacher-pay-modal .pp-modal-head{border-bottom:1px solid #e1e2e8;padding-bottom:16px}
.teacher-centered-actions{justify-content:center!important}
.teacher-combo-row{display:grid!important;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:center}
.teacher-combo{position:relative}
.teacher-combo-control{width:100%;height:48px;border:1px solid #d8d8e2;background:#fff;border-radius:4px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;color:#303348;text-align:left}
.teacher-combo-control.active{border-color:#312f83}
.teacher-combo-control b{font-style:normal;color:#8a8f97}
.teacher-combo-control i{font-style:normal;color:#8a8f97}
.teacher-combo-menu{position:absolute;z-index:12;left:0;right:0;top:52px;background:#fff;border:1px solid #d8d8e2;box-shadow:0 8px 22px rgba(30,30,50,.12);padding:12px;max-height:310px;overflow:auto}
.teacher-combo-menu input{width:100%;margin-bottom:10px}
.teacher-combo-options{display:flex;flex-direction:column;gap:2px}
.teacher-combo-options button{border:0;background:#fff;text-align:left;padding:10px 12px;color:#303348;border-radius:3px}
.teacher-combo-options button:hover{background:#f3f6ff;color:#302f83}
.teacher-schedule-filters select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 12px;min-width:140px}
.teacher-schedule-scroll{overflow:auto;cursor:grab;background:#fff;border:1px solid #e0e1e8}
.teacher-schedule-scroll.dragging{cursor:grabbing;scroll-behavior:auto}
.teacher-profile-schedule-wide{grid-template-columns:76px repeat(var(--teacher-days),minmax(132px,1fr));min-width:1980px;border:0}
.teacher-profile-schedule-wide .teacher-schedule-day{flex-direction:column;gap:2px}
.teacher-profile-schedule-wide .teacher-schedule-day strong{font-size:14px;color:#303348}
.teacher-profile-schedule-wide .teacher-schedule-day span{font-size:12px;color:#777}
.teacher-finance-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.teacher-finance-toolbar label{display:flex;flex-direction:column;gap:6px;color:#777}
.teacher-finance-toolbar input,.teacher-finance-toolbar select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:0 12px;color:#303348}
.teacher-finance-toolbar strong{margin-left:auto;color:#242842;font-size:16px}
.teacher-split-actions{display:flex;align-items:center;gap:8px;color:#777}
.teacher-data-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e4e5ed}
.teacher-data-table th{height:52px;text-align:left;color:#777;font-weight:500;padding:0 26px;border-bottom:1px solid #e6e7ef}
.teacher-data-table td{height:72px;padding:0 26px;border-bottom:1px solid #ececf2;color:#444}
.teacher-data-table tbody tr:hover{background:#f7fbff}
.teacher-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.teacher-table-headline{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}
.teacher-table-headline h2{margin:0;font-size:22px;font-weight:500;color:#242842}
.teacher-salary-line{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e4e5ed;padding:18px;margin-bottom:20px}
.teacher-salary-line input{height:42px;border:1px solid #d8d8e2;border-radius:4px;padding:0 12px}


/* paraplan-tasks43 */
.teacher-attach-backdrop{padding:24px!important;overflow:auto!important}
.teacher-attach-modal{width:min(740px,calc(100vw - 48px))!important;max-height:calc(100vh - 48px)!important;overflow:visible!important}
.teacher-combo{overflow:visible!important}
.teacher-combo-menu{position:static!important;left:auto!important;right:auto!important;top:auto!important;margin-top:8px!important;max-height:260px!important;z-index:30!important}
.teacher-schedule-filters select,.student-toolbar-v2 select{appearance:auto!important;-webkit-appearance:auto!important;background-color:#fff!important;padding-right:30px!important}
.teacher-schedule-filters{gap:10px;flex-wrap:wrap}
.teacher-table td{vertical-align:middle!important}
.teacher-table select{display:block;margin:0;line-height:34px}
.teacher-actions-cell{text-align:center!important;vertical-align:middle!important}
.student-form-actions .student-save,.student-form-actions .student-save-secondary{background:#fff!important;color:#303083!important;border:1px solid #d8d8e2!important;box-shadow:0 2px 6px rgba(30,30,50,.08)!important;font-weight:600!important}
.student-form-actions .student-save:hover,.student-form-actions .student-save-secondary:hover{border-color:#302f83!important;background:#f8fbff!important}
.age-range-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.age-range-label input{width:100%}


/* paraplan-tasks44 */
.dashboard-v2 .pp-panel{border-radius:0;min-height:220px;overflow:hidden}
.dashboard-v2 .pp-panel-head{height:58px;padding:0 18px;border-bottom:1px solid #e4e5ec;display:flex;align-items:center;justify-content:space-between}
.dashboard-v2 .pp-panel-head h2{font-size:20px;font-weight:500;color:#444}
.dashboard-two{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}
.dashboard-wide{margin:24px 0}
.dashboard-wide .pp-panel{min-height:260px}
.dash-list{background:#fff}
.dash-list-row{width:100%;min-height:62px;border:0;border-bottom:1px solid #e7e7ed;background:#fff;color:#303348;display:grid;grid-template-columns:48px minmax(0,1fr) minmax(160px,280px) 36px;gap:8px;align-items:center;text-align:left;padding:8px 18px;cursor:pointer}
.dash-list-row:hover{background:#f3f8ff}
.dash-avatar{width:38px;height:38px;border:1px solid #9fa6ae;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#7b838b;background:#fff;font-size:18px;flex:none}
.dash-list-main strong{display:block;font-size:15px;font-weight:500;color:#27304b}
.dash-list-main em{display:block;margin-top:3px;font-style:normal;color:#777;font-size:13px}
.dash-list-note{justify-self:start;color:#777;font-size:14px;display:flex;flex-direction:column;gap:2px}
.dash-list-note b{font-weight:500;color:#666}
.dash-list-note small{font-size:14px;color:#303348}
.dash-ellipsis{font-size:22px;color:#777;justify-self:center}
.dash-empty{min-height:150px;display:flex;align-items:center;justify-content:center;color:#777}
.dash-side-backdrop{position:fixed;inset:0;z-index:4200;background:rgba(19,20,34,.18);display:flex;justify-content:flex-end}
.dash-side-card{width:min(520px,96vw);height:100vh;background:#fff;box-shadow:-14px 0 34px rgba(30,30,50,.18);padding:18px 34px;overflow:auto}
.dash-side-top{display:flex;align-items:center;justify-content:space-between}
.dash-side-card h3{font-size:14px;font-weight:500;color:#777;margin:28px 0 18px}
.dash-side-row{display:grid;grid-template-columns:130px 42px minmax(0,1fr);gap:10px;align-items:center;margin:16px 0;color:#777}
.dash-side-row>strong{font-weight:500;color:#505363}
.dash-side-row strong small{display:block;margin-top:4px;color:#777;font-weight:400}
.dash-lesson-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#d82c72;margin-right:8px}
.dash-workout-button{width:270px;height:48px;margin:24px auto 0;display:flex}
.dash-workout-modal{width:min(760px,94vw)!important}
.dash-workout-modal label,.dash-workout-student{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:center;margin:18px 0}
.dash-workout-student{grid-template-columns:96px 42px minmax(0,1fr)}
.dash-workout-modal select,.dash-workout-modal textarea{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:12px}
@media(max-width:900px){.dashboard-two{grid-template-columns:1fr}.dash-list-row{grid-template-columns:44px minmax(0,1fr);}.dash-list-note,.dash-ellipsis{grid-column:2}.dash-workout-modal label,.dash-workout-student{grid-template-columns:1fr}}


/* paraplan-tasks45 */
.lead-record-modal-simple{width:min(760px,calc(100vw - 80px))!important;border-radius:0!important;padding:32px 42px!important}
.lead-record-modal-simple .pp-modal-head{border-bottom:1px solid #e1e2e8;padding-bottom:16px;margin-bottom:24px}
.lead-record-modal-simple h2{font-size:25px;font-weight:500;color:#242842}
.lead-record-field{display:grid!important;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:start;margin:18px 0;color:#6f737b}
.lead-record-field>span{padding-top:12px;font-size:15px;color:#6f737b}
.lead-record-field textarea,.lead-record-field input,.lead-record-field select,.lead-record-field .ui-select-trigger{min-height:48px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#252842;font-size:15px}
.lead-record-field.error .ui-select-trigger,.lead-record-field.error input,.lead-record-field.error textarea{border-color:#d23b32!important;box-shadow:0 0 0 2px rgba(210,59,50,.12)!important}
.lead-record-error{margin:-10px 0 10px 114px;color:#d23b32;font-size:14px;font-weight:500}
.lead-record-divider{height:1px;background:#e1e2e8;margin:28px 0 30px}
.lead-record-actions{display:flex;justify-content:center}
.lead-record-actions .btn{min-width:176px;height:48px;background:#fff;color:#303083;border:1px solid #d8d8e2;font-weight:600}
.booking-comment-preview{max-width:280px;min-width:130px;border:0;background:transparent;color:#777;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;padding:5px 4px}
.booking-comment-preview:hover{color:#303083;text-decoration:underline}
.booking-info-icon{width:34px;height:34px;border:1px solid #bfc2d0;border-radius:50%;background:#fff;color:#303083;font-weight:700;font-family:Georgia,serif;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.booking-info-icon:hover{border-color:#302f83;background:#f4f7ff}
.crm-confirm-actions .btn:first-child{background:#312f83!important;color:#fff!important;border-color:#312f83!important;box-shadow:0 3px 8px rgba(49,47,131,.18)!important}
.crm-confirm-actions .btn:last-child{background:#fff!important;color:#303083!important;border-color:#bfc2d0!important}
.crm-confirm-actions .btn:hover{filter:brightness(.98)}
.student-att-table .student-prepared-head>span:nth-child(2),.student-att-table .student-prepared-row>span:nth-child(2){justify-self:start!important;text-align:left!important}
.student-att-status-edit{justify-content:flex-start!important;width:100%;gap:6px!important}
.student-att-status-edit select{width:30px!important;flex:0 0 30px!important;min-width:30px!important;font-size:0!important;color:transparent!important;text-indent:22px!important;padding:0!important;border:0!important;background:transparent!important;appearance:auto!important;-webkit-appearance:auto!important}
.student-att-status-edit select option{font-size:14px!important;color:#303348!important;background:#fff!important;text-indent:0!important}
@media(max-width:900px){.lead-record-modal-simple{width:100vw!important;height:100vh!important;max-height:100vh!important}.lead-record-field{grid-template-columns:1fr!important}.lead-record-error{margin:0;color:#d23b32}}


/* paraplan-tasks47 schedule visual */
.schedule-v47 .pp-head .btn-primary{display:none!important}
.schedule-v47 .pp-schedule-bar{display:grid!important;grid-template-columns:42px minmax(190px,260px) 42px 150px auto minmax(150px,1fr) minmax(150px,1fr) 130px minmax(150px,1fr) minmax(10px,1fr) auto;gap:8px;align-items:center;margin:14px 0 16px}
.schedule-v47 .pp-date-title{height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #d8d8e2;background:#fff;color:#303348;font-size:16px;font-weight:500}
.schedule-v47 .pp-schedule-bar input,.schedule-v47 .pp-schedule-bar select{height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}
.schedule-toolbar-spacer{min-width:8px}
.schedule-add-button{height:42px;white-space:nowrap;background:#302f83!important;border-color:#302f83!important;color:#fff!important}
.schedule-multi-filter{position:relative;min-width:0}
.schedule-multi-trigger{width:100%;height:42px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;text-align:left}
.schedule-multi-trigger.active{border-color:#302f83;box-shadow:0 0 0 1px #302f83}
.schedule-multi-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.schedule-multi-trigger b{font-size:14px;color:#777}
.schedule-multi-menu{position:absolute;z-index:40;top:48px;left:0;right:0;min-width:230px;background:#fff;border:1px solid #d8d8e2;border-radius:4px;box-shadow:0 10px 24px rgba(30,30,50,.16);padding:10px}
.schedule-multi-menu input{width:100%;height:38px;margin-bottom:8px}
.schedule-multi-all{width:100%;border:0;background:#fff;color:#302f83;text-align:left;font-weight:600;padding:8px 6px;cursor:pointer}
.schedule-multi-list{max-height:240px;overflow:auto;display:grid;gap:2px}
.schedule-multi-list label{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;min-height:34px;padding:6px;border-radius:3px;color:#444;cursor:pointer}
.schedule-multi-list label:hover{background:#f3f7ff}
.schedule-multi-list input{width:17px!important;height:17px!important;min-height:17px!important}
.schedule-multi-empty{padding:14px;color:#777}
.schedule-v47 .pp-schedule-board{background:#f0f1f5!important}
.pp-time-grid-v47{min-width:1180px;display:grid!important;grid-template-columns:58px repeat(var(--days),minmax(150px,1fr))!important;grid-template-rows:58px calc(var(--hours) * var(--hour-height));background:#fff;position:relative}
.pp-time-grid-v47 .pp-time-head,.pp-time-grid-v47 .pp-day-head{position:sticky;top:0;z-index:8;height:58px;background:#fff;border-bottom:1px solid #e1e2e8;border-right:1px solid #e1e2e8}
.pp-time-grid-v47 .pp-time-head{grid-column:1;grid-row:1;color:#777}
.pp-time-grid-v47 .pp-day-head{grid-row:1;align-items:flex-start;justify-content:flex-start;padding:10px 8px}
.pp-time-grid-v47 .pp-day-head strong{font-size:15px;color:#34384b}
.pp-time-grid-v47 .pp-day-head span{font-size:12px;color:#777}
.pp-time-column{grid-column:1;grid-row:2;position:sticky;left:0;z-index:6;background:#fff;border-right:1px solid #e1e2e8}
.pp-time-column .pp-hour{position:relative!important;left:auto!important;z-index:1!important;height:var(--hour-height)!important;min-height:var(--hour-height)!important;border-bottom:1px solid #e7e8ef!important;background:#fff!important;align-items:flex-start!important;justify-content:center!important;padding-top:10px!important;font-size:14px!important;color:#6e737b!important}
.pp-day-column{grid-row:2;position:relative;height:calc(var(--hours) * var(--hour-height));background:#f7f8fb;border-right:1px solid #e1e2e8;overflow:hidden}
.pp-hour-bg{height:var(--hour-height);border-bottom:1px solid #e7e8ef;background:#f7f8fb}
.pp-day-column:nth-child(even) .pp-hour-bg{background:#fff}
.pp-lesson-chip-v47{position:absolute!important;display:block!important;border:0!important;border-top:5px solid var(--lesson)!important;border-left:0!important;border-radius:4px!important;background:#fff!important;padding:10px 10px 8px!important;box-shadow:0 3px 10px rgba(30,30,50,.13)!important;overflow:hidden;color:#3d3d44!important;z-index:3}
.pp-lesson-chip-v47:hover{background:#fafdff!important;box-shadow:0 4px 14px rgba(30,30,50,.2)!important}
.pp-lesson-chip-v47 strong{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px;color:#444!important;font-size:15px!important;margin-bottom:7px;min-width:0}
.pp-lesson-chip-v47 strong span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-lesson-chip-v47 strong i{width:10px;height:10px;border-radius:50%;flex:none}
.pp-lesson-chip-v47 span,.pp-lesson-chip-v47 small{display:block!important;color:#4f535c!important;font-size:13px!important;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-lesson-chip-v47 small{color:#777!important}
.pp-current-time-line{position:absolute;left:0;right:0;height:2px;background:#e02424;z-index:7;box-shadow:0 0 0 1px rgba(224,36,36,.08)}
.pp-current-time-line:before{content:"";position:absolute;left:-5px;top:-4px;width:10px;height:10px;background:#e02424;border-radius:50%}
.pp-now-label{position:absolute;left:4px;transform:translateY(-50%);z-index:9;color:#302f83;font-weight:700;background:#fff;padding:1px 2px;border-bottom:2px solid #302f83}
@media(max-width:1300px){.schedule-v47 .pp-schedule-bar{grid-template-columns:42px minmax(170px,1fr) 42px 140px auto;}.schedule-v47 .pp-schedule-bar>*:nth-child(n+6){grid-column:auto}.schedule-toolbar-spacer{display:none}.schedule-add-button{justify-self:end}}
@media(max-width:760px){.schedule-v47 .pp-schedule-bar{grid-template-columns:42px 1fr 42px}.schedule-v47 .pp-schedule-bar input,.schedule-v47 .pp-schedule-bar select,.schedule-multi-filter,.schedule-add-button{grid-column:1 / -1;width:100%}.pp-time-grid-v47{min-width:980px}}

/* paraplan-tasks48 larger workspace headers */
.pp-screen>.pp-head,
.records-screen>.pp-head,
.tasks-screen>.pp-head,
.teachers-screen>.pp-head,
.students-screen>.pp-head,
.deals-screen>.pp-head {
  min-height: 112px !important;
  margin: -24px -30px 28px !important;
  padding: 24px 32px !important;
  background: #fff !important;
  border-bottom: 1px solid #e1e2e8 !important;
  box-shadow: 0 3px 14px rgba(30,30,50,.07) !important;
  align-items: center !important;
}
.pp-screen>.pp-head h1,
.records-screen>.pp-head h1,
.tasks-screen>.pp-head h1,
.teachers-screen>.pp-head h1,
.students-screen>.pp-head h1,
.deals-screen>.pp-head h1 {
  font-size: 28px !important;
  line-height: 1.18 !important;
  font-weight: 500 !important;
  color: #303348 !important;
}
.pp-screen>.pp-head p,
.records-screen>.pp-head p,
.tasks-screen>.pp-head p,
.teachers-screen>.pp-head p,
.students-screen>.pp-head p,
.deals-screen>.pp-head p {
  margin-top: 8px !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: #6f737b !important;
}
.pp-screen>.pp-head .btn,
.records-screen>.pp-head .btn,
.tasks-screen>.pp-head .btn,
.teachers-screen>.pp-head .btn,
.students-screen>.pp-head .btn,
.deals-screen>.pp-head .btn {
  min-height: 44px !important;
  font-size: 15px !important;
}
@media(max-width:760px){
  .pp-screen>.pp-head,
  .records-screen>.pp-head,
  .tasks-screen>.pp-head,
  .teachers-screen>.pp-head,
  .students-screen>.pp-head,
  .deals-screen>.pp-head {
    min-height: 86px !important;
    margin: 0 -12px 18px !important;
    padding: 18px 14px !important;
  }
  .pp-screen>.pp-head h1,
  .records-screen>.pp-head h1,
  .tasks-screen>.pp-head h1,
  .teachers-screen>.pp-head h1,
  .students-screen>.pp-head h1,
  .deals-screen>.pp-head h1 {
    font-size: 23px !important;
  }
}

/* paraplan-tasks49 final task table guard */
.tasks-table-card .ui-table{table-layout:fixed!important;width:100%!important}
.tasks-table-card .ui-table th,.tasks-table-card .ui-table td{overflow:hidden!important;min-width:0!important}
.tasks-table-card .ui-table th:nth-child(1),.tasks-table-card .ui-table td:nth-child(1){width:36%!important}
.tasks-table-card .ui-table th:nth-child(2),.tasks-table-card .ui-table td:nth-child(2){width:10%!important}
.tasks-table-card .ui-table th:nth-child(3),.tasks-table-card .ui-table td:nth-child(3){width:12%!important}
.tasks-table-card .ui-table th:nth-child(4),.tasks-table-card .ui-table td:nth-child(4){width:10%!important}
.tasks-table-card .ui-table th:nth-child(5),.tasks-table-card .ui-table td:nth-child(5){width:13%!important}
.tasks-table-card .ui-table th:nth-child(6),.tasks-table-card .ui-table td:nth-child(6){width:10%!important}
.tasks-table-card .ui-table th:nth-child(7),.tasks-table-card .ui-table td:nth-child(7){width:9%!important}
.tasks-table-card .task-title-cell{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.tasks-table-card .task-title-cell strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tasks-table-card .task-title-cell span{display:-webkit-box!important;max-width:100%!important;overflow:hidden!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;line-height:1.35!important;word-break:break-word!important}
@media(max-width:980px){.tasks-table-card .ui-table{min-width:900px!important}}

/* paraplan-tasks50 attendance lesson topic */
.att-title-row p.att-meta-line,
.att-title-row p.att-topic-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 0;
  color: #3f4357;
}
.att-meta-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #7b828c;
}
.att-meta-room:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 10px;
  height: 8px;
  border: 1.8px solid currentColor;
  border-radius: 2px;
}
.att-meta-room:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 6px;
  border-left: 1.8px solid currentColor;
  border-top: 1.8px solid currentColor;
  transform: rotate(45deg);
}
.att-meta-time:before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}
.att-meta-time:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 4px;
  height: 5px;
  border-left: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
}
.att-topic-line strong {
  font-weight: 500;
  color: #272b45;
}
.att-topic-line span {
  color: #303348;
}
.att-topic-button,
.att-topic-edit {
  border: 0;
  background: transparent;
  color: #303083;
  padding: 2px 4px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 3px;
}
.att-topic-button:hover,
.att-topic-edit:hover {
  background: #eef7ff;
}
.att-topic-edit {
  margin-left: 4px;
  color: #777;
}

/* paraplan-tasks51: lesson topic modal, subscription days, student payments */
.topic-modal,
.student-payment-modal {
  width: min(600px, 94vw);
  padding: 28px 36px;
  background: #fff;
}
.topic-modal-field,
.payment-modal-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  color: #777;
}
.topic-modal-field textarea,
.payment-modal-row input,
.payment-modal-row select {
  width: 100%;
  border: 1px solid #d8d8e2;
  border-radius: 4px;
  background: #fff;
  color: #303348;
  padding: 10px 12px;
}
.topic-modal-field textarea {
  resize: vertical;
  min-height: 110px;
}
.topic-modal-actions,
.payment-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5e6ee;
}
.att-booking-person-button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  color: inherit;
  cursor: pointer;
}
.att-booking-person-button:hover strong {
  color: #303083;
  text-decoration: underline;
}
.att-booking-avatar-button {
  cursor: pointer;
}
.subscription-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.subscription-days label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d8d8e2;
  border-radius: 4px;
  background: #fff;
  color: #303348;
}
.subscription-days input {
  accent-color: #303083;
}
.student-payment-filters {
  grid-template-columns: 190px 190px 180px minmax(180px, 1fr) !important;
}
.student-payment-add {
  justify-self: end;
  align-self: end;
  min-width: 160px;
}

/* paraplan-tasks52: payments menu and compact student class action */
.student-big-add {
  width: auto !important;
  min-width: 260px !important;
  height: 56px !important;
  padding: 0 22px !important;
  white-space: nowrap !important;
}
.student-big-add span,
.student-big-add em {
  white-space: nowrap !important;
}
.student-payment-action-wrap {
  position: relative;
  display: flex;
  justify-self: end;
  align-self: end;
}
.student-payment-action-wrap .student-payment-add {
  border-radius: 4px 0 0 4px;
}
.student-payment-arrow {
  width: 46px;
  min-width: 46px;
  border-left: 0 !important;
  border-radius: 0 4px 4px 0;
}
.student-payment-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 244px;
  background: #fff;
  border: 1px solid #dddfe8;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(30,35,70,.14);
  z-index: 30;
  display: grid;
  padding: 8px 0;
}
.student-payment-menu button {
  border: 0;
  background: #fff;
  text-align: left;
  padding: 14px 20px;
  color: #555;
  font-weight: 600;
  cursor: pointer;
}
.student-payment-menu button:hover {
  background: #f4f7ff;
  color: #303083;
}
.student-payments-title {
  font-size: 20px;
  font-weight: 500;
  color: #242842;
  margin: 4px 0 -6px;
}
.student-payments-table .student-prepared-row span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.payment-modal-head {
  justify-content: center;
  position: relative;
}
.payment-modal-head .pp-icon-btn {
  position: absolute;
  right: 0;
}
.payment-purpose > div {
  display: grid;
  gap: 10px;
}
.payment-purpose label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #303348;
}
.payment-purpose select,
.payment-purpose input[type=text],
.payment-purpose input:not([type]) {
  height: 42px;
  border: 1px solid #d8d8e2;
  border-radius: 4px;
  background: #fff;
  color: #303348;
  padding: 0 12px;
}
@media(max-width:900px) {
  .topic-modal-field,
  .payment-modal-row {
    grid-template-columns: 1fr;
  }
  .student-payment-add {
    justify-self: stretch;
  }
}

.topic-modal-backdrop{align-items:center!important;justify-content:center!important;z-index:6000!important}.topic-modal{box-shadow:0 18px 42px rgba(30,35,70,.22)}.student-sub-side input[type=text]{letter-spacing:0}


.att-teacher-heading{display:flex;align-items:center;gap:14px}.att-teacher-heading h2{margin:0}.att-teacher-replace{border:0;background:transparent;color:#312f83;font-weight:600;cursor:pointer;padding:4px 0}.att-teacher-replace:hover{text-decoration:underline}.att-teacher-current strong{display:flex;align-items:baseline;gap:10px}.att-teacher-current strong em{font-style:normal;font-size:12px;color:#7b7b86;font-weight:400}.teacher-replace-backdrop{align-items:center!important;justify-content:center!important;z-index:6000!important}.teacher-replace-modal{width:min(760px,92vw);box-shadow:0 18px 42px rgba(30,35,70,.22)}.teacher-replace-field{display:grid!important;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:22px}.teacher-replace-field select{width:100%}@media(max-width:720px){.teacher-replace-field{grid-template-columns:1fr}}


/* paraplan-tasks58: schedule conducted/edit flow and attendance teacher row */
.att-teacher-heading{display:block!important}.att-teacher-row.att-teacher-current{grid-template-columns:36px auto auto!important;justify-content:start!important;column-gap:8px!important;max-width:560px}.att-teacher-row.att-teacher-current .att-avatar{width:36px;height:36px}.att-teacher-row.att-teacher-current strong{display:flex;align-items:baseline;gap:8px;min-width:0}.att-teacher-row.att-teacher-current .att-teacher-replace{margin-left:8px}.schedule-edit-backdrop{align-items:center!important;justify-content:center!important;z-index:6000!important}.schedule-edit-modal{width:min(820px,94vw)!important;max-height:88vh!important;overflow:auto;box-shadow:0 18px 48px rgba(30,30,50,.24)!important}.schedule-edit-tabs{display:flex;gap:4px;margin:4px 0 22px;border-bottom:1px solid #e2e3eb}.schedule-edit-tabs button{border:0;background:transparent;color:#777;padding:12px 18px;cursor:pointer;font-size:15px}.schedule-edit-tabs button.active{color:#302f83;border-bottom:2px solid #302f83}.schedule-edit-body{display:grid;gap:18px}.schedule-edit-row{display:grid!important;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:22px;color:#777}.schedule-edit-row input,.schedule-edit-row select{width:100%;height:46px;border:1px solid #d8d8e2;border-radius:4px;background:#fff;color:#303348;padding:0 12px}.schedule-edit-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.schedule-edit-students{display:flex;flex-wrap:wrap;gap:8px}.schedule-edit-students span{border:1px solid #e0e1e8;background:#fff;border-radius:4px;padding:8px 12px}.schedule-edit-actions{border-top:1px solid #e2e3eb;margin-top:24px;padding-top:22px;display:flex;justify-content:center}.schedule-edit-actions .btn{min-width:170px;height:46px}.pp-lesson-chip-v47 strong i{display:inline-block}.pp-lesson-chip-v47 strong:not(:has(i)){padding-right:0}@media(max-width:720px){.schedule-edit-row,.schedule-edit-two{grid-template-columns:1fr}.schedule-edit-tabs{overflow:auto}.att-teacher-row.att-teacher-current{grid-template-columns:36px 1fr!important}.att-teacher-row.att-teacher-current .att-teacher-replace{grid-column:2;justify-self:start;margin-left:0}}

/* paraplan-tasks59: schedule effective ranges */
.schedule-edit-dates label{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;margin:0;color:#777}.schedule-edit-dates label span{text-align:center;color:#777;font-size:14px}.schedule-edit-dates input{min-width:0}

/* paraplan-tasks60: compact lead cards and horizontal board */
.lead-board{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(300px,320px)!important;grid-template-columns:none!important;gap:14px!important;overflow-x:auto!important;overflow-y:hidden;padding-bottom:20px!important;scrollbar-gutter:stable}.lead-board::-webkit-scrollbar{height:12px}.lead-board::-webkit-scrollbar-track{background:#eef0f6;border-radius:999px}.lead-board::-webkit-scrollbar-thumb{background:#b9bccb;border-radius:999px;border:3px solid #eef0f6}.lead-board::-webkit-scrollbar-thumb:hover{background:#9297aa}.lead-col{min-width:0}.lead-card{align-items:flex-start!important;width:100%;min-width:0!important}.lead-card>span{display:block;min-width:0;flex:1 1 auto;overflow:hidden}.lead-card strong,.lead-card em{display:block!important;max-width:100%;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.lead-card strong{line-height:1.25}.lead-card em{line-height:1.3}.lead-card b{flex:0 0 auto;white-space:nowrap;margin-left:6px}@media(max-width:760px){.lead-board{grid-auto-columns:minmax(270px,86vw)!important}}

/* duplicate-notice-v62 */
.cr-dup{grid-column:1 / -1;margin:0 0 4px 142px;color:#777;font-size:15px;line-height:1.45}.cr-dup-title{margin-bottom:10px}.cr-dup-list{display:grid;gap:10px;max-width:320px}.cr-dup-list>div{display:grid;grid-template-columns:1fr 120px;gap:18px;color:#777}.cr-dup-list strong{font-weight:400;color:#777}.cr-dup-view{margin:4px 0 8px 0}.cr-dup-view .cr-dup-title{color:#777}.cr-dup-view button{border:0;background:transparent;color:#ff3f74;padding:0;cursor:pointer;font:inherit}.student-side-card .cr-dup{margin:12px 0 0}.student-side-card .cr-dup-list{max-width:360px}.student-edit .cr-dup{margin-left:146px}.lead-edit .cr-dup{margin-left:142px}@media(max-width:760px){.cr-dup,.student-edit .cr-dup,.lead-edit .cr-dup{margin-left:0}.cr-dup-list>div{grid-template-columns:1fr}}

/* duplicate-align-v63 */
.lead-check,.student-check{margin-left:0!important;align-items:center}.lead-check input,.student-check input{flex:0 0 auto}.lead-edit .cr-dup,.student-edit .cr-dup{margin-left:0!important}.lead-edit .cr-dup-list,.student-edit .cr-dup-list{max-width:360px}.lead-edit .cr-dup-list>div,.student-edit .cr-dup-list>div{grid-template-columns:minmax(0,1fr) 130px}
/* lead-drawer-v64 */
.lead-section-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent;color:#777;font-size:15px;font-weight:500;margin:14px 0 2px;padding:0;cursor:pointer}.lead-section-toggle b{font-size:18px;color:#777}.lead-extra-section{display:grid;gap:12px}.lead-yesno-row .lead-yesno,.lead-yesno-edit .lead-yesno{display:flex;align-items:center;gap:26px}.lead-yesno label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;color:#777}.lead-yesno input{width:20px!important;height:20px!important;accent-color:#303083}.lead-sibling-tools{display:grid;grid-template-columns:128px 1fr;gap:14px;align-items:start}.lead-sibling-tools>span{color:#777}.lead-sibling-tools>div{display:grid;gap:10px}.lead-sibling-tools select{width:100%;border:1px solid #d8d8e2;border-radius:4px;background:#fff;padding:12px 14px;color:#262a42}.lead-sibling-tools .btn{justify-self:start;background:#fff;color:#303083;font-weight:600}@media(max-width:640px){.lead-sibling-tools{grid-template-columns:1fr}}
/* warm-crm-redesign-v65 */
:root,
:root[data-theme=light],
:root[data-theme=dark]{
  --sidebar-bg:#C95B0A;
  --sidebar-bg-dark:#B94E05;
  --sidebar-text:#FFF9F1;
  --sidebar-active:#FFC978;
  --sidebar-active-text:#2F241A;
  --primary:#F45B08;
  --primary-hover:#DC4E04;
  --primary-active:#C94402;
  --primary-soft:#FFF0E5;
  --page-bg:#FBF7F0;
  --surface:#FFFDFC;
  --surface-secondary:#FAF6EF;
  --border:#E9DDD0;
  --text-primary:#211D19;
  --text-secondary:#756E67;
  --text-muted:#A49B92;
  --success:#61772D;
  --success-bg:#EFF3E4;
  --warning:#D47700;
  --warning-bg:#FFF2D9;
  --danger:#F04422;
  --danger-bg:#FFF0EC;
  --shadow-card:0 8px 30px rgba(82,52,25,.07);
  --bg:var(--page-bg);
  --panel:var(--surface);
  --panel-2:var(--surface-secondary);
  --panel-hover:var(--primary-soft);
  --line:var(--border);
  --line-strong:#D9C9B8;
  --text:var(--text-primary);
  --muted:var(--text-secondary);
  --subtle:var(--text-muted);
  --accent:var(--primary);
  --accent-hover:var(--primary-hover);
  --accent-bg:var(--primary-soft);
  --accent-border:#F7B27F;
  --accent-contrast:#fff;
  --green:var(--success);
  --green-bg:var(--success-bg);
  --yellow:var(--warning);
  --yellow-bg:var(--warning-bg);
  --red:var(--danger);
  --red-bg:var(--danger-bg);
  --shadow-md:var(--shadow-card);
  --shadow-lg:0 18px 48px rgba(82,52,25,.14);
  --radius-sm:11px;
  --radius-md:16px;
  --radius-lg:18px;
  color-scheme:light;
}

html,
body,
#root{
  font-family:"Inter",Arial,sans-serif!important;
  background:var(--page-bg)!important;
  color:var(--text-primary)!important;
}

body,
button,
input,
select,
textarea{
  font-family:"Inter",Arial,sans-serif!important;
  font-weight:400;
}

h1,h2,h3{color:var(--text-primary)!important;font-weight:700!important;letter-spacing:0!important}
.muted{color:var(--text-secondary)!important}
.subtle{color:var(--text-muted)!important}
a{color:var(--primary)!important}

.content{
  margin-left:236px!important;
  padding:0 30px 30px!important;
  background:var(--page-bg)!important;
}
.layout-collapsed .content{margin-left:60px!important}

.sidebar{
  width:236px!important;
  padding:18px 12px!important;
  gap:12px!important;
  background:var(--sidebar-bg)!important;
  border-right:0!important;
  color:var(--sidebar-text)!important;
  box-shadow:none!important;
}
.layout-collapsed .sidebar:hover{width:236px!important;background:var(--sidebar-bg)!important;box-shadow:8px 0 24px rgba(82,52,25,.12)!important}
.sidebar-head{min-height:58px!important;padding:4px 12px!important;color:var(--sidebar-text)!important}
.sidebar-brand{font-size:18px!important;font-weight:700!important;color:var(--sidebar-text)!important}
.sidebar-logo{max-width:130px!important;max-height:42px!important;object-fit:contain!important}
.sidebar-mark{
  width:38px!important;
  height:38px!important;
  border-radius:13px!important;
  color:var(--sidebar-text)!important;
  background:rgba(255,249,241,.14)!important;
  font-weight:700!important;
}
.sidebar-nav{gap:6px!important;padding:8px 0!important}
.sidebar-item{
  height:48px!important;
  padding:0 16px!important;
  gap:14px!important;
  border-radius:12px!important;
  color:var(--sidebar-text)!important;
  font-size:16px!important;
  font-weight:500!important;
}
.sidebar-item svg{
  width:21px!important;
  height:21px!important;
  color:currentColor!important;
  opacity:1!important;
  stroke-width:2!important;
}
.sidebar-item:hover{
  background:var(--sidebar-bg-dark)!important;
  color:var(--sidebar-text)!important;
}
.sidebar-item-active,
.sidebar-item-active:hover{
  background:var(--sidebar-active)!important;
  color:var(--sidebar-active-text)!important;
}
.sidebar-footer{
  border-top:1px solid rgba(255,249,241,.24)!important;
  padding:14px 8px 0!important;
}
.sidebar-toggle{
  width:38px!important;
  height:38px!important;
  color:var(--sidebar-text)!important;
  border-radius:11px!important;
}
.sidebar-toggle:hover{background:rgba(255,249,241,.14)!important;color:var(--sidebar-text)!important}
.sidebar-toggle svg{color:currentColor!important;opacity:1!important}
.sidebar-user{color:var(--sidebar-text)!important;font-size:14px!important;font-weight:500!important}

.screen-head,
.pp-head,
.deals-screen>.pp-head,
.records-screen>.pp-head,
.tasks-screen>.pp-head,
.students-screen>.pp-head,
.teachers-screen>.pp-head,
.pp-screen>.pp-head{
  min-height:132px!important;
  margin:0 -30px 26px!important;
  padding:32px 34px!important;
  background:var(--surface)!important;
  border:0!important;
  border-bottom:1px solid var(--border)!important;
  box-shadow:0 8px 26px rgba(82,52,25,.05)!important;
}
.screen-head h1,
.pp-head h1,
.deals-screen>.pp-head h1,
.records-screen>.pp-head h1,
.tasks-screen>.pp-head h1,
.students-screen>.pp-head h1,
.teachers-screen>.pp-head h1,
.pp-screen>.pp-head h1{
  font-size:30px!important;
  line-height:1.16!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
}
.screen-head p,
.pp-head p{font-size:16px!important;color:var(--text-secondary)!important}

.card,
.pp-panel,
.lead-table-card,
.records-table-card,
.settings-leads-table,
.student-profile-card,
.student-tab-body,
.student-payments,
.student-att-detail,
.student-prepared-table,
.student-sub-table,
.student-subscriptions-paraplan,
.student-payment-stats>div,
.teacher-table-card,
.teacher-profile-head,
.class-drawer,
.pp-class-card,
.crm-confirm-modal,
.task-modal-paraplan,
.conversion-modal,
.lead-profile-card,
.lead-history-item{
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  box-shadow:var(--shadow-card)!important;
}

.btn,
button.btn,
.lead-toolbar-add,
.student-big-add,
.student-add-inline,
.teacher-add-inline,
.schedule-add-btn,
.schedule-add-button{
  min-height:44px!important;
  border-radius:11px!important;
  border:1px solid var(--border)!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.btn:hover,
button.btn:hover{background:var(--primary-soft)!important;border-color:#F6BD90!important}
.btn:active,
button.btn:active{transform:translateY(1px)}
.btn-primary,
button.btn-primary,
.lead-toolbar-add,
.student-big-add:not(.empty),
.schedule-add-btn,
.schedule-add-button{
  background:var(--primary)!important;
  border-color:var(--primary)!important;
  color:#fff!important;
  padding:0 20px!important;
}
.btn-primary:hover,
button.btn-primary:hover,
.lead-toolbar-add:hover,
.schedule-add-btn:hover,
.schedule-add-button:hover{background:var(--primary-hover)!important;border-color:var(--primary-hover)!important}
.btn-primary:active,
button.btn-primary:active{background:var(--primary-active)!important}
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.ui-select-trigger:focus-visible{
  outline:none!important;
  border-color:var(--primary)!important;
  box-shadow:0 0 0 3px rgba(244,91,8,.18)!important;
}
button:disabled,
.btn:disabled{opacity:.48!important;cursor:not-allowed!important;transform:none!important}

input,
select,
textarea,
.ui-select-trigger,
.student-att-filters input,
.student-att-filters select,
.student-payment-filters input,
.student-payment-filters select,
.student-sub-list-toolbar input,
.student-sub-list-toolbar select,
.records-toolbar input,
.records-toolbar select,
.lead-toolbar input,
.lead-toolbar select,
.pp-toolbar input,
.pp-toolbar select{
  min-height:46px!important;
  border:1px solid var(--border)!important;
  border-radius:11px!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  font-size:15px!important;
  padding:0 14px!important;
}
textarea{padding:12px 14px!important;line-height:1.45!important}
input::placeholder,
textarea::placeholder{color:var(--text-muted)!important}

.pp-tabs{
  display:flex!important;
  align-items:flex-end!important;
  gap:34px!important;
  flex-wrap:wrap!important;
  margin:0!important;
  padding:0 28px!important;
  border-top:1px solid var(--border)!important;
  background:var(--surface)!important;
}
.pp-tab,
.pp-tabs button{
  height:58px!important;
  padding:0 0 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--text-primary)!important;
  font-size:16px!important;
  font-weight:500!important;
  box-shadow:none!important;
  position:relative!important;
}
.pp-tab.active,
.pp-tabs button.active{
  color:var(--primary)!important;
  font-weight:600!important;
}
.pp-tab.active:after,
.pp-tabs button.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:3px;
  border-radius:999px;
  background:var(--primary);
}

.student-profile-card{
  overflow:hidden!important;
  margin-bottom:18px!important;
}
.student-profile-summary{
  grid-template-columns:112px minmax(0,1fr) auto!important;
  gap:24px!important;
  padding:28px 32px!important;
  border-bottom:0!important;
}
.student-big-avatar,
.student-side-avatar,
.student-edit-avatar{
  width:108px!important;
  height:108px!important;
  flex:0 0 108px!important;
  border-radius:50%!important;
  border:1px solid var(--border)!important;
  background:var(--surface-secondary)!important;
  color:var(--text-muted)!important;
  font-size:52px!important;
  font-weight:600!important;
  overflow:hidden!important;
}
.student-side-avatar{width:154px!important;height:154px!important;flex-basis:154px!important}
.student-big-avatar img,
.student-side-avatar img,
.student-edit-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:50%!important;
}
.student-big-avatar-button{cursor:pointer!important;transition:transform .12s ease,box-shadow .12s ease}
.student-big-avatar-button:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(82,52,25,.1)!important}
.student-profile-summary h1{
  font-size:36px!important;
  line-height:1.1!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
}
.student-profile-summary p{font-size:16px!important;color:var(--text-secondary)!important;margin-top:8px!important}
.student-name-line{gap:12px!important}
.student-info-dot{
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  border:1px solid var(--border)!important;
  background:var(--surface)!important;
  color:var(--primary)!important;
  font-weight:700!important;
}
.student-profile-status{
  flex-direction:row!important;
  align-items:center!important;
  gap:18px!important;
}
.student-profile-status strong{
  font-size:24px!important;
  color:var(--text-primary)!important;
  font-weight:700!important;
}
.student-status-inline,
.student-status-profile{
  min-width:190px!important;
  height:42px!important;
  border-radius:11px!important;
  background:var(--success-bg)!important;
  color:var(--success)!important;
  border:0!important;
  font-weight:600!important;
}

.student-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(170px,1fr));
  gap:18px;
  margin:18px 0;
}
.student-kpi-card{
  min-height:104px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:18px;
  background:var(--surface)!important;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow-card);
}
.student-kpi-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 48px;
}
.student-kpi-icon svg{width:24px!important;height:24px!important;stroke-width:2!important}
.student-kpi-icon.attended{background:var(--success-bg);color:var(--success)}
.student-kpi-icon.missed{background:var(--danger-bg);color:var(--danger)}
.student-kpi-icon.remaining{background:var(--primary-soft);color:var(--primary)}
.student-kpi-icon.paid{background:var(--surface-secondary);color:var(--success)}
.student-kpi-copy span{display:block;color:var(--text-secondary);font-size:14px;font-weight:500;margin-bottom:4px}
.student-kpi-copy strong{display:block;color:var(--text-primary);font-size:28px;line-height:1;font-weight:700}

.student-tab-body{
  padding:24px 28px!important;
  margin-top:18px!important;
}
.student-tab-body .student-big-add.empty,
.student-classes-table .student-big-add.empty{
  border:1px dashed #D8C8B7!important;
  background:rgba(255,253,252,.78)!important;
  color:var(--primary)!important;
  border-radius:16px!important;
}

.student-att-filters,
.student-payment-filters,
.student-sub-list-toolbar,
.records-toolbar,
.lead-toolbar,
.teachers-toolbar,
.tasks-toolbar,
.pp-toolbar{
  gap:14px!important;
  align-items:center!important;
}

.student-prepared-table,
.student-sub-table,
.student-att-table,
.records-table-card,
.lead-table-card,
.settings-leads-table{
  overflow:hidden!important;
}
.student-prepared-head,
.student-prepared-row,
.lead-table-head,
.lead-table-row,
.records-table-head,
.records-table-row,
.settings-leads-row,
.pp-row{
  border-bottom:1px solid var(--border)!important;
}
.student-prepared-head,
.lead-table-head,
.records-table-head,
.settings-leads-row.head{
  color:var(--text-secondary)!important;
  background:var(--surface)!important;
  font-size:13px!important;
  font-weight:600!important;
}
.student-prepared-row,
.lead-table-row,
.records-table-row,
.pp-row{
  min-height:54px!important;
  color:var(--text-primary)!important;
  background:var(--surface)!important;
  transition:background .12s ease!important;
}
.student-prepared-row:hover,
.student-prepared-row.active,
.lead-table-row:hover,
.lead-table-row.active,
.records-table-row:hover,
.records-table-row.active,
.pp-row:hover{
  background:var(--surface-secondary)!important;
}
.lead-table-person strong,
.pp-row strong{
  color:var(--text-primary)!important;
  font-weight:600!important;
}
.lead-table-person em,
.pp-row .muted{
  color:var(--text-secondary)!important;
}

.student-att-status-label,
.att-current-status,
.att-payment-paid,
.att-payment-unpaid,
.student-payment-status,
.student-sub-status,
.lead-stage-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:28px!important;
  padding:0 10px!important;
  border-radius:9px!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1!important;
}
.student-att-status-label,
.att-current-status,
.att-payment-paid{
  background:var(--success-bg)!important;
  color:var(--success)!important;
}
.student-att-status-label.miss,
.att-current-status.miss{
  background:var(--danger-bg)!important;
  color:var(--danger)!important;
}
.att-payment-unpaid{
  background:var(--warning-bg)!important;
  color:var(--warning)!important;
}
.student-att-status-label i,
.att-current-status i{
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  display:inline-block!important;
}

.student-att-status-edit select{
  width:28px!important;
  min-height:28px!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  color:var(--text-primary)!important;
}
.att-status-arrow{
  width:30px!important;
  height:30px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--text-primary)!important;
}
.att-status-arrow:hover{background:var(--primary-soft)!important}
.att-status-menu{
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  box-shadow:0 16px 40px rgba(82,52,25,.12)!important;
  padding:8px!important;
}
.att-status-menu button{
  color:var(--text-primary)!important;
  background:transparent!important;
  min-height:36px!important;
  border-radius:8px!important;
  padding:0 10px!important;
}
.att-status-menu button:hover{background:var(--surface-secondary)!important}

.lead-card{
  border-color:var(--border)!important;
  border-radius:10px!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  box-shadow:0 3px 12px rgba(82,52,25,.05)!important;
}
.lead-card:hover{background:var(--primary-soft)!important}
.lead-card strong{color:var(--text-primary)!important;font-weight:600!important}
.lead-card small,.lead-card em{color:var(--text-secondary)!important}
.deals-board{overflow-x:auto!important;scrollbar-color:#D9B48E transparent!important}
.deals-column{min-width:270px!important}

.pp-modal-backdrop,
.student-side-backdrop,
.crm-confirm-backdrop,
.task-modal-backdrop,
.conversion-backdrop{
  background:rgba(47,36,26,.38)!important;
}
.student-side-card,
.lead-drawer,
.record-side-card,
.task-side-card,
.pp-class-card{
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  border-left:1px solid var(--border)!important;
  box-shadow:-14px 0 42px rgba(82,52,25,.12)!important;
}
.student-side-card h2,
.lead-drawer h2,
.record-side-card h2,
.task-side-card h2{font-size:24px!important;color:var(--text-primary)!important}
.student-side-card h3,
.lead-drawer h3,
.record-side-card h3,
.task-side-card h3{color:var(--text-secondary)!important;font-size:15px!important;font-weight:600!important}
.student-side-close,
.lead-icon,
.student-side-icon,
.crm-confirm-close{
  color:var(--text-secondary)!important;
  background:transparent!important;
  border-radius:10px!important;
}
.student-side-close:hover,
.lead-icon:hover,
.student-side-icon:hover,
.crm-confirm-close:hover{background:var(--primary-soft)!important;color:var(--primary)!important}

.student-payment-stats>div{
  border-radius:16px!important;
  min-height:106px!important;
}
.student-payment-stats span{color:var(--text-secondary)!important;font-weight:500!important}
.student-payment-stats strong,
.metric-value,
.pp-metric strong{
  color:var(--primary)!important;
  font-weight:700!important;
}

.teacher-profile-screen,
.student-profile-screen,
.pp-screen,
.students-screen,
.teachers-screen,
.records-screen,
.tasks-screen,
.deals-screen{
  background:var(--page-bg)!important;
}
.teacher-profile-head{
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  box-shadow:0 8px 26px rgba(82,52,25,.05)!important;
}
.teacher-profile-screen .pp-tabs{
  border-top:0!important;
  border-bottom:1px solid var(--border)!important;
}
.teacher-profile-name-line h1{color:var(--text-primary)!important;font-weight:700!important}
.teacher-profile-person p{color:var(--text-secondary)!important}

@media(max-width:1200px){
  .student-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .student-prepared-table,
  .student-sub-table,
  .student-att-table,
  .records-table-card,
  .lead-table-card{overflow-x:auto!important}
  .student-prepared-head,
  .student-prepared-row,
  .lead-table-head,
  .lead-table-row,
  .records-table-head,
  .records-table-row{min-width:780px}
}
@media(max-width:760px){
  .content{margin-left:0!important;padding:0 14px 74px!important}
  .screen-head,.pp-head,.deals-screen>.pp-head,.records-screen>.pp-head,.tasks-screen>.pp-head,.students-screen>.pp-head,.teachers-screen>.pp-head,.pp-screen>.pp-head{
    min-height:104px!important;
    margin:0 -14px 18px!important;
    padding:24px 18px!important;
  }
  .student-profile-summary{grid-template-columns:88px minmax(0,1fr)!important;padding:22px 18px!important}
  .student-big-avatar{width:88px!important;height:88px!important;flex-basis:88px!important;font-size:42px!important}
  .student-profile-summary h1{font-size:30px!important}
  .student-profile-status{grid-column:1/-1!important;justify-content:flex-start!important;flex-wrap:wrap!important}
  .student-kpi-grid{grid-template-columns:1fr}
  .pp-tabs{gap:22px!important;padding:0 18px!important;overflow-x:auto!important;flex-wrap:nowrap!important}
}

/* sales-funnel-redesign-v66 */
:root{
  --sidebar-bg:#C95B0A;
  --sidebar-bg-hover:#B95005;
  --sidebar-bg-dark:#B94E05;
  --sidebar-text:#FFF9F1;
  --sidebar-active:#FFC978;
  --sidebar-active-text:#2F241A;
  --primary:#F4510B;
  --primary-hover:#DA4305;
  --primary-active:#C53A03;
  --primary-soft:#FFF0E6;
  --page-bg:#F8F4ED;
  --surface:#FFFDFC;
  --surface-secondary:#FCF8F3;
  --border:#E8DDD0;
  --text-primary:#27221E;
  --text-secondary:#756D66;
  --text-muted:#A39A92;
  --stage-new:#D8644A;
  --stage-cold:#849757;
  --stage-warm:#D89B24;
  --stage-hot:#C86B79;
  --success:#657A38;
  --success-bg:#F0F3E5;
  --warning:#D37B15;
  --warning-bg:#FFF2DF;
  --danger:#D94F38;
  --danger-bg:#FFF0EC;
  --shadow-card:0 6px 22px rgba(73,47,25,.06);
  --shadow-drawer:-12px 0 40px rgba(62,40,22,.09);
  --bg:var(--page-bg);
  --panel:var(--surface);
  --panel-2:var(--surface-secondary);
  --panel-hover:var(--primary-soft);
  --line:var(--border);
  --line-strong:#DBCBBB;
  --text:var(--text-primary);
  --muted:var(--text-secondary);
  --subtle:var(--text-muted);
  --accent:var(--primary);
  --accent-hover:var(--primary-hover);
  --accent-bg:var(--primary-soft);
  --accent-border:#FFB68F;
  --accent-contrast:#fff;
}

html,body,#root,
button,input,select,textarea{
  font-family:"Manrope","Inter",Arial,sans-serif!important;
  letter-spacing:0!important;
}
body,#root,.layout,.content,.pp-screen,.lead-screen,.records-screen,.tasks-screen,.students-screen,.teachers-screen,.teacher-profile-screen,.student-profile-screen{
  background:var(--page-bg)!important;
  color:var(--text-primary)!important;
}

.sidebar{
  width:236px!important;
  background:var(--sidebar-bg)!important;
  border-right:0!important;
  padding:24px 12px 16px!important;
  box-shadow:none!important;
}
.content{margin-left:236px!important;padding:0 32px 32px!important}
.layout-collapsed .sidebar{width:72px!important}
.layout-collapsed .content{margin-left:72px!important}
.layout-collapsed .sidebar:hover{width:236px!important;background:var(--sidebar-bg)!important}
.sidebar-head{min-height:52px!important;margin-bottom:18px!important;padding:0 10px!important}
.sidebar-brand{font-size:20px!important;font-weight:700!important;color:var(--sidebar-text)!important}
.sidebar-mark{
  width:36px!important;height:36px!important;border-radius:10px!important;
  color:var(--sidebar-text)!important;background:rgba(255,255,255,.12)!important;
}
.sidebar-toggle,.sidebar-theme,.sidebar-privacy{color:var(--sidebar-text)!important}
.sidebar-item{
  height:48px!important;
  gap:14px!important;
  padding:0 16px!important;
  border-radius:12px!important;
  color:var(--sidebar-text)!important;
  font-size:16px!important;
  font-weight:600!important;
}
.sidebar-item svg{width:22px!important;height:22px!important;color:currentColor!important;opacity:1!important;stroke-width:2!important}
.sidebar-item:hover{background:var(--sidebar-bg-hover)!important;color:var(--sidebar-text)!important}
.sidebar-item-active{
  background:var(--sidebar-active)!important;
  color:var(--sidebar-active-text)!important;
}
.sidebar-footer{
  border-top:1px solid rgba(255,249,241,.22)!important;
  padding:16px 10px 0!important;
  color:var(--sidebar-text)!important;
}
.sidebar-user{color:var(--sidebar-text)!important;font-weight:600!important}

.screen-head,.pp-head{
  min-height:126px!important;
  margin:0 -32px 24px!important;
  padding:28px 32px!important;
  background:linear-gradient(180deg,#FFFDFC 0%,#FFF9F2 100%)!important;
  border:0!important;
  border-bottom:1px solid var(--border)!important;
  box-shadow:0 8px 26px rgba(73,47,25,.045)!important;
}
.screen-head h1,.pp-head h1{
  font-size:32px!important;
  line-height:1.12!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
  margin:0 0 10px!important;
}
.screen-head p,.pp-head p{
  font-size:15px!important;
  color:var(--text-secondary)!important;
  margin:0!important;
}
.lead-screen>.pp-head:before{
  content:"РџСЂРѕРґР°Р¶Рё";
  display:block;
  position:absolute;
  top:28px;
  left:32px;
  font-size:12px;
  font-weight:600;
  color:#9A6B45;
}
.lead-screen>.pp-head{position:relative;padding-top:52px!important}

.btn,.view-btn,.lead-toolbar input,.lead-toolbar select,.lead-toolbar button,
.student-toolbar input,.student-toolbar select,.teacher-toolbar input,.teacher-toolbar select,
.records-toolbar input,.records-toolbar select,.tasks-toolbar input,.tasks-toolbar select{
  min-height:46px!important;
  border-radius:12px!important;
  border:1px solid var(--border)!important;
  font-size:14px!important;
  font-weight:500!important;
}
.btn-primary{
  background:var(--primary)!important;
  border-color:var(--primary)!important;
  color:#fff!important;
  box-shadow:0 10px 20px rgba(244,81,11,.16)!important;
}
.btn-primary:hover{background:var(--primary-hover)!important;border-color:var(--primary-hover)!important}
.btn-primary:active{background:var(--primary-active)!important;border-color:var(--primary-active)!important}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(244,81,11,.22)!important;
  outline-offset:2px!important;
}

.lead-toolbar-paraplan{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin:0 0 22px!important;
  padding:22px!important;
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:18px!important;
  box-shadow:var(--shadow-card)!important;
}
.lead-toolbar input,.lead-toolbar select{
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  min-width:220px!important;
  padding:0 16px!important;
}
.lead-toolbar input::placeholder{color:var(--text-muted)!important}
.view-btn{
  width:48px!important;
  padding:0!important;
  color:var(--text-secondary)!important;
  background:var(--surface)!important;
}
.view-btn.active{
  color:var(--primary)!important;
  border-color:#FF9B72!important;
  background:var(--primary-soft)!important;
}
.lead-toolbar-add{
  min-width:170px!important;
  padding:0 20px!important;
  justify-self:end!important;
}

.lead-board{
  display:flex!important;
  grid-template-columns:none!important;
  grid-auto-columns:unset!important;
  gap:14px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:4px 0 22px!important;
  scrollbar-color:#D8B798 transparent!important;
}
.lead-board::-webkit-scrollbar{height:12px!important}
.lead-board::-webkit-scrollbar-track{background:#F1E7DC!important;border-radius:999px!important}
.lead-board::-webkit-scrollbar-thumb{background:#D2A782!important;border:3px solid #F1E7DC!important;border-radius:999px!important}
.lead-col{
  flex:0 0 288px!important;
  min-width:288px!important;
  min-height:640px!important;
  padding:0 12px 14px!important;
  border:1px solid var(--border)!important;
  border-top:0!important;
  border-radius:18px!important;
  background:rgba(255,253,252,.76)!important;
  box-shadow:var(--shadow-card)!important;
  overflow:hidden!important;
}
.lead-col h2{
  min-height:56px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 -12px 12px!important;
  padding:0 16px!important;
  text-align:left!important;
  border-bottom:1px solid var(--border)!important;
  color:var(--text-primary)!important;
  font-size:16px!important;
  font-weight:700!important;
}
.lead-col h2:before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--accent);
  flex:0 0 auto;
}
.lead-col:nth-child(1) h2:before{background:var(--stage-new)}
.lead-col:nth-child(2) h2:before{background:var(--stage-cold)}
.lead-col:nth-child(3) h2:before{background:var(--stage-warm)}
.lead-col:nth-child(4) h2:before{background:var(--stage-hot)}
.add-lead-btn{
  height:44px!important;
  margin:0 0 12px!important;
  border:1px dashed #D9C4B1!important;
  border-radius:12px!important;
  background:rgba(255,253,252,.65)!important;
  color:var(--text-secondary)!important;
  font-weight:600!important;
}
.add-lead-btn:hover{border-color:#FF9B72!important;color:var(--primary)!important;background:var(--primary-soft)!important}
.lead-list{gap:12px!important;max-height:calc(100vh - 340px)!important;padding:0 2px 6px!important}
.lead-card{
  position:relative!important;
  min-height:118px!important;
  align-items:flex-start!important;
  padding:18px 16px 16px!important;
  border:1px solid var(--border)!important;
  border-radius:14px!important;
  background:var(--surface)!important;
  box-shadow:0 5px 18px rgba(73,47,25,.055)!important;
  color:var(--text-primary)!important;
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease!important;
}
.lead-card:hover{
  transform:translateY(-1px)!important;
  border-color:#F4B28F!important;
  background:#FFFDFB!important;
  box-shadow:0 12px 28px rgba(73,47,25,.10)!important;
}
.lead-card.active{border-color:var(--primary)!important;box-shadow:0 0 0 2px rgba(244,81,11,.12),0 12px 28px rgba(73,47,25,.10)!important}
.lead-card>span{min-width:0!important;display:block!important;flex:1 1 auto!important;overflow:hidden!important}
.lead-card strong{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:var(--text-primary)!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.lead-card em{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  margin-top:8px!important;
  color:var(--text-secondary)!important;
  font-size:14px!important;
  line-height:1.35!important;
}
.lead-card b{
  color:var(--text-secondary)!important;
  font-size:14px!important;
  font-weight:500!important;
  white-space:nowrap!important;
  margin-left:8px!important;
}
.lead-card:after{
  content:"вЂўвЂўвЂў";
  position:absolute;
  right:14px;
  bottom:12px;
  color:var(--text-primary);
  letter-spacing:1px;
}
.lead-empty{
  min-height:210px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px dashed #D9C4B1!important;
  border-radius:14px!important;
  background:rgba(255,253,252,.55)!important;
  color:var(--text-secondary)!important;
  line-height:1.45!important;
}

.lead-table-card{
  border:1px solid var(--border)!important;
  border-radius:18px!important;
  background:var(--surface)!important;
  box-shadow:var(--shadow-card)!important;
}
.lead-table-head,.lead-table-row{grid-template-columns:1.6fr .9fr .9fr 1fr 1fr 56px!important}
.lead-table-row{min-height:64px!important}

.pp-drawer-backdrop.lead-drawer-backdrop{
  background:rgba(47,36,26,.20)!important;
  z-index:7000!important;
}
.lead-drawer{
  width:min(460px,96vw)!important;
  padding:26px 26px 32px!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  border-left:1px solid var(--border)!important;
  box-shadow:var(--shadow-drawer)!important;
}
.lead-drawer-top{height:42px!important;margin-bottom:12px!important}
.lead-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:12px!important;
  color:var(--text-primary)!important;
  font-size:24px!important;
}
.lead-icon:hover{background:var(--primary-soft)!important;color:var(--primary)!important}
.lead-top-actions{gap:10px!important}
.lead-top-actions .lead-icon:not(:last-child){border-right:0!important;padding-right:0!important}
.lead-avatar{
  display:grid!important;
  grid-template-columns:88px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:4px 18px!important;
  align-items:center!important;
  text-align:left!important;
  margin:16px 0 24px!important;
}
.lead-avatar>div,.lead-avatar img{
  grid-row:1 / span 2!important;
  width:88px!important;
  height:88px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#FFE7D1!important;
  color:#936A3D!important;
  font-size:42px!important;
  font-weight:700!important;
  object-fit:cover!important;
}
.lead-avatar h2{
  margin:0!important;
  color:var(--text-primary)!important;
  font-size:28px!important;
  line-height:1.1!important;
  font-weight:700!important;
}
.lead-avatar .muted,.lead-avatar p,.lead-avatar span{
  color:#A06A42!important;
  font-size:15px!important;
  font-weight:600!important;
}
.lead-info{
  display:block!important;
}
.lead-info h3{
  margin:18px 0 0!important;
  padding:18px 18px 8px!important;
  border:1px solid var(--border)!important;
  border-bottom:0!important;
  border-radius:16px 16px 0 0!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  font-size:16px!important;
  font-weight:700!important;
}
.lead-info h3+.lead-info-row,
.lead-info h3+.lead-info-row+.lead-info-row,
.lead-info h3+.lead-info-row+.lead-info-row+.lead-info-row,
.lead-info h3+.lead-info-row+.lead-info-row+.lead-info-row+.lead-info-row,
.lead-info h3+.lead-info-row+.lead-info-row+.lead-info-row+.lead-info-row+.lead-info-row{
  border-left:1px solid var(--border)!important;
  border-right:1px solid var(--border)!important;
}
.lead-info-row{
  min-height:46px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  align-items:center!important;
  padding:8px 18px!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
}
.lead-info-row span{
  color:var(--text-secondary)!important;
  font-size:14px!important;
  font-weight:500!important;
}
.lead-info-row strong{
  color:var(--text-primary)!important;
  font-size:14px!important;
  font-weight:500!important;
  text-align:left!important;
}
.lead-info-row i{width:10px!important;height:10px!important;box-shadow:none!important}
.lead-yesno{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:3px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:var(--surface-secondary)!important;
}
.lead-yesno label{display:block!important}
.lead-yesno input{position:absolute!important;opacity:0!important;width:0!important;height:0!important}
.lead-yesno span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:62px!important;
  height:34px!important;
  border-radius:10px!important;
  color:var(--text-secondary)!important;
  font-weight:600!important;
}
.lead-yesno input:checked+span{
  background:var(--primary-soft)!important;
  color:var(--primary)!important;
  box-shadow:inset 0 0 0 1px #FF9B72!important;
}
.lead-section-toggle{
  width:100%!important;
  min-height:56px!important;
  margin-top:18px!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  font-size:16px!important;
  font-weight:700!important;
}
.lead-section-toggle b{color:var(--text-primary)!important;font-size:20px!important}
.lead-extra-section{
  margin-top:10px!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  overflow:hidden!important;
}
.lead-extra-section .lead-info-row{border:0!important}
.lead-drawer-buttons{
  margin:24px 0 0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
}
.lead-drawer-buttons .btn{
  height:46px!important;
  border-radius:12px!important;
  background:var(--surface)!important;
  border-color:#F3B291!important;
  color:var(--primary)!important;
  font-weight:700!important;
}
.lead-drawer-buttons .btn:last-child{
  background:var(--primary)!important;
  color:#fff!important;
  border-color:var(--primary)!important;
}

.lead-edit{
  display:grid!important;
  gap:14px!important;
}
.lead-edit>h3{
  color:var(--text-primary)!important;
  font-size:17px!important;
  font-weight:700!important;
  margin:14px 0 2px!important;
}
.lead-edit label,.lead-sibling-tools{
  display:grid!important;
  grid-template-columns:118px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
}
.lead-edit label>span,.lead-sibling-tools>span{
  color:var(--text-secondary)!important;
  font-size:14px!important;
  font-weight:500!important;
}
.lead-edit input,.lead-edit select,.lead-edit textarea,.lead-input-wrap{
  border-radius:12px!important;
}
.lead-input-wrap input,.lead-edit select,.lead-edit textarea{
  min-height:46px!important;
  border:1px solid var(--border)!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
}
.lead-check{
  margin-left:118px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
.lead-save{height:48px!important;border-radius:12px!important}
.lead-photo-grid img{border-radius:14px!important;object-fit:cover!important}

.student-mini-avatar{
  overflow:hidden!important;
  border-color:#D9C4B1!important;
  background:#FFE7D1!important;
  color:#936A3D!important;
  font-weight:700!important;
}
.student-mini-avatar img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:50%!important;
}

@media(max-width:1200px){
  .content{padding:0 22px 28px!important}
  .screen-head,.pp-head{margin-left:-22px!important;margin-right:-22px!important;padding-left:22px!important;padding-right:22px!important}
  .lead-col{flex-basis:276px!important;min-width:276px!important}
  .lead-table-card{overflow-x:auto!important}
  .lead-table-head,.lead-table-row{min-width:900px!important}
}
@media(max-width:760px){
  .content{margin-left:0!important;padding:0 14px 74px!important}
  .screen-head,.pp-head{margin:0 -14px 18px!important;padding:28px 18px!important;min-height:116px!important}
  .lead-screen>.pp-head:before{left:18px!important}
  .lead-toolbar-paraplan{padding:16px!important;border-radius:16px!important}
  .lead-toolbar input,.lead-toolbar select,.lead-toolbar-add,.view-btn{width:100%!important;min-width:100%!important}
  .lead-board{gap:12px!important}
  .lead-col{flex-basis:84vw!important;min-width:84vw!important}
  .lead-drawer{width:100vw!important}
  .lead-avatar{grid-template-columns:72px minmax(0,1fr)!important}
  .lead-avatar>div,.lead-avatar img{width:72px!important;height:72px!important;font-size:34px!important}
}

:root,:root[data-theme=light],:root[data-theme=dark]{
  --sidebar-bg:#C95B0A;
  --sidebar-bg-hover:#B95005;
  --sidebar-bg-dark:#B94E05;
  --sidebar-text:#FFF9F1;
  --sidebar-active:#FFC978;
  --sidebar-active-text:#2F241A;
  --primary:#F4510B;
  --primary-hover:#DA4305;
  --primary-active:#C53A03;
  --primary-soft:#FFF0E6;
  --page-bg:#F8F4ED;
  --surface:#FFFDFC;
  --surface-secondary:#FCF8F3;
  --border:#E8DDD0;
  --text-primary:#27221E;
  --text-secondary:#756D66;
  --text-muted:#A39A92;
  --success:#657A38;
  --success-bg:#F0F3E5;
  --warning:#D37B15;
  --warning-bg:#FFF2DF;
  --danger:#D94F38;
  --danger-bg:#FFF0EC;
}

/* warm-tasks-schedule-v67 */
:root,:root[data-theme=light],:root[data-theme=dark]{
  --sidebar-bg:#C95B0A;
  --sidebar-hover:#B95005;
  --sidebar-bg-hover:#B95005;
  --sidebar-bg-dark:#B94E05;
  --sidebar-text:#FFF9F1;
  --sidebar-active:#FFC978;
  --sidebar-active-text:#2F241A;
  --primary:#F4510B;
  --primary-hover:#DA4305;
  --primary-active:#C53A03;
  --primary-soft:#FFF0E6;
  --page-bg:#F8F4ED;
  --surface:#FFFDFC;
  --surface-secondary:#FCF8F3;
  --border:#E8DDD0;
  --text-primary:#27221E;
  --text-secondary:#756D66;
  --text-muted:#A39A92;
  --success:#657A38;
  --success-bg:#F0F3E5;
  --warning:#D37B15;
  --warning-bg:#FFF2DF;
  --danger:#D94F38;
  --danger-bg:#FFF0EC;
  --shadow-card:0 8px 30px rgba(82,52,25,.07);
}
html,body,#root,.app-shell,.content{
  font-family:"Manrope","Inter",Arial,sans-serif!important;
  background:var(--page-bg)!important;
  color:var(--text-primary)!important;
}
.btn{
  min-height:44px!important;
  border-radius:12px!important;
  border:1px solid var(--border)!important;
  background:var(--surface)!important;
  color:var(--text-primary)!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.btn:hover{border-color:#F3B291!important;background:#FFF8F2!important}
.btn-primary{
  border-color:var(--primary)!important;
  background:var(--primary)!important;
  color:#fff!important;
}
.btn-primary:hover{background:var(--primary-hover)!important;border-color:var(--primary-hover)!important}
.btn-primary:active{background:var(--primary-active)!important;border-color:var(--primary-active)!important}
.btn-ghost{
  background:var(--surface)!important;
  color:var(--primary)!important;
  border-color:#E8C7B2!important;
}
.screen-head.pp-head,
.tasks-modern-head,
.schedule-modern-head{
  min-height:132px!important;
  margin:-2px -32px 22px!important;
  padding:26px 32px!important;
  background:linear-gradient(90deg,#FFFDFB 0%,#FFF8F0 100%)!important;
  border:0!important;
  border-bottom:1px solid var(--border)!important;
  box-shadow:0 8px 26px rgba(82,52,25,.04)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
}
.page-eyebrow{
  display:block!important;
  margin-bottom:6px!important;
  color:var(--primary)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:700!important;
}
.tasks-modern-head h1,
.schedule-modern-head h1,
.screen-head.pp-head h1{
  margin:0!important;
  color:var(--text-primary)!important;
  font-size:34px!important;
  line-height:1.08!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.tasks-modern-head p,
.schedule-modern-head p,
.screen-head.pp-head p{
  margin:8px 0 0!important;
  color:var(--text-secondary)!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:500!important;
}
.head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.head-actions .btn{
  height:46px!important;
  padding:0 20px!important;
}

.tasks-modern{
  display:block!important;
}
.tasks-kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  margin-bottom:18px!important;
}
.tasks-kpi-card{
  min-height:118px!important;
  padding:18px!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  box-shadow:var(--shadow-card)!important;
}
.tasks-kpi-icon{
  width:58px!important;
  height:58px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  background:var(--primary-soft)!important;
  flex:0 0 auto!important;
}
.tasks-kpi-card.today .tasks-kpi-icon{background:var(--warning-bg)!important}
.tasks-kpi-card.overdue .tasks-kpi-icon{background:var(--danger-bg)!important}
.tasks-kpi-card.completed .tasks-kpi-icon{background:var(--success-bg)!important}
.tasks-kpi-icon img{
  width:30px!important;
  height:30px!important;
  object-fit:contain!important;
}
.tasks-kpi-card p{
  margin:0 0 6px!important;
  color:var(--text-secondary)!important;
  font-size:15px!important;
  font-weight:500!important;
}
.tasks-kpi-card strong{
  color:var(--text-primary)!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:700!important;
}
.tasks-work-card{
  margin-bottom:16px!important;
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  box-shadow:var(--shadow-card)!important;
  overflow:hidden!important;
}
.tasks-quick-tabs{
  min-height:58px!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:flex-end!important;
  gap:26px!important;
  border-bottom:1px solid var(--border)!important;
}
.tasks-quick-tabs button{
  position:relative!important;
  height:58px!important;
  padding:0 0 14px!important;
  border:0!important;
  background:transparent!important;
  color:var(--text-primary)!important;
  font-size:15px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.tasks-quick-tabs button:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:3px!important;
  border-radius:4px 4px 0 0!important;
  background:transparent!important;
}
.tasks-quick-tabs button.active{color:var(--primary)!important}
.tasks-quick-tabs button.active:after{background:var(--primary)!important}
.tasks-quick-tabs span{
  margin-left:6px!important;
  padding:2px 8px!important;
  border-radius:999px!important;
  background:#F5EDE4!important;
  color:var(--warning)!important;
  font-size:12px!important;
  font-weight:700!important;
}
.tasks-toolbar{
  padding:18px!important;
  display:grid!important;
  grid-template-columns:minmax(260px,2fr) repeat(7,minmax(130px,1fr)) 46px auto!important;
  gap:12px!important;
  align-items:center!important;
  background:var(--surface)!important;
}
.tasks-toolbar input,
.tasks-toolbar select,
.schedule-modern-bar input,
.schedule-modern-bar select,
.schedule-multi-trigger{
  height:46px!important;
  min-width:0!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--text-primary)!important;
  font-size:14px!important;
  font-weight:500!important;
  padding:0 14px!important;
  outline:none!important;
}
.tasks-toolbar input:focus,
.tasks-toolbar select:focus,
.schedule-modern-bar select:focus,
.schedule-multi-trigger.active{
  border-color:#F3A374!important;
  box-shadow:0 0 0 3px rgba(244,81,11,.13)!important;
}
.tasks-reset,
.schedule-reset{
  color:var(--primary)!important;
  border-color:transparent!important;
  background:transparent!important;
}
.tasks-table-card{
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  background:var(--surface)!important;
  box-shadow:var(--shadow-card)!important;
  overflow:hidden!important;
}
.tasks-table-card .ui-table{
  table-layout:fixed!important;
  min-width:1120px!important;
  width:100%!important;
}
.tasks-table-card .ui-table-wrap{overflow:auto!important;border:0!important;border-radius:16px!important}
.tasks-table-card .ui-table th{
  height:50px!important;
  background:var(--surface)!important;
  color:var(--text-secondary)!important;
  border-bottom:1px solid var(--border)!important;
  font-size:13px!important;
  font-weight:600!important;
}
.tasks-table-card .ui-table td{
  height:62px!important;
  color:var(--text-primary)!important;
  border-bottom:1px solid var(--border)!important;
  overflow:hidden!important;
}
.tasks-table-card .ui-table-row-click:hover{background:#FFF8EF!important}
.tasks-table-card .ui-table th:nth-child(1),.tasks-table-card .ui-table td:nth-child(1){width:46px!important}
.tasks-table-card .ui-table th:nth-child(2),.tasks-table-card .ui-table td:nth-child(2){width:28%!important}
.tasks-table-card .ui-table th:nth-child(3),.tasks-table-card .ui-table td:nth-child(3){width:10%!important}
.tasks-table-card .ui-table th:nth-child(4),.tasks-table-card .ui-table td:nth-child(4){width:10%!important}
.tasks-table-card .ui-table th:nth-child(5),.tasks-table-card .ui-table td:nth-child(5){width:10%!important}
.tasks-table-card .ui-table th:nth-child(6),.tasks-table-card .ui-table td:nth-child(6){width:11%!important}
.tasks-table-card .ui-table th:nth-child(7),.tasks-table-card .ui-table td:nth-child(7){width:13%!important}
.tasks-table-card .ui-table th:nth-child(8),.tasks-table-card .ui-table td:nth-child(8){width:13%!important}
.tasks-table-card .ui-table th:nth-child(9),.tasks-table-card .ui-table td:nth-child(9){width:42px!important}
.task-complete-toggle{
  width:24px!important;
  height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #D8C7B6!important;
  border-radius:50%!important;
  background:#fff!important;
  color:var(--success)!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.task-complete-toggle.done{
  background:var(--success-bg)!important;
  border-color:#B8C58D!important;
}
.task-title-cell{min-width:0!important;overflow:hidden!important}
.task-title-cell strong{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--text-primary)!important;
  font-size:14px!important;
  font-weight:700!important;
}
.task-title-cell span{
  display:-webkit-box!important;
  max-width:100%!important;
  margin-top:3px!important;
  overflow:hidden!important;
  -webkit-line-clamp:1!important;
  -webkit-box-orient:vertical!important;
  color:var(--text-secondary)!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.task-badge,.task-priority{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  height:28px!important;
  padding:0 10px!important;
  border-radius:9px!important;
  font-size:13px!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
.task-badge.new{background:var(--primary-soft)!important;color:var(--primary)!important}
.task-badge.work{background:var(--warning-bg)!important;color:var(--warning)!important}
.task-badge.done{background:var(--success-bg)!important;color:var(--success)!important}
.task-badge.cancel{background:#F1ECE7!important;color:var(--text-secondary)!important}
.task-priority:before{
  content:""!important;
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:currentColor!important;
}
.task-priority.high{color:var(--danger)!important}
.task-priority.mid{color:var(--warning)!important}
.task-priority.low{color:var(--success)!important}
.task-due.overdue{color:var(--danger)!important;font-weight:700!important}
.task-executor-cell{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
}
.task-executor-cell i{
  width:30px!important;
  height:30px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  border-radius:50%!important;
  background:#FFD18A!important;
  color:#8C3C06!important;
  font-style:normal!important;
  font-size:12px!important;
  font-weight:700!important;
}
.task-executor-cell span{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.task-row-menu{
  width:32px!important;
  height:32px!important;
  border:0!important;
  background:transparent!important;
  color:var(--text-secondary)!important;
  font-size:22px!important;
  cursor:pointer!important;
}

.schedule-modern-head .btn-primary{display:inline-flex!important}
.schedule-v47 .pp-head .btn-primary{display:inline-flex!important}
.schedule-modern-bar{
  margin:0 0 0!important;
  padding:18px!important;
  display:grid!important;
  grid-template-columns:42px minmax(190px,260px) 42px auto minmax(140px,1fr) minmax(140px,1fr) minmax(150px,1fr) minmax(140px,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  box-shadow:var(--shadow-card)!important;
}
.schedule-modern-bar .pp-icon-btn,
.schedule-v47 .pp-icon-btn{
  width:42px!important;
  height:42px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--text-primary)!important;
  font-size:22px!important;
}
.schedule-modern-bar .pp-date-title{
  height:42px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--text-primary)!important;
  font-size:15px!important;
  font-weight:700!important;
}
.schedule-view-tabs{
  height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:3px!important;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:#fff!important;
}
.schedule-view-tabs button{
  height:38px!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:var(--text-primary)!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.schedule-view-tabs button.active{
  background:var(--primary)!important;
  color:#fff!important;
  box-shadow:0 4px 12px rgba(244,81,11,.18)!important;
}
.schedule-subbar{
  min-height:56px!important;
  margin:0 0 16px!important;
  padding:14px 18px!important;
  display:flex!important;
  align-items:center!important;
  gap:22px!important;
  flex-wrap:wrap!important;
  color:var(--text-secondary)!important;
  font-size:13px!important;
  font-weight:600!important;
}
.schedule-subbar label{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  cursor:pointer!important;
}
.schedule-subbar input{accent-color:var(--primary)!important}
.schedule-legend-item{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  max-width:160px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.schedule-legend-item i{
  width:12px!important;
  height:12px!important;
  flex:0 0 auto!important;
  border-radius:50%!important;
}
.schedule-v47 .pp-schedule-board{
  margin-top:0!important;
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  box-shadow:var(--shadow-card)!important;
  overflow:hidden!important;
}
.pp-board-scroll{
  cursor:grab!important;
}
.pp-board-scroll.dragging{
  cursor:grabbing!important;
  user-select:none!important;
}
.pp-time-grid-v47{
  min-width:max(1120px,calc(var(--days)*188px + 72px))!important;
  background:#FFFDFB!important;
}
.pp-time-grid-v47 .pp-time-head,
.pp-time-grid-v47 .pp-day-head{
  background:#FFF8F1!important;
  border-color:var(--border)!important;
  color:var(--text-primary)!important;
}
.pp-time-grid-v47 .pp-day-head strong{
  color:var(--text-primary)!important;
  font-size:15px!important;
  font-weight:700!important;
}
.pp-time-grid-v47 .pp-day-head span{
  color:var(--text-secondary)!important;
  font-size:12px!important;
  font-weight:600!important;
}
.pp-time-grid-v47 .pp-day-head.today strong{color:var(--primary)!important}
.pp-time-grid-v47 .pp-day-head.today:after{
  content:"РЎРµРіРѕРґРЅСЏ"!important;
  display:inline-flex!important;
  margin-left:8px!important;
  padding:2px 8px!important;
  border-radius:999px!important;
  background:var(--primary)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:700!important;
}
.pp-time-grid-v47 .pp-day-head.weekend,
.pp-time-grid-v47 .pp-day-column.weekend{background:#FFF8F0!important}
.pp-time-grid-v47 .pp-time-column{
  background:#FFFDFB!important;
  border-color:var(--border)!important;
}
.pp-hour,.pp-hour-bg{
  border-color:#F1E5DA!important;
  color:var(--text-secondary)!important;
}
.pp-current-time-line{
  height:2px!important;
  background:var(--primary)!important;
  box-shadow:0 0 0 1px rgba(244,81,11,.08)!important;
}
.pp-current-time-line:before{
  content:""!important;
  position:absolute!important;
  left:-5px!important;
  top:-4px!important;
  width:10px!important;
  height:10px!important;
  border-radius:50%!important;
  background:var(--primary)!important;
}
.pp-now-label{
  left:8px!important;
  padding:2px 7px!important;
  border-radius:999px!important;
  background:var(--primary)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
}
.pp-lesson-chip-v47{
  border:1px solid color-mix(in srgb,var(--lesson) 58%,#fff)!important;
  border-left:4px solid var(--lesson)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--lesson) 9%,#fff) 100%)!important;
  box-shadow:0 8px 22px rgba(82,52,25,.08)!important;
  color:var(--text-primary)!important;
  padding:10px 12px!important;
}
.pp-lesson-chip-v47:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 12px 26px rgba(82,52,25,.12)!important;
}
.pp-lesson-chip-v47 strong{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  font-size:14px!important;
  font-weight:800!important;
  color:var(--lesson)!important;
}
.pp-lesson-chip-v47 strong span{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.pp-lesson-chip-v47 strong i{
  width:8px!important;
  height:8px!important;
  flex:0 0 auto!important;
  border-radius:50%!important;
  background:var(--lesson)!important;
}
.pp-lesson-chip-v47>span,
.pp-lesson-chip-v47 small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--text-secondary)!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:600!important;
}
.schedule-multi-menu{
  z-index:30!important;
  border:1px solid var(--border)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(82,52,25,.13)!important;
}
.schedule-multi-menu input{
  height:40px!important;
  border:1px solid var(--border)!important;
  border-radius:10px!important;
  color:var(--text-primary)!important;
}
.schedule-multi-all{
  color:var(--primary)!important;
  font-weight:700!important;
}
.schedule-multi-list label:hover{
  background:#FFF8EF!important;
}
.schedule-multi-list input{
  accent-color:var(--primary)!important;
}

@media(max-width:1280px){
  .tasks-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tasks-toolbar{grid-template-columns:minmax(260px,1fr) repeat(3,minmax(130px,1fr))!important}
  .tasks-toolbar>*{min-width:0!important}
  .schedule-modern-bar{grid-template-columns:42px minmax(180px,1fr) 42px auto auto!important}
  .schedule-modern-bar>*:nth-child(n+6){grid-column:auto!important}
}
@media(max-width:760px){
  .tasks-modern-head,.schedule-modern-head{display:block!important;margin-left:-14px!important;margin-right:-14px!important;padding:24px 18px!important}
  .head-actions{justify-content:flex-start!important;margin-top:16px!important}
  .tasks-kpi-grid{grid-template-columns:1fr!important}
  .tasks-toolbar,.schedule-modern-bar{grid-template-columns:1fr!important}
  .schedule-view-tabs{width:100%!important}
  .schedule-view-tabs button{flex:1!important}
}


/* password-settings-v1 */
.settings-user-grid{display:grid;grid-template-columns:minmax(280px,420px) minmax(320px,520px);gap:18px;align-items:start}
.settings-user-card,.settings-password-card{border-radius:16px;border:1px solid var(--border,#E9DDD0);box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));background:var(--surface,#FFFDFC)}
.settings-user-card h2,.settings-password-card h2{font-size:22px;font-weight:700;color:var(--text-primary,#211D19);margin:0 0 8px}
.settings-user-profile{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px;border-radius:14px;background:var(--surface-secondary,#FAF6EF);border:1px solid var(--border,#E9DDD0)}
.settings-user-profile strong{display:block;font-size:17px;color:var(--text-primary,#211D19);margin-bottom:4px}
.settings-user-avatar{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--primary-soft,#FFF0E5);color:var(--primary,#F45B08);font-weight:700;font-size:22px;flex:0 0 auto}
.settings-password-card{display:flex;flex-direction:column;gap:13px}
.settings-password-card .form-field span{font-size:14px;font-weight:500;color:var(--text-secondary,#756E67);margin-bottom:6px}
.settings-password-card input{height:46px;border-radius:11px;border:1px solid var(--border,#E9DDD0);background:#fff;color:var(--text-primary,#211D19)}
.settings-password-card input:focus{border-color:var(--primary,#F45B08);box-shadow:0 0 0 3px var(--primary-soft,#FFF0E5)}
.settings-password-submit{align-self:flex-start;min-width:160px;height:46px;border-radius:11px;font-weight:600}
.settings-password-message{border-radius:10px;padding:10px 12px;margin:0}
@media(max-width:900px){.settings-user-grid{grid-template-columns:1fr}}


/* dashboard-period-v1 */
.dashboard-stats-block{
  margin:0 0 24px;
}
.dashboard-stats-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
}
.dashboard-stats-head span{
  display:block;
  color:var(--text-secondary,#756E67);
  font-size:14px;
  font-weight:500;
  margin-bottom:4px;
}
.dashboard-stats-head h2{
  margin:0;
  color:var(--text-primary,#211D19);
  font-size:24px;
  line-height:1.2;
  font-weight:700;
}
.dashboard-period-controls{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.dashboard-period-controls label{
  display:grid;
  gap:5px;
  color:var(--text-secondary,#756E67);
  font-size:12px;
  font-weight:500;
}
.dashboard-period-controls select,
.dashboard-period-controls input{
  height:44px;
  min-width:170px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:var(--surface,#FFFDFC);
  color:var(--text-primary,#211D19);
  padding:0 14px;
  font:500 14px "Inter",Arial,sans-serif;
  box-shadow:0 4px 16px rgba(82,52,25,.04);
}
.dashboard-period-controls select:hover,
.dashboard-period-controls input:hover{
  border-color:var(--primary,#F45B08);
}
.dashboard-period-controls select:focus,
.dashboard-period-controls input:focus{
  outline:2px solid rgba(244,91,8,.18);
  border-color:var(--primary,#F45B08);
}
@media(max-width:900px){
  .dashboard-stats-head{align-items:flex-start;flex-direction:column}
  .dashboard-period-controls{justify-content:flex-start}
  .dashboard-period-controls select,.dashboard-period-controls input{min-width:150px}
}

.schedule-settings-btn{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap!important;
}
.schedule-settings-btn .cr-filter-icon,
.sidebar-item .cr-filter-icon{
  margin:0!important;
}
.pp-filter-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:48px!important;
  min-width:48px!important;
  height:46px!important;
  padding:0!important;
  border-radius:12px!important;
  background:#FFFDFC!important;
  border-color:#E9DDD0!important;
}


/* icon refresh from crm-ui-icons.zip */
.cr-ui-icon{
  width:22px!important;
  height:22px!important;
  display:inline-block!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
}
.cr-ui-icon.small{width:20px!important;height:20px!important}
.pp-filter-button,
.student-filter-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:48px!important;
  min-width:48px!important;
  height:46px!important;
  padding:0!important;
}
.sidebar-item .cr-ui-icon{filter:brightness(0) invert(1)}
.sidebar-item-active .cr-ui-icon{filter:none}
.head-actions .btn-ghost{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
}

/* keep warm page eyebrow from colliding with titles */
.lead-screen .pp-head>div:first-child,
.screen-head.pp-head>div:first-child{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
}
.lead-screen .page-eyebrow,
.screen-head.pp-head .page-eyebrow{
  position:static!important;
  transform:none!important;
  margin:0 0 8px!important;
  line-height:1.2!important;
}
.lead-screen .pp-head h1{margin-top:0!important}

/* tasks: editable table values and stable rows */
.tasks-table-card .ui-table th:first-child,
.tasks-table-card .ui-table td:first-child{
  padding-left:22px!important;
}
.task-title-cell{
  max-width:100%!important;
  overflow:hidden!important;
}
.task-title-cell span{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  white-space:normal!important;
  line-height:1.35!important;
}
.task-inline-select{
  height:30px!important;
  min-width:116px!important;
  max-width:150px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  padding:0 28px 0 10px!important;
  font:inherit!important;
  cursor:pointer!important;
  outline:none!important;
}
.task-inline-select:hover,
.task-inline-select:focus{
  border-color:#F3A374!important;
  box-shadow:0 0 0 3px rgba(244,91,8,.12)!important;
}
.tasks-table-card .ui-table{table-layout:fixed!important}
.tasks-table-card .ui-table th:nth-child(1),
.tasks-table-card .ui-table td:nth-child(1){width:31%!important}
.tasks-table-card .ui-table th:nth-child(2),
.tasks-table-card .ui-table td:nth-child(2){width:12%!important}

/* task stages in modal */
.task-steps{
  display:grid!important;
  gap:14px!important;
  grid-column:1 / -1!important;
}
.task-step{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  gap:10px 14px!important;
  align-items:start!important;
}
.task-step-date{
  height:42px!important;
  text-align:center!important;
  font-weight:600!important;
}
.task-step textarea{
  min-height:112px!important;
}
.task-step-actions{
  grid-column:2!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.task-step-actions .btn{
  height:38px!important;
}

/* schedule cards should not cut off lesson content */
.pp-lesson-chip-v47{
  min-height:86px!important;
  padding:8px 10px!important;
}
.pp-lesson-chip-v47 strong{
  font-size:14px!important;
  margin-bottom:5px!important;
}
.pp-lesson-chip-v47 span,
.pp-lesson-chip-v47 small{
  font-size:12px!important;
  line-height:1.35!important;
}


/* schedule/task visual polish */
.schedule-modern-head .head-actions .btn-primary,
.pp-schedule-screen .schedule-modern-head .btn-primary{
  width:auto!important;
  min-width:186px!important;
  max-width:none!important;
  height:46px!important;
  padding:0 20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  white-space:nowrap!important;
  font-size:15px!important;
  line-height:1!important;
  border-radius:12px!important;
}
.pp-time-column .pp-hour{
  min-height:96px!important;
  height:96px!important;
}
.pp-hour-bg{
  height:96px!important;
}
.pp-lesson-chip-v47{
  min-height:72px!important;
  padding:10px 11px 12px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:2px!important;
}
.pp-lesson-chip-v47 strong{
  margin-bottom:4px!important;
}
.pp-lesson-chip-v47 span,
.pp-lesson-chip-v47 small{
  min-height:16px!important;
}
.task-step-date{
  border:4px solid #F45B08!important;
  border-radius:0!important;
  background:#FFFDFC!important;
  color:#111!important;
  font-size:18px!important;
  font-weight:700!important;
}
.task-step-actions{
  justify-content:flex-start!important;
}
.task-step-actions .btn{
  min-height:42px!important;
  height:auto!important;
  padding:8px 12px!important;
  border-radius:0!important;
  background:#fff!important;
  color:#111!important;
  font-weight:700!important;
  line-height:1.2!important;
}
.task-step-actions .task-stage-add{border:4px solid #F8C400!important}
.task-step-actions .task-stage-contact{border:4px solid #7B7B7B!important}
.task-step-actions .task-stage-message{
  max-width:210px!important;
  white-space:normal!important;
}
.task-step-actions .task-stage-done{
  margin-left:auto!important;
  border:4px solid #20A94D!important;
  max-width:140px!important;
  white-space:normal!important;
}
.task-step-actions .task-stage-paused{
  border:4px solid #F04422!important;
  max-width:170px!important;
  white-space:normal!important;
}
@media(max-width:900px){
  .task-step{grid-template-columns:1fr!important}
  .task-step-actions{grid-column:1!important}
  .task-step-actions .task-stage-done{margin-left:0!important}
}


/* schedule-task-air2 */
.pp-time-column .pp-hour{
  min-height:112px!important;
  height:112px!important;
}
.pp-hour-bg{
  height:112px!important;
}
.pp-lesson-chip-v47{
  min-height:96px!important;
  padding:10px 10px 14px!important;
  gap:3px!important;
  box-sizing:border-box!important;
}
.pp-lesson-chip-v47 strong{
  font-size:13px!important;
  line-height:1.2!important;
  margin-bottom:3px!important;
}
.pp-lesson-chip-v47 span,
.pp-lesson-chip-v47 small{
  display:block!important;
  flex:0 0 auto!important;
  min-height:15px!important;
  font-size:11.5px!important;
  line-height:1.3!important;
}
.pp-lesson-chip-v47 small:last-child{
  margin-bottom:2px!important;
}

.tasks-table-card .ui-table td{
  overflow:visible!important;
}
.tasks-table-card .ui-table th,
.tasks-table-card .ui-table td{
  vertical-align:middle!important;
}
.task-inline-select,
.task-inline-select.task-badge,
.task-inline-select.task-priority{
  display:inline-block!important;
  box-sizing:border-box!important;
  height:32px!important;
  min-height:32px!important;
  width:150px!important;
  min-width:150px!important;
  max-width:150px!important;
  padding:0 32px 0 12px!important;
  border:1px solid rgba(233,221,208,.95)!important;
  border-radius:9px!important;
  background-color:#FFFDFC!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23756E67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 10px center!important;
  background-size:16px 16px!important;
  color:var(--text-primary,#211D19)!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:30px!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  cursor:pointer!important;
  outline:none!important;
  box-shadow:none!important;
}
.task-inline-select.task-badge-status.new{background-color:#FFF0E5!important;color:#F45B08!important}
.task-inline-select.task-badge-status.work{background-color:#FFF2D9!important;color:#D47700!important}
.task-inline-select.task-badge-status.done{background-color:#EFF3E4!important;color:#61772D!important}
.task-inline-select.task-badge-status.cancel{background-color:#FFF0EC!important;color:#F04422!important}
.task-inline-select.task-priority{
  width:132px!important;
  min-width:132px!important;
  max-width:132px!important;
}
.task-inline-select.task-priority.high{background-color:#FFF0EC!important;color:#F04422!important}
.task-inline-select.task-priority.mid{background-color:#FFF2D9!important;color:#D47700!important}
.task-inline-select.task-priority.low{background-color:#EFF3E4!important;color:#61772D!important}
.task-inline-select:hover,
.task-inline-select:focus{
  border-color:#F45B08!important;
  box-shadow:0 0 0 3px rgba(244,91,8,.14)!important;
}


/* task-stages-redesign1 */
.task-steps-redesign{
  gap:18px!important;
}
.task-steps-list{
  display:grid!important;
  gap:18px!important;
}
.task-step-redesign{
  grid-template-columns:136px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.task-step-redesign .task-step-date{
  height:48px!important;
  border:1px solid var(--border,#E9DDD0)!important;
  border-left:4px solid var(--primary,#F45B08)!important;
  border-radius:12px!important;
  background:var(--surface,#FFFDFC)!important;
  color:var(--text-primary,#211D19)!important;
  font-size:15px!important;
  font-weight:600!important;
  text-align:center!important;
  box-shadow:none!important;
}
.task-step-description{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  min-width:0!important;
}
.task-step-description>span{
  color:var(--text-secondary,#756E67)!important;
  font-size:13px!important;
  font-weight:500!important;
}
.task-step-description textarea{
  width:100%!important;
  min-height:118px!important;
  border:1px solid var(--border,#E9DDD0)!important;
  border-radius:12px!important;
  background:var(--surface,#FFFDFC)!important;
  color:var(--text-primary,#211D19)!important;
  padding:12px 14px!important;
  line-height:1.45!important;
  resize:vertical!important;
  box-sizing:border-box!important;
}
.task-step-description textarea:focus,
.task-step-redesign .task-step-date:focus{
  outline:none!important;
  border-color:var(--primary,#F45B08)!important;
  box-shadow:0 0 0 3px rgba(244,91,8,.12)!important;
}
.task-step-tools{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  padding-left:150px!important;
}
.task-step-tools .btn{
  height:36px!important;
  min-height:36px!important;
  border-radius:10px!important;
  padding:0 12px!important;
  line-height:1!important;
  font-size:13px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.task-step-tools .task-stage-add{
  border:1px solid var(--primary,#F45B08)!important;
  background:var(--surface,#FFFDFC)!important;
  color:var(--primary,#F45B08)!important;
}
.task-quick-label{
  color:var(--text-secondary,#756E67)!important;
  font-size:13px!important;
  font-weight:600!important;
  margin-left:8px!important;
}
.task-step-tools .task-quick-reply{
  border:1px solid #E2D7CC!important;
  background:#F4F0EA!important;
  color:#5D544B!important;
}
.task-step-tools .task-quick-reply:hover{
  background:#ECE5DD!important;
  color:var(--text-primary,#211D19)!important;
}
.task-completion-status{
  border-top:1px solid var(--border,#E9DDD0)!important;
  padding-top:16px!important;
  display:grid!important;
  gap:10px!important;
}
.task-completion-status h3{
  margin:0!important;
  color:var(--text-primary,#211D19)!important;
  font-size:15px!important;
  font-weight:700!important;
}
.task-completion-buttons{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.task-completion-buttons button{
  height:42px!important;
  border:1px solid var(--border,#E9DDD0)!important;
  border-radius:11px!important;
  background:var(--surface,#FFFDFC)!important;
  color:var(--text-secondary,#756E67)!important;
  font-weight:600!important;
  cursor:pointer!important;
}
.task-completion-buttons button:hover{
  border-color:var(--primary,#F45B08)!important;
  color:var(--primary,#F45B08)!important;
}
.task-completion-buttons button.active{
  background:var(--primary-soft,#FFF0E5)!important;
  border-color:var(--primary,#F45B08)!important;
  color:var(--primary,#F45B08)!important;
}
.task-completion-buttons button.done.active{
  background:var(--success-bg,#EFF3E4)!important;
  border-color:var(--success,#61772D)!important;
  color:var(--success,#61772D)!important;
}
.task-completion-buttons button.paused.active{
  background:var(--danger-bg,#FFF0EC)!important;
  border-color:var(--danger,#F04422)!important;
  color:var(--danger,#F04422)!important;
}
@media(max-width:900px){
  .task-step-redesign{grid-template-columns:1fr!important}
  .task-step-tools{padding-left:0!important}
  .task-completion-buttons{grid-template-columns:1fr!important}
}


/* task-completion-status-colors1 */
.task-completion-buttons{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.task-completion-buttons button.work{
  background:#FFF8E8!important;
  border-color:#F4D18D!important;
  color:#9A6200!important;
}
.task-completion-buttons button.done{
  background:var(--success-bg,#EFF3E4)!important;
  border-color:#CBD9AC!important;
  color:var(--success,#61772D)!important;
}
.task-completion-buttons button.paused{
  background:#F3F0EC!important;
  border-color:#DDD4CB!important;
  color:#756E67!important;
}
.task-completion-buttons button.rejected{
  background:var(--danger-bg,#FFF0EC)!important;
  border-color:#F7B5A9!important;
  color:var(--danger,#F04422)!important;
}
.task-completion-buttons button.work.active{
  background:#FFEBC2!important;
  border-color:#D47700!important;
  color:#7B4C00!important;
}
.task-completion-buttons button.done.active{
  background:#DDE8C7!important;
  border-color:var(--success,#61772D)!important;
  color:var(--success,#61772D)!important;
}
.task-completion-buttons button.paused.active{
  background:#E4DDD6!important;
  border-color:#A49B92!important;
  color:#4F4740!important;
}
.task-completion-buttons button.rejected.active{
  background:#FFD8D0!important;
  border-color:var(--danger,#F04422)!important;
  color:var(--danger,#F04422)!important;
}
@media(max-width:900px){
  .task-completion-buttons{grid-template-columns:1fr!important}
}


/* task-modal-polish1 */
.task-step-redesign{
  grid-template-columns:116px minmax(0,1fr)!important;
  gap:12px!important;
}
.task-step-redesign .task-step-date{
  width:112px!important;
  height:42px!important;
  padding:0 30px 0 10px!important;
  font-size:13px!important;
  border-radius:10px!important;
  background-color:var(--surface,#FFFDFC)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23756E67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 9px center!important;
  background-size:15px 15px!important;
}
.task-step-description textarea{
  width:calc(100% - 28px)!important;
  max-height:132px!important;
  overflow:auto!important;
}
.task-step-tools{
  padding-left:128px!important;
  align-items:flex-start!important;
}
.task-step-tools .task-stage-add{
  flex:0 0 auto!important;
  margin-right:100%!important;
  margin-bottom:2px!important;
}
.task-quick-label{
  flex:0 0 128px!important;
  margin-left:0!important;
  height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
}
.task-step-tools .task-quick-reply{
  flex:0 0 auto!important;
}
.task-extra{
  border-top:1px solid var(--border,#E9DDD0)!important;
  padding-top:12px!important;
}
.task-extra>summary{
  display:none!important;
}
.task-extra[open]>summary + .task-modal-grid.inner{
  margin-top:0!important;
}
@media(max-width:900px){
  .task-step-redesign{grid-template-columns:1fr!important}
  .task-step-redesign .task-step-date{width:100%!important;max-width:180px!important}
  .task-step-description textarea{width:100%!important}
  .task-step-tools{padding-left:0!important}
  .task-step-tools .task-stage-add{margin-right:0!important}
  .task-quick-label{flex-basis:100%!important}
}


/* task-date-layout2 */
.task-step-redesign{
  grid-template-columns:118px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:start!important;
}
.task-step-left{
  display:grid!important;
  gap:8px!important;
  justify-items:start!important;
  align-content:start!important;
}
.task-step-right{
  display:grid!important;
  gap:8px!important;
  min-width:0!important;
}
.task-step-date-wrap,
.task-result-date-wrap{
  position:relative!important;
  width:112px!important;
}
.task-step-date-wrap .task-step-date,
.task-result-date-wrap .task-step-date{
  width:112px!important;
  height:42px!important;
  padding:0 34px 0 10px!important;
}
.task-step-calendar{
  position:absolute!important;
  right:4px!important;
  top:4px!important;
  width:32px!important;
  height:34px!important;
  border:0!important;
  padding:0!important;
  opacity:0!important;
  cursor:pointer!important;
  z-index:2!important;
}
.task-step-calendar::-webkit-calendar-picker-indicator{
  cursor:pointer!important;
}
.task-step-left .task-stage-add{
  width:112px!important;
  min-height:38px!important;
  height:auto!important;
  padding:6px 8px!important;
  white-space:normal!important;
  line-height:1.15!important;
  font-size:12px!important;
}
.task-step-description{
  width:min(100%,520px)!important;
  max-width:520px!important;
}
.task-step-description textarea{
  width:100%!important;
  max-width:520px!important;
  max-height:132px!important;
  overflow:auto!important;
  resize:vertical!important;
}
.task-quick-under{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  max-width:540px!important;
}
.task-quick-under .task-quick-label{
  flex:0 0 100%!important;
  height:auto!important;
  margin:0!important;
}
.task-result-row{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:118px minmax(0,520px)!important;
  gap:12px!important;
  align-items:start!important;
}
.task-result-description{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  width:min(100%,520px)!important;
  max-width:520px!important;
}
.task-result-description textarea{
  width:100%!important;
  max-width:520px!important;
  max-height:116px!important;
  overflow:auto!important;
  resize:vertical!important;
}
@media(max-width:900px){
  .task-step-redesign,
  .task-result-row{grid-template-columns:1fr!important}
  .task-step-description,
  .task-result-description,
  .task-step-description textarea,
  .task-result-description textarea{max-width:none!important;width:100%!important}
}


/* task-date-layout3 */
.task-step-redesign{
  grid-template-columns:142px minmax(0,1fr)!important;
}
.task-step-date-wrap,
.task-result-date-wrap{
  width:136px!important;
}
.task-step-date-wrap .task-step-date,
.task-result-date-wrap .task-step-date{
  width:136px!important;
  height:42px!important;
  padding:0 36px 0 12px!important;
  font-size:12px!important;
  letter-spacing:0!important;
  box-sizing:border-box!important;
}
.task-step-calendar{
  right:5px!important;
  top:5px!important;
  width:30px!important;
  height:32px!important;
  color:transparent!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.task-step-calendar::-webkit-calendar-picker-indicator{
  width:30px!important;
  height:32px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  cursor:pointer!important;
}
.task-step-left .task-stage-add{
  width:136px!important;
}
.task-step-description,
.task-result-description{
  width:100%!important;
  max-width:none!important;
}
.task-step-description textarea{
  width:100%!important;
  max-width:none!important;
  min-height:86px!important;
  height:86px!important;
  max-height:124px!important;
  overflow:auto!important;
  box-sizing:border-box!important;
}
.task-result-row{
  grid-template-columns:142px minmax(0,1fr)!important;
}
.task-result-description textarea{
  width:100%!important;
  max-width:none!important;
  min-height:76px!important;
  height:76px!important;
  max-height:112px!important;
  overflow:auto!important;
  box-sizing:border-box!important;
}
.task-quick-under{
  max-width:none!important;
}
@media(max-width:900px){
  .task-step-redesign,
  .task-result-row{grid-template-columns:1fr!important}
  .task-step-date-wrap,
  .task-result-date-wrap,
  .task-step-date-wrap .task-step-date,
  .task-result-date-wrap .task-step-date,
  .task-step-left .task-stage-add{width:136px!important;max-width:100%!important}
}


/* student-task-filter-multi1 */
.pp-filter-grid .student-task-filter-label{grid-column:1 / -1!important}
.student-task-checks{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 12px!important;padding:12px!important;border:1px solid var(--border,#E8DDD0)!important;border-radius:12px!important;background:var(--surface,#FFFDFC)!important}
.student-task-check{display:flex!important;align-items:center!important;gap:8px!important;min-height:34px!important;margin:0!important;color:var(--text-primary,#27221E)!important;font-size:14px!important;cursor:pointer!important}
.student-task-check input{width:18px!important;height:18px!important;margin:0!important;accent-color:var(--primary,#F45B08)!important}
.pp-filter-grid .age-range-from{grid-column:1!important}
.pp-filter-grid .age-range-to{grid-column:2!important}
.pp-filter-grid .age-range-label{align-self:start!important}
@media(max-width:700px){.student-task-checks{grid-template-columns:1fr!important}.pp-filter-grid .age-range-from,.pp-filter-grid .age-range-to{grid-column:auto!important}}

/* task-modal-reference-polish1 */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");
.task-modal-backdrop{
  background:rgba(46,35,28,.28)!important;
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
}
.task-modal-paraplan{
  --task-modal-bg:#FFFDFC;
  --task-page-bg:#F8F4ED;
  --task-primary:#F4510B;
  --task-primary-hover:#DA4305;
  --task-primary-soft:#FFF0E6;
  --task-border:#E8DDD0;
  --task-divider:#EEE4D9;
  --task-text:#27221E;
  --task-text-secondary:#756D66;
  --task-placeholder:#A39A92;
  --task-work:#C56A00;
  --task-work-bg:#FFF8EC;
  --task-work-border:#E7A545;
  --task-done:#718344;
  --task-done-bg:#F1F5E8;
  --task-done-border:#B9C694;
  --task-paused:#81776F;
  --task-paused-bg:#F3EFEB;
  --task-paused-border:#D9CFC7;
  --task-rejected:#D85B45;
  --task-rejected-bg:#FFF1EE;
  --task-rejected-border:#F0A394;
  width:min(1240px,calc(100vw - 48px))!important;
  max-height:calc(100vh - 40px)!important;
  overflow-y:auto!important;
  padding:28px 42px 30px!important;
  border-radius:18px!important;
  border:1px solid rgba(232,221,208,.9)!important;
  background:var(--task-modal-bg)!important;
  box-shadow:0 18px 55px rgba(70,43,24,.12)!important;
  font-family:"Manrope",Arial,sans-serif!important;
  color:var(--task-text)!important;
}
.task-modal-paraplan .pp-modal-head{
  padding:0 0 20px!important;
  margin:0!important;
  border-bottom:0!important;
}
.task-modal-paraplan .pp-modal-head h2{
  margin:0!important;
  font-size:28px!important;
  line-height:1.25!important;
  font-weight:700!important;
  color:var(--task-text)!important;
}
.task-modal-paraplan .pp-icon-btn{
  width:42px!important;
  height:42px!important;
  border-radius:10px!important;
  border:1px solid var(--task-border)!important;
  background:var(--task-modal-bg)!important;
  color:var(--task-text)!important;
  font-size:20px!important;
}
.task-modal-paraplan .pp-icon-btn:hover{
  background:var(--task-primary-soft)!important;
  border-color:#F3B18C!important;
}
.task-modal-paraplan .task-modal-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:22px 28px!important;
}
.task-modal-paraplan label{
  gap:7px!important;
  color:var(--task-text-secondary)!important;
  font-size:13px!important;
  font-weight:500!important;
}
.task-modal-paraplan input,
.task-modal-paraplan select{
  height:48px!important;
  border-radius:12px!important;
  border:1px solid var(--task-border)!important;
  background:var(--task-modal-bg)!important;
  color:var(--task-text)!important;
  padding:0 16px!important;
  font-size:14px!important;
  font-family:"Manrope",Arial,sans-serif!important;
  font-weight:500!important;
}
.task-modal-paraplan textarea{
  border-radius:12px!important;
  border:1px solid var(--task-border)!important;
  background:var(--task-modal-bg)!important;
  color:var(--task-text)!important;
  padding:16px 18px!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-family:"Manrope",Arial,sans-serif!important;
  resize:vertical!important;
}
.task-modal-paraplan input::placeholder,
.task-modal-paraplan textarea::placeholder{
  color:var(--task-placeholder)!important;
}
.task-modal-paraplan input:focus,
.task-modal-paraplan select:focus,
.task-modal-paraplan textarea:focus{
  outline:none!important;
  border-color:var(--task-primary)!important;
  box-shadow:0 0 0 3px rgba(244,81,11,.13)!important;
}
.task-modal-paraplan .task-steps{
  grid-column:1/-1!important;
  display:block!important;
  margin-top:0!important;
}
.task-modal-paraplan .task-step-redesign{
  display:grid!important;
  grid-template-columns:215px minmax(0,1fr)!important;
  column-gap:28px!important;
  row-gap:12px!important;
  align-items:start!important;
  margin:0 0 22px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.task-modal-paraplan .task-step-left{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
.task-modal-paraplan .task-step-date-wrap,
.task-modal-paraplan .task-result-date-wrap{
  position:relative!important;
  display:block!important;
  width:215px!important;
  height:62px!important;
}
.task-modal-paraplan .task-step-date,
.task-modal-paraplan .task-result-date{
  width:100%!important;
  height:62px!important;
  padding:0 44px 0 18px!important;
  border-left:4px solid var(--task-primary)!important;
  text-align:center!important;
  font-weight:700!important;
  color:var(--task-text)!important;
  background:#FFFDF9!important;
}
.task-modal-paraplan .task-step-calendar{
  position:absolute!important;
  top:50%!important;
  right:12px!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  opacity:.72!important;
  border:0!important;
  background:transparent!important;
  color:var(--task-text-secondary)!important;
}
.task-modal-paraplan .task-step-left .task-stage-add{
  width:215px!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 14px!important;
  border:1px solid var(--task-primary)!important;
  border-radius:12px!important;
  background:var(--task-modal-bg)!important;
  color:var(--task-primary)!important;
  font-size:14px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.task-modal-paraplan .task-step-left .task-stage-add:hover{
  background:var(--task-primary-soft)!important;
}
.task-modal-paraplan .task-step-description textarea{
  width:100%!important;
  min-height:135px!important;
}
.task-modal-paraplan .task-quick-under{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px 12px!important;
  margin-top:12px!important;
  padding:0!important;
}
.task-modal-paraplan .task-quick-under .task-quick-label{
  flex:0 0 100%!important;
  margin:0!important;
  color:var(--task-text-secondary)!important;
  font-size:13px!important;
  font-weight:500!important;
}
.task-modal-paraplan .task-quick-reply{
  height:40px!important;
  padding:0 18px!important;
  border-radius:11px!important;
  border:1px solid var(--task-border)!important;
  background:#FAF6F0!important;
  color:#3E3731!important;
  font-size:14px!important;
  font-weight:500!important;
}
.task-modal-paraplan .task-quick-reply:hover{
  background:var(--task-primary-soft)!important;
  border-color:#F3B18C!important;
  color:#C94A05!important;
}
.task-modal-paraplan .task-completion-status{
  grid-column:1/-1!important;
  margin-top:2px!important;
  padding-top:22px!important;
  border-top:1px solid var(--task-divider)!important;
}
.task-modal-paraplan .task-completion-status h3{
  margin:0 0 12px!important;
  color:var(--task-text)!important;
  font-size:16px!important;
  font-weight:700!important;
}
.task-modal-paraplan .task-completion-buttons{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.task-modal-paraplan .task-completion-buttons button{
  height:56px!important;
  border-radius:12px!important;
  font-size:14px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.task-modal-paraplan .task-completion-buttons button.work{
  background:var(--task-work-bg)!important;
  border-color:var(--task-work-border)!important;
  color:var(--task-work)!important;
}
.task-modal-paraplan .task-completion-buttons button.done{
  background:var(--task-done-bg)!important;
  border-color:var(--task-done-border)!important;
  color:var(--task-done)!important;
}
.task-modal-paraplan .task-completion-buttons button.paused{
  background:var(--task-paused-bg)!important;
  border-color:var(--task-paused-border)!important;
  color:var(--task-paused)!important;
}
.task-modal-paraplan .task-completion-buttons button.rejected{
  background:var(--task-rejected-bg)!important;
  border-color:var(--task-rejected-border)!important;
  color:var(--task-rejected)!important;
}
.task-modal-paraplan .task-completion-buttons button.active{
  border-width:2px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.72)!important;
}
.task-modal-paraplan .task-result-row{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:215px minmax(0,1fr)!important;
  gap:28px!important;
  align-items:start!important;
  margin:0!important;
  padding-top:22px!important;
  border-top:1px solid var(--task-divider)!important;
}
.task-modal-paraplan .task-result-description textarea{
  width:100%!important;
  min-height:108px!important;
}
.task-modal-paraplan .task-extra{
  grid-column:1/-1!important;
  margin:0!important;
  padding-top:22px!important;
  border-top:1px solid var(--task-divider)!important;
}
.task-modal-paraplan .task-extra summary{
  display:none!important;
}
.task-modal-paraplan .task-modal-grid.inner{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px 28px!important;
}
.task-modal-paraplan .task-modal-grid.inner .task-assignees{
  grid-column:1/-1!important;
}
.task-modal-paraplan .task-assignee-control select{
  width:100%!important;
}
.task-modal-paraplan .task-assignee-chips{
  margin-top:10px!important;
}
.task-modal-paraplan .task-modal-actions{
  margin-top:22px!important;
  display:flex!important;
  justify-content:center!important;
}
.task-modal-paraplan .task-modal-actions .btn{
  min-width:190px!important;
  height:48px!important;
  border-radius:12px!important;
  background:var(--task-primary)!important;
  color:#fff!important;
  font-weight:700!important;
}
.task-modal-paraplan .task-modal-actions .btn:hover{
  background:var(--task-primary-hover)!important;
}
@media(max-width:900px){
  .task-modal-paraplan{padding:24px!important}
  .task-modal-paraplan .task-modal-grid,
  .task-modal-paraplan .task-step-redesign,
  .task-modal-paraplan .task-result-row,
  .task-modal-paraplan .task-modal-grid.inner{grid-template-columns:1fr!important}
  .task-modal-paraplan .task-step-date-wrap,
  .task-modal-paraplan .task-result-date-wrap,
  .task-modal-paraplan .task-step-left .task-stage-add{width:100%!important;max-width:215px!important}
  .task-modal-paraplan .task-completion-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* schedule-toolbar-cleanup1 */
.schedule-modern .schedule-subbar{display:none!important}
.schedule-date-picker{position:relative!important;cursor:pointer!important;user-select:none!important}
.schedule-date-picker span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;pointer-events:none!important}
.schedule-date-picker input[type=date]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
.schedule-today-btn{border-color:var(--primary,#F45B08)!important;color:var(--primary,#F45B08)!important;background:#FFFDFC!important;font-weight:600!important}
.schedule-today-btn:hover{background:var(--primary-soft,#FFF0E5)!important}
.schedule-modern-bar{grid-template-columns:42px minmax(190px,260px) 42px 116px minmax(160px,1fr) minmax(160px,1fr) minmax(160px,1fr) auto!important}
.schedule-modern-bar .schedule-multi-filter{min-width:160px!important}
.schedule-modern-bar .schedule-multi-menu{z-index:80!important}
@media(max-width:1300px){.schedule-modern-bar{grid-template-columns:42px minmax(180px,1fr) 42px 116px repeat(3,minmax(150px,1fr))!important}}
@media(max-width:760px){.schedule-modern-bar{grid-template-columns:1fr!important}.schedule-date-picker,.schedule-today-btn,.schedule-modern-bar .schedule-multi-filter{width:100%!important}}

/* finance-paraplan1 */
.cr-finance-page{
  min-height:100vh;
  padding:28px 32px 44px;
  background:var(--page-bg,#FBF7F0);
  color:var(--text-primary,#211D19);
  font-family:"Inter",Arial,sans-serif;
}
.cr-page-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.cr-page-hero h1{
  margin:0;
  font-size:34px;
  line-height:1.1;
  font-weight:700;
  color:var(--text-primary,#211D19);
}
.cr-eyebrow{
  margin:0 0 8px;
  color:var(--primary,#F45B08);
  font-weight:600;
  font-size:14px;
}
.cr-finance-page .cr-primary-button{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:11px;
  padding:0 22px;
  background:var(--primary,#F45B08);
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  box-shadow:0 10px 18px rgba(244,91,8,.18);
}
.cr-finance-page .cr-primary-button:hover{background:var(--primary-hover,#DC4E04)}
.cr-finance-page .cr-primary-button:active{background:var(--primary-active,#C94402)}
.cr-finance-page .cr-primary-button:focus-visible{outline:3px solid rgba(244,91,8,.28);outline-offset:2px}
.cr-finance-tabs{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  min-height:58px;
  margin:0 -32px 24px;
  background:var(--surface,#FFFDFC);
  border-top:1px solid var(--border,#E9DDD0);
  border-bottom:1px solid var(--border,#E9DDD0);
  box-shadow:0 8px 24px rgba(82,52,25,.05);
}
.cr-finance-tabs button{
  position:relative;
  border:0;
  background:transparent;
  color:var(--text-secondary,#756E67);
  height:58px;
  padding:0 2px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}
.cr-finance-tabs button.active{color:var(--primary,#F45B08)}
.cr-finance-tabs button.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  border-radius:999px;
  background:var(--primary,#F45B08);
}
.cr-finance-tabs span{
  margin-left:6px;
  padding:2px 7px;
  border-radius:7px;
  background:var(--primary-soft,#FFF0E5);
  color:var(--primary,#F45B08);
  font-size:12px;
}
.cr-finance-filters{
  display:grid;
  grid-template-columns:minmax(190px,1.15fr) minmax(150px,.85fr) minmax(150px,.85fr) minmax(145px,.75fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(190px,1.1fr);
  gap:12px;
  margin-bottom:14px;
}
.cr-search-field,
.cr-finance-date,
.cr-finance-select{
  position:relative;
  min-height:46px;
  display:flex;
  align-items:center;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:var(--surface,#FFFDFC);
  color:var(--text-primary,#211D19);
  overflow:hidden;
}
.cr-search-field:focus-within,
.cr-finance-date:focus-within,
.cr-finance-select:focus-within{
  border-color:var(--primary,#F45B08);
  box-shadow:0 0 0 3px rgba(244,91,8,.12);
}
.cr-search-field input,
.cr-finance-date input,
.cr-finance-select select{
  width:100%;
  height:46px;
  border:0;
  outline:0;
  background:transparent;
  padding:0 42px 0 14px;
  color:var(--text-primary,#211D19);
  font-size:14px;
  font-weight:500;
}
.cr-search-field input::placeholder,
.cr-finance-date input::placeholder{color:var(--text-muted,#A49B92)}
.cr-finance-date svg,
.cr-finance-select svg,
.cr-calendar-glyph,
.cr-chevron-glyph{
  position:absolute;
  right:13px;
  color:var(--text-muted,#A49B92);
  pointer-events:none;
}
.cr-calendar-glyph{
  width:17px;
  height:17px;
  border:2px solid currentColor;
  border-radius:4px;
}
.cr-calendar-glyph:before{
  content:"";
  position:absolute;
  left:2px;
  right:2px;
  top:4px;
  border-top:2px solid currentColor;
}
.cr-calendar-glyph:after{
  content:"";
  position:absolute;
  top:-4px;
  left:3px;
  width:9px;
  height:5px;
  border-left:2px solid currentColor;
  border-right:2px solid currentColor;
}
.cr-chevron-glyph{
  font-size:18px;
  line-height:1;
  transform:translateY(-1px);
}
.cr-close-glyph,.cr-more-glyph{
  font-size:25px;
  line-height:1;
  font-weight:400;
}
.cr-more-glyph{
  font-size:27px;
  transform:translateY(-1px);
}
.cr-finance-date .native-date-input{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:46px;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.cr-finance-page .cr-table-card{
  background:var(--surface,#FFFDFC);
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
  overflow:hidden;
}
.cr-finance-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
.cr-finance-table th,
.cr-finance-table td{
  height:58px;
  padding:0 24px;
  border-bottom:1px solid var(--border,#E9DDD0);
  text-align:left;
  vertical-align:middle;
  color:var(--text-primary,#211D19);
  font-size:14px;
}
.cr-finance-table th{
  height:50px;
  color:var(--text-secondary,#756E67);
  font-weight:600;
  background:var(--surface-secondary,#FAF6EF);
}
.cr-finance-table tr:not(.cr-table-head){cursor:pointer}
.cr-finance-table tr:not(.cr-table-head):hover{background:#FFF8F1}
.cr-finance-table th:nth-child(1),.cr-finance-table td:nth-child(1){width:31%}
.cr-finance-table th:nth-child(2),.cr-finance-table td:nth-child(2){width:20%}
.cr-finance-table th:nth-child(3),.cr-finance-table td:nth-child(3){width:20%}
.cr-finance-table th:nth-child(4),.cr-finance-table td:nth-child(4){width:29%}
.cr-payer-cell{display:flex;align-items:center;gap:12px;min-width:0}
.cr-avatar-xs,.cr-avatar-sm{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border:1px solid var(--border,#E9DDD0);
  background:var(--primary-soft,#FFF0E5);
  color:var(--text-secondary,#756E67);
  font-weight:700;
}
.cr-avatar-xs{width:36px;height:36px;border-radius:50%;font-size:15px}
.cr-avatar-sm{width:64px;height:64px;border-radius:50%;font-size:28px}
.cr-positive{color:var(--success,#61772D)!important;font-weight:600}
.cr-negative{color:var(--danger,#F04422)!important;font-weight:600}
.cr-ellipsis{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.cr-table-footer{
  min-height:52px;
  display:flex;
  align-items:center;
  padding:0 24px;
  color:var(--text-secondary,#756E67);
  font-weight:500;
}
.cr-finance-page .cr-empty-panel{
  min-height:300px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  background:var(--surface,#FFFDFC);
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
}
.cr-finance-page .cr-empty-panel h2{margin:0 0 10px;font-size:24px}
.cr-finance-page .cr-empty-panel p{margin:0;color:var(--text-secondary,#756E67)}
.cr-finance-page .cr-drawer-backdrop,
.cr-finance-page .cr-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:120;
  background:rgba(47,36,26,.28);
  display:flex;
}
.cr-finance-page .cr-drawer-backdrop{justify-content:flex-end}
.cr-finance-drawer{
  width:min(430px,92vw);
  height:100%;
  padding:24px;
  overflow:auto;
  background:var(--surface,#FFFDFC);
  box-shadow:-18px 0 42px rgba(82,52,25,.12);
}
.cr-drawer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px;
}
.cr-finance-page .cr-icon-button{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:var(--surface,#FFFDFC);
  color:var(--text-primary,#211D19);
  cursor:pointer;
}
.cr-finance-page .cr-icon-button:hover{background:var(--primary-soft,#FFF0E5);color:var(--primary,#F45B08)}
.cr-finance-person{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:20px;
}
.cr-finance-person h2{margin:0;font-size:24px;font-weight:700}
.cr-finance-person p{margin:5px 0 0;color:var(--text-secondary,#756E67)}
.cr-drawer-card{
  padding:18px;
  margin-top:14px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:14px;
  background:var(--surface,#FFFDFC);
}
.cr-drawer-card h3{margin:0 0 16px;font-size:16px;font-weight:700}
.cr-drawer-card dl{margin:0;display:grid;gap:13px}
.cr-drawer-card dl div{display:grid;grid-template-columns:120px 1fr;gap:12px}
.cr-drawer-card dt{color:var(--text-secondary,#756E67)}
.cr-drawer-card dd{margin:0;font-weight:600}
.cr-drawer-comment{margin:0;color:var(--text-secondary,#756E67);line-height:1.55}
.cr-finance-page .cr-modal-backdrop{
  align-items:center;
  justify-content:center;
  padding:24px;
}
.cr-finance-modal{
  width:min(760px,94vw);
  max-height:92vh;
  overflow:auto;
  padding:30px 34px 36px;
  background:var(--surface,#FFFDFC);
  border-radius:16px;
  box-shadow:0 26px 70px rgba(82,52,25,.18);
}
.cr-finance-page .cr-modal-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding-bottom:18px;
  margin-bottom:22px;
  border-bottom:1px solid var(--border,#E9DDD0);
}
.cr-finance-page .cr-modal-title h2{margin:0;font-size:25px;font-weight:700}
.cr-finance-page .cr-form-row{
  display:grid;
  grid-template-columns:150px 1fr;
  align-items:center;
  gap:18px;
  margin-bottom:14px;
}
.cr-finance-page .cr-form-row>label:first-child,
.cr-finance-page .cr-form-row>span:first-child{
  color:var(--text-secondary,#756E67);
  font-weight:600;
}
.cr-finance-page .cr-form-row input:not([type=radio]),
.cr-finance-page .cr-form-row textarea,
.cr-finance-page .cr-form-row select{
  width:100%;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:var(--surface,#FFFDFC);
  color:var(--text-primary,#211D19);
  font:500 14px/1.4 "Inter",Arial,sans-serif;
  outline:0;
}
.cr-finance-page .cr-form-row input:not([type=radio]),
.cr-finance-page .cr-form-row select{height:46px;padding:0 14px}
.cr-finance-page .cr-form-row textarea{padding:12px 14px;resize:vertical}
.cr-finance-page .cr-form-row input:focus,
.cr-finance-page .cr-form-row textarea:focus,
.cr-finance-page .cr-form-row select:focus{
  border-color:var(--primary,#F45B08);
  box-shadow:0 0 0 3px rgba(244,91,8,.12);
}
.cr-finance-page .cr-radio-row{
  grid-template-columns:150px 120px 120px;
}
.cr-finance-page .cr-radio-row label{
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:600;
}
.cr-finance-page .cr-radio-row input{accent-color:var(--primary,#F45B08)}
.cr-finance-page .cr-form-error{
  margin:8px 0 0 168px;
  color:var(--danger,#F04422);
  font-weight:600;
}
.cr-finance-page .cr-modal-actions{
  display:flex;
  justify-content:center;
  padding-top:24px;
  margin-top:22px;
  border-top:1px solid var(--border,#E9DDD0);
}
@media(max-width:1200px){
  .cr-finance-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .cr-finance-page{padding:22px 16px}
  .cr-page-hero{align-items:flex-start;flex-direction:column}
  .cr-finance-tabs{margin-left:-16px;margin-right:-16px;gap:18px}
  .cr-finance-filters{grid-template-columns:1fr}
  .cr-finance-page .cr-table-card{overflow-x:auto}
  .cr-finance-table{min-width:760px}
  .cr-finance-page .cr-form-row,.cr-finance-page .cr-radio-row{grid-template-columns:1fr;gap:8px}
  .cr-finance-page .cr-form-error{margin-left:0}
}

/* attendance-teachers1 */
.att-run.att-run-dot{
  width:10px!important;
  height:10px!important;
  min-width:10px!important;
  padding:0!important;
  border-radius:50%!important;
  background:var(--primary,#F45B08)!important;
  color:transparent!important;
  box-shadow:0 0 0 4px rgba(244,91,8,.12)!important;
  overflow:hidden!important;
}
.att-lesson.active .att-run.att-run-dot{
  background:var(--success,#61772D)!important;
  box-shadow:0 0 0 4px rgba(97,119,45,.14)!important;
}
.teacher-done-table-clean th,
.teacher-done-table-clean td{
  width:auto;
}

/* attendance-lesson-status2 */
.att-lesson-status-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0 0;
  color:var(--text-secondary,#756E67);
}
.att-lesson-status-line strong{
  color:var(--text-primary,#211D19);
  font-weight:600;
}
.att-lesson-status-select{
  min-height:32px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:9px;
  padding:0 34px 0 12px;
  background:var(--surface,#FFFDFC);
  color:var(--text-secondary,#756E67);
  font-weight:600;
  outline:0;
}
.att-lesson-status-select.done{
  border-color:#C9D8B4;
  background:var(--success-bg,#EFF3E4);
  color:var(--success,#61772D);
}
.att-lesson-status-select.canceled{
  border-color:#FFD0C5;
  background:var(--danger-bg,#FFF0EC);
  color:var(--danger,#F04422);
}
.att-lesson-status-select:focus{
  border-color:var(--primary,#F45B08);
  box-shadow:0 0 0 3px rgba(244,91,8,.12);
}
.att-lesson-status-select:disabled{
  opacity:1;
  cursor:default;
}


/* teacher-done-counters1 */
.teacher-done-table-wide{
  min-width:1240px;
}
.teacher-done-table-wide th,
.teacher-done-table-wide td{
  white-space:normal;
  vertical-align:middle;
}
.teacher-done-table-wide th:nth-child(4),
.teacher-done-table-wide th:nth-child(5){
  min-width:190px;
}
.teacher-lesson-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:9px;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}
.teacher-lesson-status.done{
  background:var(--success-bg,#EFF3E4);
  color:var(--success,#61772D);
}
.teacher-lesson-status.canceled{
  background:var(--danger-bg,#FFF0EC);
  color:var(--danger,#F04422);
}
.teacher-lesson-status.planned{
  background:var(--surface-secondary,#FAF6EF);
  color:var(--text-secondary,#756E67);
}


/* teacher-done-counters2 */
.teacher-done-table-wide td:nth-child(n+4),
.teacher-done-table-wide th:nth-child(n+4){
  text-align:center;
}
.teacher-done-table-wide td:nth-child(1),
.teacher-done-table-wide th:nth-child(1),
.teacher-done-table-wide td:nth-child(3),
.teacher-done-table-wide th:nth-child(3){
  text-align:left;
}


/* employee-payout-roles1 */
.cr-employee-payout-panel{
  background:var(--surface,#FFFDFC);
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
  padding:24px;
}
.cr-employee-payout-head h2{
  margin:0 0 8px;
  font-size:24px;
}
.cr-employee-payout-head p,
.cr-employee-payout-note{
  margin:0;
  color:var(--text-secondary,#756E67);
}
.cr-employee-payout-row{
  display:grid;
  grid-template-columns:220px minmax(260px,420px);
  align-items:center;
  gap:16px;
  margin-top:22px;
}
.cr-employee-payout-row>label{
  color:var(--text-secondary,#756E67);
  font-weight:600;
}
.cr-employee-rate-select-line{
  display:flex;
  align-items:center;
  gap:10px;
}
.cr-employee-rate-select-line>.cr-select-filter{
  flex:1 1 auto;
}
.cr-employee-add-rate-menu{
  position:relative;
  flex:0 0 auto;
}
.cr-employee-add-rate-menu summary{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:0 14px;
  border:1px solid var(--primary,#F45B08);
  border-radius:10px;
  background:var(--primary,#F45B08);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  list-style:none;
  white-space:nowrap;
}
.cr-employee-add-rate-menu summary::-webkit-details-marker{
  display:none;
}
.cr-employee-add-rate-menu>div{
  position:absolute;
  z-index:25;
  right:0;
  top:calc(100% + 8px);
  width:240px;
  display:grid;
  gap:6px;
  padding:8px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
}
.cr-employee-add-rate-menu button{
  min-height:38px;
  border:0;
  border-radius:9px;
  background:#fff;
  color:var(--text-primary,#211D19);
  text-align:left;
  font-weight:700;
  cursor:pointer;
  padding:0 10px;
}
.cr-employee-add-rate-menu button:hover{
  background:var(--primary-soft,#FFF0E5);
  color:var(--primary,#F45B08);
}
.cr-employee-payout-note{
  margin-top:14px;
}
.cr-employee-rate-card{
  margin-top:18px;
  padding:18px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:14px;
  background:var(--surface-secondary,#FAF6EF);
}
.cr-employee-rate-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.cr-employee-rate-card h3{
  margin:0 0 8px;
  font-size:20px;
  color:var(--text-primary,#211D19);
}
.cr-employee-rate-heading{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.cr-employee-rate-name-input{
  width:min(520px,100%);
  height:40px;
  border:1px solid var(--primary,#F45B08);
  border-radius:10px;
  background:#fff;
  color:var(--text-primary,#211D19);
  font-size:18px;
  font-weight:700;
  padding:0 12px;
}
.cr-employee-rate-pencil{
  width:34px;
  height:34px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:9px;
  background:#fff;
  color:var(--primary,#F45B08);
  font-weight:700;
  cursor:pointer;
}
.cr-employee-rate-pencil:hover{
  background:var(--primary-soft,#FFF0E5);
}
.cr-employee-rate-edit{
  min-height:38px;
  padding:0 14px;
  border:1px solid var(--primary,#F45B08);
  border-radius:10px;
  background:#fff;
  color:var(--primary,#F45B08);
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.cr-employee-rate-edit:hover{
  background:var(--primary-soft,#FFF0E5);
}
.cr-employee-rate-card p{
  margin:0 0 16px;
  color:var(--text-secondary,#756E67);
}
.cr-employee-rate-money-row{
  display:grid;
  grid-template-columns:220px minmax(150px,240px) 110px;
  gap:12px;
  align-items:center;
  margin-bottom:12px;
}
.cr-employee-rate-money-row label{
  color:var(--text-secondary,#756E67);
  font-weight:600;
}
.cr-employee-rate-money-row input,
.cr-employee-rate-money-row select{
  height:44px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:#fff;
  color:var(--text-primary,#211D19);
  padding:0 12px;
}
.cr-employee-rate-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
  margin-top:14px;
}
.cr-employee-rate-check{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:9px 11px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:#fff;
  color:var(--text-primary,#211D19);
}
.cr-employee-rate-check input{
  width:18px;
  height:18px;
  accent-color:var(--primary,#F45B08);
}
.cr-employee-rate-money-row input:disabled,
.cr-employee-rate-money-row select:disabled,
.cr-employee-rate-check input:disabled{
  opacity:.62;
  cursor:not-allowed;
}
.cr-employee-rate-unit{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 10px;
  color:var(--text-secondary,#756E67);
  font-weight:700;
}
.cr-employee-rate-check:has(input:disabled){
  color:var(--text-muted,#A49B92);
}
.cr-employee-teacher-picker{
  margin-top:16px;
}
.cr-employee-teacher-trigger{
  min-height:44px;
  padding:12px 14px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:#fff;
  color:var(--text-primary,#211D19);
  font-weight:700;
  cursor:pointer;
}
.cr-employee-teacher-trigger::marker{
  color:var(--primary,#F45B08);
}
.cr-employee-teacher-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
  margin-top:10px;
}
.cr-employee-rate-assignments{
  margin-top:16px;
}
.cr-employee-rate-assign-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.cr-employee-rate-assign-head h4{
  margin:0;
  color:var(--text-primary,#211D19);
  font-size:16px;
}
.cr-employee-rate-add,
.cr-employee-rate-cancel,
.cr-employee-rate-remove{
  min-height:38px;
  padding:0 14px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:10px;
  background:#fff;
  color:var(--text-primary,#211D19);
  font-weight:700;
  cursor:pointer;
}
.cr-employee-rate-add{
  border-color:var(--primary,#F45B08);
  background:var(--primary,#F45B08);
  color:#fff;
}
.cr-employee-rate-add:hover{
  background:var(--primary-hover,#DC4E04);
}
.cr-employee-rate-add:disabled,
.cr-employee-rate-remove:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.cr-employee-rate-table{
  overflow:visible;
  border:1px solid var(--border,#E9DDD0);
  border-radius:12px;
  background:var(--surface,#FFFDFC);
}
.cr-employee-rate-table-head,
.cr-employee-rate-table-row{
  display:grid;
  grid-template-columns:minmax(220px,.9fr) minmax(280px,1.5fr) 110px;
  gap:12px;
  align-items:center;
  padding:12px 14px;
}
.cr-employee-rate-table-head{
  color:var(--text-secondary,#756E67);
  font-size:13px;
  font-weight:700;
  border-bottom:1px solid var(--border,#E9DDD0);
}
.cr-employee-rate-table-row+.cr-employee-rate-table-row{
  border-top:1px solid var(--border,#E9DDD0);
}
.cr-employee-rate-table-row:hover{
  background:var(--surface-secondary,#FAF6EF);
}
.cr-employee-rate-teacher-name{
  color:var(--text-primary,#211D19);
  font-weight:700;
}
.cr-employee-rate-table-empty{
  padding:16px 14px;
  color:var(--text-secondary,#756E67);
}
.cr-employee-class-picker{
  position:relative;
}
.cr-employee-class-picker summary{
  min-height:38px;
  padding:9px 12px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:10px;
  background:#fff;
  color:var(--text-primary,#211D19);
  font-weight:600;
  cursor:pointer;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cr-employee-class-options{
  position:absolute;
  z-index:15;
  top:calc(100% + 6px);
  left:0;
  width:min(360px,90vw);
  max-height:260px;
  overflow:auto;
  padding:10px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
}
.cr-employee-rate-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(47,36,26,.36);
}
.cr-employee-rate-modal{
  width:min(680px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  padding:26px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  background:var(--surface,#FFFDFC);
  box-shadow:0 24px 80px rgba(82,52,25,.2);
}
.cr-employee-rate-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid var(--border,#E9DDD0);
}
.cr-employee-rate-modal-head h3{
  margin:0;
  color:var(--text-primary,#211D19);
  font-size:22px;
}
.cr-employee-rate-modal-head button{
  width:36px;
  height:36px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:10px;
  background:#fff;
  color:var(--text-secondary,#756E67);
  font-size:24px;
  cursor:pointer;
}
.cr-employee-rate-modal-field{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:14px;
  align-items:start;
  margin-top:18px;
}
.cr-employee-rate-modal-field>span{
  padding-top:11px;
  color:var(--text-secondary,#756E67);
  font-weight:700;
}
.cr-employee-rate-modal-field select{
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:#fff;
  color:var(--text-primary,#211D19);
}
.cr-employee-modal-class-list{
  display:grid;
  gap:8px;
  min-height:44px;
  max-height:260px;
  overflow:auto;
  padding:10px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:#fff;
}
.cr-employee-rate-modal-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid var(--border,#E9DDD0);
}
@media(max-width:800px){
  .cr-employee-payout-row{
    grid-template-columns:1fr;
  }
  .cr-employee-rate-select-line{
    align-items:stretch;
    flex-direction:column;
  }
  .cr-employee-rate-money-row,
  .cr-employee-rate-grid,
  .cr-employee-teacher-list,
  .cr-employee-rate-table-head,
  .cr-employee-rate-table-row,
  .cr-employee-rate-modal-field{
    grid-template-columns:1fr;
  }
  .cr-employee-rate-title{
    flex-direction:column;
  }
}

/* communication-page1 */
.communication-page{
  min-height:100%;
  padding:28px 32px 44px;
  background:var(--page-bg,#FBF7F0);
}
.communication-card{
  margin-top:18px;
  max-width:760px;
  padding:26px 28px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  background:var(--surface,#FFFDFC);
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
}
.communication-card h2{
  margin:0 0 8px;
  color:var(--text-primary,#211D19);
  font-size:24px;
}
.communication-card p{
  margin:0;
  max-width:560px;
  color:var(--text-secondary,#756E67);
  line-height:1.55;
}

/* classes-events1 */
.pp-class-mode-tabs{display:flex;gap:8px;margin-top:10px}
.pp-class-mode-tabs button{height:38px;padding:0 16px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-secondary);font-weight:600;cursor:pointer}
.pp-class-mode-tabs button.active{background:var(--primary-soft);border-color:rgba(244,91,8,.35);color:var(--primary)}
.pp-event-table-head,.pp-event-row{display:grid;grid-template-columns:minmax(240px,1.5fr) 190px 150px minmax(220px,1fr);align-items:center;gap:18px;padding:0 22px}
.pp-event-table-head{height:52px;color:var(--text-secondary);font-size:13px;border-bottom:1px solid var(--border)}
.pp-event-row{min-height:66px;border-bottom:1px solid var(--border);cursor:pointer}
.pp-event-row:hover{background:var(--surface-secondary)}
.pp-status-pill{display:inline-flex;align-items:center;width:max-content;height:28px;padding:0 10px;border-radius:9px;background:var(--primary-soft);color:var(--primary);font-size:13px;font-weight:600}
.schedule-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.schedule-head-actions .btn{white-space:nowrap;min-width:max-content}
.pp-event-modal .pp-modal-actions{justify-content:center}


.records-toolbar .records-add-btn{
  white-space:nowrap;
  min-width:max-content;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.records-toolbar{
  align-items:flex-end;
}
.records-toolbar .toolbar-spacer{
  flex:1 0 100%;
  height:0;
}
.records-toolbar .records-add-trial{
  margin-left:auto;
}
@media(max-width:1120px){
  .records-toolbar .records-add-trial,
  .records-toolbar .records-add-event{
    flex:0 0 auto;
  }
}


.student-bookings-table.trial-bookings .student-prepared-head,
.student-bookings-table.trial-bookings .student-prepared-row{
  grid-template-columns:minmax(170px,1.2fr) minmax(125px,.8fr) minmax(170px,.95fr) minmax(130px,.8fr) minmax(120px,.75fr) minmax(135px,.8fr) minmax(170px,1fr)!important;
}
.student-bookings-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.student-bookings-actions .student-big-add{
  width:auto;
  min-width:220px;
}
.student-booking-kind-select{
  width:100%;
  min-width:150px;
  height:36px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  color:var(--text-primary);
  padding:0 10px;
}
.student-bookings-table.event-bookings .student-prepared-head,
.student-bookings-table.event-bookings .student-prepared-row{
  grid-template-columns:minmax(190px,1.35fr) minmax(130px,.85fr) minmax(150px,1fr) minmax(140px,.9fr) minmax(190px,1.2fr)!important;
}


/* classes-warm-design1 */
:root,:root[data-theme=light]{
  --color-sidebar:#C95B0A;
  --color-sidebar-dark:#B84C05;
  --color-primary:#F4510B;
  --color-primary-hover:#DA4305;
  --color-primary-soft:#FFF0E5;
  --color-nav-active:#FFC978;
  --color-nav-active-text:#2F241A;
  --color-background:#F8F4ED;
  --color-surface:#FFFDFC;
  --color-border:#E8DDD0;
  --color-text:#27221E;
  --color-text-secondary:#756D66;
  --color-text-muted:#A09890;
  --color-danger:#F04438;
  --color-danger-soft:#FFF1EF;
  --color-success:#718A35;
  --color-success-soft:#F2F5E8;
  --shadow-card:0 8px 24px rgba(92,55,24,.06);
  --shadow-button:0 6px 16px rgba(244,81,11,.18);
}
.pp-classes-screen{
  font-family:"Manrope",Arial,sans-serif!important;
  color:var(--color-text)!important;
}
.pp-classes-screen.pp-screen{
  gap:20px!important;
}
.pp-classes-screen>.pp-head{
  min-height:auto!important;
  margin:0 0 2px!important;
  padding:18px 0 10px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:24px!important;
}
.pp-classes-screen>.pp-head h1{
  margin:0!important;
  font-size:32px!important;
  line-height:1.18!important;
  font-weight:700!important;
  color:var(--color-text)!important;
}
.pp-classes-screen>.pp-head p{
  margin:8px 0 0!important;
  max-width:720px!important;
  font-size:15px!important;
  line-height:1.5!important;
  color:var(--color-text-secondary)!important;
}
.pp-classes-screen>.pp-head>.btn,
.pp-classes-screen>.pp-head button.btn-primary{
  min-height:48px!important;
  padding:0 22px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--color-primary)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:700!important;
  box-shadow:var(--shadow-button)!important;
  white-space:nowrap!important;
}
.pp-classes-screen>.pp-head button.btn-primary:hover{background:var(--color-primary-hover)!important}
.pp-classes-screen>.pp-head button.btn-primary:active{transform:translateY(1px) scale(.99)}
.pp-classes-screen .pp-class-mode-tabs{
  display:inline-flex!important;
  gap:0!important;
  margin-top:28px!important;
  padding:0!important;
  border:1px solid var(--color-border)!important;
  border-radius:12px!important;
  background:rgba(255,253,252,.72)!important;
  overflow:hidden!important;
}
.pp-classes-screen .pp-class-mode-tabs button{
  height:46px!important;
  min-width:132px!important;
  padding:0 24px!important;
  border:0!important;
  border-right:1px solid var(--color-border)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--color-text-secondary)!important;
  font-size:15px!important;
  font-weight:700!important;
}
.pp-classes-screen .pp-class-mode-tabs button:last-child{border-right:0!important}
.pp-classes-screen .pp-class-mode-tabs button.active{
  background:var(--color-surface)!important;
  color:var(--color-primary)!important;
  box-shadow:inset 0 -2px 0 var(--color-primary)!important;
}
.pp-classes-screen .pp-toolbar{
  margin:0!important;
  padding:24px!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  background:var(--color-surface)!important;
  border:1px solid var(--color-border)!important;
  border-radius:16px!important;
  box-shadow:var(--shadow-card)!important;
}
.pp-classes-screen .pp-toolbar input,
.pp-classes-screen .pp-toolbar select,
.pp-classes-screen .pp-toolbar .btn{
  min-height:48px!important;
  height:48px!important;
  border:1px solid var(--color-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--color-text)!important;
  font-size:14px!important;
  font-weight:600!important;
}
.pp-classes-screen .pp-toolbar input{
  flex:1 1 340px!important;
  min-width:260px!important;
  padding-left:44px!important;
  background:#fff url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23756D66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 16px center!important;
}
.pp-classes-screen .pp-toolbar input:focus,
.pp-classes-screen .pp-toolbar select:focus{
  border-color:var(--color-primary)!important;
  box-shadow:0 0 0 3px rgba(244,81,11,.18)!important;
}
.pp-classes-screen .pp-toolbar select{
  min-width:164px!important;
  padding:0 38px 0 14px!important;
}
.pp-classes-screen .pp-toolbar .btn{
  padding:0 18px!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.pp-classes-screen .pp-toolbar .btn:hover{background:#FFF9F4!important}
.pp-classes-screen .pp-toolbar .btn:nth-of-type(1)::before{
  content:"в–¦";
  font-size:16px;
  line-height:1;
}
.pp-classes-screen .pp-toolbar .btn:nth-of-type(2){
  border-color:#8B6250!important;
}
.pp-classes-screen .pp-toolbar .btn:nth-of-type(2)::before{
  content:"+";
  font-size:20px;
  line-height:1;
  font-weight:500;
}
.pp-classes-screen .pp-table-card{
  padding:0!important;
  margin-top:4px!important;
  overflow:hidden!important;
  background:var(--color-surface)!important;
  border:1px solid var(--color-border)!important;
  border-radius:16px!important;
  box-shadow:var(--shadow-card)!important;
}
.pp-classes-screen .pp-class-table,
.pp-classes-screen .pp-event-table{
  min-width:940px!important;
}
.pp-classes-screen .pp-class-table-head,
.pp-classes-screen .pp-class-row,
.pp-classes-screen .pp-event-table-head,
.pp-classes-screen .pp-event-row{
  display:grid!important;
  grid-template-columns:minmax(260px,1.45fr) 150px 230px minmax(410px,1.35fr)!important;
  gap:18px!important;
  align-items:center!important;
  padding:0 28px!important;
  border:0!important;
  border-bottom:1px solid var(--color-border)!important;
  box-shadow:none!important;
}
.pp-classes-screen .pp-event-table-head,
.pp-classes-screen .pp-event-row{
  grid-template-columns:minmax(260px,1.45fr) 180px 170px minmax(410px,1.35fr)!important;
}
.pp-classes-screen .pp-class-table-head,
.pp-classes-screen .pp-event-table-head{
  height:66px!important;
  background:var(--color-surface)!important;
  color:#5D554F!important;
  font-size:13px!important;
  font-weight:700!important;
}
.pp-classes-screen .pp-class-row,
.pp-classes-screen .pp-event-row{
  min-height:82px!important;
  background:var(--color-surface)!important;
  color:var(--color-text)!important;
  cursor:pointer!important;
}
.pp-classes-screen .pp-class-row:hover,
.pp-classes-screen .pp-event-row:hover{
  background:#FFF9F4!important;
}
.pp-classes-screen .pp-class-row.active,
.pp-classes-screen .pp-class-row:hover{
  border-left:0!important;
  box-shadow:none!important;
}
.pp-classes-screen .pp-class-name{
  display:grid!important;
  grid-template-columns:16px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:center!important;
}
.pp-classes-screen .pp-class-name i{
  width:12px!important;
  height:12px!important;
  border-radius:50%!important;
  box-shadow:0 0 0 3px rgba(244,81,11,.08)!important;
}
.pp-classes-screen .pp-class-name b,
.pp-classes-screen .pp-class-name strong{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--color-text)!important;
  font-size:15px!important;
  font-weight:700!important;
}
.pp-classes-screen .pp-class-row>span:nth-child(2),
.pp-classes-screen .pp-event-row>span:nth-child(2){
  justify-self:start!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:5px 12px!important;
  border:1px solid var(--color-border)!important;
  border-radius:9px!important;
  background:#F7F3EE!important;
  color:#5F5750!important;
  font-size:13px!important;
  font-weight:600!important;
}
.pp-classes-screen .pp-class-row>span:nth-child(3){
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  color:var(--color-text)!important;
  font-weight:600!important;
}
.pp-classes-screen .pp-class-row>span:nth-child(3)::before{
  content:"";
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:currentColor;
  opacity:.72;
  -webkit-mask:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pp-classes-screen .pp-status-pill{
  height:32px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  background:var(--color-success-soft)!important;
  color:var(--color-success)!important;
  font-size:13px!important;
  font-weight:700!important;
}
.pp-classes-screen .pp-row-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
}
.pp-classes-screen .pp-row-actions b{
  height:44px!important;
  min-width:116px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid var(--color-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#4C3428!important;
  font-size:14px!important;
  font-weight:700!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
.pp-classes-screen .pp-row-actions b:hover{background:#FFF9F4!important}
.pp-classes-screen .pp-row-actions b:nth-child(1)::before{content:"в–Ј";font-size:15px}
.pp-classes-screen .pp-row-actions b:nth-child(2){
  border-color:rgba(244,81,11,.45)!important;
  color:var(--color-primary)!important;
  background:#FFFDFC!important;
}
.pp-classes-screen .pp-row-actions b:nth-child(2)::before{content:"вњЋ";font-size:15px}
.pp-classes-screen .pp-row-actions b:nth-child(3){
  border-color:rgba(240,68,56,.45)!important;
  color:var(--color-danger)!important;
  background:#FFFDFC!important;
}
.pp-classes-screen .pp-row-actions b:nth-child(3)::before{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 16px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pp-classes-screen .pp-empty-state{
  padding:44px!important;
  color:var(--color-text-secondary)!important;
}
@media(max-width:1180px){
  .pp-classes-screen .pp-toolbar{align-items:stretch!important}
  .pp-classes-screen .pp-table-card{overflow-x:auto!important}
  .pp-classes-screen>.pp-head{flex-direction:column!important}
}
@media(max-width:760px){
  .pp-classes-screen>.pp-head{padding-top:6px!important;gap:16px!important}
  .pp-classes-screen>.pp-head h1{font-size:28px!important}
  .pp-classes-screen .pp-class-mode-tabs{width:100%!important;margin-top:18px!important}
  .pp-classes-screen .pp-class-mode-tabs button{flex:1!important;min-width:0!important}
  .pp-classes-screen .pp-toolbar{padding:16px!important;display:grid!important;grid-template-columns:1fr!important}
  .pp-classes-screen .pp-toolbar input,
  .pp-classes-screen .pp-toolbar select,
  .pp-classes-screen .pp-toolbar .btn{width:100%!important;min-width:0!important}
}


/* records-warm-design1 */
:root,:root[data-theme=light]{
  --records-sidebar:#C95B0A;
  --records-sidebar-dark:#B84C05;
  --records-primary:#F4510B;
  --records-primary-hover:#DA4305;
  --records-primary-soft:#FFF0E5;
  --records-bg:#F8F4ED;
  --records-surface:#FFFDFC;
  --records-border:#E8DDD0;
  --records-text:#27221E;
  --records-secondary:#756D66;
  --records-muted:#A09890;
  --records-success:#657B2C;
  --records-success-soft:#F2F5E8;
  --records-danger:#D94437;
  --records-danger-soft:#FFF1EF;
  --records-shadow:0 8px 24px rgba(92,55,24,.06);
  --records-primary-shadow:0 6px 16px rgba(244,81,11,.18);
}
.records-screen{
  font-family:"Manrope",Arial,sans-serif!important;
  color:var(--records-text)!important;
  gap:20px!important;
}
.records-screen .records-modern-head{
  min-height:auto!important;
  margin:0 0 2px!important;
  padding:18px 0 10px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:24px!important;
}
.records-screen .records-modern-head h1{
  margin:0!important;
  font-size:32px!important;
  line-height:1.18!important;
  font-weight:700!important;
  color:var(--records-text)!important;
}
.records-screen .records-modern-head p{
  margin:8px 0 0!important;
  font-size:15px!important;
  line-height:1.5!important;
  color:var(--records-secondary)!important;
}
.records-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.records-head-actions .records-add-btn{
  min-height:48px!important;
  height:48px!important;
  padding:0 22px!important;
  border-radius:12px!important;
  font-size:15px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.records-head-actions .records-add-trial{
  border:0!important;
  background:var(--records-primary)!important;
  color:#fff!important;
  box-shadow:var(--records-primary-shadow)!important;
}
.records-head-actions .records-add-trial:hover{background:var(--records-primary-hover)!important}
.records-head-actions .records-add-event{
  border:1px solid rgba(244,81,11,.55)!important;
  background:#fff!important;
  color:var(--records-primary)!important;
}
.records-head-actions .records-add-event:hover{background:var(--records-primary-soft)!important}
.records-toolbar{
  margin:0!important;
  padding:24px!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  background:var(--records-surface)!important;
  border:1px solid var(--records-border)!important;
  border-radius:16px!important;
  box-shadow:var(--records-shadow)!important;
}
.records-toolbar input,
.records-toolbar select,
.records-toolbar .btn{
  min-height:48px!important;
  height:48px!important;
  border:1px solid var(--records-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--records-text)!important;
  font-size:14px!important;
  font-weight:600!important;
}
.records-toolbar>input:first-child{
  flex:1 1 280px!important;
  min-width:240px!important;
  padding-left:44px!important;
  background:#fff url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23756D66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 16px center!important;
}
.records-toolbar select{
  min-width:158px!important;
  padding:0 38px 0 14px!important;
}
.records-date-filter{
  width:170px!important;
  min-width:170px!important;
}
.records-date-filter>input:first-child{
  width:100%!important;
  padding-right:42px!important;
}
.records-date-filter>input[type=date]{
  height:48px!important;
}
.records-date-filter>span{
  right:14px!important;
  color:var(--records-secondary)!important;
  font-size:0!important;
}
.records-date-filter>span::before{
  content:"";
  display:block;
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
.records-toolbar input:focus,
.records-toolbar select:focus{
  border-color:var(--records-primary)!important;
  box-shadow:0 0 0 3px rgba(244,81,11,.14)!important;
}
.records-reset-btn{
  margin-left:auto!important;
  padding:0 18px!important;
  border-color:transparent!important;
  color:var(--records-primary)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.records-reset-btn::before{
  content:"в†»";
  margin-right:8px;
  font-size:17px;
}
.records-reset-btn:hover{background:var(--records-primary-soft)!important}
.records-table-card{
  margin-top:4px!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--records-surface)!important;
  border:1px solid var(--records-border)!important;
  border-radius:16px!important;
  box-shadow:var(--records-shadow)!important;
}
.records-table-title{
  min-height:66px!important;
  padding:0 28px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  border-bottom:1px solid var(--records-border)!important;
  background:var(--records-surface)!important;
}
.records-table-title h2{
  margin:0!important;
  color:var(--records-text)!important;
  font-size:18px!important;
  font-weight:800!important;
}
.records-table-title span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:26px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:var(--records-primary-soft)!important;
  color:var(--records-primary)!important;
  font-size:13px!important;
  font-weight:700!important;
}
.records-table-head,
.records-table-row{
  display:grid!important;
  grid-template-columns:minmax(250px,1.35fr) minmax(190px,1fr) 170px 170px minmax(210px,1.05fr)!important;
  gap:16px!important;
  align-items:center!important;
  padding:0 28px!important;
  border-bottom:1px solid var(--records-border)!important;
}
.records-table-head{
  height:56px!important;
  background:var(--records-surface)!important;
  color:#5D554F!important;
  font-size:13px!important;
  font-weight:700!important;
}
.records-table-row{
  width:100%!important;
  min-height:72px!important;
  background:var(--records-surface)!important;
  color:var(--records-text)!important;
  text-align:left!important;
  cursor:pointer!important;
}
.records-table-row:hover,
.records-table-row.active{
  background:#FFF9F4!important;
}
.records-screen .lead-table-person{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
}
.records-screen .lead-table-person i{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  border:1px solid #E2D1C0!important;
  border-radius:50%!important;
  background:#FFE5C8!important;
  color:#8B5B2B!important;
  font-size:16px!important;
  font-weight:800!important;
}
.records-screen .lead-table-person b{
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
  font-weight:400!important;
}
.records-screen .lead-table-person strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--records-text)!important;
  font-size:15px!important;
  font-weight:800!important;
}
.records-screen .lead-table-person em{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--records-secondary)!important;
  font-size:13px!important;
  font-style:normal!important;
}
.records-target-cell{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
}
.records-target-cell i{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  border-radius:50%!important;
  background:#F47A16!important;
  box-shadow:0 0 0 3px rgba(244,122,22,.08)!important;
}
.records-target-cell b{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-weight:700!important;
  color:var(--records-text)!important;
}
.records-date-cell{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  color:var(--records-text)!important;
  font-weight:600!important;
}
.records-date-cell::before{
  content:"";
  width:17px;
  height:17px;
  flex:0 0 17px;
  background:var(--records-secondary);
  -webkit-mask:url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
.records-status-pill{
  justify-self:start!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  width:max-content!important;
  min-height:32px!important;
  padding:7px 11px!important;
  border-radius:9px!important;
  background:var(--records-primary-soft)!important;
  color:#C95B0A!important;
  font-size:13px!important;
  font-weight:700!important;
}
.records-status-pill::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#F47A16;
}
.records-status-pill.confirmed{
  background:var(--records-success-soft)!important;
  color:var(--records-success)!important;
}
.records-status-pill.confirmed::before{background:#718A35}
.records-status-pill.cancelled{
  background:var(--records-danger-soft)!important;
  color:var(--records-danger)!important;
}
.records-status-pill.cancelled::before{background:#F04438}
.records-comment-cell{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--records-text)!important;
}
.records-comment-cell:where(:empty),
.records-comment-cell[title="РќРµ СѓРєР°Р·Р°РЅ"]{
  color:var(--records-secondary)!important;
}
@media(max-width:1180px){
  .records-screen .records-modern-head{flex-direction:column!important}
  .records-table-card{overflow-x:auto!important}
  .records-table-head,.records-table-row{min-width:980px!important}
}
@media(max-width:760px){
  .records-screen .records-modern-head{padding-top:6px!important;gap:16px!important}
  .records-screen .records-modern-head h1{font-size:28px!important}
  .records-head-actions{width:100%!important}
  .records-head-actions .records-add-btn{flex:1 1 100%!important;width:100%!important}
  .records-toolbar{padding:16px!important;display:grid!important;grid-template-columns:1fr!important}
  .records-toolbar input,.records-toolbar select,.records-toolbar .btn,.records-date-filter{width:100%!important;min-width:0!important}
}


/* records-typography-exact1 */
.records-screen .lead-table-person strong{
  font-family:"Manrope",Arial,sans-serif!important;
  font-size:15px!important;
  line-height:20px!important;
  font-weight:600!important;
  color:#27221E!important;
}
.records-screen .lead-table-person em{
  font-family:"Manrope",Arial,sans-serif!important;
  font-size:13px!important;
  line-height:18px!important;
  font-weight:400!important;
  color:#756D66!important;
}
.records-screen .records-table-head span:first-child{
  font-family:"Manrope",Arial,sans-serif!important;
  font-size:13px!important;
  line-height:18px!important;
  font-weight:500!important;
  color:#756D66!important;
}


/* attendance-record-outcome1 */
.att-booking-person-button,
.att-booking-avatar-button{
  text-decoration:none!important;
}
.att-booking-person-button[href^="#/students/"],
.att-booking-avatar-button[href^="#/students/"]{
  cursor:pointer!important;
}
.records-table-head,
.records-table-row{
  grid-template-columns:minmax(250px,1.25fr) minmax(170px,.95fr) 150px 150px 140px minmax(200px,1fr)!important;
}
.records-outcome-cell{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--records-text)!important;
  font-weight:600!important;
}
.payment-purpose-v2>div{
  grid-template-columns:repeat(2,minmax(0,max-content))!important;
  column-gap:22px!important;
  row-gap:10px!important;
}
.payment-purpose-v2>div>select,
.payment-purpose-v2>div>input:not([type]),
.payment-purpose-v2>div>input[type=text]{
  grid-column:1 / -1!important;
}
.student-bookings-table.trial-bookings .student-prepared-head,
.student-bookings-table.trial-bookings .student-prepared-row{
  grid-template-columns:minmax(170px,1.05fr) 130px minmax(190px,1.05fr) minmax(170px,.95fr) 120px 140px minmax(180px,1fr)!important;
  min-width:1120px!important;
}
@media(max-width:1180px){
  .records-table-head,.records-table-row{min-width:1120px!important}
}


/* finance-salary1 */
.cr-finance-tab-action{
  display:flex;
  justify-content:flex-end;
  margin:18px 0 12px;
}
.cr-fixed-operation-type{
  min-height:46px;
  display:flex;
  align-items:center;
  color:var(--text-primary,#211D19);
  font-weight:700;
}
.cr-salary-panel{
  margin-top:18px;
  background:var(--surface,#FFFDFC);
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
  padding:24px;
}
.cr-salary-filters{
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr) 170px 170px;
  gap:12px;
  align-items:end;
  margin:18px 0;
}
.cr-salary-filters>label{
  display:grid;
  gap:6px;
  color:var(--text-secondary,#756E67);
  font-size:13px;
  font-weight:500;
}
.cr-salary-filters input{
  height:46px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  padding:0 12px;
  background:#fff;
}
.cr-salary-table-wrap{
  overflow-x:auto;
  border:1px solid var(--border,#E9DDD0);
  border-radius:14px;
  background:#fff;
}
.cr-salary-table{
  min-width:1500px;
}
.cr-salary-totals{
  display:grid;
  gap:10px;
  margin-top:18px;
  max-width:560px;
  margin-left:auto;
}
.cr-salary-totals>div{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:10px 14px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:10px;
  background:#fff;
}
.cr-salary-grand{
  background:var(--primary-soft,#FFF0E5)!important;
  color:var(--text-primary,#211D19);
}
.cr-salary-grand strong{
  color:var(--primary,#F45B08);
}
@media(max-width:980px){
  .cr-salary-filters{grid-template-columns:1fr}
}


/* ui-polish-finance-tasks-schedule1 */
.cr-finance-select select{
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  padding-right:42px!important;
}
.cr-finance-select select::-ms-expand{
  display:none!important;
}
.cr-finance-select .cr-chevron-glyph{
  pointer-events:none!important;
}
.cr-salary-filters .cr-finance-select select option[value=""]{
  color:var(--text-muted,#A49B92)!important;
}
.tasks-table-card .ui-table{
  min-width:1320px!important;
}
.tasks-table-card .ui-table th:nth-child(3),
.tasks-table-card .ui-table td:nth-child(3),
.tasks-table-card .ui-table th:nth-child(4),
.tasks-table-card .ui-table td:nth-child(4),
.tasks-table-card .ui-table th:nth-child(5),
.tasks-table-card .ui-table td:nth-child(5){
  width:150px!important;
  overflow:visible!important;
}
.tasks-table-card .ui-table td:nth-child(3),
.tasks-table-card .ui-table td:nth-child(4),
.tasks-table-card .ui-table td:nth-child(5){
  vertical-align:middle!important;
}
.task-inline-select,
.task-inline-select.task-badge,
.task-inline-select.task-priority{
  display:inline-flex!important;
  align-items:center!important;
  vertical-align:middle!important;
  margin:0!important;
  position:relative!important;
  top:auto!important;
  transform:none!important;
}
.pp-time-grid-v47 .pp-day-head{
  overflow:hidden!important;
  position:sticky!important;
}
.pp-time-grid-v47 .pp-day-head.today{
  padding-right:66px!important;
}
.pp-time-grid-v47 .pp-day-head.today:after{
  content:"РЎРµРіРѕРґРЅСЏ"!important;
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  margin-left:0!important;
  max-width:56px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:16px!important;
}


/* schedule smooth drag and single-day Today mode */
.pp-board-scroll{
  scroll-behavior:smooth!important;
  overscroll-behavior-x:contain!important;
}
.pp-board-scroll.dragging{
  scroll-behavior:auto!important;
}
.pp-time-grid-v47[style*="--days: 1"],
.pp-time-grid-v47[style*="--days:1"]{
  min-width:100%!important;
  grid-template-columns:72px minmax(720px,1fr)!important;
}


/* schedule sheet drag: make the board wider so left-button dragging is visible */
.schedule-modern .pp-time-grid-v47{
  min-width:max(1800px,calc(var(--days)*300px + 72px))!important;
}
.schedule-modern .pp-time-grid-v47[style*="--days: 1"],
.schedule-modern .pp-time-grid-v47[style*="--days:1"]{
  min-width:100%!important;
  grid-template-columns:72px minmax(720px,1fr)!important;
}


/* salary-rate-select1 */
.cr-salary-table .cr-salary-rate-select{
  width:100%;
  min-width:190px;
  height:38px;
  padding:0 34px 0 12px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:10px;
  background:var(--surface,#FFFDFC);
  color:var(--text-primary,#211D19);
  font:500 14px/1 "Inter",Arial,sans-serif;
  cursor:pointer;
}
.cr-salary-table .cr-salary-rate-select:hover{
  border-color:rgba(244,91,8,.45);
  background:#fff;
}
.cr-salary-table .cr-salary-rate-select:focus{
  outline:3px solid rgba(244,91,8,.18);
  border-color:var(--primary,#F45B08);
}


/* excel-salary-scroll1 */
.cr-top-actions{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-left:auto;
}
.cr-excel-export-button{
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border,#E9DDD0);
  border-radius:12px;
  background:var(--surface,#FFFDFC);
  color:#61772D;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(82,52,25,.06);
}
.cr-excel-export-button:hover{
  border-color:#61772D;
  background:var(--success-bg,#EFF3E4);
}
.cr-excel-export-button:focus-visible{
  outline:3px solid rgba(97,119,45,.22);
  outline-offset:2px;
}
.cr-excel-svg{
  display:block;
}
.cr-salary-panel .cr-salary-table-wrap{
  max-height:calc(100vh - 360px);
  min-height:260px;
  overflow:auto!important;
  overscroll-behavior:contain;
}
.cr-salary-empty{
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  border:1px dashed var(--border,#E9DDD0);
  border-radius:14px;
  background:var(--surface-secondary,#FAF6EF);
  color:var(--text-secondary,#756E67);
  font-weight:500;
}
.cr-salary-panel .cr-salary-table{
  min-width:1680px;
}
.cr-salary-panel .cr-salary-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:var(--surface,#FFFDFC);
}
@media(max-height:760px){
  .cr-salary-panel .cr-salary-table-wrap{max-height:420px}
}

/* dashboard-events-analytics1 */
.dashboard-events-block{
  margin:18px 0 24px;
  padding:18px;
  background:var(--surface,#FFFDFC);
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
}
.dashboard-events-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.dashboard-events-head h2{
  margin:0;
  font:700 20px/1.25 "Inter",Arial,sans-serif;
  color:var(--text-primary,#211D19);
}
.dashboard-events-head span{
  font:500 13px/1.3 "Inter",Arial,sans-serif;
  color:var(--text-muted,#A49B92);
}
.dashboard-events-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.dashboard-event-card{
  position:relative;
  min-height:116px;
  padding:14px 42px 14px 14px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:8px;
  background:#fff;
  border:1px solid var(--border,#E9DDD0);
  border-radius:14px;
  box-shadow:0 4px 16px rgba(82,52,25,.04);
}
.dashboard-event-card.empty{
  background:rgba(255,253,252,.55);
  border-style:dashed;
}
.dashboard-event-card span{
  min-height:34px;
  font:600 14px/1.25 "Inter",Arial,sans-serif;
  color:var(--text-primary,#211D19);
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.dashboard-event-card strong{
  font:700 26px/1 "Inter",Arial,sans-serif;
  color:var(--primary,#F45B08);
}
.dashboard-event-card em{
  font:500 12px/1.25 "Inter",Arial,sans-serif;
  font-style:normal;
  color:var(--text-secondary,#756E67);
}
.dashboard-event-edit{
  position:absolute;
  top:10px;
  right:10px;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border,#E9DDD0);
  border-radius:8px;
  background:#fff;
  color:var(--primary,#F45B08);
  cursor:pointer;
}
.dashboard-event-edit:hover{
  background:var(--primary-soft,#FFF0E5);
  border-color:var(--primary,#F45B08);
}
.dashboard-event-edit:focus-visible{
  outline:3px solid rgba(244,91,8,.18);
  outline-offset:2px;
}
.dash-event-picker{
  max-width:560px;
}
.dash-event-picker-list{
  display:grid;
  gap:8px;
  max-height:360px;
  overflow:auto;
}
.dash-event-picker-list button{
  padding:12px 14px;
  display:flex;
  flex-direction:column;
  gap:4px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:12px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.dash-event-picker-list button:hover{
  background:var(--primary-soft,#FFF0E5);
  border-color:var(--primary,#F45B08);
}
.dash-event-picker-list strong{
  font-weight:600;
  color:var(--text-primary,#211D19);
}
.dash-event-picker-list span{
  font-size:13px;
  color:var(--text-secondary,#756E67);
}
.analytics-period-custom{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.analytics-custom-range{
  display:flex;
  align-items:flex-end;
  gap:10px;
}
.analytics-custom-range label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font:500 12px/1.2 "Inter",Arial,sans-serif;
  color:var(--text-secondary,#756E67);
}
.analytics-custom-range input{
  height:40px;
  padding:0 10px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:10px;
  background:#fff;
  color:var(--text-primary,#211D19);
}
@media(max-width:1200px){
  .dashboard-events-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .dashboard-events-head{align-items:flex-start;flex-direction:column}
  .dashboard-events-grid{grid-template-columns:1fr}
}

/* schedule-delete-analytics-tabs1 */
.schedule-edit-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
}
.btn.btn-danger{
  border-color:rgba(240,68,34,.35);
  background:var(--danger-bg,#FFF0EC);
  color:var(--danger,#F04422);
}
.btn.btn-danger:hover{
  border-color:var(--danger,#F04422);
  background:#ffe5de;
}
.analytics-section-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:4px 0 18px;
  padding:8px;
  background:var(--surface,#FFFDFC);
  border:1px solid var(--border,#E9DDD0);
  border-radius:16px;
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
}
.analytics-section-tabs button{
  height:44px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:var(--text-secondary,#756E67);
  font:600 14px/1 "Inter",Arial,sans-serif;
  cursor:pointer;
}
.analytics-section-tabs button:hover{
  background:var(--primary-soft,#FFF0E5);
  color:var(--text-primary,#211D19);
}
.analytics-section-tabs button.active{
  background:var(--primary,#F45B08);
  color:#fff;
  box-shadow:0 8px 18px rgba(244,91,8,.18);
}
.analytics-summary-chart{
  display:grid;
  gap:14px;
  margin:16px 0 20px;
  padding:18px;
}
.analytics-summary-row{
  display:grid;
  grid-template-columns:180px minmax(160px,1fr) 150px;
  align-items:center;
  gap:14px;
}
.analytics-summary-row span{
  color:var(--text-secondary,#756E67);
  font-weight:600;
}
.analytics-summary-row div{
  height:12px;
  border-radius:999px;
  background:var(--surface-secondary,#FAF6EF);
  overflow:hidden;
}
.analytics-summary-row i{
  display:block;
  height:100%;
  border-radius:999px;
  background:var(--primary,#F45B08);
}
.analytics-summary-row.expense i{
  background:var(--danger,#F04422);
}
.analytics-summary-row.net i{
  background:var(--success,#61772D);
}
.analytics-summary-row strong{
  justify-self:end;
  color:var(--text-primary,#211D19);
  font-weight:700;
}
.analytics-placeholder{
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text-secondary,#756E67);
  font-weight:600;
}
.analytics-main-metrics{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.analytics-revenue-accordion{
  display:grid;
  gap:0;
  margin-top:20px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:14px;
  overflow:hidden;
  background:var(--surface,#FFFDFC);
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
}
.analytics-revenue-section.card{
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  border-bottom:1px solid var(--border,#E9DDD0);
}
.analytics-revenue-section.card:last-child{
  border-bottom:0;
}
.analytics-revenue-head{
  width:100%;
  min-height:56px;
  padding:0 20px;
  display:grid;
  grid-template-columns:20px minmax(0,1fr) 180px;
  align-items:center;
  gap:12px;
  border:0;
  background:transparent;
  color:var(--text-primary,#211D19);
  text-align:left;
  cursor:pointer;
}
.analytics-revenue-head:hover{
  background:var(--surface-secondary,#FAF6EF);
}
.analytics-revenue-head span{
  color:var(--text-muted,#A49B92);
  font-size:22px;
  line-height:1;
}
.analytics-revenue-head strong{
  font:700 15px/1.25 "Inter",Arial,sans-serif;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.analytics-revenue-head b{
  justify-self:end;
  font:700 15px/1.25 "Inter",Arial,sans-serif;
  color:var(--text-secondary,#756E67);
}
.analytics-revenue-body{
  padding:0 16px 16px 52px;
  background:linear-gradient(180deg,rgba(250,246,239,.55),rgba(255,253,252,.95));
}
.analytics-revenue-body .table-card,
.analytics-revenue-body .table-wrap{
  margin:0;
}
.analytics-section-filter{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  margin:2px 0 14px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface-secondary);
  color:var(--text-secondary);
  font-size:14px;
}
.analytics-section-filter>span{
  font-weight:600;
  color:var(--text-primary);
}
.analytics-section-filter label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0;
  cursor:pointer;
  white-space:nowrap;
}
.analytics-section-filter input{
  width:16px;
  height:16px;
  accent-color:var(--primary);
}
@media(max-width:760px){
  .analytics-summary-row{
    grid-template-columns:1fr;
    gap:8px;
  }
  .analytics-summary-row strong{
    justify-self:start;
  }
  .analytics-main-metrics{
    grid-template-columns:1fr;
  }
  .analytics-revenue-head{
    grid-template-columns:20px minmax(0,1fr);
  }
  .analytics-revenue-head b{
    grid-column:2;
    justify-self:start;
  }
  .analytics-revenue-body{
    padding-left:16px;
  }
}


/* analytics-group-fill1 */
.analytics-group-fill{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.group-fill-metrics{
  grid-template-columns:repeat(3,minmax(190px,1fr));
}
.group-fill-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.group-fill-card{
  padding:20px;
  border-radius:16px;
}
.group-fill-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.group-fill-card-head h2{
  margin:0;
  font-size:20px;
  font-weight:700;
  color:var(--text-primary,#211d19);
}
.group-fill-card-head span{
  color:var(--text-secondary,#756e67);
  font-size:14px;
}
.group-fill-days{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(104px,1fr));
  gap:10px;
}
.group-fill-day{
  min-height:76px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:14px;
  background:var(--surface-secondary,#faf6ef);
  padding:12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.group-fill-day span{
  font-size:13px;
  color:var(--text-secondary,#756e67);
  font-weight:600;
}
.group-fill-day strong{
  font-size:24px;
  line-height:1;
  color:var(--primary,#f45b08);
}
.required-star{
  color:var(--danger,#f04422);
  font-weight:700;
}
.class-drawer-checkbox-row .warm-checkbox-line{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  color:var(--text-primary,#211d19);
  font-weight:500;
  justify-content:flex-start;
  align-self:start;
  width:100%;
}
.class-drawer-checkbox-row input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color:var(--primary,#f45b08);
  flex:0 0 18px;
  margin:2px 0 0;
}
.class-drawer-checkbox-row{
  align-items:start!important;
}
.pp-class-modal-paraplan .pp-form-error{
  display:block;
  margin:10px 0 0 134px;
  padding:12px 14px;
  border:1px solid var(--danger,#f04422);
  border-radius:10px;
  background:var(--danger-bg,#fff0ec);
  color:var(--danger,#f04422);
  font-size:15px;
  line-height:1.35;
  font-weight:700;
}
@media(max-width:700px){
  .pp-class-modal-paraplan .pp-form-error{
    margin-left:0;
  }
}


/* analytics-group-fill2 */
.group-fill-counter-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(220px,1fr));
  gap:18px;
  margin-top:0;
}
.group-fill-counter-card{
  min-height:124px;
  padding:22px 24px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:18px;
  background:var(--surface,#fffdfc);
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:12px;
}
.group-fill-counter-card span{
  max-width:100%;
  color:var(--text-secondary,#756e67);
  font-size:15px;
  line-height:1.35;
  font-weight:600;
}
.group-fill-counter-card strong{
  color:var(--primary,#f45b08);
  font-size:34px;
  line-height:1;
  font-weight:800;
}
.group-fill-list{
  gap:18px;
}
.group-fill-card{
  padding:22px 24px;
}
.group-fill-card-head{
  align-items:flex-start;
  margin-bottom:18px;
}
.group-fill-card-head h2{
  font-size:23px;
  line-height:1.2;
}
.group-fill-card-head p{
  margin:6px 0 0;
  color:var(--text-secondary,#756e67);
  font-size:14px;
}
.group-fill-card-head>span{
  padding:7px 11px;
  border-radius:999px;
  background:var(--primary-soft,#fff0e5);
  color:var(--primary,#f45b08);
  font-weight:700;
  white-space:nowrap;
}
.group-fill-days{
  grid-template-columns:repeat(auto-fit,minmax(168px,1fr));
  gap:14px;
}
.group-fill-day{
  min-height:112px;
  padding:16px 18px;
  background:linear-gradient(180deg,#fffdfc 0%,#fff8ef 100%);
  border-color:var(--border,#e9ddd0);
  box-shadow:0 6px 18px rgba(82,52,25,.05);
}
.group-fill-day span{
  font-size:15px;
  color:var(--text-primary,#211d19);
}
.group-fill-day strong{
  font-size:30px;
  color:var(--primary,#f45b08);
}
.group-fill-day em{
  font-style:normal;
  font-size:12px;
  color:var(--text-muted,#a49b92);
}
@media(max-width:900px){
  .group-fill-counter-grid{grid-template-columns:1fr}
  .group-fill-days{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .group-fill-days{grid-template-columns:1fr}
  .group-fill-card-head{flex-direction:column}
}

/* classes-edit-modal-layer1 */
.pp-modal-backdrop{
  z-index:3200!important;
}
.pp-drawer-backdrop.class-info-backdrop{
  z-index:1700!important;
}

/* lead-record-modal-layer1 */
.lead-record-backdrop{
  z-index:3400!important;
  align-items:center!important;
  justify-content:center!important;
}
.lead-record-modal{
  width:min(720px,calc(100vw - 48px))!important;
  max-height:calc(100vh - 48px)!important;
  border-radius:16px!important;
}

/* staff-efficiency-analytics1 */
.analytics-staff-efficiency{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.staff-summary-grid{
  margin-top:0;
}
.staff-efficiency-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
.staff-efficiency-card{
  padding:20px 22px;
  border-radius:16px;
}
.staff-efficiency-card h2{
  margin:0 0 16px;
  color:var(--text-primary,#211d19);
  font-size:20px;
  font-weight:700;
}
.staff-efficiency-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.staff-efficiency-metrics div{
  min-height:86px;
  padding:12px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:14px;
  background:var(--surface-secondary,#faf6ef);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.staff-efficiency-metrics span{
  color:var(--text-secondary,#756e67);
  font-size:13px;
  line-height:1.25;
  font-weight:600;
}
.staff-efficiency-metrics strong{
  color:var(--primary,#f45b08);
  font-size:26px;
  line-height:1;
  font-weight:800;
}
@media(max-width:760px){
  .staff-efficiency-metrics{grid-template-columns:1fr}
}

/* staff-efficiency-table2 */
.staff-efficiency-table-card{
  padding:0!important;
  overflow-x:auto;
}
.staff-efficiency-table{
  min-width:760px;
}
.staff-efficiency-row{
  display:grid;
  grid-template-columns:minmax(220px,1.4fr) minmax(160px,.9fr) minmax(160px,.9fr) minmax(120px,.7fr);
  align-items:center;
  gap:14px;
  min-height:58px;
  padding:0 22px;
  border-bottom:1px solid var(--border,#e9ddd0);
}
.staff-efficiency-row:last-child{
  border-bottom:0;
}
.staff-efficiency-head{
  min-height:52px;
  background:var(--surface-secondary,#faf6ef);
  color:var(--text-secondary,#756e67);
  font-size:13px;
  font-weight:700;
}
.staff-efficiency-row strong{
  color:var(--text-primary,#211d19);
  font-weight:700;
}
.staff-efficiency-row span{
  color:var(--text-primary,#211d19);
  font-weight:600;
}
.staff-efficiency-row:not(.staff-efficiency-head):hover{
  background:#fff8ef;
}

/* staff-efficiency-expand3 */
.staff-efficiency-main{
  cursor:pointer;
  transition:background .14s ease, box-shadow .14s ease;
}
.staff-efficiency-main strong{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.staff-efficiency-main strong b{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--primary,#f45b08);
  font-size:15px;
}
.staff-efficiency-main:hover,
.staff-efficiency-main.open{
  background:#fff4e8!important;
}
.staff-efficiency-details{
  padding:10px 22px 16px 52px;
  border-bottom:1px solid var(--border,#e9ddd0);
  background:#fffaf3;
  display:grid;
  gap:8px;
}
.staff-efficiency-detail-row{
  display:grid;
  grid-template-columns:minmax(180px,1.2fr) minmax(160px,1fr) minmax(120px,.7fr) minmax(150px,.8fr);
  gap:12px;
  align-items:center;
  min-height:38px;
  padding:8px 12px;
  border:1px solid rgba(233,221,208,.8);
  border-radius:10px;
  background:var(--surface,#fffdfc);
}
.staff-efficiency-detail-row span{
  font-weight:700;
  color:var(--text-primary,#211d19);
}
.staff-efficiency-detail-row em{
  font-style:normal;
  color:var(--text-secondary,#756e67);
  font-size:13px;
}
.staff-efficiency-detail-row b{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  height:28px;
  padding:0 10px;
  border-radius:9px;
  font-size:13px;
  font-weight:700;
}
.staff-efficiency-detail-row b.bought{
  background:var(--success-bg,#eff3e4);
  color:var(--success,#61772d);
}
.staff-efficiency-detail-row b.not-bought{
  background:var(--warning-bg,#fff2d9);
  color:var(--warning,#d47700);
}
@media(max-width:760px){
  .staff-efficiency-details{padding-left:18px}
  .staff-efficiency-detail-row{grid-template-columns:1fr}
}

/* analytics-group-fill-redesign1 */
.group-fill-redesign{font-family:"Manrope",Arial,sans-serif;color:#27221e}
.group-fill-redesign .group-fill-topline{display:flex;align-items:center;justify-content:space-between;gap:16px}
.group-fill-redesign .group-fill-period{margin:0}
.group-fill-export{height:44px;padding:0 18px;border:1px solid #67584e;border-radius:11px;background:#fffdfc;color:#51443b;display:inline-flex;align-items:center;gap:9px;font:600 14px/20px "Manrope",Arial,sans-serif;cursor:pointer;box-shadow:0 3px 12px rgba(92,55,24,.05)}
.group-fill-export:hover{background:#fff8f0;border-color:#51443b}
.group-fill-redesign .group-fill-kpi-grid{grid-template-columns:repeat(3,minmax(220px,1fr));gap:18px}
.group-fill-kpi-card{min-height:112px;padding:22px 24px;border:1px solid #e8ddd0;border-radius:18px;background:#fffdfc;box-shadow:0 8px 24px rgba(92,55,24,.06);display:flex;align-items:center;justify-content:flex-start;gap:24px}
.group-fill-kpi-icon{width:68px;height:68px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto}
.group-fill-kpi-ticket .group-fill-kpi-icon{background:#fbedea;color:#c86e61}
.group-fill-kpi-target .group-fill-kpi-icon{background:#f1ece6;color:#67584e}
.group-fill-kpi-users .group-fill-kpi-icon{background:#edf3e9;color:#71865f}
.group-fill-kpi-card span{color:#756d66;font-size:14px;line-height:20px;font-weight:600}
.group-fill-kpi-card strong{display:block;margin-top:6px;color:#27221e;font-size:30px;line-height:36px;font-weight:700;font-variant-numeric:tabular-nums}
.group-fill-redesign .group-fill-list{gap:18px}
.group-fill-redesign .group-fill-card{padding:18px 22px 20px;border-color:#e8ddd0;background:#fffdfc;box-shadow:0 8px 24px rgba(92,55,24,.06)}
.group-fill-redesign .group-fill-card-head{align-items:center;margin-bottom:16px}
.group-fill-redesign .group-fill-card-head h2{font:700 22px/28px "Manrope",Arial,sans-serif;color:#27221e}
.group-fill-redesign .group-fill-card-head p{margin:2px 0 0;color:#756d66;font:400 13px/18px "Manrope",Arial,sans-serif}
.group-fill-week-badge{padding:7px 11px;border-radius:999px;background:#fff0e5;color:#f4510b;font-weight:700;white-space:nowrap}
.group-fill-legend{margin-left:auto;display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:12px 18px;color:#756d66;font:500 13px/18px "Manrope",Arial,sans-serif}
.group-fill-legend span{display:inline-flex;align-items:center;gap:7px;color:#756d66;font-size:13px}
.group-fill-legend i{display:block;flex:0 0 auto}
.legend-line i{width:24px;height:6px;border-radius:99px}
.legend-actual i{background:#f4510b}
.legend-free i{background:#f1ece6}
.legend-dot i{width:9px;height:9px;border-radius:50%}
.legend-dot.high i{background:#718a4c}
.legend-dot.mid i{background:#c89a2b}
.legend-dot.low i{background:#c86e61}
.group-fill-redesign .group-fill-days{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
.group-fill-redesign .group-fill-day{min-height:124px;padding:16px 18px 14px;background:linear-gradient(135deg,#fffdfc 0%,#fff7f3 100%);border-color:#edbbb4;box-shadow:0 6px 18px rgba(92,55,24,.04)}
.group-fill-redesign .group-fill-day span{font:600 14px/20px "Manrope",Arial,sans-serif;color:#27221e}
.group-fill-redesign .group-fill-day strong{display:flex;align-items:center;gap:10px;color:#f4510b;font:600 24px/30px "Manrope",Arial,sans-serif;font-variant-numeric:tabular-nums}
.group-fill-redesign .group-fill-day em{font-style:normal;font-size:12px;line-height:16px;color:#756d66}
.group-fill-redesign .group-fill-day.fill-high{border-color:#c9d8bb;background:linear-gradient(135deg,#fffdfc 0%,#f4f8ee 100%)}
.group-fill-redesign .group-fill-day.fill-high strong{color:#718a4c}
.group-fill-redesign .group-fill-day.fill-mid{border-color:#e8cd83;background:linear-gradient(135deg,#fffdfc 0%,#fff8e5 100%)}
.group-fill-redesign .group-fill-day.fill-mid strong{color:#c89a2b}
.group-fill-progress{height:7px;border-radius:99px;background:#f1ece6;overflow:hidden;margin-top:6px}
.group-fill-progress i{display:block;height:100%;min-width:8px;max-width:100%;border-radius:99px;background:#f4510b}
.fill-high .group-fill-progress i{background:#718a4c}
.fill-mid .group-fill-progress i{background:#c89a2b}
.fill-low .group-fill-progress i{background:#f4510b}
@media(max-width:900px){
  .group-fill-redesign .group-fill-kpi-grid{grid-template-columns:1fr}
  .group-fill-redesign .group-fill-topline{align-items:stretch;flex-direction:column}
  .group-fill-export{align-self:flex-start}
  .group-fill-redesign .group-fill-days{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .group-fill-redesign .group-fill-days{grid-template-columns:1fr}
  .group-fill-redesign .group-fill-card-head{flex-direction:column}
  .group-fill-legend{justify-content:flex-start;margin-left:0}
}
/* analytics-sales-notes1 */
.group-fill-redesign .group-fill-kpi-grid{grid-template-columns:repeat(2,minmax(240px,1fr))!important}
.sales-analytics{display:flex;flex-direction:column;gap:18px}
.sales-metric-section{display:flex;flex-direction:column;gap:12px}
.sales-metric-section h2{margin:0;font-size:22px;font-weight:800;color:var(--text-primary,#211d19)}
.sales-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.sales-kpi-card{min-height:112px;border:1px solid var(--border,#e9ddd0);border-radius:16px;background:var(--surface,#fffdfc);box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));padding:20px 22px;display:flex;flex-direction:column;justify-content:space-between}
.sales-kpi-card span{font-size:14px;font-weight:600;color:var(--text-secondary,#756e67);line-height:1.35}
.sales-kpi-card strong{font-size:30px;line-height:1;font-weight:700;color:var(--primary,#f45b08)}
.sales-summary-card{display:flex;flex-direction:column;gap:12px}
.sales-summary-list{display:flex;flex-direction:column;border:1px solid var(--border,#e9ddd0);border-radius:14px;overflow:hidden}
.sales-summary-list>div{display:grid;grid-template-columns:minmax(0,1fr) 90px;align-items:center;min-height:48px;padding:0 16px;border-bottom:1px solid var(--border,#e9ddd0);background:var(--surface,#fffdfc)}
.sales-summary-list>div:last-child{border-bottom:0}
.sales-summary-list span{font-weight:600;color:var(--text-primary,#211d19)}
.sales-summary-list b{text-align:right;color:var(--primary,#f45b08);font-size:18px}
.sales-detail-card{display:flex;flex-direction:column;gap:14px}
.sales-detail-card h2{margin:0;font-size:22px;font-weight:800;color:var(--text-primary,#211d19)}
.sales-detail-card h3{margin:10px 0 0;font-size:17px;font-weight:800;color:var(--text-primary,#211d19)}
.sales-detail-table{border:1px solid var(--border,#e9ddd0);border-radius:14px;overflow:hidden;background:var(--surface,#fffdfc)}
.sales-detail-block+.sales-detail-block{border-top:1px solid var(--border,#e9ddd0)}
.sales-detail-row{width:100%;min-height:52px;display:grid;grid-template-columns:28px minmax(0,1fr) 90px;align-items:center;gap:10px;border:0;background:var(--surface,#fffdfc);padding:0 16px;text-align:left;cursor:pointer;color:var(--text-primary,#211d19)}
.sales-detail-row:hover{background:var(--surface-secondary,#faf6ef)}
.sales-detail-row b{font-size:15px;color:var(--primary,#f45b08)}
.sales-detail-row span{font-size:15px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sales-detail-row strong{text-align:right;font-size:18px;color:var(--primary,#f45b08)}
.sales-detail-expanded{padding:10px 16px 16px;background:#fffaf4;border-top:1px solid var(--border,#e9ddd0);overflow-x:auto}
.sales-detail-head,.sales-detail-line{display:grid;grid-template-columns:minmax(160px,1.2fr) 110px minmax(180px,1.4fr) 90px 90px;gap:12px;align-items:center;min-width:720px}
.sales-detail-head{min-height:34px;color:var(--text-secondary,#756e67);font-size:12px;font-weight:750;text-transform:uppercase}
.sales-detail-line{min-height:42px;border-top:1px solid rgba(233,221,208,.72);font-size:14px;color:var(--text-primary,#211d19)}
.sales-detail-line:hover{background:rgba(255,240,229,.65)}
.sales-detail-expanded p{margin:8px 0;color:var(--text-secondary,#756e67)}
.notes-actions-card{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.notes-action{min-height:48px;border-radius:12px;padding:0 22px;font-weight:700}
@media(max-width:1200px){.sales-kpi-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}
@media(max-width:640px){.sales-kpi-grid,.group-fill-redesign .group-fill-kpi-grid{grid-template-columns:1fr!important}.notes-action{width:100%}}


/* communication-real-page1 */
.communication-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.communication-workspace{
  display:grid;
  grid-template-columns:minmax(320px,0.95fr) minmax(360px,1.15fr);
  gap:20px;
  align-items:start;
  margin-top:4px;
}
.communication-picker-card,
.communication-messenger-card{
  border:1px solid var(--border,#e9ddd0);
  border-radius:16px;
  background:var(--surface,#fffdfc);
  box-shadow:var(--shadow-card,0 8px 30px rgba(82,52,25,.07));
  padding:22px;
}
.communication-picker-card{
  margin-top:18vh;
  max-width:560px;
}
.communication-picker-card h2,
.communication-messenger-card h2{
  margin:0 0 18px;
  color:var(--text-primary,#211d19);
  font-size:22px;
  line-height:28px;
  font-weight:800;
}
.communication-search-block{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 0;
  border-top:1px solid var(--border,#e9ddd0);
}
.communication-search-block:first-of-type{
  border-top:0;
  padding-top:0;
}
.communication-search-block label{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.communication-search-block label span{
  color:var(--text-secondary,#756e67);
  font-weight:650;
  font-size:14px;
}
.communication-search-block input{
  height:48px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:12px;
  background:#fff;
  padding:0 14px 0 42px;
  color:var(--text-primary,#211d19);
  font:500 15px/20px "Inter",Arial,sans-serif;
  outline:none;
  background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23756E67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:14px center;
}
.communication-search-block input:hover{
  border-color:#d9c7b7;
}
.communication-search-block input:focus{
  border-color:var(--primary,#f45b08);
  box-shadow:0 0 0 3px rgba(244,91,8,.14);
}
.communication-selected{
  min-height:58px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 14px;
  align-items:center;
  border:1px solid #f0e4d7;
  border-radius:12px;
  background:var(--surface-secondary,#faf6ef);
  padding:12px 14px;
}
.communication-selected strong{
  color:var(--text-primary,#211d19);
  font-size:15px;
  line-height:20px;
  font-weight:750;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.communication-selected span{
  justify-self:end;
  color:var(--text-secondary,#756e67);
  font-size:13px;
}
.communication-selected em{
  grid-column:1/-1;
  color:var(--text-muted,#a49b92);
  font-size:13px;
  font-style:normal;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.communication-selected.empty{
  display:flex;
  color:var(--text-muted,#a49b92);
  font-size:14px;
  font-weight:500;
}
.communication-messenger-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(180px,1fr));
  gap:14px;
}
.communication-messenger-tile{
  min-height:104px;
  border:1px solid #d9c7b7;
  border-radius:12px;
  background:#fff;
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:8px 12px;
  align-items:center;
  text-align:left;
  padding:16px;
  cursor:pointer;
  color:var(--text-primary,#211d19);
  box-shadow:0 4px 14px rgba(82,52,25,.05);
}
.communication-messenger-tile:hover{
  border-color:var(--primary,#f45b08);
  background:#fffaf6;
}
.communication-messenger-tile:focus-visible{
  outline:3px solid rgba(244,91,8,.24);
  outline-offset:2px;
}
.communication-messenger-tile i{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-style:normal;
  font-weight:800;
  color:#fff;
}
.communication-messenger-tile.telegram i{
  background:#229ed9;
}
.communication-messenger-tile.max i{
  background:#2f6df6;
}
.communication-messenger-tile span{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.communication-messenger-tile strong{
  font-size:16px;
  line-height:20px;
  font-weight:800;
}
.communication-messenger-tile em{
  color:var(--text-secondary,#756e67);
  font-size:13px;
  line-height:17px;
  font-style:normal;
}
.communication-messenger-tile b{
  grid-column:1/-1;
  justify-self:start;
  padding:5px 9px;
  border-radius:999px;
  background:var(--warning-bg,#fff2d9);
  color:var(--warning,#d47700);
  font-size:12px;
  line-height:16px;
  font-weight:700;
}
@media(max-width:980px){
  .communication-workspace{grid-template-columns:1fr}
  .communication-picker-card{margin-top:0;max-width:none}
}
@media(max-width:560px){
  .communication-messenger-grid{grid-template-columns:1fr}
  .communication-selected{grid-template-columns:1fr}
  .communication-selected span{justify-self:start}
}


.communication-workspace-telegram{
  grid-template-columns:minmax(280px,0.8fr) minmax(420px,1.2fr);
  align-items:start;
}
.telegram-business-panel{
  margin-top:18px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--surface);
  box-shadow:var(--shadow-card);
}
.telegram-business-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.telegram-business-head h3{
  margin:0 0 4px;
  font-size:18px;
}
.telegram-business-head p{
  margin:0;
  color:var(--text-secondary);
}
.telegram-business-settings{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface-secondary);
}
.telegram-business-settings div{
  display:grid;
  gap:4px;
}
.telegram-business-settings code{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  background:#fff;
  color:var(--text-primary);
  white-space:normal;
  word-break:break-all;
}
.telegram-business-settings span{
  color:var(--text-secondary);
}
.telegram-business-messages{
  margin-top:16px;
  display:grid;
  gap:8px;
}
.telegram-business-messages h3{
  margin:0 0 4px;
  font-size:16px;
}
.telegram-message-row{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  padding:10px 12px;
  text-align:left;
  cursor:pointer;
}
.telegram-message-row:hover,
.telegram-message-row.active{
  border-color:var(--primary);
  background:var(--primary-soft);
}
.telegram-message-row span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.telegram-message-row strong{
  color:var(--text-primary);
}
.telegram-message-row em{
  font-style:normal;
  color:var(--text-muted);
  font-size:12px;
}
.telegram-message-row p{
  margin:5px 0 0;
  color:var(--text-secondary);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.telegram-reply-box{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.telegram-reply-box textarea{
  min-height:92px;
  resize:vertical;
}
@media (max-width:1100px){
  .communication-workspace-telegram{
    grid-template-columns:1fr;
  }
}


.telegram-setup-box{
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto;
  gap:10px;
  margin-top:12px;
}
.telegram-setup-box input{
  min-height:44px;
}
@media (max-width:760px){
  .telegram-setup-box{
    grid-template-columns:1fr;
  }
}


/* communication-chat-ui-20260728 */
.communication-workspace-chat{
  grid-template-columns:minmax(300px,0.82fr) minmax(520px,1.18fr);
  align-items:start;
}
.communication-picker-card-top{
  margin-top:0 !important;
  position:sticky;
  top:18px;
}
.communication-messenger-wrap{
  position:relative;
}
.communication-messenger-tile{
  width:100%;
}
.communication-messenger-tile.active{
  border-color:var(--primary,#f45b08);
  background:var(--primary-soft,#fff0e5);
  box-shadow:0 0 0 3px rgba(244,91,8,.12);
}
.communication-gear{
  position:absolute;
  top:8px;
  right:8px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid var(--border,#e9ddd0);
  border-radius:10px;
  background:#fff;
  color:var(--text-secondary,#756e67);
  cursor:pointer;
  z-index:2;
}
.communication-gear:hover{
  color:var(--primary,#f45b08);
  border-color:var(--primary,#f45b08);
}
.communication-messenger-tile span{
  padding-right:36px;
}
.communication-chat-empty{
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed var(--border,#e9ddd0);
  border-radius:16px;
  background:var(--surface-secondary,#faf6ef);
  color:var(--text-secondary,#756e67);
  font-weight:650;
  text-align:center;
  padding:24px;
}
.telegram-business-settings-panel{
  margin-top:14px;
  padding:16px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:16px;
  background:#fff;
}
.telegram-chat-shell{
  margin-top:16px;
  display:grid;
  gap:14px;
}
.telegram-chat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:14px;
  background:var(--surface-secondary,#faf6ef);
}
.telegram-chat-head div{
  display:grid;
  gap:2px;
}
.telegram-chat-head span{
  color:var(--primary,#f45b08);
  font-size:13px;
  font-weight:800;
}
.telegram-chat-head strong{
  color:var(--text-primary,#211d19);
  font-size:18px;
}
.telegram-chat-head em{
  color:var(--text-secondary,#756e67);
  font-style:normal;
  font-size:13px;
}
@media(max-width:1100px){
  .communication-workspace-chat{
    grid-template-columns:1fr;
  }
  .communication-picker-card-top{
    position:static;
  }
}


/* communication-unread-alerts-20260728 */
.sidebar-item,
.more-sheet-item,
.bottombar-item{
  position:relative;
}
.sidebar-unread-badge{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:auto;
  background:var(--danger,#f04422);
  color:#fff;
  font-size:12px;
  line-height:20px;
  font-weight:800;
}
.layout-collapsed .sidebar:not(:hover) .sidebar-unread-badge{
  position:absolute;
  top:5px;
  right:7px;
  min-width:18px;
  height:18px;
  font-size:11px;
  margin-left:0;
}
.bottombar-unread-badge{
  position:absolute;
  top:5px;
  right:26%;
  min-width:18px;
  height:18px;
  margin-left:0;
  font-size:11px;
}
.communication-popup-alert{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:3500;
  width:min(360px,calc(100vw - 32px));
  border:1px solid var(--border,#e9ddd0);
  border-left:5px solid var(--primary,#f45b08);
  border-radius:16px;
  background:var(--surface,#fffdfc);
  box-shadow:0 18px 40px rgba(82,52,25,.18);
  padding:14px 16px;
  text-align:left;
  color:var(--text-primary,#211d19);
  cursor:pointer;
}
.communication-popup-alert:hover{
  transform:translateY(-1px);
}
.communication-popup-alert>span{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.communication-popup-alert strong{
  font-size:15px;
  line-height:20px;
}
.communication-popup-alert p{
  margin:8px 0 0;
  color:var(--text-secondary,#756e67);
  font-size:14px;
  line-height:19px;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.communication-popup-close{
  width:26px;
  height:26px;
  flex-shrink:0;
  border:1px solid var(--border,#e9ddd0);
  border-radius:8px;
  background:#fff;
  color:var(--text-secondary,#756e67);
  cursor:pointer;
}
@media(max-width:760px){
  .communication-popup-alert{
    right:12px;
    bottom:72px;
  }
}


/* communication-telegram-style-20260728 */
.communication-picker-card-top .communication-selected.empty{
  display:none;
}
.communication-search-block{
  position:relative;
}
.communication-selected-compact{
  margin-top:2px;
}
.communication-suggest-list{
  position:absolute;
  left:0;
  right:0;
  top:88px;
  z-index:20;
  display:grid;
  gap:4px;
  padding:8px;
  border:1px solid var(--border,#e9ddd0);
  border-radius:14px;
  background:var(--surface,#fffdfc);
  box-shadow:0 14px 34px rgba(82,52,25,.14);
}
.communication-suggest-list button{
  border:0;
  border-radius:10px;
  background:transparent;
  display:grid;
  gap:2px;
  padding:10px 12px;
  text-align:left;
  cursor:pointer;
}
.communication-suggest-list button:hover{
  background:var(--primary-soft,#fff0e5);
}
.communication-suggest-list strong{
  color:var(--text-primary,#211d19);
  font-size:14px;
  font-weight:750;
}
.communication-suggest-list span{
  color:var(--text-secondary,#756e67);
  font-size:12px;
}
.telegram-chat-shell-real{
  overflow:hidden;
  border:1px solid var(--border,#e9ddd0);
  border-radius:18px;
  background:#d9edc7;
}
.telegram-chat-head-real{
  margin:0;
  border:0;
  border-radius:0;
  background:rgba(255,255,255,.78);
  justify-content:flex-start;
}
.telegram-chat-head-real .telegram-avatar{
  flex-shrink:0;
}
.telegram-dialog{
  min-height:430px;
  max-height:58vh;
  overflow:auto;
  padding:18px 16px;
  background:
    radial-gradient(circle at 20px 20px, rgba(82,120,75,.13) 0 2px, transparent 3px),
    radial-gradient(circle at 90px 70px, rgba(82,120,75,.1) 0 3px, transparent 4px),
    linear-gradient(135deg,#b9dcad,#e7f3c7);
  background-size:120px 120px,160px 160px,100% 100%;
}
.telegram-date-pill{
  width:max-content;
  margin:10px auto 14px;
  padding:5px 12px;
  border-radius:999px;
  background:rgba(83,132,80,.74);
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.telegram-bubble-row{
  width:100%;
  display:flex;
  align-items:flex-end;
  gap:8px;
  border:0;
  background:transparent;
  padding:3px 0;
  cursor:pointer;
  text-align:left;
}
.telegram-bubble-row.out{
  justify-content:flex-end;
}
.telegram-bubble-row.active .telegram-bubble{
  box-shadow:0 0 0 2px rgba(244,91,8,.32);
}
.telegram-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f45b08;
  color:#fff;
  font-weight:800;
  flex-shrink:0;
}
.telegram-avatar.fox{
  background:#fff7ed;
  border:1px solid rgba(244,91,8,.28);
  font-size:18px;
}
.telegram-bubble{
  max-width:min(68%,520px);
  display:grid;
  gap:4px;
  padding:9px 11px 6px;
  border-radius:15px;
  box-shadow:0 2px 5px rgba(82,52,25,.08);
}
.telegram-bubble-row.in .telegram-bubble{
  background:#fff;
  border-bottom-left-radius:4px;
}
.telegram-bubble-row.out .telegram-bubble{
  background:#eaffd7;
  border-bottom-right-radius:4px;
}
.telegram-bubble-text{
  color:#1f1f1f;
  font-size:14px;
  line-height:20px;
  white-space:pre-wrap;
}
.telegram-bubble-photo{
  display:block;
  width:auto;
  max-width:min(280px, 62vw);
  max-height:360px;
  border-radius:14px;
  object-fit:cover;
  margin-bottom:6px;
  background:#fff;
  box-shadow:0 2px 10px rgba(82,52,25,.08);
}
.telegram-bubble-attachment{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  color:#5f7161;
  font-size:13px;
  line-height:18px;
}
.telegram-bubble-row.in .telegram-bubble-photo{
  border-top-left-radius:6px;
}
.telegram-bubble-row.out .telegram-bubble-photo{
  border-top-right-radius:6px;
}
.telegram-bubble-meta{
  justify-self:end;
  display:inline-flex;
  gap:5px;
  align-items:center;
  color:#5e9b63;
  font-size:12px;
  line-height:14px;
}
.telegram-bubble-meta i{
  font-style:normal;
  color:#32a852;
  letter-spacing:-2px;
}
.telegram-reply-box-real{
  margin:0;
  padding:12px;
  grid-template-columns:1fr auto;
  align-items:end;
  background:rgba(255,255,255,.85);
}
.telegram-reply-box-real textarea{
  min-height:48px;
  max-height:120px;
  border-radius:18px;
  background:#fff;
}
.telegram-reply-box-real .btn{
  min-height:44px;
  border-radius:14px;
}
@media(max-width:760px){
  .telegram-bubble{
    max-width:78%;
  }
  .telegram-reply-box-real{
    grid-template-columns:1fr;
  }
}

/* lead-drawer-form-fix-20260728 */
.lead-edit .lead-radio{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:28px!important;
  min-height:46px!important;
  overflow:hidden!important;
}
.lead-edit .lead-radio label{
  display:inline-flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  color:var(--text-secondary)!important;
  font-size:14px!important;
  white-space:nowrap!important;
}
.lead-edit .lead-radio input[type=radio]{
  width:20px!important;
  height:20px!important;
  min-height:20px!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 20px!important;
  accent-color:var(--primary)!important;
}
.lead-edit .lead-radio label span{
  color:var(--text-secondary)!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:20px!important;
}
.lead-edit .lead-check{
  display:inline-flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:max-content!important;
  margin:0 0 0 130px!important;
  min-height:28px!important;
  color:var(--text-secondary)!important;
}
.lead-edit .lead-check input[type=checkbox]{
  width:22px!important;
  height:22px!important;
  min-height:22px!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 22px!important;
  accent-color:var(--primary)!important;
}
.lead-edit .lead-check span{
  color:var(--text-secondary)!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:20px!important;
  white-space:nowrap!important;
}
@media(max-width:640px){
  .lead-edit .lead-check{
    margin-left:0!important;
  }
  .lead-edit .lead-radio{
    flex-wrap:wrap!important;
  }
}


/* client-status-icons-20260728 */
.client-name-with-icons{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  vertical-align:middle!important;
}
.client-name-with-icons>span:first-child{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.client-status-icons{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
}
.client-status-icons img{
  width:20px!important;
  height:20px!important;
  display:block!important;
  object-fit:contain!important;
}
.lead-avatar h2 .client-status-icons img,
.student-side-avatar-wrap h2 .client-status-icons img{
  width:22px!important;
  height:22px!important;
}
.student-name-line h1 .client-status-icons img{
  width:20px!important;
  height:20px!important;
}
.lead-info h3{
  border:1px solid var(--border)!important;
  border-bottom:0!important;
}
.lead-info-row{
  border-left:1px solid var(--border)!important;
  border-right:1px solid var(--border)!important;
  border-bottom:1px solid var(--border)!important;
}
.lead-info-row+h3{
  margin-top:18px!important;
}
.lead-info h3+ .lead-info-row,
.lead-info h3+.lead-info-row{
  border-top:0!important;
}
.lead-info .cr-dup-view,
.lead-info .cr-dup{
  border-left:1px solid var(--border)!important;
  border-right:1px solid var(--border)!important;
  border-bottom:1px solid var(--border)!important;
  margin:0!important;
  padding:8px 18px 14px!important;
  background:var(--surface)!important;
}
.student-side-card .student-side-fields{
  border:1px solid var(--border)!important;
  border-radius:16px!important;
  padding:10px 18px!important;
  background:var(--surface)!important;
}
.student-side-card .student-side-fields div{
  min-height:34px!important;
}


/* duplicate-links-20260728 */
.cr-dup-link{
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  color:var(--primary)!important;
  font:inherit!important;
  font-weight:600!important;
  text-align:left!important;
  cursor:pointer!important;
  text-decoration:none!important;
}
.cr-dup-link:hover{
  text-decoration:underline!important;
  color:var(--primary-hover)!important;
}


/* student-profile-duplicate-icons-20260728 */
.student-profile-title .client-name-with-icons{display:inline-flex!important;align-items:center!important;gap:8px!important}


/* communication-unread-panel-20260728 */
.communication-unread-card{margin-top:18px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface-secondary)}
.communication-unread-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:var(--text-primary)}
.communication-unread-head strong{font-size:15px;font-weight:700}
.communication-unread-head span{font-size:12px;color:var(--text-secondary)}
.communication-unread-list{display:flex;flex-direction:column;gap:8px}
.communication-unread-list button{width:100%;border:1px solid transparent;background:var(--surface);border-radius:12px;padding:10px 12px;text-align:left;cursor:pointer;box-shadow:0 4px 16px rgba(82,52,25,.04);transition:background .15s ease,border-color .15s ease,transform .15s ease}
.communication-unread-list button:hover{background:#fff7ef;border-color:#ffc7aa;transform:translateY(-1px)}
.communication-unread-list span{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.communication-unread-list b{font-size:14px;color:var(--text-primary);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.communication-unread-list em{font-style:normal;font-size:12px;color:var(--primary);font-weight:600;flex-shrink:0}
.communication-unread-list p{margin:0;color:var(--text-secondary);font-size:13px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.communication-unread-empty{padding:12px;border-radius:10px;background:var(--surface);color:var(--text-muted);font-size:13px}

/* communication-tabs-20260729 */
.communication-section-tabs{
  display:flex;
  align-items:center;
  gap:34px;
  min-height:56px;
  margin:0 -32px 24px;
  padding:0 32px;
  background:var(--surface);
  border-bottom:1px solid var(--border);
  box-shadow:0 8px 20px rgba(82,52,25,.04);
  overflow-x:auto;
}
.communication-section-tabs button{
  position:relative;
  height:56px;
  border:0;
  background:transparent;
  color:var(--text-secondary);
  font:600 16px/1 "Inter", Arial, sans-serif;
  padding:0;
  white-space:nowrap;
  cursor:pointer;
}
.communication-section-tabs button:hover{
  color:var(--primary);
}
.communication-section-tabs button.active{
  color:var(--primary);
}
.communication-section-tabs button.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  border-radius:3px 3px 0 0;
  background:var(--primary);
}
.communication-placeholder-card{
  min-height:260px;
  padding:28px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--surface);
  box-shadow:var(--shadow-card);
}
.communication-placeholder-card h2{
  margin:0 0 8px;
  font-size:22px;
  color:var(--text-primary);
}
.communication-placeholder-card p{
  margin:0;
  color:var(--text-secondary);
  font-size:15px;
}

/* client-fields-settings-20260729 */
.client-fields-settings .settings-client-fields-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin:0 0 16px;
}
.client-fields-settings .settings-client-fields-actions .btn{
  min-width:132px;
}
.client-fields-settings .settings-client-fields-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
}
.client-fields-settings .settings-client-fields-head h2{
  margin:0;
}
.client-field-actions{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.client-field-icon-btn{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  color:var(--text-secondary);
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.client-field-icon-btn:hover{
  background:var(--primary-soft);
  border-color:#ffc7aa;
  color:var(--primary);
}
.client-field-icon-btn.danger:hover{
  background:var(--danger-bg);
  border-color:#ffb6a9;
  color:var(--danger);
}
.client-field-check-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:center;
}
.custom-field-modal .client-field-check-row .student-check.custom-check{
  min-height:42px;
  justify-content:flex-start;
  text-align:left;
}
@media (max-width: 760px){
  .client-field-check-row{
    grid-template-columns:1fr;
  }
}
/* client-fields-dynamic-20260729 */
.lead-edit label:has(input[type=checkbox]){
  align-items:center;
}
.lead-toolbar-paraplan>input,
.lead-toolbar-paraplan>select{
  min-width:180px;
}
 .settings-user-stack{display:grid;gap:18px;max-width:780px}.settings-subscription-card{padding:24px 28px}.settings-subscription-card h2{margin:0 0 12px;font-size:22px;color:var(--text-primary)}.settings-subscription-card p{margin:6px 0;color:var(--text-secondary);font-size:16px}.settings-subscription-card b{color:var(--text-primary);font-weight:700}.settings-access-page,.settings-roles-page{display:grid;gap:16px}.settings-access-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-access-head h2{margin:0;font-size:24px}.settings-access-card{padding:0;overflow:hidden}.settings-row-actions{display:inline-flex;gap:8px;align-items:center;justify-content:flex-end}.icon-btn{width:36px;height:36px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-secondary);display:inline-grid;place-items:center;cursor:pointer;font-size:17px}.icon-btn:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.icon-btn.danger:hover{border-color:var(--danger);color:var(--danger);background:var(--danger-bg)}.access-open-form{min-width:min(560px,calc(100vw - 48px))}.access-temp-password{display:grid;gap:12px}.access-temp-password code{display:block;padding:14px 16px;border-radius:12px;background:var(--surface-secondary);border:1px solid var(--border);font-size:18px;font-weight:700;letter-spacing:.04em}.role-editor{width:min(980px,calc(100vw - 64px));display:grid;gap:16px}.role-teacher-check{display:inline-flex;align-items:center;gap:10px;font-weight:600;color:var(--text-primary)}.role-teacher-check input,.role-permission-check input{width:20px;height:20px;accent-color:var(--primary)}.role-permissions-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:18px;max-height:58vh;overflow:auto;padding:4px 6px 6px 0}.role-permission-group{border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:14px;display:grid;align-content:start;gap:8px}.role-permission-group h3{margin:0 0 4px;font-size:17px;color:var(--text-primary)}.role-permission-group.is-disabled{background:var(--surface-secondary)}.role-permission-check{display:flex;align-items:flex-start;gap:10px;min-height:28px;color:var(--text-primary);font-size:14px;line-height:20px}.role-permission-check.is-locked{color:var(--text-muted)}.role-permission-check.is-locked input{opacity:.45}@media (max-width:1200px){.role-permissions-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (max-width:760px){.role-permissions-grid{grid-template-columns:1fr}.settings-access-head{align-items:stretch;flex-direction:column}.settings-access-head .btn{align-self:flex-end}}
 .settings-statuses-page{gap:14px}.settings-status-add-row{display:flex;justify-content:flex-end}.settings-status-table-card{padding:0!important;overflow:hidden}.settings-status-table{width:100%;border-collapse:collapse;background:#fff}.settings-status-table th{height:48px;padding:0 18px;text-align:left;color:#756e67;font-size:13px;font-weight:600;border-bottom:1px solid var(--border);white-space:nowrap}.settings-status-table td{min-height:58px;padding:14px 18px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--text-primary)}.settings-status-table tbody tr:hover{background:var(--surface-secondary)}.settings-status-table tr:last-child td{border-bottom:0}.settings-status-table th.actions,.settings-status-table td.actions{width:72px;text-align:right}.settings-status-yesno{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:28px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:600}.settings-status-yesno.yes{background:var(--success-bg);color:var(--success)}.settings-status-yesno.no{background:var(--danger-bg);color:var(--danger)}.settings-status-color{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary)}.settings-status-color i{width:14px;height:14px;border-radius:50%;box-shadow:0 0 0 1px var(--border)}.settings-status-empty{text-align:center;color:var(--text-muted);height:92px}.status-modal-v2 .status-active-switch{display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;align-items:center!important;gap:12px!important;height:auto!important}.status-modal-v2 .status-active-switch input{justify-self:end;width:20px;height:20px;min-height:20px}.status-check-list{display:grid;gap:10px}.status-check-row{display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;align-items:center!important;gap:12px!important;margin:0!important;color:var(--text-primary)}.status-check-row span{color:var(--text-primary)!important;font-size:14px}.status-check-row input{justify-self:end;width:20px;height:20px;min-height:20px;accent-color:var(--primary)}@media(max-width:760px){.settings-status-table-card{overflow-x:auto}.settings-status-table{min-width:760px}}
.settings-leads-v2{gap:14px}.settings-leads-v2-actions{display:flex;justify-content:flex-end}.settings-leads-v2-card{padding:0!important;overflow:hidden}.settings-leads-v2-table{width:100%;border-collapse:collapse;table-layout:fixed;background:var(--surface)}.settings-leads-v2-table th{height:48px;padding:0 18px;text-align:left;color:var(--text-secondary);font-size:13px;font-weight:600;border-bottom:1px solid var(--border);white-space:nowrap}.settings-leads-v2-table td{height:58px;padding:14px 18px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--text-primary)}.settings-leads-v2-table tbody tr:hover{background:var(--surface-secondary)}.settings-leads-v2-table tr:last-child td{border-bottom:0}.settings-leads-v2-table th:nth-child(1),.settings-leads-v2-table td:nth-child(1){width:30%}.settings-leads-v2-table th:nth-child(2),.settings-leads-v2-table td:nth-child(2){width:22%}.settings-leads-v2-table th:nth-child(3),.settings-leads-v2-table td:nth-child(3){width:auto}.settings-leads-v2-table th.actions,.settings-leads-v2-table td.actions{width:76px;text-align:right}.settings-leads-v2-color{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary)}.settings-leads-v2-color i{width:14px;height:14px;border-radius:50%;box-shadow:0 0 0 1px var(--border)}.settings-leads-v2-empty{text-align:center;color:var(--text-muted);height:92px}.lead-settings-modal-v2{display:grid;gap:14px}.lead-settings-modal-v2 label{display:grid;gap:7px;color:var(--text-secondary)}.lead-settings-modal-v2 input,.lead-settings-modal-v2 select,.lead-settings-modal-v2 textarea{width:100%;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text-primary);padding:0 12px}.lead-settings-modal-v2 input,.lead-settings-modal-v2 select{height:44px}.lead-settings-modal-v2 textarea{padding-top:10px;resize:vertical}.lead-settings-palette{display:flex;flex-wrap:wrap;gap:8px}.lead-settings-palette button{width:26px;height:26px;border-radius:50%;border:2px solid transparent;box-shadow:0 0 0 1px var(--border);cursor:pointer}.lead-settings-palette button.active{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}@media(max-width:760px){.settings-leads-v2-card{overflow-x:auto}.settings-leads-v2-table{min-width:720px}}
.settings-user-page{display:grid;gap:18px}.settings-subscription-card,.settings-password-card{padding:24px!important}.settings-subscription-card h2,.settings-password-card h2{margin:0 0 14px;color:var(--text-primary);font-size:22px;font-weight:700}.settings-subscription-card p{margin:6px 0;color:var(--text-secondary);font-size:15px}.settings-password-card{max-width:720px;display:grid;gap:14px}.settings-password-card label{display:grid;grid-template-columns:190px minmax(260px,1fr);align-items:center;gap:16px;color:var(--text-secondary)}.settings-password-card input{height:44px;border:1px solid var(--border);border-radius:11px;background:var(--surface);padding:0 12px;color:var(--text-primary)}.settings-password-card .btn{justify-self:start;min-width:170px}@media(max-width:760px){.settings-password-card label{grid-template-columns:1fr;gap:7px}.settings-password-card{max-width:none}}
.settings-rooms-page{gap:14px}.settings-rooms-actions{display:flex;justify-content:flex-end}.settings-rooms-card{padding:0!important;overflow:hidden}.settings-rooms-table{width:100%;border-collapse:collapse;table-layout:fixed;background:var(--surface)}.settings-rooms-table th{height:48px;padding:0 18px;text-align:left;color:var(--text-secondary);font-size:13px;font-weight:600;border-bottom:1px solid var(--border);white-space:nowrap}.settings-rooms-table td{height:58px;padding:14px 18px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--text-primary)}.settings-rooms-table tbody tr{cursor:pointer}.settings-rooms-table tbody tr:hover{background:var(--surface-secondary)}.settings-rooms-table tr:last-child td{border-bottom:0}.settings-rooms-table th:nth-child(1),.settings-rooms-table td:nth-child(1){width:34%}.settings-rooms-table th:nth-child(2),.settings-rooms-table td:nth-child(2){width:auto}.settings-rooms-table th.actions,.settings-rooms-table td.actions{width:76px;text-align:right}.settings-rooms-empty{text-align:center;color:var(--text-muted);height:92px}.rooms-settings-modal{display:grid;gap:14px}.rooms-settings-modal label{display:grid;gap:7px;color:var(--text-secondary)}.rooms-settings-modal input,.rooms-settings-modal textarea{width:100%;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text-primary);padding:0 12px}.rooms-settings-modal input{height:44px}.rooms-settings-modal textarea{padding-top:10px;resize:vertical}@media(max-width:760px){.settings-rooms-card{overflow-x:auto}.settings-rooms-table{min-width:620px}}

/* chat-lead-family-fix-20260730 */
.telegram-bubble-meta i{letter-spacing:0!important;min-width:16px;text-align:right;color:#3ba861!important;font-weight:700}
.pp-fields{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:12px 16px!important;align-items:start!important}
.pp-cell{display:flex!important;flex-direction:column!important;gap:5px!important;padding:10px 12px!important;border:1px solid var(--border,#E9DDD0)!important;border-radius:12px!important;background:var(--surface,#FFFDFC)!important;min-width:0!important}
.pp-cell .muted{font-size:13px!important;color:var(--text-secondary,#756E67)!important}
.pp-cell strong{display:block!important;font-size:15px!important;line-height:1.35!important;color:var(--text-primary,#211D19)!important;word-break:break-word!important;white-space:normal!important}

/* task-history-deadline-20260730 */
.task-history{grid-column:1/-1;border:1px solid var(--border,#E9DDD0);border-radius:12px;background:var(--surface,#FFFDFC);padding:0 14px;margin-top:4px}
.task-history summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--text-primary,#211D19)}
.task-history-list{display:grid;gap:8px;padding:0 0 14px}
.task-history-list p{margin:0;display:flex;gap:8px;align-items:flex-start;color:var(--text-secondary,#756E67);font-size:13px;line-height:1.4}
.task-history-list b{color:var(--primary,#F45B08);white-space:nowrap}.task-history-list span{font-weight:600;color:var(--text-primary,#211D19)}.task-history-list em{font-style:normal}

/* task-history-visible-20260730 */
.task-history-side{margin-top:14px!important;background:var(--surface-secondary,#FAF6EF)!important}
.task-side-card .task-history summary{font-size:15px}

/* tasks-workflow-20260731 */
.task-history-modal-footer{
  margin: 8px 0 0 !important;
}
.task-modal-paraplan .task-deadline-wrap{
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.task-modal-paraplan .task-deadline-wrap > input:first-child{
  padding-right: 46px !important;
}
.task-modal-paraplan .task-deadline-calendar{
  position: absolute;
  right: 8px;
  top: 50%;
  width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: .78;
  transform: translateY(-50%);
  cursor: pointer;
}
.tasks-quick-tabs button span:empty{
  display: none !important;
}
.task-row-menu{
  color: var(--danger,#F04422) !important;
}
.class-participant-list .class-participant-link {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  min-height: 46px;
  border-radius: 8px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.class-participant-list .class-participant-link:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.class-former-participant.class-participant-link {
  color: var(--text-secondary);
}

.class-teacher-duty-row .schedule-edit-two,
.schedule-teacher-duty-row .schedule-edit-two {
  width: 100%;
}


/* tasks-filter-polish-20260731 */
.tasks-toolbar .tasks-select{
  height:46px;
  border:1px solid var(--border,#E9DDD0);
  border-radius:11px;
  background:#fff;
  color:var(--text-primary,#211D19);
  padding:0 36px 0 14px;
  min-width:160px;
  font:500 14px/1 "Inter",Arial,sans-serif;
}
.tasks-toolbar .tasks-select:hover{border-color:#e2cdbb}
.tasks-toolbar .tasks-select:focus{
  outline:2px solid rgba(244,91,8,.18);
  border-color:var(--primary,#F45B08);
}


/* tasks-relations-20260731 */
.tasks-toolbar{
  grid-template-columns:minmax(260px,2fr) repeat(7,minmax(130px,1fr)) auto!important;
}
.tasks-reset{
  min-width:112px!important;
  height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 16px!important;
  white-space:nowrap!important;
  border-radius:12px!important;
}
.task-row-menu{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:var(--danger,#F04422)!important;
  font-size:0!important;
}
.task-row-menu svg{
  width:18px!important;
  height:18px!important;
}
.task-target-avatar{
  border:0;
  cursor:pointer;
}
.task-target-button{
  border:0;
  background:transparent;
  color:var(--primary,#F45B08);
  font-weight:700;
  cursor:pointer;
  padding:0;
  text-align:left;
}
.task-target-button:hover{text-decoration:underline}
.task-related-warning{
  margin:14px 0 4px;
  padding:12px 14px;
  border:1px solid #F7B6A6;
  border-radius:12px;
  background:var(--danger-bg,#FFF0EC);
  color:var(--danger,#F04422);
}
.task-related-warning strong{
  display:block;
  margin-bottom:8px;
  font-size:14px;
}
.task-related-warning p{
  display:flex;
  align-items:center;
  gap:8px;
  margin:6px 0;
  color:var(--text-primary,#211D19);
}
.task-related-warning button{
  border:0;
  background:transparent;
  padding:0;
  color:var(--primary,#F45B08);
  font-weight:700;
  cursor:pointer;
}
.task-related-warning button:hover{text-decoration:underline}
.task-related-warning span{
  color:var(--text-secondary,#756E67);
}
.task-related-task-link{
  margin-left:auto;
}

.student-schedule-board{user-select:none}
.student-schedule-board.dragging,.student-schedule-board.dragging *{cursor:grabbing!important}
.student-schedule-grid{cursor:grab;touch-action:pan-y}
.student-schedule-board.dragging .student-schedule-grid{cursor:grabbing}

.class-participant-link{align-items:center;justify-content:flex-start}
.schedule-duty-dates{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr)!important}
.pp-class-modal .schedule-edit-dates input,.pp-schedule-modal .schedule-edit-dates input,.schedule-edit-modal .schedule-edit-dates input{min-width:150px}
.pp-class-modal .class-teacher-duty-row{align-items:flex-start}
.teacher-class-card p{line-height:1.35}
.pp-fields .pp-cell span{word-break:normal}

.att-teacher-empty-assign{display:flex!important;align-items:center;justify-content:space-between;gap:12px;text-align:left}
.att-teacher-empty-assign .btn{height:34px;padding:0 14px}

/* Classes page button cleanup: remove broken encoded pseudo-icons and keep buttons readable. */
.pp-classes-screen .pp-toolbar .btn::before,
.pp-classes-screen .pp-row-actions b::before{
  content:none!important;
  display:none!important;
}
.pp-classes-screen .pp-toolbar .btn,
.pp-classes-screen .pp-row-actions b{
  gap:0!important;
}
.pp-classes-screen .classes-add-row{
  display:flex;
  justify-content:flex-end;
  margin:14px 0 12px;
}
.pp-classes-screen .classes-add-row .btn-primary{
  min-width:210px;
  height:48px;
  border-radius:12px;
  font-weight:700;
}
@media(max-width:700px){
  .pp-classes-screen .classes-add-row{justify-content:stretch}
  .pp-classes-screen .classes-add-row .btn-primary{width:100%}
}

.ui-modal:has(.role-editor){
  max-width:min(1040px,calc(100vw - 32px));
  max-height:calc(100vh - 32px);
}
.ui-modal:has(.role-editor) .ui-modal-body{
  overflow-x:hidden;
}
.ui-modal:has(.role-editor) .role-editor{
  width:100%;
  min-width:0;
}
.ui-modal:has(.role-editor) .role-permissions-grid{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  max-height:calc(100vh - 260px);
  min-height:240px;
  overflow-x:hidden;
}
.ui-modal:has(.role-editor) .role-permission-group{
  min-width:0;
}
@media(max-width:760px){
  .ui-modal:has(.role-editor){
    max-width:none;
    width:100%;
    max-height:94vh;
  }
  .ui-modal:has(.role-editor) .role-permissions-grid{
    max-height:calc(94vh - 260px);
    min-height:220px;
  }
}

/* role-permission-checkbox-align-20260801 */
.ui-modal:has(.role-editor) .role-teacher-check,
.ui-modal:has(.role-editor) .role-permission-check{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:32px;
  line-height:20px;
}
.ui-modal:has(.role-editor) .role-teacher-check input,
.ui-modal:has(.role-editor) .role-permission-check input{
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin:0;
}
.ui-modal:has(.role-editor) .role-permission-check span,
.ui-modal:has(.role-editor) .role-teacher-check span{
  display:block;
  padding-top:0;
}
