:root{--font-sans:var(--font-commissioner), "Segoe UI Variable Text", system-ui, sans-serif;--font-display:var(--font-geologica), var(--font-commissioner), system-ui, sans-serif;--bg:#f4f7fb;--surface:#fff;--surface-2:#f8fafd;--surface-3:#eaf0f8;--surface-muted:var(--surface-2);--surface-soft:var(--surface-2);--text:#111318;--text-muted:#596d84;--muted:var(--text-muted);--border:#d8e2ee;--border-strong:#bbcbdc;--accent:#176f63;--accent-strong:#10564d;--primary:var(--accent);--accent-soft:#e2f2ef;--accent-2:#176f63;--accent-2-soft:#e2f2ef;--accent-solid:var(--accent);--accent-solid-hover:var(--accent-strong);--accent-on-solid:#fff;--accent-contrast:var(--accent-on-solid);--accent-subtle:color-mix(in srgb, var(--accent) 7%, var(--surface));--accent-muted:color-mix(in srgb, var(--accent) 12%, var(--surface));--accent-border:color-mix(in srgb, var(--accent) 34%, var(--border));--accent-shadow:color-mix(in srgb, var(--accent) 18%, transparent);--success:#18734f;--success-strong:#176442;--success-soft:#e4f4eb;--warn:#915b08;--warn-soft:#fff2d7;--danger:#b7384d;--danger-soft:#fbe8ec;--info:#356a85;--info-soft:#e7f0f4;--focus:#176f63;--chip-neutral:#edf1f5d1;--chip-success:#dcefe8d1;--chip-warn:#f5ead2d1;--chip-danger:#f4e0e5d1;--chip-info:#e3ecf4d1;--sidebar:#fff;--sidebar-2:#fff;--sidebar-text:#213b58;--sidebar-muted:#60758d;--crm-page-background-light:#f4f7fb;--crm-sidebar-background-light:#fff;--crm-topbar-background-light:#f8faf9bf;--crm-page-background-current:var(--crm-page-background-light);--crm-sidebar-background-current:var(--crm-sidebar-background-light);--crm-topbar-background-current:var(--crm-topbar-background-light);--crm-paper-grain:0;--crm-paper-sheen:#ffffff7a;--crm-table-stripe-opacity:3%;--radius-xs:.34rem;--radius-sm:.44rem;--radius:.68rem;--radius-md:var(--radius);--radius-lg:var(--radius);--radius-chip:var(--radius-xs);--shadow-soft:0 1px 2px #1328230a;--shadow-sm:var(--shadow-soft);--shadow-lift:0 1.25rem 3.5rem #0e252021, 0 .2rem .75rem #0e252014;--shadow-lg:var(--shadow-lift);--shell-sidebar:16.25rem;--shell-topbar:4rem;--content-max:108rem;--content-gutter:clamp(1rem, 2.2vw, 2rem);--control-height:2.75rem;--input-height:2.45rem;--ease-out:cubic-bezier(.16, 1, .3, 1)}body.theme-crm{background:var(--bg);min-width:20rem;color:var(--text);font-family:var(--font-sans);font-size:.9375rem;font-weight:440}body.theme-crm ::selection{color:var(--text);background:color-mix(in srgb, var(--accent) 22%, white)}body.theme-crm :where(h1,h2,h3,h4,strong,b){text-wrap:balance}body.theme-crm :where(h1,h2,h3,h4){font-family:var(--font-display);font-variation-settings:"wght" 620, "SHRP" 35}body.theme-crm :where(.ui-kpi__value,.ui-stat,.metricValue,td,time,[data-numeric]){font-variant-numeric:tabular-nums}body.theme-crm :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:.15rem solid color-mix(in srgb, var(--focus) 72%, transparent);outline-offset:.14rem}body.theme-crm :where(button,summary,a,input,select,textarea){-webkit-tap-highlight-color:transparent}body.theme-crm :where(.ui-btn,.ui-nav-item):active{translate:0 1px}body.theme-crm :where(.ui-shell,.ui-main,.ui-page,.ui-card,section,article){min-inline-size:0}body.theme-crm :where(p,small,td,dd,.ui-table__muted){overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}body.theme-crm .ui-shell{grid-template-columns:var(--shell-sidebar) minmax(0, 1fr);background:0 0;min-height:100dvh}body.theme-crm .ui-main{background-color:var(--crm-page-background-current,var(--bg));background-image:none;min-width:0}body.theme-crm{background-image:none}body.theme-crm .ui-sidebar{width:var(--shell-sidebar);height:100dvh;color:var(--sidebar-text);border-right:1px solid color-mix(in srgb, var(--border) 78%, transparent);background-color:var(--crm-sidebar-background-current);box-shadow:none;align-self:start;gap:.65rem;padding:.85rem .7rem .75rem;position:sticky;top:0}html[data-paper-texture]:not([data-paper-texture=none]) body.theme-crm :is(.ui-main,.ui-sidebar,.ui-topbar){isolation:isolate}html[data-paper-texture]:not([data-paper-texture=none]) body.theme-crm .ui-main{background-image:none;position:relative}html[data-paper-texture]:not([data-paper-texture=none]) body.theme-crm :is(.ui-main,.ui-sidebar,.ui-topbar):before{z-index:-1;content:"";opacity:calc(var(--crm-paper-grain) * .3);pointer-events:none;mix-blend-mode:multiply;position:absolute;inset:0}html[data-paper-texture=paper] body.theme-crm :is(.ui-main,.ui-sidebar,.ui-topbar):before{background:url(/crm/textures/paper-grain.svg) 0 0/192px 192px}body.theme-crm .crm-sidebar-resize{display:none}@media (min-width:80rem){body.theme-crm .crm-sidebar-resize{z-index:8;cursor:col-resize;touch-action:none;background:0 0;border:0;outline:0;width:.7rem;padding:0;display:block;position:absolute;top:0;bottom:0;right:0}body.theme-crm .crm-sidebar-resize:after{background:color-mix(in srgb, var(--sidebar-text) 22%, transparent);content:"";opacity:.42;width:.16rem;height:2.7rem;transition:height .15s var(--ease-out), opacity .15s var(--ease-out), background .15s var(--ease-out);border-radius:999px;position:absolute;top:50%;left:calc(100% - .08rem);transform:translate(-50%,-50%)}body.theme-crm .crm-sidebar-resize:is(:hover,:focus-visible):after,body.theme-crm .ui-sidebar.is-resizing .crm-sidebar-resize:after{background:color-mix(in srgb, var(--accent) 64%, var(--sidebar-text));opacity:.88;height:4rem}body.theme-crm .crm-sidebar-resize:focus-visible{box-shadow:inset -2px 0 color-mix(in srgb, var(--accent) 42%, transparent)}}body.theme-crm .ui-sidebar__brand{border-color:color-mix(in srgb, var(--border) 60%, transparent);gap:.78rem;min-height:4.65rem;padding:.42rem .48rem .92rem}body.theme-crm .ui-sidebar__brand>div{flex:auto;grid-template-columns:2.8rem minmax(0,1fr);align-items:center;gap:.75rem}body.theme-crm .crm-brand-home{border-radius:var(--radius-sm);width:2.8rem;height:2.8rem;color:inherit;place-items:center;text-decoration:none;display:grid}body.theme-crm .crm-brand-home:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 72%, var(--text));outline-offset:2px}body.theme-crm .crm-brand-home .crm-brand-mark{transition:transform .16s var(--ease-out), box-shadow .16s var(--ease-out)}body.theme-crm .crm-brand-home:hover .crm-brand-mark,body.theme-crm .crm-brand-home:focus-visible .crm-brand-mark{box-shadow:inset 0 1px #ffffff29, 0 .35rem .9rem color-mix(in srgb, var(--accent) 18%, transparent);transform:translateY(-1px)}body.theme-crm .crm-brand-mark{border-radius:var(--radius-sm);color:#f7fbfa;background:linear-gradient(145deg, #ffffff24, transparent), var(--accent-solid);width:2.8rem;height:2.8rem;font-family:var(--font-display);border:1px solid #ffffff21;place-items:center;font-size:1.15rem;font-weight:690;display:grid;box-shadow:inset 0 1px #ffffff21}body.theme-crm .crm-brand-mark--image{box-shadow:none;background:0 0;border-color:#0000;padding:0;overflow:hidden}body.theme-crm .crm-brand-mark--image img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}body.theme-crm .crm-brand-copy{gap:.16rem;min-width:0;display:grid}body.theme-crm .crm-brand-copy>span{overflow-wrap:anywhere;min-width:0;font-family:var(--font-display);letter-spacing:-.02em;color:var(--text);text-overflow:ellipsis;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:1rem;font-weight:650;line-height:1.15;display:-webkit-box;overflow:hidden}body.theme-crm .ui-sidebar__brand small,body.theme-crm .crm-brand-copy small{color:color-mix(in srgb, var(--sidebar-text) 58%, var(--sidebar-muted));letter-spacing:.01em;font-size:.74rem;line-height:1.2}body.theme-crm .ui-sidebar__nav{scrollbar-color:#39608f40 transparent;gap:.8rem;min-height:0;margin-right:-.7rem;padding:.25rem .82rem .35rem 0;overflow-y:auto}body.theme-crm .crm-demo-center-nav{border-bottom:1px solid color-mix(in srgb, var(--sidebar-text) 14%, transparent);padding-bottom:.75rem}body.theme-crm .crm-demo-center-nav .ui-nav-item{color:var(--sidebar-text);font-weight:620}body.theme-crm .crm-demo-center-nav .ui-nav-item>svg{color:var(--accent)}body.theme-crm .crm-primary-nav{gap:.18rem;display:grid}body.theme-crm .crm-primary-nav__label{color:color-mix(in srgb, var(--sidebar-text) 60%, var(--sidebar-muted));letter-spacing:.07em;text-transform:uppercase;margin:.15rem 0 .28rem;padding-inline:.65rem;font-size:.65rem;font-weight:650}body.theme-crm .ui-nav-item{border-radius:var(--radius-sm);min-height:2.65rem;color:color-mix(in srgb, var(--sidebar-text) 78%, var(--sidebar-muted));text-align:start;transition:color .18s var(--ease-out), background .18s var(--ease-out), transform .18s var(--ease-out);justify-content:flex-start;gap:.62rem;padding:.55rem .68rem;font-size:.79rem;font-weight:475;line-height:1.2;position:relative}body.theme-crm .ui-nav-item>svg{color:color-mix(in srgb, var(--sidebar-text) 68%, var(--sidebar-muted));flex:none}body.theme-crm .ui-nav-item>span{text-align:start;min-width:0}body.theme-crm .ui-nav-item .crm-nav-item__label{flex:auto}body.theme-crm .ui-nav-item .crm-nav-item__badge{border:1px solid color-mix(in srgb, var(--accent) 36%, transparent);border-radius:var(--radius-chip);min-width:1.25rem;height:1.25rem;color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 12%, transparent);font-variant-numeric:tabular-nums;flex:none;place-items:center;padding-inline:.3rem;font-size:.64rem;font-weight:720;line-height:1;display:inline-grid}body.theme-crm .ui-nav-item.is-active .crm-nav-item__badge{border-color:color-mix(in srgb, var(--accent) 48%, transparent);background:color-mix(in srgb, var(--accent) 18%, transparent)}body.theme-crm .ui-nav-item:hover{color:var(--sidebar-text);background:color-mix(in srgb, var(--accent) 6%, transparent)}body.theme-crm .ui-nav-item.is-active{color:var(--sidebar-text);background:color-mix(in srgb, var(--accent) 11%, transparent);box-shadow:none}body.theme-crm .ui-nav-item.is-active:after{background:color-mix(in srgb, var(--accent) 46%, transparent);content:"";pointer-events:none;border-radius:999px;width:.2rem;position:absolute;top:.52rem;bottom:.52rem;right:.28rem}body.theme-crm .ui-nav-item.is-active>svg{color:var(--accent)}body.theme-crm .crm-nav-group{gap:.18rem}body.theme-crm .crm-nav-group+.crm-nav-group{margin-top:.28rem}body.theme-crm .crm-nav-group__title{border-radius:var(--radius-sm);min-height:2.35rem;color:color-mix(in srgb, var(--sidebar-text) 72%, var(--sidebar-muted));letter-spacing:.025em;text-transform:none;transition:color .18s var(--ease-out), background .18s var(--ease-out);padding:.38rem .62rem;font-size:.69rem;font-weight:610}body.theme-crm .crm-nav-group__title>span:first-child{text-align:start;flex:auto;justify-content:flex-start;align-items:center;gap:.55rem;min-width:0;display:inline-flex}body.theme-crm .crm-nav-group__title svg{color:color-mix(in srgb, var(--sidebar-text) 64%, var(--sidebar-muted))}body.theme-crm .crm-nav-group__title:hover{color:var(--sidebar-text);background:color-mix(in srgb, var(--accent) 5%, transparent)}body.theme-crm .crm-nav-group__title.is-active{color:var(--sidebar-text);background:0 0}body.theme-crm .crm-nav-group__title:is(:hover,.is-active) svg{color:var(--accent)}body.theme-crm .crm-nav-group__toggle{font-size:0}body.theme-crm .crm-nav-group__toggle:after{content:"";width:.38rem;height:.38rem;transition:transform .18s var(--ease-out);border-bottom:1.5px solid;border-right:1.5px solid;display:block;transform:rotate(45deg)translateY(-.12rem)}body.theme-crm .crm-nav-group__title[aria-expanded=true] .crm-nav-group__toggle:after{transform:rotate(225deg)translate(-.1rem,-.1rem)}body.theme-crm .crm-nav-group__items{border-left:1px solid color-mix(in srgb, var(--sidebar-text) 14%, transparent);gap:.12rem;margin-left:.72rem;padding-left:.52rem}body.theme-crm .crm-nav-group__items .ui-nav-item{min-height:2.35rem;padding-block:.45rem;font-size:.75rem}body.theme-crm .crm-sidebar-footer{border-top:1px solid color-mix(in srgb, var(--sidebar-text) 13%, transparent);gap:.35rem;padding-top:.65rem;display:grid}body.theme-crm .crm-sidebar-trial{border:1px solid color-mix(in srgb, var(--accent) 20%, var(--border));border-radius:var(--radius);min-width:0;color:var(--sidebar-muted);background:color-mix(in srgb, var(--accent) 5%, transparent);grid-template-columns:minmax(0,1fr) auto;gap:.12rem .45rem;padding:.65rem .7rem;display:grid}body.theme-crm .crm-sidebar-trial>span{font-size:.72rem;font-weight:610}body.theme-crm .crm-sidebar-trial strong{color:var(--sidebar-text);font-family:var(--font-display);white-space:nowrap;font-size:.8rem}body.theme-crm .crm-sidebar-trial small{text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:.7rem;overflow:hidden}body.theme-crm .ui-sidebar__help{border-radius:var(--radius-sm);min-height:2.55rem;color:color-mix(in srgb, var(--sidebar-text) 74%, var(--sidebar-muted));background:0 0;border:0;gap:.55rem;padding:.58rem .7rem;font-size:.76rem}body.theme-crm .ui-sidebar__help:hover{color:var(--sidebar-text);background:color-mix(in srgb, var(--accent) 6%, transparent)}body.theme-crm .ui-sidebar__help.is-active{color:var(--sidebar-text);background:color-mix(in srgb, var(--accent) 10%, transparent)}body.theme-crm .crm-sidebar-role{color:color-mix(in srgb, var(--sidebar-text) 55%, var(--sidebar-muted));padding-inline:.7rem;font-size:.65rem}body.theme-crm .ui-topbar{min-height:var(--shell-topbar);padding:.58rem var(--content-gutter);border-color:color-mix(in srgb, var(--border) 84%, transparent);background:var(--crm-topbar-background-current);-webkit-backdrop-filter:blur(1rem)saturate(125%);backdrop-filter:blur(1rem)saturate(125%);grid-template-columns:minmax(0,1fr) minmax(18rem,44rem) auto minmax(0,1fr);justify-content:stretch;gap:.65rem;box-shadow:0 1px #12272308}body.theme-crm .ui-topbar__leading{justify-self:start;align-items:center;gap:.35rem;min-width:0;display:flex}body.theme-crm .ui-topbar__quick-actions{align-items:center;gap:.35rem;min-width:0;display:flex}body.theme-crm .ui-topbar__history{justify-self:start;gap:.25rem;display:flex}body.theme-crm .ui-topbar__history button:not(:disabled){color:var(--accent);cursor:pointer}body.theme-crm .ui-topbar__history button:disabled{color:var(--text-muted);opacity:.42;cursor:not-allowed}body.theme-crm .ui-topbar__history button:not(:disabled):hover{color:var(--accent-strong);border-color:color-mix(in srgb, var(--accent) 30%, var(--border));background:color-mix(in srgb, var(--accent-soft) 54%, var(--surface))}body.theme-crm :where(.ui-topbar__history button,.crm-topbar-icon,.crm-workspace-menu,.crm-mobile-menu,.crm-sidebar-close){border-radius:var(--radius-sm);width:2.65rem;min-width:2.65rem;height:2.65rem;color:var(--text-muted);background:0 0;border-color:#0000}body.theme-crm :where(.ui-topbar__history button,.crm-topbar-icon,.crm-workspace-menu,.crm-mobile-menu):hover{color:var(--text);border-color:var(--border);background:var(--surface)}body.theme-crm .crm-global-search>.ui-input{border-color:color-mix(in srgb, var(--border) 65%, transparent);background:#ffffffc7;min-height:2.45rem;padding-left:2.65rem;box-shadow:inset 0 1px 2px #12272306}body.theme-crm .crm-global-search>.ui-input:focus{border-color:color-mix(in srgb, var(--accent) 48%, var(--border));background:var(--surface);box-shadow:0 0 0 .2rem color-mix(in srgb, var(--accent) 10%, transparent)}body.theme-crm .crm-global-search__results,body.theme-crm .crm-topbar-menu__popover{border-color:color-mix(in srgb, var(--border-strong) 70%, transparent);border-radius:var(--radius);box-shadow:var(--shadow-lift)}body.theme-crm .crm-global-search__results{max-height:min(31rem, calc(100dvh - var(--shell-topbar) - 1rem));scrollbar-color:#b7cbc5 transparent;scrollbar-width:thin;background:#fafcfbfa;padding:.38rem}body.theme-crm .crm-global-search__results button{grid-template-columns:2.2rem minmax(0,1fr) auto;justify-content:stretch;align-items:center;gap:.6rem;min-height:3.75rem;padding:.52rem .58rem;display:grid;position:relative}body.theme-crm .crm-global-search__results>button+button{margin-top:.45rem}body.theme-crm .crm-global-search__results>button+button:before{content:"";top:-.23rem;border-top:1px solid color-mix(in srgb, var(--border) 82%, transparent);pointer-events:none;position:absolute;inset-inline:0}body.theme-crm .crm-global-search__results button:hover,body.theme-crm .crm-global-search__results button[aria-selected=true]{background:var(--accent-subtle)}body.theme-crm .crm-global-search__entity-icon{border:1px solid var(--accent-border);border-radius:var(--radius-xs);width:2.15rem;height:2.15rem;color:var(--accent-strong);background:var(--accent-muted);place-items:center;display:grid}body.theme-crm .crm-global-search__entity-icon[data-tone=sky]{color:#4e7081;background:#eaf2f5;border-color:#d5e2e7}body.theme-crm .crm-global-search__entity-icon[data-tone=lilac]{color:#6b637f;background:#f0edf4;border-color:#e0dbe9}body.theme-crm .crm-global-search__entity-icon[data-tone=peach]{color:#8a6550;background:#f7eee8;border-color:#eadbd1}body.theme-crm .crm-global-search__entity-icon[data-tone=sand]{color:#806a3e;background:#f6f0e2;border-color:#e7ddc6}body.theme-crm .crm-global-search__content{gap:.2rem;min-width:0;display:grid}body.theme-crm .crm-global-search__title{justify-content:flex-start;align-items:center;gap:.45rem;min-width:0;display:flex}body.theme-crm .crm-global-search__title strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:620;line-height:1.25;overflow:hidden}body.theme-crm .crm-global-search__type{border:1px solid var(--border);border-radius:var(--radius-chip);color:#697873;white-space:nowrap;background:#f2f5f4;flex:none;align-items:center;padding:.12rem .35rem;font-size:.59rem;font-weight:580;line-height:1.15;display:inline-flex}body.theme-crm .crm-global-search__secondary{color:#6a7874;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;line-height:1.3;display:block;overflow:hidden}body.theme-crm .crm-global-search__secondary+.crm-global-search__meta{margin-top:.15rem}body.theme-crm .crm-global-search__meta{flex-wrap:wrap;align-items:center;gap:.2rem .3rem;min-width:0;display:flex}body.theme-crm .crm-global-search__meta>span{border-radius:var(--radius-chip);color:#5f706a;text-overflow:ellipsis;white-space:nowrap;background:#f3f6f5;border:1px solid #dce5e2;align-items:center;gap:.22rem;min-width:0;max-width:min(100%,16rem);min-height:1.25rem;padding:.12rem .34rem;font-size:.59rem;font-weight:520;line-height:1.1;display:inline-flex;overflow:hidden}body.theme-crm .crm-global-search__meta>span>svg{color:#738680;flex:none}body.theme-crm .crm-global-search__meta .is-status{color:var(--success-strong);background:var(--chip-success);border-color:#0000}body.theme-crm .crm-global-search__meta .is-status:is([data-status=cancelled],[data-status=archived],[data-status=inactive],[data-status=reject],[data-status=rejected]){color:#994052;background:var(--chip-danger);border-color:#0000}body.theme-crm .crm-global-search__status{min-height:4.4rem;color:var(--text-muted);text-align:center;place-items:center;padding:1rem;font-size:.72rem;display:grid}body.theme-crm .crm-global-search__results button,body.theme-crm .crm-topbar-menu__popover button{border-radius:var(--radius-sm)}body.theme-crm .crm-notification-popover{width:min(23.5rem,100vw - 1rem);max-height:min(45rem, calc(100dvh - var(--shell-topbar) - 1rem));background:var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform-origin:100% 0;gap:0;padding:0;animation:.17s ease-out both crm-notification-popover-in;overflow:hidden}@keyframes crm-notification-popover-in{0%{opacity:0;transform:translateY(-.3rem)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}body.theme-crm .crm-notification-popover__header{border-bottom:1px solid color-mix(in srgb, var(--border) 78%, transparent);justify-content:space-between;align-items:center;gap:.6rem;min-width:0;padding:.72rem .78rem .65rem;display:flex}body.theme-crm .crm-notification-popover__header>span{gap:.05rem;min-width:0;display:grid}body.theme-crm .crm-notification-popover__header strong{color:var(--text);font-size:.84rem;font-weight:720}body.theme-crm .crm-notification-popover__header small{color:var(--text-muted);font-size:.66rem}body.theme-crm .crm-notification-popover .crm-notification-popover__read-all{width:auto;min-height:1.9rem;color:var(--accent-strong);background:var(--accent-soft);flex:none;grid-template-columns:none;align-items:center;gap:.28rem;padding:.3rem .42rem;font-size:.65rem;font-weight:680;display:inline-flex}body.theme-crm .crm-notification-popover .crm-notification-popover__read-all:hover{color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 15%, var(--surface))}body.theme-crm .crm-notification-popover__list{min-width:0;max-height:min(38rem, calc(100dvh - var(--shell-topbar) - 8rem));overscroll-behavior:contain;scrollbar-color:color-mix(in srgb, var(--border-strong) 80%, transparent) transparent;scrollbar-width:thin;overflow-y:auto}body.theme-crm .crm-notification-popover__group+.crm-notification-popover__group{border-top:1px solid color-mix(in srgb, var(--border) 82%, transparent)}body.theme-crm .crm-notification-popover__group-title{min-height:2rem;color:var(--text-muted);background:color-mix(in srgb, var(--surface-2) 52%, var(--surface));letter-spacing:.025em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:.5rem;padding:.46rem .72rem .34rem;font-size:.62rem;font-weight:690;display:flex}body.theme-crm .crm-notification-popover__group-title b{border-radius:var(--radius-xs);min-width:1.25rem;height:1.25rem;color:var(--accent-strong);background:var(--accent-soft);place-items:center;padding-inline:.28rem;font-size:.62rem;display:grid}body.theme-crm .crm-notification-popover__group-title small{letter-spacing:0;text-transform:none;font-size:.58rem;font-weight:560}body.theme-crm .crm-notification-popover__row{grid-template-columns:minmax(0,1fr) 2.5rem;align-items:center;min-width:0;display:grid;position:relative}body.theme-crm .crm-notification-popover__row+.crm-notification-popover__row{border-top:1px solid color-mix(in srgb, var(--border) 62%, transparent)}body.theme-crm .crm-notification-popover__row[data-pinned=true]{background:color-mix(in srgb, var(--accent) 2.5%, var(--surface))}body.theme-crm .crm-notification-popover__row:before{content:"";z-index:1;inset-block:.56rem;border-radius:0 var(--radius-xs) var(--radius-xs) 0;background:var(--accent);pointer-events:none;width:.14rem;position:absolute;left:0}body.theme-crm .crm-notification-popover .crm-notification-popover__item{border-radius:0;grid-template-columns:1.85rem minmax(0,1fr);align-items:start;gap:.58rem;width:100%;min-height:0;padding:.68rem .3rem .68rem .72rem;display:grid}body.theme-crm .crm-notification-popover__row:has(.crm-notification-popover__item:hover){background:color-mix(in srgb, var(--accent) 4%, var(--surface-2))}body.theme-crm .crm-notification-popover .crm-notification-popover__pin{border-radius:var(--radius-sm);width:2rem;height:2rem;min-height:2rem;color:color-mix(in srgb, var(--text-muted) 76%, transparent);background:0 0;grid-template-columns:none;place-items:center;margin-right:.5rem;padding:0;display:grid}body.theme-crm .crm-notification-popover .crm-notification-popover__pin:hover{color:var(--text);background:var(--surface-2)}body.theme-crm .crm-notification-popover .crm-notification-popover__pin[aria-pressed=true]{color:var(--accent-strong);background:var(--accent-soft)}body.theme-crm .crm-notification-popover .crm-notification-popover__pin:disabled{opacity:.5;cursor:wait}body.theme-crm .crm-notification-popover__icon{border-radius:var(--radius-xs);width:1.85rem;height:1.85rem;color:var(--accent);background:color-mix(in srgb, var(--accent) 9%, transparent);place-items:center;display:grid}body.theme-crm .crm-notification-popover__row[data-severity=warn] .crm-notification-popover__icon{color:var(--warning-strong,#8c5b12);background:color-mix(in srgb, var(--warning,#d5962e) 11%, transparent)}body.theme-crm .crm-notification-popover__row[data-severity=danger] .crm-notification-popover__icon{color:var(--danger);background:color-mix(in srgb, var(--danger) 10%, transparent)}body.theme-crm .crm-notification-popover__copy{gap:.14rem;min-width:0;display:grid}body.theme-crm .crm-notification-popover__copy>strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:690;line-height:1.3;overflow:hidden}body.theme-crm .crm-notification-popover__copy>small{color:var(--text-muted);-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;font-size:.68rem;line-height:1.35;display:-webkit-box;overflow:hidden}body.theme-crm .crm-notification-popover__copy>span{color:color-mix(in srgb, var(--text-muted) 82%, transparent);align-items:center;gap:.28rem;margin-top:.1rem;font-size:.6rem;display:flex}body.theme-crm .crm-notification-popover__copy i{font-style:normal}body.theme-crm .crm-notification-popover__state,body.theme-crm .crm-notification-popover__empty{min-height:9rem;color:var(--text-muted);text-align:center;align-content:center;place-items:center;gap:.38rem;padding:1.15rem;font-size:.7rem;display:grid}body.theme-crm .crm-notification-popover__empty>span{border-radius:var(--radius-sm);width:2rem;height:2rem;color:var(--success-strong);background:color-mix(in srgb, var(--success) 10%, transparent);place-items:center;display:grid}body.theme-crm .crm-notification-popover__empty strong{color:var(--text);font-size:.76rem}body.theme-crm .crm-notification-popover__empty small{max-width:17rem;color:var(--text-muted);font-size:.66rem;line-height:1.4}body.theme-crm .crm-notification-popover__loader{border:2px solid color-mix(in srgb, var(--accent) 20%, transparent);border-top-color:var(--accent);border-radius:50%;width:1.1rem;height:1.1rem;animation:.7s linear infinite crm-notification-loader}@keyframes crm-notification-loader{to{transform:rotate(360deg)}}body.theme-crm .crm-notification-popover__state.is-error{color:var(--danger)}body.theme-crm .crm-notification-popover .crm-notification-popover__state button{min-height:1.9rem;color:var(--text);background:var(--surface-2);grid-template-columns:none;padding:.3rem .55rem;font-size:.66rem;display:inline-flex}body.theme-crm .crm-notification-popover .crm-notification-popover__footer{border-top:1px solid color-mix(in srgb, var(--border) 78%, transparent);width:100%;min-height:2.65rem;color:var(--accent-strong);border-radius:0;grid-template-columns:none;justify-content:space-between;align-items:center;gap:.45rem;padding:.55rem .78rem;font-size:.7rem;font-weight:680;display:flex}body.theme-crm .crm-notification-popover .crm-notification-popover__footer:hover{color:var(--accent-strong);background:var(--accent-soft)}@media (max-width:36rem){body.theme-crm .crm-notification-popover{top:calc(var(--shell-topbar) - .15rem);width:auto;max-height:calc(100dvh - var(--shell-topbar) - .5rem);position:fixed;left:.5rem;right:.5rem}body.theme-crm .crm-notification-popover__list{max-height:calc(100dvh - var(--shell-topbar) - 8rem)}}@media (prefers-reduced-motion:reduce){body.theme-crm .crm-notification-popover,body.theme-crm .crm-notification-popover__loader{animation:none}}body.theme-crm .crm-user-menu{grid-template-columns:2.1rem minmax(0,10rem) .9rem;gap:.45rem;width:auto;min-width:2.65rem;max-width:14rem;padding:.22rem .3rem .22rem .25rem;overflow:hidden}body.theme-crm .crm-user-menu__avatar{border-radius:var(--radius-xs);width:2rem;height:2rem;color:var(--accent-on-solid);background:var(--accent-solid);font-family:var(--font-display);place-items:center;font-size:.72rem;font-weight:680;display:grid}body.theme-crm .crm-user-menu__copy{text-align:left;place-self:center stretch;justify-items:start;gap:.02rem;width:100%;min-width:0;display:grid}body.theme-crm .crm-user-menu__copy strong{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;font-size:.72rem;line-height:1.2;display:block;overflow:hidden}body.theme-crm .crm-user-menu__copy small{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;color:var(--text-muted);font-size:.62rem;display:block;overflow:hidden}body.theme-crm .crm-demo-data-prompt{z-index:1;width:min(calc(100% - 2rem), var(--content-max));border:1px solid var(--accent-border);border-radius:var(--radius);color:var(--text);background:color-mix(in srgb, var(--accent) 4%, var(--surface));box-shadow:0 1rem 2.5rem var(--accent-shadow);grid-template-columns:auto minmax(0,1fr);gap:.7rem .75rem;margin:.85rem auto 0;padding:.9rem 2.5rem .85rem .9rem;display:grid;position:relative}body.theme-crm .crm-demo-data-prompt__icon{border-radius:var(--radius-xs);width:2rem;height:2rem;color:var(--accent-strong);background:var(--accent-muted);place-items:center;display:grid}body.theme-crm .crm-demo-data-prompt__copy{min-width:0}body.theme-crm .crm-demo-data-prompt__copy strong{font-size:.79rem;line-height:1.25;display:block}body.theme-crm .crm-demo-data-prompt__copy p,body.theme-crm .crm-demo-data-prompt__copy span{color:var(--text-muted);margin:.2rem 0 0;font-size:.7rem;line-height:1.42}body.theme-crm .crm-demo-data-prompt__copy span{color:#9a4f5c;display:block}body.theme-crm .crm-demo-data-prompt__actions{flex-wrap:wrap;grid-column:2;gap:.45rem;display:flex}body.theme-crm .crm-demo-data-prompt__actions button,body.theme-crm .crm-demo-data-prompt__close{border-radius:var(--radius-sm);min-height:2rem;font:inherit;cursor:pointer;border:0;font-size:.7rem;font-weight:680}body.theme-crm .crm-demo-data-prompt__actions button:first-child{color:var(--accent-on-solid);background:var(--accent-solid);padding-inline:.7rem}body.theme-crm .crm-demo-data-prompt__actions button:last-child{color:var(--text-muted);background:0 0;padding-inline:.3rem}body.theme-crm .crm-demo-data-prompt__close{width:1.8rem;color:var(--text-muted);background:0 0;place-items:center;padding:0;display:grid;position:absolute;top:.4rem;right:.4rem}body.theme-crm .crm-demo-data-prompt button:focus-visible{outline:2px solid color-mix(in srgb, var(--focus) 58%, transparent);outline-offset:2px}body.theme-crm .ui-page{width:min(100%, var(--content-max));max-width:var(--content-max);min-width:0;padding:clamp(1rem, 2vw, 1.75rem) var(--content-gutter) 3rem;gap:clamp(1rem,1.5vw,1.35rem);margin-inline:auto}body.theme-crm .ui-page--dashboard{--content-max:112rem}body.theme-crm .ui-page-header{align-items:flex-start;gap:1rem;min-height:3.75rem}body.theme-crm .ui-page-header__copy{gap:.28rem}body.theme-crm .ui-page-header__title-row{align-items:center;gap:.45rem;min-width:0;display:flex}body.theme-crm .ui-page-header__title-addon{flex:none;display:inline-flex}body.theme-crm .ui-page-header__title,body.theme-crm :where(.sales-page__header h1,.lead-editor__header h1){color:var(--text);font-family:var(--font-display);font-variation-settings:"wght" 660, "SHRP" 35;letter-spacing:-.035em;margin:0;font-size:clamp(1.5rem,2vw,2rem);line-height:1.08}body.theme-crm .ui-page-header__subtitle{max-width:72ch;color:var(--text-muted);margin:0;font-size:.82rem;line-height:1.45}body.theme-crm .ui-page-header__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;min-width:0;display:flex}body.theme-crm :where(.crm-stack,.crm-page,.crm-tab-panel-stack){grid-template-columns:minmax(0,1fr);gap:1rem;min-width:0;display:grid}body.theme-crm .crm-tab-panel:not(.crm-tab-panel-stack):not(.rewards-page__panel){outline:none;grid-template-columns:minmax(0,1fr);gap:1rem;min-width:0;display:grid}body.theme-crm .documents-page{gap:1.5rem}body.theme-crm :where(.payroll-page,.payroll-filters-card){grid-template-columns:minmax(0,1fr);min-width:0}body.theme-crm :where(.payroll-filters,.payroll-period-toolbar,.payroll-months,.payroll-period-actions){min-width:0;max-width:100%}body.theme-crm .ui-section-head,body.theme-crm .crm-section-heading{align-items:flex-start;gap:.8rem;margin-bottom:.5rem}body.theme-crm :where(.ui-section-head h2,.crm-section-heading h2){color:var(--text);letter-spacing:-.018em;font-size:1rem;font-weight:630}body.theme-crm .students-quick-edit__title{letter-spacing:-.028em;font-size:1.28rem;font-weight:720;line-height:1.2}body.theme-crm :where(.ui-section-head p,.crm-section-heading p){max-width:68ch;color:var(--text-muted);font-size:.76rem;line-height:1.45}body.theme-crm .ui-card{border:1px solid color-mix(in srgb, var(--border) 90%, transparent);border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:var(--shadow-soft);padding:clamp(.9rem,1.4vw,1.2rem)}body.theme-crm .ui-card--soft{background:var(--surface-2);border-color:#0000}body.theme-crm .ui-card.is-clickable{transition:border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out)}body.theme-crm .ui-card.is-clickable:hover{border-color:color-mix(in srgb, var(--accent) 36%, var(--border));transform:translateY(-1px);box-shadow:0 .65rem 1.8rem #12272312}html[data-panel-contrast=soft] body.theme-crm{--crm-panel-tint:2%;--crm-panel-surface:var(--surface);--crm-panel-border:color-mix(in srgb, var(--border) 65%, transparent);--crm-panel-shadow:none}html:not([data-panel-contrast]) body.theme-crm,html[data-panel-contrast=balanced] body.theme-crm{--crm-panel-tint:6%;--crm-panel-surface:var(--surface);--crm-panel-border:color-mix(in srgb, var(--border) 90%, transparent);--crm-panel-shadow:var(--shadow-soft)}html[data-panel-contrast=strong] body.theme-crm{--crm-panel-tint:9%;--crm-panel-surface:var(--surface);--crm-panel-border:color-mix(in srgb, var(--border) 78%, var(--accent) 22%);--crm-panel-shadow:0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent), var(--shadow-soft)}html[data-theme=dark][data-panel-contrast=strong] body.theme-crm{--crm-panel-surface:var(--surface-2)}body.theme-crm{--crm-panel-background:color-mix(in srgb, var(--crm-panel-surface,var(--surface)) calc(100% - var(--crm-panel-tint-custom,var(--crm-panel-tint,6%))), var(--accent))}body.theme-crm .ui-card{border-color:var(--crm-panel-border,color-mix(in srgb, var(--border) 90%, transparent));background:var(--crm-panel-background,var(--surface));box-shadow:var(--crm-panel-shadow,var(--shadow-soft))}body.theme-crm :where(.crm-workspace-card,.school-settings-card,.employee-tab-card,.event-editor-section,.lead-editor__form>section,.trial-editor-section,.schedule-settings-section){border-color:var(--crm-panel-border,var(--border));border-radius:var(--radius);background:var(--crm-panel-background,var(--surface));min-width:0;box-shadow:var(--crm-panel-shadow,none)}body.theme-crm .ui-btn{min-height:var(--control-height);border-radius:var(--radius-sm);white-space:nowrap;box-shadow:none;transition:color .18s var(--ease-out), background .18s var(--ease-out), border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out);border:1px solid #0000;gap:.5rem;padding:.62rem .9rem;font-size:.82rem;font-weight:610;line-height:1}body.theme-crm .ui-btn--primary{color:var(--accent-on-solid);border-color:var(--accent-solid);background:var(--accent-solid);box-shadow:inset 0 1px #ffffff24, 0 .35rem .85rem var(--accent-shadow)}body.theme-crm .ui-btn--primary:hover:not(:disabled){color:var(--accent-on-solid);border-color:var(--accent-solid-hover);background:var(--accent-solid-hover)}body.theme-crm .ui-btn--secondary{color:var(--text);border-color:var(--border);background:var(--surface)}body.theme-crm .ui-btn--secondary:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-2)}body.theme-crm .ui-btn--ghost{color:var(--text-muted);background:0 0}body.theme-crm .ui-btn--ghost:hover:not(:disabled){color:var(--text);background:var(--surface-2)}body.theme-crm .ui-btn--destructive{color:#fff;border-color:var(--danger);background:var(--danger)}body.theme-crm .ui-table .ui-btn--primary{color:var(--accent-strong);border-color:var(--accent-border);background:var(--accent-muted);box-shadow:none}body.theme-crm .ui-table .ui-btn--primary:hover:not(:disabled){color:var(--accent-strong);border-color:color-mix(in srgb, var(--accent) 48%, var(--border));background:color-mix(in srgb, var(--accent) 17%, var(--surface))}body.theme-crm .ui-table .ui-btn--destructive{color:#914f5c;background:#f8e9ed;border-color:#e7ced4}body.theme-crm .ui-table .ui-btn--destructive:hover:not(:disabled){color:#7e414d;background:#f3dfe4;border-color:#dfbdc5}body.theme-crm .ui-btn--sm{min-height:2.35rem;padding:.5rem .72rem;font-size:.76rem}body.theme-crm .ui-btn--lg{min-height:3rem;padding-inline:1.15rem;font-size:.88rem}body.theme-crm .ui-btn:disabled,body.theme-crm :where(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.56}body.theme-crm .ui-field,body.theme-crm .crm-field{min-width:0;color:var(--text);align-content:start;gap:.38rem;font-size:.76rem;font-weight:560;display:grid}body.theme-crm .ui-field>:where(span,legend):first-child,body.theme-crm .crm-field>:where(span,legend):first-child{color:#4e5d59}body.theme-crm .ui-field :where(small,.ui-field__hint),body.theme-crm .crm-field small{color:var(--text-muted);font-size:.7rem;font-weight:430;line-height:1.4}body.theme-crm .crm-field__label{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}body.theme-crm .crm-field__label small{white-space:nowrap;flex:none}body.theme-crm .crm-checkbox{align-items:center}body.theme-crm .crm-checkbox>input[type=checkbox]{margin:0}body.theme-crm .ui-input,body.theme-crm :where(select,textarea).ui-input{width:100%;min-height:var(--input-height);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);background:var(--surface);transition:border-color .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s var(--ease-out);padding:.47rem .68rem;font-size:.84rem;font-weight:450;line-height:1.3;box-shadow:inset 0 1px 2px #12272306}body.theme-crm textarea.ui-input{resize:vertical;min-height:5.5rem}body.theme-crm select:not([multiple]){appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%235d726a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .66rem center;background-repeat:no-repeat;background-size:.82rem;padding-inline-end:2.35rem}body.theme-crm select:not([multiple])::-ms-expand{display:none}html[data-theme=dark] body.theme-crm select:not([multiple]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23a8aeb7' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}body.theme-crm select:not([multiple]):hover:not(:disabled){background-color:color-mix(in srgb, var(--accent-soft) 24%, var(--surface))}body.theme-crm select:not([multiple]):disabled{cursor:not-allowed;color:color-mix(in srgb, var(--text-muted) 74%, transparent);background-color:color-mix(in srgb, var(--surface-2) 76%, var(--surface))}body.theme-crm select[multiple]{background:var(--surface);min-height:5.5rem;padding:.32rem}body.theme-crm select[multiple] option{border-radius:var(--radius-xs);min-height:2rem;padding:.38rem .48rem}body.theme-crm select[multiple] option:checked{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 88%, var(--surface))}body.theme-crm .crm-modern-select-menu{z-index:12000;border:1px solid color-mix(in srgb, var(--border-strong) 78%, var(--accent));border-radius:var(--radius);min-width:0;color:var(--text);background:color-mix(in srgb, var(--surface) 96%, var(--surface-2));transform-origin:top;animation:crm-select-enter .13s var(--ease-out);gap:.3rem;padding:.36rem;display:grid;position:fixed;overflow:hidden;box-shadow:0 1rem 2.5rem #17302929,inset 0 0 0 1px #ffffff57}body.theme-crm .crm-modern-select-menu__search{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:2.3rem;color:var(--text-muted);background:var(--surface);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.42rem;padding:0 .58rem;display:grid}body.theme-crm .crm-modern-select-menu__search:focus-within{border-color:color-mix(in srgb, var(--accent) 52%, var(--border));box-shadow:0 0 0 .18rem color-mix(in srgb, var(--accent) 10%, transparent)}body.theme-crm .crm-modern-select-menu__search input{width:100%;min-width:0;min-height:2.2rem;color:var(--text);font:inherit;border:0;outline:0;padding:0;font-size:.78rem;background:0 0!important}body.theme-crm .crm-modern-select-menu__options{overscroll-behavior:contain;scrollbar-color:color-mix(in srgb, var(--accent) 34%, var(--border)) transparent;scrollbar-width:thin;gap:.08rem;max-height:min(20rem,48dvh);padding-right:.06rem;display:grid;overflow-y:auto}body.theme-crm .crm-modern-select-menu__options button{width:100%;min-width:0;min-height:2.28rem;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.42rem;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.55rem;padding:.42rem .55rem;font-size:.78rem;font-weight:480;line-height:1.25;display:grid}body.theme-crm .crm-modern-select-menu__option-label{align-items:center;gap:.38rem;min-width:0;display:flex}body.theme-crm .crm-modern-select-menu__option-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}body.theme-crm .crm-modern-select-menu__next-lesson{border-radius:var(--radius-chip);color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 14%, var(--surface));white-space:nowrap;flex:none;align-items:center;gap:.18rem;padding:.13rem .34rem;font-size:.62rem;font-weight:670;line-height:1.15;display:inline-flex}body.theme-crm .crm-modern-select-menu__option-meta{border-radius:var(--radius-chip);min-width:0;max-width:10.5rem;color:color-mix(in srgb, var(--text-muted) 84%, transparent);background:color-mix(in srgb, var(--accent) 8%, transparent);text-overflow:ellipsis;white-space:nowrap;opacity:.82;padding:.12rem .36rem;font-size:.64rem;font-weight:560;line-height:1.15;overflow:hidden}body.theme-crm .crm-modern-select-menu__options button[aria-selected=true] .crm-modern-select-menu__option-meta{color:color-mix(in srgb, var(--accent-strong) 78%, var(--text-muted));background:color-mix(in srgb, var(--accent) 13%, transparent)}body.theme-crm .crm-modern-select-menu__options button:is(:hover,:focus-visible,.is-active){border-color:color-mix(in srgb, var(--accent) 24%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 66%, var(--surface));outline:0}body.theme-crm .crm-modern-select-menu__options button[aria-selected=true]{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 84%, var(--surface));font-weight:620}body.theme-crm .crm-modern-select-menu__options button.is-next-lesson{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-soft) 54%, var(--surface)));box-shadow:inset .18rem 0 0 color-mix(in srgb, var(--accent) 74%, transparent)}body.theme-crm .crm-modern-select-menu__options button.is-next-lesson:is(:hover,:focus-visible,.is-active){border-color:color-mix(in srgb, var(--accent) 58%, var(--border));background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 25%, transparent), color-mix(in srgb, var(--accent-soft) 82%, var(--surface)))}body.theme-crm .crm-modern-select-menu__options button:disabled{cursor:not-allowed;opacity:.48}body.theme-crm .crm-modern-select-menu__group{color:var(--text-muted);letter-spacing:.045em;text-transform:uppercase;padding:.55rem .5rem .22rem;font-size:.64rem;font-weight:680}body.theme-crm .crm-modern-select-menu__empty{color:var(--text-muted);text-align:center;margin:0;padding:.8rem .65rem;font-size:.76rem}body.theme-crm .crm-modern-select-menu__lesson-window{color:var(--text-muted);margin:0;padding:.08rem .42rem .16rem;font-size:.66rem;line-height:1.25}body.theme-crm select.crm-modern-select--open{border-color:color-mix(in srgb, var(--accent) 62%, var(--border));box-shadow:0 0 0 .2rem color-mix(in srgb, var(--accent) 9%, transparent)}@keyframes crm-select-enter{0%{opacity:0;transform:translateY(-.2rem)scale(.985)}}@media (prefers-reduced-motion:reduce){body.theme-crm .crm-modern-select-menu{animation:none}}body.theme-crm .ui-input::placeholder{color:#65716d;opacity:1}body.theme-crm .ui-input:hover:not(:disabled){border-color:var(--border-strong)}body.theme-crm .ui-input:focus,body.theme-crm .ui-input:focus-visible{border-color:color-mix(in srgb, var(--accent) 62%, var(--border));outline:.13rem solid color-mix(in srgb, var(--focus) 58%, transparent);outline-offset:.08rem;box-shadow:0 0 0 .2rem color-mix(in srgb, var(--accent) 9%, transparent)}body.theme-crm :where(.ui-form-grid,.crm-form-grid,.crm-mini-grid){gap:.85rem;min-width:0}body.theme-crm :where(fieldset.ui-field,.crm-fieldset){border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);min-width:0;margin:0;padding:1rem}body.theme-crm :where(fieldset.ui-field,.crm-fieldset)>legend{color:var(--text);font-family:var(--font-display);padding-inline:.3rem;font-size:.82rem;font-weight:610}body.theme-crm .crm-crud-editor{gap:1rem;display:grid}body.theme-crm .crm-crud-editor .crm-section-heading{border-bottom:1px solid color-mix(in srgb, var(--border) 84%, transparent);margin:0;padding-bottom:.85rem}body.theme-crm .crm-crud-editor>.crm-form-actions{border-top:1px solid color-mix(in srgb, var(--border) 84%, transparent);justify-content:flex-end;padding-top:.85rem}body.theme-crm .crm-crud-editor .crm-form-grid>.crm-form-check{border:1px solid var(--border);background:color-mix(in srgb, var(--surface-2) 74%, transparent);border-radius:.65rem;align-self:end;align-items:center;min-height:2.65rem;padding:.58rem .7rem;display:flex}body.theme-crm .crm-crud-editor .crm-form-check>span{flex:1;margin:0}body.theme-crm .rich-text-editor{grid-column:1/-1;gap:.45rem;min-width:0;display:grid}body.theme-crm .rich-text-editor__label-row{justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}body.theme-crm .rich-text-editor__label-row>label{color:var(--text);font-size:.79rem;font-weight:600}body.theme-crm .rich-text-editor__counter,body.theme-crm .rich-text-editor>small{color:var(--text-muted);font-size:.71rem;line-height:1.4}body.theme-crm .rich-text-editor__shell{border:1px solid var(--border);background:var(--surface);border-radius:.72rem;min-width:0;transition:border-color .16s,box-shadow .16s;overflow:hidden}body.theme-crm .rich-text-editor__shell:focus-within{border-color:color-mix(in srgb, var(--accent) 62%, var(--border));box-shadow:0 0 0 .2rem color-mix(in srgb, var(--accent) 9%, transparent)}body.theme-crm .rich-text-editor__toolbar{border-bottom:1px solid color-mix(in srgb, var(--border) 86%, transparent);background:color-mix(in srgb, var(--surface-2) 72%, var(--surface));align-items:center;gap:.18rem;min-height:2.45rem;padding:.28rem .38rem;display:flex}body.theme-crm .rich-text-editor__tool,body.theme-crm .rich-text-editor__mode button{min-height:1.8rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.42rem;justify-content:center;align-items:center;transition:color .14s,background-color .14s;display:inline-flex}body.theme-crm .rich-text-editor__tool{width:1.9rem}body.theme-crm .rich-text-editor__tool:hover:not(:disabled),body.theme-crm .rich-text-editor__mode button:hover:not(:disabled),body.theme-crm .rich-text-editor__mode button.is-active{color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 11%, transparent)}body.theme-crm .rich-text-editor__tool:focus-visible,body.theme-crm .rich-text-editor__mode button:focus-visible{outline:.13rem solid color-mix(in srgb, var(--focus) 70%, transparent);outline-offset:.08rem}body.theme-crm .rich-text-editor__tool:disabled{cursor:default;opacity:.4}body.theme-crm .rich-text-editor__separator{background:var(--border);width:1px;height:1.15rem;margin-inline:.16rem}body.theme-crm .rich-text-editor__toolbar-spacer{flex:1}body.theme-crm .rich-text-editor__mode{border:1px solid color-mix(in srgb, var(--border) 84%, transparent);background:var(--surface);border-radius:.52rem;gap:.08rem;padding:.13rem;display:inline-flex}body.theme-crm .rich-text-editor__mode button{gap:.28rem;padding-inline:.46rem;font-size:.69rem;font-weight:570}body.theme-crm .rich-text-editor__textarea.ui-input{min-height:9.6rem;box-shadow:none;resize:vertical;border:0;border-radius:0;margin:0}body.theme-crm .rich-text-editor__textarea.ui-input:focus,body.theme-crm .rich-text-editor__textarea.ui-input:focus-visible{box-shadow:none;outline:0}body.theme-crm .rich-text-editor__preview{min-height:9.6rem;color:var(--text);padding:.8rem .9rem;font-size:.84rem;line-height:1.58}body.theme-crm .rich-text-editor__preview :where(h3,p,ul,ol){margin:0}body.theme-crm .rich-text-editor__preview h3{margin-top:.55rem;font-size:.92rem}body.theme-crm .rich-text-editor__preview h3:first-child{margin-top:0}body.theme-crm .rich-text-editor__preview :where(ul,ol){padding-left:1.25rem}body.theme-crm .rich-text-editor__preview hr{background:var(--border);border:0;height:1px;margin:.65rem 0}body.theme-crm .rich-text-editor__preview a{color:var(--accent-strong);text-underline-offset:.14em;text-decoration:underline}body.theme-crm .rich-text-editor__blank{height:.7rem}body.theme-crm .rich-text-editor__empty{color:var(--text-muted);margin:0}@media (max-width:640px){body.theme-crm .rich-text-editor__toolbar{flex-wrap:wrap}body.theme-crm .rich-text-editor__toolbar-spacer{display:none}body.theme-crm .rich-text-editor__mode{margin-left:auto}}body.theme-crm :where(input[type=checkbox],input[type=radio],.ui-check input,.crm-check input){accent-color:var(--accent)}body.theme-crm :where(.crm-toolbar,.ui-filter-bar,.crm-bulk-bar){flex-wrap:wrap;align-items:center;gap:.55rem;min-width:0;display:flex}body.theme-crm .crm-toolbar>.ui-input,body.theme-crm .crm-bulk-bar>.ui-input{flex:18rem;min-width:min(100%,14rem)}body.theme-crm :where(.ui-tabs,.crm-workspace-tabs){border:0;border-bottom:1px solid var(--border);scrollbar-width:thin;background:0 0;border-radius:0;gap:.1rem;max-width:100%;min-height:2.75rem;padding:0;overflow-x:auto}body.theme-crm :where(.ui-tab,.ui-tabs>button,.crm-workspace-tabs>button){min-height:2.7rem;color:var(--text-muted);white-space:nowrap;background:0 0;border:0;border-radius:0;padding:.58rem .72rem;font-size:.77rem;font-weight:560;position:relative}body.theme-crm :where(.ui-tab.is-active,.ui-tabs>button.is-active,.crm-workspace-tabs>button.is-active){color:var(--text);box-shadow:inset 0 -2px var(--accent);background:0 0}body.theme-crm .lead-editor__tabs{border-bottom:0;gap:.5rem;padding-bottom:.75rem}body.theme-crm .lead-editor__tabs>.ui-btn{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:none}body.theme-crm .lead-editor__tabs>.ui-btn.ui-btn--primary{border-color:var(--accent-solid);color:var(--accent-on-solid);background:var(--accent-solid);box-shadow:none}body.theme-crm .ui-chip{border-radius:var(--radius-chip);color:#5c6d80;background:var(--chip-neutral);white-space:nowrap;overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;border:0;gap:.3rem;min-height:1.65rem;padding:.26rem .55rem;font-size:.68rem;font-weight:570}body.theme-crm .ui-chip--success{color:var(--success-strong);background:var(--chip-success);border-color:#0000}body.theme-crm .ui-chip--warn{color:#765714;background:var(--chip-warn);border-color:#0000}body.theme-crm .ui-chip--danger{color:#994052;background:var(--chip-danger);border-color:#0000}body.theme-crm :where(.employees-status,.employee-role-chip,.branch-status,.cashbook-status,.shop-order-status,.positions-default-badge,.positions-zone-chip,.positions-zone-more,.programs-language-chip,.directories-language-chip,.levels-category__tags span){border-radius:var(--radius-chip);min-height:1.55rem;color:var(--text-muted);background:var(--surface-2);white-space:nowrap;border:0;align-items:center;margin:0;padding:.2rem .5rem;font-size:.68rem;font-weight:570;line-height:1.1;display:inline-flex}body.theme-crm :where(.employees-status.is-active,.branch-status.is-active,.cashbook-status.is-open,.shop-order-status--issued,.positions-zone-chip,.programs-language-chip.is-green,.programs-language-chip.is-teal){color:var(--success-strong);background:var(--chip-success);border-color:#0000}body.theme-crm :where(.shop-order-status--requested,.programs-language-chip.is-orange){color:#765714;background:var(--chip-warn);border-color:#0000}body.theme-crm :where(.shop-order-status--cancelled,.branch-status.is-inactive){color:#994052;background:var(--chip-danger);border-color:#0000}body.theme-crm .employees-status.is-active{color:var(--success-strong);background:var(--chip-success);border-color:#0000}body.theme-crm .employees-status:not(.is-active){color:#5c6d80;background:var(--chip-neutral);border-color:#0000}body.theme-crm .sales-task{border-radius:var(--radius-chip);white-space:nowrap;border:1px solid #0000;align-items:center;min-height:1.55rem;padding:.22rem .52rem;font-size:.69rem;font-weight:580;line-height:1;display:inline-flex}body.theme-crm .sales-task--empty{color:#765714;background:var(--chip-warn);border-color:#0000}body.theme-crm .sales-task--active{color:var(--success-strong);background:var(--chip-success);border-color:#0000}body.theme-crm .sales-task--overdue{color:#994052;background:var(--chip-danger);border-color:#0000}body.theme-crm :where(.employee-role-chip,.positions-default-badge,.programs-language-chip.is-blue,.programs-language-chip.is-rose){color:#526d86;background:var(--chip-info);border-color:#0000}body.theme-crm .positions-table__name .positions-default-badge{margin-left:.48rem}body.theme-crm .sales-stage-name{color:var(--text);font-weight:610}body.theme-crm .directories-tag{border-color:color-mix(in srgb, var(--tag-color) 22%, var(--border));background:color-mix(in srgb, var(--tag-color) 2%, var(--surface))}body.theme-crm .ui-alert{border-color:var(--border);border-radius:var(--radius-sm);color:#4d5d58;background:var(--surface-2);min-height:2.8rem;padding:.72rem .82rem;font-size:.78rem;line-height:1.45}body.theme-crm .ui-alert--success{color:var(--success-strong);border-color:color-mix(in srgb, var(--success) 26%, var(--border));background:color-mix(in srgb, var(--success-soft) 34%, var(--surface))}body.theme-crm .ui-alert--danger{color:#9f2f42;border-color:color-mix(in srgb, var(--danger) 26%, var(--border));background:color-mix(in srgb, var(--danger-soft) 34%, var(--surface))}body.theme-crm .ui-empty{border:1px dashed var(--border-strong);border-radius:var(--radius);min-height:8rem;color:var(--text-muted);background:linear-gradient(135deg, #fff9, transparent), var(--surface-2);text-align:center;place-items:center;padding:1.5rem;font-size:.8rem;display:grid}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll,.sales-table-wrap,.employees-table-wrap,.employee-table-scroll,.directories-table-card.crm-table-scrollhost,.inventory-table-card.crm-table-scrollhost){overscroll-behavior-x:contain;overscroll-behavior-y:auto;border:1px solid var(--crm-panel-border,var(--border));border-radius:var(--radius);background:var(--crm-panel-background,var(--surface));max-width:100%;max-height:none;box-shadow:var(--crm-panel-shadow,var(--shadow-soft));scrollbar-color:color-mix(in srgb, var(--accent) 38%, var(--border)) var(--surface-2);scrollbar-width:thin;position:relative;overflow:auto hidden;container-type:inline-size}body.theme-crm .crm-table-scrollhost:not(.has-horizontal-overflow){scrollbar-width:none}body.theme-crm .crm-table-scrollhost:not(.has-horizontal-overflow)::-webkit-scrollbar{width:0;height:0}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll,.sales-table-wrap,.employees-table-wrap,.employee-table-scroll,.directories-table-card.crm-table-scrollhost,.inventory-table-card.crm-table-scrollhost)::-webkit-scrollbar{width:.72rem;height:.72rem}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll,.sales-table-wrap,.employees-table-wrap,.employee-table-scroll,.directories-table-card.crm-table-scrollhost,.inventory-table-card.crm-table-scrollhost)::-webkit-scrollbar-track{background:var(--surface-2);border-radius:999px}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll,.sales-table-wrap,.employees-table-wrap,.employee-table-scroll,.directories-table-card.crm-table-scrollhost,.inventory-table-card.crm-table-scrollhost)::-webkit-scrollbar-thumb{border:.18rem solid var(--surface-2);background:color-mix(in srgb, var(--accent) 40%, var(--border-strong));border-radius:999px}body.theme-crm .ui-table{border-collapse:separate;border-spacing:0;width:100%;min-width:100%;color:var(--text);background:var(--surface)}body.theme-crm .ui-table :is(th,td),body.theme-crm :is(button,.ui-btn){overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}body.theme-crm .ui-table thead{z-index:5;position:relative}body.theme-crm .ui-table thead th{z-index:6;border:0;border-bottom:1px solid var(--border-strong);height:2.85rem;color:var(--text);letter-spacing:.015em;text-transform:none;white-space:nowrap;-webkit-backdrop-filter:blur(.7rem);backdrop-filter:blur(.7rem);background:linear-gradient(#fffffffa,#f7f9f8fa);padding:.66rem .72rem;font-size:.76rem;font-weight:720;line-height:1.25;position:sticky;top:0}body.theme-crm .crm-sort-indicator{vertical-align:middle;width:.48rem;color:var(--text-muted);grid-template-rows:repeat(2,.26rem);gap:.11rem;margin-left:.32rem;display:inline-grid}body.theme-crm .crm-sort-indicator__triangle{opacity:.3;width:0;height:0;transition:color .14s var(--ease-out), opacity .14s var(--ease-out);justify-self:center}body.theme-crm .crm-sort-indicator__triangle--up{border-bottom:.26rem solid;border-left:.2rem solid #0000;border-right:.2rem solid #0000}body.theme-crm .crm-sort-indicator__triangle--down{border-top:.26rem solid;border-left:.2rem solid #0000;border-right:.2rem solid #0000}body.theme-crm .ui-table th.is-sortable .crm-sort-button:hover .crm-sort-indicator,body.theme-crm .ui-table th.is-sortable .crm-sort-button:focus-visible .crm-sort-indicator{color:var(--accent)}body.theme-crm .crm-sort-indicator[data-direction=ascending] .crm-sort-indicator__triangle--down,body.theme-crm .crm-sort-indicator[data-direction=descending] .crm-sort-indicator__triangle--up{color:var(--accent);opacity:1}body.theme-crm .ui-table tbody th{border:0;border-bottom:1px solid color-mix(in srgb, var(--border) 82%, transparent);color:#53635e;background:var(--surface-2);text-align:left;padding:.64rem .72rem;font-size:.7rem;font-weight:620;line-height:1.3}body.theme-crm .ui-table td{border:0;border-bottom:1px solid color-mix(in srgb, var(--border) 78%, transparent);color:#293632;background:var(--surface);vertical-align:middle;padding:.72rem;font-size:.77rem;line-height:1.4}body.theme-crm .crm-truncate{z-index:0;box-sizing:border-box;border:1px solid var(--border);min-inline-size:0;max-inline-size:15rem;color:var(--text-muted);background:var(--surface-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;cursor:help;transition:border-color .14s var(--ease-out), background .14s var(--ease-out), box-shadow .14s var(--ease-out);border-radius:.48rem;padding:.18rem .48rem;font-size:.72rem;line-height:1.35;display:inline-block;position:relative;overflow:hidden}body.theme-crm .crm-truncate:is(:hover,:focus-visible){z-index:32;border-color:var(--border-strong);outline:none}body.theme-crm .material-type-chip{max-inline-size:100%}@container (min-width:38rem) and (max-width:52rem){body.theme-crm .crm-table-scrollhost .ui-table:not(.crm-groups-table){min-width:min(44rem,100%)}body.theme-crm .crm-table-scrollhost .ui-table :is(th,td){padding-inline:.55rem}body.theme-crm .crm-table-scrollhost .ui-table th{font-size:.66rem}body.theme-crm .crm-table-scrollhost .ui-table td{font-size:.75rem}body.theme-crm .crm-table-scrollhost .crm-activity{grid-template-columns:minmax(2.7rem,1fr) auto;gap:.45rem;min-width:6.75rem;padding:.38rem .45rem}}@container (min-width:38rem) and (max-width:44rem){body.theme-crm .crm-groups-table{table-layout:auto;width:max-content;min-width:52rem}body.theme-crm .crm-groups-table th{white-space:nowrap;overflow-wrap:normal;height:2.85rem;min-height:2.6rem;width:auto!important}body.theme-crm .crm-groups-table :is(th,td):nth-child(6),body.theme-crm .crm-groups-table :is(th,td):nth-child(7){white-space:nowrap;font-variant-numeric:tabular-nums;padding-inline:.55rem}body.theme-crm .crm-groups-table td:nth-child(6),body.theme-crm .crm-groups-table td:nth-child(7){font-size:.75rem}body.theme-crm .crm-groups-table td{overflow-wrap:normal}}.crm-groups-table__actions-heading-icon{display:none}body.theme-crm .ui-table tbody td:last-child>.crm-row-actions{flex-wrap:nowrap;width:max-content;min-width:max-content}body.theme-crm .ui-table tbody td:last-child:has(>.crm-row-actions){white-space:nowrap;min-width:8.5rem}body.theme-crm .ui-table .crm-row-actions>.crm-row-action{border-radius:var(--radius-sm);place-items:center;block-size:2.5rem;min-block-size:2.5rem;inline-size:2.5rem;min-inline-size:2.5rem;padding:0;display:inline-grid}body.theme-crm .ui-table .crm-row-actions>.crm-row-action>svg{flex:none;block-size:1.05rem;inline-size:1.05rem}body.theme-crm .ui-table tbody tr:last-child td{border-bottom:0}body.theme-crm .ui-table tbody tr:nth-child(2n){background:0 0}body.theme-crm .ui-table tbody tr:hover td{background:color-mix(in srgb, var(--accent) 4.5%, var(--surface))}body.theme-crm .sales-table tbody tr.is-selected td,body.theme-crm .sales-table tbody tr.is-selected:hover td{background:var(--accent-muted)}body.theme-crm .ui-table tbody tr.reports-reference__summary>td,body.theme-crm .ui-table tbody tr.reports-reference__summary:hover>td,body.theme-crm .ui-table tbody td.reports-reference__total,body.theme-crm .ui-table tbody tr:hover>td.reports-reference__total{background:#eef3f1;font-weight:620}body.theme-crm .sales-table thead tr:nth-child(2) th{z-index:7;top:2.85rem}body.theme-crm .ui-table__primary{color:var(--text);font-weight:610}body.theme-crm .ui-table__muted{color:var(--text-muted);font-size:.7rem}body.theme-crm .crm-entity-link{appearance:none;color:var(--accent);font:inherit;text-align:left;text-underline-offset:.13em;cursor:pointer;background:0 0;border:0;border-radius:0;padding:0;font-weight:620;line-height:1.25;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-thickness:1px;display:inline}body.theme-crm .crm-entity-link--person{font-weight:720}body.theme-crm .crm-entity-link:hover{color:var(--accent-strong);text-decoration-color:currentColor}body.theme-crm .crm-entity-link:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 60%, transparent);outline-offset:.16rem}body.theme-crm .crm-entity-phone{color:var(--accent);white-space:nowrap;text-decoration:none}body.theme-crm .crm-entity-phone:hover{color:var(--accent-strong)}body.theme-crm .crm-table-enhanced th[data-crm-resizable=true]{position:sticky}body.theme-crm :where(.employees-table,.employee-detail-table).crm-table-enhanced thead th{z-index:6;background:linear-gradient(#fffffffa,#f7f9f8fa);position:sticky;top:0}body.theme-crm .crm-table-enhanced th[data-crm-resizable=true]:after{content:"";z-index:8;cursor:col-resize;pointer-events:auto;border-right:1px solid #0000;width:.5rem;position:absolute;top:.35rem;bottom:.35rem;right:0}body.theme-crm .crm-table-enhanced th[data-crm-resizable=true]:hover:after,body.theme-crm .crm-table-enhanced th[data-crm-resizable=true]:focus-visible:after,body.theme-crm .crm-table-enhanced.is-resizing th:after{border-right-color:color-mix(in srgb, var(--accent) 64%, transparent)}@media (pointer:coarse){body.theme-crm .crm-table-enhanced th[data-crm-resizable=true]:after{width:.75rem;right:0}}body.crm-resizing-column,body.crm-resizing-column *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}body.theme-crm .crm-table-scrollhost.is-mouse-panning,body.theme-crm .crm-table-scrollhost.is-mouse-panning *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}body.theme-crm .crm-row-menu{vertical-align:middle;align-items:center;display:inline-flex}body.theme-crm .crm-row-menu>summary{place-items:center;block-size:2.25rem;inline-size:2.25rem;padding:0;line-height:1;display:grid}body.theme-crm .crm-floating-scrollbar{--schedule-scrollbar-accent:var(--user-accent,var(--accent));right:auto;bottom:max(.25rem, env(safe-area-inset-bottom));z-index:80;border-top:1px solid var(--border);background:var(--surface-2);scrollbar-color:var(--schedule-scrollbar-accent) var(--surface-2);scrollbar-width:auto;opacity:0;visibility:hidden;height:.9rem;transition:opacity .16s var(--ease-out), visibility 0s linear .16s;overflow:auto hidden;box-shadow:0 -.35rem 1rem #12272312;position:fixed!important}body.theme-crm .crm-floating-scrollbar[data-visible=true]{opacity:1;visibility:visible;transition-delay:0s}body.theme-crm .crm-floating-scrollbar>div{height:1px}body.theme-crm .crm-floating-scrollbar::-webkit-scrollbar{height:.9rem}body.theme-crm .crm-floating-scrollbar::-webkit-scrollbar-track{background:var(--surface-2)}body.theme-crm .crm-floating-scrollbar::-webkit-scrollbar-thumb{border:.2rem solid var(--surface-2);background:var(--schedule-scrollbar-accent);border-radius:999px}body.theme-crm .crm-floating-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--user-accent-solid-hover,var(--accent-solid-hover))}body.theme-crm .crm-table-scroll:has(.crm-row-menu[open]){overflow:auto}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) .crm-row-menu[open]{z-index:52}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) :is(th,td):has(.crm-row-menu[open]){position:relative;z-index:51!important}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) tbody tr:has(.crm-row-menu[open]){z-index:50;position:relative}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) .crm-row-menu__list{overscroll-behavior:contain;z-index:53;width:max-content;min-width:11.25rem;max-width:min(18rem,100vw - 1.5rem);max-height:min(22rem,100dvh - 2rem);top:auto;bottom:calc(100% + .35rem);right:0;overflow-y:auto}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) tbody tr:nth-child(-n+2) .crm-row-menu__list{top:calc(100% + .35rem);bottom:auto}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) tbody tr:nth-last-child(-n+2) .crm-row-menu__list{top:auto;bottom:calc(100% + .35rem)}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll):has(tbody>tr:nth-child(-n+2):last-child):has(tbody .crm-row-menu[open]){padding-bottom:clamp(9rem,45dvh,18rem)}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) tbody:has(>tr:nth-child(-n+2):last-child) .crm-row-menu__list{top:calc(100% + .35rem);bottom:auto}body.theme-crm :where(.crm-modal,.widgets-modal-backdrop,.levels-overlay,.shop-overlay,.rewards-modal,.positions-overlay){z-index:100;-webkit-backdrop-filter:blur(.3rem);backdrop-filter:blur(.3rem);background:#0a19158f;place-items:center;padding:clamp(.75rem,3vw,2rem);display:grid;position:fixed;inset:0;overflow:auto}body.theme-crm :where(.crm-modal__card,.widgets-modal,.levels-dialog,.shop-modal,.positions-dialog,.rewards-modal__card){border-radius:var(--radius-lg);background:var(--surface);width:min(100%,48rem);max-height:calc(100dvh - 2rem);box-shadow:var(--shadow-lift);border:1px solid #ffffff80;overflow:auto}body.theme-crm .crm-modal__card--wide{width:min(100%,68rem)}body.theme-crm .crm-modal__card.positions-dialog{width:min(100%,58rem);overflow:hidden}body.theme-crm .crm-modal__card.programs-modal__card--wide{width:min(78rem,100vw - 3rem);max-width:calc(100vw - 3rem)}body.theme-crm .crm-modal__card.schedule-dialog--cancelled{width:min(82rem,100vw - clamp(1.5rem,6vw,4rem));max-width:calc(100vw - clamp(1.5rem,6vw,4rem))}body.theme-crm .schedule-dialog--cancelled .ui-table-wrap{min-width:0}@media (max-width:45rem){body.theme-crm .crm-modal__card.schedule-dialog--cancelled{width:100%;max-width:100%}}body.theme-crm .crm-modal__card.transfer-editor{width:min(100%,56rem)}body.theme-crm .crm-modal__card:is(.crm-confirm-dialog,.tasks-confirm){width:min(100%,29rem)}body.theme-crm .crm-modal__card.transfer-decision{width:min(100%,36rem)}body.theme-crm .crm-modal__card.crm-member-finance-modal{width:min(80rem,100vw - 2rem)}body.theme-crm .crm-modal__header{border-color:var(--border);background:var(--surface);z-index:4;gap:.8rem;min-height:4rem;padding:.9rem 1.1rem;position:sticky;top:0}body.theme-crm .crm-modal__footer{background:0 0;border:0;gap:.65rem;min-height:0;padding:.75rem 1.1rem 1.1rem;position:static}body.theme-crm .crm-modal__header h2{letter-spacing:-.02em;margin:0;font-size:1.03rem}body.theme-crm :where(.crm-modal__header,.widgets-modal>header)>button:not(.ui-btn){border-radius:var(--radius-sm);min-width:2.75rem;min-height:2.75rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}body.theme-crm :where(.crm-groups-toolbar,.tasks-filters,.transfer-filterbar,.inventory-filters,.reports-reference__filters,.sales-bulk){border:1px solid var(--border);border-radius:var(--radius);background:color-mix(in srgb, var(--surface) 86%, var(--surface-2));min-width:0;padding:.8rem}body.theme-crm .crm-groups-selectors{min-width:0;max-width:100%}body.theme-crm .crm-branch-selector__button{min-height:var(--control-height);border-color:var(--border);border-radius:var(--radius-sm);background:var(--surface)}body.theme-crm :where(.crm-attention-queue,.crm-group-section){border-color:var(--border);border-radius:var(--radius);box-shadow:none}body.theme-crm .crm-workspace-summary{border-color:color-mix(in srgb, var(--accent) 18%, var(--border));background:linear-gradient(120deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface))}body.theme-crm .sales-kanban{gap:.7rem;padding:.15rem .1rem .8rem}body.theme-crm .sales-kanban__column{border-color:var(--border);border-radius:var(--radius);background:color-mix(in srgb, var(--surface-2) 88%, var(--accent-soft));flex-basis:min(19rem,86vw)}body.theme-crm .sales-kanban__card{border-color:color-mix(in srgb, var(--border) 85%, transparent);border-radius:.65rem;gap:.45rem;box-shadow:0 .22rem .65rem #1227230b}body.theme-crm .crm-calendar,body.theme-crm :where(.tasks-calendar,.crm-schedule-week){border-color:var(--border);border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:none}body.theme-crm :where(.crm-lesson,.schedule-lesson-card){border-radius:.48rem;box-shadow:0 .15rem .5rem #12272312}body.theme-crm .crm-schedule-day>h3{color:var(--text);font-family:var(--font-display);align-items:baseline;gap:.02rem;margin:0;font-size:1rem;font-weight:700;line-height:1;display:flex}body.theme-crm .crm-schedule-day>h3 small{color:var(--text-muted);font-size:.68em;font-weight:620}body.theme-crm .crm-lesson-chip.is-upcoming{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));color:color-mix(in srgb, var(--accent) 74%, var(--text-muted));background:color-mix(in srgb, var(--accent) 4%, var(--surface))}body.theme-crm .crm-group-journal{border:1px solid var(--crm-panel-border,var(--border));border-radius:var(--radius);background:var(--crm-panel-background,var(--surface));box-shadow:var(--crm-panel-shadow,var(--shadow-soft));gap:.85rem;margin-top:.25rem;padding:clamp(.9rem,1.4vw,1.2rem);display:grid}body.theme-crm .crm-journal-pane:has(>.crm-field>select){grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:.5rem}body.theme-crm .crm-journal-pane:has(>.crm-field>select)>.ui-btn{min-height:var(--control-height);justify-self:start;margin-bottom:.02rem}body.theme-crm .crm-journal-pane:has(>.crm-field>select)>.crm-table-scroll{grid-column:1/-1}@media (max-width:40rem){body.theme-crm .crm-journal-pane:has(>.crm-field>select){grid-template-columns:1fr}body.theme-crm .crm-journal-pane:has(>.crm-field>select)>.crm-table-scroll{grid-column:1}}body.theme-crm .tasks-list{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:0;display:grid;overflow:hidden}body.theme-crm .task-card{border:0;border-bottom:1px solid var(--border);background:var(--surface);box-shadow:none;border-radius:0}body.theme-crm .task-card:last-child{border-bottom:0}body.theme-crm .task-card:hover{background:color-mix(in srgb, var(--accent) 4%, var(--surface))}body.theme-crm .task-card--priority{box-shadow:inset .2rem 0 var(--danger)}body.theme-crm :where(.task-icon,.sales-row-actions button,.sales-row-actions a,.inventory-row-actions button,.transfer-icon-button,.finance-journal-icon-button,.cashbook-icon-button,.trials-icon-button){border-radius:var(--radius-sm);min-width:2.5rem;min-height:2.5rem}body.theme-crm :where(.school-section,.school-settings-card,.crm-workspace-card,.employee-tab-card){border-color:var(--border);background:var(--surface)}body.theme-crm .school-settings-tabs{border-bottom-color:var(--border)}body.theme-crm :where(.levels-grid,.shop-product-grid,.reward-card-grid,.crm-positions-grid){gap:.75rem}body.theme-crm :where(.level-card,.shop-product,.reward-card){border-color:var(--border);border-radius:var(--radius);box-shadow:none}body.theme-crm :where(.employees-page,.employee-detail-page,.schedule-page,.tasks-page,.sales-page,.finance-journal,.school-settings-page,.reports-reference){align-content:start;gap:1rem;min-width:0;display:grid}body.theme-crm .employees-toolbar{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);min-width:0;box-shadow:none;gap:.55rem;padding:.72rem}body.theme-crm .employees-search{flex:2 19rem}body.theme-crm .employees-filter{max-width:14rem}body.theme-crm .employees-check{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:2.4rem;color:var(--text-muted);background:var(--surface-2);white-space:nowrap;padding:.35rem .55rem;font-size:.72rem}body.theme-crm .employees-table{min-width:68rem}body.theme-crm .employee-detail-table{min-width:max(100%,48rem)}body.theme-crm .employees-actions button{color:#687872;border:1px solid #0000;border-radius:.55rem;width:2.2rem;height:2.2rem}body.theme-crm .employees-actions button:hover,body.theme-crm .employees-actions button:focus-visible{color:var(--accent-strong);border-color:var(--accent-border);background:var(--accent-subtle)}body.theme-crm .employees-pagination{border:1px solid var(--border);background:var(--surface);border-radius:.65rem;gap:.2rem;width:fit-content;margin-left:auto;padding:.25rem}body.theme-crm .employees-pagination :where(button,span){border:0;border-radius:.48rem;min-width:2.2rem;min-height:2.2rem}body.theme-crm .employee-profile-header{border:1px solid var(--accent-border);border-radius:var(--radius);background:linear-gradient(120deg, color-mix(in srgb, var(--accent-muted) 32%, var(--surface)), var(--surface-2) 78%);box-shadow:none;padding:1rem}body.theme-crm .employee-avatar{color:var(--accent-on-solid);background:var(--accent-solid);box-shadow:inset 0 1px #ffffff40}body.theme-crm .employee-profile-header h1{font-family:var(--font-display);letter-spacing:-.035em;font-size:clamp(1.35rem,2vw,1.8rem)}body.theme-crm .employee-tabs{border-bottom:1px solid var(--border);background:0 0;min-height:2.8rem;padding:0;overflow-x:auto}body.theme-crm .employee-tabs button{min-height:2.75rem;color:var(--text-muted);white-space:nowrap;background:0 0;border-radius:0;padding:.55rem .72rem}body.theme-crm .employee-tabs button.is-active{color:var(--text);box-shadow:none;background:0 0}body.theme-crm :where(.employee-tab-card,.employee-login){border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:1rem}body.theme-crm .employee-accruals__month-toggle>span{align-items:center;gap:.45rem;font-weight:620;display:inline-flex}body.theme-crm .employee-accruals__month-chevron{color:var(--text-muted);transition:transform .17s var(--ease-out);flex:none}body.theme-crm .employee-accruals__month-toggle[aria-expanded=true] .employee-accruals__month-chevron{color:var(--accent);transform:rotate(90deg)}body.theme-crm .employee-accruals__month-toggle:hover{color:var(--accent-strong)}body.theme-crm .employee-dialog{width:min(100%,48rem);max-height:calc(100dvh - 2rem);padding:0;overflow:auto}body.theme-crm :where(.employee-dialog__header,.employee-dialog__footer){z-index:5;-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem);background:#fffffff5;padding:.9rem 1rem;position:sticky}body.theme-crm .employee-dialog__header{top:0}body.theme-crm .employee-dialog__footer{flex-wrap:wrap;align-items:center;bottom:0}body.theme-crm .employee-dialog__email-credentials{min-height:2.5rem;color:var(--text);cursor:pointer;align-items:center;gap:.55rem;margin-left:auto;font-size:.75rem;font-weight:560;line-height:1.35;display:inline-flex}body.theme-crm .employee-dialog__email-credentials input{width:1.05rem;height:1.05rem;accent-color:var(--accent);margin:0}body.theme-crm .employee-dialog__email-credentials:has(input:focus-visible){outline:2px solid color-mix(in srgb, var(--accent) 42%, transparent);outline-offset:3px}body.theme-crm .employee-bonus-modal__card{width:min(36rem,100vw - 2rem);max-height:calc(100dvh - 2rem);padding:0;overflow:auto}body.theme-crm .employee-bonus-modal__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.15rem 1.2rem .9rem;display:flex}body.theme-crm .employee-bonus-modal__header>div{gap:.18rem;display:grid}body.theme-crm .employee-bonus-modal__header span{color:var(--accent-strong);letter-spacing:.045em;text-transform:uppercase;font-size:.68rem;font-weight:720}body.theme-crm .employee-bonus-modal__header h2{color:var(--text);margin:0;font-size:1.15rem}body.theme-crm .employee-bonus-modal__header p{color:var(--text-muted);margin:.1rem 0 0;font-size:.8rem}body.theme-crm .employee-bonus-modal__header>button{width:2rem;height:2rem;color:var(--text-muted);background:var(--surface-2);font:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;font-size:1.15rem;display:grid}body.theme-crm .employee-bonus-modal__header>button:hover{color:var(--text);background:var(--surface-3)}body.theme-crm .employee-bonus-modal__body{gap:.85rem;padding:1rem 1.2rem 1.15rem;display:grid}body.theme-crm .employee-bonus-modal__period{border:1px solid var(--accent-border);border-radius:var(--radius-sm);color:var(--text-muted);background:var(--accent-subtle);justify-content:space-between;align-items:center;gap:1rem;padding:.65rem .75rem;font-size:.76rem;display:flex}body.theme-crm .employee-bonus-modal__period strong{color:var(--text);font-size:.78rem;font-weight:650}body.theme-crm .employee-bonus-modal__row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;display:grid}body.theme-crm .employee-bonus-modal textarea{resize:vertical;min-height:5rem}body.theme-crm .employee-bonus-modal .crm-modal__footer{border-top:1px solid var(--border);background:var(--surface-2);margin:0;padding:.85rem 1.2rem}@media (max-width:34rem){body.theme-crm .employee-bonus-modal__row{grid-template-columns:1fr}body.theme-crm .employee-bonus-modal__period{flex-direction:column;align-items:flex-start;gap:.2rem}}body.theme-crm .crm-toolbar>.students-status-tabs{order:2;margin-left:auto}body.theme-crm .crm-toolbar>.crm-filter-control{order:1}body.theme-crm .students-list-heading{align-items:center}body.theme-crm .students-list-heading__meta,body.theme-crm .students-list-heading__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}body.theme-crm .students-list-heading__meta>p{color:var(--text-muted);white-space:nowrap;margin:0;font-size:.76rem}body.theme-crm .crm-branch-selector__dropdown{border-color:var(--border-strong);border-radius:var(--radius);box-shadow:var(--shadow-lift);background:#fcfdfdfa}body.theme-crm :where(.crm-branch-selector__branch,.crm-branch-selector__room){color:#566962;border-radius:.52rem;min-height:2.4rem}body.theme-crm :where(.crm-branch-selector__branch,.crm-branch-selector__room).is-active{color:var(--accent-strong);background:var(--accent-muted)}body.theme-crm .crm-groups-toolbar{background:var(--surface-2);align-items:center;padding:.72rem}body.theme-crm .crm-groups-tabs button,body.theme-crm .crm-filter-tabs button,body.theme-crm .crm-group-members__tabs button{min-height:2.35rem;color:var(--text-muted);background:0 0;border-radius:.5rem}body.theme-crm :where(.crm-groups-tabs button,.crm-filter-tabs button,.crm-group-members__tabs button).is-active{color:var(--accent-strong);background:var(--accent-muted)}body.theme-crm .crm-filter-popover{border-color:var(--border-strong);border-radius:var(--radius);box-shadow:var(--shadow-lift);background:#fcfdfdfa}body.theme-crm .crm-attention-queue{background:var(--surface);overflow:clip}body.theme-crm .crm-attention-queue__toggle{color:#3d524b;background:#f3f7f5;min-height:3rem;padding:.7rem .85rem}body.theme-crm .crm-group-row>td{transition:background .14s var(--ease-out)}body.theme-crm .crm-group-details>td{background:color-mix(in srgb, var(--surface) 88%, var(--surface-2))!important;padding:.7rem!important}body.theme-crm .crm-group-workspace{gap:.75rem}body.theme-crm .crm-workspace-summary{border-radius:.68rem;padding:.8rem}body.theme-crm .crm-workspace-card{border:1px solid var(--crm-panel-border,var(--border));background:var(--crm-panel-background,var(--surface));border-radius:.68rem;padding:.9rem}body.theme-crm .crm-group-member-search{background:0 0;border:0;border-radius:0;padding:0;display:block;position:relative}body.theme-crm .crm-group-member-search>label{color:var(--text-muted);gap:.38rem;font-size:.74rem;font-weight:620;display:grid}body.theme-crm .crm-group-member-search>label>.ui-input{width:100%}body.theme-crm .crm-group-member-search__results{z-index:42;border:1px solid var(--border-strong);background:var(--surface);max-height:min(17rem,42dvh);box-shadow:var(--shadow-lift);border-radius:.58rem;gap:.18rem;margin:0;padding:.32rem;display:grid;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow-y:auto}body.theme-crm .crm-group-member-search__option{width:100%;min-height:2.7rem;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:.4rem;justify-content:space-between;align-items:center;gap:.65rem;padding:.48rem .55rem;display:flex}body.theme-crm .crm-group-member-search__option>span{gap:.08rem;min-width:0;display:grid}body.theme-crm .crm-candidate-tags{flex-wrap:wrap;gap:.2rem;min-width:0;margin-top:.08rem;display:flex}body.theme-crm .crm-candidate-tag{border:1px solid color-mix(in srgb, var(--border) 78%, transparent);max-width:100%;color:var(--text-muted);background:var(--surface-2);text-overflow:ellipsis;white-space:nowrap;border-radius:.28rem;padding:.08rem .3rem;font-size:.65rem;font-weight:570;line-height:1.2;overflow:hidden}body.theme-crm .crm-candidate-tag--pipeline{border-color:color-mix(in srgb, var(--accent) 28%, var(--border));color:var(--accent);background:color-mix(in srgb, var(--accent) 8%, var(--surface))}body.theme-crm .crm-group-member-search__option strong,body.theme-crm .crm-group-member-search__option small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.theme-crm .crm-group-member-search__option strong{font-size:.8rem;font-weight:670}body.theme-crm .crm-group-member-search__option small{color:var(--text-muted);font-size:.68rem}body.theme-crm .crm-group-member-search__option>i{border:1px solid color-mix(in srgb, var(--accent) 25%, var(--border));width:1.75rem;height:1.75rem;color:var(--accent);background:var(--accent-soft);border-radius:.38rem;flex:none;place-items:center;display:grid}body.theme-crm .crm-group-member-search__option:is(:hover,:focus-visible),body.theme-crm .crm-group-member-search__option[aria-selected=true]{background:color-mix(in srgb, var(--accent) 7%, var(--surface));outline:0}body.theme-crm .crm-group-member-search__state{color:var(--text-muted);margin:0;padding:.5rem .55rem;font-size:.76rem}body.theme-crm .crm-group-member-search__state.is-error{color:var(--danger)}body.theme-crm .crm-picker-results__candidate{gap:.1rem;min-width:0;display:grid}body.theme-crm .crm-picker-results__candidate>strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;line-height:1.25;overflow:hidden}body.theme-crm .crm-pagination{color:var(--text-muted);padding:.35rem 0}body.theme-crm .crm-students-pagination{border-top:1px solid color-mix(in srgb, var(--border) 72%, transparent);align-items:center;min-height:2.6rem;margin-top:.25rem;padding:.5rem 0;font-size:.76rem}body.theme-crm .crm-students-pagination__controls{justify-content:flex-end;align-items:center;gap:.4rem;display:inline-flex}body.theme-crm .crm-students-pagination__controls>span{min-width:8.9rem;color:var(--text-muted);text-align:center;white-space:nowrap}body.theme-crm .crm-students-pagination .ui-input{width:auto;min-width:8.25rem;min-height:2rem;padding-block:.28rem;font-size:.73rem}@media (max-width:42rem){body.theme-crm .crm-students-pagination,body.theme-crm .crm-students-pagination__controls{flex-wrap:wrap;align-items:center}body.theme-crm .crm-students-pagination{justify-content:flex-end}}body.theme-crm .schedule-workspace{isolation:isolate;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:var(--shadow-soft);gap:0;overflow:visible}@media (min-width:72rem){body.theme-crm .schedule-workspace>.crm-calendar{width:max(100%, min(var(--calendar-preferred-width), calc(100vw - var(--shell-sidebar))));position:relative;left:50%;transform:translate(-50%)}}body.theme-crm .data-exchange-mapping-field{gap:.38rem}body.theme-crm .data-exchange-mapping-field__label{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem .75rem;display:flex}body.theme-crm .data-exchange-mapping-field__label>label{color:var(--text);font-size:.78rem;font-weight:700}body.theme-crm .data-exchange-mapping-field__label>button{color:var(--accent-strong);font:650 .72rem/1.35 var(--font-sans), sans-serif;text-underline-offset:.16rem;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline;text-decoration-thickness:1px}body.theme-crm .data-exchange-mapping-help{width:min(43rem,100vw - 2rem)}body.theme-crm .data-exchange-mapping-help__body{gap:.85rem;display:grid}body.theme-crm .data-exchange-mapping-help__body>p,body.theme-crm .data-exchange-mapping-help__body h3{margin:0}body.theme-crm .data-exchange-mapping-help__body>p{color:var(--text-muted);font-size:.8rem;line-height:1.5}body.theme-crm .data-exchange-mapping-help__body pre{border:1px solid var(--border);background:var(--surface-2);max-width:100%;font:.73rem/1.55 var(--font-mono,monospace);border-radius:.45rem;margin:0;padding:.75rem;overflow:auto}body.theme-crm .data-exchange-mapping-help__body h3{font-size:.86rem}body.theme-crm .data-exchange-mapping-help__body dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin:0;display:grid}body.theme-crm .data-exchange-mapping-help__body dl>div{border:1px solid var(--border);background:var(--surface);border-radius:.42rem;min-width:0;padding:.55rem .6rem}body.theme-crm .data-exchange-mapping-help__body dt{flex-wrap:wrap;align-items:center;gap:.36rem;font-weight:700;display:flex}body.theme-crm .data-exchange-mapping-help__body dt code{overflow-wrap:anywhere}body.theme-crm .data-exchange-mapping-help__body dt b{color:var(--warning-strong,#9a6500);text-transform:uppercase;font-size:.62rem;font-weight:700}body.theme-crm .data-exchange-mapping-help__body dd{color:var(--text-muted);margin:.28rem 0 0;font-size:.72rem;line-height:1.4}@media (max-width:38rem){body.theme-crm .data-exchange-mapping-help__body dl{grid-template-columns:minmax(0,1fr)}}body.theme-crm .schedule-filters{z-index:20;background:0 0;border-bottom:0;grid-template-columns:repeat(auto-fit,minmax(10.5rem,1fr));gap:.65rem;padding:.8rem;position:relative}body.theme-crm .schedule-filters:has(.crm-filter-control){grid-template-columns:minmax(0,1fr) auto;align-items:center}body.theme-crm .schedule-filter-primary{align-items:center;gap:.55rem;min-width:0;display:flex}body.theme-crm .schedule-filters .crm-filter-control{z-index:21;justify-self:start}body.theme-crm .schedule-undo-button{min-height:2.1rem;color:var(--text);white-space:nowrap;gap:.42rem}body.theme-crm .schedule-undo-button:not(:disabled):is(:hover,:focus-visible){border-color:color-mix(in srgb, var(--accent) 38%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 8%, var(--surface))}body.theme-crm .schedule-change-notice{border:1px solid color-mix(in srgb, var(--accent) 23%, var(--border));min-width:0;color:var(--text);background:color-mix(in srgb, var(--accent) 6%, var(--surface));border-radius:.62rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.62rem .75rem;font-size:.78rem;display:flex}body.theme-crm .schedule-change-notice span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}body.theme-crm .schedule-change-notice button{color:var(--accent-strong);font:inherit;cursor:pointer;background:0 0;border:0;padding:.18rem .3rem;font-weight:700}body.theme-crm .schedule-filters .crm-filter-popover--compact{left:0;right:auto}body.theme-crm .crm-filter-popover--portalled{z-index:1000;position:fixed;overflow:visible}body.theme-crm .schedule-calendar-controls{background:0 0;border-top:0;border-bottom:0;gap:.55rem;min-width:0;padding:.65rem .8rem 0}body.theme-crm :where(.schedule-view-tabs,.schedule-choice-row,.schedule-lesson-tabs){border-color:var(--border);background:var(--surface-2);border-radius:.58rem;overflow-x:auto}body.theme-crm :where(.schedule-view-tabs,.schedule-choice-row,.schedule-lesson-tabs) button{border-color:var(--border);color:var(--text-muted);background:0 0}body.theme-crm :where(.schedule-view-tabs,.schedule-choice-row,.schedule-lesson-tabs) button.is-active{color:var(--accent-strong);background:var(--accent-muted)}body.theme-crm .crm-calendar{isolation:isolate;border:1px solid color-mix(in srgb, var(--border-strong) 68%, var(--border));background:color-mix(in srgb, var(--surface) 96%, var(--accent-soft));border-radius:.68rem;box-shadow:inset 0 1px #ffffff94}body.theme-crm .crm-calendar__header-row{z-index:8;background:#f5f8f7;grid-template-columns:4.5rem minmax(0,1fr);position:relative}body.theme-crm .crm-calendar__time-spacer{place-items:stretch stretch;min-width:0;padding:0;display:grid}body.theme-crm .crm-calendar__zoom-reset{width:100%;height:100%;min-height:2.5rem;color:var(--text-muted);cursor:pointer;transition:color .13s var(--ease-out), border-color .13s var(--ease-out), background .13s var(--ease-out);background:0 0;border:0;border-radius:.62rem 0 0;place-items:center;padding:0;display:grid}body.theme-crm .crm-calendar__zoom-reset:is(:hover,:focus-visible):not(:disabled){color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 11%, var(--surface))}body.theme-crm .crm-calendar__zoom-reset:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 56%, transparent);outline-offset:-2px}body.theme-crm .crm-calendar__zoom-reset:disabled{opacity:.32;cursor:default}body.theme-crm .crm-calendar__header-columns{overscroll-behavior-x:contain;scrollbar-width:none;min-width:0}body.theme-crm .crm-calendar__header-columns::-webkit-scrollbar{display:none}body.theme-crm .crm-calendar__header-cell{flex:0 0 var(--column-width);width:var(--column-width);color:#50635c;text-overflow:ellipsis;white-space:nowrap;background:#f5f8f7;padding:.7rem .65rem;position:relative;overflow:hidden}body.theme-crm .crm-calendar__body{grid-template-columns:4.5rem minmax(0,1fr);overflow:hidden}body.theme-crm .crm-calendar__times{z-index:4;cursor:ns-resize;touch-action:none;background:#f8faf9;position:relative}body.theme-crm .crm-calendar__times:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 52%, transparent);outline-offset:-2px}body.theme-crm .crm-calendar__time{box-sizing:border-box;color:var(--text-muted);border:0;justify-content:flex-end;align-items:flex-start;padding:0 .38rem 0 .25rem;font-size:.68rem;line-height:1;transition:height 80ms linear;display:flex;position:relative}body.theme-crm .crm-calendar__time:before{background:color-mix(in srgb, var(--border-strong) 58%, transparent);content:"";height:1px;position:absolute;inset:0 0 auto}body.theme-crm .crm-calendar__time:not(.is-end):after{top:var(--half-hour-height,calc(var(--slot-height) * 2));background:color-mix(in srgb, var(--border) 52%, transparent);content:"";height:1px;position:absolute;left:0;right:0}body.theme-crm .crm-calendar__time-hour,body.theme-crm .crm-calendar__time-half{z-index:2;background:inherit;font-variant-numeric:tabular-nums;display:inline-block;position:relative}body.theme-crm .crm-calendar__time-hour{padding-inline:.18rem;transform:translateY(.22rem)}body.theme-crm .crm-calendar__time-half{top:var(--half-hour-height,calc(var(--slot-height) * 2));color:color-mix(in srgb, var(--text-muted) 78%, transparent);letter-spacing:.01em;padding-inline:.14rem;font-size:.56rem;line-height:1;position:absolute;right:.16rem;transform:translateY(-50%)}body.theme-crm .crm-calendar__minor-times,body.theme-crm .crm-calendar__minor-time-layer{z-index:3;pointer-events:none;position:absolute;inset:0}body.theme-crm .crm-calendar__minor-time-layer{transition:opacity .12s linear}body.theme-crm .crm-calendar__minor-time-layer--half{opacity:.78}body.theme-crm .crm-calendar__minor-time-layer--quarter{opacity:var(--line-15-opacity)}body.theme-crm .crm-calendar__minor-time-layer>span{color:color-mix(in srgb, var(--text-muted) 76%, transparent);font-variant-numeric:tabular-nums;letter-spacing:.01em;white-space:nowrap;background:#f8faf9;padding-inline:.14rem;font-size:.54rem;line-height:1;position:absolute;right:.16rem;transform:translateY(-50%)}body.theme-crm .crm-calendar__time.is-end{overflow:visible}body.theme-crm .crm-calendar__time.is-end .crm-calendar__time-hour{transform:translateY(calc(-100% - .22rem))}body.theme-crm .crm-calendar__columns{overscroll-behavior-x:contain;scrollbar-color:#9fbdb4 #edf2f0;scrollbar-width:thin;min-width:0;overflow-x:auto}body.theme-crm .crm-calendar__column{flex:0 0 var(--column-width);width:var(--column-width);transition:height 80ms linear, background-color .14s var(--ease-out), box-shadow .14s var(--ease-out);background-color:#fcfdfd}body.theme-crm .crm-calendar__column.is-drop-target{background-color:color-mix(in srgb, var(--accent) 7%, #fcfdfd);box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent)}body.theme-crm .crm-calendar__grid-lines,body.theme-crm .crm-calendar__grid-line{pointer-events:none;position:absolute;inset:0}body.theme-crm .crm-calendar__grid-lines{z-index:0;overflow:hidden}body.theme-crm .crm-calendar__grid-line{background-repeat:repeat-y;transition:opacity .12s linear}body.theme-crm .crm-calendar__grid-line--hour{background-image:repeating-linear-gradient(to bottom, color-mix(in srgb, var(--border-strong) 58%, transparent) 0, color-mix(in srgb, var(--border-strong) 58%, transparent) 1px, transparent 1px, transparent var(--hour-height))}body.theme-crm .crm-calendar__grid-line--half{opacity:.72;background-image:repeating-linear-gradient(to bottom, color-mix(in srgb, var(--border) 56%, transparent) 0, color-mix(in srgb, var(--border) 56%, transparent) 1px, transparent 1px, transparent var(--half-hour-height))}body.theme-crm .crm-calendar__grid-line--quarter{opacity:var(--line-15-opacity);background-image:repeating-linear-gradient(to bottom, color-mix(in srgb, var(--border) 38%, transparent) 0, color-mix(in srgb, var(--border) 38%, transparent) 1px, transparent 1px, transparent var(--quarter-hour-height))}body.theme-crm .crm-calendar__column-resize{z-index:3;cursor:col-resize;touch-action:none;background:0 0;border:0;border-radius:.28rem;width:1.12rem;padding:0;position:absolute;top:.22rem;bottom:.22rem;right:-.56rem}body.theme-crm .crm-calendar__column-resize:after{background:color-mix(in srgb, var(--text-muted) 42%, transparent);content:"";opacity:.38;width:2px;height:1.3rem;transition:opacity .13s var(--ease-out), background .13s var(--ease-out);border-radius:999px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}body.theme-crm .crm-calendar__header-cell:is(:hover,:focus-within) .crm-calendar__column-resize:after,body.theme-crm .crm-calendar__column-resize:is(:hover,:focus-visible):after{opacity:1;background:color-mix(in srgb, var(--accent) 58%, var(--text-muted))}body.theme-crm .crm-calendar__column-resize:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 62%, transparent);outline-offset:.08rem}body.theme-crm .crm-lesson{border-color:color-mix(in srgb, var(--accent) 32%, var(--border));background:var(--accent-subtle);box-shadow:0 .15rem .45rem var(--accent-shadow);border-radius:.55rem;padding:.45rem .5rem;transition:top 80ms linear,height 80ms linear}body.theme-crm .schedule-lesson-card[draggable=true]{cursor:grab!important}body.theme-crm .schedule-lesson-card[draggable=true]:active{cursor:grabbing!important}body.theme-crm .schedule-lesson-card.is-dragging,body.theme-crm .schedule-lesson-card[data-moving=true]{opacity:.38}body.theme-crm .schedule-lesson-drop-preview{z-index:7;border:2px solid color-mix(in srgb, var(--accent) 72%, #fff);min-height:2.2rem;color:var(--accent-strong);background:repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent) 10%, var(--surface)) 0 8px, color-mix(in srgb, var(--accent) 4%, var(--surface)) 8px 16px);box-shadow:0 .5rem 1.25rem color-mix(in srgb, var(--accent) 18%, transparent);pointer-events:none;animation:schedule-drop-preview-in .12s var(--ease-out);border-radius:.58rem;align-content:start;gap:.16rem;padding:.42rem .48rem;display:grid;position:absolute;left:.38rem;right:.38rem;overflow:hidden}body.theme-crm .schedule-lesson-drop-preview strong,body.theme-crm .schedule-lesson-drop-preview span,body.theme-crm .schedule-lesson-drop-preview small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.theme-crm .schedule-lesson-drop-preview strong{font-size:.73rem}body.theme-crm .schedule-lesson-drop-preview span{font-variant-numeric:tabular-nums;font-size:.68rem;font-weight:700}body.theme-crm .schedule-lesson-drop-preview small{color:var(--text-muted);font-size:.62rem}body.theme-crm .schedule-month-cell{transition:background-color .14s var(--ease-out), box-shadow .14s var(--ease-out);grid-auto-rows:max-content;align-content:start}body.theme-crm .schedule-month-cell>button:first-child{align-self:start}body.theme-crm .crm-month-lessons{grid-auto-rows:max-content;align-self:start}body.theme-crm .crm-month-lesson{align-self:start;min-height:0}body.theme-crm .schedule-month-cell.is-drop-target{background:color-mix(in srgb, var(--accent) 8%, var(--surface));box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent)}body.theme-crm .schedule-month-drop-preview{border:1px dashed color-mix(in srgb, var(--accent) 70%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 9%, var(--surface));pointer-events:none;animation:schedule-drop-preview-in .12s var(--ease-out);border-radius:.44rem;gap:.1rem;padding:.36rem .42rem;display:grid;overflow:hidden}body.theme-crm .schedule-month-drop-preview :is(strong,span){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.theme-crm .schedule-month-drop-preview strong{font-variant-numeric:tabular-nums;font-size:.68rem}body.theme-crm .schedule-month-drop-preview span{color:var(--text-muted);font-size:.64rem}@keyframes schedule-drop-preview-in{0%{opacity:.35;transform:scale(.985)}}@media (max-width:760px){body.theme-crm .schedule-filter-primary{flex-wrap:wrap}body.theme-crm .schedule-filter-primary .schedule-undo-button{flex:auto}body.theme-crm .schedule-change-notice{align-items:flex-start}body.theme-crm .schedule-change-notice span{white-space:normal}}@media (prefers-reduced-motion:reduce){body.theme-crm :where(.schedule-lesson-drop-preview,.schedule-month-drop-preview){animation:none}}body.theme-crm .crm-lesson.is-selected{outline:.14rem solid var(--accent);outline-offset:.08rem}body.theme-crm .schedule-month-wrap{border-top:1px solid var(--border);scrollbar-color:#9fbdb4 #edf2f0}body.theme-crm .schedule-attendance-card{background:#f4f8f6;border-color:#d8e3df}body.theme-crm .tasks-viewbar{gap:.5rem;min-width:0}body.theme-crm .tasks-filters{border-radius:var(--radius);background:var(--surface-2);box-shadow:none;padding:.8rem}body.theme-crm .tasks-mode-switch{border-color:var(--border);background:var(--surface-2)}body.theme-crm .tasks-mode-switch button.is-active{color:var(--accent-strong);background:var(--accent-muted)}body.theme-crm .task-card{border:1px solid var(--border);box-shadow:none;border-left:.22rem solid #c4d4cf;border-radius:.7rem;padding:.78rem .85rem}body.theme-crm .tasks-list{background:0 0;border:0;gap:.65rem;overflow:visible}body.theme-crm .tasks-list>.task-card:last-child{border-bottom:1px solid var(--border)}body.theme-crm .task-card--priority{box-shadow:none;background:#fdfafb;border-color:#ead2d6 #ead2d6 #ead2d6 #c9828e}body.theme-crm .task-card--done{border-color:color-mix(in srgb, var(--success) 28%, var(--border));border-left-color:var(--success);background:var(--surface)}body.theme-crm :where(.task-type,[class*=task-type--]){color:var(--text-muted);background:var(--surface-2)}body.theme-crm .task-card__result{box-sizing:border-box;border:1px solid color-mix(in srgb, var(--success) 22%, var(--border));max-width:100%;color:var(--success-strong);background:color-mix(in srgb, var(--success-soft) 28%, var(--surface));overflow-wrap:anywhere;border-radius:.5rem;margin:.72rem 0 0;padding:.56rem .68rem}body.theme-crm .tasks-calendar{border-radius:var(--radius)}body.theme-crm .tasks-calendar__header{background:var(--surface-2);min-width:0}body.theme-crm .tasks-calendar__header strong{min-width:0}body.theme-crm .tasks-calendar__grid{scrollbar-color:#9fbdb4 #edf2f0;scrollbar-width:thin}body.theme-crm .tasks-calendar__day:nth-child(odd){background:color-mix(in srgb, var(--surface-2) 48%, var(--surface))}body.theme-crm .tasks-calendar__task{color:var(--accent-strong);border-color:var(--accent-border);background:var(--accent-muted)}body.theme-crm .sales-page__header{min-width:0;padding-bottom:.2rem}body.theme-crm .sales-page__header-copy{min-width:0}body.theme-crm .sales-page__header-copy .sales-found{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-top:.48rem;font-size:.78rem;display:inline-flex}body.theme-crm .sales-page__header-actions{align-items:flex-start}body.theme-crm .sales-view-switch{border:1px solid var(--border);background:var(--surface-2);border-radius:.62rem;grid-template-columns:repeat(2,auto);gap:.18rem;padding:.18rem;display:inline-grid}body.theme-crm .sales-view-switch>.ui-btn{min-height:2.25rem;box-shadow:none;color:var(--text-muted);background:0 0;border-color:#0000;border-radius:.42rem;padding-inline:.62rem}body.theme-crm .sales-view-switch>.ui-btn:hover{color:var(--text);background:color-mix(in srgb, var(--surface) 70%, transparent)}body.theme-crm .sales-view-switch>.ui-btn.is-active{border-color:var(--border);background:var(--surface);box-shadow:none;color:var(--text)}body.theme-crm .sales-page__create-actions{gap:.32rem;min-width:max-content;display:grid}body.theme-crm .sales-page__create-actions>.ui-btn,body.theme-crm .sales-page__create-actions .sales-actions,body.theme-crm .sales-page__create-actions .sales-actions>summary{width:100%}body.theme-crm .sales-page__create-actions .sales-actions>summary{justify-content:center}body.theme-crm .sales-pipeline-line{color:#546760}body.theme-crm .sales-pipeline-picker>summary,body.theme-crm .sales-actions>summary{border:1px solid var(--border);background:var(--surface);border-radius:.55rem;align-items:center;min-height:2.35rem;padding:.48rem .65rem;font-size:.76rem;display:inline-flex}body.theme-crm .sales-table__filters th{background:#f1f5f3}body.theme-crm .sales-table__filters .ui-input{background:#ffffffe6;min-height:2.2rem;padding-block:.4rem}body.theme-crm .sales-kanban__column{background:#f2f6f4;border-color:#d8e2df}body.theme-crm .sales-kanban__column:nth-child(3n+2){background:#f4f3f7}body.theme-crm .sales-kanban__column:nth-child(3n){background:#f7f4f1}body.theme-crm .sales-kanban__card{box-shadow:none;border-color:#dce4e1;border-radius:.62rem;padding:.72rem}body.theme-crm .sales-bulk{background:var(--accent-muted)}body.theme-crm .finance-journal__heading h1{font-family:var(--font-display);letter-spacing:-.035em;font-size:clamp(1.45rem,2vw,1.9rem)}body.theme-crm .finance-journal__tabs{gap:.9rem;overflow-x:auto}body.theme-crm .finance-journal__tabs button{white-space:nowrap;min-height:2.75rem;font-size:.78rem}body.theme-crm .finance-journal__tabs button.is-active{color:var(--accent-strong);border-color:var(--accent)}body.theme-crm .finance-journal__filters{border-radius:var(--radius);background:var(--surface-2);box-shadow:none;gap:.65rem;padding:.8rem}body.theme-crm .finance-journal__stats{border:1px solid var(--border);border-radius:var(--radius);background:var(--crm-panel-background,var(--surface));gap:0;overflow:hidden}body.theme-crm .finance-journal__stats article{border:0;border-right:1px solid var(--border);min-height:4.8rem;box-shadow:none;border-radius:0;padding:.85rem 1rem}body.theme-crm .finance-journal__stats article:last-child{border-right:0}body.theme-crm .finance-journal__stats strong{font-family:var(--font-display);font-size:1.15rem}body.theme-crm .finance-journal__stats .is-expense strong,body.theme-crm .finance-journal__amount.is-expense{color:#925665}body.theme-crm .finance-journal__stats .is-income strong,body.theme-crm .finance-journal__amount.is-income{color:#32715b}body.theme-crm :where(.finance-journal__payment,.finance-journal__auto,.finance-journal__voided){border:1px solid var(--border);color:#5d6c67;background:#f0f4f2}body.theme-crm .finance-journal__voided{color:#895661;background:#f7edef;border-color:#e6d1d6}body.theme-crm .school-settings-tabs{background:0 0;gap:.1rem;padding:0}body.theme-crm .school-settings-tabs button{min-height:2.75rem;color:var(--text-muted);border-radius:0;padding:.55rem .7rem;font-size:.76rem}body.theme-crm .school-settings-tabs button.is-active{color:var(--accent-strong);border-color:var(--accent)}body.theme-crm .school-settings-card{padding:clamp(.9rem,1.5vw,1.2rem)}body.theme-crm .school-section{gap:1rem}body.theme-crm .school-preferences-section{gap:.42rem}body.theme-crm .school-preferences-section>h2{margin-top:.7rem}body.theme-crm .school-preferences-section>h2:first-child{margin-top:0}body.theme-crm .school-section>h2{border-bottom:1px solid var(--border);font-family:var(--font-display);padding-bottom:.5rem;font-size:.95rem}body.theme-crm .school-table-views-reset{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;margin-top:.1rem;padding-top:.9rem;display:flex}body.theme-crm .school-table-views-reset>div{min-width:0}body.theme-crm .school-table-views-reset strong{color:var(--text);font-size:.78rem;font-weight:700;display:block}body.theme-crm .school-table-views-reset p{color:var(--text-muted);margin:.18rem 0 0;font-size:.72rem;line-height:1.35}body.theme-crm .school-table-views-reset .ui-btn{flex:none}body.theme-crm .interface-settings-page{gap:1rem;display:grid}body.theme-crm .interface-settings-card{padding:clamp(.9rem,1.5vw,1.2rem)}body.theme-crm .interface-settings-card>section{gap:1rem;display:grid}body.theme-crm .interface-settings-card__heading{align-items:flex-start;gap:.7rem;display:flex}body.theme-crm .interface-settings-card__heading>span{border-radius:var(--radius-sm);width:2.25rem;height:2.25rem;color:var(--accent);background:var(--accent-soft);flex:none;place-items:center;display:grid}body.theme-crm .interface-settings-card__heading h2{color:var(--text);font-family:var(--font-display);margin:0;font-size:.96rem}body.theme-crm .interface-settings-card__heading p{color:var(--text-muted);margin:.18rem 0 0;font-size:.76rem;line-height:1.45}body.theme-crm .interface-accent-picker{grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.55rem;display:grid}body.theme-crm .interface-accent-picker>button,body.theme-crm .interface-accent-custom>button{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:3rem;color:var(--text);background:var(--surface);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:.65rem;padding:.55rem .65rem;font-size:.75rem;display:flex}body.theme-crm .interface-accent-picker>button:hover,body.theme-crm .interface-accent-custom>button:hover,body.theme-crm .interface-accent-custom>button.is-open{border-color:color-mix(in srgb, var(--swatch,var(--accent)) 48%, var(--border));background:var(--surface-2)}body.theme-crm .interface-accent-picker>button.is-selected{border-color:var(--swatch);box-shadow:inset 0 0 0 1px var(--swatch)}body.theme-crm .interface-accent-picker>button>i{color:#fff;background:var(--swatch);width:1.65rem;height:1.65rem;box-shadow:0 0 0 1px color-mix(in srgb, var(--swatch) 34%, var(--border));border:1px solid #ffffff6b;border-radius:50%;flex:none;place-items:center;display:grid}body.theme-crm .interface-accent-custom{min-width:0;position:relative}body.theme-crm .interface-accent-custom>button{cursor:pointer;width:100%}body.theme-crm .interface-accent-custom>button>i{inline-size:1.8rem;width:1.8rem;block-size:1.8rem;border:1px solid color-mix(in srgb, var(--swatch) 38%, var(--border));background:var(--swatch);border-radius:50%;flex:none;height:1.8rem;box-shadow:inset 0 0 0 .16rem #ffffff38}body.theme-crm .interface-accent-custom>button>span{gap:.08rem;display:grid}body.theme-crm .interface-accent-custom>button strong{font-size:.75rem}body.theme-crm .interface-accent-custom>button small{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.66rem}body.theme-crm .interface-accent-custom__panel{z-index:30;border:1px solid var(--border-strong);border-radius:var(--radius);min-width:17rem;color:var(--text);background:var(--surface);box-shadow:var(--shadow-lift);gap:.7rem;padding:.75rem;display:grid;position:absolute;top:calc(100% + .45rem);left:0;right:0}body.theme-crm .interface-accent-custom__panel>header{grid-template-columns:2.25rem minmax(0,1fr);align-items:end;gap:.65rem;display:grid}body.theme-crm .interface-accent-custom__panel>header>span,body.theme-crm .interface-color-native{border:1px solid var(--accent-border);background:var(--swatch);border-radius:50%;width:2.25rem;height:2.25rem;box-shadow:inset 0 0 0 .2rem #fff3}body.theme-crm .interface-color-native{cursor:pointer;display:block;position:relative;overflow:hidden}body.theme-crm .interface-color-native input{opacity:0;cursor:pointer;border:0;width:calc(100% + .7rem);height:calc(100% + .7rem);padding:0;position:absolute;inset:-.35rem}body.theme-crm .interface-accent-custom__panel>header label{gap:.22rem;display:grid}body.theme-crm .interface-accent-custom__panel label>span{color:var(--text-muted);font-size:.66rem;font-weight:620}body.theme-crm .interface-accent-custom__panel>header input{border:1px solid var(--border);border-radius:var(--radius-xs);min-width:0;height:2rem;color:var(--text);background:var(--surface-2);font:inherit;font-variant-numeric:tabular-nums;text-transform:uppercase;padding:0 .55rem;font-size:.75rem}body.theme-crm .interface-accent-custom__channel{grid-template-columns:3.25rem minmax(0,1fr) 2.25rem;align-items:center;gap:.55rem;display:grid}body.theme-crm .interface-accent-custom__channel.is-opacity{border-top:1px solid color-mix(in srgb, var(--border) 74%, transparent);grid-template-columns:5.4rem minmax(0,1fr) 2.8rem;padding-top:.1rem}body.theme-crm .interface-accent-custom__channel input{width:100%;accent-color:var(--accent)}body.theme-crm .interface-accent-custom__channel output{color:var(--text-muted);text-align:right;font-variant-numeric:tabular-nums;font-size:.68rem}body.theme-crm .interface-accent-custom__panel>button{border:1px solid var(--accent-border);border-radius:var(--radius-xs);min-height:2rem;color:var(--accent-strong);background:var(--accent-muted);font:inherit;cursor:pointer;justify-self:end;padding:.3rem .75rem;font-size:.72rem;font-weight:650}body.theme-crm .interface-color-picker{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.48rem .6rem;min-width:0;min-height:3rem;padding:.48rem .58rem;display:grid}body.theme-crm .interface-color-picker:focus-within{border-color:color-mix(in srgb, var(--accent) 52%, var(--border));box-shadow:0 0 0 .18rem color-mix(in srgb, var(--accent) 9%, transparent)}body.theme-crm .interface-color-picker__swatch{border:1px solid color-mix(in srgb, var(--text) 18%, var(--border));cursor:pointer;background-color:#0000;background-image:linear-gradient(45deg,#d9dee5 25%,#0000 25% 75%,#d9dee5 75%),linear-gradient(45deg,#d9dee5 25%,#fff 25% 75%,#d9dee5 75%);background-position:0 0,.3rem .3rem;background-repeat:repeat,repeat;background-size:.6rem .6rem;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-radius:.48rem;width:2rem;height:2rem;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff47}body.theme-crm .interface-color-picker__swatch:after{background:var(--swatch);content:"";pointer-events:none;position:absolute;inset:0}body.theme-crm .interface-color-picker__swatch input{z-index:1;opacity:0;cursor:pointer;border:0;width:calc(100% + .8rem);height:calc(100% + .8rem);padding:0;position:absolute;inset:-.4rem}body.theme-crm .interface-color-picker__hex{gap:.2rem;min-width:0;display:grid}body.theme-crm .interface-color-picker__hex>span:first-child{color:var(--text);font-size:.71rem;font-weight:660}body.theme-crm .interface-color-picker__hex input{border:1px solid var(--border);border-radius:var(--radius-xs);width:100%;min-width:0;height:1.7rem;color:var(--text);background:var(--surface-2);font:inherit;font-variant-numeric:tabular-nums;text-transform:uppercase;outline:0;padding:0 .48rem;font-size:.72rem}body.theme-crm .interface-color-picker__hex input:focus{border-color:var(--accent-border);background:var(--surface)}body.theme-crm .interface-color-picker__opacity{grid-column:1/-1;gap:.38rem;display:grid}body.theme-crm .interface-color-picker__opacity>span{color:var(--text-muted);justify-content:space-between;align-items:center;gap:.75rem;font-size:.65rem;font-weight:620;display:flex}body.theme-crm .interface-color-picker__opacity output{color:var(--text);font-variant-numeric:tabular-nums}body.theme-crm .interface-color-picker__opacity input{width:100%;accent-color:var(--accent)}@media (max-width:30rem){body.theme-crm .interface-accent-custom__panel{width:min(18rem,100vw - 3rem);min-width:0;right:auto}}body.theme-crm .interface-paper-card{overflow:visible}body.theme-crm .interface-paper-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;display:grid}body.theme-crm .interface-paper-presets>button{border:1px solid var(--border);border-radius:var(--radius);min-width:0;color:var(--text);background:var(--surface);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out), translate .15s var(--ease-out);padding:0;display:grid;position:relative;overflow:hidden}body.theme-crm .interface-paper-presets>button:hover{border-color:var(--border-strong);translate:0 -1px}body.theme-crm .interface-paper-presets>button.is-selected{border-color:var(--accent-border);box-shadow:inset 0 0 0 1px var(--accent-border)}body.theme-crm .interface-paper-presets>button>span:nth-child(2){gap:.16rem;min-width:0;padding:.68rem .72rem .74rem;display:grid}body.theme-crm .interface-paper-presets strong{font-size:.75rem;font-weight:680}body.theme-crm .interface-paper-presets small{color:var(--text-muted);font-size:.66rem;line-height:1.38}body.theme-crm .interface-paper-preset__preview{border-bottom:1px solid color-mix(in srgb, var(--border) 74%, transparent);background-color:var(--preview-page);grid-template-columns:27% 1fr;height:4.2rem;display:grid;position:relative;overflow:hidden}body.theme-crm .interface-paper-preset__preview>em{z-index:1;background:var(--preview-topbar);border-bottom:1px solid #50493c14;height:.72rem;position:absolute;top:0;left:27%;right:0}body.theme-crm .interface-paper-preset__preview>i{z-index:1;background-color:var(--preview-sidebar);border-right:1px solid #50493c1f;position:relative}body.theme-crm .interface-paper-preset__preview>b{z-index:1;background:#ffffffbd;border:1px solid #50493c17;border-radius:.34rem;width:56%;height:1.7rem;margin:1.16rem auto 0;display:block;position:relative;box-shadow:0 .8rem 0 -.55rem #ffffff8a}body.theme-crm .interface-paper-preset__preview.is-paper:after,body.theme-crm .interface-paper-preview[data-texture]:not([data-texture=none]):after{pointer-events:none;content:"";opacity:calc(var(--preview-grain) * .36);mix-blend-mode:multiply;background:url(/crm/textures/paper-grain.svg) 0 0/96px 96px;position:absolute;inset:0}body.theme-crm .interface-paper-preset__check{width:1.35rem;height:1.35rem;color:var(--accent-on-solid);background:var(--accent-solid);border-radius:50%;place-items:center;display:grid;position:absolute;top:.45rem;right:.45rem;box-shadow:0 0 0 .18rem #fff9}body.theme-crm .interface-paper-preview{border:1px solid var(--border);border-radius:var(--radius);background:var(--preview-page);grid-template-columns:minmax(6.5rem,19%) minmax(0,1fr);min-height:8.75rem;display:grid;position:relative;overflow:hidden}body.theme-crm .interface-paper-preview aside,body.theme-crm .interface-paper-preview main{z-index:1;position:relative}body.theme-crm .interface-paper-preview aside{background:var(--preview-sidebar);border-right:1px solid #50493c1a;align-content:start;gap:.55rem;padding:1.1rem .8rem;display:grid}body.theme-crm .interface-paper-preview aside span{background:color-mix(in srgb, var(--text) 14%, transparent);border-radius:999px;width:78%;height:.46rem}body.theme-crm .interface-paper-preview aside span:first-child{background:color-mix(in srgb, var(--accent) 38%, transparent);border-radius:.32rem;width:48%;height:1rem;margin-bottom:.35rem}body.theme-crm .interface-paper-preview main{grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:.65rem;padding:2rem 1.1rem 1.1rem;display:grid;position:relative}body.theme-crm .interface-paper-preview main>header{z-index:1;background:var(--preview-topbar);border-bottom:1px solid #50493c14;height:1.25rem;position:absolute;top:0;left:0;right:0}body.theme-crm .interface-paper-preview main>span{background:color-mix(in srgb, var(--text) 16%, transparent);border-radius:999px;grid-column:1/-1;width:34%;height:.62rem}body.theme-crm .interface-paper-preview main>div{border:1px solid color-mix(in srgb, var(--border) 84%, transparent);background:color-mix(in srgb, var(--surface) 88%, transparent);height:3.6rem;box-shadow:var(--shadow-soft);border-radius:.55rem}body.theme-crm .interface-paper-controls{border:1px solid var(--border);border-radius:var(--radius);background:color-mix(in srgb, var(--surface-2) 72%, transparent);gap:.8rem;padding:.85rem;display:grid}body.theme-crm .interface-paper-controls__heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}body.theme-crm .interface-paper-controls__heading>div{gap:.12rem;display:grid}body.theme-crm .interface-paper-controls__heading strong{font-size:.78rem}body.theme-crm .interface-paper-controls__heading small{color:var(--text-muted);font-size:.68rem}body.theme-crm .interface-paper-controls__heading>span{border-radius:var(--radius-chip);color:var(--accent-strong);background:var(--accent-muted);white-space:nowrap;padding:.28rem .52rem;font-size:.65rem;font-weight:650}body.theme-crm .interface-paper-colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}body.theme-crm .interface-paper-colors .interface-color-picker{background:var(--surface)}body.theme-crm .interface-paper-texture-row{grid-template-columns:minmax(20rem,1fr) minmax(15rem,.8fr);align-items:end;gap:1rem;display:grid}body.theme-crm .interface-paper-texture-row>div{gap:.38rem;display:grid}body.theme-crm .interface-paper-texture-row>div>span,body.theme-crm .interface-paper-grain>span>span{color:var(--text-muted);font-size:.67rem;font-weight:650}body.theme-crm .interface-paper-texture-row>div>div{border:1px solid var(--border);background:var(--surface);border-radius:.62rem;gap:.16rem;width:fit-content;padding:.2rem;display:flex}body.theme-crm .interface-paper-texture-row button{min-height:2rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.45rem;padding:.32rem .72rem;font-size:.7rem;font-weight:610}body.theme-crm .interface-paper-texture-row button.is-active{color:var(--accent-strong);background:var(--accent-muted);box-shadow:inset 0 0 0 1px var(--accent-border)}body.theme-crm .interface-paper-grain{gap:.5rem;display:grid}body.theme-crm .interface-paper-grain>span{justify-content:space-between;align-items:center;gap:1rem;display:flex}body.theme-crm .interface-paper-grain output{color:var(--text);font-variant-numeric:tabular-nums;font-size:.7rem}body.theme-crm .interface-paper-grain input{width:100%;accent-color:var(--accent)}body.theme-crm .interface-paper-grain input:disabled{cursor:not-allowed;opacity:.42}@media (max-width:70rem){body.theme-crm .interface-paper-presets,body.theme-crm .interface-paper-colors{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:46rem){body.theme-crm .interface-paper-texture-row{grid-template-columns:1fr}}@media (max-width:36rem){body.theme-crm .interface-paper-presets,body.theme-crm .interface-paper-colors{grid-template-columns:1fr}body.theme-crm .interface-paper-preview{grid-template-columns:4.5rem minmax(0,1fr)}body.theme-crm .interface-paper-preview main{grid-template-columns:1fr}body.theme-crm .interface-paper-preview main>div:last-child{display:none}body.theme-crm .interface-paper-controls__heading{flex-direction:column;align-items:flex-start}body.theme-crm .interface-paper-texture-row>div>div{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}body.theme-crm .interface-paper-texture-row button{padding-inline:.35rem}}body.theme-crm .interface-settings-card>section>.ui-btn{width:fit-content}body.theme-crm .interface-table-stripes{border:1px solid var(--border);border-radius:var(--radius);background:color-mix(in srgb, var(--surface-2) 76%, transparent);grid-template-columns:minmax(0,1fr) minmax(15rem,.8fr);align-items:center;gap:1rem;padding:.78rem .85rem;display:grid}body.theme-crm .interface-panel-contrast{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}body.theme-crm .interface-panel-contrast>button{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:4rem;color:var(--text);background:var(--surface);font:inherit;text-align:left;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.62rem .7rem;display:grid}body.theme-crm .interface-panel-contrast>button:hover{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));background:var(--surface-2)}body.theme-crm .interface-panel-contrast>button.is-selected{border-color:color-mix(in srgb, var(--accent) 72%, var(--border));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent)}body.theme-crm .interface-panel-contrast>button>span:last-of-type{gap:.12rem;display:grid}body.theme-crm .interface-panel-contrast strong{font-size:.76rem;font-weight:680}body.theme-crm .interface-panel-contrast small{color:var(--text-muted);font-size:.68rem;line-height:1.3}body.theme-crm .interface-panel-contrast>button>svg{color:var(--accent)}body.theme-crm .interface-panel-contrast__preview{background:var(--surface-2);border-radius:.28rem;grid-template-columns:repeat(2,.48rem);gap:.16rem;width:1.12rem;height:1.12rem;padding:.12rem;display:grid}body.theme-crm .interface-panel-contrast__preview i{border:1px solid var(--border);background:var(--surface);border-radius:.12rem}body.theme-crm .interface-panel-contrast__range{border:1px solid var(--border);border-radius:var(--radius-sm);background:color-mix(in srgb, var(--surface-2) 76%, transparent);gap:.42rem;padding:.72rem .78rem;display:grid}body.theme-crm .interface-panel-contrast__range>span{color:var(--text-muted);justify-content:space-between;align-items:center;gap:.75rem;font-size:.72rem;font-weight:620;display:flex}body.theme-crm .interface-panel-contrast__range output{color:var(--text);font-variant-numeric:tabular-nums}body.theme-crm .interface-panel-contrast__range input{width:100%;accent-color:var(--accent)}body.theme-crm .interface-panel-contrast>button.is-selected .interface-panel-contrast__preview i{border-color:color-mix(in srgb, var(--accent) 54%, var(--border))}body.theme-crm .interface-table-stripes__toggle{align-items:center;min-height:0;padding:0}body.theme-crm .interface-table-stripes__toggle input{margin:0}body.theme-crm .interface-table-stripes__toggle>span{gap:.14rem;display:grid}body.theme-crm .interface-table-stripes__toggle strong{color:var(--text);font-size:.76rem;font-weight:680}body.theme-crm .interface-table-stripes__toggle small{color:var(--text-muted);font-size:.68rem;line-height:1.42}body.theme-crm .interface-table-stripes__opacity{gap:.42rem;display:grid}body.theme-crm .interface-table-stripes__opacity>span{color:var(--text-muted);justify-content:space-between;align-items:center;gap:.75rem;font-size:.68rem;font-weight:640;display:flex}body.theme-crm .interface-table-stripes__opacity output{color:var(--text);font-variant-numeric:tabular-nums}body.theme-crm .interface-table-stripes__opacity input{width:100%;accent-color:var(--accent)}body.theme-crm .interface-table-stripes__opacity input:disabled{cursor:not-allowed;opacity:.42}@media (max-width:42rem){body.theme-crm .interface-table-stripes{grid-template-columns:1fr;gap:.8rem}body.theme-crm .interface-panel-contrast{grid-template-columns:1fr}}body.theme-crm .school-switch-row{min-height:3.6rem;padding:.62rem 0}body.theme-crm .school-preferences-section .school-switch-row{align-items:center;gap:.8rem;min-height:2.7rem;padding:.34rem 0}body.theme-crm .school-preferences-section .school-switch-row>span:first-child{gap:.1rem}body.theme-crm .school-preferences-section .school-switch-row strong{font-size:.78rem;font-weight:470;line-height:1.32}body.theme-crm .school-preferences-section .school-switch-row small{font-size:.7rem;line-height:1.3}body.theme-crm .school-switch-row input{opacity:0;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}body.theme-crm .school-switch-control{width:2.45rem;height:1.4rem;transition:border-color .16s var(--ease-out), background .16s var(--ease-out);background:#dbe3e0;border:1px solid #bdcbc6;border-radius:999px;flex:none;margin-top:.1rem;position:relative}body.theme-crm .school-preferences-section .school-switch-control{margin-top:0}body.theme-crm .school-switch-control:after{content:"";width:.96rem;height:.96rem;transition:transform .16s var(--ease-out);background:#fff;border-radius:50%;position:absolute;top:.16rem;left:.17rem;box-shadow:0 1px 3px #18352d33}body.theme-crm :is(.payroll-months,.my-accruals-periods) button.is-active{color:var(--accent-on-solid);border-color:var(--accent-solid);background:var(--accent-solid)}body.theme-crm :is(.payroll-accrual-line,.my-accruals-summary) .is-paid,body.theme-crm .positions-zone-chip i{color:var(--success-strong)}body.theme-crm .school-switch-row input:checked+.school-switch-control{border-color:var(--accent-solid);background:var(--accent-solid)}body.theme-crm .school-switch-row input:checked+.school-switch-control:after{transform:translate(1.02rem)}body.theme-crm .school-switch-row input:focus-visible+.school-switch-control{outline:.14rem solid color-mix(in srgb, var(--focus) 62%, transparent);outline-offset:.14rem}body.theme-crm .school-asset,body.theme-crm .school-accordion__item{border-color:var(--border);background:#fbfcfc;border-radius:.68rem}body.theme-crm .school-accordion__body{background:#f5f8f7}body.theme-crm .reports-reference__toolbar{background:#f8faf9;padding:.8rem}body.theme-crm .reports-reference__section{padding-block:.9rem}body.theme-crm .reports-reference__grand-total,body.theme-crm .reports-reference__caption{color:#435850;background:#eef4f2;border:1px solid #d9e3e0}body.theme-crm .reports-reference__export-menu,body.theme-crm .reports-reference__row-menu>div{border-color:var(--border-strong);box-shadow:var(--shadow-lift);background:#fcfdfdfc}@media (max-width:64rem){body.theme-crm .finance-journal__filters{grid-template-columns:repeat(3,minmax(0,1fr))}body.theme-crm .schedule-calendar-controls{flex-wrap:wrap;align-items:stretch}}@media (max-width:48rem){body.theme-crm .employees-toolbar{align-items:stretch}body.theme-crm :where(.employees-search,.employees-filter,.employees-check){flex-basis:100%;width:100%;max-width:none}body.theme-crm .employee-profile-header{grid-template-columns:auto minmax(0,1fr)}body.theme-crm .employee-profile-header__comment{grid-column:1/-1}body.theme-crm .schedule-filters{grid-template-columns:minmax(0,1fr)}body.theme-crm .schedule-page__actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}body.theme-crm .schedule-page__actions>:last-child{grid-column:1/-1}body.theme-crm .schedule-period-nav{justify-content:space-between;width:100%}body.theme-crm .schedule-period-nav strong{text-align:center;min-width:0}body.theme-crm .tasks-calendar__header{grid-template-columns:auto minmax(0,1fr) auto;gap:.35rem;display:grid}body.theme-crm .tasks-calendar__header strong{text-align:left;grid-area:1/1/auto/-1;padding-right:2.5rem}body.theme-crm .tasks-calendar__settings{position:absolute;top:.65rem;right:.65rem}body.theme-crm .finance-journal__filters,body.theme-crm .finance-journal__stats{grid-template-columns:minmax(0,1fr)}body.theme-crm .finance-journal__stats article{border-right:0;border-bottom:1px solid var(--border)}body.theme-crm .finance-journal__stats article:last-child{border-bottom:0}body.theme-crm .sales-page__header{display:grid}body.theme-crm .sales-page__header-actions{justify-content:flex-start}body.theme-crm .school-form-grid,body.theme-crm .school-assets{grid-template-columns:minmax(0,1fr)}body.theme-crm .school-actions{flex-direction:column;align-items:stretch}body.theme-crm .school-actions .ui-btn{width:100%}body.theme-crm .school-table-views-reset{flex-direction:column;align-items:stretch}body.theme-crm .school-table-views-reset .ui-btn{width:100%}}body.theme-crm .crm-auth-shell{background:var(--surface);grid-template-columns:minmax(20rem,.95fr) minmax(24rem,1.05fr);min-height:100dvh}body.theme-crm .crm-auth-intro{min-height:100dvh;color:var(--text);background:radial-gradient(circle at 80% 10%, #ffffffb8, transparent 20rem), linear-gradient(150deg, var(--accent-muted), var(--surface-3) 66%);padding:clamp(2rem,6vw,5rem);position:relative}body.theme-crm .crm-auth-intro:after{border-color:#315b4f1f;box-shadow:0 0 0 4rem #315b4f07,0 0 0 8rem #315b4f05}body.theme-crm .crm-auth-logo{color:var(--accent-on-solid);background:var(--accent-solid);border-radius:.82rem;box-shadow:inset 0 1px #ffffff29}body.theme-crm .crm-auth-intro .crm-auth-eyebrow{color:var(--accent-strong)}body.theme-crm .crm-auth-intro h1{letter-spacing:-.06em;max-width:11ch;font-size:clamp(2.35rem,5vw,4.8rem);line-height:.98}body.theme-crm .crm-auth-intro p{color:#4f665f;max-width:42ch}body.theme-crm .crm-auth-benefits{border-color:#2b4e4521}body.theme-crm .crm-auth-benefits li{border-color:#2b4e4526}body.theme-crm .crm-auth-benefits span{color:#4f665f}body.theme-crm .crm-auth-form-wrap{background:radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 20rem), var(--surface);padding:clamp(1rem,5vw,4rem)}body.theme-crm .crm-login-card{width:min(100%,28rem);box-shadow:none;border:0}body.theme-crm .crm-login-signup{color:var(--text-muted);text-align:center;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.3rem;margin:-.1rem 0 0;font-size:.78rem;line-height:1.4;display:flex}body.theme-crm .crm-login-signup a{color:var(--accent);text-underline-offset:.16em;font-weight:720;text-decoration-line:underline;text-decoration-thickness:1px}body.theme-crm .crm-login-signup a:hover{color:var(--accent-strong)}body.theme-crm .crm-login-heading h2{letter-spacing:-.035em;font-size:1.65rem}@media (max-width:79.99rem){body.theme-crm .ui-shell{grid-template-columns:minmax(0,1fr)}body.theme-crm .ui-sidebar{z-index:75;visibility:hidden;width:min(20rem,100vw - 2.5rem);transition:transform .24s var(--ease-out), visibility 0s linear .24s;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(-103%)}body.theme-crm .ui-sidebar.is-open{visibility:visible;transition-delay:0s;transform:translate(0)}body.theme-crm .crm-sidebar-backdrop{z-index:74;-webkit-backdrop-filter:blur(.12rem);backdrop-filter:blur(.12rem);cursor:default;background:#162d2747;border:0;display:block;position:fixed;inset:0}body.theme-crm .crm-sidebar-close,body.theme-crm .crm-mobile-menu{display:inline-grid}body.theme-crm .crm-sidebar-close{color:#35554c;background:#ffffff75;border-color:#31544b21}body.theme-crm .ui-topbar{grid-template-columns:auto auto minmax(14rem,1fr) auto auto}}@media (max-width:64rem){body.theme-crm .ui-page{padding-inline:clamp(.9rem,2.5vw,1.35rem)}body.theme-crm :where(.ui-grid--4,.crm-payroll-cards,.crm-mini-grid),body.theme-crm :where(.transfer-filterbar,.tasks-filters,.reports-reference__filters){grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:48rem){:root{--shell-topbar:6.9rem;--content-gutter:.85rem}body.theme-crm{font-size:.9375rem}body.theme-crm .ui-topbar{min-height:var(--shell-topbar);grid-template-rows:2.75rem 2.75rem;grid-template-columns:auto minmax(0,1fr) auto;gap:.45rem;padding:.55rem .7rem}body.theme-crm .ui-topbar__history,body.theme-crm .ui-topbar__leading{display:none}body.theme-crm .ui-topbar__quick-actions{grid-area:1/2;justify-self:center}body.theme-crm .ui-topbar__search{grid-area:2/1/auto/-1}body.theme-crm .ui-topbar__actions{grid-area:1/3}body.theme-crm .crm-mobile-menu{grid-area:1/1}body.theme-crm .crm-user-menu__copy{display:none}body.theme-crm .crm-user-menu{grid-template-columns:2rem .9rem}body.theme-crm .ui-page{width:100%;padding:1rem var(--content-gutter) 2rem}body.theme-crm .crm-bulk-bar{top:calc(var(--shell-topbar) + .5rem)}body.theme-crm .crm-create-menu .crm-topbar-menu__popover{top:calc(var(--shell-topbar) - .25rem);width:auto;position:fixed;left:.7rem;right:.7rem}body.theme-crm .crm-demo-role-menu .crm-topbar-menu__popover{top:calc(var(--shell-topbar) - .25rem);width:auto;max-width:none;position:fixed;left:.7rem;right:.7rem}body.theme-crm .crm-filter-popover{width:min(32rem,100vw - 1.7rem);max-width:calc(100vw - 1.7rem);left:auto;right:0}body.theme-crm .ui-page-header{grid-template-columns:minmax(0,1fr);justify-content:stretch;min-height:0;display:grid}body.theme-crm .ui-page-header__actions{justify-content:flex-start;width:100%}body.theme-crm .ui-page-header__actions>div{width:100%}body.theme-crm .ui-page-header__actions .ui-btn{flex:auto}body.theme-crm :where(.ui-form-grid,.crm-form-grid,.crm-mini-grid,.crm-check-grid,.lead-editor__grid,.transfer-filterbar,.tasks-filters,.reports-reference__filters),body.theme-crm :where(.ui-grid--2,.ui-grid--3,.ui-grid--4){grid-template-columns:minmax(0,1fr)}body.theme-crm :where(.crm-toolbar,.ui-filter-bar,.crm-bulk-bar){align-items:stretch}body.theme-crm :where(.crm-toolbar,.ui-filter-bar,.crm-bulk-bar)>*{min-width:0;max-width:100%}body.theme-crm .ui-btn,body.theme-crm .ui-btn--sm,body.theme-crm :where(.ui-nav-item,.crm-nav-group__title,.ui-tab,.ui-tabs>button,.crm-workspace-tabs>button,.task-icon,.transfer-icon-button,.finance-journal-icon-button,.cashbook-icon-button){min-height:2.75rem}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll,.sales-table-wrap,.employees-table-wrap,.employee-table-scroll,.directories-table-card.crm-table-scrollhost,.inventory-table-card.crm-table-scrollhost){border-radius:.68rem;max-height:none}body.theme-crm .ui-table:not(.crm-groups-table){min-width:100%}body.theme-crm :where(.crm-modal,.widgets-modal-backdrop,.levels-overlay,.shop-overlay,.rewards-modal,.positions-overlay){place-items:end stretch;padding:0}body.theme-crm :where(.crm-modal__card,.widgets-modal,.levels-dialog,.shop-modal,.positions-dialog,.rewards-modal__card){border-radius:1rem 1rem 0 0;width:100%;max-height:96dvh}body.theme-crm .task-card{grid-template-columns:auto minmax(0,1fr)}body.theme-crm .task-card__actions{grid-column:2;justify-content:flex-start}body.theme-crm .crm-auth-shell{grid-template-columns:minmax(0,1fr)}body.theme-crm .crm-auth-intro{min-height:auto;padding:1.4rem 1rem}body.theme-crm .crm-auth-intro h1{max-width:16ch;font-size:clamp(1.8rem,9vw,2.7rem)}body.theme-crm .crm-auth-benefits{display:none}body.theme-crm .crm-auth-form-wrap{min-height:0;padding:1rem}}@media (max-width:30rem){body.theme-crm .ui-sidebar__brand{gap:.4rem;padding-inline:.25rem}body.theme-crm .ui-sidebar__brand>div{grid-template-columns:2.75rem minmax(0,1fr);gap:.5rem}body.theme-crm .crm-brand-home{width:2.75rem;height:2.75rem}body.theme-crm .crm-brand-mark{width:2.1rem;height:2.1rem}body.theme-crm .crm-brand-copy>span{font-size:.82rem;line-height:1.18}body.theme-crm .crm-sidebar-close{width:2.75rem;min-width:2.75rem;height:2.75rem}body.theme-crm .crm-create-menu>summary{width:2.65rem;padding-inline:0}body.theme-crm .crm-create-menu>summary>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}body.theme-crm .crm-create-menu>summary:before{content:"+";font-size:1.2rem;line-height:1}body.theme-crm .crm-create-menu>summary svg{display:none}body.theme-crm .ui-page-header__actions{grid-template-columns:minmax(0,1fr);display:grid}body.theme-crm .ui-page-header__actions .ui-btn{width:100%}}@media (pointer:coarse){body.theme-crm :where(button,summary,.ui-btn,.ui-nav-item,.ui-tab,input,select){min-height:2.75rem}}@media (prefers-reduced-motion:reduce){body.theme-crm *,body.theme-crm :before,body.theme-crm :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}body.theme-crm .ui-main a:not(.ui-btn),body.theme-crm .ui-main button[aria-selected=true],body.theme-crm .ui-main :is(.ui-tabs,.school-settings-tabs,.finance-journal__tabs) button.is-active,body.theme-crm .ui-sidebar__brand .crm-brand-copy>span{color:var(--text)}@media print{body.theme-crm{background:#fff}body.theme-crm .crm-floating-scrollbar{display:none!important}}body.theme-crm .schedule-lesson-card{box-sizing:border-box;border:1px solid var(--border);min-width:0;color:var(--text);font:inherit;text-align:left;border-radius:.48rem;margin:0;padding:.28rem .38rem;line-height:1.15;overflow:hidden;container-type:inline-size}body.theme-crm .schedule-lesson-card--month{flex:none;width:100%;height:3.5rem;min-height:3.5rem;max-height:3.5rem;padding-block:.18rem;display:block}body.theme-crm .schedule-lesson-card--week{display:block}body.theme-crm .schedule-lesson-card--outline{background:color-mix(in srgb, var(--lesson-card-accent) 9%, var(--surface))}body.theme-crm .schedule-lesson-card--gradient{background:linear-gradient(135deg, color-mix(in srgb, var(--lesson-card-accent) 19%, var(--surface)), color-mix(in srgb, var(--lesson-card-accent) 7%, var(--surface)) 72%)}body.theme-crm .schedule-lesson-card:is(:hover,:focus-visible){border-color:color-mix(in srgb, var(--lesson-card-accent) 72%, var(--border))}body.theme-crm .schedule-lesson-card:focus-visible{outline:2px solid color-mix(in srgb, var(--focus) 68%, transparent);outline-offset:2px}body.theme-crm .schedule-lesson-card.is-conflict{border-color:var(--danger);border-style:dashed}body.theme-crm .schedule-lesson-card.is-rescheduled:not(.is-conflict){border-color:color-mix(in srgb, var(--warn) 72%, var(--border))}body.theme-crm .schedule-lesson-card.is-cancelled:not(.schedule-lesson-card--overlay){opacity:.62;filter:saturate(.5);text-decoration:none}body.theme-crm .schedule-lesson-card.is-cancelled .schedule-card-line--title strong,body.theme-crm .schedule-lesson-card.is-cancelled .schedule-card-expanded__heading strong{text-decoration:line-through}body.theme-crm .schedule-lesson-card.is-hover-source:not(.schedule-lesson-card--overlay){opacity:0}body.theme-crm .schedule-card-compact{align-content:start;gap:.12rem;width:100%;min-width:0;height:100%;display:grid;overflow:hidden}body.theme-crm .schedule-card-compact--month{grid-auto-rows:minmax(0,auto);align-content:center;gap:.02rem}body.theme-crm .schedule-card-line{min-width:0;color:var(--text-muted);white-space:nowrap;align-items:center;gap:.28rem;font-size:.64rem;line-height:1.18;display:flex;overflow:hidden}body.theme-crm .schedule-card-line--time{color:var(--text);font-variant-numeric:tabular-nums;font-weight:680}body.theme-crm .schedule-card-time,body.theme-crm .schedule-card-line--title strong,body.theme-crm .schedule-card-line--subject,body.theme-crm .schedule-card-line--place,body.theme-crm .schedule-card-meta{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}body.theme-crm .schedule-card-line--title strong{color:var(--text);font-size:.69rem;font-weight:720}body.theme-crm .schedule-card-compact--month .schedule-card-line--title strong{width:100%}body.theme-crm .schedule-card-line--month-meta{color:var(--text-muted);text-overflow:ellipsis;font-size:.59rem;line-height:1.08;display:block}body.theme-crm .schedule-card-meta{color:var(--text-muted);flex:0 auto}body.theme-crm .schedule-card-meta:before{color:color-mix(in srgb, var(--text-muted) 55%, transparent);content:"/";margin-right:.2rem}body.theme-crm .schedule-card-indicators,body.theme-crm .schedule-card-attention,body.theme-crm .schedule-card-attendance,body.theme-crm .schedule-card-status{flex:none;align-items:center;display:inline-flex}body.theme-crm .schedule-card-indicators{gap:.12rem}body.theme-crm .schedule-card-status--planned{color:var(--text-muted)}body.theme-crm .schedule-card-status--done{color:var(--success)}body.theme-crm .schedule-card-status--rescheduled{color:var(--warn)}body.theme-crm .schedule-card-status--cancelled,body.theme-crm .schedule-card-attention .is-danger{color:var(--danger)}body.theme-crm .schedule-card-attention{color:var(--warn);gap:.06rem}body.theme-crm .schedule-card-attendance{color:var(--text-muted);font-variant-numeric:tabular-nums;gap:.16rem;margin-left:auto;font-size:.62rem;font-weight:690}body.theme-crm .schedule-card-compact--week.is-compact{grid-template-rows:repeat(2,minmax(0,auto))}body.theme-crm .schedule-card-compact--week.is-medium{grid-template-rows:auto auto minmax(0,1fr) auto;align-content:stretch}body.theme-crm .schedule-card-compact--week.is-full{grid-template-rows:auto auto auto auto minmax(0,1fr) auto;align-content:stretch}body.theme-crm .schedule-card-line--teacher .schedule-card-meta{flex:auto}body.theme-crm .schedule-card-line--teacher .schedule-card-meta:before{content:none}body.theme-crm .schedule-card-line--place{align-items:flex-start}body.theme-crm .schedule-card-line--attendance{grid-row:-1;justify-content:flex-end}body.theme-crm .schedule-card-line--attendance .schedule-card-attendance{margin-left:0}body.theme-crm .schedule-lesson-card--overlay{opacity:1;transform-origin:50%;will-change:transform;container-type:normal;z-index:1200!important;filter:none!important;border-style:solid!important;border-radius:.62rem!important;height:auto!important;min-height:7.5rem!important;max-height:11.875rem!important;padding:.65rem .7rem!important;display:block!important;position:fixed!important;bottom:auto!important;right:auto!important;overflow:auto!important;box-shadow:0 .9rem 2.25rem #1227232e!important}body.theme-crm .schedule-lesson-card--overlay.is-cancelled{opacity:1;filter:none!important}body.theme-crm .schedule-lesson-card--overlay.is-positioned{animation:.18s cubic-bezier(.4,0,.2,1) schedule-card-portal-in}body.theme-crm .schedule-lesson-card--overlay[draggable=true]{cursor:grab!important}body.theme-crm .schedule-card-expanded{gap:.28rem;min-width:0;display:grid}body.theme-crm .schedule-card-expanded__heading{border-bottom:1px solid color-mix(in srgb, var(--border) 76%, transparent);justify-content:space-between;align-items:center;gap:.55rem;min-width:0;padding-bottom:.28rem;display:flex}body.theme-crm .schedule-card-expanded__heading strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:740;overflow:hidden}body.theme-crm .schedule-card-state-label{color:var(--text-muted);flex:none;font-size:.62rem;font-weight:720}body.theme-crm .schedule-card-expanded__footer{border-top:1px solid color-mix(in srgb, var(--border) 76%, transparent);text-align:center;justify-content:center;min-width:0;margin-top:.06rem;padding-top:.3rem;display:flex}body.theme-crm .schedule-card-state-label.is-done{color:var(--success)}body.theme-crm .schedule-card-state-label.is-rescheduled{color:var(--warn)}body.theme-crm .schedule-card-state-label.is-cancelled{color:var(--danger)}body.theme-crm .schedule-card-detail-row{min-width:0;color:var(--text-muted);grid-template-columns:1rem minmax(0,1fr);align-items:start;gap:.3rem;font-size:.68rem;line-height:1.25;display:grid}body.theme-crm .schedule-card-detail-row>span:last-child{overflow-wrap:anywhere;min-width:0}body.theme-crm .schedule-card-detail-row__icon{min-height:.9rem;color:color-mix(in srgb, var(--text-muted) 78%, var(--lesson-card-accent));place-items:center;display:grid}body.theme-crm .schedule-card-detail-row.is-attention,body.theme-crm .schedule-card-detail-row.is-attention .schedule-card-detail-row__icon{color:color-mix(in srgb, var(--warn) 88%, var(--text));font-weight:690}body.theme-crm .schedule-header-help__trigger{border-radius:var(--radius-sm);width:2rem;min-width:2rem;height:2rem;min-height:2rem;color:var(--text-muted);cursor:help;background:0 0;border:0;place-items:center;padding:0;display:grid}body.theme-crm .schedule-header-help__trigger:is(:hover,:focus-visible){color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 7%, var(--surface))}body.theme-crm .schedule-header-help__trigger:focus-visible{outline:2px solid color-mix(in srgb, var(--focus) 62%, transparent);outline-offset:2px}body.theme-crm .schedule-header-help__popover{z-index:1210;border:1px solid var(--border-strong);width:min(20.625rem,100vw - 1.5rem);color:var(--text-muted);background:var(--surface);border-radius:.62rem;gap:.42rem;padding:.7rem .78rem;font-size:.72rem;line-height:1.35;display:grid;position:fixed;box-shadow:0 .85rem 2rem #12272329}body.theme-crm .schedule-header-help__popover p{margin:0}body.theme-crm .schedule-header-help__popover strong{color:var(--text)}@container (max-width:10rem){body.theme-crm .schedule-card-compact--month .schedule-card-meta--place{display:none}}@container (max-width:8.5rem){body.theme-crm .schedule-card-compact--month .schedule-card-meta--teacher{display:none}}@keyframes schedule-card-portal-in{0%{transform:scale(var(--lesson-card-open-scale-x), var(--lesson-card-open-scale-y))}to{transform:scale(1)}}@media (hover:none),(pointer:coarse){body.theme-crm .schedule-header-help__trigger{width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem}}@media (prefers-reduced-motion:reduce){body.theme-crm .schedule-lesson-card--overlay{animation:none}}.crm-tenant-expired{background:radial-gradient(circle at 15% 15%, #d0e2dcb8, transparent 28rem), var(--bg);place-items:center;min-height:100dvh;padding:1rem;display:grid}.crm-tenant-expired>section{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:min(100%,41rem);box-shadow:var(--shadow-lift);padding:clamp(1.25rem,4vw,2.25rem)}.crm-tenant-expired>section>span{color:var(--danger);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.65rem;font-size:.75rem;font-weight:750;display:block}.crm-tenant-expired h1{max-width:17ch;font-family:var(--font-geologica), sans-serif;letter-spacing:-.045em;margin:0;font-size:clamp(1.8rem,5vw,3rem);line-height:1.02}.crm-tenant-expired p{max-width:58ch;color:var(--text-muted);margin:1rem 0 0;line-height:1.55}.crm-tenant-expired dl{border:1px solid var(--border);border-radius:var(--radius-sm);grid-template-columns:repeat(2,minmax(0,1fr));margin:1.5rem 0 0;display:grid}.crm-tenant-expired dl>div{min-width:0;padding:.8rem}.crm-tenant-expired dl>div+div{border-left:1px solid var(--border)}.crm-tenant-expired dt{color:var(--text-muted);font-size:.7rem}.crm-tenant-expired dd{overflow-wrap:anywhere;margin:.2rem 0 0;font-weight:700}.crm-tenant-expired__actions{flex-wrap:wrap;gap:.65rem;margin-top:1.5rem;display:flex}@media (max-width:639px){.crm-tenant-expired dl{grid-template-columns:1fr}.crm-tenant-expired dl>div+div{border-top:1px solid var(--border);border-left:0}.crm-tenant-expired__actions>*{justify-content:center;width:100%}}.lingva-feedback-widget{right:max(1rem, env(safe-area-inset-right));bottom:max(1rem, env(safe-area-inset-bottom));z-index:13000;font-family:var(--font-sans), sans-serif;position:fixed}.crm-ai-widget{right:calc(max(1rem, env(safe-area-inset-right)) + 10.4rem);bottom:max(1rem, env(safe-area-inset-bottom));z-index:13000;font-family:var(--font-sans), sans-serif;position:fixed}:is(body:has(.crm-modal) .crm-ai-widget,body:has(.crm-notification-menu[open]) .crm-ai-widget,body:has(.ui-demo-signup-backdrop) .crm-ai-widget){display:none}.crm-ai-launcher{border:1px solid color-mix(in srgb, var(--accent) 34%, var(--border));min-height:3.25rem;color:var(--text-on-accent,#fff);background:color-mix(in srgb, var(--accent) 88%, #17243a);box-shadow:0 .25rem .75rem var(--accent-shadow);font:inherit;cursor:pointer;border-radius:.55rem;justify-content:center;align-items:center;gap:.48rem;padding:.65rem .88rem;font-size:.82rem;font-weight:780;line-height:1;transition:transform .15s,filter .15s;display:inline-flex}.crm-ai-launcher:hover{filter:brightness(1.06);transform:translateY(-1px)}.crm-ai-launcher:active{transform:translateY(0)}.crm-ai-panel{box-sizing:border-box;border:1px solid color-mix(in srgb, var(--accent) 18%, var(--border));width:min(29rem,100vw - 2rem);height:min(44rem,100dvh - 6rem);color:var(--text);background:var(--surface);box-shadow:var(--shadow-lift);border-radius:.72rem;grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto;grid-template-areas:"header""conversation""welcome""thread""error""palette""compose";animation:.17s ease-out both crm-ai-panel-in;display:grid;position:absolute;bottom:4.1rem;right:0;overflow:hidden}.crm-ai-panel__header{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--accent) 4%, var(--surface-2));grid-area:header;justify-content:space-between;align-items:center;gap:1rem;min-height:4.2rem;padding:.75rem .85rem;display:flex}.crm-ai-panel__identity{align-items:center;gap:.65rem;min-width:0;display:flex}.crm-ai-panel__identity>span{width:2.2rem;height:2.2rem;color:var(--text-on-accent,#fff);background:var(--accent);border-radius:.44rem;flex:none;place-items:center;display:grid}.crm-ai-panel__identity small{color:var(--accent-strong);letter-spacing:.06em;text-transform:uppercase;font-size:.65rem;font-weight:780;display:block}.crm-ai-panel__identity h2{font:720 1.02rem/1.15 var(--font-display), sans-serif;letter-spacing:-.015em;margin:.08rem 0 0}.crm-ai-panel__header-actions{align-items:center;gap:.35rem;display:flex}.crm-ai-panel__header-actions>button{width:2.2rem;height:2.2rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.44rem;flex:none;place-items:center;display:grid}.crm-ai-panel__header-actions>button:hover{background:var(--surface-3);color:var(--text)}.crm-ai-panel__header-actions>button:disabled{opacity:.45;cursor:wait}.crm-ai-conversation-picker{z-index:3;background:var(--surface);grid-area:conversation;min-width:0;padding:.42rem .72rem 0;position:relative}.crm-ai-conversation-picker__trigger{border:1px solid var(--border);width:100%;min-height:2.25rem;color:var(--text-muted);background:var(--surface-2);font:650 .7rem/1.3 var(--font-sans), sans-serif;cursor:pointer;border-radius:.42rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.35rem .55rem;display:flex;overflow:hidden}.crm-ai-conversation-picker__trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.crm-ai-conversation-picker__trigger>svg{flex:none;transition:transform .15s}.crm-ai-conversation-picker__trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.crm-ai-conversation-picker__trigger:disabled{opacity:.5;cursor:wait}.crm-ai-conversation-picker__menu{z-index:4;overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface-2);border-radius:.5rem;max-height:10.5rem;padding:.22rem;position:absolute;inset:calc(100% + .32rem) 0 auto;overflow-y:auto;box-shadow:0 .55rem 1.4rem #1227231f}.crm-ai-conversation-picker__item{border-radius:.36rem;grid-template-columns:minmax(0,1fr) 2rem;align-items:center;display:grid}.crm-ai-conversation-picker__item:hover,.crm-ai-conversation-picker__item.is-current{background:color-mix(in srgb, var(--accent) 8%, var(--surface))}.crm-ai-conversation-picker__item>button{min-height:2.25rem;color:var(--text);cursor:pointer;background:0 0;border:0}.crm-ai-conversation-picker__item>button:first-child{text-align:left;align-items:center;gap:.5rem;min-width:0;padding:.38rem .5rem;display:flex}.crm-ai-conversation-picker__item>button:first-child>span{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.crm-ai-conversation-picker__item small{color:var(--text-muted);font-variant-numeric:tabular-nums}.crm-ai-conversation-picker__remove{border-radius:.34rem;place-items:center;width:2rem;padding:0;display:grid;color:var(--text-muted)!important}.crm-ai-conversation-picker__remove:hover{color:var(--danger)!important;background:color-mix(in srgb, var(--danger) 9%, transparent)!important}.crm-ai-thread{overscroll-behavior:contain;scrollbar-color:color-mix(in srgb, var(--accent) 32%, var(--border)) transparent;scrollbar-gutter:stable;scrollbar-width:thin;grid-area:thread;min-height:0;padding:.78rem;overflow-y:auto}.crm-ai-thread::-webkit-scrollbar{width:.62rem}.crm-ai-thread::-webkit-scrollbar-track{background:0 0}.crm-ai-thread::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--accent) 32%, var(--border));background-clip:padding-box;border:.18rem solid #0000;border-radius:999px}.crm-ai-thread::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb, var(--accent) 48%, var(--border))}.crm-ai-welcome{border:1px solid color-mix(in srgb, var(--accent) 14%, var(--border));min-width:0;color:var(--text);background:color-mix(in srgb, var(--accent) 3%, var(--surface-2));border-radius:.5rem;grid-area:welcome;align-items:flex-start;gap:.55rem;margin:.62rem .72rem 0;padding:.62rem 2.65rem .62rem .68rem;display:flex;position:relative}.crm-ai-welcome>svg{color:var(--accent-strong);flex:none}.crm-ai-welcome>div{min-width:0}.crm-ai-welcome strong{font-size:.78rem;display:block}.crm-ai-welcome p{color:var(--text-muted);margin:.18rem 0 0;font-size:.72rem;line-height:1.45}.crm-ai-welcome__help{color:var(--accent-strong);text-underline-offset:.16rem;margin-top:.36rem;font-size:.72rem;font-weight:700;display:inline-flex}.crm-ai-welcome__help:hover{text-decoration:underline}.crm-ai-welcome__help:focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:2px;border-radius:.2rem}.crm-ai-welcome__dismiss{width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.4rem;place-items:center;padding:0;display:grid;position:absolute;top:.35rem;right:.35rem}.crm-ai-welcome__dismiss:hover{color:var(--text);background:color-mix(in srgb, var(--text) 7%, transparent)}.crm-ai-welcome__dismiss:focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:1px}.crm-ai-thread__loading,.crm-ai-empty{color:var(--text-muted);text-align:center;font-size:.76rem}.crm-ai-empty{place-content:center;justify-items:center;gap:.45rem;min-height:10rem;display:grid}.crm-ai-empty p{max-width:27ch;margin:0}.crm-ai-message{gap:.38rem;margin-top:.72rem;display:grid}.crm-ai-message__prompt{max-width:86%;color:var(--text-on-accent,#fff);background:color-mix(in srgb, var(--accent) 86%, #1c2940);border-radius:.5rem .5rem .16rem;justify-self:end;margin:0;padding:.55rem .68rem;font-size:.76rem;line-height:1.42}.crm-ai-message--pending .crm-ai-thinking{margin-top:0}.crm-ai-message__answer{border:1px solid var(--border);background:color-mix(in srgb, var(--surface-2) 54%, var(--surface));border-radius:.16rem .5rem .5rem;gap:.55rem;padding:.68rem;display:grid}.crm-ai-message__summary{gap:.5rem;min-width:0;display:grid}.crm-ai-message__summary p{margin:0;font-size:.8rem;line-height:1.45}.crm-ai-message__summary p:first-child{font-weight:690}.crm-ai-message__summary p+p{color:var(--text-muted);font-size:.74rem}.crm-ai-message__summary h3{color:var(--text);font:740 .73rem/1.35 var(--font-sans), sans-serif;letter-spacing:.01em;margin:.1rem 0 -.18rem}.crm-ai-message__summary ul{gap:.36rem;margin:0;padding:0;list-style:none;display:grid}.crm-ai-message__summary li{border-left:2px solid color-mix(in srgb, var(--accent) 56%, var(--border));background:color-mix(in srgb, var(--accent) 4%, transparent);border-radius:0 .36rem .36rem 0;gap:.12rem;padding:.46rem .52rem;display:grid}.crm-ai-message__summary li>strong{min-width:0;font-size:.77rem;line-height:1.4}.crm-ai-message__summary li>span{color:var(--text-muted);font-size:.72rem;line-height:1.42}.crm-ai-message__summary li>a{width:fit-content;color:var(--accent-strong);margin-top:.1rem;font-size:.68rem;font-weight:700;text-decoration:none}.crm-ai-clarification-option{border:1px solid color-mix(in srgb, var(--accent) 28%, var(--border));width:100%;min-height:2.65rem;color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 5%, var(--surface));font:720 .77rem/1.4 var(--font-sans), sans-serif;text-align:left;cursor:pointer;transition:border-color .12s var(--ease-out), background .12s var(--ease-out), color .12s var(--ease-out);border-radius:.38rem;justify-content:space-between;align-items:center;gap:.55rem;padding:.42rem .52rem;display:flex}.crm-ai-clarification-option>span:first-child{min-width:0}.crm-ai-clarification-option__action{color:var(--text-muted);white-space:nowrap;flex:none;align-items:center;gap:.16rem;font-size:.68rem;font-weight:700;display:inline-flex}.crm-ai-clarification-option:hover:not(:disabled){border-color:color-mix(in srgb, var(--accent) 64%, var(--border));color:var(--text);background:color-mix(in srgb, var(--accent) 10%, var(--surface))}.crm-ai-clarification-option:hover:not(:disabled) .crm-ai-clarification-option__action{color:var(--accent-strong)}.crm-ai-clarification-option:focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:2px}.crm-ai-clarification-option:disabled{cursor:wait;opacity:.62}.crm-ai-answer-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;margin:0;display:grid}.crm-ai-answer-metrics>div{border:1px solid var(--border);background:var(--surface);border-radius:.42rem;gap:.1rem;min-width:0;padding:.5rem .55rem;display:grid}.crm-ai-answer-metrics dt{color:var(--text-muted);text-overflow:ellipsis;font-size:.65rem;line-height:1.3;overflow:hidden}.crm-ai-answer-metrics dd{overflow-wrap:anywhere;color:var(--text);margin:0;font-size:.84rem;font-weight:760;line-height:1.3}.crm-ai-answer-metrics .is-positive dd{color:var(--success-strong,#237a49)}.crm-ai-answer-metrics .is-warning dd{color:var(--warning-strong,#9a6500)}.crm-ai-answer-metrics .is-danger dd{color:var(--danger)}.crm-ai-answer-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:.42rem;max-width:100%;overflow-x:auto}.crm-ai-answer-table{border-collapse:collapse;width:100%;min-width:24rem;font-size:.7rem;line-height:1.35}.crm-ai-answer-table caption{color:var(--text);text-align:left;padding:.48rem .55rem;font-weight:740}.crm-ai-answer-table th,.crm-ai-answer-table td{border-top:1px solid var(--border);text-align:left;white-space:nowrap;padding:.42rem .55rem}.crm-ai-answer-table th{color:var(--text-muted);background:var(--surface-2);font-size:.65rem;font-weight:720}.crm-ai-answer-table td{color:var(--text)}.crm-ai-follow-ups{flex-wrap:wrap;gap:.35rem;padding-top:.05rem;display:flex}.crm-ai-follow-ups button{border:1px solid color-mix(in srgb, var(--accent) 24%, var(--border));min-height:2rem;color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 3%, var(--surface));font:650 .68rem/1.25 var(--font-sans), sans-serif;text-align:left;cursor:pointer;border-radius:999px;padding:.38rem .55rem}.crm-ai-follow-ups button:hover{border-color:color-mix(in srgb, var(--accent) 52%, var(--border));background:color-mix(in srgb, var(--accent) 7%, var(--surface))}.crm-ai-message__link{width:fit-content;color:var(--accent-strong);font-size:.7rem;font-weight:700;text-decoration:none}.crm-ai-message__link:hover{text-underline-offset:.14rem;text-decoration:underline}.crm-ai-message__meta{color:var(--text-muted);justify-content:space-between;align-items:center;gap:.5rem;font-size:.64rem;display:flex}.crm-ai-message__meta>span{color:var(--accent-strong);font-weight:720}.crm-ai-message--planned .crm-ai-message__meta>span,.crm-ai-message--needs_clarification .crm-ai-message__meta>span,.crm-ai-message--expired .crm-ai-message__meta>span{color:var(--warning-strong,#9a6500)}.crm-ai-message--applied .crm-ai-message__meta>span{color:var(--success-strong,#237a49)}.crm-ai-message--rolled_back .crm-ai-message__meta>span{color:var(--danger)}.crm-ai-thinking{border:1px solid var(--border);width:fit-content;min-height:2.5rem;color:var(--text-muted);background:color-mix(in srgb, var(--surface-2) 54%, var(--surface));border-radius:.16rem .5rem .5rem;align-items:center;gap:.42rem;margin-top:.72rem;padding:.55rem .72rem;font-size:.76rem;font-weight:690;line-height:1;display:inline-flex}.crm-ai-thinking__dots{align-items:center;gap:.2rem;height:.7rem;display:inline-flex}.crm-ai-thinking__dots i{opacity:.22;background:currentColor;border-radius:50%;width:.28rem;height:.28rem;animation:1.2s ease-in-out infinite crm-ai-thinking-dot;display:block}.crm-ai-thinking__dots i:nth-child(2){animation-delay:.2s}.crm-ai-thinking__dots i:nth-child(3){animation-delay:.4s}.assistant-report{width:100%;max-width:none}.assistant-report__panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-width:0;overflow:hidden}.assistant-report__panel>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem;display:flex}.assistant-report__panel>header h2{margin:0;font-size:1rem;line-height:1.4}.assistant-report__panel>header p,.assistant-report__panel>header>span{color:var(--text-muted);margin:.2rem 0 0;font-size:.78rem}.assistant-report__panel>header>span{flex:none}.assistant-report__table-wrap{width:100%;overflow-x:auto}.assistant-report__table{width:100%;min-width:42rem}.assistant-report__panel>footer{border-top:1px solid var(--border);justify-content:flex-end;gap:.5rem;padding:.75rem 1rem;display:flex}@media (max-width:640px){.assistant-report__panel>header{gap:.35rem;display:grid}.assistant-report__panel>footer{justify-content:stretch}.assistant-report__panel>footer .ui-btn{flex:1}}.crm-ai-changes{gap:.42rem;margin:0;padding:0;list-style:none;display:grid}.crm-ai-changes li{border-top:1px solid color-mix(in srgb, var(--border) 76%, transparent);gap:.25rem;padding-top:.45rem;display:grid}.crm-ai-changes li>span{color:var(--text-muted);font-size:.66rem;font-weight:650}.crm-ai-changes li>div{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.35rem;font-size:.72rem;display:grid}.crm-ai-changes del{min-width:0;color:var(--text-muted);-webkit-text-decoration-color:color-mix(in srgb, var(--danger) 60%, transparent);text-decoration-color:color-mix(in srgb, var(--danger) 60%, transparent)}.crm-ai-changes b{min-width:0;color:var(--text);font-weight:720}.crm-ai-changes a{width:fit-content;color:var(--accent-strong);font-size:.68rem;font-weight:690;text-decoration:none}.crm-ai-warning{color:var(--text-muted);align-items:flex-start;gap:.4rem;font-size:.68rem;line-height:1.42;display:flex}.crm-ai-warning svg{color:var(--warning-strong,#9a6500);flex:none}.crm-ai-message__actions{justify-content:flex-end;gap:.45rem;padding-top:.1rem;display:flex}.crm-ai-action{min-height:2rem;font:700 .7rem/1 var(--font-sans), sans-serif;cursor:pointer;border-radius:.44rem;justify-content:center;align-items:center;gap:.35rem;padding:.35rem .62rem;display:inline-flex}.crm-ai-action--apply{border:1px solid var(--accent);color:var(--text-on-accent,#fff);background:var(--accent)}.crm-ai-action--rollback{border:1px solid var(--border);color:var(--text);background:var(--surface)}.crm-ai-action:disabled{opacity:.55;cursor:wait}.crm-ai-error{border-top:1px solid color-mix(in srgb, var(--danger) 22%, var(--border));color:var(--danger);background:color-mix(in srgb, var(--danger) 5%, var(--surface));grid-area:error;margin:0;padding:.55rem .78rem;font-size:.7rem;line-height:1.35}.crm-ai-palette{border-top:1px solid var(--border);background:color-mix(in srgb, var(--surface-2) 42%, var(--surface));grid-area:palette;min-width:0}.crm-ai-palette__toggle{width:100%;min-height:2.35rem;color:var(--text-muted);font:680 .7rem/1.2 var(--font-sans), sans-serif;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:.65rem;padding:.45rem .78rem;display:flex}.crm-ai-palette__toggle>span{align-items:center;gap:.42rem;display:inline-flex}.crm-ai-palette__toggle>span svg{color:var(--accent-strong)}.crm-ai-palette__toggle>svg{flex:none;transition:transform .15s}.crm-ai-palette.is-open .crm-ai-palette__toggle>svg{transform:rotate(180deg)}.crm-ai-palette__toggle:hover{color:var(--text);background:color-mix(in srgb, var(--accent) 4%, transparent)}.crm-ai-palette__toggle:focus-visible,.crm-ai-palette__options button:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 66%, transparent);outline-offset:-2px}.crm-ai-palette__options{overscroll-behavior:contain;scrollbar-color:color-mix(in srgb, var(--accent) 28%, var(--border)) transparent;scrollbar-width:thin;grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem;max-height:min(11rem,28dvh);padding:0 .72rem .65rem;display:grid;overflow-y:auto}.crm-ai-palette__options button{border:1px solid color-mix(in srgb, var(--border) 82%, transparent);min-width:0;min-height:2.55rem;color:var(--text);background:var(--surface);font:inherit;text-align:left;cursor:pointer;border-radius:.44rem;align-content:center;gap:.12rem;padding:.42rem .55rem;display:grid}.crm-ai-palette__options button:hover{border-color:color-mix(in srgb, var(--accent) 30%, var(--border));background:color-mix(in srgb, var(--accent) 3%, var(--surface))}.crm-ai-palette__options button>span{text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;font-weight:690;overflow:hidden}.crm-ai-palette__options button>small{color:var(--text-muted);font-size:.61rem}.crm-ai-compose{border-top:1px solid var(--border);background:var(--surface);grid-area:compose;grid-template-columns:minmax(0,1fr) auto;gap:.42rem;min-width:0;padding:.65rem .72rem .68rem;display:grid}.crm-ai-compose textarea{resize:vertical;border:1px solid var(--border-strong,var(--border));min-height:3.1rem;max-height:8rem;color:var(--text);background:var(--surface);font:500 .76rem/1.4 var(--font-sans), sans-serif;border-radius:.44rem;outline:none;padding:.58rem .65rem}.crm-ai-compose textarea:focus{border-color:color-mix(in srgb, var(--accent) 62%, var(--border));box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent)}.crm-ai-compose>button{width:2.8rem;min-height:3.1rem;color:var(--text-on-accent,#fff);background:var(--accent);cursor:pointer;border:0;border-radius:.44rem;place-items:center;display:grid}.crm-ai-compose>button:disabled{opacity:.4;cursor:default}.crm-ai-compose__meta{min-width:0;color:var(--text-muted);grid-column:1/-1;justify-content:space-between;gap:.5rem;padding:0 .08rem .14rem;font-size:.66rem;line-height:1.35;display:flex}@keyframes crm-ai-panel-in{0%{opacity:0;transform:translateY(.45rem)scale(.985)}to{opacity:1;transform:none}}@keyframes crm-ai-thinking-dot{0%,65%,to{opacity:.22;transform:scale(.82)}25%{opacity:1;transform:scale(1)}}@media (max-width:760px){.crm-ai-widget{right:auto;left:max(.75rem, env(safe-area-inset-left));bottom:max(.75rem, env(safe-area-inset-bottom))}.crm-ai-launcher{border-radius:.48rem;min-width:3rem;min-height:2.85rem;padding:.55rem .68rem;font-size:.72rem}.crm-ai-panel{inset:max(.5rem, env(safe-area-inset-top)) .5rem calc(max(.75rem, env(safe-area-inset-bottom)) + 3.55rem);width:auto;height:auto;max-height:none;position:fixed}.crm-ai-panel__header{min-height:3.75rem;padding:.58rem .65rem}.crm-ai-panel__header-actions>button{width:2.75rem;height:2.75rem}.crm-ai-conversation-picker{padding:.42rem .58rem 0}.crm-ai-conversation-picker__trigger{min-height:2.75rem;font-size:.875rem}.crm-ai-conversation-picker__menu{max-height:min(13rem,100dvh - 17rem)}.crm-ai-conversation-picker__item>button{min-height:2.75rem}.crm-ai-welcome{margin:.48rem .58rem 0;padding:.55rem 2.65rem .55rem .6rem}.crm-ai-thread{padding:.62rem}.crm-ai-palette__toggle{min-height:2.75rem;padding-inline:.68rem;font-size:.75rem}.crm-ai-palette__options{grid-template-columns:1fr;max-height:min(12rem,32dvh);padding-inline:.62rem}.crm-ai-palette__options button{min-height:2.75rem}.crm-ai-compose{padding:.58rem .62rem .65rem}.crm-ai-compose textarea{min-height:3.15rem;max-height:min(7rem,24dvh);font-size:1rem}.crm-ai-compose>button{width:2.9rem;min-height:3.15rem}.crm-ai-compose__meta span:first-child{display:none}}@media (max-width:359px){.crm-ai-panel{inset-inline:.35rem}.crm-ai-panel__identity>span{width:2rem;height:2rem}.crm-ai-panel__identity h2{font-size:.95rem}.crm-ai-welcome p{font-size:.69rem}.crm-ai-message__prompt{max-width:92%}.crm-ai-answer-metrics{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.crm-ai-panel{animation:none}.crm-ai-launcher,.crm-ai-palette__toggle>svg{transition:none}.crm-ai-thinking__dots i{opacity:.68;animation:none;transform:none}}:is(body:has(.crm-modal) .lingva-feedback-widget,body:has(.crm-notification-menu[open]) .lingva-feedback-widget,body:has(.ui-demo-signup-backdrop) .lingva-feedback-widget){display:none}.lingva-feedback-launcher{border:1px solid color-mix(in srgb, var(--accent) 28%, var(--border));min-height:3.25rem;color:var(--text);background:color-mix(in srgb, var(--accent-soft) 46%, var(--surface));box-shadow:0 .25rem .75rem var(--accent-shadow);font:inherit;letter-spacing:-.01em;white-space:nowrap;cursor:pointer;border-radius:.55rem;justify-content:center;align-items:center;gap:.55rem;padding:.65rem 1rem .65rem .85rem;font-size:.82rem;font-weight:750;line-height:1;transition:border-color .16s,background .16s,box-shadow .16s;display:inline-flex}.lingva-feedback-launcher svg{color:var(--accent-strong);flex:none}.lingva-feedback-launcher:hover{border-color:color-mix(in srgb, var(--accent) 52%, var(--border));background:color-mix(in srgb, var(--accent-soft) 62%, var(--surface));box-shadow:0 .35rem .9rem var(--accent-shadow)}@media (max-width:760px){.lingva-feedback-launcher{border-radius:.48rem;gap:.38rem;min-height:2.85rem;padding:.55rem .65rem .55rem .6rem;font-size:.72rem}.lingva-feedback-launcher svg{width:1.05rem;height:1.05rem}}.lingva-feedback-panel{border:1px solid var(--border);width:min(23rem,100vw - 2rem);max-height:min(38rem,100dvh - 6rem);color:var(--text);background:var(--surface);box-shadow:var(--shadow-lift);border-radius:1rem;display:grid;position:absolute;bottom:4.1rem;right:0;overflow:hidden}.lingva-feedback-panel>header{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface-2) 78%, transparent);justify-content:space-between;align-items:center;min-height:4.4rem;padding:.85rem 1rem;display:flex}.lingva-feedback-kicker{color:var(--text-muted);letter-spacing:.07em;text-transform:uppercase;font-size:.68rem;font-weight:750;display:block}.lingva-feedback-panel h2{font-family:var(--font-display), sans-serif;margin:.1rem 0 0;font-size:1.2rem;line-height:1.05}.lingva-feedback-panel>header button,.lingva-feedback-thread-head button,.lingva-feedback-form-actions>button:not(.lingva-feedback-primary){color:var(--text-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:.3rem;display:inline-flex}.lingva-feedback-panel>header button{border-radius:.6rem;justify-content:center;width:2.2rem;height:2.2rem}.lingva-feedback-panel>header button:hover{background:var(--accent-subtle)}.lingva-feedback-loading,.lingva-feedback-empty,.lingva-feedback-new{padding:1rem}.lingva-feedback-loading{color:var(--text-muted);align-items:center;gap:.5rem;display:flex}.lingva-feedback-loading svg{animation:.9s linear infinite lingva-feedback-spin}.lingva-feedback-empty{justify-items:start;gap:.85rem;display:grid}.lingva-feedback-empty>svg{color:var(--accent-strong)}.lingva-feedback-empty p,.lingva-feedback-new>p{color:var(--text-muted);margin:0;font-size:.86rem;line-height:1.5}.lingva-feedback-primary{border:1px solid var(--accent-solid);min-height:2.4rem;color:var(--accent-on-solid);background:var(--accent-solid);box-shadow:0 .25rem .55rem var(--accent-shadow);cursor:pointer;border-radius:.65rem;justify-content:center;align-items:center;gap:.4rem;padding:.55rem .8rem;font-weight:700;display:inline-flex}.lingva-feedback-primary:disabled{opacity:.55;cursor:wait}.lingva-feedback-new{gap:.85rem;display:grid;overflow:auto}.lingva-feedback-new label,.lingva-feedback-contact{gap:.35rem;display:grid}.lingva-feedback-contact{grid-template-columns:repeat(2,minmax(0,1fr))}.lingva-feedback-contact .lingva-feedback-honeypot{width:1px;height:1px;position:absolute;left:-10000px;overflow:hidden}.lingva-feedback-new label>span{color:var(--text);font-size:.73rem;font-weight:700}.lingva-feedback-new i{color:var(--text-muted);font-style:normal;font-weight:500}.lingva-feedback-new input,.lingva-feedback-new textarea,.lingva-feedback-compose textarea{border:1px solid var(--border);width:100%;min-width:0;color:var(--text);background:var(--surface);font:inherit;border-radius:.6rem;line-height:1.4}.lingva-feedback-new input{height:2.35rem;padding:.45rem .6rem}.lingva-feedback-new textarea{resize:vertical;padding:.6rem}.lingva-feedback-form-actions{justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.lingva-feedback-error{color:#9b3d2f;background:#fff2ee;border-bottom:1px solid #f1d5cc;margin:0;padding:.65rem 1rem;font-size:.8rem;line-height:1.35}.lingva-feedback-thread{min-height:0;display:grid;overflow:hidden}.lingva-feedback-thread-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:2.8rem;padding:.55rem 1rem;display:flex}.lingva-feedback-thread-head>span{align-items:center;gap:.35rem;font-size:.75rem;font-weight:700;display:inline-flex}.lingva-feedback-thread-head>span:before{content:"";border-radius:50%;width:.45rem;height:.45rem}.lingva-feedback-thread-head .is-open{color:var(--success-strong)}.lingva-feedback-thread-head .is-open:before{background:var(--success)}.lingva-feedback-thread-head .is-closed{color:var(--text-muted)}.lingva-feedback-thread-head .is-closed:before{background:var(--border-strong)}.lingva-feedback-messages{background:linear-gradient(180deg, var(--surface), var(--surface-2));align-content:start;gap:.6rem;max-height:min(21rem,100dvh - 18rem);padding:.9rem 1rem;display:grid;overflow:auto}.lingva-feedback-message{background:var(--surface-2);border-radius:.7rem .7rem .7rem .18rem;max-width:92%;padding:.6rem .7rem}.lingva-feedback-message--employee,.lingva-feedback-message--visitor{background:var(--accent-muted);border-radius:.7rem .7rem .18rem;justify-self:end}.lingva-feedback-message--system{border:1px solid color-mix(in srgb, #b79a4d 28%, var(--border));background:color-mix(in srgb, #ead99c 26%, var(--surface))}.lingva-feedback-message--platform{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--border));background:color-mix(in srgb, var(--accent) 12%, var(--surface))}.lingva-feedback-message>div{color:var(--text-muted);justify-content:space-between;gap:.75rem;font-size:.66rem;font-weight:700;display:flex}.lingva-feedback-message time{color:var(--text-muted);font-weight:500}.lingva-feedback-message p{overflow-wrap:anywhere;margin:.25rem 0 0;font-size:.82rem;line-height:1.43}.lingva-feedback-compose{border-top:1px solid var(--border);background:var(--surface);gap:.55rem;padding:.7rem .8rem;display:grid}.lingva-feedback-new-conversation{border-top:1px solid var(--border);background:var(--surface);padding:.7rem .8rem}.lingva-feedback-new-conversation .lingva-feedback-primary{width:100%;min-height:2.65rem}.lingva-feedback-compose-row{align-items:end;gap:.55rem;display:flex}.lingva-feedback-compose textarea{resize:none;min-height:2.45rem;padding:.5rem .6rem}.lingva-feedback-compose .lingva-feedback-primary{flex:0 0 2.45rem;width:2.45rem;padding:0}.lingva-feedback-attachments{gap:.45rem;display:grid}.lingva-feedback-attachment-row{flex-wrap:wrap;align-items:center;gap:.35rem .55rem;display:flex}.lingva-feedback-attachment-row>small{color:var(--text-muted);font-size:.64rem}.lingva-feedback-attach-button{border:1px solid var(--border);min-height:2rem;color:var(--accent-strong);background:var(--accent-subtle);cursor:pointer;border-radius:.55rem;align-items:center;gap:.35rem;padding:.35rem .55rem;font-size:.7rem;font-weight:750;display:inline-flex}.lingva-feedback-pending-files{flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.lingva-feedback-pending-files li{border:1px solid var(--border);min-width:0;max-width:15rem;color:var(--text-muted);background:var(--surface-2);border-radius:.5rem;align-items:center;gap:.25rem;padding:.25rem .3rem .25rem .5rem;font-size:.67rem;display:flex}.lingva-feedback-pending-files li>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lingva-feedback-pending-files button{color:#955b54;cursor:pointer;background:0 0;border:0;flex:0 0 1.6rem;place-items:center;width:1.6rem;height:1.6rem;padding:0;display:grid}.support-media-list{grid-template-columns:repeat(auto-fit,minmax(min(9rem,100%),1fr));gap:.5rem;margin-top:.55rem;display:grid}.support-media-item{border:1px solid var(--border);background:var(--surface-2);border-radius:.65rem;min-width:0;margin:0;overflow:hidden}.support-media-preview{min-height:5.5rem;max-height:15rem;color:var(--text-muted);background:var(--surface-3);place-items:center;display:grid;overflow:hidden}.support-media-preview :is(img,video){object-fit:contain;background:#111;width:100%;max-height:15rem;display:block}.support-media-loading svg{animation:.9s linear infinite lingva-feedback-spin}.support-media-failed{color:#8d5a55;justify-items:center;gap:.3rem;padding:.75rem;font-size:.68rem;display:grid}.support-media-item figcaption{color:var(--text-muted);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.4rem;padding:.45rem .5rem;display:grid}.support-media-item figcaption>span:nth-child(2){min-width:0;display:grid}.support-media-item figcaption b{text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.support-media-item figcaption small{color:var(--text-muted);font-size:.6rem}.support-media-item figcaption a{width:1.75rem;height:1.75rem;color:var(--accent-strong);background:var(--accent-muted);border-radius:.45rem;place-items:center;display:grid}@keyframes lingva-feedback-spin{to{transform:rotate(1turn)}}@media (max-width:639px){.lingva-feedback-widget{right:max(.75rem, env(safe-area-inset-right));bottom:max(.75rem, env(safe-area-inset-bottom))}.lingva-feedback-panel{width:min(23rem,100vw - 1.5rem);bottom:3.8rem}.lingva-feedback-contact{grid-template-columns:1fr}.lingva-feedback-attachment-row{flex-direction:column;align-items:flex-start}}.communications-page{gap:1rem}.communications-new-chat,.communications-create__submit,.communications-send-button,.communications-icon-button,.communications-back-button,.communications-attach-button{font:inherit}.communications-new-chat,.communications-create__submit,.communications-send-button{border:1px solid var(--accent-solid);border-radius:var(--radius-sm);min-height:2.75rem;color:var(--accent-on-solid);background:var(--accent-solid);box-shadow:var(--shadow-soft);cursor:pointer;transition:background .16s var(--ease-out), border-color .16s var(--ease-out), transform .16s var(--ease-out);justify-content:center;align-items:center;gap:.42rem;padding:.55rem .82rem;font-weight:720;display:inline-flex}.communications-new-chat:hover,.communications-create__submit:hover,.communications-send-button:hover{border-color:var(--accent-solid-hover);background:var(--accent-solid-hover)}.communications-new-chat:active,.communications-create__submit:active,.communications-send-button:active{transform:translateY(1px)}.communications-new-chat:focus-visible,.communications-create__submit:focus-visible,.communications-send-button:focus-visible,.communications-icon-button:focus-visible,.communications-back-button:focus-visible,.communications-attach-button:focus-visible,.communications-chat-item:focus-visible,.communications-filters button:focus-visible,.communications-kind-switch button:focus-visible,.communications-message__files button:focus-visible,.communications-composer__files button:focus-visible,.communications-context__link:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.communications-new-chat:disabled,.communications-create__submit:disabled,.communications-send-button:disabled,.communications-icon-button:disabled{cursor:wait;opacity:.55}.communications-create{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-soft);gap:.85rem;padding:.95rem;display:grid}.communications-create__heading,.communications-inbox__header,.communications-thread__header,.communications-chat-item__topline,.communications-composer__row,.communications-context>header{align-items:center;display:flex}.communications-create__heading{justify-content:space-between;align-items:flex-start;gap:1rem}.communications-create__heading h2,.communications-inbox__header h2,.communications-thread__identity h2,.communications-context h2,.communications-members h3{color:var(--text);font-family:var(--font-display);margin:0}.communications-create__heading h2{font-size:1rem}.communications-create__heading p{color:var(--text-muted);margin:.22rem 0 0;font-size:.78rem}.communications-create__form{gap:.72rem;display:grid}.communications-kind-switch{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);grid-template-columns:repeat(2,minmax(0,1fr));gap:.36rem;padding:.24rem;display:grid}.communications-kind-switch button{border-radius:calc(var(--radius-sm) - .15rem);min-height:2.35rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:.38rem;padding:.4rem .6rem;font-size:.82rem;font-weight:680;display:inline-flex}.communications-kind-switch button.is-active{border-color:color-mix(in srgb, var(--accent) 26%, var(--border));color:var(--accent-strong);background:var(--surface);box-shadow:var(--shadow-soft)}.communications-create .ui-field{gap:.35rem}.communications-create .ui-field>span{font-size:.74rem;font-weight:700}.communications-create__submit{width:100%}.communications-icon-button{border:1px solid var(--border);border-radius:var(--radius-sm);width:2.5rem;min-width:2.5rem;height:2.5rem;color:var(--text-muted);background:var(--surface);cursor:pointer;transition:color .16s var(--ease-out), border-color .16s var(--ease-out), background .16s var(--ease-out), transform .16s var(--ease-out);place-items:center;padding:0;display:inline-grid}.communications-icon-button:hover{border-color:var(--border-strong);color:var(--text);background:var(--surface-2)}.communications-icon-button:active{transform:translateY(1px)}.communications-workspace{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-width:0;min-height:38rem;box-shadow:var(--shadow-soft);display:grid;overflow:hidden}.communications-inbox{background:color-mix(in srgb, var(--surface-2) 72%, var(--surface));grid-template-rows:auto auto auto minmax(0,1fr);min-width:0;display:grid}.communications-inbox__header{justify-content:space-between;gap:.7rem;padding:.82rem .82rem .62rem}.communications-inbox__header>div{align-items:baseline;gap:.38rem;display:flex}.communications-inbox__header h2{font-size:1rem}.communications-inbox__header span{border-radius:var(--radius-chip);min-width:1.25rem;height:1.25rem;color:var(--text-muted);background:var(--surface-3);font-variant-numeric:tabular-nums;place-items:center;font-size:.65rem;font-weight:720;display:inline-grid}.communications-search{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:2.55rem;color:var(--text-muted);background:var(--surface);align-items:center;gap:.42rem;margin:0 .82rem .58rem;padding:0 .64rem;display:flex}.communications-search:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 15%, transparent)}.communications-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-size:.82rem}.communications-search input::placeholder{color:var(--text-muted);opacity:.82}.communications-filters{scrollbar-width:none;gap:.3rem;padding:0 .82rem .62rem;display:flex;overflow-x:auto}.communications-filters::-webkit-scrollbar{display:none}.communications-filters button{border-radius:var(--radius-sm);min-height:2rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;flex:none;padding:.32rem .56rem;font-size:.72rem;font-weight:690}.communications-filters button[aria-selected=true]{border-color:color-mix(in srgb, var(--accent) 24%, var(--border));color:var(--accent-strong);background:var(--accent-soft)}.communications-chat-list{border-top:1px solid var(--border);scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin;min-height:0;overflow-y:auto}.communications-list-state{color:var(--text-muted);text-align:center;padding:1.2rem .9rem;font-size:.8rem}.communications-chat-item{border:0;border-bottom:1px solid color-mix(in srgb, var(--border) 76%, transparent);width:100%;color:var(--text);text-align:left;cursor:pointer;transition:background .16s var(--ease-out), box-shadow .16s var(--ease-out);background:0 0;grid-template-columns:2.32rem minmax(0,1fr);align-items:center;gap:.6rem;padding:.7rem .82rem;display:grid}.communications-chat-item:hover{background:color-mix(in srgb, var(--surface) 55%, var(--accent-soft))}.communications-chat-item.is-active{background:var(--accent-soft);box-shadow:inset .18rem 0 var(--accent)}.communications-avatar{border:1px solid color-mix(in srgb, var(--accent) 20%, var(--border));width:2.32rem;height:2.32rem;color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 88%, var(--surface));letter-spacing:-.02em;border-radius:.72rem;place-items:center;font-size:.72rem;font-weight:660;display:inline-grid;overflow:hidden}.communications-avatar--1{color:color-mix(in srgb, var(--accent-strong) 82%, var(--text));background:color-mix(in srgb, var(--accent-soft) 68%, var(--surface-3))}.communications-avatar--2{color:var(--text);background:color-mix(in srgb, var(--accent-soft) 48%, var(--surface-2))}.communications-chat-item__content{gap:.2rem;min-width:0;display:grid}.communications-chat-item__topline{justify-content:space-between;gap:.5rem}.communications-chat-item__topline strong,.communications-chat-item__preview,.communications-chat-item__meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.communications-chat-item__topline strong{min-width:0;color:var(--text);font-size:.79rem;font-weight:740}.communications-chat-item__topline time{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;font-size:.65rem}.communications-chat-item__preview{color:var(--text-muted);font-size:.72rem;line-height:1.35}.communications-chat-item__meta{color:color-mix(in srgb, var(--text-muted) 82%, var(--text));gap:.35rem;font-size:.62rem;display:flex}.communications-chat-item__meta span:before{content:"·";margin-right:.35rem}.communications-thread{background:var(--surface);grid-template-rows:auto minmax(0,1fr) auto;min-width:0;display:grid}.communications-thread-skeleton{background:color-mix(in srgb, var(--surface-2) 52%, var(--surface));align-content:start;min-height:100%;padding:1.2rem;display:grid}.communications-thread-skeleton .ui-skeleton,.communications-context>.ui-skeleton{background:0 0;border:0}.communications-thread-skeleton .ui-skeleton__items,.communications-context>.ui-skeleton .ui-skeleton__items{padding:0}.communications-thread__header{border-bottom:1px solid var(--border);gap:.62rem;min-height:4.25rem;padding:.72rem .85rem}.communications-thread__identity{gap:.15rem;min-width:0;display:grid}.communications-thread__identity h2{text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;overflow:hidden}.communications-thread__identity span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.communications-thread__refresh{margin-left:auto}.communications-back-button{min-height:2.5rem;color:var(--accent-strong);cursor:pointer;background:0 0;border:0;align-items:center;gap:.32rem;padding:.4rem 0;font-weight:700;display:none}.communications-messages{background:color-mix(in srgb, var(--surface-2) 52%, var(--surface));scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin;align-content:start;gap:.48rem;min-height:19rem;padding:.9rem;display:grid;overflow-y:auto}.communications-message-wrap{gap:.38rem;display:grid}.communications-day{border:1px solid color-mix(in srgb, var(--border) 78%, transparent);border-radius:var(--radius-chip);color:var(--text-muted);background:var(--surface);justify-self:center;margin:.3rem 0;padding:.2rem .48rem;font-size:.65rem;font-weight:680}.communications-message{border:1px solid color-mix(in srgb, var(--border) 82%, transparent);width:fit-content;max-width:min(36rem,88%);color:var(--text);background:var(--surface);border-radius:.75rem .75rem .75rem .22rem;justify-self:start;gap:.25rem;padding:.58rem .66rem;display:grid}.communications-message--own{border-color:color-mix(in srgb, var(--accent) 25%, var(--border));background:var(--accent-soft);border-radius:.75rem .75rem .22rem;justify-self:end}.communications-message--system{border-color:color-mix(in srgb, var(--warn) 28%, var(--border));border-radius:var(--radius-sm);background:var(--warn-soft);justify-self:stretch;width:auto;max-width:none}.communications-message>strong{color:var(--accent-strong);font-size:.67rem;font-weight:760}.communications-message p{color:var(--text);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:.83rem;line-height:1.46}.communications-message time{color:var(--text-muted);font-variant-numeric:tabular-nums;justify-self:end;font-size:.62rem}.communications-message__files{flex-wrap:wrap;gap:.32rem;margin-top:.1rem;display:flex}.communications-message__files button{border:1px solid color-mix(in srgb, var(--accent) 28%, var(--border));max-width:100%;min-height:1.9rem;color:var(--accent-strong);background:color-mix(in srgb, var(--surface) 60%, var(--accent-soft));font:inherit;cursor:pointer;border-radius:.45rem;align-items:center;gap:.32rem;padding:.28rem .44rem;font-size:.68rem;display:inline-flex}.communications-message__files button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.communications-message-state,.communications-empty-thread{min-height:100%;color:var(--text-muted);text-align:center;place-content:center;justify-items:center;gap:.5rem;padding:2rem;display:grid}.communications-empty-thread h2{color:var(--text);margin:.1rem 0 0;font-size:1rem}.communications-empty-thread p{margin:0;font-size:.8rem}.communications-composer{border-top:1px solid var(--border);background:var(--surface);gap:.55rem;padding:.7rem .85rem .82rem;display:grid}.communications-composer__files{flex-wrap:wrap;gap:.34rem;display:flex}.communications-composer__files>span{border:1px solid var(--border);min-width:0;max-width:100%;min-height:1.9rem;color:var(--text-muted);background:var(--surface-2);border-radius:.45rem;align-items:center;gap:.3rem;padding:.26rem .34rem .26rem .48rem;font-size:.67rem;display:inline-flex}.communications-composer__files b{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.communications-composer__files small{color:var(--text-muted);flex:none}.communications-composer__files button{width:1.45rem;height:1.45rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.35rem;flex:none;place-items:center;padding:0;display:grid}.communications-composer__files button:hover{color:var(--danger);background:var(--danger-soft)}.communications-composer__row{gap:.5rem}.communications-attach-button{border:1px solid var(--border);border-radius:var(--radius-sm);width:2.6rem;min-width:2.6rem;height:2.6rem;color:var(--text-muted);background:var(--surface-2);cursor:pointer;place-items:center;display:inline-grid}.communications-attach-button:hover{border-color:var(--border-strong);color:var(--accent-strong);background:var(--accent-soft)}.communications-composer textarea{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;min-width:0;min-height:2.6rem;max-height:8rem;color:var(--text);background:var(--surface-2);font:inherit;resize:vertical;outline:0;padding:.6rem .66rem;font-size:.83rem;line-height:1.35}.communications-composer textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 15%, transparent)}.communications-composer textarea::placeholder{color:var(--text-muted)}.communications-send-button{flex:none}.communications-context{border-top:1px solid var(--border);background:color-mix(in srgb, var(--surface-2) 68%, var(--surface));min-width:0;padding:.9rem;display:none}.communications-context>header{justify-content:space-between;align-items:baseline;gap:.5rem}.communications-context>header>span{color:var(--text-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.64rem;font-weight:760}.communications-context h2{font-size:.98rem}.communications-context dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.58rem;margin:.82rem 0;display:grid}.communications-context dl>div{gap:.16rem;min-width:0;display:grid}.communications-context dt{color:var(--text-muted);font-size:.65rem}.communications-context dd{color:var(--text);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.73rem;font-weight:720;overflow:hidden}.communications-context__link{border:1px solid color-mix(in srgb, var(--accent) 25%, var(--border));border-radius:var(--radius-sm);min-height:2.2rem;color:var(--accent-strong);background:var(--accent-soft);justify-content:center;align-items:center;padding:.4rem .6rem;font-size:.72rem;font-weight:720;text-decoration:none;display:inline-flex}.communications-members{border-top:1px solid var(--border);margin-top:.9rem;padding-top:.85rem}.communications-members h3{font-size:.78rem}.communications-members ul{gap:.5rem;margin:.58rem 0 0;padding:0;list-style:none;display:grid}.communications-members.is-expanded ul{overscroll-behavior:contain;scrollbar-gutter:stable;max-block-size:clamp(11rem,38dvh,24rem);padding-right:.28rem;overflow-y:auto}.communications-members li{min-width:0}.communications-member-button,.communications-member-static{grid-template-columns:1.7rem minmax(0,1fr);align-items:center;gap:.45rem;width:100%;min-width:0;display:grid}.communications-member-button{border-radius:var(--radius-sm);color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:.22rem;transition:background-color .15s,color .15s}.communications-member-button:hover{background:color-mix(in srgb, var(--accent) 8%, transparent)}.communications-member-button:focus-visible,.communications-members__toggle:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.communications-member-button>span,.communications-member-static>span{width:1.7rem;height:1.7rem;color:var(--accent-strong);background:var(--accent-soft);border-radius:.5rem;place-items:center;font-size:.58rem;font-weight:760;display:grid}.communications-member-button>div,.communications-member-static>div{gap:.1rem;min-width:0;display:grid}.communications-members b,.communications-members small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.communications-members b{color:var(--text);font-size:.69rem;font-weight:710}.communications-members small,.communications-members__toggle{color:var(--text-muted);margin:0;font-size:.62rem}.communications-members__toggle{color:var(--accent-strong);cursor:pointer;background:0 0;border:0;margin-top:.62rem;padding:0;font-weight:720}.communications-members__toggle:hover{color:var(--accent);text-decoration:underline}.is-spinning{animation:.85s linear infinite communications-spin}@keyframes communications-spin{to{transform:rotate(1turn)}}@media (max-width:47.99rem){.communications-workspace{min-height:min(40rem,100dvh - 7rem)}.communications-page.is-thread-open .communications-inbox,.communications-page.is-thread-open .communications-context,.communications-page:not(.is-thread-open) .communications-thread,.communications-page:not(.is-thread-open) .communications-context{display:none}.communications-page.is-thread-open .communications-back-button{display:inline-flex}.communications-thread__header{flex-wrap:wrap}.communications-thread__header>.communications-avatar{display:none}.communications-thread__identity{flex:calc(100% - 3rem);order:2}.communications-thread__refresh{order:3}.communications-messages{min-height:0}.communications-send-button span{display:none}.communications-send-button{width:2.6rem;min-width:2.6rem;padding:0}.communications-create__heading p{max-width:20rem}}@media (min-width:48rem){.communications-create{grid-template-columns:minmax(12rem,.62fr) minmax(14rem,.85fr) minmax(14rem,.85fr) auto;align-items:end}.communications-create__heading{align-self:stretch}.communications-create__form{display:contents}.communications-create__search{align-self:end}.communications-create__submit{justify-self:end;width:auto}.communications-workspace{grid-template-rows:minmax(30rem,1fr) auto;grid-template-columns:minmax(17rem,.72fr) minmax(0,1.28fr);height:min(46rem,100dvh - 10rem)}.communications-inbox{border-right:1px solid var(--border);grid-row:1/span 2}.communications-thread{min-height:0}.communications-context{display:block}.communications-messages{min-height:0}}@media (min-width:75rem){.communications-workspace{grid-template-rows:minmax(30rem,1fr);grid-template-columns:minmax(18rem,.72fr) minmax(31rem,1.34fr) minmax(15rem,.56fr)}.communications-inbox{grid-row:1}.communications-context{border-top:0;border-left:1px solid var(--border);grid-area:1/3;overflow-y:auto}}@media (prefers-reduced-motion:reduce){.communications-new-chat,.communications-create__submit,.communications-send-button,.communications-icon-button,.communications-chat-item{transition:none}.is-spinning{animation:none}}body.theme-crm :is(.ui-chip,.crm-truncate,.crm-global-search__type,.crm-global-search__meta>span,.employees-status,.employee-role-chip,.branch-status,.cashbook-status,.shop-order-status,.positions-default-badge,.positions-zone-chip,.positions-zone-more,.programs-language-chip,.directories-language-chip,.directories-tag,.levels-category__tags span,.sales-task,.employees-check,.crm-permission,.finance-journal__payment,.finance-journal__auto,.finance-journal__voided,.crm-lesson-chip,.crm-group-toggle,.crm-groups-tabs button,.crm-filter-tabs button,.crm-group-members__tabs button,.communications-filters button,.communications-day,.survey-tabs,.survey-tabs button){border-radius:var(--radius-chip)}body.theme-crm .ui-table :is(.ui-chip,.crm-table-chip){white-space:nowrap;flex:none;inline-size:max-content;min-inline-size:max-content;max-inline-size:none}body.theme-crm .ui-table .crm-table-value--nowrap,body.theme-crm .crm-percent,body.theme-crm :is(.crm-progress__meta,.crm-activity)>strong{white-space:nowrap;flex:none;display:inline-block}body.theme-crm .crm-students-table :is(th,td):nth-child(2){min-width:8.75rem}body.theme-crm .crm-students-table :is(th,td):nth-child(3){min-width:13.5rem}body.theme-crm .crm-students-table :is(th,td):nth-child(4){min-width:9rem}body.theme-crm .crm-students-table--read-only .crm-students-table__student-cell{width:31%;min-width:18rem}body.theme-crm .crm-students-table :is(.crm-students-table__branch-cell,.crm-students-table__student-cell,.crm-students-table__phone-cell){vertical-align:middle!important}body.theme-crm .crm-students-table__branch{color:var(--accent);font:inherit;text-underline-offset:.16em;font-weight:500;line-height:1.3;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-thickness:1px}body.theme-crm .crm-students-table__phone,body.theme-crm .sales-phone-link{color:var(--accent);font:inherit;font-weight:500;line-height:1.3;text-decoration:none}body.theme-crm .crm-students-table__branch{cursor:pointer;background:0 0;border:0;padding:0}body.theme-crm .crm-students-table__branches{flex-wrap:wrap;align-items:flex-start;gap:.3rem .5rem;padding-top:0;display:flex}body.theme-crm .crm-students-table__student,body.theme-crm .crm-groups-table__teacher{color:var(--accent)}body.theme-crm .crm-students-table__student{min-height:1.1rem;display:block;position:relative}body.theme-crm .crm-students-table__student .ui-table__primary{color:inherit;text-underline-offset:.16em;font-size:.88rem;font-weight:760;line-height:1.25;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-thickness:1px}body.theme-crm .crm-students-table__student .ui-table__muted{text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.2;position:absolute;top:calc(100% + .08rem);left:0;overflow:hidden}body.theme-crm :is(.crm-students-table,.crm-groups-table) :is(.crm-students-table__branch,.crm-students-table__phone,.crm-students-table__student,.crm-groups-table__teacher):hover{color:var(--accent-strong)}body.theme-crm .crm-groups-table__teacher:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 60%, transparent);outline-offset:.2rem}body.theme-crm .crm-students-table .crm-table-chip--link{border-radius:var(--radius-chip);color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 82%, var(--surface));font:inherit;cursor:pointer;border:0;padding:.2rem .46rem;font-size:.72rem;line-height:1.25}body.theme-crm .crm-students-table .crm-table-chip--link:hover{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 98%, var(--surface));border-color:#0000}body.theme-crm .crm-groups-table{table-layout:auto;min-width:max(100%,56.5rem)}body.theme-crm .crm-groups-table :is(th,td):nth-child(6),body.theme-crm .crm-groups-table :is(th,td):nth-child(7),body.theme-crm .crm-groups-table__date{font-variant-numeric:tabular-nums;white-space:nowrap;min-inline-size:5.7rem}body.theme-crm .billing-section-head{flex-wrap:wrap}body.theme-crm .billing-section-head>.billing-run-actions{flex-wrap:nowrap;flex:none;justify-content:flex-end;width:auto;max-width:100%;margin-inline-start:auto}body.theme-crm .billing-run-actions .ui-input[type=date]{flex:0 auto;width:clamp(7.8rem,20vw,9.25rem);min-width:0}body.theme-crm .billing-run-actions .ui-btn{white-space:nowrap;flex:none}@media (max-width:45rem){body.theme-crm .billing-section-head>.billing-run-actions{margin-inline-start:auto}}body.theme-crm .ui-table :is(th,td).crm-table-select{text-align:center;width:2.55rem;min-width:2.55rem;padding-inline:.45rem;line-height:0;vertical-align:middle!important}body.theme-crm .crm-table-select input[type=checkbox]{width:1rem;height:1rem;accent-color:var(--accent);cursor:pointer;margin:0 auto;display:block}body.theme-crm .ui-table :is(th,td):has(>input[type=checkbox]:only-child){text-align:center;line-height:0;vertical-align:middle!important}body.theme-crm .ui-table :is(th,td):has(>input[type=checkbox]:only-child)>input[type=checkbox]{width:1rem;height:1rem;accent-color:var(--accent);margin:0 auto;display:block}body.theme-crm .sales-table tbody tr{cursor:default}body.theme-crm .sales-table{min-width:64rem}body.theme-crm :is(.sales-branch-link,.sales-person-link,.sales-phone-link,.sales-comment-link,.sales-group-link){color:var(--accent);text-underline-offset:.16em;text-decoration-thickness:1px}body.theme-crm :is(.sales-branch-link,.sales-person-link,.sales-group-link){text-decoration-line:underline;text-decoration-style:dotted}body.theme-crm .sales-person-link{font-weight:720}body.theme-crm .sales-comment-link{text-decoration-line:underline;text-decoration-style:solid}body.theme-crm :is(.sales-branch-link,.sales-person-link,.sales-phone-link,.sales-comment-link,.sales-group-link):hover{color:var(--accent-strong)}body.theme-crm :is(.sales-branch-link,.sales-person-link,.sales-phone-link,.sales-comment-link,.sales-group-link):focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 60%, transparent);outline-offset:.16rem}body.theme-crm .sales-comment{max-width:19rem}body.theme-crm .sales-comment-link{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}body.theme-crm :is(.sales-table,.crm-groups-table) tbody tr.is-selected>td,body.theme-crm :is(.sales-table,.crm-groups-table) tbody tr.is-selected:hover>td{background:color-mix(in srgb, var(--accent-soft) 72%, var(--surface))}body.theme-crm .crm-groups-bulk{background:color-mix(in srgb, var(--accent-soft) 70%, var(--surface));align-items:center}body.theme-crm .crm-groups-bulk__count{white-space:nowrap;align-items:center;min-height:2rem;display:inline-flex}body.theme-crm .crm-groups-bulk__actions{flex-wrap:wrap;align-items:center;gap:.45rem;margin-inline-start:auto;display:flex}@media (max-width:44rem){body.theme-crm .crm-groups-bulk__actions{justify-content:flex-end;width:100%}}body.theme-crm .crm-global-search>.ui-input{padding-inline-end:2.8rem}body.theme-crm .crm-global-search__shortcut{top:50%;border:1px solid var(--border);min-height:1.35rem;color:var(--text-muted);background:var(--surface);font-family:var(--font-sans), sans-serif;pointer-events:none;border-radius:.3rem;align-items:center;gap:.08rem;padding:.08rem .24rem;font-size:.62rem;font-weight:700;line-height:1;display:inline-flex;position:absolute;inset-inline-end:.55rem;transform:translateY(-50%)}@media (max-width:44rem){body.theme-crm .crm-global-search__shortcut{display:none}body.theme-crm .crm-global-search>.ui-input{padding-inline-end:.8rem}}body.theme-crm .crm-truncate-popover{z-index:10000;box-sizing:border-box;border:1px solid var(--border-strong);max-width:calc(100vw - 1.5rem);max-height:min(18rem,100dvh - 1.5rem);color:var(--text);background:var(--surface);overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;white-space:normal;pointer-events:auto;-webkit-user-select:text;user-select:text;cursor:text;border-radius:.35rem;padding:.45rem .55rem;font-size:.75rem;line-height:1.45;position:fixed;overflow:auto;box-shadow:0 .8rem 1.8rem #12272333}body.theme-crm .crm-truncate-popover[data-placement=above]{transform:translateY(-100%)}body.theme-crm .crm-truncate-popover__text{display:block}body.theme-crm .crm-truncate-popover__hint{border-top:1px solid color-mix(in srgb, var(--border) 48%, transparent);color:color-mix(in srgb, var(--text-muted) 68%, transparent);margin-top:.38rem;padding-top:.34rem;font-size:.66rem;line-height:1.3;display:block}body.theme-crm .schedule-calendar-controls{grid-template-columns:minmax(0,1fr);align-items:center;gap:.6rem;width:100%;min-width:0;display:grid}body.theme-crm .schedule-view-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;display:grid;overflow:hidden}body.theme-crm .schedule-view-tabs button{text-overflow:ellipsis;white-space:nowrap;min-width:0;min-height:2.75rem;padding-inline:clamp(.42rem,2.5vw,.72rem);overflow:hidden}body.theme-crm .schedule-period-nav{box-sizing:border-box;border-top:1px solid var(--border);background:var(--surface-2);grid-template-columns:2.75rem minmax(0,1fr) auto 2.75rem;justify-content:stretch;align-items:center;gap:clamp(.28rem,1.6vw,.5rem);width:100%;min-width:0;padding:.55rem .8rem .65rem;display:grid}body.theme-crm .schedule-calendar-controls:not(.schedule-calendar-controls--month) .schedule-period-nav{margin-block:.4rem 0}body.theme-crm .schedule-period-nav__range{min-width:0;color:var(--text);text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;grid-area:1/1/auto/-1;margin:0;font-size:clamp(.78rem,2.8vw,.9rem);font-weight:690;line-height:1.3;overflow:hidden}body.theme-crm .schedule-period-nav__date{grid-area:2/2;min-width:0}body.theme-crm .schedule-period-nav__date input{box-sizing:border-box;white-space:nowrap;width:100%;min-width:0;min-height:2.75rem;padding-inline:clamp(.35rem,1.8vw,.55rem);font-size:clamp(.75rem,2.7vw,.82rem)}body.theme-crm .schedule-period-nav__today{white-space:nowrap;grid-area:2/3;min-height:2.75rem;padding-inline:clamp(.45rem,2vw,.68rem);font-size:clamp(.75rem,2.7vw,.82rem);line-height:1}body.theme-crm .schedule-period-nav__arrow{width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem;color:var(--text-muted);transition:color .14s var(--ease-out), border-color .14s var(--ease-out), background .14s var(--ease-out);border-radius:50%;place-items:center;padding:0;line-height:0;display:inline-grid}body.theme-crm .schedule-period-nav__arrow--previous{grid-area:2/1}body.theme-crm .schedule-period-nav__arrow--next{grid-area:2/4}body.theme-crm .schedule-period-nav__arrow svg{width:1.12rem;height:1.12rem;display:block;overflow:visible}body.theme-crm .schedule-period-nav__arrow:is(:hover,:focus-visible){color:var(--accent-strong);border-color:color-mix(in srgb, var(--accent) 46%, var(--border));background:var(--accent-soft)}body.theme-crm .schedule-period-nav__arrow:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 60%, transparent);outline-offset:.14rem}body.theme-crm .schedule-display-tools{grid-template-columns:minmax(0,1fr);justify-content:stretch;align-items:start;gap:clamp(.35rem,1.7vw,.55rem);width:100%;min-width:0;display:grid}body.theme-crm .schedule-display-tools__meta{grid-template-columns:minmax(0,auto) auto;justify-self:end;align-items:center;gap:.35rem .5rem;display:grid}body.theme-crm .schedule-display-tools__meta>:is(.crm-check,.ui-chip,.ui-btn){white-space:nowrap;min-width:0}body.theme-crm .schedule-display-tools__meta>.ui-btn{justify-self:end}body.theme-crm .schedule-display-tools__meta>.crm-check{grid-column:1/-1;justify-self:start}body.theme-crm .schedule-calendar-controls--month .schedule-display-tools__meta{flex-wrap:wrap;grid-template-columns:none;justify-content:flex-end;align-items:center;gap:.45rem;display:inline-flex}body.theme-crm .schedule-calendar-controls--month .schedule-display-tools__meta>.crm-check{order:-1;grid-column:auto;justify-self:auto;min-height:2rem;padding-inline:.15rem}body.theme-crm .schedule-display-tools>.crm-row-actions{grid-area:2/1/auto/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;width:100%;min-width:0;display:grid}body.theme-crm .schedule-display-tools>.crm-row-actions>.ui-btn{white-space:nowrap;width:100%;min-width:0}body.theme-crm .schedule-resource-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;width:100%;min-width:0;display:grid}body.theme-crm .schedule-resource-tools>.ui-btn{white-space:nowrap;width:100%;min-width:0}body.theme-crm .schedule-calendar-controls--day .schedule-display-tools{order:1}body.theme-crm .schedule-calendar-controls--day .schedule-resource-tools{order:2}body.theme-crm .schedule-calendar-controls--day .schedule-period-nav{order:3}body.theme-crm .crm-calendar__header-cell.is-today{color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 12%, var(--surface));box-shadow:inset 0 -.16rem var(--accent);font-weight:720}body.theme-crm .crm-calendar__column.is-today{background-color:color-mix(in srgb, var(--accent) 2.25%, var(--surface))}body.theme-crm .crm-month-cell.is-compact{min-height:9.25rem}body.theme-crm .crm-month-cell.is-compact .crm-month-lessons{max-height:6.1rem}body.theme-crm .schedule-month-cell.is-today{border-color:color-mix(in srgb, var(--accent) 72%, var(--border));background:var(--surface);box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--accent) 54%, transparent)}body.theme-crm .schedule-month-cell.is-outside.is-today{opacity:.78}@media (min-width:48rem){body.theme-crm .schedule-calendar-controls{grid-template-columns:auto minmax(0,1fr)}body.theme-crm .schedule-view-tabs{width:max-content}body.theme-crm .schedule-view-tabs button{min-height:2.4rem;padding-inline:clamp(.55rem,1vw,.75rem)}body.theme-crm .schedule-period-nav{grid-area:2/1/auto/-1;grid-template-columns:2.4rem minmax(7.8rem,8.8rem) minmax(11rem,1fr) auto 2.4rem;gap:.45rem}body.theme-crm .schedule-period-nav__arrow--previous,body.theme-crm .schedule-period-nav__date,body.theme-crm .schedule-period-nav__range,body.theme-crm .schedule-period-nav__today,body.theme-crm .schedule-period-nav__arrow--next{grid-row:1}body.theme-crm .schedule-period-nav__arrow--previous{grid-column:1}body.theme-crm .schedule-period-nav__date{grid-column:2}body.theme-crm .schedule-period-nav__range{grid-column:3}body.theme-crm .schedule-period-nav__today{grid-column:4}body.theme-crm .schedule-period-nav__arrow--next{grid-column:5}body.theme-crm .schedule-period-nav__range{font-size:.84rem}body.theme-crm .schedule-period-nav__date input,body.theme-crm .schedule-period-nav__today{min-height:2.4rem;font-size:.78rem}body.theme-crm .schedule-period-nav__arrow{width:2.4rem;min-width:2.4rem;height:2.4rem;min-height:2.4rem}body.theme-crm .schedule-display-tools{justify-self:end;width:max-content}body.theme-crm .schedule-resource-tools{grid-area:3/1/auto/-1;grid-template-columns:repeat(2,auto);justify-self:center;width:max-content}body.theme-crm .schedule-calendar-controls--day .schedule-resource-tools{grid-row:2}body.theme-crm .schedule-calendar-controls--day .schedule-period-nav{grid-row:3}}@media (min-width:80rem){body.theme-crm .schedule-calendar-controls{grid-template-columns:auto minmax(0,1fr)}body.theme-crm .schedule-view-tabs{grid-area:1/1}body.theme-crm .schedule-period-nav{grid-area:2/1/auto/-1}body.theme-crm .schedule-display-tools{grid-area:1/2}body.theme-crm .schedule-resource-tools{grid-area:3/1/auto/-1}body.theme-crm .schedule-calendar-controls--day .schedule-resource-tools{grid-row:2}body.theme-crm .schedule-calendar-controls--day .schedule-period-nav{grid-row:3}}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll,.sales-table-wrap,.employees-table-wrap,.employee-table-scroll,.directories-table-card.crm-table-scrollhost,.inventory-table-card.crm-table-scrollhost){border-color:color-mix(in srgb, var(--border) 64%, transparent);box-shadow:none;background-clip:padding-box;border-radius:.45rem}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll,.sales-table-wrap,.employees-table-wrap,.employee-table-scroll,.directories-table-card.crm-table-scrollhost,.inventory-table-card.crm-table-scrollhost)>.ui-table{border-radius:inherit}body.theme-crm :where(.ui-table-wrap,.crm-table-scroll) .ui-table tbody tr:last-child>td{border-bottom-color:#0000}body.theme-crm .crm-group-title__name{max-width:100%;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-thickness:1px;-webkit-text-decoration-color:color-mix(in srgb, currentcolor 72%, transparent);text-decoration-color:color-mix(in srgb, currentcolor 72%, transparent);text-underline-offset:.06em;font-size:.92rem;font-weight:650;line-height:1.05;display:block}body.theme-crm table.ui-table.crm-groups-table tbody>tr.crm-group-row>td{vertical-align:middle!important}body.theme-crm .crm-group-title__meta{max-width:100%;color:var(--text-muted);pointer-events:none;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;line-height:1.2;position:absolute;top:calc(100% + .08rem);left:0;overflow:hidden}body.theme-crm .crm-groups-table .crm-group-title__copy{appearance:none;min-height:1.1rem;min-inline-size:0;max-inline-size:100%;color:var(--accent);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;flex:auto;margin:0;padding:0;display:block;position:relative}body.theme-crm .crm-groups-table__teacher{text-transform:none;letter-spacing:normal;background:0 0;align-items:center;font-size:.88rem;font-weight:500;display:inline-flex}body.theme-crm .crm-groups-table__teacher .ui-table__primary{color:inherit;font-weight:inherit;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-thickness:1px;-webkit-text-decoration-color:color-mix(in srgb, currentcolor 72%, transparent);text-decoration-color:color-mix(in srgb, currentcolor 72%, transparent);text-underline-offset:.06em}body.theme-crm .crm-branch-selector__dropdown{gap:.45rem;padding:.45rem}body.theme-crm .crm-branch-selector__list{gap:.32rem}body.theme-crm .crm-branch-selector__block{border:1px solid color-mix(in srgb, var(--border) 64%, transparent);background:color-mix(in srgb, var(--surface) 78%, var(--surface-2));border-radius:.56rem;gap:.14rem;padding:.25rem}body.theme-crm :is(.crm-branch-selector__branch,.crm-branch-selector__room){width:100%;min-height:2.35rem;color:var(--text);transition:color .14s var(--ease-out), background .14s var(--ease-out), border-color .14s var(--ease-out);background:0 0;border:1px solid #0000;border-radius:.4rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.48rem .56rem;display:flex}body.theme-crm .crm-branch-selector__room{width:calc(100% - .72rem);min-height:2.16rem;color:var(--text-muted);margin-left:.72rem;padding-block:.4rem}body.theme-crm .crm-branch-selector__option-label{align-items:center;gap:.5rem;min-width:0;display:inline-flex}body.theme-crm .crm-branch-selector__option-label>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.theme-crm .crm-branch-selector__branch-marker,body.theme-crm .crm-branch-selector__room-marker{border:1px solid color-mix(in srgb, var(--accent) 48%, var(--border));background:color-mix(in srgb, var(--accent) 18%, var(--surface));flex:none;width:.58rem;height:.58rem}body.theme-crm .crm-branch-selector__branch-marker{border-radius:50%}body.theme-crm .crm-branch-selector__room-marker{background:color-mix(in srgb, var(--text-muted) 16%, var(--surface));border-radius:.12rem;width:.5rem;height:.5rem}body.theme-crm :is(.crm-branch-selector__branch,.crm-branch-selector__room):hover{border-color:color-mix(in srgb, var(--accent) 24%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 55%, var(--surface))}body.theme-crm :is(.crm-branch-selector__branch,.crm-branch-selector__room).is-active{border-color:color-mix(in srgb, var(--accent) 36%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 76%, var(--surface));font-weight:620}body.theme-crm :is(.crm-branch-selector__branch,.crm-branch-selector__room).is-active :is(.crm-branch-selector__branch-marker,.crm-branch-selector__room-marker){border-color:var(--accent);background:var(--accent)}body.theme-crm .crm-filter-trigger{gap:.42rem}body.theme-crm .crm-filter-trigger__count{min-width:1.18rem;height:1.18rem;color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 82%, var(--surface));font-variant-numeric:tabular-nums;border-radius:.36rem;place-items:center;padding-inline:.18rem;font-size:.66rem;font-weight:700;display:grid}body.theme-crm .crm-filter-control{min-width:0;display:inline-flex;position:relative}body.theme-crm .crm-filter-popover--compact{z-index:80;border-color:color-mix(in srgb, var(--border-strong) 76%, var(--accent));background:color-mix(in srgb, var(--surface) 95%, var(--surface-2));border-radius:.68rem;width:min(29rem,100vw - 1.5rem);max-height:min(38rem,100dvh - 7rem);padding:.68rem;top:calc(100% + .5rem);left:auto;right:0;overflow:auto;box-shadow:0 1rem 2.6rem #19332b26}body.theme-crm .crm-filter-popover.crm-filter-popover--compact.crm-filter-popover--portalled{max-height:none;overflow:visible}body.theme-crm .crm-filter-popover--compact .crm-filter-popover__header{border-bottom:1px solid color-mix(in srgb, var(--border) 78%, transparent);padding:.04rem .04rem .36rem .24rem}body.theme-crm .crm-filter-popover__content{min-width:0}body.theme-crm .crm-filter-popover__grid,body.theme-crm .crm-filter-popover--compact .finance-journal__filters,body.theme-crm .crm-filter-popover--compact .tasks-filters,body.theme-crm .crm-filter-popover--compact .cashbook-filters{background:0 0;border:0;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:.56rem;padding:.02rem;display:grid}body.theme-crm .crm-filter-popover--compact .ui-field{gap:.22rem;min-width:0;display:grid}body.theme-crm .crm-filter-popover--compact .ui-field>span{color:var(--text-muted);font-size:.68rem;font-weight:620}body.theme-crm .crm-filter-popover--compact :is(.ui-input,.crm-branch-picker__trigger){height:2.22rem;min-height:2.22rem;font-size:.78rem}body.theme-crm .crm-filter-popover--compact .crm-filter-tabs,body.theme-crm .crm-filter-popover--compact .ui-tabs{grid-column:1/-1}body.theme-crm .crm-filter-popover--compact .crm-check-grid{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;display:grid}body.theme-crm .crm-filter-popover--compact :is(.crm-check,.ui-check){border:1px solid color-mix(in srgb, var(--border) 76%, transparent);min-height:2.12rem;color:var(--text-muted);background:var(--surface);border-radius:.42rem;margin:0;padding:.35rem .45rem;font-size:.71rem;line-height:1.15}body.theme-crm .crm-filter-popover--compact :is(.crm-check,.ui-check):has(input:checked){border-color:color-mix(in srgb, var(--accent) 40%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 72%, var(--surface))}body.theme-crm .crm-filter-popover--compact .crm-filter-actions{border-top:1px solid color-mix(in srgb, var(--border) 78%, transparent);background:color-mix(in srgb, var(--surface) 95%, var(--surface-2));min-height:2.8rem;padding:.5rem .04rem .02rem;position:sticky;bottom:-.68rem}body.theme-crm .tasks-filterbar{align-items:center;gap:.56rem;min-width:0;display:flex}body.theme-crm .tasks-filterbar__search{width:min(23rem,100%);min-width:0}body.theme-crm .tasks-filterbar__search .ui-input{width:100%}@media (max-width:33rem){body.theme-crm .crm-filter-popover--compact{width:min(100vw - 1.15rem,29rem);left:0;right:auto}body.theme-crm .crm-filter-popover__grid,body.theme-crm .crm-filter-popover--compact .finance-journal__filters,body.theme-crm .crm-filter-popover--compact .tasks-filters,body.theme-crm .crm-filter-popover--compact .cashbook-filters,body.theme-crm .crm-filter-popover--compact .crm-check-grid{grid-template-columns:minmax(0,1fr)}body.theme-crm .tasks-filterbar{flex-wrap:wrap;align-items:stretch}body.theme-crm .tasks-filterbar__search{width:100%}}body.theme-crm .crm-filter-popover--groups{border-color:color-mix(in srgb, var(--border-strong) 76%, var(--accent));background:color-mix(in srgb, var(--surface) 94%, var(--surface-2));border-radius:.66rem;gap:.58rem;width:min(27.5rem,100vw - 1.5rem);padding:.65rem;box-shadow:0 1rem 2.6rem #19332b24}body.theme-crm .crm-filter-popover__header{justify-content:space-between;align-items:center;gap:.75rem;min-height:2.25rem;padding:.1rem .2rem .28rem .3rem;display:flex}body.theme-crm .crm-filter-popover__header>div{gap:.04rem;min-width:0;display:grid}body.theme-crm .crm-filter-popover__header strong{color:var(--text);font-size:.86rem;font-weight:700}body.theme-crm .crm-filter-popover__header span{color:var(--text-muted);font-size:.69rem;line-height:1.25}body.theme-crm .crm-filter-popover__close{width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.42rem;flex:none;place-items:center;padding:0;display:grid}body.theme-crm .crm-filter-popover__close:hover{border-color:var(--border);color:var(--text);background:var(--surface-2)}body.theme-crm .crm-filter-section{border:1px solid color-mix(in srgb, var(--border) 74%, transparent);background:color-mix(in srgb, var(--surface-2) 54%, var(--surface));border-radius:.52rem;min-inline-size:0;margin:0;padding:.56rem}body.theme-crm .crm-filter-section>legend{color:var(--text-muted);letter-spacing:.025em;padding:0 .18rem;font-size:.66rem;font-weight:680}body.theme-crm .crm-filter-popover--groups .crm-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}body.theme-crm .crm-filter-field{min-width:0;color:var(--text-muted);gap:.22rem;font-size:.68rem;font-weight:560;display:grid}body.theme-crm .crm-filter-field--wide{grid-column:1/-1}body.theme-crm .crm-filter-field .ui-input{min-width:0;min-height:2.2rem;padding-block:.38rem;font-size:.77rem}body.theme-crm .crm-filter-checks{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;display:grid}body.theme-crm .crm-filter-checks .crm-check{border:1px solid color-mix(in srgb, var(--border) 76%, transparent);min-height:2.08rem;color:var(--text-muted);background:var(--surface);border-radius:.42rem;padding:.35rem .44rem;font-size:.71rem;line-height:1.15}body.theme-crm .crm-filter-checks .crm-check:hover{border-color:color-mix(in srgb, var(--accent) 30%, var(--border));color:var(--text);background:color-mix(in srgb, var(--accent-soft) 40%, var(--surface))}body.theme-crm .crm-filter-checks .crm-check:has(input:checked){border-color:color-mix(in srgb, var(--accent) 40%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 72%, var(--surface))}body.theme-crm .crm-filter-actions{justify-content:space-between;padding:.14rem .1rem .04rem}body.theme-crm .crm-filter-actions>.ui-btn:last-child{margin-left:auto}@media (max-width:33rem){body.theme-crm .crm-filter-popover--groups{width:min(100%,100vw - 1.15rem)}body.theme-crm .crm-filter-checks{grid-template-columns:minmax(0,1fr)}}body.theme-crm .crm-branch-picker{min-width:0;position:relative}body.theme-crm .crm-branch-picker__trigger{width:100%;min-width:0;height:var(--input-height);min-height:var(--input-height);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);background:var(--surface);box-shadow:none;font:inherit;text-align:left;cursor:pointer;transition:border-color .14s var(--ease-out), background .14s var(--ease-out), color .14s var(--ease-out);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.45rem .62rem;font-size:.8rem;line-height:1.2;display:grid}body.theme-crm .crm-branch-picker__trigger:hover:not(:disabled),body.theme-crm .crm-branch-picker__trigger[aria-expanded=true]{border-color:color-mix(in srgb, var(--accent) 42%, var(--border));background:color-mix(in srgb, var(--accent-soft) 32%, var(--surface))}body.theme-crm .crm-branch-picker__trigger:disabled{cursor:not-allowed;opacity:.58}body.theme-crm .crm-branch-picker__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.theme-crm .crm-branch-picker__marker{border:1px solid color-mix(in srgb, var(--text-muted) 40%, var(--border));background:color-mix(in srgb, var(--text-muted) 10%, var(--surface));border-radius:50%;flex:none;width:.56rem;height:.56rem;display:block}body.theme-crm .crm-branch-picker__marker.is-selected,body.theme-crm .crm-branch-picker__option.is-selected .crm-branch-picker__marker{border-color:var(--accent);background:var(--accent);box-shadow:0 0 0 .18rem color-mix(in srgb, var(--accent) 14%, transparent)}body.theme-crm .crm-branch-picker__caret{color:var(--text-muted);transition:rotate .14s var(--ease-out)}body.theme-crm .crm-branch-picker__trigger[aria-expanded=true] .crm-branch-picker__caret{rotate:180deg}body.theme-crm .crm-branch-picker__menu{z-index:80;border:1px solid color-mix(in srgb, var(--border-strong) 76%, var(--accent));background:color-mix(in srgb, var(--surface) 96%, var(--surface-2));border-radius:.58rem;gap:.1rem;width:max(100%,14.5rem);max-width:min(22rem,100vw - 1.25rem);max-height:min(19rem,52dvh);padding:.28rem;display:grid;position:absolute;top:calc(100% + .35rem);left:0;overflow:auto;box-shadow:0 1rem 2.5rem #19332b29}body.theme-crm .crm-branch-picker__menu--portalled{z-index:1100;max-width:calc(100vw - 1.5rem);position:fixed}body.theme-crm .crm-branch-picker__option{min-width:0;min-height:2.3rem;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.4rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.43rem .48rem;font-size:.77rem;line-height:1.2;display:grid}body.theme-crm .crm-branch-picker__option>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.theme-crm .crm-branch-picker__option:hover,body.theme-crm .crm-branch-picker__option:focus-visible{border-color:color-mix(in srgb, var(--accent) 26%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 52%, var(--surface));outline:none}body.theme-crm .crm-branch-picker__option.is-selected{border-color:color-mix(in srgb, var(--accent) 36%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 74%, var(--surface));font-weight:620}body.theme-crm .crm-branch-picker__option--all{color:var(--text-muted)}body.theme-crm .crm-branch-picker__menu--multi{padding-bottom:2.85rem}body.theme-crm .crm-branch-picker__done{border:0;border-top:1px solid var(--border);width:calc(100% + .56rem);min-height:2.25rem;color:var(--accent-strong);background:color-mix(in srgb, var(--surface) 94%, var(--accent-soft));font:inherit;cursor:pointer;border-radius:0 0 .5rem .5rem;margin:.18rem -.28rem -.28rem;font-size:.75rem;font-weight:680;position:sticky;bottom:-.28rem}body.theme-crm .crm-branch-picker__done:hover{background:var(--accent-soft)}body.theme-crm .sales-table__branch-filter{border:1px solid var(--border);width:100%;min-height:2.2rem;color:var(--text-muted);background:var(--surface);font:inherit;text-align:left;cursor:pointer;border-radius:.4rem;align-items:center;gap:.4rem;padding:.36rem .46rem;font-size:.74rem;display:inline-flex}body.theme-crm .sales-table__branch-filter>span{border:1px solid color-mix(in srgb, var(--accent) 48%, var(--border));background:color-mix(in srgb, var(--accent) 18%, var(--surface));border-radius:50%;flex:none;width:.48rem;height:.48rem}body.theme-crm .sales-table__branch-filter:hover{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 48%, var(--surface))}body.theme-crm .sales-filter-control{z-index:46;position:relative}body.theme-crm .sales-filter-popover{border:1px solid color-mix(in srgb, var(--border-strong) 78%, var(--accent));background:var(--surface);border-radius:.72rem;width:min(38rem,100vw - 2rem);max-height:min(38rem,100dvh - 7rem);padding:.82rem;position:absolute;top:calc(100% + .5rem);left:0;overflow:auto;box-shadow:0 1rem 2.4rem #12272329}body.theme-crm .sales-filter-popover>header{justify-content:space-between;align-items:center;gap:.7rem;min-height:1.9rem;display:flex}body.theme-crm .sales-filter-popover>header strong{color:var(--text);font-size:.86rem}body.theme-crm .sales-filter-popover>header button{width:1.85rem;height:1.85rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.42rem;place-items:center;padding:0;font-size:1.3rem;line-height:1;display:inline-grid}body.theme-crm .sales-filter-popover>header button:hover{color:var(--text);background:var(--surface-2)}body.theme-crm .sales-filter-popover>.crm-filter-tabs{margin-top:.46rem}body.theme-crm .sales-filter-popover .sales-filter-fields{margin-top:.7rem}body.theme-crm .sales-filter-popover>footer{justify-content:flex-end;gap:.45rem;margin-top:.82rem;display:flex}body.theme-crm .sales-table__branch-picker{width:100%;min-width:9.5rem}body.theme-crm .sales-table__branch-picker .crm-branch-picker__trigger{background:#ffffffe6;border-radius:.45rem;width:100%;height:2.2rem;min-height:2.2rem;padding-inline:.5rem;font-size:.72rem}@media (max-width:48rem){body.theme-crm .sales-filter-popover{width:auto;max-height:calc(100dvh - 5.15rem);position:fixed;top:4.4rem;left:.75rem;right:.75rem}}body.theme-crm .crm-scope-picker__menu{width:min(22rem,100vw - 1.25rem);max-height:min(26rem,62dvh);padding-bottom:2.85rem}body.theme-crm .crm-scope-picker__section{border-top:1px solid color-mix(in srgb, var(--border) 76%, transparent);gap:.08rem;padding-top:.32rem;display:grid}body.theme-crm .crm-scope-picker__section>h3{color:var(--text-muted);letter-spacing:.025em;margin:.05rem .38rem .16rem;font-family:inherit;font-size:.64rem;font-weight:680}body.theme-crm .crm-scope-picker__option--classroom{width:calc(100% - .48rem);margin-left:.48rem}body.theme-crm .crm-scope-picker__option--group{width:calc(100% - .96rem);margin-left:.96rem}body.theme-crm .crm-scope-picker__option--classroom .crm-branch-picker__marker{border-radius:.1rem;width:.48rem;height:.48rem}body.theme-crm .crm-scope-picker__option--group .crm-branch-picker__marker{border-radius:.08rem;width:.46rem;height:.46rem;rotate:45deg}body.theme-crm .crm-group-title__copy:hover .crm-group-title__name{color:var(--accent-strong);text-decoration-color:currentColor}body.theme-crm .crm-group-title__copy:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 60%, transparent);outline-offset:.2rem}body.theme-crm .crm-groups-table :is(th,td):nth-child(4){min-width:10.25rem}body.theme-crm .crm-groups-table :is(th,td):nth-child(5){text-align:center;width:5.4rem;min-width:5.4rem}body.theme-crm .crm-activity{--activity-tone:var(--accent);--activity-fill:var(--chip-info);min-width:0;min-height:1.7rem;color:var(--text);background:var(--activity-fill);box-shadow:none;font-variant-numeric:tabular-nums;letter-spacing:-.01em;white-space:nowrap;border:0;border-radius:.34rem;justify-content:center;align-items:center;padding:.16rem .45rem;font-size:.74rem;font-weight:740;line-height:1;display:inline-flex}body.theme-crm .crm-activity--strong{--activity-tone:var(--success);--activity-fill:var(--chip-success)}body.theme-crm .crm-activity--steady{--activity-tone:var(--warn);--activity-fill:var(--chip-warn)}body.theme-crm .crm-activity--attention{--activity-tone:var(--danger);--activity-fill:var(--chip-danger)}body.theme-crm .crm-group-members__table{background:0 0;border:0;border-radius:0;padding:0;overflow:visible}body.theme-crm .crm-group-members__table>.ui-table-wrap{margin-top:.45rem}body.theme-crm .crm-group-members-table{table-layout:auto;width:100%;min-width:67.5rem}body.theme-crm .crm-group-members-table :is(th,td){overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;white-space:nowrap;padding:.58rem .56rem}body.theme-crm .crm-group-members-table tbody>tr>td{vertical-align:middle!important}body.theme-crm .crm-group-members-table thead th{border-bottom-color:color-mix(in srgb, var(--accent) 30%, var(--border));color:var(--text);background:color-mix(in srgb, var(--accent) 11%, var(--surface))}body.theme-crm .crm-group-members-table tbody tr:hover>td{background:color-mix(in srgb, var(--accent) 8%, var(--surface))}body.theme-crm .crm-group-members-table__student{max-width:100%;color:var(--accent);text-align:left;text-overflow:ellipsis;text-underline-offset:.16em;white-space:nowrap;font-weight:750;line-height:1.3;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-thickness:1px;display:inline-block;overflow:hidden}body.theme-crm .crm-group-members-table__student:is(:hover,:focus-visible){color:var(--accent-strong)}body.theme-crm .crm-group-members-table__student:focus-visible{outline:2px solid color-mix(in srgb, var(--focus) 58%, transparent);outline-offset:.16rem}body.theme-crm .crm-group-members-table :is(th,td):first-child{min-width:14rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(2){text-align:center;min-width:3.65rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(3){min-width:5.9rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(4){min-width:6.65rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(5){min-width:6.35rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(6){min-width:7.35rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(7){min-width:6.65rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(8){font-variant-numeric:tabular-nums;min-width:7.8rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(9){font-variant-numeric:tabular-nums;min-width:9.65rem}body.theme-crm .crm-group-members-table :is(th,td):nth-child(10){text-align:center;width:3rem;min-width:3rem}body.theme-crm .ui-table .crm-row-menu>summary{color:var(--text-muted);transition:color .14s var(--ease-out), border-color .14s var(--ease-out), background .14s var(--ease-out);background:0 0;border:1px solid #0000;border-radius:.34rem}body.theme-crm .ui-table .crm-row-menu>summary:is(:hover,:focus-visible),body.theme-crm .ui-table .crm-row-menu[open]>summary{border-color:color-mix(in srgb, var(--accent) 38%, var(--border));color:var(--accent-strong);background:var(--accent-soft);outline:none}body.theme-crm .ui-table .crm-row-menu__list button:hover{color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 82%, var(--surface))}body.theme-crm .sales-table{table-layout:auto;min-width:max(100%,68rem)}body.theme-crm .sales-table :is(th,td){vertical-align:middle}body.theme-crm .sales-table tbody td{padding-block:.62rem}body.theme-crm .sales-table :is(th,td):nth-child(2){min-width:8.5rem}body.theme-crm .sales-table :is(th,td):nth-child(3){min-width:13.5rem}body.theme-crm .sales-table :is(th,td):nth-child(4){min-width:9.5rem}body.theme-crm .sales-table :is(th,td):nth-child(5){min-width:16rem}body.theme-crm .sales-table :is(th,td):nth-child(6){min-width:12rem}body.theme-crm .sales-table :is(th,td):last-child{width:8.25rem;min-width:8.25rem;padding-inline:.45rem}body.theme-crm .sales-table .crm-table-select{vertical-align:middle;line-height:0}body.theme-crm .sales-table .crm-table-select input[type=checkbox]{margin:auto;display:block}body.theme-crm .sales-table td>small{color:var(--text-muted);margin-top:.24rem;line-height:1.3}body.theme-crm .ui-main :is(.sales-branch-link,.sales-person-link,.sales-phone-link,.sales-group-link){color:var(--accent)}body.theme-crm .ui-main :is(.sales-branch-link,.sales-person-link,.sales-group-link):hover{color:var(--accent-strong)}body.theme-crm .sales-comment{width:min(19rem,100%);max-width:19rem}body.theme-crm .sales-comment-link{border:1px solid color-mix(in srgb, var(--accent) 20%, var(--border));width:fit-content;max-width:100%;color:var(--accent);background:color-mix(in srgb, var(--accent) 6%, var(--surface));-webkit-line-clamp:2;transition:color .14s var(--ease-out), border-color .14s var(--ease-out), background .14s var(--ease-out);border-radius:.35rem;-webkit-box-orient:vertical;padding:.28rem .48rem;font-size:.73rem;line-height:1.38;text-decoration:none;display:-webkit-box;overflow:hidden}body.theme-crm .sales-comment-link:hover{border-color:color-mix(in srgb, var(--accent) 46%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 10%, var(--surface));text-decoration:none}body.theme-crm .sales-comment-link:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 58%, transparent);outline-offset:.14rem}body.theme-crm .sales-row-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:.3rem;display:flex}body.theme-crm .sales-row-actions>.sales-row-action{border:1px solid color-mix(in srgb, var(--border) 84%, transparent);width:2.15rem;min-width:2.15rem;height:2.15rem;min-height:2.15rem;color:var(--text-muted);background:var(--surface);cursor:pointer;transition:color .14s var(--ease-out), border-color .14s var(--ease-out), background .14s var(--ease-out), transform .1s var(--ease-out);border-radius:.35rem;place-items:center;padding:0;line-height:0;text-decoration:none;display:inline-grid}body.theme-crm .sales-row-action svg{display:block}body.theme-crm .sales-row-action--edit:hover,body.theme-crm .sales-row-action--convert:hover{border-color:color-mix(in srgb, var(--accent) 42%, var(--border));color:var(--accent-strong);background:var(--accent-soft)}body.theme-crm .sales-row-action--delete:hover{border-color:color-mix(in srgb, var(--danger) 42%, var(--border));color:var(--danger);background:var(--danger-soft)}body.theme-crm .sales-row-action:active{transform:translateY(1px)}body.theme-crm .sales-row-action:focus-visible{outline:2px solid var(--focus);outline-offset:.12rem}@media (max-width:48rem){body.theme-crm .sales-row-actions>.sales-row-action{width:2.75rem;min-width:2.75rem;height:2.75rem;min-height:2.75rem}}body.theme-crm .sales-kanban{overscroll-behavior-x:contain;scrollbar-color:color-mix(in srgb, var(--accent) 76%, var(--text-muted)) color-mix(in srgb, var(--surface-2) 86%, transparent);scrollbar-width:thin;gap:.75rem;padding:.2rem .15rem 1rem;scroll-padding-inline:.15rem}body.theme-crm .sales-kanban:focus-visible{outline:2px solid var(--focus);outline-offset:.2rem}body.theme-crm .sales-kanban::-webkit-scrollbar{height:.72rem}body.theme-crm .sales-kanban::-webkit-scrollbar-track{background:color-mix(in srgb, var(--surface-2) 86%, transparent);border-radius:.25rem}body.theme-crm .sales-kanban::-webkit-scrollbar-thumb{border:.16rem solid var(--surface-2);background:color-mix(in srgb, var(--accent) 76%, var(--text-muted));border-radius:.28rem}body.theme-crm .sales-kanban__column{--stage-tone:#547f92;border:1px solid color-mix(in srgb, var(--stage-tone) 28%, var(--border));border-top:.22rem solid var(--stage-tone);background:linear-gradient(180deg, color-mix(in srgb, var(--stage-tone) 8%, var(--surface-2)), color-mix(in srgb, var(--stage-tone) 3%, var(--surface-2)) 9rem);min-height:clamp(25rem,100dvh - 15rem,38rem);transition:border-color .17s var(--ease-out), box-shadow .17s var(--ease-out), background .17s var(--ease-out);border-radius:.55rem;flex:0 0 min(22rem,88vw);overflow:clip;box-shadow:0 .25rem .9rem #12272309}body.theme-crm .sales-kanban__column--incoming{--stage-tone:#4d7e98}body.theme-crm .sales-kanban__column--progress{--stage-tone:#6f62a0}body.theme-crm .sales-kanban__column--attention{--stage-tone:#9a713b}body.theme-crm .sales-kanban__column--followup{--stage-tone:#3f7f73}body.theme-crm .sales-kanban__column--success{--stage-tone:#35775a}body.theme-crm .sales-kanban__column--reject{--stage-tone:#9c555e}body.theme-crm .sales-kanban__column.is-drop-target{border-color:color-mix(in srgb, var(--stage-tone) 72%, var(--border));background:linear-gradient(180deg, color-mix(in srgb, var(--stage-tone) 13%, var(--surface-2)), color-mix(in srgb, var(--stage-tone) 6%, var(--surface-2)) 10rem);box-shadow:0 0 0 .1rem color-mix(in srgb, var(--stage-tone) 25%, transparent), 0 .75rem 1.8rem #12272314}body.theme-crm .sales-kanban__column>header{border-bottom:1px solid color-mix(in srgb, var(--stage-tone) 18%, var(--border));background:color-mix(in srgb, var(--stage-tone) 7%, transparent);gap:.38rem;min-height:4.4rem;padding:.78rem .78rem .7rem;position:relative}body.theme-crm .sales-kanban__stage-title{align-items:center;gap:.52rem;min-width:0;display:flex}body.theme-crm .sales-kanban__stage-title strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;font-weight:750;line-height:1.25;overflow:hidden}body.theme-crm .sales-kanban__stage-marker{background:var(--stage-tone);border-radius:.12rem;flex:none;width:.34rem;height:1.18rem}body.theme-crm .sales-kanban__count{border:1px solid color-mix(in srgb, var(--stage-tone) 25%, var(--border));min-width:1.62rem;height:1.48rem;color:color-mix(in srgb, var(--stage-tone) 84%, var(--text));background:color-mix(in srgb, var(--stage-tone) 11%, var(--surface));font-variant-numeric:tabular-nums;border-radius:.32rem;place-items:center;margin-left:auto;padding-inline:.4rem;font-size:.74rem;font-weight:800;line-height:1;display:inline-grid}body.theme-crm .sales-kanban__column>header small{color:var(--text-muted);padding-left:.86rem;font-size:.72rem;line-height:1.3}body.theme-crm .sales-kanban__cards{gap:.52rem;min-height:10rem;padding:.58rem}body.theme-crm .sales-kanban__card{isolation:isolate;border:1px solid color-mix(in srgb, var(--stage-tone) 18%, var(--border));color:var(--text);background:var(--crm-panel-background,var(--surface));cursor:grab;transform-origin:50%;transition:border-color .15s var(--ease-out), box-shadow .15s var(--ease-out), opacity .12s var(--ease-out);border-radius:.46rem;gap:.44rem;padding:.68rem .7rem .64rem .78rem;position:relative;overflow:hidden;box-shadow:0 1px 1px #12272309,0 .22rem .65rem #1227230a}body.theme-crm .sales-kanban__card:before{content:"";background:color-mix(in srgb, var(--stage-tone) 78%, transparent);width:.2rem;position:absolute;inset:0 auto 0 0}body.theme-crm .sales-kanban__card:hover{border-color:color-mix(in srgb, var(--stage-tone) 48%, var(--border));box-shadow:0 .18rem .45rem #1227230f,0 .72rem 1.4rem #12272311}body.theme-crm .sales-kanban__card:active{cursor:grabbing}body.theme-crm .sales-kanban__card.is-dragging{opacity:.3;box-shadow:none;border-style:dashed}body.theme-crm .sales-kanban__card-head{align-items:center;gap:.35rem;min-width:0;display:flex}body.theme-crm .sales-kanban__drag-handle{width:1.15rem;height:1.15rem;color:color-mix(in srgb, var(--stage-tone) 75%, var(--text-muted));flex:none;place-items:center;margin-left:-.22rem;display:grid}body.theme-crm .sales-kanban__branch{border:1px solid color-mix(in srgb, var(--stage-tone) 18%, var(--border));min-width:0;max-width:100%;color:var(--text-muted);background:color-mix(in srgb, var(--stage-tone) 7%, var(--surface-2));text-overflow:ellipsis;white-space:nowrap;border-radius:.28rem;padding:.2rem .42rem;font-size:.68rem;font-weight:650;line-height:1.15;overflow:hidden}body.theme-crm .sales-kanban__person,body.theme-crm .ui-main .sales-kanban__person{width:fit-content;max-width:100%;color:var(--accent-strong);font-size:.92rem;font-weight:780;line-height:1.28;text-decoration:none}body.theme-crm .sales-kanban__person:hover{text-underline-offset:.18rem;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body.theme-crm .sales-kanban__contact{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.73rem;line-height:1.28;overflow:hidden}body.theme-crm .sales-kanban__details{justify-content:space-between;align-items:center;gap:.55rem;min-width:0;display:flex}body.theme-crm .sales-kanban__details>span{min-width:0;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.69rem;overflow:hidden}body.theme-crm .sales-kanban__phone,body.theme-crm .ui-main .sales-kanban__phone{min-width:0;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:.32rem;font-size:.76rem;font-weight:700;line-height:1.2;text-decoration:none;display:inline-flex}body.theme-crm .sales-kanban__phone svg{color:var(--stage-tone);flex:none}body.theme-crm .sales-kanban__phone.is-empty{color:var(--text-muted);font-weight:550}body.theme-crm .sales-kanban__card-footer{border-top:1px solid color-mix(in srgb, var(--stage-tone) 12%, var(--border));justify-content:space-between;align-items:center;gap:.45rem;min-width:0;margin-top:.08rem;padding-top:.48rem;display:flex}body.theme-crm .sales-kanban__card-footer>span{min-width:0;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;line-height:1.2;overflow:hidden}body.theme-crm .sales-kanban__footer-actions{justify-content:flex-end;align-items:center;gap:.38rem;min-width:0;margin-left:auto;display:inline-flex}body.theme-crm .sales-kanban__note{border:1px solid color-mix(in srgb, var(--stage-tone) 34%, var(--border));width:1.48rem;min-width:1.48rem;height:1.48rem;color:color-mix(in srgb, var(--stage-tone) 82%, var(--text));background:color-mix(in srgb, var(--stage-tone) 9%, var(--surface));font:inherit;cursor:pointer;transition:border-color .14s var(--ease-out), background .14s var(--ease-out), box-shadow .14s var(--ease-out);border-radius:50%;place-items:center;padding:0;font-size:.76rem;font-weight:850;line-height:1;display:inline-grid}body.theme-crm .sales-kanban__note:is(:hover,:focus-visible){border-color:color-mix(in srgb, var(--stage-tone) 66%, var(--border));background:color-mix(in srgb, var(--stage-tone) 16%, var(--surface));box-shadow:0 0 0 .18rem color-mix(in srgb, var(--stage-tone) 12%, transparent);outline:none}body.theme-crm .sales-kanban__task-count{background:var(--surface-2);border-radius:.26rem;flex:none;padding:.2rem .36rem;font-weight:750;color:color-mix(in srgb, var(--stage-tone) 75%, var(--text))!important}body.theme-crm .sales-kanban__task-count.is-overdue{background:var(--surface-2);color:var(--danger)!important}body.theme-crm .sales-kanban__drop-slot{border:1px dashed color-mix(in srgb, var(--stage-tone) 72%, var(--border));height:7.35rem;color:color-mix(in srgb, var(--stage-tone) 78%, var(--text));background:color-mix(in srgb, var(--stage-tone) 5%, var(--surface));animation:sales-kanban-slot-in .15s var(--ease-out) both;border-radius:.46rem;place-items:center;font-size:.72rem;font-weight:750;display:grid;overflow:hidden}body.theme-crm .sales-kanban__drop-slot>span{background:color-mix(in srgb, var(--surface) 88%, transparent);border-radius:.25rem;padding:.28rem .48rem}body.theme-crm .sales-kanban__empty{border:1px dashed color-mix(in srgb, var(--stage-tone) 28%, var(--border));min-height:7.5rem;color:var(--text-muted);background:color-mix(in srgb, var(--stage-tone) 3%, transparent);text-align:center;border-radius:.46rem;place-content:center;gap:.3rem;padding:1rem;display:grid}body.theme-crm .sales-kanban__empty strong{color:var(--text);font-size:.78rem}body.theme-crm .sales-kanban__empty span{max-width:13rem;font-size:.69rem;line-height:1.35}@keyframes sales-kanban-slot-in{0%{opacity:0;height:.35rem}to{opacity:1;height:7.35rem}}@media (max-width:48rem){body.theme-crm .sales-kanban{gap:.62rem;margin-inline:-.15rem;padding-inline:.15rem}body.theme-crm .sales-kanban__column{flex-basis:min(18rem,100vw - 2.65rem);min-height:25rem}body.theme-crm .sales-kanban__cards{padding:.5rem}}body.theme-crm .lead-source-visual{min-width:0;color:var(--text);align-items:center;gap:.5rem;line-height:1.2;display:inline-flex}body.theme-crm .lead-source-visual__image{border:1px solid color-mix(in srgb, var(--accent) 18%, var(--border));width:1.9rem;height:1.9rem;color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 8%, var(--surface-2));border-radius:.38rem;flex:none;place-items:center;display:inline-grid;position:relative;overflow:hidden}body.theme-crm .lead-source-visual__image img{object-fit:cover;background:var(--surface);width:100%;height:100%;display:block;position:absolute;inset:0}body.theme-crm .lead-source-visual__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.78rem;font-weight:680;overflow:hidden}body.theme-crm .lead-source-visual--compact{gap:.34rem}body.theme-crm .lead-source-visual--compact .lead-source-visual__image{border-radius:.3rem;width:1.36rem;height:1.36rem}body.theme-crm .lead-source-visual--compact .lead-source-visual__name{font-size:.68rem;font-weight:650}body.theme-crm .lead-source-visual[data-source-icon=telegram] .lead-source-visual__image{color:#287eaa;background:#e5f2f8}body.theme-crm .lead-source-visual[data-source-icon=whatsapp] .lead-source-visual__image,body.theme-crm .lead-source-visual[data-source-icon=referral] .lead-source-visual__image{color:#35755a;background:#e7f2ec}body.theme-crm .lead-source-visual[data-source-icon=vk] .lead-source-visual__image{color:#396f9f;background:#e7eef6}body.theme-crm .lead-source-visual:is([data-source-icon=yandex_maps],[data-source-icon=maps],[data-source-icon=offline]) .lead-source-visual__image{color:#8b6338;background:#f4ede3}body.theme-crm .sales-kanban__card-footer>.lead-source-visual{max-width:58%;overflow:visible}body.theme-crm .sales-kanban__card-footer .lead-source-visual__name{color:var(--text-muted)}body.theme-crm .directories-locked{border:1px solid color-mix(in srgb, var(--accent) 18%, var(--border));min-height:1.55rem;color:var(--text-muted);background:color-mix(in srgb, var(--accent) 5%, var(--surface-2));white-space:nowrap;border-radius:.28rem;align-items:center;padding:.16rem .46rem;font-size:.68rem;font-weight:680;display:inline-flex}body.theme-crm .directories-source-image-field{gap:.48rem;display:grid}body.theme-crm .directories-source-image-field>span{color:var(--text);font-size:.78rem;font-weight:680}body.theme-crm .directories-source-image-field>small{color:var(--text-muted);font-size:.68rem;line-height:1.35}body.theme-crm .directories-source-image-control{align-items:center;gap:.7rem;min-width:0;display:flex}body.theme-crm .directories-source-image-control>div{flex-wrap:wrap;align-items:center;gap:.42rem;display:flex}body.theme-crm .directories-source-image-preview{border:1px solid var(--border);background:var(--surface-2);border-radius:.48rem;flex:none;place-items:center;width:3rem;height:3rem;display:grid;overflow:hidden}body.theme-crm .directories-source-image-preview>img{object-fit:cover;width:100%;height:100%;display:block}body.theme-crm .directories-source-image-preview .lead-source-visual__name{display:none}body.theme-crm .directories-source-image-remove{min-height:2rem;color:var(--danger);font:inherit;cursor:pointer;background:0 0;border:0;padding-inline:.5rem;font-size:.72rem;font-weight:680}body.theme-crm .directories-source-image-remove:hover{text-underline-offset:.18rem;text-decoration:underline}html[data-theme=dark] body.theme-crm .lead-source-visual__image{border-color:color-mix(in srgb, var(--accent) 22%, var(--border));color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 10%, var(--surface-2))}html[data-theme=dark] body.theme-crm .lead-source-visual[data-source-icon] .lead-source-visual__image{background:color-mix(in srgb, currentColor 10%, var(--surface-2))}@media (max-width:64rem){body.theme-crm .ui-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-crm :where(.ui-page-header,.ui-section-head,.crm-section-heading,.ui-card,.crm-workspace-card,.school-settings-card){min-inline-size:0}body.theme-crm :where(.ui-page-header__actions,.ui-section-head>div:last-child,.crm-section-heading>div:last-child){max-inline-size:100%}}@media (max-width:48rem){body.theme-crm .ui-page{padding-bottom:calc(2rem + env(safe-area-inset-bottom))}body.theme-crm :where(.ui-card,.crm-workspace-card,.school-settings-card,.event-editor-section,.lead-editor__form>section,.trial-editor-section,.schedule-settings-section){padding:.85rem}body.theme-crm :where(.ui-section-head,.crm-section-heading){grid-template-columns:minmax(0,1fr);align-items:start;gap:.45rem;margin-bottom:.35rem;display:grid}body.theme-crm :where(.ui-section-head,.crm-section-heading)>div:last-child{justify-content:flex-start;width:100%}body.theme-crm :where(input,select,textarea,.ui-input,.ui-btn){max-inline-size:100%}body.theme-crm :where(.ui-form-grid,.crm-form-grid,.crm-mini-grid,.crm-check-grid,.lead-editor__grid,.schedule-time-range)>*{min-inline-size:0}body.theme-crm :where(.ui-tabs,.crm-workspace-tabs,.schedule-view-tabs){overscroll-behavior-x:contain;scrollbar-width:none}body.theme-crm :where(.ui-tabs,.crm-workspace-tabs,.schedule-view-tabs)::-webkit-scrollbar{display:none}}@media (max-width:30rem){body.theme-crm .ui-grid--3{grid-template-columns:minmax(0,1fr)}body.theme-crm :where(.ui-card,.crm-workspace-card,.school-settings-card){padding:.78rem}}body.theme-crm .crm-students-bulk-card{box-shadow:none;background:0 0;border:0;padding:0;overflow:hidden}body.theme-crm .crm-students-bulk{top:calc(var(--shell-topbar,4rem) + .75rem);z-index:8;border:1px solid color-mix(in srgb, var(--accent) 18%, var(--border));background:color-mix(in srgb, var(--surface) 94%, var(--accent-soft) 6%);box-shadow:0 .75rem 1.75rem color-mix(in srgb, var(--text) 8%, transparent);border-radius:.7rem;grid-template-columns:auto minmax(15rem,1fr) minmax(28rem,1.7fr) auto;align-items:stretch;gap:0;padding:0;display:grid;position:sticky;overflow:hidden}body.theme-crm .crm-students-bulk__selection{border-right:1px solid var(--border);background:color-mix(in srgb, var(--accent-soft) 65%, transparent);align-content:center;justify-items:start;min-width:6.5rem;padding:.72rem .85rem;display:grid}body.theme-crm .crm-students-bulk__selection>span{color:var(--text-muted);font-size:.68rem;font-weight:650;line-height:1.15}body.theme-crm .crm-students-bulk__selection>strong{color:var(--accent);font-variant-numeric:tabular-nums;font-size:1.25rem;line-height:1.1}body.theme-crm .crm-students-bulk__operation{border-right:1px solid var(--border);align-content:center;gap:.42rem;min-width:0;padding:.7rem .75rem;display:grid}body.theme-crm .crm-students-bulk__operation--export{border-right:0}body.theme-crm .crm-students-bulk__title{color:var(--text);font-size:.74rem;font-weight:700;line-height:1.15}body.theme-crm .crm-students-bulk__controls{align-items:center;gap:.42rem;min-width:0;display:flex}body.theme-crm .crm-students-bulk__controls .ui-input{min-width:0;height:2.1rem;font-size:.76rem}body.theme-crm .crm-students-bulk__controls .ui-btn{white-space:nowrap;flex:none;min-height:2.1rem}body.theme-crm .crm-students-bulk__group-select{flex:auto}body.theme-crm .crm-students-bulk__task-title{flex:11rem}body.theme-crm .crm-students-bulk__assignee{flex:0 10.5rem}body.theme-crm .crm-students-bulk__due-at{flex:0 0 10.2rem}@media (max-width:82rem){body.theme-crm .crm-students-bulk{grid-template-columns:auto minmax(0,1fr) minmax(0,1.35fr)}body.theme-crm .crm-students-bulk__operation--export{border-top:1px solid var(--border);border-right:0;grid-column:2/-1}}@media (max-width:62rem){body.theme-crm .crm-students-bulk{grid-template-columns:repeat(2,minmax(0,1fr));position:static}body.theme-crm .crm-students-bulk__selection{border-right:0;border-bottom:1px solid var(--border);grid-column:1/-1;grid-template-columns:auto auto;justify-content:start;align-items:baseline;gap:.32rem;min-width:0;padding-block:.58rem}body.theme-crm .crm-students-bulk__operation--export{grid-column:1/-1}body.theme-crm .crm-students-bulk__operation--tasks{border-right:0}}@media (max-width:44rem){body.theme-crm .crm-students-bulk{grid-template-columns:minmax(0,1fr)}body.theme-crm .crm-students-bulk__operation,body.theme-crm .crm-students-bulk__operation--tasks,body.theme-crm .crm-students-bulk__operation--export{border-right:0;border-top:1px solid var(--border);grid-column:1}body.theme-crm .crm-students-bulk__controls{flex-wrap:wrap}body.theme-crm .crm-students-bulk__group-select,body.theme-crm .crm-students-bulk__task-title{flex-basis:100%}body.theme-crm .crm-students-bulk__assignee,body.theme-crm .crm-students-bulk__due-at{flex:10rem}}body.theme-crm .student-profile-tabs{border-bottom:1px solid var(--border);scrollbar-width:none;gap:1.8rem;min-height:2.55rem;margin:0;padding:0;overflow:auto hidden}body.theme-crm .student-profile-tabs::-webkit-scrollbar{display:none}body.theme-crm .student-profile-tabs>.ui-tab{min-height:2.5rem;color:var(--text);box-shadow:none;flex:none;align-items:center;gap:.35rem;padding:.1rem 0;font-size:.74rem;font-weight:400;line-height:1;display:inline-flex}body.theme-crm .student-profile-tabs>.ui-tab.is-active{color:var(--text);box-shadow:inset 0 -2px var(--text);background:0 0;border-color:#0000;font-weight:500}body.theme-crm .student-profile-tabs .ui-tab__badge{width:1rem;height:1rem;color:var(--accent-on-solid);background:var(--accent-solid);border-radius:50%;place-items:center;font-size:.61rem;font-weight:650;line-height:1;display:inline-grid}body.theme-crm .student-contact-form{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);gap:.65rem;margin-top:.9rem;padding:.9rem;display:grid}body.theme-crm .student-contact-form>strong{color:var(--text);font-size:.82rem;font-weight:680}body.theme-crm .student-contact-summary{margin-top:.24rem}@media (max-width:30rem){body.theme-crm .student-contact-form{padding:.75rem}}body.theme-crm .student-access-list{grid-column:1/-1;gap:.8rem;min-width:0;display:grid}body.theme-crm .student-access-list[hidden]{display:none}body.theme-crm .student-files-card{grid-column:1/-1;grid-template-columns:minmax(14rem,.32fr) minmax(0,.68fr);align-items:start;gap:1.2rem;display:grid}body.theme-crm .student-files-card[hidden]{display:none}body.theme-crm .student-files-card>.ui-section-head{top:calc(var(--shell-topbar) + 1rem);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);flex-direction:column;align-items:flex-start;padding:.9rem;position:sticky}body.theme-crm .student-files-card>.crm-table-scroll{min-width:0;margin-top:0!important}body.theme-crm .student-files-card>.ui-table__muted{border:1px dashed var(--border);border-radius:var(--radius-sm);text-align:center;grid-column:2;margin:0;padding:1rem}body.theme-crm .student-files-layout{grid-template-columns:minmax(14rem,.32fr) minmax(0,.68fr);gap:1rem;min-width:0;display:grid}body.theme-crm .student-files-layout__intro{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);align-content:start;justify-items:start;gap:.8rem;padding:1rem;display:grid}body.theme-crm .student-files-layout__icon{width:2.6rem;height:2.6rem;color:var(--accent-strong);background:var(--accent-muted);border-radius:.75rem;place-items:center;display:grid}body.theme-crm .student-files-layout__intro h2{color:var(--text);margin:0;font-size:1rem}body.theme-crm .student-files-layout__intro p{color:var(--text-muted);margin:.35rem 0 0;font-size:.78rem;line-height:1.5}body.theme-crm .student-files-layout__content{min-width:0}body.theme-crm .student-files-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}body.theme-crm .student-file-card{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:0;transition:border-color .16s var(--ease-out), background .16s var(--ease-out);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.75rem;display:grid}body.theme-crm .student-file-card:hover{border-color:var(--accent-border);background:var(--accent-subtle)}body.theme-crm .student-file-card__type{width:2.2rem;height:2.2rem;color:var(--accent-strong);background:var(--accent-muted);border-radius:.6rem;place-items:center;display:grid}body.theme-crm .student-file-card__main{gap:.2rem;min-width:0;display:grid}body.theme-crm .student-file-card__main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}body.theme-crm .student-file-card__main span{color:var(--text-muted);font-size:.67rem}body.theme-crm .student-file-card>.ui-chip{grid-column:2;justify-self:start}body.theme-crm .student-file-card__actions{grid-area:1/3/3;align-items:center;gap:.2rem;display:flex}body.theme-crm .student-file-card__actions button{width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.5rem;place-items:center;padding:0;display:grid}body.theme-crm .student-file-card__actions button:hover:not(:disabled){color:var(--accent-strong);background:var(--accent-muted)}body.theme-crm .student-file-card__actions button:last-child:hover{color:var(--danger);background:var(--danger-soft)}body.theme-crm .student-file-card__actions button:disabled{opacity:.35;cursor:not-allowed}body.theme-crm .student-files-empty{border:1px dashed var(--border);border-radius:var(--radius);min-height:12rem;color:var(--text-muted);background:var(--surface-2);text-align:center;align-content:center;justify-items:center;gap:.3rem;padding:1rem;display:grid}body.theme-crm .student-files-empty svg{color:var(--accent);margin-bottom:.25rem}body.theme-crm .student-files-empty strong{color:var(--text);font-size:.82rem}body.theme-crm .student-files-empty span{font-size:.72rem}@media (max-width:56rem){body.theme-crm .student-files-card{grid-template-columns:1fr}body.theme-crm .student-files-card>.ui-section-head{position:static}body.theme-crm .student-files-card>.ui-table__muted{grid-column:1}body.theme-crm .student-files-layout{grid-template-columns:1fr}}@media (max-width:42rem){body.theme-crm .student-files-grid{grid-template-columns:1fr}}body.theme-crm .student-access-card{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:6.5rem;box-shadow:none;border-radius:.5rem;padding:.75rem}body.theme-crm .student-access-card__header{justify-content:space-between;align-items:flex-start;gap:.75rem 1rem;display:flex}body.theme-crm .student-access-card__header h2{min-width:0;color:var(--text);margin:0;font-size:.84rem;font-weight:600;line-height:1.35}body.theme-crm .student-access-card__actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:.45rem;display:flex}body.theme-crm .student-access-button{border:1px solid var(--border);min-height:1.8rem;color:var(--text-muted);background:var(--surface);font:inherit;white-space:nowrap;cursor:pointer;border-radius:.38rem;padding:.25rem .7rem;font-size:.73rem;font-weight:450;line-height:1}body.theme-crm .student-access-button--copy{background:var(--surface-2);border-color:#0000}body.theme-crm .student-access-button:hover{border-color:color-mix(in srgb, var(--text-muted) 32%, var(--border));color:var(--text);background:var(--surface-2)}body.theme-crm .student-access-button:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 42%, transparent);outline-offset:2px}body.theme-crm .student-access-card__credentials{gap:.6rem;margin:.75rem 0 0;display:grid}body.theme-crm .student-access-card__credentials>div{align-items:center;gap:.38rem;min-width:0;display:flex}body.theme-crm .student-access-card__credentials dt,body.theme-crm .student-access-card__credentials dd{margin:0;font-size:.78rem;line-height:1.3}body.theme-crm .student-access-card__credentials dt{color:var(--text);flex:none;font-weight:400}body.theme-crm .student-access-card__credentials dd{max-width:100%;color:var(--text-muted);background:var(--surface-2);text-overflow:ellipsis;white-space:nowrap;border-radius:.18rem;padding:.14rem .3rem;font-size:.72rem;display:inline-block;overflow:hidden}body.theme-crm .student-access-card__credentials dd:has(.employee-temporary-password){white-space:normal;background:0 0;padding:0;overflow:visible}body.theme-crm .employee-temporary-password{align-items:center;gap:.5rem;max-width:100%;display:inline-flex}body.theme-crm .employee-temporary-password code{border:1px solid color-mix(in srgb, var(--accent) 28%, var(--border));color:var(--text);background:color-mix(in srgb, var(--accent-soft) 58%, var(--surface));overflow-wrap:anywhere;border-radius:.3rem;padding:.28rem .42rem;font-size:.76rem;font-weight:650;line-height:1.25}body.theme-crm .employee-temporary-password button{min-height:1.8rem;color:var(--accent-strong);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.3rem;padding:.2rem .5rem;font-size:.7rem}body.theme-crm .employee-temporary-password button:hover{background:var(--surface-2)}body.theme-crm .student-access-editor{width:min(100%,31rem)}body.theme-crm .student-access-editor__fields{gap:.8rem;padding:1rem;display:grid}body.theme-crm .student-access-editor__close{width:2rem;height:2rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.4rem;place-items:center;padding:0;font-size:1.3rem;display:grid}body.theme-crm .student-access-editor__close:hover{color:var(--text);background:var(--surface-2)}@media (max-width:40rem){body.theme-crm .employee-dialog__footer{align-items:stretch}body.theme-crm .employee-dialog__email-credentials{order:-1;width:100%;margin-left:0}body.theme-crm .student-profile-tabs{gap:1rem}body.theme-crm .student-access-card__header{flex-wrap:wrap}body.theme-crm .student-access-card__actions{justify-content:flex-start;width:100%}body.theme-crm .student-access-button{min-height:2.25rem}}body.theme-crm .student-app-activity{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);min-width:0;box-shadow:var(--shadow-soft);grid-column:1/-1;gap:1.15rem;padding:clamp(.85rem,1.6vw,1.25rem);display:grid}body.theme-crm .student-app-activity[hidden]{display:none}body.theme-crm .student-app-activity__toolbar{border:1px solid color-mix(in srgb, var(--border) 82%, transparent);border-radius:var(--radius);background:var(--surface-2);grid-template-columns:minmax(0,1fr);gap:.75rem;padding:.75rem;display:grid}body.theme-crm .student-app-activity__filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.6rem;min-width:0;display:grid}body.theme-crm :where(.student-app-activity__date,.student-app-activity__select){min-width:0;height:2rem;display:block;position:relative}body.theme-crm :where(.student-app-activity__date input,.student-app-activity__select select){border:1px solid var(--border);width:100%;min-width:0;height:100%;color:var(--text-muted);background:var(--surface);font:inherit;border-radius:.38rem;outline:0;padding:0 2.15rem 0 .65rem;font-size:.73rem}body.theme-crm .student-app-activity__date[data-empty=true] input{color:#0000}body.theme-crm .student-app-activity__date input::-webkit-calendar-picker-indicator{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}body.theme-crm .student-app-activity__date>span:not(.sr-only){z-index:1;color:var(--text-faint);pointer-events:none;font-size:.73rem;line-height:1;position:absolute;top:50%;left:.65rem;transform:translateY(-50%)}body.theme-crm :where(.student-app-activity__date,.student-app-activity__select)>svg{color:var(--text-faint);pointer-events:none;position:absolute;top:50%;right:.65rem;transform:translateY(-50%)}body.theme-crm .student-app-activity__select select{appearance:none}body.theme-crm :where(.student-app-activity__date input,.student-app-activity__select select):focus-visible{border-color:color-mix(in srgb, var(--text-muted) 48%, var(--border));box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 12%, transparent)}body.theme-crm .student-app-activity__add{min-height:2rem;color:var(--accent-on-solid);background:var(--accent-solid);font:inherit;white-space:nowrap;cursor:pointer;border:0;border-radius:.35rem;justify-content:center;justify-self:start;align-items:center;gap:.4rem;padding:.3rem .8rem;font-size:.73rem;font-weight:500;line-height:1;display:inline-flex}body.theme-crm .student-app-activity__add:hover{background:var(--accent-solid-hover)}body.theme-crm .student-app-activity__add:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 42%, transparent);outline-offset:2px}body.theme-crm .student-app-activity__ranks{grid-template-columns:minmax(0,1fr);gap:.65rem;display:grid}body.theme-crm .student-app-rank{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);min-height:4.35rem;box-shadow:none;align-items:center;gap:.7rem;padding:.75rem .85rem;display:flex;position:relative;overflow:hidden}body.theme-crm .student-app-rank--group:before{background:var(--accent);content:"";height:2px;position:absolute;inset:0 0 auto}body.theme-crm .student-app-rank__icon{border-radius:.55rem;flex:none;place-items:center;width:2.25rem;height:2.25rem;display:grid}body.theme-crm .student-app-rank--group .student-app-rank__icon{color:var(--accent-strong);background:var(--accent-muted)}body.theme-crm .student-app-rank--school .student-app-rank__icon{color:#647d9f;background:#eaf2fc}body.theme-crm .student-app-rank--world .student-app-rank__icon{color:#927b5e;background:#fff4e5}body.theme-crm .student-app-rank>div{gap:.18rem;min-width:0;display:grid}body.theme-crm .student-app-rank strong{color:var(--text);font-size:.98rem;font-weight:620;line-height:1}body.theme-crm .student-app-rank>div>span{color:var(--text-muted);letter-spacing:.01em;text-transform:uppercase;font-size:.69rem;font-weight:600;line-height:1.15}body.theme-crm .student-app-activity__feed{gap:1rem;display:grid}body.theme-crm .student-app-activity-day{gap:.5rem;min-width:0;display:grid}body.theme-crm .student-app-activity-day>h2{color:var(--text);margin:0;font-size:.8rem;font-weight:650;line-height:1.25}body.theme-crm .student-app-activity-day__divider{display:none}body.theme-crm .student-app-activity-card{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);min-width:0;padding:.7rem .8rem}body.theme-crm .student-app-activity-badge{border-radius:var(--radius-chip);white-space:nowrap;border:1px solid;align-items:center;min-height:1.25rem;padding:.1rem .45rem;font-size:.61rem;font-weight:520;line-height:1;display:inline-flex}body.theme-crm .student-app-activity-badge--motivation{color:#9227c9;background:#faf0ff;border-color:#dfa5ff}body.theme-crm .student-app-activity-badge--training{color:#c98012;background:#fff8e8;border-color:#f4c66d}body.theme-crm .student-app-activity-card__rows{margin-top:.35rem}body.theme-crm .student-app-activity-row{border-bottom:1px solid var(--border-subtle);align-items:center;gap:.55rem;min-width:0;min-height:3.05rem;display:flex}body.theme-crm .student-app-activity-row:last-child,body.theme-crm .student-app-training:last-child{border-bottom:0}body.theme-crm :where(.student-app-activity-row,.student-app-training__main) time{color:var(--text-faint);font-variant-numeric:tabular-nums;white-space:nowrap;flex:0 0 2.6rem;font-size:.66rem;line-height:1}body.theme-crm .student-app-activity-row__title{min-width:0;color:var(--text-muted);overflow-wrap:anywhere;flex:auto;font-size:.75rem;font-weight:400;line-height:1.35}body.theme-crm .student-app-activity-row__value,body.theme-crm .student-app-training__main strong{color:#269d3e;text-align:right;white-space:nowrap;flex:none;min-width:4.6rem;font-size:.72rem;font-weight:500}body.theme-crm :where(.student-app-activity-row__reward,.student-app-activity-row__coin){border-radius:50%;flex:none;width:1.9rem;height:1.9rem}body.theme-crm .student-app-activity-row__reward{object-fit:cover}body.theme-crm .student-app-activity-row__coin{color:#9b6a05;background:#f4c84c;border:1px solid #e3ae28;place-items:center;font-size:.68rem;font-weight:700;display:grid}body.theme-crm .student-app-activity-row__delete{color:#e96876;cursor:pointer;background:0 0;border:0;border-radius:.35rem;flex:none;place-items:center;width:1.8rem;height:1.8rem;padding:0;display:grid}body.theme-crm .student-app-activity-row__delete:hover{color:#d84959;background:#ff6b781a}body.theme-crm .student-app-training{border-bottom:1px solid var(--border-subtle);min-height:3.4rem;padding:.45rem 0}body.theme-crm .student-app-training__main{align-items:center;gap:.55rem;min-width:0;display:flex}body.theme-crm .student-app-training__main>span{min-width:0;color:var(--text-muted);flex:auto;font-size:.75rem}body.theme-crm .student-app-training>small{color:var(--text-faint);margin-top:.25rem;margin-left:3.15rem;font-size:.66rem;display:block}body.theme-crm .student-app-activity__empty{border:1px dashed var(--border);border-radius:var(--radius);min-height:13rem;color:var(--text-muted);background:var(--surface-2);text-align:center;align-content:center;justify-items:center;gap:.35rem;padding:1.2rem;display:grid}body.theme-crm .student-app-activity__empty svg{color:var(--accent);margin-bottom:.2rem}body.theme-crm .student-app-activity__empty strong{color:var(--text);font-size:.82rem}body.theme-crm .student-app-activity__empty span{max-width:30rem;font-size:.72rem;line-height:1.45}@media (min-width:48rem){body.theme-crm .student-app-activity__toolbar{align-items:start}body.theme-crm .student-app-activity__filters{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr))}body.theme-crm .student-app-activity__add{align-self:start}body.theme-crm .student-app-activity__ranks{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:64rem){body.theme-crm .student-app-activity__ranks{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:70rem){body.theme-crm .student-app-activity{grid-template-columns:minmax(15rem,.32fr) minmax(0,.68fr);align-items:start}body.theme-crm .student-app-activity__toolbar{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:center}body.theme-crm .student-app-activity__filters{grid-template-columns:10rem 10rem minmax(12rem,13rem)}body.theme-crm .student-app-activity__add{place-self:center end}body.theme-crm .student-app-activity__ranks{grid-template-columns:1fr;align-content:start}body.theme-crm .student-app-activity__feed{border-left:1px solid var(--border);min-width:0;padding-left:1rem}}@media (max-width:40rem){body.theme-crm .student-app-activity__add{width:100%;min-height:2.5rem}body.theme-crm .student-app-activity-row{flex-wrap:wrap;gap:.4rem .55rem;padding:.55rem 0}body.theme-crm .student-app-activity-row__title{flex-basis:calc(100% - 3.2rem)}body.theme-crm .student-app-activity-row__value{margin-left:3.15rem}}body.theme-crm .student-groups-workspace{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:none;border-radius:.45rem;grid-column:1/-1;padding:.8rem}body.theme-crm .student-groups-workspace__top{justify-content:flex-end;align-items:center;gap:.55rem;display:flex}body.theme-crm .student-groups-workspace__switch{background:var(--surface-2);border-radius:999px;align-items:center;padding:.16rem;display:inline-flex}body.theme-crm .student-groups-workspace__switch button{min-height:1.7rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.25rem .72rem;font-size:.72rem}body.theme-crm .student-groups-workspace__switch button.is-active{color:var(--text);background:var(--surface);box-shadow:0 1px 3px #0f172a14, inset 0 0 0 1px var(--border);font-weight:550}body.theme-crm .student-groups-workspace__add{min-height:1.85rem;color:var(--surface);background:var(--text);font:inherit;cursor:pointer;border:0;border-radius:.38rem;align-items:center;gap:.38rem;padding:.3rem .75rem;font-size:.72rem;font-weight:550;display:inline-flex}body.theme-crm .student-groups-workspace__add:hover{opacity:.86}body.theme-crm .student-groups-workspace__tables{gap:1.6rem;margin-top:1.65rem;display:grid}body.theme-crm .student-groups-table-wrap{border:1px solid var(--border);border-radius:.38rem;width:100%;min-width:0;overflow-x:auto}body.theme-crm .student-groups-table{border-collapse:collapse;width:100%;min-width:52rem;color:var(--text);background:var(--surface);border:0;font-size:.72rem}body.theme-crm .student-groups-table th,body.theme-crm .student-groups-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;min-height:2.35rem;padding:.58rem .62rem}body.theme-crm .student-groups-table th:last-child,body.theme-crm .student-groups-table td:last-child{border-right:0}body.theme-crm .student-groups-table tbody tr:last-child td{border-bottom:0}body.theme-crm .student-groups-table thead tr:first-child th{height:2.45rem;color:var(--text);background:var(--surface-2);text-align:center;padding:.55rem;font-weight:650}body.theme-crm .student-groups-table thead tr:nth-child(2) th{color:var(--text-muted);background:color-mix(in srgb, var(--surface-2) 64%, var(--surface));white-space:nowrap;font-weight:500}body.theme-crm .student-groups-table tbody tr:hover{background:color-mix(in srgb, var(--accent) 4%, var(--surface))}body.theme-crm .student-groups-table__link{color:var(--accent);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:550}body.theme-crm .student-groups-table__link:hover{text-underline-offset:.15rem;text-decoration:underline}body.theme-crm .student-groups-table__actions{align-items:center;gap:.55rem;display:flex}body.theme-crm .student-groups-table__actions button{width:1.75rem;height:1.75rem;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.3rem;place-items:center;padding:0;display:grid;position:relative}body.theme-crm .student-groups-table__actions button:hover{color:var(--text);background:var(--surface-2)}body.theme-crm .student-groups-table__actions button.student-groups-table__remove{color:#e85d68}body.theme-crm [data-tooltip]:before{z-index:40;color:#fff;content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;background:#17191d;border-radius:.25rem;padding:.28rem .42rem;font-size:.63rem;line-height:1;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + .4rem);right:50%;transform:translate(50%)translateY(.15rem)}body.theme-crm [data-tooltip]:hover:before,body.theme-crm [data-tooltip]:focus-visible:before{opacity:1;transform:translate(50%)translateY(0)}body.theme-crm .student-groups-calendar{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);min-width:0;margin-top:1rem;padding:.85rem}body.theme-crm .student-groups-calendar__filters,body.theme-crm .student-groups-calendar__period{justify-content:space-between;align-items:center;gap:.75rem;display:flex}body.theme-crm .student-groups-calendar__filters>div{align-items:center;gap:.5rem;display:flex}body.theme-crm .student-groups-calendar__filters label{width:12rem;display:block;position:relative}body.theme-crm .student-groups-calendar__filters select,body.theme-crm .student-attendance-modal__controls select{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;min-height:2.25rem;color:var(--text);background:var(--surface);font:inherit;appearance:none;padding:.4rem 1.9rem .4rem .7rem;font-size:.76rem}body.theme-crm .student-groups-calendar__filters label>svg{color:var(--text-faint);pointer-events:none;position:absolute;top:50%;right:.55rem;transform:translateY(-50%)}body.theme-crm .student-groups-calendar__filters>div:last-child button,body.theme-crm .student-groups-calendar__nav button{border-radius:var(--radius-xs);min-width:2.15rem;min-height:2.15rem;color:var(--text-muted);background:var(--surface);font:inherit;cursor:pointer;border:0;place-items:center;padding:0;display:grid}body.theme-crm .student-groups-calendar__filters>div:last-child button:hover,body.theme-crm .student-groups-calendar__nav button:hover{color:var(--text);background:var(--surface-2)}body.theme-crm .student-groups-calendar__period{border-top:1px solid var(--border);grid-template-columns:1fr auto 1fr;margin:.8rem 0 .7rem;padding-top:.75rem;display:grid}body.theme-crm .student-groups-calendar__period>strong{color:var(--text);text-align:center;font-size:.86rem;font-weight:700}body.theme-crm .student-groups-calendar__views,body.theme-crm .student-groups-calendar__nav{align-items:center;gap:.2rem;display:flex}body.theme-crm .student-groups-calendar__views button{border-radius:var(--radius-xs);min-height:2rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:.3rem .65rem;font-size:.72rem}body.theme-crm .student-groups-calendar__views button.is-active{color:var(--accent-on-solid);background:var(--accent-solid)}body.theme-crm .student-groups-calendar__nav{justify-content:flex-end}body.theme-crm .student-groups-calendar__nav button:first-child{text-transform:uppercase;border-radius:.25rem;width:auto;padding:0 .45rem;font-size:.64rem}body.theme-crm .student-groups-calendar__nav button:nth-child(2){border:1px solid var(--text)}body.theme-crm .student-groups-month,body.theme-crm .student-groups-week{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:52rem;position:relative;overflow:hidden}:is(body.theme-crm .student-groups-calendar:has(.student-groups-month),body.theme-crm .student-groups-calendar:has(.student-groups-week)){overflow-x:auto}body.theme-crm .student-groups-month__weekdays,body.theme-crm .student-groups-month__grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}body.theme-crm .student-groups-month__weekdays span{color:var(--text-faint);background:var(--surface);text-align:center;padding:.48rem;font-size:.67rem}body.theme-crm .student-groups-month__grid>div{border-top:1px solid var(--border);border-right:1px solid var(--border);background:color-mix(in srgb, var(--accent) 3.5%, var(--surface));min-height:6rem;padding:1.8rem .32rem .35rem;position:relative;overflow:hidden}body.theme-crm .student-groups-month__grid>div:nth-child(7n){border-right:0}body.theme-crm .student-groups-month__grid>div.is-outside{opacity:.48}body.theme-crm .student-groups-month__grid time{width:1.3rem;height:1.3rem;color:var(--text-muted);background:color-mix(in srgb, var(--accent) 9%, var(--surface));border-radius:50%;place-items:center;font-size:.66rem;display:grid;position:absolute;top:.28rem;right:.3rem}body.theme-crm .student-groups-calendar-event{border:1px solid color-mix(in srgb, var(--accent) 56%, var(--border));min-height:2.65rem;color:var(--text);background:color-mix(in srgb, var(--accent) 3%, var(--surface));text-align:left;cursor:pointer;border-radius:.32rem;gap:.13rem;margin-bottom:.24rem;padding:.35rem .45rem;font-family:inherit;font-size:.59rem;display:grid;position:relative;overflow:hidden}body.theme-crm .student-groups-calendar-event strong{color:color-mix(in srgb, var(--accent) 72%, var(--text));text-overflow:ellipsis;white-space:nowrap;font-size:.65rem;overflow:hidden}body.theme-crm .student-groups-calendar-event>i,body.theme-crm .student-groups-week__event>i{background:var(--text-faint);border-radius:50%;width:.42rem;height:.42rem;position:absolute;top:.3rem;right:.32rem}body.theme-crm i.is-present,body.theme-crm i.is-online{background:#2bcb45}body.theme-crm i.is-absence,body.theme-crm i.is-paid_absence{background:#f52245}body.theme-crm i.is-absent{background:#f2a93b}body.theme-crm i.is-trial{background:#38aee8}body.theme-crm i.is-transfer{background:#b85c4b}body.theme-crm i.is-bonus{background:#2f6fed}body.theme-crm .student-groups-week__header,body.theme-crm .student-groups-week__body{grid-template-columns:3.25rem repeat(auto-fit,minmax(7.5rem,1fr));display:grid}body.theme-crm .student-groups-week__header{border-bottom:1px solid var(--border);min-height:3.25rem}body.theme-crm .student-groups-week__header>div{border-left:1px solid var(--border);color:var(--text-muted);justify-content:center;align-items:center;gap:.35rem;font-size:.68rem;display:flex}body.theme-crm .student-groups-week__header strong{width:1.25rem;height:1.25rem;color:var(--text);background:color-mix(in srgb, var(--accent) 12%, var(--surface));border-radius:50%;place-items:center;font-size:.64rem;display:grid}body.theme-crm .student-groups-week__header>div.is-current,body.theme-crm .student-groups-week__day.is-current{background:color-mix(in srgb, var(--accent) 7%, var(--surface))}body.theme-crm .student-groups-week__body{height:min(56rem,100dvh - 18rem);min-height:32rem;position:relative;overflow-y:auto}body.theme-crm .student-groups-week__times,body.theme-crm .student-groups-week__day{height:97.5rem;position:relative}body.theme-crm .student-groups-week__times{background:repeating-linear-gradient(to bottom, transparent 0 23px, color-mix(in srgb, var(--border) 62%, transparent) 23px 24px)}body.theme-crm .student-groups-week__times span{height:1.5rem;color:var(--text-faint);text-align:right;padding-right:.38rem;font-size:.58rem;display:block;transform:translateY(-.28rem)}body.theme-crm .student-groups-week__times span[data-major=true]{color:var(--text-muted);font-size:.65rem;font-weight:650}body.theme-crm .student-groups-week__times span[data-half=true]{color:color-mix(in srgb, var(--text-muted) 76%, transparent);font-size:.56rem}body.theme-crm .student-groups-week__day{border-left:1px solid var(--border);background:repeating-linear-gradient(to bottom, transparent 0 23px, color-mix(in srgb, var(--border) 62%, transparent) 23px 24px), var(--surface)}body.theme-crm .student-groups-week__event{z-index:2;border:1px solid color-mix(in srgb, var(--accent) 58%, var(--border));color:var(--text);background:color-mix(in srgb, var(--accent) 8%, var(--surface));text-align:left;cursor:pointer;border-radius:.42rem;align-content:start;gap:.12rem;padding:.35rem;font-family:inherit;font-size:.64rem;line-height:1.25;display:grid;position:absolute;left:.22rem;right:.22rem;overflow:hidden}body.theme-crm .student-groups-week__event strong{color:color-mix(in srgb, var(--accent) 72%, var(--text))}body.theme-crm .student-groups-week__event small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.theme-crm .student-groups-calendar__empty{z-index:4;border:1px solid var(--border);border-radius:var(--radius);width:min(22rem,100% - 2rem);color:var(--text-muted);background:color-mix(in srgb, var(--surface) 94%, transparent);box-shadow:var(--shadow-soft);text-align:center;pointer-events:none;justify-items:center;gap:.28rem;padding:1rem 1.2rem;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}body.theme-crm .student-groups-calendar__empty svg{color:var(--accent)}body.theme-crm .student-groups-calendar__empty strong{color:var(--text);font-size:.8rem}body.theme-crm .student-groups-calendar__empty span{font-size:.68rem;line-height:1.4}body.theme-crm .student-groups-calendar__empty--week{position:absolute;top:18rem;left:calc(50% + 1.625rem);transform:translate(-50%)}body.theme-crm .student-groups-add-modal .crm-modal__card{width:min(31rem,100vw - 2rem)}body.theme-crm .student-groups-add-modal__field{margin:1rem}body.theme-crm .student-attendance-modal__card{border:1px solid var(--border);width:min(35rem,100vw - 1.5rem);min-height:20rem;color:var(--text);background:var(--surface);border-radius:.4rem;padding:.8rem;box-shadow:0 14px 38px #0f172a29}body.theme-crm .student-attendance-modal__card>header{grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem;display:grid}body.theme-crm .student-attendance-modal__card>header>span{width:1.2rem;height:1.2rem;color:var(--accent-on-solid);background:var(--accent-solid);border-radius:50%;place-items:center;display:grid}body.theme-crm .student-attendance-modal__card h2{margin:0;font-size:.9rem;font-weight:650}body.theme-crm .student-attendance-modal__card>header>button,body.theme-crm .student-attendance-modal__controls button,body.theme-crm .student-attendance-modal__card>footer button{min-width:1.7rem;min-height:1.7rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.3rem;place-items:center;padding:.25rem;font-size:.68rem;display:inline-grid}body.theme-crm .student-attendance-modal__legend{flex-wrap:wrap;gap:.35rem .55rem;margin:.72rem 0;display:flex}body.theme-crm .student-attendance-modal__legend span{color:var(--text-faint);align-items:center;gap:.25rem;font-size:.6rem;display:inline-flex}body.theme-crm .student-attendance-modal__legend i{border-radius:50%;width:.45rem;height:.45rem}body.theme-crm .student-attendance-modal__controls{justify-content:space-between;align-items:center;gap:.75rem;display:flex}body.theme-crm .student-attendance-modal__controls>div,body.theme-crm .student-attendance-modal__controls>button{align-items:center;gap:.15rem;display:flex}body.theme-crm .student-attendance-modal__controls select{appearance:auto;width:7.8rem;padding-right:.45rem}body.theme-crm .student-attendance-modal__subject{margin-top:1.2rem;font-size:.74rem;font-weight:550;display:block}body.theme-crm .student-attendance-strip{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 2.8rem;margin-top:.55rem;display:grid;overflow-x:auto}body.theme-crm .student-attendance-strip>div{min-width:max-content;display:flex}body.theme-crm .student-attendance-strip section{border-right:1px solid var(--border);padding:0 .55rem .55rem}body.theme-crm .student-attendance-strip h3{color:var(--text);text-align:center;margin:0 0 .45rem;font-size:.66rem}body.theme-crm .student-attendance-strip section>div{gap:.32rem;display:flex}body.theme-crm .student-attendance-strip section span{justify-items:center;gap:.08rem;min-width:1.3rem;display:grid}body.theme-crm .student-attendance-strip section strong,body.theme-crm .student-attendance-strip section small{font-size:.55rem;font-weight:500}body.theme-crm .student-attendance-strip section i{border-radius:50%;width:1.18rem;height:1.18rem}body.theme-crm .student-attendance-strip aside{border-left:1px solid var(--border);color:var(--text-faint);background:var(--surface);text-align:center;place-content:center;font-size:.64rem;display:grid;position:sticky;right:0}body.theme-crm .student-attendance-strip aside strong{color:#e38a1a}body.theme-crm .student-attendance-modal__card>footer{justify-content:flex-end;margin-top:1.1rem;display:flex}body.theme-crm .student-attendance-modal__card>footer button{border:1px solid var(--border);background:var(--surface);padding:.3rem .75rem}@media (max-width:48rem){body.theme-crm .student-groups-workspace__top,body.theme-crm .student-groups-calendar__filters{flex-wrap:wrap}body.theme-crm .student-groups-calendar__period{grid-template-columns:1fr}body.theme-crm .student-groups-calendar__period>strong{grid-row:1}body.theme-crm .student-groups-calendar__views,body.theme-crm .student-groups-calendar__nav{justify-content:center}body.theme-crm .student-groups-calendar{overflow-x:auto}}@media (max-width:32rem){body.theme-crm .student-groups-workspace__top{align-items:stretch}body.theme-crm .student-groups-workspace__switch,body.theme-crm .student-groups-workspace__add{flex:auto;justify-content:center}body.theme-crm .student-groups-calendar__filters>div:first-child{flex-wrap:wrap;width:100%}body.theme-crm .student-groups-calendar__filters label{width:100%}body.theme-crm .student-attendance-modal__controls{flex-direction:column;align-items:flex-start}}body.theme-crm .student-attendance-print{color:#111;background:#fff;min-height:100vh;padding:1rem}body.theme-crm .student-attendance-print__toolbar{max-width:52rem;font-family:var(--font-sans);justify-content:flex-start;align-items:center;gap:1rem;margin:0 auto 1rem;display:flex}body.theme-crm .student-attendance-print__toolbar button{color:#667085;font:inherit;cursor:pointer;background:0 0;border:0;padding:.38rem .7rem;font-size:.72rem}body.theme-crm .student-attendance-print__toolbar button:first-child{background:#e5e7eb;border-radius:.25rem}body.theme-crm .student-attendance-print__toolbar button.is-active{color:#d97706}body.theme-crm .student-attendance-print__toolbar button.is-blank-active{color:#2563eb}body.theme-crm .student-attendance-print__sheet{color:#111;background:#fff;width:min(100%,52rem);margin:0 auto;padding:1.4rem;font-family:Times New Roman,Times,serif}body.theme-crm .student-attendance-print__sheet>header{text-align:center;border-bottom:1px solid #111;padding-bottom:.7rem}body.theme-crm .student-attendance-print__sheet>header img{object-fit:contain;width:auto;max-width:7.5rem;height:auto;max-height:2.8rem;margin:0 auto .5rem;display:block}body.theme-crm .student-attendance-print__sheet>header>strong{font-family:var(--font-sans);margin-bottom:.5rem;font-size:.9rem;display:block}body.theme-crm .student-attendance-print__sheet h1{color:#111;margin:0;font-family:inherit;font-size:1rem;font-weight:700}body.theme-crm .student-attendance-print__sheet header p{margin:.3rem 0 0;font-size:.72rem}body.theme-crm .student-attendance-print__subject{color:#d97706;margin:.6rem 0;font-size:.72rem}body.theme-crm .student-attendance-print__months{gap:.7rem;display:grid}body.theme-crm .student-attendance-print table{border-collapse:collapse;table-layout:fixed;color:#111;background:#fff;width:100%;font-size:.65rem}body.theme-crm .student-attendance-print th,body.theme-crm .student-attendance-print td{text-align:center;border:1px solid #111;height:1.5rem;padding:.16rem}body.theme-crm .student-attendance-print th:first-child{width:12rem}body.theme-crm .student-attendance-print tbody th{text-align:left}body.theme-crm .student-attendance-print tbody th a{color:#1458b0;text-decoration:underline}body.theme-crm .student-attendance-print td{font-weight:700}body.theme-crm .student-attendance-print .is-present,body.theme-crm .student-attendance-print .is-online{background:#dff4df}body.theme-crm .student-attendance-print .is-paid,body.theme-crm .student-attendance-print .is-cancelled{background:#f9dce1}body.theme-crm .student-attendance-print .is-absent{background:#ffe8bd}body.theme-crm .student-attendance-print .is-trial{background:#dceffc}body.theme-crm .student-attendance-print .is-transfer{background:#f0d8cd}body.theme-crm .student-attendance-print .is-bonus{background:#dce7ff}body.theme-crm .student-attendance-print__legend{flex-wrap:wrap;gap:.45rem .8rem;margin-top:.8rem;font-size:.61rem;display:flex}body.theme-crm .student-attendance-print__legend span{align-items:center;gap:.28rem;display:inline-flex}body.theme-crm .student-attendance-print__legend i{text-align:center;border:1px solid #555;min-width:1.45rem;padding:.12rem .2rem;font-style:normal;font-weight:700}html:not([data-table-stripes=off]) body.theme-crm .ui-main table.ui-table tbody tr:nth-child(2n):not(.is-selected):not(.reports-reference__summary)>td:not(.reports-reference__total){background:color-mix(in srgb, var(--accent) var(--crm-table-stripe-opacity), var(--surface));background-image:none}html:not([data-table-stripes=off]) body.theme-crm .ui-main table.ui-table tbody tr:hover:not(.is-selected):not(.reports-reference__summary)>td:not(.reports-reference__total){background:color-mix(in srgb, var(--accent) 10%, var(--surface))}body.theme-crm .crm-table-scrollhost.has-horizontal-overflow .ui-table [data-crm-sticky-actions=true]{z-index:4;white-space:nowrap;background:var(--surface);width:1%;min-width:max-content;box-shadow:none;position:sticky;right:0}body.theme-crm .crm-table-scrollhost{position:relative}body.theme-crm .crm-sticky-actions-rail{left:var(--crm-sticky-actions-left,0);z-index:9;width:1px;height:var(--crm-sticky-actions-height,100%);margin-top:calc(-1 * var(--crm-sticky-actions-height,100%));pointer-events:none;background:color-mix(in srgb, var(--border) 58%, var(--text));box-shadow:-.28rem 0 .55rem color-mix(in srgb, var(--text) 38%, transparent), -.95rem 0 1.45rem -.22rem color-mix(in srgb, var(--text) 52%, transparent), -1.65rem 0 2.25rem -.7rem color-mix(in srgb, var(--text) 36%, transparent);display:block;position:sticky}body.theme-crm .crm-table-scrollhost.is-horizontal-scroll-end>.crm-sticky-actions-rail{opacity:0}body.theme-crm .crm-table-scrollhost.has-horizontal-overflow .ui-table thead [data-crm-sticky-actions=true]{z-index:8;background:var(--surface-2)}body.theme-crm .crm-table-scrollhost.has-horizontal-overflow .ui-table tbody tr:hover>td[data-crm-sticky-actions=true]{background:color-mix(in srgb, var(--accent) 10%, var(--surface))}body.theme-crm .crm-table-scrollhost.has-horizontal-overflow :is(.sales-table,.crm-groups-table) tbody tr.is-selected>td[data-crm-sticky-actions=true]{background:color-mix(in srgb, var(--accent-soft) 72%, var(--surface))}body.theme-crm .crm-table-scrollhost.has-horizontal-overflow .ui-table tbody>tr>td[data-crm-sticky-actions=true]{background:var(--surface)!important;background-image:none!important}@media print{:is(body:has(.student-attendance-print) .ui-sidebar,body:has(.student-attendance-print) .ui-topbar,body:has(.student-attendance-print) .lingva-feedback-launcher,body:has(.student-attendance-print) .lingva-feedback-panel,body:has(.student-attendance-print) .student-attendance-print__toolbar){display:none!important}body:has(.student-attendance-print){background:#fff!important;min-height:0!important;margin:0!important;padding:0!important}body:has(.student-attendance-print) .ui-page{background:#fff!important;min-height:0!important;margin:0!important;padding:0!important}body:has(.student-attendance-print) .ui-main{background:#fff!important;min-height:0!important;margin:0!important;padding:0!important}body.theme-crm .student-attendance-print{padding:0}body.theme-crm .student-attendance-print__sheet{width:100%;padding:0}}
