: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:var(--color-primary);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;min-width:0}.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>div{min-width:0;overflow:hidden}.student-name-cell em{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;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-select{min-width:210px;max-width:260px;cursor:pointer}

.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(36, 107, 103, .22);border-color:var(--color-primary)}

.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-payments-table .student-prepared-head,.student-payments-table .student-prepared-row{grid-template-columns:minmax(170px,1.15fr) minmax(110px,.7fr) minmax(105px,.7fr) minmax(120px,.8fr) minmax(190px,1.4fr)}

.student-payments-table .student-prepared-row{cursor:pointer}

.student-payment-operation.income{color:#23733a;font-weight:600}

.student-payment-operation.debit{color:#d33c2f;font-weight:600}

.student-payments-table .student-prepared-row.active{outline:2px solid var(--accent,var(--color-primary));outline-offset:-2px;background:#fff7f0}

.student-payment-detail-backdrop{z-index:6100!important}

.student-payment-detail-drawer{width:min(520px,96vw)!important}

.student-payment-detail-card{display:grid;gap:12px}

.student-payment-detail-card .pp-cell{background:#fffdfb}

.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,.student-payments-table .student-prepared-head,.student-payments-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,var(--color-primary));

  box-shadow:inset 0 -2px 0 var(--primary,var(--color-primary));

  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{display:block;border:0;background:transparent;text-align:left;padding:6px 0;cursor:pointer;text-decoration:none;color:inherit}

.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}

.person-search-field{position:relative}

.person-search-combo{position:relative;display:flex;align-items:center;border:1px solid #d8d8e2;border-radius:8px;background:#fff}

.person-search-combo input{border:0!important;box-shadow:none!important;flex:1 1 auto;min-width:0;height:44px;padding:0 12px}

.person-search-arrow{width:42px;height:44px;border:0;border-left:1px solid #ececf3;background:#fff;color:#4b5260;font-size:20px;cursor:pointer;border-radius:0 8px 8px 0}

.person-search-arrow:hover{background:var(--color-primary-soft);color:var(--color-primary)}

.person-search-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:180;background:#fff;border:1px solid #d8d8e2;border-radius:8px;box-shadow:0 14px 32px rgba(30,30,50,.18);max-height:280px;overflow:auto;padding:8px}

.person-search-menu button{width:100%;display:grid;gap:3px;text-align:left;border:0;background:#fff;border-radius:6px;padding:10px 12px;cursor:pointer;color:#303348}

.person-search-menu button:hover{background:#fff3eb}

.person-search-menu button strong{font-weight:600;color:#172033}

.person-search-menu button span,.person-search-empty{font-size:13px;color:#777}

.person-search-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-payment-debt{color:#d9363e!important;font-weight:600}

.att-booking-prepaid{color:#258d4c!important;font-weight:600}

.att-booking-unpaid{color:#8b8f98!important}

.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;text-decoration:none;color:inherit}

.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:var(--color-primary);

  --sidebar-bg-dark:var(--color-primary-hover);

  --sidebar-text:#FFF9F1;

  --sidebar-active:var(--color-primary-soft);

  --sidebar-active-text:#2F241A;

  --primary:var(--color-primary);

  --primary-hover:var(--color-primary-hover);

  --primary-active:var(--color-primary-active);

  --primary-soft:var(--color-primary-soft);

  --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:var(--color-primary-border);

  --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(36, 107, 103, .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-debt,

.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;

}

.att-payment-debt{

  background:var(--danger-bg)!important;

  color:var(--danger)!important;

}

.att-booking-prepaid{

  display:inline-flex!important;

  align-items:center!important;

  width:max-content!important;

  min-height:24px!important;

  padding:0 9px!important;

  border-radius:9px!important;

  background:var(--success-bg)!important;

  color:var(--success)!important;

  font-size:12px!important;

  font-weight:600!important;

}

.att-booking-unpaid{

  color:var(--text-secondary)!important;

  font-size:12px!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:var(--color-primary);

  --sidebar-bg-hover:var(--color-primary-hover);

  --sidebar-bg-dark:var(--color-primary-hover);

  --sidebar-text:#FFF9F1;

  --sidebar-active:var(--color-primary-soft);

  --sidebar-active-text:#2F241A;

  --primary:var(--color-primary);

  --primary-hover:var(--color-primary-hover);

  --primary-active:var(--color-primary-active);

  --primary-soft:var(--color-primary-soft);

  --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:var(--color-primary-border);

  --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(36, 107, 103, .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(36, 107, 103, .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:var(--color-primary-border)!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:var(--color-primary-border)!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:var(--color-primary-border)!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(36, 107, 103, .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 var(--color-primary-border)!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:var(--color-primary-border)!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:var(--color-primary);

  --sidebar-bg-hover:var(--color-primary-hover);

  --sidebar-bg-dark:var(--color-primary-hover);

  --sidebar-text:#FFF9F1;

  --sidebar-active:var(--color-primary-soft);

  --sidebar-active-text:#2F241A;

  --primary:var(--color-primary);

  --primary-hover:var(--color-primary-hover);

  --primary-active:var(--color-primary-active);

  --primary-soft:var(--color-primary-soft);

  --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:var(--color-primary);

  --sidebar-hover:var(--color-primary-hover);

  --sidebar-bg-hover:var(--color-primary-hover);

  --sidebar-bg-dark:var(--color-primary-hover);

  --sidebar-text:#FFF9F1;

  --sidebar-active:var(--color-primary-soft);

  --sidebar-active-text:#2F241A;

  --primary:var(--color-primary);

  --primary-hover:var(--color-primary-hover);

  --primary-active:var(--color-primary-active);

  --primary-soft:var(--color-primary-soft);

  --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:var(--color-primary-border)!important;background:var(--color-primary-soft)!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:var(--color-primary-border)!important;

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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(36, 107, 103, .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(36, 107, 103, .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,var(--color-primary-soft));color:var(--primary,var(--color-primary));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,var(--color-primary));box-shadow:0 0 0 3px var(--primary-soft,var(--color-primary-soft))}

.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,var(--color-primary));

}

.dashboard-period-controls select:focus,

.dashboard-period-controls input:focus{

  outline:2px solid rgba(36, 107, 103, .18);

  border-color:var(--primary,var(--color-primary));

}

@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:var(--color-primary-border)!important;

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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 var(--color-primary)!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:var(--color-primary-soft)!important;color:var(--color-primary)!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:var(--color-primary)!important;

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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,var(--color-primary))!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,var(--color-primary))!important;

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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,var(--color-primary))!important;

  background:var(--surface,#FFFDFC)!important;

  color:var(--primary,var(--color-primary))!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,var(--color-primary))!important;

  color:var(--primary,var(--color-primary))!important;

}

.task-completion-buttons button.active{

  background:var(--primary-soft,var(--color-primary-soft))!important;

  border-color:var(--primary,var(--color-primary))!important;

  color:var(--primary,var(--color-primary))!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,var(--color-primary))!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:var(--color-primary);

  --task-primary-hover:var(--color-primary-hover);

  --task-primary-soft:var(--color-primary-soft);

  --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:var(--color-primary-border)!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(36, 107, 103, .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:var(--color-primary-border)!important;

  color:var(--color-primary-hover)!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,var(--color-primary))!important;color:var(--primary,var(--color-primary))!important;background:#FFFDFC!important;font-weight:600!important}

.schedule-today-btn:hover{background:var(--primary-soft,var(--color-primary-soft))!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,var(--color-primary));

  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,var(--color-primary));

  color:#fff;

  font-weight:700;

  font-size:15px;

  cursor:pointer;

  box-shadow:0 10px 18px rgba(36, 107, 103, .18);

}

.cr-finance-page .cr-primary-button:hover{background:var(--primary-hover,var(--color-primary-hover))}

.cr-finance-page .cr-primary-button:active{background:var(--primary-active,var(--color-primary-active))}

.cr-finance-page .cr-primary-button:focus-visible{outline:3px solid rgba(36, 107, 103, .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,var(--color-primary))}

.cr-finance-tabs button.active:after{

  content:"";

  position:absolute;

  left:0;

  right:0;

  bottom:0;

  height:3px;

  border-radius:999px;

  background:var(--primary,var(--color-primary));

}

.cr-finance-tabs span{

  margin-left:6px;

  padding:2px 7px;

  border-radius:7px;

  background:var(--primary-soft,var(--color-primary-soft));

  color:var(--primary,var(--color-primary));

  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,var(--color-primary));

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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,var(--color-primary-soft));

  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,var(--color-primary-soft));color:var(--primary,var(--color-primary))}

.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,var(--color-primary));

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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,var(--color-primary))}

.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,var(--color-primary))!important;

  color:transparent!important;

  box-shadow:0 0 0 4px rgba(36, 107, 103, .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,var(--color-primary));

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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,var(--color-primary));

  border-radius:10px;

  background:var(--primary,var(--color-primary));

  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,var(--color-primary-soft));

  color:var(--primary,var(--color-primary));

}

.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,var(--color-primary));

  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,var(--color-primary));

  font-weight:700;

  cursor:pointer;

}

.cr-employee-rate-pencil:hover{

  background:var(--primary-soft,var(--color-primary-soft));

}

.cr-employee-rate-edit{

  min-height:38px;

  padding:0 14px;

  border:1px solid var(--primary,var(--color-primary));

  border-radius:10px;

  background:#fff;

  color:var(--primary,var(--color-primary));

  font-weight:700;

  cursor:pointer;

  white-space:nowrap;

}

.cr-employee-rate-edit:hover{

  background:var(--primary-soft,var(--color-primary-soft));

}

.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,var(--color-primary));

}

.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,var(--color-primary));

}

.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,var(--color-primary));

  background:var(--primary,var(--color-primary));

  color:#fff;

}

.cr-employee-rate-add:hover{

  background:var(--primary-hover,var(--color-primary-hover));

}

.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(36, 107, 103, .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(180px,1.2fr) 120px 150px minmax(140px,1fr) 120px minmax(180px,1.2fr)!important;

  align-items:center;

}

.student-bookings-table.event-bookings .student-prepared-row>*{

  min-width:0;

}

.student-bookings-table.event-bookings .student-prepared-row strong,

.student-bookings-table.event-bookings .student-prepared-row span{

  overflow:hidden;

  text-overflow:ellipsis;

  white-space:nowrap;

}





/* classes-warm-design1 */

:root,:root[data-theme=light]{

  --color-sidebar:var(--color-primary);

  --color-sidebar-dark:var(--color-primary-hover);

  --color-primary:var(--color-primary);

  --color-primary-hover:var(--color-primary-hover);

  --color-primary-soft:var(--color-primary-soft);

  --color-nav-active:var(--color-primary-soft);

  --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(36, 107, 103, .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(36, 107, 103, .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(36, 107, 103, .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(36, 107, 103, .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:var(--color-primary);

  --records-sidebar-dark:var(--color-primary-hover);

  --records-primary:var(--color-primary);

  --records-primary-hover:var(--color-primary-hover);

  --records-primary-soft:var(--color-primary-soft);

  --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(36, 107, 103, .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(36, 107, 103, .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(36, 107, 103, .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:"";display:none}

.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:var(--color-primary)!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,var(--color-primary-soft))!important;

  color:var(--text-primary,#211D19);

}

.cr-salary-grand strong{

  color:var(--primary,var(--color-primary));

}

@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(36, 107, 103, .45);

  background:#fff;

}

.cr-salary-table .cr-salary-rate-select:focus{

  outline:3px solid rgba(36, 107, 103, .18);

  border-color:var(--primary,var(--color-primary));

}





/* 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,var(--color-primary));

}

.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,var(--color-primary));

  cursor:pointer;

}

.dashboard-event-edit:hover{

  background:var(--primary-soft,var(--color-primary-soft));

  border-color:var(--primary,var(--color-primary));

}

.dashboard-event-edit:focus-visible{

  outline:3px solid rgba(36, 107, 103, .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,var(--color-primary-soft));

  border-color:var(--primary,var(--color-primary));

}

.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,var(--color-primary-soft));

  color:var(--text-primary,#211D19);

}

.analytics-section-tabs button.active{

  background:var(--primary,var(--color-primary));

  color:#fff;

  box-shadow:0 8px 18px rgba(36, 107, 103, .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,var(--color-primary));

}

.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,var(--color-primary));

}

.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,var(--color-primary));

  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,var(--color-primary));

  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,var(--color-primary-soft));

  color:var(--primary,var(--color-primary));

  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,var(--color-primary));

}

.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,var(--color-primary));

  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,var(--color-primary));

  font-size:15px;

}

.staff-efficiency-main:hover,

.staff-efficiency-main.open{

  background:var(--color-primary-soft)!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:var(--color-primary-soft);color:var(--color-primary);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:var(--color-primary)}

.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:var(--color-primary);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:var(--color-primary)}

.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,var(--color-primary))}

.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,var(--color-primary));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,var(--color-primary))}

.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,var(--color-primary))}

.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,var(--color-primary));

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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,var(--color-primary));

  background:#fffaf6;

}

.communication-messenger-tile:focus-visible{

  outline:3px solid rgba(36, 107, 103, .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,var(--color-primary));

  background:var(--primary-soft,var(--color-primary-soft));

  box-shadow:0 0 0 3px rgba(36, 107, 103, .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,var(--color-primary));

  border-color:var(--primary,var(--color-primary));

}

.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,var(--color-primary));

  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,var(--color-primary));

  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,var(--color-primary-soft));

}

.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(36, 107, 103, .32);

}

.telegram-avatar{

  width:34px;

  height:34px;

  border-radius:50%;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  background:var(--color-primary);

  color:#fff;

  font-weight:800;

  flex-shrink:0;

}

.telegram-avatar.fox{

  background:#fff7ed;

  border:1px solid rgba(36, 107, 103, .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,var(--color-primary));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(36, 107, 103, .18);

  border-color:var(--primary,var(--color-primary));

}





/* 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,var(--color-primary));

  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;

}



.access-reset-password-btn{

  height:36px;

  padding:0 12px;

  border:1px solid #ff8a65;

  border-radius:10px;

  background:#fff7f2;

  color:#ff4b12;

  font-weight:700;

  font-size:13px;

  cursor:pointer;

  white-space:nowrap;

}

.access-reset-password-btn:hover{

  background:#ff4b12;

  border-color:#ff4b12;

  color:#fff;

}

.access-reset-password-btn:disabled{

  cursor:default;

  opacity:.72;

}

.access-password-modal-backdrop{

  position:fixed;

  inset:0;

  z-index:10000;

  display:grid;

  place-items:center;

  padding:24px;

  background:rgba(39,34,30,.34);

}

.access-password-modal{

  width:min(520px,calc(100vw - 32px));

  border:1px solid #ead8c9;

  border-radius:18px;

  background:#fffdfa;

  box-shadow:0 24px 70px rgba(39,34,30,.2);

  padding:26px;

  position:relative;

  display:grid;

  gap:16px;

}

.access-password-modal-close{

  position:absolute;

  right:14px;

  top:12px;

  width:36px;

  height:36px;

  border:1px solid #ead8c9;

  border-radius:10px;

  background:#fff;

  color:#51443b;

  font-size:24px;

  line-height:1;

  cursor:pointer;

}

.access-password-modal h2{

  margin:0;

  font-size:24px;

  color:#27221e;

}

.access-password-modal-note{

  margin:0;

  color:#756d66;

  font-size:14px;

  line-height:20px;

}

.access-password-modal-user,

.access-password-modal-password{

  display:grid;

  gap:7px;

  color:#756d66;

  font-size:13px;

}

.access-password-modal-user b{

  color:#27221e;

  font-size:16px;

}

.access-password-modal-password code{

  display:block;

  padding:14px 16px;

  border:1px solid #ead8c9;

  border-radius:12px;

  background:#fff7f2;

  color:#27221e;

  font-size:20px;

  font-weight:800;

  letter-spacing:.04em;

  overflow-wrap:anywhere;

}

.access-password-modal-actions{

  display:flex;

  justify-content:flex-end;

  gap:10px;

  margin-top:4px;

}



.notes-file-upload{

  border-color:#ead8c9;

  background:#fffdfa;

  color:#51443b;

}

.notes-files-card{

  display:grid;

  gap:14px;

  padding:18px;

}

.notes-files-head{

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:16px;

}

.notes-files-head h2{

  margin:0;

  font-size:20px;

  color:#27221e;

}

.notes-files-head span,

.notes-files-empty{

  color:#756d66;

  font-size:14px;

}

.notes-files-list{

  display:grid;

  gap:10px;

}

.notes-file-row{

  display:grid;

  grid-template-columns:44px minmax(0,1fr) auto 36px;

  align-items:center;

  gap:12px;

  min-height:64px;

  padding:10px 12px;

  border:1px solid #ead8c9;

  border-radius:12px;

  background:#fffdfa;

}

.notes-file-row:hover{

  border-color:#ff8a65;

  background:#fff7f2;

}

.notes-file-icon{

  width:42px;

  height:42px;

  border-radius:12px;

  display:grid;

  place-items:center;

  background:#ffe1d2;

  color:var(--color-primary);

  font-weight:800;

}

.notes-file-main{

  display:grid;

  gap:4px;

  min-width:0;

}

.notes-file-main b{

  color:#27221e;

  font-size:15px;

  overflow:hidden;

  text-overflow:ellipsis;

  white-space:nowrap;

}

.notes-file-main span{

  color:#756d66;

  font-size:13px;

}

.notes-file-download,

.notes-file-delete{

  height:36px;

  border:1px solid #ead8c9;

  border-radius:10px;

  background:#fff;

  color:#51443b;

  font-weight:700;

  cursor:pointer;

}

.notes-file-download{

  padding:0 12px;

}

.notes-file-delete{

  width:36px;

  font-size:22px;

  line-height:1;

  color:#ff4b12;

}

.notes-file-download:hover,

.notes-file-delete:hover{

  border-color:#ff4b12;

  color:#ff4b12;

}

.notes-file-modal-backdrop{

  position:fixed;

  inset:0;

  z-index:10000;

  display:grid;

  place-items:center;

  padding:24px;

  background:rgba(39,34,30,.34);

}

.notes-file-modal{

  width:min(560px,calc(100vw - 32px));

  border:1px solid #ead8c9;

  border-radius:18px;

  background:#fffdfa;

  box-shadow:0 24px 70px rgba(39,34,30,.2);

  padding:26px;

  position:relative;

  display:grid;

  gap:18px;

}

.notes-file-modal-close{

  position:absolute;

  right:14px;

  top:12px;

  width:36px;

  height:36px;

  border:1px solid #ead8c9;

  border-radius:10px;

  background:#fff;

  color:#51443b;

  font-size:24px;

  line-height:1;

  cursor:pointer;

}

.notes-file-modal h2{

  margin:0;

  font-size:24px;

  color:#27221e;

}

.notes-file-field{

  display:grid;

  gap:8px;

  color:#756d66;

  font-size:14px;

}

.notes-file-field input[type="text"]{

  height:48px;

  border:1px solid #ead8c9;

  border-radius:12px;

  padding:0 14px;

  background:#fff;

  font-size:15px;

  color:#27221e;

}

.notes-file-field input[type="text"]:focus{

  outline:none;

  border-color:var(--color-primary);

  box-shadow:0 0 0 3px rgba(36, 107, 103, .12);

}

.notes-field-error{

  border-color:#e53935!important;

  background:#fff4f3!important;

}

.notes-file-type-grid{

  display:grid;

  grid-template-columns:repeat(3,minmax(0,1fr));

  gap:10px;

}

.notes-file-type-grid label{

  display:flex;

  align-items:center;

  gap:8px;

  min-height:44px;

  padding:0 12px;

  border:1px solid #ead8c9;

  border-radius:12px;

  background:#fff;

  color:#27221e;

  font-weight:700;

}

.notes-file-type-grid input{

  width:18px;

  height:18px;

  accent-color:var(--color-primary);

}

.notes-file-modal-actions{

  display:flex;

  justify-content:flex-end;

  gap:10px;

}

.notes-file-toast{

  position:fixed;

  right:24px;

  bottom:24px;

  z-index:10001;

  max-width:320px;

  border-radius:14px;

  background:#27221e;

  color:#fff;

  padding:12px 16px;

  box-shadow:0 16px 40px rgba(39,34,30,.18);

  font-weight:700;

}

.notes-file-editor-modal{

  width:min(920px,calc(100vw - 32px));

}

.notes-editor-head{

  display:flex;

  align-items:flex-start;

  justify-content:space-between;

  gap:16px;

}

.notes-editor-head h2{

  margin:0;

  min-width:0;

  overflow:hidden;

  text-overflow:ellipsis;

  white-space:nowrap;

}

.notes-editor-head span{

  flex:0 0 auto;

  padding:6px 10px;

  border-radius:999px;

  background:#fff7f2;

  color:var(--color-primary);

  font-size:13px;

  font-weight:700;

}

.notes-file-editor{

  width:100%;

  min-height:420px;

  resize:vertical;

  border:1px solid #ead8c9;

  border-radius:14px;

  background:#fff;

  color:#27221e;

  padding:16px;

  font:14px/1.55 "Manrope",Arial,sans-serif;

}

.notes-file-editor:focus{

  outline:none;

  border-color:var(--color-primary);

  box-shadow:0 0 0 3px rgba(36, 107, 103, .12);

}

.notes-file-editor[readonly]{

  background:#fff7f2;

  color:#756d66;

}

@media(max-width:700px){

  .notes-file-row{

    grid-template-columns:40px minmax(0,1fr);

  }

  .notes-file-download,

  .notes-file-delete{

    grid-column:2;

    width:100%;

  }

  .notes-file-type-grid{

    grid-template-columns:1fr;

  }

}



/* notes-logoped-layout-20260802 */

.notes-topbar{

  display:flex;

  align-items:flex-start;

  justify-content:space-between;

  gap:18px;

}

.notes-topbar .pp-top,

.notes-topbar .crm-top,

.notes-topbar > :first-child{

  flex:1 1 auto;

}

.notes-top-actions{

  flex:0 0 auto;

  display:flex;

  justify-content:flex-end;

  align-items:center;

  gap:10px;

  padding-top:8px;

}

.notes-note-buttons{

  justify-content:flex-start;

}

.notes-file-chips{

  display:flex;

  flex-wrap:wrap;

  gap:10px;

}

.notes-file-chip{

  display:inline-flex;

  align-items:center;

  max-width:360px;

  border:1px solid #ead8c9;

  border-radius:12px;

  background:#fffdfa;

  overflow:hidden;

}

.notes-file-chip:hover{

  border-color:#ff8a65;

  background:#fff7f2;

}

.notes-file-chip-main,

.notes-file-chip-action{

  height:40px;

  border:0;

  background:transparent;

  color:#27221e;

  cursor:pointer;

}

.notes-file-chip-main{

  min-width:0;

  max-width:260px;

  padding:0 14px;

  overflow:hidden;

  text-overflow:ellipsis;

  white-space:nowrap;

  font-weight:700;

}

.notes-file-chip-action{

  width:38px;

  border-left:1px solid #ead8c9;

  color:var(--color-primary);

  font-size:18px;

  font-weight:800;

}

.notes-file-chip-action:hover{

  background:var(--color-primary);

  color:#fff;

}

.notes-logoped-card{

  display:grid;

  gap:16px;

  padding:18px;

}

.notes-logoped-table{

  display:grid;

  gap:8px;

}

.notes-logoped-head,

.notes-logoped-row{

  display:grid;

  grid-template-columns:minmax(240px,340px) minmax(280px,1fr) 42px;

  gap:10px;

  align-items:center;

}

.notes-logoped-head{

  color:#756d66;

  font-size:13px;

  font-weight:700;

  padding:0 10px;

}

.notes-logoped-row{

  padding:10px;

  border:1px solid #ead8c9;

  border-radius:12px;

  background:#fffdfa;

}

.notes-logoped-row:hover{

  border-color:#ff8a65;

  background:#fff7f2;

}

.notes-logoped-row select,

.notes-logoped-row textarea{

  width:100%;

  border:1px solid #ead8c9;

  border-radius:10px;

  background:#fff;

  color:#27221e;

  font:14px/1.4 "Manrope",Arial,sans-serif;

}

.notes-logoped-row select{

  height:42px;

  padding:0 12px;

}

.notes-logoped-row textarea{

  min-height:42px;

  resize:vertical;

  padding:10px 12px;

}

.notes-logoped-row select:focus,

.notes-logoped-row textarea:focus{

  outline:none;

  border-color:var(--color-primary);

  box-shadow:0 0 0 3px rgba(36, 107, 103, .12);

}

.notes-logoped-empty{

  padding:18px;

  border:1px dashed #ead8c9;

  border-radius:12px;

  color:#756d66;

  text-align:center;

}

@media(max-width:760px){

  .notes-topbar{

    display:grid;

  }

  .notes-top-actions{

    justify-content:stretch;

  }

  .notes-top-actions .notes-action{

    flex:1 1 0;

  }

  .notes-logoped-head{

    display:none;

  }

  .notes-logoped-row{

    grid-template-columns:1fr;

  }

  .notes-logoped-row .notes-file-delete{

    width:100%;

  }

}



/* notes-logoped-table-polish-20260802 */

.notes-logoped-card-table{

  padding:0;

  overflow:hidden;

}

.notes-logoped-card-table .notes-files-head{

  padding:18px 20px;

  border-bottom:1px solid #ead8c9;

}

.notes-logoped-add{

  width:42px;

  height:42px;

  min-width:42px;

  padding:0;

  border-radius:12px;

  font-size:24px;

  line-height:1;

}

.notes-logoped-table-wrap{

  border:0;

  border-radius:0;

}

.notes-logoped-ui-table th,

.notes-logoped-ui-table td{

  vertical-align:middle;

}

.notes-logoped-ui-table th:first-child,

.notes-logoped-ui-table td:first-child{

  width:34%;

  min-width:260px;

}

.notes-logoped-select,

.notes-logoped-comment{

  width:100%;

  height:42px;

  border:1px solid #ead8c9;

  border-radius:10px;

  background:#fffdfa;

  color:#27221e;

  font:14px/1.4 "Manrope",Arial,sans-serif;

}

.notes-logoped-person-cell{

  display:grid;

  gap:8px;

}

.notes-logoped-select{

  padding:0 12px;

}

.notes-logoped-comment{

  padding:0 12px;

}

.notes-logoped-select:focus,

.notes-logoped-comment:focus{

  outline:none;

  border-color:var(--color-primary);

  box-shadow:0 0 0 3px rgba(36, 107, 103, .12);

}

.notes-logoped-ui-table .notes-file-delete{

  width:36px;

  height:36px;

}

.notes-logoped-ui-table .notes-logoped-empty{

  margin:8px 0;

  border:0;

  background:transparent;

}

.notes-logoped-ui-table tr.notes-logoped-signed td{

  background:#edf8ef;

}

.notes-logoped-ui-table tr.notes-logoped-signed:hover td{

  background:#e2f4e7;

}

.notes-logoped-signed-check{

  display:flex;

  align-items:center;

  justify-content:center;

}

.notes-logoped-signed-check input{

  width:20px;

  height:20px;

  accent-color:#21a55b;

}



/* classes-reference-design-20260803 */

:root{

  --crm-bg:#F7F3ED;

  --crm-surface:#FFFDFC;

  --crm-surface-soft:#FCF8F3;

  --crm-text:#29231F;

  --crm-text-secondary:#746A63;

  --crm-text-muted:#A0958D;

  --crm-border:#E7D9CD;

  --crm-primary:var(--color-primary);

  --crm-primary-hover:var(--color-primary-hover);

  --crm-primary-soft:var(--color-primary-soft);

  --crm-sage:#73845E;

  --crm-sage-soft:#EEF3E8;

  --crm-danger:#D95745;

  --crm-danger-soft:#FFF0ED;

  --crm-shadow:0 8px 28px rgba(70,46,31,.07);

}

.pp-classes-screen{

  --icon-plus:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E");

  --icon-search:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' 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");

  --icon-template:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");

  --icon-users:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='10' cy='8' r='5'/%3E%3Cpath d='M22 20a6 6 0 0 0-5-5.8'/%3E%3Cpath d='M17 3.3a5 5 0 0 1 0 9.4'/%3E%3C/svg%3E");

  --icon-archive:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='4' width='18' height='4' rx='1'/%3E%3Cpath d='M5 8v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E");

  --icon-pencil:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");

  --icon-trash:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' 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 6-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");

  --icon-book:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V5a2 2 0 0 1 2-2h5a3 3 0 0 1 3 3 3 3 0 0 1 3-3h5a2 2 0 0 1 2 2v12a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E");

  position:relative;

  font-family:"Manrope",Arial,sans-serif!important;

  background:var(--crm-bg)!important;

  color:var(--crm-text)!important;

}

.pp-classes-screen>.pp-head{

  position:relative!important;

  padding:30px 250px 16px 0!important;

  margin:0!important;

}

.pp-classes-screen>.pp-head h1{

  font-size:32px!important;

  line-height:40px!important;

  letter-spacing:0!important;

}

.pp-classes-screen>.pp-head p{

  margin-top:6px!important;

  font-size:14px!important;

  line-height:21px!important;

}

.pp-classes-screen .classes-add-row{

  position:absolute!important;

  right:0!important;

  top:34px!important;

  margin:0!important;

  z-index:2;

}

.pp-classes-screen .classes-add-row .btn-primary{

  min-width:198px!important;

  height:48px!important;

  padding:0 22px!important;

  display:inline-flex!important;

  align-items:center!important;

  justify-content:center!important;

  gap:10px!important;

  border:0!important;

  border-radius:12px!important;

  background:var(--crm-primary)!important;

  color:#fff!important;

  box-shadow:0 8px 18px rgba(36, 107, 103, .22)!important;

}

.pp-classes-screen .classes-add-row .btn-primary::before,

.pp-classes-screen .pp-toolbar .btn:nth-of-type(2)::before{

  content:""!important;

  width:18px!important;

  height:18px!important;

  flex:0 0 18px!important;

  background:currentColor!important;

  -webkit-mask:var(--icon-plus) center/contain no-repeat!important;

  mask:var(--icon-plus) center/contain no-repeat!important;

}

.pp-classes-screen .classes-add-row .btn-primary:hover{

  background:var(--crm-primary-hover)!important;

}

.pp-classes-screen .pp-class-mode-tabs{

  margin-top:24px!important;

  height:48px!important;

  border-radius:12px!important;

  border-color:var(--crm-border)!important;

  background:var(--crm-surface)!important;

}

.pp-classes-screen .pp-class-mode-tabs button{

  height:48px!important;

  min-width:150px!important;

  color:var(--crm-text-secondary)!important;

  font-size:14px!important;

  line-height:20px!important;

}

.pp-classes-screen .pp-class-mode-tabs button.active{

  background:linear-gradient(180deg,#fffaf0,#fffdfc)!important;

  color:var(--crm-primary)!important;

  box-shadow:inset 0 -2px 0 var(--crm-primary)!important;

}

.pp-classes-screen .pp-toolbar{

  position:relative!important;

  min-height:96px!important;

  padding:20px!important;

  gap:16px!important;

  border-radius:16px!important;

  border-color:var(--crm-border)!important;

  background:var(--crm-surface)!important;

  box-shadow:var(--crm-shadow)!important;

}

.pp-classes-screen .pp-toolbar input,

.pp-classes-screen .pp-toolbar select,

.pp-classes-screen .pp-toolbar .btn{

  height:48px!important;

  min-height:48px!important;

  border-radius:12px!important;

  border:1px solid var(--crm-border)!important;

  background:var(--crm-surface)!important;

  color:var(--crm-text)!important;

  font-size:14px!important;

  line-height:20px!important;

  font-weight:600!important;

}

.pp-classes-screen .pp-toolbar input{

  flex:1 1 330px!important;

  padding-left:48px!important;

  background-image:none!important;

}

.pp-classes-screen .pp-toolbar input::placeholder{

  color:var(--crm-text-muted)!important;

  font-weight:500!important;

}

.pp-classes-screen .pp-toolbar::before{

  content:"";

  width:19px;

  height:19px;

  position:absolute;

  margin-left:18px;

  background:var(--crm-text-secondary);

  -webkit-mask:var(--icon-search) center/contain no-repeat;

  mask:var(--icon-search) center/contain no-repeat;

  pointer-events:none;

}

.pp-classes-screen .pp-toolbar select{

  min-width:160px!important;

  appearance:auto!important;

}

.pp-classes-screen .pp-toolbar .btn{

  min-width:184px!important;

  display:inline-flex!important;

  align-items:center!important;

  justify-content:center!important;

  gap:10px!important;

  padding:0 16px!important;

}

.pp-classes-screen .pp-toolbar .btn:nth-of-type(1){

  background:var(--crm-sage-soft)!important;

  border-color:#DCE8D4!important;

  color:var(--crm-sage)!important;

}

.pp-classes-screen .pp-toolbar .btn:nth-of-type(1)::before{

  content:""!important;

  width:18px!important;

  height:18px!important;

  flex:0 0 18px!important;

  background:currentColor!important;

  -webkit-mask:var(--icon-template) center/contain no-repeat!important;

  mask:var(--icon-template) center/contain no-repeat!important;

}

.pp-classes-screen .pp-toolbar .btn:nth-of-type(2){

  min-width:248px!important;

  border-color:#8B6250!important;

  color:#51433B!important;

}

.pp-classes-screen .pp-table-card{

  border-radius:16px!important;

  border-color:var(--crm-border)!important;

  background:var(--crm-surface)!important;

  box-shadow:var(--crm-shadow)!important;

  overflow:hidden!important;

}

.pp-classes-screen .pp-class-table,

.pp-classes-screen .pp-event-table{

  min-width:920px!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{

  grid-template-columns:minmax(260px,1.35fr) 150px 190px minmax(390px,1fr)!important;

  min-height:74px!important;

  padding:0 24px!important;

  border-bottom:1px solid var(--crm-border)!important;

}

.pp-classes-screen .pp-class-table-head,

.pp-classes-screen .pp-event-table-head{

  min-height:58px!important;

  color:var(--crm-text-secondary)!important;

  font-size:12px!important;

  line-height:16px!important;

  font-weight:600!important;

}

.pp-classes-screen .pp-class-row:hover,

.pp-classes-screen .pp-event-row:hover{

  background:#FFF8F1!important;

}

.pp-classes-screen .pp-class-name i{

  width:12px!important;

  height:12px!important;

}

.pp-classes-screen .pp-class-name b,

.pp-classes-screen .pp-class-name strong{

  font-size:14px!important;

  line-height:20px!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){

  min-height:32px!important;

  padding:5px 12px!important;

  border-radius:9px!important;

  background:#FAF6F1!important;

}

.pp-classes-screen .pp-class-row>span:nth-child(3)::before{

  -webkit-mask:var(--icon-users) center/contain no-repeat!important;

  mask:var(--icon-users) center/contain no-repeat!important;

}

.pp-classes-screen .pp-row-actions{

  gap:12px!important;

}

.pp-classes-screen .pp-row-actions b{

  min-width:116px!important;

  height:44px!important;

  border-radius:10px!important;

  font-size:14px!important;

  line-height:20px!important;

  color:#51433B!important;

}

.pp-classes-screen .pp-row-actions b::before{

  content:""!important;

  width:18px!important;

  height:18px!important;

  flex:0 0 18px!important;

  background:currentColor!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(1)::before{

  -webkit-mask:var(--icon-archive) center/contain no-repeat!important;

  mask:var(--icon-archive) center/contain no-repeat!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(2)::before{

  -webkit-mask:var(--icon-pencil) center/contain no-repeat!important;

  mask:var(--icon-pencil) center/contain no-repeat!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(3)::before{

  -webkit-mask:var(--icon-trash) center/contain no-repeat!important;

  mask:var(--icon-trash) center/contain no-repeat!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(2){

  color:var(--crm-primary)!important;

  border-color:#FFB299!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(3){

  color:var(--crm-danger)!important;

  border-color:#FFB3AA!important;

}

.pp-classes-screen .pp-table-card::after{

  content:"Показано 1 из 1";

  display:none;

}

.pp-modal-backdrop:has(.pp-class-modal-paraplan){

  background:rgba(42,32,25,.56)!important;

  align-items:stretch!important;

  justify-content:flex-end!important;

}

.pp-class-modal-paraplan{

  width:min(560px,100vw)!important;

  max-height:100vh!important;

  height:100vh!important;

  padding:0 32px 88px!important;

  gap:12px!important;

  border-radius:0!important;

  background:var(--crm-surface)!important;

  box-shadow:-16px 0 36px rgba(42,32,25,.16)!important;

}

.pp-class-modal-paraplan .class-drawer-head{

  position:sticky!important;

  top:0!important;

  z-index:4!important;

  min-height:82px!important;

  margin:0 -32px 10px!important;

  padding:18px 32px!important;

  background:var(--crm-surface)!important;

  border-bottom:1px solid var(--crm-border)!important;

}

.pp-class-modal-paraplan .class-drawer-head::before{

  content:"";

  width:48px;

  height:48px;

  flex:0 0 48px;

  border-radius:12px;

  background:var(--crm-sage-soft);

  background-image:var(--icon-book);

  background-repeat:no-repeat;

  background-position:center;

  background-size:25px;

  filter:none;

}

.pp-class-modal-paraplan .class-drawer-head h2{

  color:var(--crm-text)!important;

  font-size:24px!important;

  line-height:32px!important;

  font-weight:700!important;

}

.pp-class-modal-paraplan .class-drawer-head h2::after{

  content:"Создайте занятие и добавьте участников";

  display:block;

  margin-top:2px;

  color:var(--crm-text-secondary);

  font-size:13px;

  line-height:18px;

  font-weight:400;

}

.pp-class-modal-paraplan .pp-icon-btn{

  width:36px!important;

  height:36px!important;

  border:1px solid var(--crm-border)!important;

  border-radius:8px!important;

  background:#fff!important;

  color:#51433B!important;

  font-size:0!important;

}

.pp-class-modal-paraplan .pp-icon-btn::before{

  content:"×";

  font-size:22px;

  line-height:1;

}

.pp-class-modal-paraplan .class-drawer-row,

.pp-class-modal-paraplan .class-drawer-section-title{

  position:relative;

  z-index:1;

}

.pp-class-modal-paraplan .class-drawer-row{

  grid-template-columns:100px minmax(0,1fr)!important;

  gap:16px!important;

  min-height:46px!important;

}

.pp-class-modal-paraplan .class-drawer-row>span,

.pp-class-modal-paraplan .class-drawer-section-title{

  color:var(--crm-text-secondary)!important;

  font-size:13px!important;

  line-height:18px!important;

  font-weight:500!important;

}

.pp-class-modal-paraplan .class-drawer-row input,

.pp-class-modal-paraplan .class-drawer-row select,

.pp-class-modal-paraplan .class-drawer-row textarea,

.pp-class-modal-paraplan .class-student-select{

  min-height:46px!important;

  border:1px solid var(--crm-border)!important;

  border-radius:10px!important;

  background:#fff!important;

  color:var(--crm-text)!important;

  font-size:14px!important;

  line-height:20px!important;

}

.pp-class-modal-paraplan .class-drawer-row input:focus,

.pp-class-modal-paraplan .class-drawer-row select:focus,

.pp-class-modal-paraplan .class-drawer-row textarea:focus,

.pp-class-modal-paraplan .class-student-select:focus{

  outline:none!important;

  border-color:var(--crm-primary)!important;

  box-shadow:0 0 0 3px rgba(36, 107, 103, .12)!important;

}

.pp-class-modal-paraplan .class-drawer-row textarea{

  min-height:92px!important;

}

.pp-class-modal-paraplan .class-drawer-type>div{

  display:grid!important;

  grid-template-columns:1fr 1fr!important;

  gap:0!important;

  border:1px solid var(--crm-border)!important;

  border-radius:10px!important;

  overflow:hidden!important;

  background:#fff!important;

}

.pp-class-modal-paraplan .class-drawer-type label{

  min-height:44px!important;

  justify-content:center!important;

  border-radius:0!important;

  color:var(--crm-text-secondary)!important;

}

.pp-class-modal-paraplan .class-drawer-type label.active{

  background:var(--crm-sage-soft)!important;

  color:var(--crm-sage)!important;

}

.pp-class-modal-paraplan .class-drawer-type input{

  width:18px!important;

  height:18px!important;

  min-height:18px!important;

  accent-color:var(--crm-sage)!important;

}

.pp-class-modal-paraplan .class-color-select{

  grid-template-columns:minmax(0,1fr) 28px!important;

}

.pp-class-modal-paraplan .class-color-select i{

  width:22px!important;

  height:22px!important;

  border:3px solid #fff!important;

  box-shadow:0 0 0 1px var(--crm-border)!important;

}

.pp-class-modal-paraplan .class-drawer-section-title{

  margin:18px 0 8px!important;

  padding-top:16px!important;

  border-top:1px solid var(--crm-border)!important;

  color:var(--crm-text)!important;

  font-size:16px!important;

  line-height:24px!important;

  font-weight:700!important;

}

.pp-class-modal-paraplan .class-drawer-section-title::before{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  width:20px;

  height:20px;

  margin-right:8px;

  border-radius:999px;

  background:var(--crm-sage);

  color:#fff;

  font-size:12px;

  font-weight:700;

}

.pp-class-modal-paraplan .class-drawer-section-title:nth-of-type(1)::before{content:"3"}

.pp-class-modal-paraplan .class-drawer-section-title:nth-of-type(2)::before{content:"4"}

.pp-class-modal-paraplan .class-drawer-checkbox-row .warm-checkbox-line{

  min-height:38px!important;

  display:grid!important;

  grid-template-columns:20px minmax(0,1fr)!important;

  justify-content:flex-start!important;

  align-items:start!important;

  column-gap:10px!important;

  color:var(--crm-text-secondary)!important;

  font-size:12px!important;

  line-height:17px!important;

  text-align:left!important;

}

.pp-class-modal-paraplan .class-drawer-checkbox-row .warm-checkbox-line input{

  margin:1px 0 0!important;

  justify-self:start!important;

}

.pp-class-modal-paraplan .class-drawer-checkbox-row .warm-checkbox-line span{

  display:block!important;

  min-width:0!important;

  text-align:left!important;

  color:var(--crm-text-secondary)!important;

}

.pp-class-modal-paraplan .class-student-dropdown{

  border-color:var(--crm-border)!important;

  border-radius:12px!important;

  box-shadow:0 12px 30px rgba(70,46,31,.13)!important;

}

.pp-class-modal-paraplan .class-student-checks label{

  border-radius:8px!important;

}

.pp-class-modal-paraplan .pp-form-error{

  margin:12px 0 0 116px!important;

  border-radius:12px!important;

  border-color:var(--crm-danger)!important;

  background:var(--crm-danger-soft)!important;

  color:var(--crm-danger)!important;

  font-size:15px!important;

  font-weight:700!important;

}

.pp-class-modal-paraplan .class-drawer-actions{

  position:sticky!important;

  bottom:-88px!important;

  margin:18px -32px -88px!important;

  padding:14px 32px!important;

  background:rgba(255,253,252,.96)!important;

  border-top:1px solid var(--crm-border)!important;

  justify-content:flex-end!important;

}

.pp-class-modal-paraplan .class-drawer-actions .btn{

  height:48px!important;

  min-width:132px!important;

  border-radius:10px!important;

  font-weight:700!important;

}

.pp-class-modal-paraplan .class-drawer-actions .btn-primary{

  min-width:156px!important;

  border:0!important;

  background:var(--crm-primary)!important;

  color:#fff!important;

  box-shadow:0 8px 18px rgba(36, 107, 103, .2)!important;

}

.pp-class-modal-paraplan .class-drawer-actions .btn-primary::before{

  content:"";

  width:18px;

  height:18px;

  margin-right:8px;

  display:inline-block;

  vertical-align:-4px;

  background:currentColor;

  -webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;

  mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;

}

@media(max-width:1180px){

  .pp-classes-screen>.pp-head{padding-right:0!important}

  .pp-classes-screen .classes-add-row{position:static!important;justify-content:flex-start!important;margin:4px 0 0!important}

}

@media(max-width:760px){

  .pp-classes-screen .classes-add-row .btn-primary{width:100%!important}

  .pp-class-modal-paraplan{width:100vw!important;padding-left:18px!important;padding-right:18px!important}

  .pp-class-modal-paraplan .class-drawer-head{margin-left:-18px!important;margin-right:-18px!important;padding-left:18px!important;padding-right:18px!important}

  .pp-class-modal-paraplan .class-drawer-row{grid-template-columns:1fr!important}

  .pp-class-modal-paraplan .pp-form-error{margin-left:0!important}

  .pp-class-modal-paraplan .class-drawer-actions{margin-left:-18px!important;margin-right:-18px!important;padding-left:18px!important;padding-right:18px!important}

}



/* classes-icons-from-archive-20260803 */

.pp-classes-screen,

.pp-class-modal-paraplan{

  --classes-icon-plus:url("/icons/classes/plus.svg");

  --classes-icon-search:url("/icons/classes/search.svg");

  --classes-icon-template:url("/icons/classes/layout-template.svg");

  --classes-icon-users:url("/icons/classes/users-round.svg");

  --classes-icon-archive:url("/icons/classes/archive.svg");

  --classes-icon-pencil:url("/icons/classes/pencil.svg");

  --classes-icon-trash:url("/icons/classes/trash-2.svg");

  --classes-icon-book:url("/icons/classes/book-open.svg");

  --classes-icon-save:url("/icons/classes/check.svg");

  --classes-icon-close:url("/icons/classes/close.svg");

  --classes-icon-palette:url("/icons/classes/palette.svg");

  --classes-icon-chevron:url("/icons/classes/chevron-down.svg");

}

.pp-classes-screen .classes-add-row .btn-primary::before,

.pp-classes-screen .pp-toolbar .btn:nth-of-type(1)::before,

.pp-classes-screen .pp-toolbar .btn:nth-of-type(2)::before,

.pp-classes-screen .pp-row-actions b::before,

.pp-class-modal-paraplan .class-drawer-actions .btn-primary::before,

.pp-class-modal-paraplan .pp-icon-btn::before{

  content:""!important;

  display:inline-block!important;

  width:18px!important;

  height:18px!important;

  min-width:18px!important;

  flex:0 0 18px!important;

  margin:0!important;

  font-size:0!important;

  line-height:0!important;

  background:currentColor!important;

  background-image:none!important;

}

.pp-classes-screen .classes-add-row .btn-primary::before,

.pp-classes-screen .pp-toolbar .btn:nth-of-type(2)::before{

  -webkit-mask:var(--classes-icon-plus) center/contain no-repeat!important;

  mask:var(--classes-icon-plus) center/contain no-repeat!important;

}

.pp-classes-screen .pp-toolbar .btn:nth-of-type(1)::before{

  -webkit-mask:var(--classes-icon-template) center/contain no-repeat!important;

  mask:var(--classes-icon-template) center/contain no-repeat!important;

}

.pp-classes-screen .pp-toolbar::before{

  -webkit-mask:var(--classes-icon-search) center/contain no-repeat!important;

  mask:var(--classes-icon-search) center/contain no-repeat!important;

}

.pp-classes-screen .pp-class-row>span:nth-child(3)::before{

  -webkit-mask:var(--classes-icon-users) center/contain no-repeat!important;

  mask:var(--classes-icon-users) center/contain no-repeat!important;

}

.pp-classes-screen .pp-row-actions b{

  display:inline-flex!important;

  align-items:center!important;

  justify-content:center!important;

  gap:9px!important;

  white-space:nowrap!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(1)::before{

  -webkit-mask:var(--classes-icon-archive) center/contain no-repeat!important;

  mask:var(--classes-icon-archive) center/contain no-repeat!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(2)::before{

  -webkit-mask:var(--classes-icon-pencil) center/contain no-repeat!important;

  mask:var(--classes-icon-pencil) center/contain no-repeat!important;

}

.pp-classes-screen .pp-row-actions b:nth-child(3)::before{

  -webkit-mask:var(--classes-icon-trash) center/contain no-repeat!important;

  mask:var(--classes-icon-trash) center/contain no-repeat!important;

}

.pp-class-modal-paraplan .class-drawer-actions .btn-primary{

  display:inline-flex!important;

  align-items:center!important;

  justify-content:center!important;

  gap:9px!important;

}

.pp-class-modal-paraplan .class-drawer-actions .btn-primary::before{

  -webkit-mask:var(--classes-icon-save) center/contain no-repeat!important;

  mask:var(--classes-icon-save) center/contain no-repeat!important;

}

.pp-class-modal-paraplan .pp-icon-btn{

  display:inline-flex!important;

  align-items:center!important;

  justify-content:center!important;

  color:#51433B!important;

  font-size:0!important;

}

.pp-class-modal-paraplan .pp-icon-btn::before{

  -webkit-mask:var(--classes-icon-close) center/contain no-repeat!important;

  mask:var(--classes-icon-close) center/contain no-repeat!important;

}

.pp-class-modal-paraplan .class-drawer-head::before{

  background:var(--crm-sage-soft)!important;

  border:1px solid #DCE8D4!important;

}

.pp-class-modal-paraplan .class-drawer-head::after{

  content:""!important;

  position:absolute!important;

  left:46px!important;

  top:34px!important;

  width:26px!important;

  height:26px!important;

  background:var(--crm-sage)!important;

  -webkit-mask:var(--classes-icon-book) center/contain no-repeat!important;

  mask:var(--classes-icon-book) center/contain no-repeat!important;

  pointer-events:none!important;

}



/* native-browser-links-20260803 */

a.sidebar-item,

a.bottombar-item,

a.more-sheet-item,

a.communication-popup-alert{

  color:inherit!important;

  text-decoration:none!important;

  cursor:pointer!important;

}

a.sidebar-item:visited,

a.bottombar-item:visited,

a.more-sheet-item:visited,

a.communication-popup-alert:visited{

  color:inherit!important;

}



/* unified-section-top-20260803 */

.content{

  background:var(--crm-bg,#F7F3ED)!important;

}

.screen-head,

.pp-head,

.cr-page-hero{

  background:transparent!important;

  border:0!important;

  border-bottom:0!important;

  box-shadow:none!important;

}

.screen-head{

  min-height:auto!important;

  margin:0 0 22px!important;

  padding:26px 0 0!important;

}

.pp-screen>.screen-head,

.pp-screen>.pp-head,

.lead-screen>.screen-head,

.tasks-screen>.pp-head,

.pp-schedule-screen>.pp-head{

  margin:0 0 18px!important;

  padding:26px 0 0!important;

}

.screen-head h1,

.pp-head h1,

.cr-page-hero h1{

  margin:0!important;

  color:var(--crm-text,#29231F)!important;

  font-family:"Manrope",Arial,sans-serif!important;

  font-size:32px!important;

  line-height:40px!important;

  font-weight:800!important;

  letter-spacing:0!important;

}

.screen-head p,

.pp-head p,

.cr-page-hero p:not(.cr-eyebrow){

  color:var(--crm-text-secondary,#746A63)!important;

  font-family:"Manrope",Arial,sans-serif!important;

  font-size:14px!important;

  line-height:21px!important;

}

.cr-eyebrow{

  display:none!important;

}

.cr-top-actions{

  display:flex!important;

  align-items:center!important;

  justify-content:flex-end!important;

  gap:10px!important;

  margin-left:auto!important;

}

.student-toolbar,

.student-toolbar-paraplan,

.lead-toolbar,

.lead-toolbar-paraplan,

.tasks-toolbar{

  width:100%!important;

  box-sizing:border-box!important;

  margin:0 0 18px!important;

  padding:0!important;

  align-items:center!important;

}

.student-toolbar,

.student-toolbar-paraplan,

.lead-toolbar,

.lead-toolbar-paraplan{

  display:flex!important;

  flex-wrap:wrap!important;

  gap:12px!important;

}

.student-toolbar input,

.student-toolbar select,

.student-toolbar-paraplan input,

.student-toolbar-paraplan select,

.lead-toolbar input,

.lead-toolbar select,

.lead-toolbar-paraplan input,

.lead-toolbar-paraplan select{

  height:46px!important;

  border:1px solid var(--crm-border,#E7D9CD)!important;

  border-radius:10px!important;

  background:#FFFDFC!important;

  font-family:"Manrope",Arial,sans-serif!important;

}

.student-toolbar .btn-primary,

.student-toolbar-paraplan .btn-primary,

.lead-toolbar .btn-primary,

.lead-toolbar-paraplan .btn-primary,

.task-add-inline{

  margin-left:auto!important;

  min-height:46px!important;

  border-radius:10px!important;

  background:var(--crm-primary,var(--color-primary))!important;

  border-color:var(--crm-primary,var(--color-primary))!important;

  color:#fff!important;

  font-weight:700!important;

}

.student-toolbar .pp-filter-button,

.student-toolbar-paraplan .pp-filter-button,

.lead-toolbar .pp-filter-button,

.lead-toolbar-paraplan .pp-filter-button{

  flex:0 0 48px!important;

  margin-left:0!important;

}

.tasks-screen .pp-head .btn-primary,

.tasks-screen .pp-head .cr-top-actions .btn-primary{

  display:none!important;

}

.tasks-toolbar{

  display:flex!important;

  flex-wrap:wrap!important;

  gap:12px!important;

}

.tasks-toolbar input,

.tasks-toolbar select{

  flex:1 1 150px!important;

  min-width:140px!important;

  height:46px!important;

  border:1px solid var(--crm-border,#E7D9CD)!important;

  border-radius:10px!important;

  background:#FFFDFC!important;

  font-family:"Manrope",Arial,sans-serif!important;

}

.tasks-toolbar .tasks-search{

  flex:1 1 240px!important;

  min-width:220px!important;

}

.task-add-inline{

  flex:0 0 auto!important;

  margin-left:auto!important;

  justify-self:end!important;

  white-space:nowrap!important;

}

.tasks-toolbar .tasks-reset,

.tasks-toolbar .pp-filter-button{

  flex:0 0 auto!important;

}

.pp-time-grid-v47 .pp-day-head.today:after{

  content:"Сегодня"!important;

  max-width:none!important;

  width:auto!important;

  right:10px!important;

  padding:2px 8px!important;

  font-family:"Manrope",Arial,sans-serif!important;

}

.pp-time-grid-v47 .pp-day-head.today strong,

.pp-time-grid-v47 .pp-day-head strong{

  font-family:"Manrope",Arial,sans-serif!important;

  letter-spacing:0!important;

}

@media(max-width:920px){

  .tasks-toolbar{

    display:flex!important;

  }

  .task-add-inline,

  .tasks-toolbar .pp-filter-button{

    justify-self:stretch!important;

    width:100%!important;

  }

  .student-toolbar .btn-primary,

  .student-toolbar-paraplan .btn-primary,

  .lead-toolbar .btn-primary,

  .lead-toolbar-paraplan .btn-primary{

    margin-left:0!important;

  }

}



/* classes-inline-edit-20260803 */

.pp-classes-screen>.pp-head{

  padding-right:0!important;

}

.pp-classes-screen .classes-add-row{

  position:static!important;

  display:flex!important;

  justify-content:flex-end!important;

  align-items:center!important;

  margin:16px 0 14px!important;

}

.pp-classes-screen .classes-add-row .btn-primary{

  min-height:48px!important;

  padding:0 24px!important;

  border-radius:10px!important;

}

.class-inline-form{

  display:grid!important;

  gap:14px!important;

}

.class-inline-main{

  grid-template-columns:repeat(2,minmax(0,1fr))!important;

  align-items:start!important;

}

.class-inline-form label{

  display:grid!important;

  gap:7px!important;

  font-family:"Manrope",Arial,sans-serif!important;

  color:#51443B!important;

}

.class-inline-form label>span,

.class-inline-check span{

  font-size:13px!important;

  line-height:18px!important;

  font-weight:600!important;

}

.class-inline-form input,

.class-inline-form select,

.class-inline-form textarea,

.class-inline-picker .class-student-select{

  width:100%!important;

  min-height:42px!important;

  border:1px solid var(--crm-border,#E7D9CD)!important;

  border-radius:10px!important;

  background:#FFFDFC!important;

  padding:10px 12px!important;

  font-family:"Manrope",Arial,sans-serif!important;

}

.class-inline-wide{

  grid-column:1/-1!important;

}

.class-inline-check{

  display:flex!important;

  flex-direction:row!important;

  align-items:center!important;

  gap:10px!important;

  grid-column:1/-1!important;

}

.class-inline-check input{

  width:18px!important;

  min-height:18px!important;

  height:18px!important;

  padding:0!important;

  flex:0 0 18px!important;

}

.class-inline-dates{

  display:grid!important;

  grid-template-columns:repeat(2,minmax(0,1fr))!important;

  gap:12px!important;

}

.class-inline-actions{

  display:flex!important;

  justify-content:flex-end!important;

  align-items:center!important;

  gap:10px!important;

  margin-top:14px!important;

}

.class-inline-actions .pp-form-error{

  margin-right:auto!important;

  font-size:14px!important;

  font-weight:700!important;

}

.class-inline-picker{

  position:relative!important;

}

.pp-field-edit{

  gap:8px!important;

}

.pp-field-edit input,

.pp-field-edit select,

.pp-field-edit textarea,

.class-inline-description{

  width:100%!important;

  min-height:36px!important;

  border:0!important;

  outline:0!important;

  border-radius:8px!important;

  background:#fffaf6!important;

  padding:6px 8px!important;

  font-family:"Manrope",Arial,sans-serif!important;

  font-size:14px!important;

  line-height:20px!important;

  color:#27221e!important;

}

.pp-field-edit .class-inline-check{

  padding:0!important;

  margin:0!important;

  gap:8px!important;

}

.pp-field-edit .class-inline-check input{

  width:16px!important;

  height:16px!important;

  min-height:16px!important;

}

.class-inline-description{

  border:1px solid var(--crm-border,#E7D9CD)!important;

  min-height:92px!important;

  resize:vertical!important;

}

.pp-class-modal-paraplan .class-drawer-row:nth-of-type(1),

.pp-class-modal-paraplan .class-drawer-row:nth-of-type(5){

  padding-top:18px!important;

  margin-top:12px!important;

  border-top:1px solid var(--crm-border,#E7D9CD)!important;

}

.pp-class-modal-paraplan .class-drawer-row:nth-of-type(1)::before,

.pp-class-modal-paraplan .class-drawer-row:nth-of-type(5)::before{

  position:absolute!important;

  left:0!important;

  top:-10px!important;

  display:inline-flex!important;

  align-items:center!important;

  justify-content:center!important;

  width:20px!important;

  height:20px!important;

  border-radius:999px!important;

  background:var(--crm-sage,#71865f)!important;

  color:#fff!important;

  font-size:12px!important;

  line-height:20px!important;

  font-weight:700!important;

}

.pp-class-modal-paraplan .class-drawer-row:nth-of-type(1)::before{content:"1"!important}

.pp-class-modal-paraplan .class-drawer-row:nth-of-type(5)::before{content:"2"!important}

.pp-class-card .pp-card-title-row .pp-class-drawer-actions .btn{

  display:none!important;

}

.pp-class-card .pp-tab-body{

  display:flex!important;

  flex-direction:column!important;

  gap:14px!important;

}

.class-tab-edit-btn{

  align-self:flex-end!important;

  min-height:40px!important;

  padding:0 16px!important;

  border-radius:10px!important;

  font-weight:700!important;

  background:var(--crm-primary,var(--color-primary))!important;

  border-color:var(--crm-primary,var(--color-primary))!important;

  color:#fff!important;

}

.class-inline-actions{

  order:-1!important;

}

.class-description-tab .pp-fields{

  order:1!important;

}

.class-description-tab .pp-panel,

.class-description-tab .card{

  order:2!important;

}

@media(max-width:720px){

  .class-inline-main,

  .class-inline-dates{

    grid-template-columns:1fr!important;

  }

  .pp-classes-screen .classes-add-row{

    justify-content:stretch!important;

  }

  .pp-classes-screen .classes-add-row .btn-primary{

    width:100%!important;

  }

}



/* contact-channel-20260805 */

.contact-channel-editor{display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;gap:8px 14px!important;align-items:start!important;margin:2px 0 8px!important}

.contact-channel-editor>span{font-size:14px!important;color:var(--text-secondary,#756E67)!important;padding-top:9px!important}

.contact-channel-options{display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important;min-height:42px!important;align-items:center!important}

.contact-channel-options label{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0!important;color:var(--text-primary,#27221E)!important;font-weight:600!important}

.contact-channel-options input[type=checkbox]{width:18px!important;height:18px!important;margin:0!important;accent-color:var(--primary,var(--color-primary))!important}

.contact-channel-other{grid-column:2!important;width:100%!important}

@media(max-width:620px){.contact-channel-editor{grid-template-columns:1fr!important}.contact-channel-other{grid-column:1!important}}



/* role-funnel-settings-20260805 */

.settings-leads-v2-row.is-draggable{cursor:grab;}

.settings-leads-v2-row.is-draggable:active{cursor:grabbing;}

.settings-leads-v2-name{display:inline-flex;align-items:center;gap:10px;min-width:0;}

.settings-leads-v2-drag{width:22px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);font-style:normal;font-weight:800;letter-spacing:-2px;background:var(--surface-secondary);border:1px solid var(--border);}

.settings-leads-v2-row.is-draggable:hover .settings-leads-v2-drag{color:var(--primary);border-color:var(--primary);background:var(--primary-soft);}





/* schedule-visual-20260806 */

.schedule-v47 .pp-lesson-chip-v47{

  min-width:54px!important;

  box-sizing:border-box!important;

}

.schedule-v47 .pp-lesson-chip-v47 strong{

  min-width:0!important;

  width:100%!important;

  overflow:hidden!important;

}

.schedule-v47 .pp-lesson-chip-v47 strong span{

  flex:1 1 auto!important;

  min-width:0!important;

  overflow:hidden!important;

  text-overflow:ellipsis!important;

  white-space:nowrap!important;

}

.schedule-v47 .pp-lesson-chip-v47 strong i{

  flex:0 0 10px!important;

}

.schedule-v47 .pp-lesson-chip-v47 span,

.schedule-v47 .pp-lesson-chip-v47 small{

  min-width:0!important;

  max-width:100%!important;

  overflow:hidden!important;

  text-overflow:ellipsis!important;

  white-space:nowrap!important;

}

@media(max-width:1200px){

  .schedule-v47 .pp-lesson-chip-v47{padding:8px 7px!important}

  .schedule-v47 .pp-lesson-chip-v47 strong{font-size:13px!important;gap:4px!important}

  .schedule-v47 .pp-lesson-chip-v47 span,

  .schedule-v47 .pp-lesson-chip-v47 small{font-size:11px!important}

}





/* schedule-card-text-20260806 */

.schedule-v47 .pp-lesson-chip-v47{

  display:flex!important;

  flex-direction:column!important;

  align-items:stretch!important;

  justify-content:flex-start!important;

  gap:2px!important;

  padding:8px 8px 7px!important;

  line-height:1.2!important;

}

.schedule-v47 .pp-lesson-chip-v47 strong{

  display:flex!important;

  align-items:center!important;

  gap:5px!important;

  flex:0 0 auto!important;

  width:100%!important;

  min-width:0!important;

  height:19px!important;

  margin:0 0 2px!important;

  overflow:hidden!important;

  line-height:19px!important;

}

.schedule-v47 .pp-lesson-chip-v47 strong > span{

  display:block!important;

  flex:1 1 auto!important;

  min-width:0!important;

  height:19px!important;

  color:#27221e!important;

  font-size:13px!important;

  font-weight:800!important;

  line-height:19px!important;

  overflow:hidden!important;

  text-overflow:ellipsis!important;

  white-space:nowrap!important;

}

.schedule-v47 .pp-lesson-chip-v47 strong > i{

  flex:0 0 9px!important;

  width:9px!important;

  height:9px!important;

}

.schedule-v47 .pp-lesson-chip-v47 > span{

  display:block!important;

  flex:0 0 auto!important;

  height:15px!important;

  color:#756d66!important;

  font-size:11px!important;

  line-height:15px!important;

  overflow:hidden!important;

  text-overflow:ellipsis!important;

  white-space:nowrap!important;

}

.schedule-v47 .pp-lesson-chip-v47 > small{

  display:block!important;

  flex:0 0 auto!important;

  height:14px!important;

  color:#756d66!important;

  font-size:10.5px!important;

  line-height:14px!important;

  overflow:hidden!important;

  text-overflow:ellipsis!important;

  white-space:nowrap!important;

}

.schedule-v47 .pp-lesson-chip-v47 > small:last-child{

  display:none!important;

}



/* leads-card-fix-20260806 */

.lead-screen .lead-board{

  max-height:calc(100vh - 250px)!important;

  overflow-x:auto!important;

  overflow-y:hidden!important;

  padding-bottom:26px!important;

  scrollbar-gutter:stable!important;

}

.lead-screen .lead-board:hover::-webkit-scrollbar,

.lead-screen .lead-board:focus-within::-webkit-scrollbar{height:14px!important}

.lead-screen .lead-board::-webkit-scrollbar{height:12px!important}

.lead-screen .lead-board::-webkit-scrollbar-track{background:#f1e8df!important;border-radius:999px!important}

.lead-screen .lead-board::-webkit-scrollbar-thumb{background:#d0aa85!important;border:3px solid #f1e8df!important;border-radius:999px!important}

.lead-screen .lead-board::-webkit-scrollbar-thumb:hover{background:#b88961!important}

.lead-screen .lead-list{max-height:calc(100vh - 370px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:4px!important}

.lead-screen .lead-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:start!important;column-gap:10px!important;row-gap:6px!important;min-height:92px!important;padding:14px 14px 12px!important;overflow:hidden!important}

.lead-screen .lead-card:after{content:""!important;display:none!important}



.lead-screen .lead-show-more{

  width:100%!important;

  border:1px dashed #efc9b6!important;

  background:var(--color-primary-soft)!important;

  color:var(--color-primary)!important;

  border-radius:10px!important;

  padding:11px 14px!important;

  font-weight:800!important;

  cursor:pointer!important;

}

.lead-screen .lead-show-more:hover{

  background:var(--color-primary-soft-hover)!important;

  border-color:var(--color-primary-border)!important;

}

.lead-screen .lead-card>span{grid-column:1!important;grid-row:1 / span 2!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}

.lead-screen .lead-card b{grid-column:2!important;grid-row:1!important;align-self:start!important;margin-left:0!important;font-size:13px!important;line-height:18px!important;color:#756d66!important}

.lead-screen .lead-card strong{font-size:15px!important;line-height:20px!important;font-weight:700!important;max-width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;color:#27221e!important}

.lead-screen .client-name-with-icons{max-width:100%!important;display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}

.lead-screen .client-name-with-icons>span:first-child{max-width:25ch!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}

.lead-screen .client-status-icons{flex:0 0 auto!important}

.lead-screen .lead-card em{font-size:13px!important;line-height:18px!important;color:#756d66!important;margin-top:6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}

@media(max-width:900px){.lead-screen .lead-board{max-height:none!important;overflow-x:auto!important}.lead-screen .lead-list{max-height:520px!important}}





/* student-pager-20260806 */

.student-pager{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;width:100%!important;margin:24px 0 0!important;padding:0 2px!important;color:#756d66!important;font-family:Manrope,Arial,sans-serif!important}

.student-pager>span:first-child{font-size:14px!important;line-height:20px!important;font-weight:400!important;color:#756d66!important;white-space:nowrap!important}

.student-pager-pages{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;margin-left:auto!important;flex:1 1 auto!important}

.student-pager button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#756d66!important;box-shadow:none!important;font-size:14px!important;font-weight:500!important;line-height:1!important;cursor:pointer!important}

.student-pager button:hover:not(:disabled){background:#fff8f1!important;color:#27221e!important}

.student-pager button.active{background:#fff!important;border:1px solid #e2d7ce!important;color:#303083!important;box-shadow:0 1px 2px rgba(39,34,30,.04)!important}

.student-pager button:disabled{opacity:.38!important;cursor:default!important;background:transparent!important}

.student-pager-ellipsis{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:18px!important;height:36px!important;color:#756d66!important;font-size:14px!important}

@media(max-width:760px){.student-pager{align-items:flex-start!important;flex-direction:column!important}.student-pager-pages{justify-content:flex-start!important;margin-left:0!important;gap:10px!important;flex-wrap:wrap!important}}





/* notes-logoped-picker-20260806 */

.notes-logoped-picker{display:flex;flex-direction:column;gap:6px;min-width:260px;width:100%;}

.notes-logoped-picker .notes-logoped-select{width:100%;}

.notes-logoped-person-cell{align-items:stretch!important;}

.notes-logoped-person-cell > .notes-logoped-select{min-width:150px;}

@media(max-width:760px){.notes-logoped-picker{min-width:180px;}}





/* notes-logoped-picker2-20260806 */

.notes-note-buttons .btn-secondary{background:#fff!important;color:#27221e!important;border-color:#e2d7ce!important;}

.notes-note-buttons .btn-secondary:hover{background:#fff8f1!important;color:var(--color-primary)!important;border-color:var(--color-primary-border)!important;}

.notes-logoped-picker{position:relative!important;}

.notes-logoped-options{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;max-height:260px;overflow:auto;background:#fff!important;border:1px solid #e2d7ce;border-radius:12px;box-shadow:0 14px 34px rgba(39,34,30,.16);padding:6px;}

.notes-logoped-option{display:block;width:100%;border:0;background:#fff;color:#27221e;text-align:left;padding:10px 12px;border-radius:8px;font:600 14px/18px Manrope,Arial,sans-serif;cursor:pointer;}

.notes-logoped-option:hover{background:#fff2e8;color:var(--color-primary);}

.notes-logoped-option-empty{color:#756d66;font-weight:500;cursor:default;}

.notes-logoped-option-empty:hover{background:#fff;color:#756d66;}

.notes-logoped-picker input::placeholder{color:#9a918a!important;}





/* notes-logoped-picker3-20260806 */

.notes-logoped-table-wrap,.notes-logoped-ui-table,.notes-logoped-ui-table tbody,.notes-logoped-ui-table tr,.notes-logoped-ui-table td{overflow:visible!important;}

.notes-logoped-card-table{overflow:visible!important;}

.notes-logoped-options{z-index:9999!important;min-width:100%!important;}

.notes-logoped-person-cell{position:relative!important;z-index:5;}

.notes-logoped-ui-table tr:has(.notes-logoped-options){position:relative;z-index:20;}

.notes-logoped-picker .notes-logoped-select{background:#fff!important;color:#27221e!important;}





/* notes-logoped-fourcols-20260807 */

.notes-logoped-ui-table{table-layout:fixed!important;width:100%!important;}

.notes-logoped-ui-table th:nth-child(1),.notes-logoped-ui-table td:nth-child(1){width:190px!important;}

.notes-logoped-ui-table th:nth-child(2),.notes-logoped-ui-table td:nth-child(2){width:360px!important;}

.notes-logoped-ui-table th:nth-child(3),.notes-logoped-ui-table td:nth-child(3){width:auto!important;}

.notes-logoped-ui-table th:nth-child(4),.notes-logoped-ui-table td:nth-child(4){width:130px!important;text-align:center!important;}

.notes-logoped-ui-table th:nth-child(5),.notes-logoped-ui-table td:nth-child(5){width:56px!important;}

.notes-logoped-ui-table td{vertical-align:middle!important;}

.notes-logoped-kind-select,.notes-logoped-picker .notes-logoped-select,.notes-logoped-comment{height:44px!important;min-height:44px!important;width:100%!important;}

.notes-logoped-person-placeholder{display:flex;align-items:center;height:44px;color:#9a918a;font:500 14px/20px Manrope,Arial,sans-serif;}

.notes-logoped-person-cell{display:contents!important;}

.notes-logoped-picker{min-width:0!important;}

.notes-logoped-options{top:calc(100% + 4px)!important;}

@media(max-width:900px){.notes-logoped-ui-table{min-width:900px!important;}.notes-logoped-table-wrap{overflow-x:auto!important;}}





/* notes-logoped-fourcols-textfix-20260807 */





/* notes-logoped-fourcols-textfix2-20260807 */





/* notes-september-table-20260807 */

.notes-september-ui-table{table-layout:fixed!important;width:100%!important;}

.notes-september-ui-table th:nth-child(1),.notes-september-ui-table td:nth-child(1){width:190px!important;}

.notes-september-ui-table th:nth-child(2),.notes-september-ui-table td:nth-child(2){width:330px!important;}

.notes-september-ui-table th:nth-child(3),.notes-september-ui-table td:nth-child(3){width:260px!important;}

.notes-september-ui-table th:nth-child(4),.notes-september-ui-table td:nth-child(4){width:auto!important;}

.notes-september-ui-table th:nth-child(5),.notes-september-ui-table td:nth-child(5){width:130px!important;text-align:center!important;}

.notes-september-ui-table th:nth-child(6),.notes-september-ui-table td:nth-child(6){width:56px!important;}

.notes-september-course{height:44px!important;min-height:44px!important;width:100%!important;}

@media(max-width:1100px){.notes-september-ui-table{min-width:1120px!important;}.notes-logoped-table-wrap{overflow-x:auto!important;}}





/* notes-extra-prelists-20260807 */

.notes-note-buttons{display:flex!important;flex-wrap:wrap!important;gap:12px!important;}

.notes-note-buttons .notes-action{white-space:nowrap!important;}

.notes-prelist-card .notes-files-head h2{font-size:22px!important;}



/* Tasks pagination and KPI refresh 2026-08-08 */

.tasks-kpi-grid{grid-template-columns:repeat(5,minmax(150px,1fr))!important}

.tasks-kpi-card.paused .tasks-kpi-icon{background:#F6EBDD!important}

.tasks-kpi-card{cursor:help}

.tasks-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;color:#756d66;font-size:14px;background:#fff;border-top:1px solid #eadfd5}

.tasks-pagination-pages{display:flex;align-items:center;gap:10px}

.tasks-pagination-pages button{min-width:34px;height:34px;border:0;background:transparent;border-radius:50%;color:#756d66;font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}

.tasks-pagination-pages button:hover:not(:disabled){background:var(--color-primary-soft);color:var(--color-primary)}

.tasks-pagination-pages button.active{background:#fffaf5;border:1px solid #eadfd5;color:#2f2a26;box-shadow:0 4px 16px rgba(0,0,0,.04)}

.tasks-pagination-pages button:disabled{opacity:.35;cursor:default}

.tasks-pagination-pages span{min-width:28px;text-align:center;color:#756d66}

@media(max-width:1100px){.tasks-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tasks-pagination{align-items:flex-start;flex-direction:column}.tasks-pagination-pages{flex-wrap:wrap}}

@media(max-width:620px){.tasks-kpi-grid{grid-template-columns:1fr!important}}





/* deals-filters-20260808 */

.lead-toolbar-paraplan .lead-status-filter{position:relative;min-width:190px}

.lead-status-filter-btn,.lead-extra-filter-btn{height:42px;border:1px solid #ead9cc;border-radius:8px;background:#fff;color:#2a241f;font-weight:600;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}

.lead-status-filter-btn{width:100%;justify-content:space-between}

.lead-status-filter-btn.active,.lead-extra-filter-btn.active{border-color:var(--color-primary);box-shadow:0 0 0 2px rgba(36, 107, 103, .12);color:var(--color-primary)}

.lead-extra-filter-btn{width:46px;padding:0;flex:0 0 auto}

.lead-status-filter-menu{position:absolute;z-index:35;top:calc(100% + 8px);left:0;width:min(280px,90vw);max-height:320px;overflow:auto;background:#fff;border:1px solid #ead9cc;border-radius:10px;box-shadow:0 14px 34px rgba(44,32,24,.16);padding:8px}

.lead-status-filter-menu label{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:#2a241f;font-size:14px;cursor:pointer}

.lead-status-filter-menu label:hover{background:#fff5ef}

.lead-status-filter-menu input{width:16px;height:16px;accent-color:var(--color-primary)}

.lead-advanced-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;padding:18px;margin:-6px 0 22px;background:#fff;border:1px solid #ead9cc;border-radius:12px;box-shadow:0 10px 28px rgba(48,32,18,.06)}

.lead-advanced-filters label{display:grid;gap:7px;min-width:0;color:#6f625a;font-size:13px}

.lead-advanced-filters input,.lead-advanced-filters select{width:100%;height:42px;border:1px solid #ead9cc;border-radius:8px;background:#fff;padding:0 12px;color:#211b18;font-size:14px;min-width:0}

.lead-age-filter .lead-age-range{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}

.lead-age-filter .lead-age-range input{min-width:0;text-align:left}

.lead-clear-filters{height:42px;align-self:end;background:#fff;color:var(--color-primary);border:1px solid var(--color-primary-border);border-radius:8px;font-weight:700}

@media(max-width:900px){.lead-toolbar-paraplan .lead-status-filter{width:100%;min-width:0}.lead-extra-filter-btn{width:100%}.lead-advanced-filters{grid-template-columns:1fr}}





/* tasks-records-analytics-20260808 */

.records-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px;margin:16px 0 18px}

.records-kpi-card{background:#fff;border:1px solid #ead9cc;border-radius:12px;padding:16px 18px;box-shadow:0 8px 24px rgba(48,32,18,.05)}

.records-kpi-card span{display:block;color:#756e67;font-size:13px;font-weight:700;margin-bottom:8px}

.records-kpi-card strong{font-size:28px;line-height:1;color:var(--color-primary)}

.admin-efficiency-table .staff-efficiency-row{grid-template-columns:minmax(220px,1.4fr) repeat(4,minmax(120px,1fr))}

@media(max-width:900px){.records-kpi-grid{grid-template-columns:1fr}.admin-efficiency-table .staff-efficiency-row{grid-template-columns:1fr}}





/* deals-status-dropdown-20260808 */

.lead-toolbar-paraplan .lead-status-filter{min-width:170px!important;max-width:190px!important}

.lead-status-filter-btn{height:42px!important;min-width:0!important}

.lead-status-filter-menu{

  width:220px!important;

  max-width:calc(100vw - 32px)!important;

  max-height:248px!important;

  overflow-y:auto!important;

  overflow-x:hidden!important;

  padding:6px!important;

}

.lead-status-filter-menu label{

  display:flex!important;

  grid-template-columns:none!important;

  align-items:center!important;

  gap:8px!important;

  min-height:34px!important;

  padding:7px 8px!important;

  line-height:1.2!important;

}

.lead-status-filter-menu input[type="checkbox"]{

  appearance:auto!important;

  -webkit-appearance:checkbox!important;

  flex:0 0 18px!important;

  width:18px!important;

  min-width:18px!important;

  height:18px!important;

  margin:0!important;

  padding:0!important;

  transform:none!important;

}

.lead-status-filter-menu span{

  display:block!important;

  min-width:0!important;

  white-space:normal!important;

  overflow-wrap:anywhere!important;

  color:#211b18!important;

  font-size:14px!important;

}



/* admin-efficiency-chart-20260808 */

.analytics-admin-efficiency{display:flex;flex-direction:column;gap:18px}

.admin-efficiency-section{padding:18px 20px;display:flex;flex-direction:column;gap:14px}

.admin-efficiency-section h2{font-size:20px;line-height:1.25;margin:0;color:#1f1a17}

.admin-task-table .staff-efficiency-row{grid-template-columns:minmax(180px,1.4fr) repeat(4,minmax(110px,.8fr)) minmax(120px,.7fr)}

.admin-records-table .staff-efficiency-row{grid-template-columns:minmax(220px,1.4fr) minmax(140px,.8fr) minmax(140px,.8fr)}

.admin-chart-btn{height:36px;padding:0 16px;border-radius:10px;border:1px solid #ead8ca;background:#fff;color:#241b17;font-weight:700;cursor:pointer}

.admin-chart-btn:hover,.admin-chart-btn.active{border-color:var(--color-primary);color:var(--color-primary);background:#fff6f1}

.admin-chart-btn.btn-primary,.admin-chart-btn.active.btn-primary{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}

.admin-efficiency-chart{margin-top:4px;border:1px solid #ead8ca;border-radius:14px;background:#fffaf6;padding:16px;display:flex;flex-direction:column;gap:14px;overflow-x:auto}

.admin-efficiency-chart-head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#1f1a17}

.admin-efficiency-chart-head span{color:#7b6b63;font-size:13px}

.admin-bar-chart{min-height:240px;display:flex;align-items:flex-end;gap:10px;padding:10px 4px 0}

.admin-bar-item{min-width:54px;flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;color:#6f625c;font-size:12px;text-align:center}

.admin-bar-track{height:150px;width:100%;max-width:42px;border-radius:12px;background:#f4e8de;display:flex;align-items:flex-end;overflow:hidden;border:1px solid #ecd8c8}

.admin-bar-track i{display:block;width:100%;border-radius:12px 12px 0 0;background:linear-gradient(180deg,var(--color-primary),var(--color-primary));min-height:4px}

.admin-bar-item b{font-size:14px;color:#1f1a17;line-height:1}

.admin-bar-item span{max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media (max-width: 900px){.admin-task-table .staff-efficiency-row,.admin-records-table .staff-efficiency-row{grid-template-columns:1fr}.admin-efficiency-chart-head{align-items:flex-start;flex-direction:column}.admin-bar-item{min-width:46px}}



/* tasks-kpi-order-row-20260808 */

.tasks-kpi-grid{grid-template-columns:repeat(6,minmax(130px,1fr))!important}

.tasks-kpi-card{min-width:0}

.tasks-kpi-card p{white-space:normal}

@media(max-width:1300px){.tasks-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

@media(max-width:760px){.tasks-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

@media(max-width:520px){.tasks-kpi-grid{grid-template-columns:1fr!important}}



/* analytics-admin-design-20260809 */

.analytics-report-page{gap:18px}

.analytics-head{align-items:flex-start!important;background:transparent!important;border:0!important;box-shadow:none!important;padding-bottom:8px!important}

.analytics-head .screen-kicker{color:#a49b92!important;font-weight:600!important}

.analytics-head h1{font-size:34px!important;line-height:1.08!important;color:#211d19!important;letter-spacing:0!important}

.analytics-section-tabs{height:66px!important;background:#fffdfc!important;border:1px solid #e5d9cf!important;border-radius:15px!important;box-shadow:0 8px 30px rgba(82,52,25,.07)!important;padding:0 18px!important;display:flex!important;align-items:center!important;gap:0!important;overflow-x:auto!important}

.analytics-section-tabs button{height:64px!important;min-width:150px!important;flex:1 0 auto!important;border:0!important;background:transparent!important;color:#544c47!important;font-size:14px!important;font-weight:600!important;border-radius:0!important;position:relative!important;box-shadow:none!important}

.analytics-section-tabs button:hover{background:#faf8f4!important}

.analytics-section-tabs button.active{background:#f5f8f6!important;color:#425e52!important}

.analytics-section-tabs button.active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:2px;background:#5f7f70;border-radius:999px}

.analytics-admin-redesign{display:flex;flex-direction:column;gap:18px;color:#211d19}

.analytics-admin-redesign .admin-period{margin-top:0!important}

.analytics-admin-redesign .ui-tabs,.analytics-admin-redesign .an-period .ui-tabs{height:36px!important;background:#fffdfc!important;border:1px solid #e5d9cf!important;border-radius:10px!important;padding:0!important;box-shadow:none!important;display:inline-flex!important;overflow:hidden!important}

.analytics-admin-redesign .ui-tab{height:34px!important;padding:0 18px!important;border:0!important;border-right:1px solid #e5d9cf!important;border-radius:0!important;background:transparent!important;color:#544c47!important;font-weight:500!important;min-width:auto!important}

.analytics-admin-redesign .ui-tab:last-child{border-right:0!important}

.analytics-admin-redesign .ui-tab-active{background:#fff4d9!important;color:#8d6818!important;box-shadow:inset 0 0 0 1px #e8c86f!important}

.admin-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}

.admin-metric-card{height:100px;background:#fffdfc;border:1px solid #e5d9cf;border-radius:14px;box-shadow:0 8px 30px rgba(82,52,25,.07);padding:18px 20px;display:flex;align-items:center;gap:16px;min-width:0}

.admin-metric-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:0 0 44px;color:#4f5652;background:#eef1ef}

.admin-metric-card.processed .admin-metric-icon{color:#a97818;background:#fff4d9}

.admin-metric-card.done .admin-metric-icon{color:#4f7865;background:#edf3ef}

.admin-metric-card.paused .admin-metric-icon{color:#99513e;background:#f8ede8}

.admin-metric-icon img{width:22px;height:22px;display:block}

.admin-metric-card p{margin:0 0 6px;color:#544c47;font-size:14px;font-weight:600;line-height:1.2}

.admin-metric-card strong{display:block;color:#211d19;font-size:28px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}

.analytics-admin-redesign .admin-efficiency-section{padding:0!important;overflow:hidden;border:1px solid #e5d9cf!important;border-radius:16px!important;background:#fffdfc!important;box-shadow:0 8px 30px rgba(82,52,25,.07)!important;gap:0!important}

.analytics-admin-redesign .admin-efficiency-section h2{height:52px;margin:0!important;padding:0 18px!important;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5d9cf;font-size:18px!important;font-weight:700!important;color:#211d19!important}

.analytics-admin-redesign .admin-records-section h2{height:42px}

.analytics-admin-redesign .admin-efficiency-section h2 img{width:20px;height:20px;color:#425e52}

.analytics-admin-redesign .staff-efficiency-table{display:block!important;width:100%;overflow-x:auto}

.analytics-admin-redesign .staff-efficiency-row{display:grid!important;align-items:center;border-bottom:1px solid #e5d9cf;color:#211d19;font-variant-numeric:tabular-nums}

.analytics-admin-redesign .admin-task-table .staff-efficiency-row{grid-template-columns:minmax(180px,1.2fr) repeat(4,minmax(120px,.9fr)) minmax(160px,.9fr)!important}

.analytics-admin-redesign .admin-records-table .staff-efficiency-row{grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr) minmax(180px,1fr)!important}

.analytics-admin-redesign .staff-efficiency-head{height:42px!important;background:#faf8f4!important;color:#544c47!important;font-size:12px!important;font-weight:700!important}

.analytics-admin-redesign .staff-efficiency-main{height:52px!important;background:#fffdfc!important;font-size:14px!important;font-weight:600!important}

.analytics-admin-redesign .admin-records-table .staff-efficiency-main{height:48px!important}

.analytics-admin-redesign .staff-efficiency-main:hover{background:#fcfaf7!important}

.analytics-admin-redesign .staff-efficiency-row span,.analytics-admin-redesign .staff-efficiency-row strong{padding:0 18px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.analytics-admin-redesign .staff-efficiency-row span:not(:first-child){text-align:center}

.analytics-admin-redesign .staff-efficiency-row strong{font-weight:700;color:#211d19}

.analytics-admin-redesign .admin-chart-btn{height:36px;padding:0 14px;border-radius:8px;border:1px solid #8fa49a;background:#fff;color:#425e52;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap;min-width:136px}

.analytics-admin-redesign .admin-chart-btn img{width:16px;height:16px;display:block}

.analytics-admin-redesign .admin-chart-btn:hover,.analytics-admin-redesign .admin-chart-btn.active{background:#edf3ef;border-color:#5f7f70;color:#425e52}

.analytics-admin-redesign .admin-efficiency-chart{margin:0!important;border:0!important;border-top:1px solid #e5d9cf!important;border-radius:0!important;background:#fff!important;padding:14px 18px 18px!important;box-shadow:none!important;gap:10px!important;overflow:hidden!important}

.analytics-admin-redesign .admin-efficiency-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;color:#211d19}

.analytics-admin-redesign .admin-efficiency-chart-head strong{font-size:14px;font-weight:700}

.analytics-admin-redesign .admin-efficiency-chart-head span{font-size:12px;color:#756e67}

.admin-line-chart-wrap{position:relative;overflow-x:auto;overflow-y:hidden;background:#fff;min-height:236px}

.admin-line-chart{height:230px;min-width:760px;display:block;width:100%}

.chart-grid{stroke:#ece5de;stroke-width:1;stroke-dasharray:3 4}

.chart-axis{stroke:#d8cbc0;stroke-width:1}

.chart-y-label,.chart-x-label{fill:#756e67;font-size:11px;font-weight:500}

.chart-x-label{text-anchor:middle}

.chart-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:opacity .2s ease}

.chart-line-done{stroke:#5f7f70}

.chart-line-processed{stroke:#d09a2f}

.chart-point{stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}

.chart-point-done{fill:#5f7f70}

.chart-point-processed{fill:#d09a2f}

.admin-chart-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:42px;padding:0 16px;border-radius:999px;background:#f5f3ef;color:#544c47;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;white-space:nowrap;box-shadow:0 4px 14px rgba(70,46,31,.08)}

.admin-chart-empty img{width:18px;height:18px}

.admin-chart-legend{display:flex;justify-content:center;gap:28px;align-items:center;padding-top:2px;color:#544c47;font-size:13px;font-weight:600}

.admin-chart-legend span{display:inline-flex;align-items:center;gap:8px}

.admin-chart-legend i{width:8px;height:8px;border-radius:50%;display:block}

.admin-chart-legend i.done{background:#5f7f70}.admin-chart-legend i.processed{background:#d09a2f}

@media(max-width:1199px){.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-admin-redesign .admin-task-table .staff-efficiency-row{grid-template-columns:minmax(170px,1.1fr) repeat(4,118px) 158px!important}}

@media(max-width:720px){.admin-metric-grid{grid-template-columns:1fr}.analytics-section-tabs button{min-width:190px!important}.analytics-admin-redesign .admin-efficiency-section{overflow-x:auto}.analytics-admin-redesign .admin-records-table .staff-efficiency-row{grid-template-columns:170px 150px 150px!important}.admin-chart-empty{white-space:normal;height:auto;min-height:42px;text-align:center}.admin-line-chart{width:900px}}



/* reports-section-20260809 */

.reports-screen{display:flex;flex-direction:column;gap:18px}.reports-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.reports-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:220px;font-size:13px;color:var(--muted)}.reports-toolbar input,.reports-toolbar select{height:42px;border:1px solid #ead9c9;border-radius:8px;background:#fff;padding:0 12px;color:#1f1b18}.reports-empty-start{min-height:180px;display:flex;align-items:center;justify-content:center;text-align:center}.report-card{background:#fff;border:1px solid #ead9c9;border-radius:12px;overflow:hidden;box-shadow:0 10px 24px rgba(76,51,31,.06)}.report-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #ead9c9}.report-card-head h2{font-size:18px}.report-add-row{min-width:44px;width:44px;height:44px;padding:0;border-radius:10px;font-size:20px}.report-table-wrap{overflow:auto}.report-table{width:100%;border-collapse:collapse;min-width:980px}.report-table th{font-size:12px;text-transform:uppercase;color:#8c8178;font-weight:600;background:#fffaf5;border-bottom:1px solid #ead9c9;padding:11px 12px;text-align:left;white-space:nowrap}.report-table td{border-bottom:1px solid #f0e3d8;padding:9px 12px;vertical-align:middle}.report-table tr:last-child td{border-bottom:0}.report-table input{width:100%;min-width:130px;border:1px solid #ead9c9;border-radius:8px;background:#fff;padding:8px 10px;color:#1f1b18}.report-auto-row{background:#fcfff8}.report-auto-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#edf6e5;color:#5f7f45;font-size:12px;font-weight:700;padding:4px 8px}.report-row-delete{width:32px;height:32px;border:1px solid #ffd4c5;border-radius:8px;background:#fff;color:#ff4b12;font-weight:700;cursor:pointer}.report-actions-col{width:64px}.report-empty{padding:28px!important;text-align:center;color:#8c8178}.sidebar-item[title="Отчеты"] svg{color:inherit}

@media(max-width:760px){.reports-toolbar{align-items:stretch}.reports-toolbar label{width:100%}.report-card-head{align-items:flex-start}.report-table{min-width:760px}}



/* remarks-section-20260927 trial-status-remarks-20260927 */

.remarks-screen{display:flex;flex-direction:column;gap:18px;padding-bottom:36px}

.remarks-filters{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 18px}

.remarks-period-buttons{display:flex;gap:8px;flex-wrap:wrap}

.remarks-period-buttons button{height:40px;padding:0 16px;border:1px solid #e4d4c5;border-radius:9px;background:#fff;color:#51443b;font-weight:600;cursor:pointer}

.remarks-period-buttons button.active{border-color:var(--color-primary);background:var(--color-primary);color:#fff;box-shadow:0 8px 18px rgba(36, 107, 103, .18)}

.remarks-range{display:flex;gap:10px;align-items:end}

.remarks-range label{display:grid;gap:5px;color:#766a61;font-size:12px;font-weight:600}

.remarks-range input{height:40px;border:1px solid #e4d4c5;border-radius:9px;background:#fff;padding:0 10px;color:#312923}

.remarks-retention{margin-left:auto;color:#8c8178;font-size:13px}.remarks-refresh{min-width:190px;white-space:nowrap}

.remarks-days{display:grid;gap:16px}

.remarks-day-card{overflow:hidden;border:1px solid #ead9c9;border-radius:13px;background:#fff;box-shadow:0 8px 22px rgba(76,51,31,.06)}

.remarks-day-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #ead9c9;background:#fffaf5}

.remarks-day-head h2{margin:0;font-size:18px;text-transform:capitalize;color:#2f2822}

.remarks-day-head span{color:#8c8178;font-size:13px}

.remarks-table-wrap{overflow:auto}

.remarks-table{width:100%;min-width:920px;border-collapse:collapse;table-layout:fixed}

.remarks-table th{padding:11px 14px;background:#fff;color:#8c8178;border-bottom:1px solid #ead9c9;text-align:left;font-size:12px;text-transform:uppercase}

.remarks-table th:nth-child(1){width:230px}.remarks-table th:nth-child(2){width:110px}.remarks-table th:nth-child(4){width:130px}.remarks-table th:nth-child(5){width:210px}

.remarks-table td{padding:13px 14px;border-bottom:1px solid #f1e6dc;vertical-align:middle;color:#342c26}

.remarks-table tr:last-child td{border-bottom:0}

.remarks-table td:first-child strong,.remarks-table td:first-child span{display:block}.remarks-table td:first-child span{margin-top:4px;color:#80746b;font-size:13px}

.remarks-comment{line-height:1.45;color:#594d44!important}

.remarks-table tr.accepted td{background:#eff9ef;color:#23683b}

.remarks-status{display:inline-flex;align-items:center;min-height:27px;padding:0 10px;border-radius:999px;background:#f1f1f1;color:#777;font-size:12px;font-weight:700}

.remarks-status.accepted{background:#dff3e3;color:#238245}

.remarks-accept{min-width:170px}.remarks-accept:disabled{border-color:#add9b7!important;background:#dff3e3!important;color:#238245!important;opacity:1!important}

.remarks-empty-row td{text-align:center!important;color:#9a9088!important;padding:24px!important;background:#fff!important}

@media(max-width:760px){.remarks-filters{align-items:stretch}.remarks-period-buttons{display:grid;grid-template-columns:1fr 1fr}.remarks-range{display:grid;grid-template-columns:1fr 1fr}.remarks-retention{margin-left:0}.remarks-refresh{width:100%}.remarks-table{min-width:920px}}



/* report-word-download-20260927 */

.reports-step-flow{padding-bottom:38px}

.reports-meta-toolbar{display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(220px,1.2fr) 155px 145px 145px;gap:12px;align-items:end}

.reports-meta-toolbar label{display:grid;gap:6px;min-width:0}

.reports-meta-toolbar label>span{font-size:12px;font-weight:700;color:#786b61}

.reports-meta-toolbar input,.reports-meta-toolbar select{width:100%;height:42px;border:1px solid #e5d4c5;border-radius:9px;background:#fff;padding:0 11px;color:#342c26}

.report-step-nav{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;padding:12px;margin-top:16px}

.report-step-nav button{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;min-height:48px;border:1px solid #ead9c9;border-radius:10px;background:#fff;color:#554b43;padding:8px 11px;text-align:left;cursor:pointer}

.report-step-nav button i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f5eee8;color:#7b6e64;font-style:normal;font-size:12px;font-weight:800}

.report-step-nav button span{font-weight:700}.report-step-nav button b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#f5eee8;font-size:11px}

.report-step-nav button.active{border-color:var(--color-primary);background:#fff5ef;color:#bd350c;box-shadow:0 7px 16px rgba(36, 107, 103, .12)}

.report-step-nav button.active i,.report-step-nav button.active b{background:var(--color-primary);color:#fff}

.report-step-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:24px 0 12px}

.report-step-heading span{color:var(--color-primary);font-size:12px;font-weight:800;text-transform:uppercase}.report-step-heading h2{margin:4px 0 0;font-size:25px}.report-step-heading p{max-width:540px;margin:0;color:#83766d;font-size:13px;text-align:right}

.reports-step-actions{display:flex;justify-content:space-between;gap:12px}.reports-step-actions .btn:disabled{opacity:.45;cursor:not-allowed}

.report-create-modal{width:min(620px,calc(100vw - 32px))}.report-create-modal>label{display:grid;gap:7px;margin-bottom:15px}.report-create-modal>label>span,.report-create-times label>span{font-size:13px;font-weight:700;color:#62574f}.report-create-modal input{width:100%;height:44px;border:1px solid #e5d4c5;border-radius:9px;padding:0 12px;background:#fff;color:#342c26}.report-create-times{display:grid;grid-template-columns:1fr 1fr;gap:14px}.report-create-times label{display:grid;gap:7px}

@media(max-width:1100px){.reports-meta-toolbar{grid-template-columns:1fr 1fr}.report-step-nav{grid-template-columns:repeat(3,1fr)}}

@media(max-width:700px){.reports-meta-toolbar,.report-step-nav,.report-create-times{grid-template-columns:1fr}.report-step-heading{display:block}.report-step-heading p{margin-top:8px;text-align:left}.reports-step-actions{flex-direction:column}.reports-step-actions .btn{width:100%}}

/* reports-drafts-20260809 */

.reports-tabs{display:flex;gap:10px;align-items:center}.reports-tabs button{height:42px;border:1px solid #ead9c9;border-radius:10px;background:#fff;padding:0 18px;font-weight:700;color:#51443b;cursor:pointer}.reports-tabs button.active{background:var(--color-primary);color:#fff;border-color:var(--color-primary);box-shadow:0 10px 20px rgba(36, 107, 103, .18)}.reports-save-row{display:flex;justify-content:flex-end;padding:6px 0 22px}.reports-save-button{min-width:180px;height:46px}.report-table th:first-child,.report-table td:first-child{position:sticky;left:0;z-index:1}.report-table th:first-child{background:#fffaf5}.report-table td:first-child{background:inherit;font-weight:700}





/* reports controls 20260809 */

.report-table-wrap{overflow:auto;max-width:100%;}

.report-table{min-width:1280px;}

.report-table th{white-space:normal;line-height:1.25;vertical-align:bottom;}

.report-table td{vertical-align:top;}

.report-table .report-narrow-col,.report-table .report-narrow-cell{min-width:86px;width:96px;}

.report-table .report-wide-col,.report-table .report-wide-cell{min-width:260px;width:300px;}

.report-table select.report-select{width:100%;min-width:84px;height:38px;border:1px solid #ead9c9;border-radius:8px;background:#fff;padding:0 10px;color:#1f1b18;}

.report-table textarea.report-textarea{width:100%;min-width:250px;min-height:72px;border:1px solid #ead9c9;border-radius:8px;background:#fff;padding:8px 10px;color:#1f1b18;resize:vertical;font:inherit;line-height:1.35;}

.settings-row-actions{display:inline-flex;gap:8px;align-items:center;justify-content:flex-end;}

.settings-status-table td.actions{white-space:nowrap;}



/* student history and communication tabs */

.student-history-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}

.student-history-top h3{margin:0;font-size:22px}

.student-comment-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:18px}

.student-comment-composer textarea{width:100%;min-height:76px;border:1px solid #ead9c9;border-radius:10px;background:#fff;padding:12px 14px;font:inherit;resize:vertical}

.student-comment-composer .btn{align-self:start;min-height:44px}

.student-history-list{display:grid;gap:12px}

.student-history-item{width:100%;text-align:left;border:1px solid #ead9c9;border-radius:10px;background:#fff;padding:14px 16px;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}

.student-history-item:hover{border-color:var(--color-primary);box-shadow:0 8px 24px rgba(36, 107, 103, .12);transform:translateY(-1px)}

.student-history-item-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

.student-history-kind{font-size:12px;color:var(--color-primary);text-transform:uppercase;letter-spacing:.02em}

.student-history-status{display:inline-flex;align-items:center;border-radius:999px;background:#f1ece6;color:#51443b;padding:4px 9px;font-size:12px;font-weight:700}

.student-history-meta{display:block;margin-top:6px;color:#7b7169;font-size:13px}

.student-history-item p{margin:10px 0 0;color:#34302c;white-space:pre-wrap;line-height:1.45}

.student-communication-soon{border:1px solid #ead9c9;border-radius:12px;background:#fff;padding:22px}

.student-communication-soon h3{margin:0 0 8px;font-size:22px}

.student-communication-soon p{margin:0;color:#7b7169}

@media(max-width:760px){.student-history-top,.student-comment-composer{grid-template-columns:1fr;display:grid}.student-history-top .btn,.student-comment-composer .btn{width:100%}}



/* reports redesign 20260809 */

:root{

  --report-page:#f4f1eb;

  --report-surface:#fffdfc;

  --report-surface-muted:#faf8f4;

  --report-border:#e5d9cf;

  --report-border-strong:#d7cac0;

  --report-text:#29231f;

  --report-muted:#746a63;

  --report-subtle:#9a918a;

  --report-orange:var(--color-primary);

  --report-orange-hover:#d94b05;

  --report-orange-active:#c44003;

  --report-orange-soft:var(--color-primary-soft);

  --report-green:#5f7f70;

  --report-green-soft:#edf3ef;

  --report-mustard:#d09a2f;

  --report-mustard-soft:#fff4d9;

  --report-terracotta:#a85e48;

  --report-terracotta-soft:#f8ede8;

  --report-rose:#a76b72;

  --report-rose-soft:#f7edef;

  --report-olive:#626b58;

  --report-olive-soft:#f0f2ec;

  --report-danger:#d9563f;

  --report-danger-soft:#fff0ed;

  --report-shadow:0 8px 24px rgba(70,46,31,.05);

  --report-shadow-hover:0 10px 26px rgba(70,46,31,.085);

}

.reports-screen{

  gap:16px;

  background:var(--report-page);

  color:var(--report-text);

  font-family:Manrope,Inter,Arial,sans-serif;

  padding:26px 32px 34px;

}

.reports-screen .pp-head{

  position:relative;

  align-items:flex-start;

  margin:0;

  padding:0;

  border:0;

  background:transparent;

  box-shadow:none;

}

.reports-screen .pp-head>div:first-child:before{

  content:"Рабочий процесс";

  display:block;

  margin-bottom:2px;

  color:#b95227;

  font-size:12px;

  line-height:16px;

  font-weight:700;

}

.reports-screen .pp-head h1{

  margin:0;

  color:var(--report-text);

  font-size:32px;

  line-height:40px;

  font-weight:800;

  letter-spacing:0;

}

.reports-screen .pp-head p{

  margin:4px 0 0;

  color:var(--report-muted);

  font-size:14px;

  line-height:21px;

}

.reports-screen .pp-head .btn-primary{

  height:46px;

  border:0;

  border-radius:12px;

  padding:0 20px;

  background:var(--report-orange);

  color:#fff;

  box-shadow:0 10px 20px rgba(36, 107, 103, .16);

}

.reports-screen .pp-head .btn-primary:hover{background:var(--report-orange-hover)}

.reports-tabs{

  display:flex;

  gap:10px;

  align-items:center;

  margin:2px 0;

}

.reports-tabs button{

  height:40px;

  border:1px solid var(--report-border);

  border-radius:10px;

  background:var(--report-surface);

  color:var(--report-muted);

  padding:0 18px;

  font-size:13px;

  font-weight:700;

  cursor:pointer;

}

.reports-tabs button.active{

  background:var(--report-orange-soft);

  color:var(--report-orange);

  border-color:#ffd0b9;

  box-shadow:none;

}

.reports-toolbar.card{

  display:flex;

  align-items:flex-end;

  justify-content:space-between;

  gap:20px;

  min-height:108px;

  padding:18px 20px;

  border:1px solid var(--report-border);

  border-radius:16px;

  background:var(--report-surface);

  box-shadow:var(--report-shadow);

}

.reports-toolbar label{

  min-width:0;

  width:268px;

  color:var(--report-muted);

  font-size:12px;

  line-height:16px;

  font-weight:600;

}

.reports-toolbar label:nth-child(2){width:230px}

.reports-toolbar select,

.reports-toolbar input{

  height:44px;

  border:1px solid var(--report-border);

  border-radius:10px;

  background:var(--report-surface);

  color:var(--report-text);

  padding:0 14px;

  font-size:13px;

  font-weight:600;

}

.reports-toolbar select:focus,

.reports-toolbar input:focus,

.report-table input:focus,

.report-table select:focus,

.report-table textarea:focus{

  outline:0;

  border-color:var(--report-orange);

  box-shadow:0 0 0 4px rgba(36, 107, 103, .14);

}

.report-quick-chips{

  display:flex;

  gap:12px;

  align-items:center;

  flex-wrap:wrap;

  margin:0 0 -2px;

}

.report-chip{

  display:inline-flex;

  align-items:center;

  gap:9px;

  height:36px;

  border:1px solid var(--report-border);

  border-radius:10px;

  background:var(--report-surface);

  padding:0 14px;

  color:var(--report-muted);

  font-size:12px;

  font-weight:700;

}

.report-chip i{width:8px;height:8px;border-radius:50%;display:block}

.report-chip.green i{background:var(--report-green)}

.report-chip.mustard i{background:var(--report-mustard)}

.report-chip.terracotta i{background:var(--report-terracotta)}

.reports-empty-start{

  min-height:190px;

  border:1px solid var(--report-border);

  border-radius:16px;

  background:var(--report-surface);

  box-shadow:var(--report-shadow);

}

.reports-empty-start h2{font-size:22px;color:var(--report-text)}

.reports-empty-start p{max-width:620px;margin:8px auto 0;color:var(--report-muted)}

.report-card{

  border:1px solid var(--report-border);

  border-radius:16px;

  background:var(--report-surface);

  box-shadow:var(--report-shadow);

  overflow:hidden;

  margin-bottom:0;

}

.report-card-head{

  min-height:68px;

  padding:10px 16px;

  border-bottom:1px solid var(--report-border);

}

.report-card-title{

  display:flex;

  align-items:center;

  gap:12px;

  min-width:0;

}

.report-section-icon{

  width:48px;

  height:48px;

  border-radius:12px;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  flex:0 0 auto;

}

.report-section-icon img{width:24px;height:24px;display:block}

.report-card h2{

  margin:0;

  color:var(--report-text);

  font-size:17px;

  line-height:24px;

  font-weight:800;

}

.report-count-badge{

  display:inline-flex;

  align-items:center;

  min-height:26px;

  border-radius:999px;

  padding:0 10px;

  font-size:11px;

  font-weight:800;

  white-space:nowrap;

}

.report-card-green{--section:var(--report-green);--section-soft:var(--report-green-soft)}

.report-card-mustard{--section:var(--report-mustard);--section-soft:var(--report-mustard-soft)}

.report-card-terracotta{--section:var(--report-terracotta);--section-soft:var(--report-terracotta-soft)}

.report-card-rose{--section:var(--report-rose);--section-soft:var(--report-rose-soft)}

.report-card-olive{--section:var(--report-olive);--section-soft:var(--report-olive-soft)}

.report-section-icon,.report-count-badge{background:var(--section-soft);color:var(--section)}

.report-add-row{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  gap:8px;

  width:auto;

  min-width:154px;

  height:38px;

  border:1px solid var(--section);

  border-radius:9px;

  background:var(--report-surface);

  color:var(--section);

  padding:0 14px;

  font-size:13px;

  font-weight:800;

  cursor:pointer;

}

.report-add-row:hover{background:var(--section-soft)}

.report-add-row:active{transform:translateY(1px)}

.report-button-icon{width:16px;height:16px;display:block}

.report-table-wrap{

  overflow:auto;

  max-width:100%;

  scrollbar-width:thin;

  scrollbar-color:#bfb2a8 #eee7e0;

}

.report-table-wrap::-webkit-scrollbar{height:7px;width:7px}

.report-table-wrap::-webkit-scrollbar-track{background:#eee7e0}

.report-table-wrap::-webkit-scrollbar-thumb{border-radius:999px;background:#bfb2a8}

.report-table{

  width:100%;

  min-width:1280px;

  border-collapse:collapse;

}

.report-table th{

  height:42px;

  background:var(--report-surface-muted);

  border-bottom:1px solid #eae2db;

  color:#6d645e;

  padding:10px 14px;

  font-size:11px;

  line-height:16px;

  font-weight:700;

  text-transform:none;

  white-space:normal;

  vertical-align:middle;

}

.report-table td{

  min-height:52px;

  border-bottom:1px solid #eae2db;

  color:var(--report-text);

  padding:10px 14px;

  font-size:13px;

  line-height:18px;

  font-weight:500;

  vertical-align:middle;

}

.report-table tr:hover td{background:#fcfaf7}

.report-table tr:last-child td{border-bottom:0}

.report-table .report-narrow-col,

.report-table .report-narrow-cell{min-width:58px;width:72px}

.report-table th:first-child,

.report-table td:first-child{

  position:sticky;

  left:0;

  z-index:1;

}

.report-table th:first-child{background:var(--report-surface-muted)}

.report-table td:first-child{background:inherit;font-weight:800}

.report-table input,

.report-table select.report-select{

  width:100%;

  min-width:130px;

  height:40px;

  border:1px solid var(--report-border);

  border-radius:9px;

  background:var(--report-surface);

  color:var(--report-text);

  padding:0 12px;

  font:inherit;

}

.report-table textarea.report-textarea{

  width:100%;

  min-width:250px;

  min-height:72px;

  border:1px solid var(--report-border);

  border-radius:9px;

  background:var(--report-surface);

  color:var(--report-text);

  padding:8px 12px;

  font:inherit;

  resize:vertical;

}

.report-auto-row{background:#fbfdf9}

.report-auto-badge{

  border-radius:999px;

  background:var(--report-green-soft);

  color:var(--report-green);

  padding:4px 8px;

  font-size:11px;

  font-weight:800;

}

.report-row-delete{

  width:36px;

  height:36px;

  border:1px solid #e8b3a8;

  border-radius:8px;

  background:var(--report-surface);

  color:var(--report-danger);

  cursor:pointer;

}

.report-row-delete:hover{background:var(--report-danger-soft)}

.report-row-delete img{width:18px;height:18px}

.report-actions-col{width:64px}

.report-empty{

  height:76px;

  padding:0!important;

  text-align:center;

}

.report-empty-inner{

  display:flex;

  align-items:center;

  justify-content:center;

  gap:12px;

  color:var(--report-muted);

  font-size:12px;

  font-weight:700;

}

.report-empty-icon{width:26px;height:26px;color:var(--report-subtle)}

.report-empty-add{

  border:0;

  background:transparent;

  color:var(--section);

  font-size:12px;

  line-height:18px;

  font-weight:800;

  text-decoration:underline;

  cursor:pointer;

}

.reports-save-row{padding:6px 0 0}

.reports-save-button{

  min-width:180px;

  height:46px;

  border-radius:12px;

  background:var(--report-orange);

}

@media(max-width:900px){

  .reports-screen{padding:20px 18px}

  .reports-toolbar.card{align-items:stretch}

  .reports-toolbar label{width:100%}

  .report-card-head{align-items:flex-start}

  .report-card-title{align-items:flex-start}

}



/* Student status ordering and quick rotation */

.student-status-rotate{cursor:pointer;text-align:left;appearance:none;-webkit-appearance:none;}

.student-status-rotate:hover{box-shadow:0 0 0 2px rgba(255,79,18,.16);border-color:var(--color-primary-border);}

.settings-status-table tbody tr.is-draggable{cursor:grab;}

.settings-status-table tbody tr.is-draggable:active{cursor:grabbing;}

.settings-status-drag{display:inline-flex;align-items:center;margin-right:8px;color:#b8aa9d;font-weight:800;letter-spacing:-2px;line-height:1;}

.settings-status-row.dragging{opacity:.58;}

/* attendance quick add student */

.att-quick-add{position:relative;display:inline-flex;align-items:center;}

.att-quick-add-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:min(360px,calc(100vw - 40px));background:#fff;border:1px solid #ead8c9;border-radius:10px;box-shadow:0 16px 38px rgba(40,24,12,.16);padding:10px;display:grid;gap:8px;}

.att-quick-add-menu input{width:100%;height:42px;border:1px solid #ead8c9;border-radius:8px;padding:0 12px;font:inherit;}

.att-quick-add-list{max-height:280px;overflow:auto;display:grid;gap:4px;}

.att-quick-add-list button{border:0;background:#fff;text-align:left;border-radius:8px;padding:9px 10px;display:grid;gap:2px;cursor:pointer;color:#231b16;}

.att-quick-add-list button:hover{background:var(--color-primary-soft);color:var(--color-primary);}

.att-quick-add-list strong{font-size:14px;}

.att-quick-add-list span,.att-quick-add-empty{font-size:12px;color:#7a6b61;}

.att-quick-add-empty{padding:10px;display:block;}

@media(max-width:1100px){.att-quick-add{width:100%;}.att-quick-add>.btn{width:100%;}.att-quick-add-menu{left:0;right:auto;width:100%;}}

.login-password-wrap{position:relative;display:flex;align-items:center}.login-password-wrap input{width:100%;padding-right:46px}.login-password-eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;line-height:1}.login-password-eye:hover{background:var(--panel-hover);color:var(--text)}

.lead-loading{display:flex;align-items:center;justify-content:center;min-height:120px;border:1px dashed #e3cdb8;border-radius:8px;background:linear-gradient(90deg,#fffaf6 0%,#f7eee6 45%,#fffaf6 90%);background-size:220% 100%;animation:lead-loading-pulse 1.2s ease-in-out infinite;color:#8a6b55;font-weight:600}

.lead-loading-card{min-height:210px}

@keyframes lead-loading-pulse{0%{background-position:100% 50%}100%{background-position:0 50%}}



.sidebar-profile-footer{

  position:relative!important;

  display:grid!important;

  grid-template-columns:40px minmax(0,1fr)!important;

  align-items:center!important;

  gap:10px!important;

  min-height:72px!important;

  padding:16px 20px!important;

}

.sidebar-profile-footer .sidebar-toggle,

.sidebar-profile-footer .sidebar-theme{

  display:none!important;

}

.sidebar-avatar-btn{

  width:38px;

  height:38px;

  border:1px solid rgba(255,249,241,.45);

  border-radius:999px;

  background:rgba(255,255,255,.16);

  color:#fff;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  font-weight:800;

  font-size:15px;

  cursor:pointer;

  box-shadow:inset 0 1px 0 rgba(255,255,255,.2);

}

.sidebar-avatar-btn:hover{

  background:rgba(255,255,255,.24);

}

.sidebar-user-menu{

  position:absolute;

  left:20px;

  bottom:64px;

  min-width:190px;

  padding:8px;

  border:1px solid #ead9c9;

  border-radius:10px;

  background:#fff;

  box-shadow:0 12px 28px rgba(52,35,21,.16);

  z-index:70;

}

.sidebar-user-menu button{

  width:100%;

  min-height:38px;

  border:0;

  border-radius:8px;

  background:transparent;

  color:#2f241a;

  text-align:left;

  font-weight:700;

  cursor:pointer;

  padding:0 12px;

}

.sidebar-user-menu button:hover{

  background:var(--color-primary-soft);

  color:var(--color-primary);

}



/* Schedule event drawer */

.schedule-event-shell{position:fixed;inset:0;z-index:6200;pointer-events:none}

.schedule-event-overlay{position:absolute;inset:0;background:rgba(41,35,31,.18);pointer-events:auto}

.schedule-event-drawer{position:absolute!important;inset:0 0 0 auto!important;width:min(520px,100vw)!important;height:100vh!important;background:#fffdfc!important;box-shadow:-18px 0 34px rgba(54,38,28,.14)!important;padding:22px 28px 0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;font-family:Manrope,Inter,Arial,sans-serif!important;color:#29231f!important;pointer-events:auto}

.schedule-event-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto}

.schedule-event-icon-btn{width:40px;height:40px;border:1px solid #e5d9cf;border-radius:10px;background:#fff;color:#29231f;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}

.schedule-event-icon-btn:hover{background:#f5f1ec}

.schedule-event-icon-btn img{width:20px;height:20px}

.schedule-event-edit-btn{height:40px;padding:0 14px;border:1px solid #a85e48;border-radius:9px;background:#fff;color:#844733;font-weight:700;display:inline-flex;align-items:center;gap:8px;cursor:pointer}

.schedule-event-edit-btn:hover{background:#f8ede8}

.schedule-event-edit-btn img{width:17px;height:17px}

.schedule-event-mode-badge{height:32px;padding:0 12px;border:1px solid #c9d9d0;border-radius:8px;background:#edf3ef;color:#4d695d;font-size:12px;font-weight:700;display:inline-flex;align-items:center}

.schedule-event-hero{display:flex;align-items:center;gap:16px;margin:26px 0 28px}

.schedule-event-hero-icon{width:56px;height:56px;border-radius:14px;background:#f8ede8;display:flex;align-items:center;justify-content:center;flex:0 0 56px}

.schedule-event-hero-icon img{width:30px;height:30px}

.schedule-event-hero h2{margin:0;color:#29231f;font-size:24px;line-height:31px;font-weight:800;letter-spacing:0}

.schedule-event-hero p{margin:4px 0 0;color:#746a63;font-size:13px;line-height:19px}

.schedule-event-status{margin-top:8px;height:26px;padding:0 10px;border-radius:999px;background:#edf4e9;color:#4e6e52;font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:6px}

.schedule-event-status img{width:14px;height:14px}

.schedule-event-section{padding-bottom:24px;overflow:visible}

.schedule-event-section h3{margin:0 0 14px;color:#29231f;font-size:14px;line-height:20px;font-weight:800}

.schedule-event-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.schedule-event-info-card{min-height:72px;border:1px solid #eaded4;border-radius:8px;background:#fffdfc;display:flex;align-items:center;gap:12px;padding:12px}

.schedule-event-info-card.wide{grid-column:1/-1}

.schedule-event-info-icon{width:30px;height:30px;border-radius:8px;background:#faf4ee;display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px}

.schedule-event-info-icon img{width:18px;height:18px}

.schedule-event-info-card small{display:block;color:#8d837c;font-size:11px;line-height:15px;font-weight:600}

.schedule-event-info-card strong{display:block;margin-top:3px;color:#29231f;font-size:13px;line-height:19px;font-weight:700}

.schedule-event-form{display:flex;flex-direction:column;min-height:0;flex:1}

.schedule-event-form .schedule-event-section{overflow:auto;padding-right:4px}

.schedule-event-field{display:flex;flex-direction:column;gap:7px;color:#746a63;font-size:12px;font-weight:600}

.schedule-event-field.wide{margin-bottom:12px}

.schedule-event-field input,.schedule-event-field select{width:100%;height:42px;border:1px solid #e5d9cf;border-radius:8px;background:#fff;color:#29231f;padding:0 12px;font:500 13px/20px Manrope,Inter,Arial,sans-serif}

.schedule-event-field input:focus,.schedule-event-field select:focus{outline:0;border-color:var(--color-primary);box-shadow:0 0 0 4px rgba(36, 107, 103, .15)}

.schedule-event-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}

.schedule-event-limit-edit{margin-top:14px;padding:14px;border:1px solid #eaded4;border-radius:8px;background:#fffdfc;display:flex!important;align-items:flex-start!important;gap:10px;color:#29231f}

.schedule-event-limit-edit input{width:18px;height:18px;margin-top:2px;flex:0 0 18px}

.schedule-event-limit-edit strong{display:block;font-size:13px;line-height:18px}

.schedule-event-limit-edit small{display:block;margin-top:3px;color:#746a63;font-size:11px;line-height:15px}

.schedule-event-footer{margin:auto -28px 0;padding:18px 28px;border-top:1px solid #eaded4;background:#fffdfc;display:flex;gap:12px;justify-content:stretch;flex:0 0 auto}

.schedule-event-footer .btn{height:44px;border-radius:8px;font-weight:800;flex:1}

.schedule-event-cancel{background:#fff!important;border:1px solid #e5d9cf!important;color:#29231f!important}

.schedule-event-save{background:var(--color-primary)!important;color:#fff!important;border-color:var(--color-primary)!important}

@media(max-width:600px){.schedule-event-drawer{width:100vw!important;padding:18px 18px 0!important}.schedule-event-info-grid,.schedule-event-form-grid{grid-template-columns:1fr}.schedule-event-footer{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.schedule-event-hero h2{font-size:22px;line-height:28px}}



/* Schedule add drawers */

.schedule-add-backdrop{background:rgba(44,36,29,.32)!important;backdrop-filter:blur(1px);z-index:6100!important;align-items:stretch!important;justify-content:flex-end!important}

.schedule-add-drawer{width:clamp(560px,36vw,660px)!important;max-height:100vh!important;height:100vh!important;background:#fffcf8!important;box-shadow:-16px 0 40px rgba(54,39,27,.12)!important;padding:0!important;gap:0!important;overflow:hidden!important;font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#27221e!important}

.schedule-add-header{position:sticky;top:0;z-index:2;background:#fffcf8;padding:28px 30px 18px;border-bottom:1px solid rgba(231,217,203,.65)}

.schedule-add-close{width:44px;height:44px;border:1px solid #e7d9cb;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-bottom:18px}

.schedule-add-close img{width:20px;height:20px}

.schedule-add-title-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;align-items:start}

.schedule-add-title-icon{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center}

.schedule-add-title-icon img{width:28px;height:28px}.schedule-add-title-icon.green{background:#eaf5ed;color:#3d8b5a}.schedule-add-title-icon.coral{background:#fbe9e3;color:#d76a49}

.schedule-add-title-row h2{margin:0;color:#27221e;font-size:24px;line-height:30px;font-weight:800;letter-spacing:0}

.schedule-add-title-row p{margin:4px 0 0;color:#766d65;font-size:13px;line-height:18px}

.schedule-add-badge{height:28px;border-radius:8px;padding:0 12px;font-size:12px;font-weight:700;display:flex;align-items:center;white-space:nowrap}

.schedule-add-badge.green{background:#eaf5ed;color:#3d8b5a}.schedule-add-badge.coral{background:#fbe9e3;color:#d76a49}

.schedule-add-scroll{flex:1 1 auto;overflow:auto;padding:22px 30px 26px;display:flex;flex-direction:column;gap:20px}

.schedule-add-section,.schedule-add-duty{border:0;background:transparent;padding:0}

.schedule-add-section h3,.schedule-add-duty h3{margin:0 0 14px;color:#27221e;font-size:16px;line-height:22px;font-weight:800}

.schedule-add-duty{background:#fbf8f4;border:1px solid #e7d9cb;border-radius:12px;padding:16px}

.schedule-add-duty h3{display:flex;align-items:center;gap:8px}.schedule-add-duty h3 img{width:18px;height:18px}

.schedule-add-duty p{margin:0 0 12px;color:#766d65;font-size:13px}.schedule-add-duty small{display:block;margin-top:10px;color:#766d65;font-size:12px}

.schedule-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.schedule-add-field{display:flex!important;flex-direction:column!important;gap:7px!important;color:#766d65!important;font-size:13px!important;font-weight:600!important;position:relative!important}

.schedule-add-field.wide{grid-column:1/-1}

.schedule-add-field>span{color:#766d65!important;font-size:13px!important;font-weight:600!important}

.schedule-add-field input,.schedule-add-field select{height:46px!important;min-height:46px!important;border:1px solid #e7d9cb!important;border-radius:10px!important;background:#fff!important;color:#27221e!important;padding:0 14px!important;font:500 14px/20px Manrope,Inter,Arial,sans-serif!important}

.schedule-add-field.icon-field input,.schedule-add-field.icon-field select{padding-left:40px!important}

.schedule-add-field i{position:absolute;left:13px;bottom:13px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:#514a44;pointer-events:none}

.schedule-add-field i img{width:17px;height:17px}

.schedule-add-field input:focus,.schedule-add-field select:focus{outline:0!important;border-color:var(--color-primary)!important;box-shadow:0 0 0 3px rgba(36, 107, 103, .12)!important}

.schedule-add-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}

.schedule-add-days button{height:64px;border:1px solid #e7d9cb;border-radius:10px;background:#fff;color:#766d65;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-weight:700}

.schedule-add-days button.active{border-color:var(--color-primary);background:var(--color-primary-soft);color:var(--color-primary)}

.schedule-day-box{width:18px;height:18px;border:1px solid #bbb1a8;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;line-height:1}

.schedule-add-days button.active .schedule-day-box{background:var(--color-primary);border-color:var(--color-primary)}

.schedule-add-limit{min-height:80px;border:1px solid #e7d9cb;border-radius:12px;background:#fff;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center!important;padding:14px 16px!important;color:#27221e!important}

.schedule-limit-checkbox{width:40px;height:40px;display:flex;align-items:center;justify-content:center}.schedule-limit-checkbox input{width:22px!important;height:22px!important;min-height:22px!important}

.schedule-limit-copy strong{display:block;font-size:14px}.schedule-limit-copy small{display:block;margin-top:4px;color:#766d65;font-size:12px}.schedule-add-limit>b{font-size:13px}

.schedule-add-error{margin:0!important;font-size:14px!important}

.schedule-add-footer{position:sticky;bottom:0;z-index:2;background:#fffcf8;border-top:1px solid #e7d9cb;padding:16px 30px;display:grid;grid-template-columns:1fr 1fr;gap:12px}

.schedule-add-footer .btn{height:48px!important;border-radius:10px!important;font-weight:800!important}

.schedule-add-cancel{background:#fff!important;border:1px solid #d8c7b7!important;color:#4f453d!important}

.schedule-add-save{background:var(--color-primary)!important;border-color:var(--color-primary)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}

.schedule-add-save img{width:18px;height:18px}

@media(max-width:900px){.schedule-add-drawer{width:100vw!important}.schedule-add-grid,.schedule-add-title-row{grid-template-columns:1fr}.schedule-add-badge{justify-self:start}.schedule-add-days{grid-template-columns:repeat(3,1fr)}}





/* tasks-filter-panel-20260819 */

.tasks-toolbar.tasks-toolbar-compact{

  grid-template-columns:minmax(260px,1fr) minmax(150px,190px) 112px 92px 52px 118px!important;

  align-items:center;

}

.tasks-toolbar-compact .tasks-search{min-width:220px}

.tasks-type-toggle{

  height:42px;

  border:1px solid #ead8c8;

  background:#fff;

  color:#3b2c24;

  font-weight:700;

  white-space:nowrap;

}

.tasks-type-toggle.active{

  background:#fff1e8;

  border-color:var(--color-primary);

  color:var(--color-primary);

  box-shadow:0 0 0 3px rgba(36, 107, 103, .10);

}

.tasks-filter-modal .pp-filter-grid select,

.tasks-filter-modal .pp-filter-grid input{

  width:100%;

}

@media(max-width:1050px){

  .tasks-toolbar.tasks-toolbar-compact{grid-template-columns:1fr 1fr 112px 92px 52px 118px!important}

}

@media(max-width:760px){

  .tasks-toolbar.tasks-toolbar-compact{grid-template-columns:1fr!important}

  .tasks-toolbar-compact .tasks-search{min-width:0}

  .tasks-type-toggle,.tasks-toolbar.tasks-toolbar-compact .pp-filter-button,.tasks-toolbar.tasks-toolbar-compact .tasks-reset{width:100%;justify-self:stretch}

}



.schedule-event-records .schedule-student-name{display:flex;align-items:center;justify-content:space-between;gap:12px}

.schedule-event-records .schedule-student-name strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.schedule-event-record-status{flex:0 0 auto;white-space:nowrap;margin-left:12px}

.student-side-icon.danger,.lead-icon.danger{color:#ff4b1a}

.student-payment-detail-actions{display:flex;align-items:center;gap:10px}

.student-payment-state{

  display:inline-flex;

  width:max-content;

  align-items:center;

  border-radius:999px;

  padding:4px 10px;

  font-size:12px;

  font-weight:700;

  white-space:nowrap;

}

.student-payment-state.paid{background:#e9f7e8;color:#23733a}

.student-payment-state.prepaid{background:#e9f7e8;color:#23733a}

.student-payment-state.unpaid{background:#f1f1f1;color:#777}

.student-payment-state.debt{background:#ffe7e5;color:#c52d25}

.student-event-booking-row{font:inherit}

.student-event-booking-row:focus-visible{outline:2px solid var(--accent,var(--color-primary));outline-offset:-2px}



/* Saved task stages are an audit trail; continued work is added as a new stage. */

.task-step-locked .task-step-date,

.task-step-locked .task-step-description textarea{

  background:#f7f5f2;

  color:#6f675f;

  cursor:default;

}

.task-step-locked .task-step-calendar{

  cursor:not-allowed;

  opacity:.55;

}

.task-stage-locked-note{

  color:#7d726a;

  font-size:13px;

  line-height:1.4;

  padding-top:8px;

}



/* attendance makeup */

.att-makeup-modal{width:min(760px,94vw)!important}

.att-makeup-modal label{display:grid!important;grid-template-columns:120px minmax(0,1fr);gap:18px;align-items:center;margin:16px 0}

.att-makeup-modal select{width:100%;height:46px;border:1px solid #ead8c8;border-radius:10px;background:#fff;color:#2c241f;padding:0 12px}

.att-makeup-section h2{color:#2c241f}

.att-makeup-row .att-booking-main span{color:#7d726a}

.class-event-fields{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:720px){.att-makeup-modal label,.class-event-fields{grid-template-columns:1fr}}



/* attendance makeup modal centering */

.att-makeup-backdrop{align-items:center!important;justify-content:center!important;padding:24px!important;}

.att-makeup-modal{max-height:calc(100vh - 48px)!important;margin:auto!important;box-shadow:0 18px 60px rgba(36,24,15,.24)!important;border-radius:18px!important;}

@media(max-width:720px){.att-makeup-backdrop{padding:12px!important}.att-makeup-modal{max-height:calc(100vh - 24px)!important}}



/* read-only student migration archives */

.student-archive-section{margin:18px 0 0;border:1px solid #ead8c8;border-radius:8px;background:#fff}

.student-archive-toggle{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;background:#fff;padding:12px 16px;color:#2c241f;font:inherit;font-weight:700;text-align:left;cursor:pointer}

.student-archive-toggle:hover{background:#fff8f3}

.student-archive-table-wrap{overflow-x:auto;border-top:1px solid #ead8c8}

.student-archive-table{width:100%;border-collapse:collapse;min-width:680px}

.student-archive-table th,.student-archive-table td{padding:12px 16px;border-bottom:1px solid #f0e4da;text-align:left;vertical-align:top}

.student-archive-table th{color:#7d726a;font-size:12px;font-weight:600;background:#fffaf7}

.student-archive-table tr:last-child td{border-bottom:0}







/* task-contact-details-20260918 */

.tasks-table-card .task-title-cell{display:flex!important;flex-direction:column!important;gap:2px!important;padding:2px 0!important}

.tasks-table-card .task-title-cell .task-contact-line{display:block!important;max-width:100%!important;margin-top:3px!important;margin-bottom:2px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#3e3630!important;font-size:14px!important;font-weight:600!important;line-height:1.45!important;letter-spacing:0!important}

.tasks-table-card .task-title-cell .task-description-line{display:-webkit-box!important;max-width:100%!important;margin-top:1px!important;overflow:hidden!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;white-space:normal!important;color:var(--text-secondary,#7d726a)!important;font-size:12px!important;line-height:1.35!important}

.tasks-table-card .ui-table td{height:auto!important;min-height:78px!important;padding-top:10px!important;padding-bottom:10px!important}



/* students-list-stable-columns-20260919 */

.students-screen .ui-table{width:100%!important;min-width:900px!important;table-layout:fixed!important}

.students-screen .ui-table th:nth-child(1),.students-screen .ui-table td:nth-child(1){width:30%!important}

.students-screen .ui-table th:nth-child(2),.students-screen .ui-table td:nth-child(2){width:14%!important}

.students-screen .ui-table th:nth-child(3),.students-screen .ui-table td:nth-child(3){width:18%!important}

.students-screen .ui-table th:nth-child(4),.students-screen .ui-table td:nth-child(4){width:8%!important}

.students-screen .ui-table th:nth-child(5),.students-screen .ui-table td:nth-child(5){width:30%!important}



/* student-enrollment-payment-flow-20260925 */

.students-screen .student-name-cell{width:100%;min-width:0;overflow:hidden}

.students-screen .student-mini-avatar{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex:0 0 36px!important;overflow:hidden!important;aspect-ratio:1}

.students-screen .student-mini-avatar img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:50%!important}

.students-screen .student-name-cell>div{width:calc(100% - 48px);min-width:0;overflow:hidden}

.students-screen .student-name-cell strong,.students-screen .student-name-cell em{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.students-screen .ui-table td:first-child{min-width:0;overflow:hidden}

.class-search-menu button.recommended{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;background:#fff7ed}

.class-search-menu button.recommended em{font-size:11px;font-style:normal;font-weight:600;color:var(--color-primary)}

.student-record-days{display:grid;gap:8px;color:#6f737b}

.student-record-days>.subscription-days{margin-top:0}



/* booking-groups-payment-reconciliation-20260926 */

.student-payments-table .student-prepared-head,.student-payments-table .student-prepared-row{grid-template-columns:minmax(165px,1.1fr) minmax(100px,.65fr) minmax(100px,.65fr) minmax(115px,.75fr) minmax(170px,1.25fr) minmax(110px,.7fr)}

.student-payment-reconcile{justify-self:start;margin-left:22px;padding:5px 10px!important;border-radius:999px;font-size:12px;font-weight:700;line-height:1.2;overflow:visible!important}

.student-payment-reconcile.paid{color:#177245!important;background:#e9f8ef}

.student-payment-reconcile.unmatched{color:#8a5a00!important;background:#fff4d6}

@media(max-width:900px){.student-payments-table .student-prepared-head,.student-payments-table .student-prepared-row{grid-template-columns:1fr}.student-payment-reconcile{margin-left:22px}}



/* single-click class actions 20260927 */

.pp-classes-screen .pp-row-actions .pp-row-action-button{appearance:none;border:0;background:transparent;padding:4px 6px;margin:0;font:inherit;font-size:12px;font-weight:600;color:#312f83;cursor:pointer;border-radius:4px}.pp-classes-screen .pp-row-actions .pp-row-action-button:hover{background:#FFF9F4}



/* student-phone-links-20260927 */

.student-profile-card>.cr-dup-view{margin:0;padding:14px 26px 2px;border-bottom:1px solid #ece4dc;background:#fffaf6}

.student-profile-card>.cr-dup-view .cr-dup-title{margin-bottom:10px;color:#5c4a3c;font-weight:600}

.student-profile-card>.cr-dup-view .cr-dup-list{max-width:720px;gap:8px}

.student-profile-card>.cr-dup-view .cr-dup-list>div{grid-template-columns:minmax(240px,1fr) 150px;align-items:center}

@media(max-width:760px){.student-profile-card>.cr-dup-view{padding:12px 18px}.student-profile-card>.cr-dup-view .cr-dup-list>div{grid-template-columns:1fr;gap:2px}}



/* student-duplicate-consistency-20260927 */



/* reports-light-design-20260927 */

@font-face{font-family:"Manrope";font-style:normal;font-weight:400 700;font-display:swap;src:url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

@font-face{font-family:"Manrope";font-style:normal;font-weight:400 700;font-display:swap;src:url("/assets/fonts/manrope-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{

  --reports-bg:#F7F5F2;

  --reports-surface:#FFFFFF;

  --reports-surface-soft:#FBFAF8;

  --reports-text:#24211F;

  --reports-text-secondary:#756D67;

  --reports-text-muted:#9A928C;

  --reports-border:#E9E2DC;

  --reports-border-strong:#DDD4CD;

  --reports-primary:var(--color-primary);

  --reports-primary-hover:var(--color-primary-hover);

  --reports-primary-soft:var(--color-primary-soft);

  --reports-sage:#647E70;

  --reports-sage-soft:#EEF4F0;

  --reports-amber:#C98A17;

  --reports-amber-soft:#FFF5DC;

  --reports-danger:#B85C5C;

  --reports-danger-soft:#FBECEC;

  --reports-focus:rgba(244,81,22,.18);

}

.reports-screen{

  width:100%;

  max-width:100%;

  overflow-x:hidden;

  gap:18px!important;

  padding:28px 30px 34px!important;

  background:var(--reports-bg)!important;

  color:var(--reports-text)!important;

  font-family:Manrope,Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;

}

.reports-screen .pp-head{display:block!important;margin:0!important;padding:0!important}

.reports-screen .pp-head>div:first-child:before{content:none!important}

.reports-screen .pp-head h1{font-size:32px!important;line-height:1.15!important;font-weight:700!important;color:var(--reports-text)!important}

.reports-screen .pp-head p{margin-top:8px!important;font-size:14px!important;line-height:1.5!important;font-weight:400!important;color:var(--reports-text-secondary)!important}

.reports-tabs-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:46px;border-bottom:1px solid var(--reports-border)}

.reports-tabs{display:flex;align-items:flex-end;gap:28px;margin:0!important}

.reports-tabs button{position:relative;height:42px!important;padding:0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--reports-text-secondary)!important;font-size:14px!important;font-weight:500!important;cursor:pointer}

.reports-tabs button:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:transparent}

.reports-tabs button:hover{color:var(--reports-text)!important}

.reports-tabs button.active{color:var(--reports-text)!important;font-weight:600!important}

.reports-tabs button.active:after{background:var(--reports-primary)}

.reports-add-button{height:42px!important;margin-bottom:8px;padding:0 20px!important;border:0!important;border-radius:10px!important;background:var(--reports-primary)!important;color:#fff!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important;white-space:nowrap}

.reports-add-button:hover{background:var(--reports-primary-hover)!important}

.reports-toolbar.card,.reports-meta-toolbar{

  position:relative;

  display:grid!important;

  grid-template-columns:minmax(200px,1.18fr) minmax(220px,1fr) minmax(170px,.86fr) minmax(155px,.76fr) minmax(155px,.76fr)!important;

  align-items:end!important;

  gap:12px 30px!important;

  min-height:0!important;

  margin:0!important;

  padding:20px!important;

  border:1px solid var(--reports-border)!important;

  border-radius:12px!important;

  background:var(--reports-surface)!important;

  box-shadow:0 4px 18px rgba(45,35,28,.035)!important;

}

.reports-toolbar label{display:grid!important;gap:8px!important;width:auto!important;min-width:0!important;color:var(--reports-text-secondary)!important;font-size:12px!important;font-weight:500!important}

.reports-toolbar label:nth-child(2){width:auto!important}

.reports-toolbar select,.reports-toolbar input{width:100%!important;height:44px!important;padding:0 14px!important;border:1px solid var(--reports-border-strong)!important;border-radius:9px!important;background:var(--reports-surface)!important;color:var(--reports-text)!important;font-size:14px!important;font-weight:400!important}

.reports-meta-toolbar>.muted{grid-column:1/-1;margin:-4px 0 -6px;text-align:right;color:var(--reports-text-muted)!important;font-size:11px;font-weight:500}

.reports-toolbar select:focus,.reports-toolbar input:focus,.report-table input:focus,.report-table select:focus,.report-table textarea:focus{outline:none!important;border-color:var(--reports-primary)!important;box-shadow:0 0 0 3px var(--reports-focus)!important}

.reports-toolbar input:user-invalid,.reports-toolbar select:user-invalid,.report-table input:user-invalid,.report-table select:user-invalid,.report-table textarea:user-invalid{border-color:var(--reports-danger)!important;box-shadow:0 0 0 3px rgba(184,92,92,.12)!important}

.report-step-nav{display:flex!important;align-items:stretch;justify-content:space-between;gap:0!important;min-width:0;margin:6px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow-x:auto;scrollbar-width:thin}

.report-step-nav button{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;flex:1 0 150px;min-height:50px!important;padding:0 16px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--reports-text-secondary)!important;font-size:14px!important;font-weight:500!important;text-align:center!important;white-space:nowrap;cursor:pointer}

.report-step-nav button:not(:last-child):after{content:"";position:absolute;left:calc(50% + 62px);right:0;top:50%;height:1px;background:var(--reports-border-strong)}

.report-step-nav button:before{content:"";position:absolute;left:18px;right:18px;bottom:0;height:2px;border-radius:2px;background:transparent}

.report-step-nav button:hover{color:var(--reports-text)!important}

.report-step-nav button.active{color:var(--reports-primary)!important;font-weight:600!important;box-shadow:none!important}

.report-step-nav button.active:before{background:var(--reports-primary)}

.report-step-nav button i,.report-step-nav button b{display:none!important}

.report-step-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;margin:8px 0 0!important}

.report-step-heading h2{margin:0!important;color:var(--reports-text)!important;font-size:26px!important;line-height:1.25!important;font-weight:700!important}

.report-step-heading>span,.report-step-heading div>span{display:none!important}

.report-step-heading p{max-width:none!important;margin:0!important;color:var(--reports-text-secondary)!important;font-size:12px!important;line-height:1.5!important;font-weight:400!important;text-align:right!important;white-space:nowrap}

.report-card{margin:0!important;border:1px solid var(--reports-border)!important;border-radius:12px!important;background:var(--reports-surface)!important;box-shadow:0 4px 18px rgba(45,35,28,.035)!important;overflow:hidden!important}

.report-card-head{min-height:66px!important;padding:9px 12px!important;border-bottom:1px solid #EEE8E3!important;background:var(--reports-surface)!important}

.report-card-title{gap:12px!important}

.report-section-icon{width:36px!important;height:36px!important;border-radius:8px!important;background:var(--section-soft)!important;color:var(--section)!important}

.report-section-icon img{width:20px!important;height:20px!important}

.report-card h2{font-size:16px!important;line-height:1.35!important;font-weight:700!important;color:var(--reports-text)!important}

.report-count-badge{min-height:24px!important;padding:0 10px!important;background:var(--section-soft)!important;color:var(--section)!important;font-size:11px!important;font-weight:600!important}

.report-card-green{--section:var(--reports-sage);--section-soft:var(--reports-sage-soft)}

.report-card-mustard{--section:var(--reports-amber);--section-soft:var(--reports-amber-soft)}

.report-card-terracotta{--section:#A86A55;--section-soft:#F7EEE9}

.report-card-rose{--section:#A66D76;--section-soft:#F7EDF0}

.report-card-olive{--section:var(--reports-sage);--section-soft:var(--reports-sage-soft)}

.report-add-row{min-width:0!important;width:auto!important;height:40px!important;padding:0 14px!important;border:1px solid var(--section)!important;border-radius:9px!important;background:var(--reports-surface)!important;color:var(--section)!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important}

.report-add-row:hover{background:var(--section-soft)!important}

.report-add-row:focus-visible,.reports-screen button:focus-visible{outline:3px solid var(--reports-focus)!important;outline-offset:2px!important}

.reports-screen button:disabled,.reports-screen input:disabled,.reports-screen select:disabled,.reports-screen textarea:disabled{opacity:.55!important;cursor:not-allowed!important}

.report-table-wrap{max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important}

.report-table{width:100%!important;min-width:1120px!important;border-collapse:collapse!important}

.report-table th{height:46px!important;padding:10px 14px!important;border-bottom:1px solid #EEE8E3!important;background:var(--reports-surface-soft)!important;color:var(--reports-text-secondary)!important;font-size:12px!important;line-height:1.25!important;font-weight:600!important;text-transform:none!important}

.report-table td{min-height:56px!important;padding:9px 14px!important;border-bottom:1px solid #EEE8E3!important;background:var(--reports-surface)!important;color:var(--reports-text)!important;font-size:13px!important;font-weight:400!important}

.report-table tbody tr:hover td{background:#FCFBF9!important}

.report-table th:first-child{background:var(--reports-surface-soft)!important}

.report-table td:first-child{background:var(--reports-surface)!important}

.report-table tbody tr:hover td:first-child{background:#FCFBF9!important}

.report-table input,.report-table select.report-select{height:42px!important;padding:0 12px!important;border:1px solid #E3DCD6!important;border-radius:8px!important;background:#fff!important;font-size:13px!important}

.report-table textarea.report-textarea{min-height:64px!important;padding:9px 12px!important;border:1px solid #E3DCD6!important;border-radius:8px!important;background:#fff!important;font-size:13px!important}

.report-empty{height:88px!important;padding:0!important}

.report-empty-inner{gap:10px!important;color:var(--reports-text-secondary)!important;font-size:13px!important;font-weight:400!important}

.report-empty-icon{width:22px!important;height:22px!important;color:var(--reports-text-secondary)!important}

.report-empty-add{display:none!important}

.reports-step-actions{display:flex!important;justify-content:flex-end!important;gap:12px!important;padding:8px 0 0!important}

.reports-step-actions .btn{height:44px!important;border-radius:10px!important;padding:0 18px!important;font-size:14px!important;font-weight:600!important}

.reports-step-actions .btn:not(.btn-primary){border:1px solid var(--reports-border-strong)!important;background:var(--reports-surface)!important;color:#4F4945!important}

.reports-step-actions .btn-primary,.reports-save-button{border:0!important;background:var(--reports-primary)!important;color:#fff!important;box-shadow:none!important}

.reports-step-actions .btn-primary:hover,.reports-save-button:hover{background:var(--reports-primary-hover)!important}

.reports-empty-start{border:1px solid var(--reports-border)!important;border-radius:12px!important;background:var(--reports-surface)!important;box-shadow:0 4px 18px rgba(45,35,28,.035)!important}

@media(min-width:1280px){.reports-meta-toolbar{grid-template-columns:minmax(200px,1.18fr) minmax(220px,1fr) minmax(170px,.86fr) minmax(155px,.76fr) minmax(155px,.76fr)!important}}

@media(max-width:1279px){.reports-meta-toolbar{grid-template-columns:repeat(2,minmax(220px,1fr))!important}.report-step-heading{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}.report-step-heading p{text-align:left!important;white-space:normal!important}.report-step-nav{justify-content:flex-start!important}}

@media(max-width:767px){.reports-screen{padding:20px 16px 28px!important}.reports-screen .pp-head h1{font-size:30px!important}.reports-tabs-row{align-items:stretch;flex-direction:column;gap:10px;border-bottom:0}.reports-tabs{border-bottom:1px solid var(--reports-border);overflow-x:auto}.reports-add-button{width:100%;margin:0!important}.reports-toolbar.card,.reports-meta-toolbar{grid-template-columns:1fr!important;gap:14px!important;padding:16px!important}.reports-meta-toolbar>.muted{grid-column:1;text-align:left;margin:0}.report-step-nav{margin-top:0!important}.report-step-nav button{flex-basis:135px}.report-card-head{align-items:center!important;gap:10px!important}.report-card-title{align-items:center!important}.report-card h2{font-size:15px!important}.report-add-row{min-width:40px!important;padding:0 10px!important}.report-add-row span{display:none}.reports-step-actions{flex-direction:column!important}.reports-step-actions .btn{width:100%!important}.report-table{min-width:980px!important}}



/* report-download-cell-normalization-20260929 */



/* student-balance-reconciliation-20260930 */



/* historical-class-enrollment-20260930 */



/* former-participants-outcome-filter-20260930 */

/* reports workflow: one primary action, centered dialogs and linked records */

.reports-step-flow .reports-tabs-row>.reports-add-button{display:none!important}

.reports-step-flow .reports-empty-start .btn{margin-top:24px}

.reports-step-flow .report-delete-current{margin-bottom:8px;border:1px solid #eab8a8;background:#fff;color:#b43c25}

.reports-step-flow .report-delete-current:hover{background:#fff3ee}

.report-delete-modal{width:min(440px,calc(100vw - 40px));margin:auto;padding:24px;border-radius:16px;background:#fff;box-shadow:0 20px 56px rgba(36,24,15,.22)}

.report-delete-modal h2{font-size:20px}.report-delete-modal p{color:#6c625b;line-height:1.5;margin:12px 0 24px}

.reports-step-flow .reports-meta-toolbar input:disabled{background:#faf6f2;color:#72665c;opacity:1}

.report-create-backdrop,.report-task-picker-backdrop{align-items:center!important;justify-content:center!important;padding:20px!important}

.report-create-modal,.report-task-picker{width:min(620px,calc(100vw - 40px))!important;max-height:calc(100vh - 40px)!important;margin:auto!important;border-radius:16px!important;box-shadow:0 20px 56px rgba(36,24,15,.22)!important}

.report-person-link,.report-person-edit a,.report-task-link{color:#243a9b;font-weight:700;text-decoration:none}

.report-person-link:hover,.report-person-edit a:hover,.report-task-link:hover{text-decoration:underline}

.report-person-edit{display:flex;align-items:center;gap:8px}

.report-person-edit a{font-size:12px;white-space:nowrap}

.report-row-actions>div{display:flex;align-items:center;justify-content:center;gap:6px}

.report-task-cell{display:flex;flex-direction:column;gap:6px;min-width:190px}

.report-task-cell select{min-width:190px}

.report-task-link{border:0;background:none;padding:0;text-align:left;cursor:pointer}

.report-task-results{display:flex;flex-direction:column;gap:6px;max-height:45vh;overflow:auto}

.report-task-results button{display:flex;flex-direction:column;gap:3px;border:1px solid #ead9c9;border-radius:8px;background:#fff;padding:10px 12px;text-align:left;cursor:pointer}

.report-task-results button:hover{background:#fff8f3}

.report-task-results span{color:#7d726a;font-size:12px}

@media (min-width:768px) and (max-width:1399px){.reports-toolbar.card.reports-meta-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.reports-meta-toolbar label{min-width:0!important}.reports-meta-toolbar>.muted{grid-column:1/-1;text-align:left!important}}



/* Brand colour system — 2026-10-08. Layout and application logic are unchanged. */

:root,

:root[data-theme="light"] {

  --color-primary: #246B67;

  --color-primary-hover: #1F5F5B;

  --color-primary-active: #194F4C;

  --color-primary-disabled: #91B5B1;

  --color-primary-soft: #DCEDEA;

  --color-primary-soft-hover: #CDE3DF;

  --color-primary-soft-active: #BDD9D4;

  --color-primary-text: #194F4C;

  --color-primary-border: #77AAA5;

  --color-primary-border-light: #B8D4D0;

  --color-on-primary: #FFFFFF;

  --color-primary-focus: rgba(36, 107, 103, .20);

  --color-page-bg: #F7F5F2;

  --color-surface: #FFFFFF;

  --color-surface-soft: #FBFAF8;

  --color-text: #24211F;

  --color-text-secondary: #756D67;

  --color-text-muted: #9A928C;

  --color-border: #E9E2DC;

  --color-border-strong: #DDD4CD;

  --color-success: #2E7D54;

  --color-success-soft: #E7F5EC;

  --color-warning: #C98A17;

  --color-warning-soft: #FFF3D6;

  --color-danger: #B85C5C;

  --color-danger-soft: #FBECEC;

  --color-info: #46759A;

  --color-info-soft: #E8F1F7;

  --color-chart-primary: #246B67;

  --color-chart-secondary-1: #77AAA5;

  --color-chart-secondary-2: #A8CBC7;

  --color-chart-secondary-3: #DCEDEA;

  --color-chart-info: #315F7D;

  --color-chart-warning: #C98A17;



  /* Legacy aliases used throughout the current bundled stylesheet. */

  --bg: var(--color-page-bg);

  --panel: var(--color-surface);

  --panel-2: var(--color-surface-soft);

  --panel-hover: #F1F7F6;

  --text: var(--color-text);

  --muted: var(--color-text-secondary);

  --subtle: var(--color-text-muted);

  --line: var(--color-border);

  --line-strong: var(--color-border-strong);

  --primary: var(--color-primary);

  --primary-hover: var(--color-primary-hover);

  --primary-active: var(--color-primary-active);

  --primary-soft: var(--color-primary-soft);

  --accent: var(--color-primary);

  --accent-hover: var(--color-primary-hover);

  --accent-bg: var(--color-primary-soft);

  --accent-border: var(--color-primary-border);

  --accent-contrast: var(--color-on-primary);

  --sidebar-bg: var(--color-primary);

  --sidebar-bg-dark: var(--color-primary-hover);

  --sidebar-bg-hover: var(--color-primary-hover);

  --sidebar-hover: var(--color-primary-hover);

  --sidebar-text: var(--color-on-primary);

  --sidebar-active: var(--color-primary-soft);

  --sidebar-active-text: var(--color-primary-text);

  --color-sidebar: var(--color-primary);

  --color-sidebar-dark: var(--color-primary-hover);

  --color-nav-active: var(--color-primary-soft);

  --color-nav-active-text: var(--color-primary-text);

  --records-sidebar: var(--color-primary);

  --records-sidebar-dark: var(--color-primary-hover);

  --records-primary: var(--color-primary);

  --records-primary-hover: var(--color-primary-hover);

  --records-primary-soft: var(--color-primary-soft);

  --records-primary-shadow: 0 6px 16px rgba(36, 107, 103, .18);

  --crm-primary: var(--color-primary);

  --crm-primary-hover: var(--color-primary-hover);

  --crm-primary-soft: var(--color-primary-soft);

  --reports-primary: var(--color-primary);

  --reports-primary-hover: var(--color-primary-hover);

  --reports-primary-soft: var(--color-primary-soft);

  --task-primary: var(--color-primary);

  --task-primary-hover: var(--color-primary-hover);

  --task-primary-soft: var(--color-primary-soft);

  --task-page-bg: var(--color-page-bg);

  --task-modal-bg: var(--color-surface);

  --records-bg: var(--color-page-bg);

  --crm-bg: var(--color-page-bg);

  --crm-surface: var(--color-surface);

  --crm-surface-soft: var(--color-surface-soft);

  --report-page: var(--color-page-bg);

  --report-surface: var(--color-surface);

  --report-surface-muted: var(--color-surface-soft);

  --report-orange: var(--color-primary);

  --report-orange-hover: var(--color-primary-hover);

  --report-orange-active: var(--color-primary-active);

  --report-orange-soft: var(--color-primary-soft);

  --reports-bg: var(--color-page-bg);

  --reports-surface: var(--color-surface);

  --reports-surface-soft: var(--color-surface-soft);

  --reports-focus: var(--color-primary-focus);

  --green: var(--color-success);

  --green-bg: var(--color-success-soft);

  --yellow: var(--color-warning);

  --yellow-bg: var(--color-warning-soft);

  --red: var(--color-danger);

  --red-bg: var(--color-danger-soft);

  --warning: var(--color-warning);

  --warning-bg: var(--color-warning-soft);

  --danger: var(--color-danger);

  --danger-bg: var(--color-danger-soft);

  accent-color: var(--color-primary);

}



.sidebar,

.layout .sidebar,

.layout-collapsed .sidebar,

.layout-collapsed .sidebar:hover {

  background: var(--color-primary) !important;

  background-image: none !important;

  color: var(--color-on-primary) !important;

}

.sidebar-item,

.sidebar-item svg,

.sidebar-brand,

.sidebar-user,

.sidebar-toggle,

.sidebar-mark { color: var(--color-on-primary) !important; }

.sidebar-item svg { opacity: 1 !important; }

.sidebar-item:not(.sidebar-item-active):hover { background: rgba(255, 255, 255, .09) !important; }

.sidebar-item:not(.sidebar-item-active):active { background: rgba(255, 255, 255, .14) !important; }

.sidebar-item-active,

.sidebar-item-active:hover {

  background: var(--color-primary-soft) !important;

  color: var(--color-primary-text) !important;

  box-shadow: none !important;

}

.sidebar-item-active svg { color: var(--color-primary-text) !important; }

a.sidebar-item.sidebar-item-active,

a.sidebar-item.sidebar-item-active:visited,

a.sidebar-item.sidebar-item-active span,

a.sidebar-item.sidebar-item-active svg { color: var(--color-primary-text) !important; }

.sidebar-footer { border-top-color: rgba(255, 255, 255, .15) !important; }

.sidebar-mark { background: rgba(255, 255, 255, .12) !important; }

.sidebar-avatar-btn { border-color: rgba(255,255,255,.35) !important; }

.sidebar-user-menu button:hover { background: var(--color-primary-soft) !important; color: var(--color-primary-text) !important; }



.btn-primary,

.btn.btn-primary,

.cr-primary-button,

.schedule-event-save,

.schedule-add-save,

.reports-save-button,

.report-add-row,

.cr-employee-rate-add {

  background: var(--color-primary) !important;

  border-color: var(--color-primary) !important;

  color: var(--color-on-primary) !important;

}

.btn-primary:hover,

.btn.btn-primary:hover,

.cr-primary-button:hover,

.schedule-event-save:hover,

.schedule-add-save:hover,

.reports-save-button:hover,

.report-add-row:hover,

.cr-employee-rate-add:hover {

  background: var(--color-primary-hover) !important;

  border-color: var(--color-primary-hover) !important;

}

.btn-primary:active,

.btn.btn-primary:active,

.cr-primary-button:active { background: var(--color-primary-active) !important; }

.btn-primary:disabled,

.btn.btn-primary:disabled,

.cr-primary-button:disabled {

  background: var(--color-primary-disabled) !important;

  border-color: var(--color-primary-disabled) !important;

  color: rgba(255,255,255,.85) !important;

  cursor: not-allowed;

}

:is(button, a, input, select, textarea):focus-visible {

  outline: none;

  box-shadow: 0 0 0 3px var(--color-primary-focus);

}

:is(input, textarea, select):not([aria-invalid="true"]):not(.is-invalid):focus {

  border-color: var(--color-primary) !important;

  box-shadow: 0 0 0 3px var(--color-primary-focus) !important;

}

:is(input, textarea, select) { accent-color: var(--color-primary); }

:is(input, textarea, select):not([aria-invalid="true"]):not(.is-invalid) {

  border-color: var(--color-border-strong);

  background: var(--color-surface);

}

.btn-secondary,

.reports-step-actions .btn:not(.btn-primary):not(.btn-danger) {

  background: var(--color-surface) !important;

  border-color: var(--color-primary-border) !important;

  color: var(--color-primary) !important;

}

.btn-secondary:hover,

.reports-step-actions .btn:not(.btn-primary):not(.btn-danger):hover {

  background: #F1F7F6 !important;

  border-color: var(--color-primary) !important;

}



.pp-tabs .pp-tab { color: var(--color-text) !important; }

.pp-tabs .pp-tab:not(.active):hover { color: var(--color-primary) !important; }

.pp-tabs .pp-tab.active {

  color: var(--color-primary) !important;

  border-bottom: 2px solid var(--color-primary) !important;

  background: transparent !important;

}

.reports-tabs button.active {

  color: var(--color-primary) !important;

  background: transparent !important;

  border-bottom: 2px solid var(--color-primary) !important;

  box-shadow: none !important;

}

.analytics-section-tabs button.active {

  color: var(--color-primary) !important;

  background: transparent !important;

  border-bottom: 2px solid var(--color-primary) !important;

  box-shadow: none !important;

}

.cr-finance-tabs button.active::after { height: 2px !important; background: var(--color-primary) !important; }

a:not(.sidebar-item):not(.bottombar-item):not(.more-sheet-item),

a:not(.sidebar-item):not(.bottombar-item):not(.more-sheet-item):visited {

  color: var(--color-primary);

}

a:not(.sidebar-item):not(.bottombar-item):not(.more-sheet-item):hover { color: var(--color-primary-hover); }

.report-person-link,

.report-person-edit a,

.report-task-link { color: var(--color-primary) !important; }



.student-payments-table .student-prepared-row:hover,

.report-table tbody tr:hover { background: #F6FAF9 !important; }

.student-prepared-row strong { color: var(--color-primary) !important; }

.student-prepared-row:hover strong { color: var(--color-primary-hover) !important; }

.student-payments-table .student-prepared-row.active,

.report-table tbody tr[aria-selected="true"] { background: #EAF4F2 !important; }

.records-kpi-card strong,

.sales-kpi-card strong,

.sales-summary-list b,

.sales-detail-row strong,

.group-fill-counter-card strong,

.staff-efficiency-metrics strong { color: var(--color-primary) !important; }

.legend-actual i,

.group-fill-progress i,

.analytics-summary-row:not(.expense) i { background: var(--color-primary) !important; }

.fill-low .group-fill-progress i { background: var(--color-warning) !important; }

.analytics-summary-row.expense i { background: var(--color-danger) !important; }

.remarks-period-buttons button.active,

.admin-chart-btn.btn-primary,

.admin-chart-btn.active.btn-primary { background: var(--color-primary) !important; border-color: var(--color-primary) !important; color: #fff !important; }

.report-step-nav button.active { background: var(--color-primary-soft) !important; border-color: var(--color-primary) !important; color: var(--color-primary-text) !important; }

.report-step-nav button.active i,

.report-step-nav button.active b { background: var(--color-primary) !important; color: #fff !important; }

.bottombar { background: var(--color-primary) !important; }

a.bottombar-item,

a.bottombar-item:visited,

.bottombar-item svg { color: rgba(255,255,255,.9) !important; }

a.bottombar-item.bottombar-item-active,

a.bottombar-item.bottombar-item-active:visited,

.bottombar-item-active svg { color: #fff !important; }

.more-sheet-item-active { color: var(--color-primary-text) !important; background: var(--color-primary-soft) !important; }

.task-related-warning button { color: var(--color-primary) !important; }

.access-reset-password-btn,

.notes-file-delete,

.report-row-delete { color: var(--color-danger) !important; }

.access-reset-password-btn:hover { background: var(--color-danger) !important; border-color: var(--color-danger) !important; color: #fff !important; }

.notes-file-delete:hover { color: var(--color-danger) !important; border-color: var(--color-danger) !important; }

.notes-file-download:hover { color: var(--color-primary) !important; border-color: var(--color-primary-border) !important; }

.btn-danger,

.btn.btn-danger,

[aria-invalid="true"] { border-color: var(--color-danger) !important; }

.btn-danger,

.btn.btn-danger { color: var(--color-danger) !important; background: var(--color-danger-soft) !important; }

.btn-danger:hover,

.btn.btn-danger:hover { background: var(--color-danger) !important; color: #fff !important; }



/* Full-width dashboard drill-downs; the existing overview remains unchanged. */

.pp-panel-head .dashboard-panel-action {

  border: 0;

  background: transparent;

  color: var(--color-primary, #246B67);

  font: inherit;

  font-size: 24px;

  line-height: 1;

  cursor: pointer;

  padding: 2px 7px;

  border-radius: 7px;

}

.pp-panel-head .dashboard-panel-action:hover { background: var(--color-primary-soft, #DCEDEA); }

.pp-panel-head .dashboard-panel-action:focus-visible,

.dashboard-detail-screen :is(button, a, input, summary):focus-visible {

  outline: 2px solid var(--color-primary, #246B67);

  outline-offset: 2px;

}

.dashboard-detail-screen { width: 100%; max-width: none; }

.dashboard-detail-back { margin-bottom: 14px; min-height: 42px; font-size: 15px; }

.dashboard-detail-heading { margin-bottom: 22px; }

.dashboard-detail-heading h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; }

.dashboard-detail-heading p { color: var(--color-text-secondary, #756D67); margin: 0; font-size: 15px; line-height: 1.45; }

.dashboard-detail-filters {

  display: flex;

  flex-wrap: wrap;

  align-items: end;

  gap: 12px;

  padding: 16px;

  border: 1px solid var(--color-border, #E9E2DC);

  border-radius: 12px;

  background: var(--color-surface, #FFF);

  margin-bottom: 18px;

}

.dashboard-detail-filters > label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--color-text-secondary, #756D67); }

.dashboard-detail-filters input:not([type="checkbox"]) {

  height: 44px;

  min-width: 170px;

  padding: 0 10px;

  font-size: 15px;

  border: 1px solid var(--color-border-strong, #DDD4CD);

  border-radius: 8px;

  background: #FFF;

  color: var(--color-text, #24211F);

}

.dashboard-detail-filters input[type="checkbox"] { accent-color: var(--color-primary, #246B67); }

.dashboard-detail-filters .dashboard-paid-filter { flex-direction: row; align-items: center; color: var(--color-text, #24211F); font-size: 14px; min-height: 44px; }

.dashboard-filter-search { min-width: 220px; }

.dashboard-filter-search input { width: 100%; }

.dashboard-filter-menu { position: relative; min-width: 170px; }

.dashboard-filter-menu > summary {

  list-style: none;

  min-height: 44px;

  padding: 11px 30px 11px 11px;

  font-size: 15px;

  border: 1px solid var(--color-border-strong, #DDD4CD);

  border-radius: 8px;

  background: #FFF;

  color: var(--color-text, #24211F);

  cursor: pointer;

}

.dashboard-filter-menu > summary::-webkit-details-marker { display: none; }

.dashboard-filter-menu > summary::after { content: "⌄"; position: absolute; right: 12px; top: 11px; }

.dashboard-filter-options {

  position: absolute;

  z-index: 20;

  top: calc(100% + 4px);

  left: 0;

  width: min(340px, 85vw);

  max-height: 280px;

  overflow: auto;

  display: flex;

  flex-direction: column;

  gap: 7px;

  padding: 10px;

  border: 1px solid var(--color-border, #E9E2DC);

  border-radius: 10px;

  background: #FFF;

  box-shadow: 0 10px 25px rgba(29, 53, 48, .13);

}

.dashboard-filter-options label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text, #24211F); cursor: pointer; }

.dashboard-filter-options input:not([type="checkbox"]) { width: 100%; min-width: 0; }

.dashboard-filter-options button,

.dashboard-filter-actions button { border: 0; background: var(--color-primary-soft, #DCEDEA); color: var(--color-primary-text, #194F4C); border-radius: 6px; padding: 6px 8px; cursor: pointer; }

.dashboard-filter-actions { display: flex; gap: 6px; }

.dashboard-detail-screen .dashboard-filter-options button,

.dashboard-detail-screen .dashboard-filter-actions button { font-size: 14px; min-height: 38px; }

.dashboard-range-btn { min-height: 44px; font-size: 14px; }

.dashboard-detail-results { border: 1px solid var(--color-border, #E9E2DC); border-radius: 12px; background: #FFF; overflow: hidden; }

.dashboard-detail-results-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 16px; border-bottom: 1px solid var(--color-border, #E9E2DC); }

.dashboard-detail-results-head h2 { margin: 0; font-size: 20px; }

.dashboard-detail-results-head span { color: var(--color-text-secondary, #756D67); font-size: 14px; }

.dashboard-detail-table-wrap { overflow-x: auto; }

.dashboard-detail-table { width: 100%; border-collapse: collapse; min-width: 720px; }

.dashboard-detail-table th,

.dashboard-detail-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--color-border, #E9E2DC); vertical-align: top; }

.dashboard-detail-table th { font-size: 14px; font-weight: 600; color: var(--color-text-secondary, #756D67); background: var(--color-surface-soft, #FBFAF8); }

.dashboard-detail-table td { font-size: 15px; line-height: 1.45; }

.dashboard-detail-table tbody tr:hover { background: #F6FAF9; }

.dashboard-detail-table tbody tr:last-child td { border-bottom: 0; }

.dashboard-detail-table a { color: var(--color-primary, #246B67); text-decoration: underline; }

.dashboard-pages { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 14px; border-top: 1px solid var(--color-border, #E9E2DC); }

.dashboard-pages button { min-width: 40px; min-height: 40px; border: 1px solid var(--color-border-strong, #DDD4CD); border-radius: 7px; background: #FFF; color: var(--color-text, #24211F); cursor: pointer; padding: 7px 11px; font-size: 14px; }

.dashboard-pages button:hover:not(:disabled) { border-color: var(--color-primary, #246B67); color: var(--color-primary, #246B67); }

.dashboard-pages button.active { background: var(--color-primary, #246B67); border-color: var(--color-primary, #246B67); color: #FFF; }

.dashboard-pages button:disabled { opacity: .45; cursor: not-allowed; }

.dashboard-page-ellipsis { padding: 0 5px; }

@media (max-width: 720px) {

  .dashboard-detail-filters { align-items: stretch; }

  .dashboard-detail-filters > label,

  .dashboard-filter-search,

  .dashboard-filter-menu { width: 100%; }

  .dashboard-detail-filters input:not([type="checkbox"]) { width: 100%; }

  .dashboard-pages { flex-wrap: wrap; }

}



/* Task editor: parent contact immediately after the last stage. */

.task-parent-contact{grid-column:1/-1;margin:16px 0 6px;padding:16px 20px;border:1px solid #c8e1dd;border-radius:14px;background:#f1f9f7;color:#173d39}

.task-parent-contact h3{margin:0 0 12px;font-size:17px;font-weight:700;color:#176d65}

.task-parent-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}

.task-parent-contact-item{display:flex;min-width:0;flex-direction:column;gap:5px}

.task-parent-contact-item>span{font-size:13px;color:#55726f}

.task-parent-contact-item strong{font-size:16px;overflow-wrap:anywhere}

.task-parent-phone{display:inline-flex;align-items:center;gap:12px;width:max-content;max-width:100%;font-size:17px;font-weight:700;color:#12695f;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

.task-parent-phone:hover,.task-parent-phone:focus-visible{color:#0a4e47}

.task-parent-phone small{padding:5px 9px;border-radius:8px;background:#d9eeea;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}

.task-parent-contact-empty{margin:0;color:#55726f;font-size:14px}

@media(max-width:680px){.task-parent-contact{padding:14px 16px}.task-parent-contact-grid{grid-template-columns:1fr;gap:12px}.task-parent-phone{flex-wrap:wrap}}



/* Booking drawer: navigate directly to its student or lead profile. */

.records-drawer .records-person-link{display:inline-flex;align-items:center;gap:9px;max-width:100%;color:#176d65;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

.records-drawer .records-person-link:hover,.records-drawer .records-person-link:focus-visible{color:#0b4f49}

.records-drawer .records-person-link span{flex:none;display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e2f2ee;font-size:16px;text-decoration:none}



/* Task editor: complete, lossless copy of the description shown in its card. */

.task-full-description{grid-column:1/-1;margin:18px 0 4px;padding:18px 20px;border:1px solid #d5dfe0;border-radius:14px;background:#f7faf9}

.task-full-description h3{margin:0 0 6px;font-size:17px;font-weight:700;color:#173d39}

.task-full-description p{margin:0 0 12px;font-size:13px;color:#60716e}

.task-full-description-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6;color:#172d2a}

@media(max-width:680px){.task-full-description{padding:14px 16px}}



/* Phone-first shell. Desktop layout remains unchanged. */

.mobile-topbar,.att-mobile-back,.mobile-schedule-list,.mobile-menu-head{display:none}

@media(min-width:761px){

  .records-toolbar,.cr-finance-filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:9px!important}

  .mobile-filter-details{display:block!important;width:100%;min-width:0}

  .mobile-filter-details>summary{display:none}

  .mobile-filter-inner{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px;width:100%;min-width:0}

  .records-toolbar>input:first-child,.cr-finance-filters>.cr-search-field:first-child{width:100%!important;min-width:0!important;max-width:100%!important}

  .mobile-filter-inner>*{width:100%!important;min-width:0!important;max-width:100%!important;align-self:start}

  .cr-finance-filters>.cr-search-field:first-child{height:auto!important;align-self:start}

}

@media(max-width:760px){

  html,body,#root{min-width:0;width:100%;overflow-x:hidden}

  .layout{min-width:0;min-height:100dvh;height:100dvh}

  .layout .sidebar,.layout-collapsed .sidebar,.bottombar{display:none!important}

  .mobile-topbar{display:flex;position:fixed;z-index:75;top:0;left:0;right:0;height:60px;align-items:center;gap:14px;padding:0 16px;background:#fff;border-bottom:1px solid #e4e2df;box-shadow:0 2px 9px #182e2720}

  .mobile-menu-toggle{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:10px;background:transparent;color:#246b67;font-size:26px;line-height:1;cursor:pointer}

  .mobile-menu-toggle:focus-visible,.mobile-menu-head button:focus-visible{outline:3px solid #7cb5aa;outline-offset:2px}

  .mobile-topbar-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px;font-weight:650;color:#1f302c}

  .layout .content,.layout-collapsed .content{margin:0!important;height:100dvh;overflow-x:hidden;overflow-y:auto;padding:68px 12px 20px!important;background:#f7f5f2!important}

  .content>*{padding-top:8px!important;max-width:100%;min-width:0}

  .more-sheet-backdrop{z-index:110!important;background:#132c2a80!important}

  .more-sheet{left:0!important;right:auto!important;top:0!important;bottom:0!important;width:min(330px,88vw)!important;max-height:100dvh;overflow-y:auto;border:0!important;border-radius:0!important;background:#246b67!important;padding:16px 14px 24px!important;box-shadow:8px 0 30px #10292545;gap:2px!important}

  .mobile-menu-head{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 18px;margin-bottom:6px;border-bottom:1px solid #ffffff38;color:#fff;font-size:18px}

  .mobile-menu-head button{width:40px;height:40px;border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer}

  .more-sheet a.more-sheet-item,.more-sheet a.more-sheet-item:visited{min-height:46px;color:#f5fbf8!important;border:1px solid transparent!important;font-size:15.5px!important;font-weight:550}

  .more-sheet-item svg{color:#f5fbf8!important}

  .more-sheet a.more-sheet-item-active{background:#ffffff25!important;border-color:#ffffff9c!important;color:#fff!important}

  .more-sheet-item:hover{background:#ffffff20!important}

  .pp-screen,.cr-finance-page{width:100%;min-width:0}

  .screen-head.pp-head,.cr-page-hero{margin:0 0 10px!important;padding:0!important;min-height:0!important;border:0!important;box-shadow:none!important;background:transparent!important}

  .screen-head.pp-head h1,.cr-page-hero h1{display:none!important}

  .screen-head.pp-head p,.cr-page-hero p,.screen-head.pp-head .page-eyebrow{display:none!important}

  .screen-head.pp-head>div:first-child:empty{display:none}

  .screen-head.pp-head .head-actions,.screen-head.pp-head .cr-top-actions{margin:0!important}

  .screen-head.pp-head .btn,.cr-page-hero .btn,.screen-head.pp-head button{min-height:42px}

  .card,.pp-panel,.ui-table-wrap,.cr-table-card{max-width:100%;min-width:0}

  input,select,textarea,button{font-size:16px}

  input,select,textarea{max-width:100%;min-height:42px}

  .btn,.pp-icon-btn{min-height:42px}

  .ui-modal-backdrop,.pp-filter-backdrop{z-index:120!important}

  .pp-filter-modal{width:min(100%,460px)!important;max-height:90dvh!important;overflow-y:auto}

  .pp-filter-grid{grid-template-columns:1fr!important}



  /* Dashboard: glanceable figures and the existing drill-down cards. */

  .dashboard-stats-block{margin-top:2px!important}

  .dashboard-stats-head{display:flex!important;align-items:end!important;gap:8px!important;flex-wrap:wrap}

  .dashboard-stats-head h2{font-size:18px!important}

  .dashboard-stats-head>div:first-child>span{display:none}

  .dashboard-period-controls label{display:flex!important;align-items:center;gap:6px}

  .dashboard-period-controls label>span{display:none}

  .dashboard-period-controls select{min-height:38px;font-size:14px}

  .dashboard-stats-block .pp-metrics.six{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}

  .dashboard-stats-block .pp-metric{min-height:84px!important;padding:12px 9px!important;box-shadow:none!important}

  .dashboard-stats-block .pp-metric span{font-size:12.5px!important;line-height:1.25}

  .dashboard-stats-block .pp-metric strong{font-size:20px!important;line-height:1.15;overflow-wrap:anywhere}

  .dashboard-events-block{margin-top:18px!important}

  .dashboard-events-grid .dashboard-event-card.empty:not(:first-child){display:none!important}

  .dashboard-two,.dashboard-wide{display:block!important}

  .dashboard-two>.card,.dashboard-wide>.card{margin-bottom:10px}



  /* Schedule: day cards use the same event drawer and date controls. */

  .schedule-modern-head .head-actions{display:flex!important;gap:8px;flex-wrap:wrap}

  .schedule-modern-head .head-actions .btn{font-size:13px;padding:7px 10px}

  .schedule-modern-bar{display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px!important;padding:10px!important}

  .schedule-modern-bar>.pp-icon-btn:nth-of-type(1){grid-column:1;grid-row:1}

  .schedule-modern-bar>.schedule-date-picker{grid-column:2;grid-row:1;min-width:0!important;text-align:center}

  .schedule-modern-bar>.pp-icon-btn:nth-of-type(2){grid-column:3;grid-row:1}

  .schedule-modern-bar>.schedule-today-btn{grid-column:1/-1;grid-row:2}

  .schedule-modern-bar>*:nth-child(n+5){grid-column:span 3;min-width:0!important}

  .schedule-modern-bar .pp-multi-filter,.schedule-modern-bar .pp-multi-select{width:100%;min-width:0}

  .pp-schedule-board{display:none!important}

  .mobile-schedule-list{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding-bottom:18px}

  .mobile-schedule-card{display:flex;position:relative;flex-direction:column;gap:4px;width:100%;padding:13px 14px 13px 20px;border:1px solid #e2dbd5;border-radius:12px;background:#fff;color:#24332e;text-align:left;box-shadow:0 3px 10px #283b3410;cursor:pointer}

  .mobile-schedule-card:before{content:"";position:absolute;top:0;bottom:0;left:0;width:5px;border-radius:12px 0 0 12px;background:var(--lesson)}

  .mobile-schedule-card strong{font-size:15.5px;line-height:1.3}

  .mobile-schedule-card span{font-size:14px}

  .mobile-schedule-card small{font-size:13px;color:#69756f}

  .mobile-schedule-empty{padding:30px 14px;text-align:center;color:#6a7670}



  /* Attendance: one page for a day, one full-screen page for a lesson. */

  .att-layout{display:block!important;min-width:0}

  .att-left{width:100%!important;min-width:0!important}

  .att-datebar{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;gap:0!important;margin-bottom:10px}

  .att-datebar button{min-height:48px!important}

  .att-date-label{min-width:0!important;white-space:nowrap;font-size:14px!important}

  .att-lessons{width:100%;min-width:0}

  .att-lesson{width:100%!important;min-height:76px!important;padding:12px!important}

  .att-lesson-main strong{font-size:15px!important}

  .att-detail:not(.att-detail-open){display:none!important}

  .att-detail.att-detail-open{position:fixed!important;z-index:100!important;top:0;right:0;bottom:0;left:0;width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;background:#fff!important;padding:14px 16px 34px!important;box-shadow:none!important}

  .att-mobile-back{display:inline-flex;align-items:center;min-height:40px;margin-bottom:12px;padding:0 4px;border:0;background:transparent;color:#246b67;font-size:15px;font-weight:650;cursor:pointer}

  .att-title-row{display:block!important}

  .att-title-row h2{font-size:20px!important}

  .att-tools{display:flex!important;flex-direction:column;gap:8px;margin-top:18px}

  .att-tools>.btn,.att-quick-add{width:100%!important}

  .att-student-row{max-width:100%;min-width:0}

  .att-students{margin-top:14px!important}

  .att-student-row{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;column-gap:10px!important;row-gap:3px!important;align-items:start!important;min-height:0!important;padding:13px 0!important;border-bottom:1px solid #ece7e1}

  .att-student-row .att-avatar{grid-column:1;grid-row:1/3;width:38px;height:38px}

  .att-student-row .att-student-info{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}

  .att-student-row .att-student-info strong{font-size:15px;line-height:1.3;color:#27342f}

  .att-student-row .att-student-info span{font-size:13px;line-height:1.3}

  .att-student-row .att-status-actions{grid-column:2;grid-row:2;display:flex;align-items:center;gap:8px!important;min-width:0;margin-top:4px}

  .att-student-row .att-current-status{max-width:calc(100% - 48px);min-height:32px;display:inline-flex;align-items:center;gap:5px;white-space:normal;line-height:1.2}

  .att-student-row .att-status-arrow{width:38px;min-width:38px;min-height:38px;border:1px solid #e4e3dd!important;border-radius:8px;font-size:18px!important}

  .att-student-row .att-status-arrow:disabled{opacity:.45;cursor:wait}

  .att-status-saving{color:#647570;font-size:12px}

  .att-student-row .att-status-menu{z-index:8;max-width:min(280px,calc(100vw - 80px));max-height:50dvh;overflow:auto}



  /* List pages: keep the important action and search visible first. */

  .records-kpi-grid,.tasks-kpi-grid{display:flex!important;gap:8px!important;overflow-x:auto;scroll-snap-type:x proximity;margin:8px 0 14px!important;padding:2px 0 5px!important}

  .records-kpi-card,.tasks-kpi-card{flex:0 0 142px!important;min-width:142px!important;min-height:75px!important;padding:10px!important;scroll-snap-align:start}

  .records-kpi-card span,.tasks-kpi-card p{font-size:12px!important;line-height:1.25!important}

  .records-kpi-card strong,.tasks-kpi-card strong{font-size:20px!important}

  .tasks-kpi-icon{display:none!important}

  .mobile-filter-details{grid-column:1/-1;display:block;width:100%;min-width:0;border:0}

  .mobile-filter-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:9px 12px;border:1px solid #dedbd6;border-radius:8px;background:#fff;color:#246b67;font-size:14px;font-weight:650;cursor:pointer;list-style:none}

  .mobile-filter-details>summary::-webkit-details-marker{display:none}

  .mobile-filter-details>summary:after{content:"⌄";font-size:18px;transition:transform .15s}

  .mobile-filter-details[open]>summary:after{transform:rotate(180deg)}

  .mobile-filter-details[open]{display:block}

  .mobile-filter-details[open]>.mobile-filter-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}

  .mobile-filter-inner>*{min-width:0!important;max-width:100%!important;width:100%!important}

  .records-head-actions{display:flex!important;flex-direction:row!important;gap:6px;width:100%}

  .records-head-actions .btn{flex:1;min-width:0;padding:7px 5px;font-size:12px;white-space:normal}

  .records-toolbar,.cr-finance-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;padding:10px!important}

  .records-toolbar>input:first-child,.cr-finance-filters>.cr-search-field:first-child{grid-column:1/-1}

  .records-toolbar>*{min-width:0!important;max-width:100%!important;margin:0!important}

  .records-toolbar .records-date-filter{grid-column:span 1!important}

  .records-toolbar .records-reset-btn{grid-column:1/-1}

  .records-table-head{display:none!important}

  .records-table-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;width:100%;min-width:0!important;padding:13px 12px!important;text-align:left}

  .records-table-card .records-table-row{grid-template-columns:minmax(0,1fr)!important}

  .records-table-row>.lead-table-person{grid-column:1/-1}

  .records-table-row>.records-target-cell{grid-column:1/-1}

  .records-table-row>.records-date-cell{grid-column:1;white-space:normal}

  .records-table-row>.records-status-pill{grid-column:1/-1;justify-self:start;white-space:normal;max-width:100%}

  .records-table-row>.records-outcome-cell,.records-table-row>.records-comment-cell{grid-column:1/-1;max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}

  .lead-drawer,.records-drawer{z-index:125!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important}



  .student-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 48px;gap:8px!important;margin:8px 0 12px!important}

  .student-toolbar>input:first-child{grid-column:1;grid-row:1;min-width:0}

  .student-toolbar>.pp-filter-button{grid-column:2;grid-row:1;min-width:44px}

  .student-toolbar>.student-add-inline{grid-column:1/-1;grid-row:2;width:100%}

  .student-toolbar>input:not(:first-child),.student-toolbar>select{display:none!important}

  .students-screen .ui-table-wrap{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}

  .students-screen .ui-table,.students-screen .ui-table tbody{display:block;width:100%;min-width:0!important}

  .students-screen .ui-table thead{display:none}

  .students-screen .ui-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;margin-bottom:8px;padding:12px;background:#fff;border:1px solid #e6dfd8;border-radius:11px;box-shadow:0 2px 7px #263a3410}

  .students-screen .ui-table tbody td{display:block;border:0!important;padding:0!important;min-width:0!important;white-space:normal!important}

  .students-screen .ui-table tbody td:first-child{grid-column:1/-1;width:100%!important;justify-self:stretch}

  .students-screen .ui-table tbody td:nth-child(2){grid-column:1/-1;width:100%!important;justify-self:stretch;color:#6a756f;font-size:13px;padding-left:44px!important}

  .students-screen .ui-table tbody td:nth-child(3){grid-column:1/-1;width:100%!important;justify-self:stretch;color:#6a756f;font-size:12px;padding-left:44px!important}

  .students-screen .ui-table tbody td:nth-child(4){grid-column:1;align-self:center;color:#246b67;font-size:13px}

  .students-screen .ui-table tbody td:nth-child(4):before{content:"Баланс: ";color:#6a756f}

  .students-screen .ui-table tbody td:nth-child(5){grid-column:2;width:100%!important;max-width:165px}

  .students-screen .ui-table tbody td:nth-child(5) select{width:100%!important;max-width:100%!important;min-width:0!important;min-height:34px;font-size:12px}

  .students-screen .student-name-cell,.students-screen .student-name-cell>div{width:100%;min-width:0}

  .student-name-cell strong{font-size:15px}

  .student-profile-card{width:100%;min-width:0;overflow:hidden!important}

  .student-profile-card .student-profile-summary{grid-template-columns:62px minmax(0,1fr)!important;gap:9px!important;padding:16px 13px!important;min-width:0}

  .student-profile-card .student-profile-summary h1{font-size:21px!important;line-height:1.18;overflow-wrap:anywhere}

  .student-profile-card .student-profile-status{grid-column:1/-1;align-items:stretch;width:100%;min-width:0}

  .student-profile-card .student-profile-status select{width:100%;min-width:0}

  .student-profile-card .pp-tabs{display:flex!important;flex-wrap:nowrap!important;gap:2px;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:6px 10px!important;border-bottom:1px solid #e6e2db}

  .student-profile-card .pp-tabs::-webkit-scrollbar{display:none}

  .student-profile-card .pp-tab{flex:0 0 auto;max-width:190px;min-height:44px;padding:8px 12px!important;white-space:normal;font-size:13px!important;line-height:1.2;text-align:center}

  .student-tab-body{width:100%;min-width:0;max-width:100%;padding:14px 12px!important;overflow-x:hidden}

  .student-tab-body>*{min-width:0;max-width:100%}

  .student-classes-panel,.student-payments-v2,.student-bookings-panel,.student-attendance-panel{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}

  .student-classes-head{display:flex!important;flex-direction:column;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important;margin-bottom:12px}

  .student-classes-head h3{font-size:19px!important;line-height:1.25}

  .student-big-add{width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important}

  .student-big-add span{font-size:15px!important;gap:8px!important}

  .student-big-add b{font-size:23px!important}

  .student-prepared-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:visible!important;border:0!important;background:transparent!important}

  .student-prepared-head{display:none!important}

  .student-prepared-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;padding:12px!important;margin-bottom:9px;border:1px solid #e5e0d9!important;border-radius:10px!important;background:#fff!important;text-align:left}

  .student-prepared-row>*{grid-column:1!important;min-width:0!important;max-width:100%;overflow-wrap:anywhere}

  .student-profile-card .student-prepared-table .student-prepared-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important;max-width:100%!important}

  .student-profile-card .student-prepared-table .student-prepared-row>*{grid-column:1!important;min-width:0!important;max-width:100%!important}

  .student-prepared-row strong{font-size:15px!important;color:#243e39}

  .student-prepared-row span{font-size:13px!important;color:#69736f}

  .student-prepared-row .student-class-actions{justify-self:start}

  .student-classes-table .student-class-row>span:nth-child(2):before{content:"Тип: ";color:#87918a}

  .student-classes-table .student-class-row>span:nth-child(3):before{content:"Педагог: ";color:#87918a}

  .student-classes-table .student-class-row>span:nth-child(4):before{content:"Время: ";color:#87918a}

  .student-classes-table .student-class-row>span:nth-child(5):before{content:"Дни: ";color:#87918a}

  .student-profile-card button,.student-profile-card select{max-width:100%}



  .crm-data-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:120px;padding:22px 14px;color:#6b7772;font-size:14px;text-align:center}

  .crm-data-state button{min-height:40px;padding:7px 16px;border:1px solid #246b67;border-radius:8px;background:#fff;color:#246b67;font-weight:650}

  .crm-data-error{color:#a9413b}



  .teachers-screen .teacher-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}

  .teachers-screen .teacher-toolbar>*{min-width:0!important;max-width:100%!important;width:100%!important;margin:0!important}

  .teachers-screen .teacher-toolbar>input:first-child{grid-column:1/-1;grid-row:1;padding-right:58px}

  .teachers-screen .teacher-toolbar>select:nth-child(4),.teachers-screen .teacher-toolbar>.teacher-add-inline{grid-column:1/-1}

  .teachers-screen .teacher-toolbar>.pp-filter-button{grid-column:1/-1;grid-row:1;justify-self:end;align-self:center;z-index:1;width:44px!important;margin-right:3px!important}

  .teachers-screen .teacher-table-card{overflow:visible!important}

  .teachers-screen .teacher-table,.teachers-screen .teacher-table tbody{display:block;width:100%;min-width:0!important}

  .teachers-screen .teacher-table thead{display:none}

  .teachers-screen .teacher-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;margin-bottom:8px;padding:12px;background:#fff;border:1px solid #e6dfd8;border-radius:11px}

  .teachers-screen .teacher-table tbody td{display:block;height:auto!important;min-width:0!important;width:auto!important;padding:0!important;border:0!important;white-space:normal!important;font-size:13px}

  .teachers-screen .teacher-table tbody td:first-child{grid-column:1/-1;font-size:15px}

  .teachers-screen .teacher-table tbody td:nth-child(2){grid-column:1/-1;padding-left:44px!important;color:#66736d}

  .teachers-screen .teacher-table tbody td:nth-child(3){grid-column:1/-1;padding-left:44px!important;color:#66736d}

  .teachers-screen .teacher-table tbody td:nth-child(4){display:none}

  .teachers-screen .teacher-table tbody td:nth-child(5){grid-column:1;align-self:center}

  .teachers-screen .teacher-table tbody td:nth-child(5) select{max-width:100%;min-height:34px}

  .teachers-screen .teacher-table tbody td:nth-child(6){grid-column:2;align-self:center}



  .tasks-quick-tabs{display:flex!important;overflow-x:auto;white-space:nowrap;gap:4px;padding-bottom:4px}

  .tasks-quick-tabs>button{flex:none;min-height:38px}

  .tasks-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;gap:8px!important;padding:10px!important}

  .tasks-toolbar>.tasks-search{grid-column:1;grid-row:1;min-width:0!important}

  .tasks-toolbar>.pp-filter-button{grid-column:2;grid-row:1;min-width:44px}

  .tasks-toolbar>select,.tasks-toolbar>.tasks-type-toggle,.tasks-toolbar>.tasks-reset{display:none!important}

  .tasks-table-card .ui-table-wrap{overflow:visible!important}

  .tasks-table-card .ui-table,.tasks-table-card .ui-table tbody{display:block;min-width:0!important;width:100%}

  .tasks-table-card .ui-table thead{display:none}

  .tasks-table-card .ui-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0;padding:12px;border:1px solid #e6dfd8;border-radius:10px;background:#fff}

  .tasks-table-card .ui-table tbody td{display:block;height:auto!important;min-height:0!important;min-width:0!important;padding:0!important;border:0!important;font-size:13px;white-space:normal}

  .tasks-table-card .ui-table tbody td:first-child{grid-column:1/-1;width:100%!important}

  .tasks-table-card .ui-table tbody td:nth-child(2),.tasks-table-card .ui-table tbody td:nth-child(6),.tasks-table-card .ui-table tbody td:nth-child(7){display:none}

  .tasks-table-card .ui-table tbody td:nth-child(3):before{content:"Статус";display:block;color:#6a756f;font-size:11px}

  .tasks-table-card .ui-table tbody td:nth-child(4):before{content:"Приоритет";display:block;color:#6a756f;font-size:11px}

  .tasks-table-card .ui-table tbody td:nth-child(5):before{content:"До ";color:#6a756f}

  .tasks-table-card .ui-table tbody td:nth-child(5){align-self:center}

  .tasks-table-card .ui-table tbody td:nth-child(8){text-align:right}

  .task-title-cell strong{font-size:15px}

  .task-description-line{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

  .tasks-table-card .task-inline-select{max-width:100%;font-size:12px;min-height:34px}



  .lead-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;padding:10px!important}

  .lead-toolbar>*{min-width:0!important;max-width:100%!important;margin:0!important}

  .lead-toolbar>input{grid-column:1/-1}

  .lead-toolbar>.lead-toolbar-add{grid-column:1/-1;width:100%}

  .lead-toolbar>.toolbar-spacer{display:none}

  .lead-toolbar>.view-btn{min-height:40px}

  .lead-screen .screen-head.pp-head:before{content:none!important}

  .mobile-stage-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:0;margin:10px 0;border:1px solid #dedbd6;border-radius:9px;background:#fff;overflow:hidden}

  .mobile-stage-nav>button,.mobile-stage-nav>select{min-height:48px;border:0;border-radius:0;background:#fff;color:#246b67}

  .mobile-stage-nav>button{font-size:25px;cursor:pointer}

  .mobile-stage-nav>button:disabled{color:#b6c1ba}

  .mobile-stage-nav>select{width:100%;min-width:0;padding:0 9px;text-align:center;font-size:15px;font-weight:600}

  .lead-board{margin-top:10px!important}

  .lead-board{display:block!important;overflow:visible!important}

  .lead-col{display:none!important;width:100%!important;min-width:100%!important}

  .lead-col.lead-col-mobile-active{display:block!important}

  .lead-card{min-height:72px!important}



  .pp-class-table-head{display:none!important}

  .pp-class-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:12px!important}

  .pp-class-row>.pp-class-name{grid-column:1/-1;min-width:0;overflow-wrap:anywhere}

  .pp-class-row>.pp-row-actions{grid-column:1/-1;display:flex!important;flex-wrap:wrap;gap:6px}

  .pp-class-row>.pp-row-actions button{min-height:36px;font-size:12px}

  .pp-classes-screen .pp-toolbar{display:flex;flex-wrap:wrap;gap:8px}

  .pp-classes-screen .pp-toolbar input{flex:1 1 220px}



  .cr-finance-page .cr-finance-tabs{display:flex;justify-content:flex-start!important;overflow-x:auto;white-space:nowrap;max-width:100%;gap:0}

  .cr-finance-page .cr-finance-tabs>button{flex:none!important}

  .cr-finance-tab-action{margin:8px 0!important}

  .cr-finance-tab-action button{width:100%}

  .cr-finance-filters>*{min-width:0!important;max-width:100%!important}

  .cr-finance-table-card{overflow:visible!important}

  .cr-finance-table,.cr-finance-table tbody{display:block;width:100%;min-width:0!important}

  .cr-finance-table .cr-table-head{display:none}

  .cr-finance-table tbody tr:not(.cr-table-head){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-auto-rows:min-content!important;align-items:start!important;gap:6px 10px;padding:12px;border-bottom:1px solid #e6dfd8;cursor:pointer}

  .cr-finance-table tbody td{display:block;height:auto!important;padding:0!important;border:0!important;min-width:0;white-space:normal}

  .cr-finance-table tbody td:first-child{grid-column:1/-1}

  .cr-finance-table tbody td:last-child{grid-column:1/-1;color:#6a756f;font-size:12px}

  .cr-finance-table tbody td:nth-child(2){grid-column:1;font-weight:650}

  .cr-finance-table tbody td:nth-child(3){grid-column:2;color:#6a756f;font-size:12px}



  .reports-tabs-row,.settings-screen .pp-tabs{max-width:100%;overflow-x:auto;white-space:nowrap}

  .reports-toolbar,.reports-meta-toolbar{display:flex!important;flex-direction:column;align-items:stretch!important;gap:8px}

  .reports-toolbar>*{width:100%;min-width:0!important}

  .reports-screen .card,.settings-screen .card{max-width:100%}

  .reports-screen table,.reports-screen .ui-table{min-width:640px}

  .reports-screen .ui-table-wrap,.reports-screen [class*="table-wrap"]{max-width:100%;overflow-x:auto}

  .dashboard-detail-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

  .dashboard-detail-filters>*{min-width:0!important;max-width:100%!important}

  .dashboard-detail-filters .dashboard-filter-search{grid-column:1/-1}

  .dashboard-detail-table{min-width:0!important}

  .dashboard-detail-table thead{display:none}

  .dashboard-detail-table tbody tr{display:block;padding:12px;border-bottom:1px solid #e6dfd8}

  .dashboard-detail-table tbody td{display:block;padding:3px!important;border:0!important}

  .dashboard-pages{flex-wrap:wrap}

}

@media(max-width:390px){

  .dashboard-stats-block .pp-metric strong{font-size:18px!important}

  .records-head-actions .btn{font-size:11px}

  .mobile-topbar-title{font-size:18px}

}



/* A narrowed desktop window still has a sidebar. Adapt Tasks to the space

   left for its content, not to the full browser viewport (or browser zoom). */

@media(min-width:761px){

  .tasks-screen{container:tasks-content / inline-size}

  .tasks-quick-tabs{justify-content:flex-start!important;gap:18px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin;scrollbar-color:#b7cac6 transparent}

  .tasks-quick-tabs>button{flex:0 0 auto!important;white-space:nowrap!important}

}

@media(min-width:761px){

  @container tasks-content (max-width:1300px){

    .tasks-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}

  }

  @container tasks-content (max-width:1320px){

    .tasks-table-card .ui-table-wrap{overflow:visible!important}

    .tasks-table-card .ui-table,.tasks-table-card .ui-table tbody{display:block!important;width:100%!important;min-width:0!important}

    .tasks-table-card .ui-table thead{display:none!important}

    .tasks-table-card .ui-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:10px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}

    .tasks-table-card .ui-table tbody td:nth-child(n){display:block!important;width:100%!important;box-sizing:border-box;justify-self:stretch!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;overflow:visible!important;white-space:normal!important}

    .tasks-table-card .ui-table tbody td:first-child{grid-column:1/-1}

    .tasks-table-card .ui-table tbody td:last-child{grid-column:1/-1;text-align:right!important}

    .tasks-table-card .ui-table tbody td:nth-child(n+2):nth-child(-n+7):before{display:block;margin-bottom:4px;color:var(--text-secondary);font-size:11px;font-weight:600}

    .tasks-table-card .ui-table tbody td:nth-child(2):before{content:"Тип"}

    .tasks-table-card .ui-table tbody td:nth-child(3):before{content:"Статус"}

    .tasks-table-card .ui-table tbody td:nth-child(4):before{content:"Приоритет"}

    .tasks-table-card .ui-table tbody td:nth-child(5):before{content:"Дедлайн"}

    .tasks-table-card .ui-table tbody td:nth-child(6):before{content:"Ученик / лид"}

    .tasks-table-card .ui-table tbody td:nth-child(7):before{content:"Исполнитель"}

    .tasks-table-card .task-inline-select{max-width:100%!important}

  }

  @container tasks-content (max-width:750px){

    .tasks-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

    .tasks-toolbar.tasks-toolbar-compact{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px 112px!important;gap:8px!important}

    .tasks-toolbar-compact>.tasks-search{grid-column:1/3;grid-row:1;min-width:0!important}

    .tasks-toolbar-compact>select{grid-column:3/5;grid-row:1;min-width:0!important}

    .tasks-toolbar-compact>.tasks-type-toggle:nth-child(3){grid-column:1;grid-row:2}

    .tasks-toolbar-compact>.tasks-type-toggle:nth-child(4){grid-column:2;grid-row:2}

    .tasks-toolbar-compact>.pp-filter-button{grid-column:3;grid-row:2}

    .tasks-toolbar-compact>.tasks-reset{grid-column:4;grid-row:2}

  }

}



/* Attendance booking identity and profile navigation. */

.pp-drawer-backdrop.attendance-booking-backdrop{z-index:130}

.att-booking-person-type{font-size:12px;color:#296f69;font-weight:600;line-height:1.35}

.att-booking-avatar-button:focus-visible,.att-booking-person-button:focus-visible,.booking-profile-avatar:focus-visible,.booking-profile-name:focus-visible,.booking-profile-open:focus-visible{outline:3px solid #1f766e;outline-offset:3px}

.booking-info-drawer .lead-avatar>.booking-profile-avatar{display:grid;place-items:center;text-decoration:none;color:#263d43}

.booking-info-drawer .lead-avatar>a.booking-profile-avatar:hover{color:#145e58;background:#e5f2ef}

.booking-info-drawer .booking-profile-name{color:#145e58;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

.booking-info-drawer .booking-person-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:12px 0}

.booking-info-drawer .booking-person-badges span{display:inline-flex;align-items:center;border-radius:999px;padding:5px 11px;font-size:13px;font-weight:700}

.booking-info-drawer .booking-person-kind{background:#e3f3ef;color:#16645d}

.booking-info-drawer .booking-record-kind{background:#f0efff;color:#4a478d}

.booking-info-drawer .booking-profile-open{display:inline-flex;align-items:center;justify-content:center;margin:4px 0 22px;padding:10px 14px;min-height:40px;border:1px solid #1d7068;border-radius:9px;color:#155e57;text-decoration:none;font-weight:700}

.booking-info-drawer .booking-profile-open:hover{background:#e7f4f1}

.booking-info-drawer .booking-profile-missing{display:block;margin:6px 0 20px;color:#9a4f2c;font-size:13px}

.booking-info-drawer .lead-avatar{display:flex!important;flex-direction:column!important;align-items:center!important;gap:12px!important;text-align:center!important;margin:0 0 24px!important}

.booking-info-drawer .lead-avatar>.booking-profile-avatar{width:68px;height:68px;flex:none;border:1px solid #c8d9d5;border-radius:50%;background:#e5f3ef;color:#185e57;font-size:27px;font-weight:700}

.booking-info-drawer .lead-avatar h2{margin:0!important;max-width:100%;font-size:24px!important;line-height:1.2!important}

.booking-info-drawer .booking-person-badges{margin:0!important;justify-content:center;gap:7px}

.booking-info-drawer .booking-person-badges .booking-person-kind{color:#16645d!important;font-size:13px!important;font-weight:700!important}

.booking-info-drawer .booking-person-badges .booking-record-kind{color:#4a478d!important;font-size:13px!important;font-weight:700!important}

.booking-info-drawer .booking-profile-open{width:min(100%,270px);margin:2px 0 0}

.booking-info-drawer .booking-profile-missing{margin:2px 0 0}



/* Owner-only preview of the second sales funnel. */
.funnel2-preview .funnel2-test-badge{display:inline-flex;align-items:center;min-height:32px;padding:5px 12px;border-radius:999px;background:#e9eefb;color:#34457e;font-size:13px;font-weight:700;white-space:nowrap}
.funnel2-preview .funnel2-notice{margin:0 0 18px;padding:13px 16px;background:#f4f7fb;border:1px solid #dce5f0;border-radius:8px;color:#526071;line-height:1.45}
.funnel2-preview .funnel2-toolbar input{flex:1 1 280px;min-width:180px}
.funnel2-preview .lead-board{align-items:stretch}
.funnel2-preview .lead-col{min-height:360px!important;display:flex;flex-direction:column;border-radius:7px}
.funnel2-preview .lead-col h2:before{background:var(--accent)!important}
.funnel2-preview .funnel2-column-head{display:flex;justify-content:space-between;align-items:center;color:#777f8e;font-size:12px;font-weight:700}
.funnel2-preview .funnel2-column-head b{border-radius:999px;padding:2px 8px;background:#fff;color:#667386;font-size:12px}
.funnel2-preview .lead-col h2{min-height:44px;display:flex;align-items:center;justify-content:center;margin:6px 0 10px;line-height:1.3}
.funnel2-preview .funnel2-stage-description{min-height:84px;color:#596474;font-size:13px;line-height:1.45;margin:0 0 13px}
.funnel2-preview .lead-list{max-height:none!important;min-height:0!important;height:auto!important;overflow:visible!important;padding:0!important;flex:none!important}
.funnel2-preview .lead-empty{min-height:76px!important;height:auto!important;flex:none!important;border-style:dashed;background:#fff;border-radius:7px;margin-bottom:16px}
.funnel2-preview .funnel2-substatuses{margin-top:auto;border-top:1px solid #dfe2e9;padding-top:10px}
.funnel2-preview .funnel2-substatuses>button{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;color:#34457e;font-weight:700;text-align:left;padding:7px 2px;cursor:pointer}
.funnel2-preview .funnel2-substatuses ul{list-style:none;padding:6px 0 0;margin:0;display:grid;gap:7px}
.funnel2-preview .funnel2-substatuses li{background:#fff;border:1px solid #e2e4e9;padding:8px 10px;border-radius:6px;font-size:12px;line-height:1.35}
.funnel2-preview .funnel2-stage-row{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:14px;align-items:start;padding:18px;border-bottom:1px solid #e6e8ed}
.funnel2-preview .funnel2-stage-row:last-child{border-bottom:0}
.funnel2-preview .funnel2-stage-row strong{display:block;margin:1px 0 5px;color:#283044}
.funnel2-preview .funnel2-stage-row p{margin:0 0 6px;color:#596474;font-size:13px}
.funnel2-preview .funnel2-stage-row small{color:#727b88;line-height:1.45}
.funnel2-preview .funnel2-stage-row b{color:#657184}
.funnel2-preview .funnel2-stage-num{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e9eefb;color:#34457e;font-size:12px;font-weight:700}
@media(max-width:700px){.funnel2-preview .pp-head{align-items:flex-start}.funnel2-preview .funnel2-test-badge{white-space:normal}.funnel2-preview .lead-col{min-height:0!important}.funnel2-preview .lead-col.lead-col-mobile-active{display:flex!important}.funnel2-preview .funnel2-stage-description{min-height:auto}.funnel2-preview .funnel2-stage-row{padding:14px;gap:10px}}


/* Restore the only task-create action hidden by an obsolete toolbar rule. */
.tasks-screen .pp-head .head-actions .btn-primary{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;white-space:nowrap}
.task-modal-paraplan .task-target-picker{min-width:0;display:flex;flex-direction:column;gap:7px;position:relative}
.task-modal-paraplan .task-target-picker>label{font-weight:600;color:#303348}
.task-modal-paraplan .task-target-picker>input{width:100%;min-width:0;min-height:44px;border:1px solid #d8d8e2;border-radius:8px;background:#fff;padding:0 12px;color:#303348}
.task-modal-paraplan .task-target-selected{font-size:12px;color:#267563}
.task-modal-paraplan .task-target-results{display:grid;gap:0;max-height:230px;overflow-y:auto;border:1px solid #d8d8e2;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(30,40,70,.1);z-index:3}
.task-modal-paraplan .task-target-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;text-align:left;border:0;border-bottom:1px solid #ececf1;background:#fff;color:#303348;cursor:pointer}
.task-modal-paraplan .task-target-option:last-child{border-bottom:0}
.task-modal-paraplan .task-target-option:hover,.task-modal-paraplan .task-target-option:focus{background:#edf6f4}
.task-modal-paraplan .task-target-option span{font-size:12px;color:#68717d}
.task-modal-paraplan .task-target-no-results{margin:0;padding:11px 12px;color:#68717d;font-size:13px}
@media(max-width:700px){.tasks-screen .tasks-modern-head .head-actions{display:flex!important;margin-top:12px!important}.tasks-screen .tasks-modern-head .head-actions .btn-primary{width:100%;white-space:normal}}


/* Keep the funnel drag pointer visible on both light cards and dark accents.

   Apply it to card descendants too, so it does not flicker over the text. */

@media (hover:hover) and (pointer:fine){

  .lead-screen .lead-card[draggable="true"],

  .lead-screen .lead-card[draggable="true"] *{

    cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M3 2 L3 27 L10 20 L15 30 L20 27 L15 17 L26 17 Z' fill='%231b2422' stroke='%23ffffff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2,default!important;

  }

  .lead-screen .lead-card.dragging{opacity:.55!important;outline:2px dashed #246b67!important;outline-offset:2px!important}

}


.student-att-count{margin:10px 0 8px;color:#626b70;font-size:13px;font-weight:600}

.cr-call-screen{max-width:none}.cr-call-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.cr-call-notice{padding:12px 16px;border:1px solid #d9e5e1;background:#f4faf8;border-radius:12px;color:#286b65;margin-bottom:16px}.cr-call-composer,.cr-call-list,.cr-call-table-card{padding:22px;margin:18px 0}.cr-call-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.cr-call-section-head h2,.cr-call-list h2{margin:0 0 5px;font-size:21px}.cr-call-section-head p{margin:0;color:#66716f}.cr-call-name{display:flex;flex-direction:column;gap:7px;max-width:560px}.cr-call-name span,.cr-call-task-filter span,.cr-call-age-field span{font-weight:600}.cr-call-name input,.cr-call-age-field input,.cr-call-task-filter select{height:42px;border:1px solid #d9ddd9;background:#fff;border-radius:10px;padding:8px 11px;font:inherit;min-width:0}.cr-call-date-hint{color:#64716d;font-size:13px;margin-top:7px}.cr-call-type{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:22px 0 18px}.cr-call-type>span{font-weight:600}.cr-call-type label{display:flex;gap:7px;align-items:center;cursor:pointer}.cr-call-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:15px}.cr-call-age-field{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:center}.cr-call-age-field>span{grid-column:1/-1}.cr-call-task-filter{display:flex;flex-direction:column;gap:8px}.cr-call-multi{position:relative;align-self:end}.cr-call-multi summary{height:42px;display:flex;align-items:center;padding:0 12px;border:1px solid #d9ddd9;border-radius:10px;background:#fff;cursor:pointer;list-style:none}.cr-call-multi summary::after{content:"⌄";margin-left:auto}.cr-call-multi-menu{position:absolute;z-index:30;top:46px;left:0;min-width:245px;max-height:290px;overflow:auto;background:#fff;border:1px solid #d9ddd9;border-radius:10px;box-shadow:0 9px 25px #193b3026;padding:7px}.cr-call-multi-menu label{display:flex;align-items:center;gap:8px;padding:6px 7px;cursor:pointer}.cr-call-multi-menu label:hover{background:#eff6f3}.cr-call-create-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.cr-call-list-items{display:flex;flex-wrap:wrap;gap:9px}.cr-call-list-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid #dce3df;background:#fff;border-radius:12px;padding:10px 14px;cursor:pointer;font:inherit;text-align:left;color:#1b2725}.cr-call-list-item.active{border-color:#287872;background:#edf7f4}.cr-call-list-item span{font-size:12px;color:#6a7773}.cr-call-table-scroll{overflow:auto;max-width:100%;border:1px solid #e1e6e2;border-radius:12px}.cr-call-table{border-collapse:collapse;width:100%;min-width:1250px;font-size:14px}.cr-call-table th{text-align:left;white-space:nowrap;background:#f4f7f5;padding:12px 13px;color:#344b46;border-bottom:1px solid #e1e6e2}.cr-call-table td{padding:10px 13px;border-bottom:1px solid #edf0ed;vertical-align:top;max-width:260px}.cr-call-table tbody tr:hover{background:#f8faf9}.cr-call-table select{border:1px solid #d9ddd9;background:#fff;border-radius:8px;height:36px;min-width:125px;padding:4px 8px;font:inherit}.cr-call-link,.cr-call-task-link{border:0;padding:0;background:none;color:#236f6c;text-decoration:underline;cursor:pointer;font:inherit;text-align:left}.cr-call-link:disabled{color:#777;text-decoration:none;cursor:default}.cr-call-task-link{max-width:240px;overflow:hidden;text-overflow:ellipsis}.cr-call-error{color:#b93535;margin:12px 0 0}.cr-call-drawer-backdrop{z-index:1100}.cr-call-drawer{margin-left:auto;width:min(460px,100%);height:100%;overflow:auto;background:#fff;padding:28px;box-shadow:-9px 0 30px #17282133}.cr-call-drawer-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:22px}.cr-call-drawer-head small{color:#5d706c}.cr-call-drawer-head h2{margin:5px 0;font-size:23px}.cr-call-drawer-head button{height:35px;width:35px;border:0;background:#f3f5f3;border-radius:8px;cursor:pointer;font-size:25px}.cr-call-drawer-row{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px;border-bottom:1px solid #edf0ed;padding:12px 0}.cr-call-drawer-row span{color:#687772}.cr-call-drawer-row strong{font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere}.cr-call-open-card{display:inline-flex;margin-top:22px}@media(max-width:900px){.cr-call-filter-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:600px){.cr-call-composer,.cr-call-list,.cr-call-table-card{padding:16px}.cr-call-filter-grid{grid-template-columns:1fr}.cr-call-section-head,.cr-call-create-footer{flex-direction:column;align-items:stretch}.cr-call-type{gap:10px}.cr-call-drawer{padding:20px}.cr-call-drawer-row{grid-template-columns:120px minmax(0,1fr)}}

.cr-call-round-title{display:flex;flex-direction:column;gap:3px}.cr-call-round-title small{font-size:12px;font-weight:500;color:#697a75}
.cr-call-table-toolbar,.cr-call-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.cr-call-table-toolbar input{height:39px;width:min(360px,100%);border:1px solid #d9ddd9;border-radius:9px;padding:7px 12px;font:inherit}.cr-call-table-toolbar span,.cr-call-pages span{font-size:13px;color:#64736e}.cr-call-pages{justify-content:flex-end}

/* Keep call-campaign controls compact even when global form rules change. */
.cr-call-composer{scroll-margin-top:20px}
.cr-call-type input[type="radio"]{appearance:none!important;-webkit-appearance:none!important;display:inline-block!important;flex:none!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;border:2px solid #78918d!important;border-radius:50%!important;background:#fff!important;box-shadow:none!important;vertical-align:middle}
.cr-call-type input[type="radio"]:checked{border-color:#256f6b!important;background:radial-gradient(circle at center,#256f6b 0 4px,#fff 4.5px)!important}
.cr-call-type input[type="radio"]:focus-visible{outline:2px solid #256f6b!important;outline-offset:3px!important}
.cr-call-multi-menu input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:none!important;width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;padding:0!important;margin:0!important;accent-color:#256f6b;box-shadow:none!important}
.cr-call-sort-button{display:inline-flex;align-items:center;gap:5px;border:0;padding:0;background:none;color:inherit;font:inherit;font-weight:inherit;cursor:pointer;text-align:left;white-space:nowrap}
.cr-call-sort-button:hover,.cr-call-sort-button.active{color:#236f6c}
.cr-call-sort-button:focus-visible{outline:2px solid #236f6c;outline-offset:3px;border-radius:3px}
.cr-call-sort-mark{font-size:15px;font-weight:700;line-height:1}
.cr-call-table-toolbar{flex-wrap:wrap}

/* Keep wide outreach tables movable while the user is halfway down a long page. */
.cr-call-floating-scroll{position:fixed;bottom:8px;height:18px;overflow-x:auto;overflow-y:hidden;z-index:90;border:1px solid #c6d7d1;border-radius:7px;background:#f5faf8;box-shadow:0 3px 12px #173d3526;scrollbar-color:#27716a #dceae6;scrollbar-width:auto}
.cr-call-floating-scroll-inner{height:1px}
.cr-call-table{min-width:1700px}
.cr-call-table th:nth-child(8){min-width:146px;white-space:normal}
.cr-call-table th:nth-child(9){min-width:185px;white-space:normal}
.cr-call-table th:nth-child(10){min-width:230px;white-space:normal}
.cr-call-table th:nth-child(11){min-width:160px;white-space:normal}
.cr-call-table td textarea{width:100%;min-width:205px;max-width:260px;min-height:58px;padding:7px 9px;border:1px solid #d9ddd9;border-radius:8px;background:#fff;font:inherit;resize:vertical}
.cr-call-table td:nth-child(9) select{min-width:165px;max-width:220px}
.cr-call-round-title strong{max-width:146px;white-space:normal;line-height:1.2}
.cr-call-round-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:2px 0 8px}
.cr-call-round-tabs{display:flex;align-items:center;gap:7px;max-width:100%;overflow-x:auto;padding:2px 1px 5px}
.cr-call-round-tab{display:inline-flex;align-items:center;gap:7px;flex:none;border:1px solid #dce4df;border-radius:10px;background:#fff;color:#36514b;padding:9px 13px;font:inherit;font-weight:600;cursor:pointer}
.cr-call-round-tab.active{background:#e6f4ef;border-color:#287872;color:#1b6964}
.cr-call-round-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:#edf2ef;color:#52655f;font-size:12px}
.cr-call-round-tab.active span{background:#cce9df;color:#1b6964}
.cr-call-round-tab:focus-visible,.cr-call-add-round:focus-visible{outline:2px solid #287872;outline-offset:2px}
.cr-call-add-round{white-space:nowrap}
.cr-call-round-hint{margin:0 0 14px;color:#687772;font-size:13px}
.cr-call-table-followup{min-width:1480px}
.cr-call-table-followup th:nth-child(10){min-width:160px}
.cr-call-table-followup th:nth-child(11){min-width:230px}
.cr-call-table-followup td:nth-child(9) select{min-width:125px;max-width:180px}
.cr-call-table-followup td:nth-child(10) select{min-width:165px;max-width:220px}
@media(max-width:600px){.cr-call-round-toolbar{align-items:stretch}.cr-call-add-round{width:100%}}
.cr-call-table th:nth-child(12){min-width:165px}
.cr-call-author{display:flex;flex-direction:column;gap:3px;min-width:145px;white-space:nowrap}
.cr-call-author strong{font-size:13px;font-weight:600;color:#284d46}
.cr-call-author time{font-size:12px;color:#657771}
.cr-call-round-tab{text-transform:capitalize}
.cr-call-round-item{display:inline-flex;align-items:stretch;flex:none;border-radius:10px}
.cr-call-round-item.refreshable .cr-call-round-tab{border-top-right-radius:0;border-bottom-right-radius:0}
.cr-call-round-refresh{display:inline-flex;align-items:center;justify-content:center;min-width:37px;border:1px solid #dce4df;border-left:0;border-radius:0 10px 10px 0;background:#fff;color:#236f6c;font:inherit;font-size:22px;line-height:1;cursor:pointer}
.cr-call-round-refresh:hover,.cr-call-round-refresh.stale{background:#e6f4ef;color:#155f5a}
.cr-call-round-refresh.stale{box-shadow:inset 0 0 0 1px #287872}
.cr-call-round-refresh:disabled{opacity:.55;cursor:wait}
.cr-call-round-refresh:focus-visible{outline:2px solid #287872;outline-offset:2px}
.cr-call-round-notice{margin:0 0 12px;color:#1d665d;font-size:13px}

/* Attendance: editable DD.MM.YYYY date with month navigation. */
.att-datebar>.att-date-control{min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 34px 3px 8px;background:#fff}
.att-datebar>.att-date-control>.att-date-typed{width:100%;min-width:0;max-width:150px;border:0;outline:none;background:transparent;text-align:center;color:#303348;font-family:inherit;font-size:16px;font-weight:600;line-height:20px;padding:0}
.att-datebar>.att-date-control>.att-date-typed:focus{box-shadow:0 2px 0 #246b69}
.att-datebar>.att-date-control>.att-date-weekday{font-size:10px;line-height:13px;color:#6b6f7e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.att-datebar>.att-date-control>.att-date-picker{position:absolute;right:3px;top:4px;width:30px;height:40px;border:0!important;background:#fff;color:#246b69;font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.att-datebar>.att-date-control>input[type=date]{position:absolute;right:3px;top:4px;width:30px;height:40px;opacity:0;pointer-events:none}
.att-datebar>.att-date-control>.att-date-typed{height:25px!important;min-height:25px!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.att-datebar>.att-date-control>.att-date-typed:focus{box-shadow:0 2px 0 #246b69!important}

/* Finance: sum the currently displayed income rows for the selected period. */
.cr-finance-page .cr-finance-total{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;min-width:0;text-align:right;white-space:nowrap}
.cr-finance-page .cr-finance-total-caption{font-size:12px;line-height:1.2;color:#7a7773;font-weight:500}
.cr-finance-page .cr-finance-total-value{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#4b4a49;font-size:18px;line-height:1.3}
.cr-finance-page .cr-finance-total-value strong{font-weight:600;font-variant-numeric:tabular-nums}
.cr-finance-page .cr-finance-total-icon{width:18px;height:18px;border:1.5px solid #27bb73;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#27bb73;font-size:12px;font-weight:700;line-height:1}
@media(max-width:760px){.cr-finance-page .cr-page-hero{align-items:flex-end}.cr-finance-page .cr-finance-total{width:100%}.cr-finance-page .cr-finance-total-value{font-size:17px}}

/* Finance: stable month navigation in the date-range picker. */
.cr-finance-date-custom{overflow:visible}
.cr-finance-date-custom>.cr-finance-calendar-trigger{position:absolute;right:0;top:0;width:42px;height:100%;border:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.cr-finance-date-custom>.cr-finance-calendar-trigger>.cr-calendar-glyph{position:relative;right:auto;flex:none}
.cr-finance-date-custom>.cr-finance-calendar-trigger:focus-visible{outline:2px solid #246b69;outline-offset:-3px;border-radius:8px}
.cr-finance-calendar{position:absolute;z-index:1000;top:calc(100% + 6px);left:0;width:280px;max-width:min(280px,calc(100vw - 24px));padding:12px;border:1px solid var(--border,#E9DDD0);border-radius:12px;background:#fff;box-shadow:0 12px 28px rgba(34,40,38,.18);color:#211D19}
.cr-finance-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.cr-finance-calendar-head strong{font-size:14px;font-weight:600;text-transform:capitalize;white-space:nowrap}
.cr-finance-calendar-head button{width:30px;height:30px;border:0;border-radius:8px;background:#eef4f2;color:#246b69;font-size:22px;line-height:1;cursor:pointer}
.cr-finance-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.cr-finance-calendar-weekday{font-size:11px;font-weight:600;color:#7a7773;padding:4px 0}
.cr-finance-calendar-day{width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#211D19;font-size:13px;cursor:pointer}
.cr-finance-calendar-day:hover,.cr-finance-calendar-day:focus-visible{background:#e7f1ef;outline:none}
.cr-finance-calendar-day.is-selected{background:#246b69;color:#fff}
@media(max-width:760px){.cr-finance-date-custom:nth-child(even)>.cr-finance-calendar{left:auto;right:0}}

/* Attendance: stable date calendar with month arrows that do not dismiss it. */
.att-datebar>.att-date-control{z-index:10}
.att-datebar .att-calendar-wrap{position:absolute;right:3px;top:4px;width:30px;height:40px}
.att-datebar .att-calendar-wrap>.att-date-picker{width:30px;height:40px;border:0!important;background:#fff;color:#246b69;font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.att-calendar-popover{position:absolute;z-index:2000;top:calc(100% + 4px);right:-42px;width:280px;max-width:calc(100vw - 24px);padding:12px;border:1px solid #d8d8e2;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(34,40,38,.2);color:#303348}
.att-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.att-calendar-head strong{font-size:14px;font-weight:600;text-transform:capitalize;white-space:nowrap}
.att-datebar .att-calendar-popover button{border:0!important;cursor:pointer}
.att-calendar-head button{width:30px;height:30px;border-radius:8px;background:#eef4f2!important;color:#246b69!important;font-size:22px!important;line-height:1;padding:0}
.att-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.att-calendar-weekday{font-size:11px;font-weight:600;color:#777;padding:4px 0}
.att-calendar-grid .att-calendar-day{width:32px;height:32px;border-radius:8px;background:transparent!important;color:#303348!important;font-size:13px!important;padding:0}
.att-calendar-grid .att-calendar-day:hover,.att-calendar-grid .att-calendar-day:focus-visible{background:#e7f1ef!important;outline:none}
.att-calendar-grid .att-calendar-day.is-selected{background:#246b69!important;color:#fff!important}

/* Outreach: the add-round control lives with tabs; completion actions stay together. */
.cr-call-round-toolbar{flex-wrap:nowrap;align-items:center}
.cr-call-round-tabs{flex:1 1 auto;min-width:0;max-width:none}
.cr-call-round-tabs>.cr-call-add-round{display:inline-flex;align-items:center;justify-content:center;flex:none;width:39px!important;min-width:39px;height:39px;padding:0;border:1px solid #287872;border-radius:10px;background:#e6f4ef;color:#1b6964;font:inherit;font-size:24px;font-weight:600;line-height:1;cursor:pointer}
.cr-call-round-tabs>.cr-call-add-round:hover:not(:disabled){background:#d4eee5}
.cr-call-round-tabs>.cr-call-add-round:disabled{opacity:.45;cursor:not-allowed}
.cr-call-round-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none;margin-left:auto}
.cr-call-round-actions>.btn{white-space:nowrap}
.cr-call-finish{border-color:#287872;color:#1b6964}
.cr-call-finish.is-completed{background:#e6f4ef}
.cr-call-table select:disabled,.cr-call-table textarea:disabled{opacity:.7;cursor:not-allowed;background:#f4f7f5}
@media(max-width:760px){.cr-call-round-toolbar{flex-direction:column;align-items:stretch;gap:8px}.cr-call-round-tabs{width:100%;flex:none}.cr-call-round-actions{width:100%;margin-left:0;justify-content:flex-end}.cr-call-round-actions>.btn{min-width:0;padding:8px 10px;font-size:12px}}

/* Outreach reports: right-aligned menu and readable per-round / campaign summary. */
.cr-call-round-actions{flex-wrap:wrap}
.cr-call-report-menu{position:relative;flex:none}
.cr-call-report-trigger{display:inline-flex;align-items:center;gap:8px}
.cr-call-report-trigger span{font-size:18px;line-height:1}
.cr-call-report-options{position:absolute;right:0;top:calc(100% + 6px);z-index:90;min-width:225px;max-height:330px;overflow:auto;padding:6px;background:#fff;border:1px solid #d9e4df;border-radius:11px;box-shadow:0 12px 30px #173a3030}
.cr-call-report-options button{display:block;width:100%;padding:10px 11px;border:0;border-radius:7px;background:#fff;color:#243a34;text-align:left;font:inherit;cursor:pointer}
.cr-call-report-options button:hover,.cr-call-report-options button:focus-visible{background:#edf7f4;color:#175f58}
.cr-call-report-backdrop{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:20px;background:#1728217a}
.cr-call-report-dialog{width:min(920px,100%);max-height:min(85vh,760px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:17px;box-shadow:0 20px 60px #0e27254d}
.cr-call-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 26px 16px;border-bottom:1px solid #e4ebe7}
.cr-call-report-head h2{margin:0 0 6px;font-size:23px}.cr-call-report-head p{margin:0;color:#64756e;font-size:13px}
.cr-call-report-head>button{flex:none;width:32px;height:32px;border:0;border-radius:8px;background:#f2f6f3;font-size:24px;cursor:pointer}
.cr-call-report-scroll{overflow:auto;padding:0 26px 20px}
.cr-call-report-table{width:100%;border-collapse:collapse;min-width:650px;font-size:14px}
.cr-call-report-table th,.cr-call-report-table td{padding:12px 10px;border-bottom:1px solid #e7ede9;text-align:right}
.cr-call-report-table th:first-child,.cr-call-report-table td:first-child{text-align:left}
.cr-call-report-table thead th{position:sticky;top:0;background:#f4f8f5;color:#365149;white-space:nowrap}
.cr-call-report-table tbody th{font-weight:500}
.cr-call-report-table tfoot th,.cr-call-report-table tfoot td{font-weight:700;background:#ecf6f1;border-top:2px solid #a7cabc}
.cr-call-report-note{margin:0;padding:0 26px 20px;color:#667970;font-size:12px}
@media(max-width:1400px){.cr-call-round-toolbar{flex-wrap:wrap}.cr-call-round-tabs{flex:1 1 100%;width:100%}.cr-call-round-actions{margin-left:auto}}
@media(max-width:760px){.cr-call-report-backdrop{padding:10px}.cr-call-report-head{padding:16px}.cr-call-report-scroll{padding:0 12px 16px}.cr-call-report-note{padding:0 16px 16px}.cr-call-report-dialog{max-height:90vh}.cr-call-round-actions{gap:6px}}
