/* Glass and density from the approved HTML prototypes. */
.crm-phone-section-button{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:28px;padding:4px 7px;border:1px solid #c9d7e8;border-radius:8px;background:#ffffffb8;color:#244368;font:600 12px Inter,system-ui;line-height:1.2;text-align:left}.crm-phone-section-button>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-phone-section-button>span:last-child{font-size:13px;flex:none}.crm-phone-sections{position:fixed;z-index:12000;display:grid;padding:4px;border:1px solid #ffffffda;border-radius:9px;background:linear-gradient(180deg,#f6fafff5,#edf5f9f5);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 8px 28px #34486626}.crm-phone-sections>button{padding:7px 8px;min-height:30px;border:0;border-radius:5px;background:none;color:#40536c;text-align:left;font:12px Inter,system-ui}.crm-phone-sections>button[aria-selected=true]{color:#246bd2;background:#3c83ee18;font-weight:700}.phone-attendance-status{min-width:0;width:67px;flex:none}.phone-attendance-status .crm-phone-section-button{width:100%;font-size:10px;padding-inline:5px}
.knowledge-search{width:min(360px,100%);min-height:28px;padding:4px 7px;font-size:12px;margin:0 0 7px}.knowledge-topics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-bottom:8px}.knowledge-topics a{display:flex;align-items:center;padding:7px 8px;min-height:40px;border:1px solid #ffffffc9;border-radius:8px;background:#ffffff45;color:#526b8a;text-decoration:none}.knowledge-topics h2{font-size:11px;font-weight:650;line-height:1.35;margin:0}.knowledge-topics a[aria-current]{color:#246bd2;background:#3c83ee18;border-color:#3c83ee55}.knowledge-reader{padding:9px 13px}.knowledge-reader ol{margin:0;padding-left:20px;font-size:12px;line-height:1.65}.knowledge-reader li{padding:3px 0 6px 3px;border-bottom:1px solid #71819818}.knowledge-reader li:last-child{border-bottom:0}@media(max-width:1000px){.knowledge-topics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.knowledge-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-search{font-size:16px;min-height:31px}.knowledge-reader{padding:8px}.knowledge-reader ol{font-size:12px}}
.restriction-modal{width:min(620px,96vw);max-height:90dvh;display:flex;flex-direction:column}.restriction-modal .modal-body{overflow:auto;padding:10px}.restriction-drafts{display:grid;gap:8px}.restriction-draft{border:1px solid #cfdae8a0;border-radius:9px;padding:8px;display:grid;gap:7px;background:#ffffff30}.restriction-draft>header{display:flex;gap:6px;align-items:center}.restriction-draft>header select{flex:1;min-width:0}.restriction-draft label{display:flex;flex-direction:column;gap:3px;font-size:10px;color:#6f8199}.restriction-draft input,.restriction-draft select{font-size:12px;min-height:28px;padding:4px 6px;border:1px solid #ccd8e9;border-radius:7px;background:#ffffff99}.restriction-weekdays{display:flex;gap:4px}.restriction-weekdays label{display:block;position:relative}.restriction-weekdays input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.restriction-weekdays span{display:grid;place-items:center;border:1px solid #c6d5e9;border-radius:6px;width:32px;height:28px;color:#526d91;font-size:11px}.restriction-weekdays input:checked+span{background:#3c83ee22;border-color:#3c83ee99;color:#246bd2}.restriction-weekdays input:focus-visible+span{outline:2px solid #3c83ee}.restriction-dates,.restriction-times{display:grid;grid-template-columns:1fr 1fr;gap:8px}.restriction-draft .restriction-all-day{display:flex;flex-direction:row;align-items:center;gap:5px}.restriction-all-day input{min-height:0;width:14px;height:14px;margin:0}.restriction-error{font-size:11px;color:#b34853;margin:5px 0}.restriction-modal .modal-actions{display:flex;justify-content:space-between;align-items:center;padding:8px 10px}.restriction-modal .modal-actions>div{display:flex;gap:5px}.restriction-modal .modal-actions button{min-height:29px;font-size:11px;padding:4px 8px}.restriction-list-row{display:block;width:100%;border:0;border-bottom:1px solid #71819826;background:none;border-radius:0;text-align:left;padding:7px 0;color:inherit}.restriction-list-row b,.restriction-list-row span{display:block;font-size:11px}.restriction-list-row span{font-size:10px;color:#718198;margin-top:3px}.restriction-modal [hidden]{display:none!important}@media(max-width:760px){.restriction-draft input,.restriction-draft select{font-size:16px;min-height:31px}.restriction-draft .restriction-all-day input{min-height:0}.restriction-weekdays span{width:30px;height:30px}.restriction-modal .modal-body{padding:8px}}
.self-attendance-person{display:none}.crm-tabs>button[aria-selected=true]{position:relative}.crm-tabs>button{margin-bottom:-1px}
.attendance-range-row{display:flex;align-items:center;gap:5px}.attendance-range-row>button{min-height:27px;font-size:11px;padding:4px 7px}
@media(max-width:760px){.attendance-mode-row.mode-person .attendance-person-filter:not(.self-attendance-person){display:block;min-width:60px;width:85px;max-width:130px;flex:1;font-size:16px;padding:3px;min-height:29px}.attendance-range-row{justify-content:space-between;gap:3px}.attendance-range-row>button{min-height:29px;font-size:11px;padding:4px 6px;flex:none}}
.crm-schedule-context .period-caption{min-width:0;padding:2px;font-size:9px;min-height:27px;border:0;background:none;color:inherit}.crm-schedule-context .period-caption>span{display:none}
.crm-prototype-fullscreen .app-shell .sidebar,.crm-prototype-fullscreen .app-shell .subnav{display:none!important}.crm-prototype-fullscreen .app-shell{display:block}.crm-prototype-fullscreen .app-shell .workspace{width:100%;height:100dvh;min-height:0}.crm-prototype-fullscreen .app-shell .main.prototype-host{height:100dvh;padding:0!important}.crm-prototype-fullscreen .prototype-frame{display:block;width:100%;height:100dvh!important;min-height:100dvh!important}
.personal-self-form .form-grid{gap:6px 9px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.personal-self-form label{font-size:10px;gap:3px}.personal-self-form input,.personal-self-form select{min-height:28px;padding:4px 6px;font-size:11px}.personal-self-form label:has(textarea){grid-column:1/-1}.personal-self-form textarea{min-height:50px;padding:5px 6px;font-size:11px}.personal-self-form fieldset{padding:0;border:0}.personal-self-form form{gap:7px}
@media(max-width:760px){.personal-self-form input,.personal-self-form select,.personal-self-form textarea{font-size:16px}.personal-self-form input,.personal-self-form select{min-height:34px}}
.crm-glass{background:linear-gradient(180deg,rgba(255,255,255,.64),rgba(255,255,255,.43));border:1px solid rgba(255,255,255,.88);box-shadow:0 15px 45px rgba(70,91,122,.09),inset 0 1px 0 #ffffff88;backdrop-filter:blur(24px) saturate(145%);border-radius:16px}
.page-heading.actions-only{justify-content:flex-end;min-height:0;margin:0 0 5px}.page-heading.actions-only button{padding:4px 8px;min-height:26px}.filter-reset-row{display:flex;justify-content:flex-end;min-height:18px;margin:0 0 3px}.filter-reset{border:0;background:none;color:#6d829e;font-size:10px;padding:2px 4px;min-height:22px!important;box-shadow:none;white-space:nowrap}.filter-reset:hover{text-decoration:underline}
.crm-tabs{display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px;border-bottom:1px solid #ffffffcc}.crm-tabs>button{position:relative;min-height:26px;padding:4px 9px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:#77869a;font-size:11px;line-height:1.3;white-space:nowrap;box-shadow:none}.crm-tabs>button[aria-selected=true]{color:#315f99;font-size:11px;font-weight:800}
.compact-report-controls{display:flex;gap:5px;align-items:flex-end;flex-wrap:wrap;margin-bottom:7px}.compact-report-controls .report-tab{padding:4px 8px;min-height:27px;font-size:11px;background:#ffffff4d;border:1px solid #ffffffb3}.compact-report-controls .report-tab.selected{background:#3c83ee1c;color:#2b6fcf;border-color:#3c83ee33;font-size:11px;font-weight:800}.compact-report-controls .crm-report-field{gap:2px;font-size:10px}.compact-report-controls .crm-report-field input,.compact-report-controls .crm-report-field select{min-height:27px;padding:4px 7px;font-size:11px;background:#ffffff99;border-color:#52668229}
.attendance-stats{display:flex;align-items:flex-start;gap:16px;margin:7px 0;max-width:100%;overflow-x:auto;padding-bottom:3px}.attendance-stats>span{flex:none;font-size:10px;line-height:1.3;color:#6a7c93;white-space:nowrap;padding:0;background:none}.attendance-stats strong{display:block;margin-top:3px;font-size:12px;font-weight:650;color:#25364c}.attendance-drawer h3{margin:14px 0 7px}
.settings-workspace{padding:7px 9px;gap:7px!important}.settings-workspace>.settings-tabs{margin:0 -9px;padding:0 7px}.settings-workspace>section,.settings-workspace>.crm-surface-view>section{background:none;border:0;box-shadow:none;border-radius:0;padding:5px 0;backdrop-filter:none}.settings-workspace h2{font-size:11px;margin:3px 0 6px}.settings-workspace .form-grid{gap:6px 9px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.settings-workspace label{font-size:10px;gap:3px}.settings-workspace input,.settings-workspace select,.settings-workspace button{min-height:26px;padding:4px 7px;font-size:11px}.settings-workspace details{padding:5px 0}.settings-workspace summary{font-size:11px}.settings-workspace form{gap:6px}.settings-workspace fieldset{padding:0;border:0}
.registration-toolbar,.notification-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 7px}.registration-toolbar .crm-tabs,.notification-toolbar .crm-tabs{flex:none}.registration-toolbar input,.notification-toolbar input{width:180px;max-width:240px;min-width:110px;margin-left:auto}.registration-toolbar input,.registration-toolbar button,.notification-toolbar input,.notification-toolbar button,.notification-toolbar select{font-size:11px;min-height:27px;padding:4px 7px}.registration-toolbar input,.notification-toolbar input,.notification-toolbar select{background:#ffffff99;border-color:#52668229}.registration-toolbar .quiet{background:#ffffff66;border-color:#ffffffcc}
.registration-list,.notification-list{overflow:hidden}.registration-card{display:grid;grid-template-columns:minmax(160px,1fr) minmax(240px,1.2fr) auto;gap:8px;align-items:center;padding:7px 9px;border:0;border-bottom:1px solid #4860801f;border-radius:0;background:none;box-shadow:none}.registration-card:last-child,.notification-row:last-child{border-bottom:0}.registration-person{display:flex;align-items:flex-start;gap:2px;flex-direction:column;min-width:0}.registration-person strong{font-size:11px}.registration-person strong,.registration-person small{overflow-wrap:anywhere}.registration-person small{font-size:10px;color:#7c8ba0}.registration-person .badge{font-size:9px;padding:2px 5px;min-height:0}.registration-fields{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:6px}.registration-fields label{display:flex;flex-direction:column;gap:2px;font-size:9.5px;color:#7c8ba0}.registration-fields select{width:100%;min-width:0;min-height:25px;padding:3px 6px;font-size:11px;background:#ffffff99;border-color:#52668229}.registration-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.registration-actions button{min-height:26px;padding:4px 7px;font-size:10px;border-color:#ffffffcc;background:#ffffff80}.registration-actions button.primary{background:#3c83ee1f;border-color:#3c83ee33;color:#2b6fcf}.registration-actions button.danger{color:#b74951;background:#e0535b12;border-color:#e0535b29}
.notification-row{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border-bottom:1px solid #4860801f}.notification-row>.badge{font-size:9px;padding:2px 5px;justify-self:start;min-height:0}.notification-content{display:flex;flex-direction:column;gap:2px;min-width:0;color:inherit;text-decoration:none}.notification-content strong{font-size:11px;font-weight:700}.notification-content>span{font-size:10px;color:#718198;overflow-wrap:anywhere}.notification-content:hover strong{color:#2b6fcf}.notification-read{font-size:10px;min-height:25px;padding:3px 7px;background:#ffffff66;border-color:#ffffffcc}.notification-row.is-read{opacity:.62}.list-empty{margin:0;padding:10px;font-size:11px;color:#7c8ba0}.list-empty .text-link{margin-left:8px;font-size:10px}
@media(max-width:1100px){.registration-card{grid-template-columns:minmax(140px,1fr) minmax(220px,1.1fr)}.registration-actions{grid-column:2}.registration-person{grid-row:span 2}.notification-toolbar input{width:140px}}
@media(max-width:760px){.app-shell .report-controls.compact-report-controls{display:flex;gap:5px}.app-shell .report-controls.compact-report-controls .crm-report-field{flex:1 1 calc(50% - 5px);min-width:0;font-size:10px}.app-shell .report-controls.compact-report-controls .crm-report-field input,.app-shell .report-controls.compact-report-controls .crm-report-field select{font-size:16px;min-height:34px}.app-shell .report-controls.compact-report-controls .report-tab,.app-shell .report-controls.compact-report-controls .report-tab.selected{min-height:32px;font-size:11px;flex:1;padding:4px}.app-shell .report-controls.compact-report-controls>span{display:none}.app-shell .attendance-stats{gap:13px;flex-wrap:nowrap;margin:6px 0}.app-shell .attendance-stats strong{font-size:12px}.app-shell .attendance-stats>span{font-size:10px}.app-shell .crm-tabs>button,.app-shell .crm-tabs>button[aria-selected=true]{min-height:31px;font-size:11px;padding:5px 7px}.app-shell .registration-toolbar input,.app-shell .notification-toolbar input{flex:1;width:140px;margin-left:0;font-size:16px;min-height:34px}.app-shell .registration-toolbar button,.app-shell .notification-toolbar button,.app-shell .notification-toolbar select{min-height:32px;font-size:11px}.registration-card{grid-template-columns:minmax(0,1fr);gap:6px;padding:8px}.registration-person{grid-row:auto}.registration-fields{grid-template-columns:minmax(0,1fr) 130px}.registration-fields select{min-height:34px;font-size:16px}.app-shell .registration-actions{grid-column:1;justify-content:flex-start}.app-shell .registration-actions button{min-height:32px;font-size:10px}.notification-row{grid-template-columns:60px minmax(0,1fr);gap:5px 7px;padding:8px}.notification-read{grid-column:2;justify-self:start;min-height:30px;font-size:10px}.settings-workspace .form-grid{grid-template-columns:minmax(0,1fr);gap:6px}.settings-workspace input,.settings-workspace select{font-size:16px;min-height:34px}.settings-workspace button{min-height:32px}.settings-tabs{gap:1px}}

.app-shell .main{margin:0;width:100%;padding:5px 7px;min-width:0}.app-shell .main.prototype-host{padding:0}.crm-screen{min-width:0}.crm-screen>.page-heading{margin:0 0 5px}.crm-screen>.page-heading h1{font-size:13px}.inline-page-actions{display:flex;justify-content:flex-end;gap:4px}.workspace-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex:1;margin-left:auto;min-height:28px;padding:0 22px 2px 7px;white-space:nowrap;margin-bottom:-1px;position:relative}.workspace-actions button,.workspace-actions .button{min-height:26px;padding:4px 8px;font-size:11px}.workspace-actions:empty{min-height:28px;padding:0}.workspace-actions .filter-reset{font-size:10px}.crm-schedule-context{display:none}.desktop-tab-label{display:initial}.mobile-tab-label{display:none}
.app-shell .subnav{position:relative;display:flex;align-items:flex-end;gap:3px;min-height:32px;padding:3px 7px 0;overflow:visible}.app-shell .subnav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:28px;margin:0 0 -1px;padding:5px 10px;border:1px solid transparent;border-bottom:0;border-radius:10px 10px 0 0;font-size:11px;line-height:1.3;white-space:nowrap;text-decoration:none;color:#75859a;background:transparent;box-shadow:none;z-index:1}.app-shell .subnav a.active{z-index:3;color:#2c609e;font-size:11px;font-weight:800}
.crm-screen>.filters,.crm-screen>.row.filters{margin:0 0 6px;gap:5px}.crm-screen>.muted{margin:4px 0}.task-list .task-card,.task-list>.panel{padding:8px 10px;min-height:0}.task-list h2,.task-list h3{margin:0 0 4px;font-size:12px}.task-list p{margin:4px 0}.profile-grid{align-items:start}.profile-grid .panel{padding:9px}.profile-grid .panel h2{font-size:13px;margin:0 0 6px}.profile-grid .panel p{margin:5px 0}.profile-grid form{gap:5px}.profile-grid form>button{justify-self:start;width:auto}.guide-list{display:grid;gap:5px}.guide-article{padding:9px!important}.guide-article h2{font-size:12px;margin:0 0 5px}
.period-control{position:relative;display:flex;align-items:center;gap:3px;flex-wrap:nowrap;width:max-content;max-width:100%;font-variant-numeric:tabular-nums}.period-control button{min-height:27px;padding:4px 7px;border:1px solid #cfdae880;background:#ffffff70;border-radius:7px;font-size:11px;white-space:nowrap;color:#40536c}.period-modes{display:flex;gap:2px}.period-modes button{min-width:26px;padding-inline:6px}.period-modes button[aria-pressed=true]{background:#3c83ee22;color:#246bd2;border-color:#3c83ee55;font-weight:750}.period-caption{min-width:100px;text-transform:none}.period-calendar{position:fixed;z-index:11000;padding:7px;border-radius:12px;background:linear-gradient(180deg,#f9fcfff5,#f0f6fce8);box-shadow:0 12px 40px #34486626;backdrop-filter:blur(24px);border:1px solid #ffffffe6}.period-calendar header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.period-calendar header b{font-size:11px;font-weight:650}.period-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.period-calendar-grid small{text-align:center;color:#7a8ba1;padding:3px}.period-calendar-grid button{min-width:0;min-height:27px;padding:4px 0;border:0;background:transparent}.period-calendar-grid .other-month{opacity:.38}.period-calendar-grid .selected{background:#3c83ee20;color:#246bd2}.period-calendar-grid .range-start{outline:1px solid #3c83ee}.attendance-report-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;margin:0 0 6px}.attendance-mode-row{display:flex;align-items:center;gap:4px}.attendance-mode-row button,.attendance-mode-row select{font-size:11px;min-height:27px;padding:4px 7px}.attendance-mode-row .selected{color:#246bd2;background:#3c83ee20;border-color:#3c83ee55;font-weight:750}.attendance-person-filter{max-width:190px}.mobile-add-attendance,.mobile-status-filter,.mobile-attendance-rows{display:none}.attendance-toolbar{margin:4px 0 6px!important;gap:5px!important}.attendance-toolbar .row{gap:4px}.attendance-toolbar button{min-height:27px;font-size:11px;padding:4px 7px}
@media(max-width:760px){.app-shell .sidebar{min-height:38px;padding:4px 6px;gap:5px}.app-shell .crm-mobile-section{min-height:30px;height:30px;font-size:16px;padding:3px 5px}.app-shell .main{padding:4px}.app-shell .subnav{gap:0;min-height:31px;padding:2px 3px 0;flex-wrap:wrap}.app-shell .subnav a,.app-shell .subnav a.active{min-height:28px;padding:5px 6px;font-size:10px}.workspace-actions{min-height:28px;padding:0 0 2px;gap:3px}.workspace-actions button,.workspace-actions .button{font-size:10px;min-height:28px;padding:4px 6px}.desktop-tab-label{display:none}.mobile-tab-label{display:initial}.crm-schedule-context{display:flex;align-items:center;gap:1px;margin-left:auto;padding-bottom:3px;white-space:nowrap;font-size:9px;font-variant-numeric:tabular-nums}.crm-schedule-context button{padding:3px;min-width:17px;min-height:27px;border:0;background:transparent;font-size:16px}.subnav:has(.crm-schedule-context) .workspace-actions{display:none}.subnav:has(.crm-schedule-context){flex-wrap:nowrap}.attendance-report-controls{display:flex;flex-direction:column;align-items:stretch;gap:4px}.attendance-mode-row{gap:3px;white-space:nowrap}.attendance-mode-row button{padding:4px 6px;font-size:11px;min-height:29px}.attendance-person-filter{display:none}.mobile-status-filter{display:block;width:65px;min-width:50px;padding:3px!important;font-size:16px!important;min-height:29px!important}.mobile-add-attendance{display:block;margin-left:auto}.attendance-mode-row>.mobile-add-attendance{font-size:10px;padding:4px 5px}.attendance-period{max-width:100%}.period-control{gap:2px}.period-control button{min-height:29px;padding:4px 5px;font-size:11px}.period-modes{gap:1px}.period-modes button{min-width:23px;padding-inline:4px}.period-caption{min-width:100px}.desktop-attendance-table{display:none}.mobile-attendance-rows{display:block}.app-shell .main .mobile-attendance-row{display:grid;width:100%;grid-template-columns:minmax(35px,1fr) 31px 79px 47px 28px 7px;gap:4px;align-items:center;border:0;border-bottom:1px solid #71819826;border-radius:0;background:#ffffff35;text-align:left;padding:7px 4px;font:11px Inter,system-ui;white-space:nowrap;font-variant-numeric:tabular-nums;min-height:30px}.mobile-attendance-row>b{overflow:hidden;text-overflow:ellipsis;font-size:11px}.mobile-attendance-row>span{text-align:right}.attendance-toolbar:has(+p){margin:0!important}.attendance-toolbar .row:has(.attendance-total),.attendance-search{display:none}.attendance-table-wrap{overflow:visible}.work-report .attendance-toolbar,.work-report .attendance-toolbar+p.muted{display:none}.attendance-drawer{width:100%!important;max-width:none!important;inset:0!important;height:100dvh;max-height:100dvh!important;border-radius:0!important;padding:10px!important}.attendance-drawer .attendance-stats{gap:12px}.attendance-drawer h3{font-size:12px;margin:12px 0 6px}.attendance-mode-row .report-tab{width:auto;flex:none}.attendance-mode-row .mobile-add-attendance{flex:none}.profile-grid{gap:6px}.profile-grid .panel{padding:8px}.crm-screen>.filters{gap:4px}.crm-screen>.filters button{font-size:11px;min-height:29px;padding:4px 6px}}

.crm-schedule-context .period-calendar button{font-size:11px;padding:4px;min-height:27px}
/* Actual control sizes; page scale and the Shift content are unchanged. */
.app-shell>.workspace:not([data-crm-section=shift])>.main{font-size:12px}
.app-shell>.workspace:not([data-crm-section=shift])>.main :is(button,.button){font-size:11px;min-height:26px;padding:4px 7px}
.crm-phone-section-button,.crm-phone-sections>button{font-family:Inter,system-ui,'Segoe UI',sans-serif}
@media(max-width:760px){
 .app-shell>.sidebar{grid-template-columns:104px minmax(0,1fr) auto;gap:4px;padding:3px 6px;min-height:34px}
 .app-shell .sidebar .brand{font-size:11px;line-height:1.1;min-height:26px;gap:3px}
 .app-shell .sidebar .brand img{width:19px;height:19px}
 .app-shell .sidebar>.crm-phone-section-button{grid-area:1/2;width:100%;font-size:12px;min-height:26px;padding:4px 6px}
 .app-shell .sidebar-bottom button{font-size:10px;min-height:26px;padding:3px}
 .app-shell .subnav{min-height:28px;padding-top:1px}
 .app-shell .subnav a,.app-shell .subnav a.active{font-size:10px;min-height:26px;padding:4px 4px}
 .crm-schedule-context{font-size:8px;gap:0;padding-bottom:1px;flex:none}
 .crm-schedule-context>button{font-size:14px;min-height:25px;min-width:15px;padding:2px}
 .crm-schedule-context .period-control{display:flex;flex-direction:row;gap:0}
 .crm-schedule-context .period-caption{font-size:9px;min-width:0;min-height:25px;padding:3px 4px}
 .app-shell>.workspace:not([data-crm-section=shift])>.main{font-size:11px;padding:3px}
 .app-shell .attendance-report-controls.is-phone{gap:3px;margin-bottom:3px}
 .attendance-report-controls.is-phone .attendance-mode-row{gap:2px;min-width:0;flex-wrap:nowrap}
 .app-shell .attendance-report-controls.is-phone .attendance-mode-row>button{font-size:10px;min-height:26px;padding:4px 5px}
 .app-shell .attendance-report-controls.is-phone .mobile-add-attendance{font-size:9px;padding:4px;white-space:nowrap}
 .phone-attendance-status{width:62px}
 .app-shell .phone-attendance-status .crm-phone-section-button{font-size:10px;min-height:26px;padding:3px 4px}
 .attendance-report-controls.is-phone .period-control{display:flex;flex-direction:row;gap:2px}
 .attendance-report-controls.is-phone .period-control button{font-size:10px;min-height:26px;padding:3px 5px}
 .attendance-report-controls.is-phone .period-modes button{min-width:22px;padding-inline:4px}
 .attendance-report-controls.is-phone .period-caption{min-width:94px}
 .app-shell .mobile-attendance-rows{display:block;margin-top:3px}
 .app-shell .main .mobile-attendance-row{display:grid;grid-template-columns:minmax(35px,1fr) 29px 75px 42px 26px 7px;gap:3px;min-height:30px;padding:7px 4px;font:10px Inter,system-ui,'Segoe UI',sans-serif}
 .app-shell .main .mobile-attendance-row>b{font-size:11px}
}

.crm-compact-select{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-width:0;min-height:27px;padding:4px 6px;border:1px solid #c9d7e880;border-radius:7px;background:#ffffff80;color:#40536c;text-align:left;font:500 12px Inter,system-ui,'Segoe UI',sans-serif;line-height:1.25}.crm-compact-select>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-compact-select>span:last-child{flex:none;font-size:11px}.crm-compact-select-menu{position:fixed;z-index:20000;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;gap:1px;padding:4px;border:1px solid #ffffffda;border-radius:9px;background:linear-gradient(180deg,#f6fafff7,#edf5f9f5);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 8px 28px #34486626}.crm-compact-select-menu>button{flex:none;display:block;min-height:29px;padding:6px 7px;border:0;border-radius:5px;background:none;text-align:left;font:12px Inter,system-ui,sans-serif;color:#40536c}.crm-compact-select-menu>button[aria-selected=true]{background:#3c83ee20;color:#246bd2;font-weight:650}.crm-compact-select-menu>input{position:sticky;top:0;font-size:16px;min-height:29px;width:100%;padding:4px 6px;box-sizing:border-box;border:1px solid #cbd8e9;border-radius:6px;background:#f8fbff}
.crm-task-datetime{display:inline-flex;align-items:center;gap:4px;min-width:0}.crm-task-datetime>.punch-time-field{width:83px;flex:none}.crm-task-datetime>button{font-size:11px;padding:4px 6px;white-space:nowrap}
@media(max-width:760px){
 .app-shell .workspace:not([data-crm-section=shift]) .main{font-size:11px;padding:3px}
 .app-shell .workspace:not([data-crm-section=shift]) .main :is(button,.button){min-height:26px;padding:4px 6px;font-size:11px;line-height:1.25}
 .app-shell .workspace:not([data-crm-section=shift]) .main :is(input:not([type=checkbox]):not([type=radio]),textarea){font-size:12px;min-height:27px;padding:4px 6px;line-height:1.25;border-radius:7px}
 .app-shell .workspace:not([data-crm-section=shift]) .main :is(input:not([type=checkbox]):not([type=radio]),textarea):focus{font-size:16px}
 .app-shell .workspace:not([data-crm-section=shift]) .main .crm-compact-select{min-height:27px;padding:4px 6px;font-size:12px;font-weight:500}
 .app-shell .workspace:not([data-crm-section=shift]) .main label{font-size:10px;gap:3px}
 .app-shell .workspace:not([data-crm-section=shift]) .main :is(input[type=checkbox],input[type=radio]){width:13px;height:13px;min-height:0;margin:0 4px 0 0}
 .app-shell .workspace[data-crm-section=employees] .main .filters{display:flex;flex-wrap:wrap;gap:4px;align-items:flex-end;margin:0 0 5px}
 .app-shell .workspace[data-crm-section=employees] .main .filters>label{flex:1 1 90px;min-width:0}.app-shell .workspace[data-crm-section=employees] .main .filters>label:first-child{flex-basis:130px}.app-shell .workspace[data-crm-section=employees] .main .filters .crm-compact-select{width:100%}
 .app-shell .workspace[data-crm-section=employees] .main .employee-list{gap:0}
 .app-shell .workspace[data-crm-section=employees] .main .employee-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:2px 5px;margin:0;padding:6px;border:0;border-bottom:1px solid #71819826;border-radius:0;background:transparent;box-shadow:none;min-height:43px}
 .app-shell .workspace[data-crm-section=employees] .main .employee-list>article>button:first-child{grid-column:1;grid-row:1;padding:0;text-align:left;justify-content:flex-start;min-height:17px;width:auto;font-size:12px;font-weight:650}
 .app-shell .workspace[data-crm-section=employees] .main .employee-list>article>p{grid-column:1;grid-row:2;margin:0;font-size:10px;line-height:1.2}
 .app-shell .workspace[data-crm-section=employees] .main .employee-list>article>button:not(:first-child){grid-row:1/3;width:auto;min-height:25px;font-size:10px;padding:3px 5px}
 .app-shell .workspace[data-crm-section=registration] .main .registration-toolbar{gap:4px;margin:0 0 5px}.app-shell .workspace[data-crm-section=registration] .main .registration-toolbar>input{flex:1;min-width:90px;width:100px}
 .app-shell .workspace[data-crm-section=registration] .main .registration-card{padding:6px;gap:4px;border-radius:0;box-shadow:none;border:0;border-bottom:1px solid #71819826;background:#ffffff18}
 .app-shell .workspace[data-crm-section=registration] .main .registration-person{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px}.app-shell .workspace[data-crm-section=registration] .main .registration-person>strong{font-size:12px}.app-shell .workspace[data-crm-section=registration] .main .registration-person>small{font-size:10px}.app-shell .workspace[data-crm-section=registration] .main .registration-person .badge{font-size:9px;padding:2px 4px}
 .app-shell .workspace[data-crm-section=registration] .main .registration-fields{grid-template-columns:minmax(0,1.6fr) minmax(75px,1fr);gap:5px}.app-shell .workspace[data-crm-section=registration] .main .registration-actions{gap:4px}.app-shell .workspace[data-crm-section=registration] .main .registration-actions>button{min-height:25px;padding:3px 5px;font-size:10px}
 .app-shell .workspace:not([data-crm-section=shift]) .main :is(.notification-row,.task-card,.panel){font-size:11px}
 .mobile-task-list-filters{display:flex;gap:4px;align-items:center;margin:0 0 5px}.mobile-task-list-filters>button{border:1px solid #ffffffa0;border-radius:7px;background:#ffffff55;color:#617795}.mobile-task-list-filters>button[aria-pressed=true]{background:#3c83ee22;color:#246bd2;font-weight:750}.mobile-task-list-filters>.crm-compact-select{width:130px;margin-left:auto}
 .app-shell .workspace[data-crm-section=tasks] .main .task-list{display:flex;flex-direction:column;gap:0}
 .app-shell .workspace[data-crm-section=tasks] .main .task-phone-row{display:flex;flex-direction:column;align-items:stretch;gap:3px;text-align:left;width:100%;border:0;border-bottom:1px solid #71819826;border-radius:0;min-height:43px;padding:7px 5px;background:#ffffff30;color:#25364c}
 .task-phone-row>strong{font-size:12px;line-height:1.3}.task-phone-row>span{font-size:10px;color:#718198}.task-phone-row.recently-completed{opacity:.48;background:none!important}
 .crm-mobile-task-page{position:fixed;top:var(--task-top,0);left:0;width:100%;height:var(--task-height,100dvh);z-index:13000;display:grid;grid-template-rows:34px minmax(0,1fr);box-sizing:border-box;overflow:hidden;color:#25364c;font:12px Inter,system-ui,'Segoe UI',sans-serif;background:radial-gradient(circle at 8% 0,#b9d8ff60,transparent 48%),radial-gradient(circle at 92% 0,#d7c9f95c,transparent 45%),linear-gradient(145deg,#f5f9ff,#eff9f9);border:0;border-radius:0;padding:0}
 .mobile-task-page-head{display:flex;align-items:center;gap:7px;min-width:0;padding:3px 7px;border-bottom:1px solid #ffffffcc;background:#ffffff65}.mobile-task-page-head>button{min-width:28px;height:27px;border:1px solid #cbd8e980;border-radius:7px;background:#ffffff70;color:#40536c;font-size:19px;padding:0 5px}.mobile-task-page-head>strong{font-size:12px;font-weight:650}
 .mobile-task-page-body{min-height:0;display:flex;flex-direction:column;overflow:hidden}.mobile-task-content{display:flex;flex-direction:column;min-height:0;flex:1}
 .mobile-task-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px}.mobile-task-scroll>h1{font-size:14px;line-height:1.35;margin:0 0 7px}
 .crm-mobile-task-page :is(button,.button){min-height:27px;padding:4px 6px;font-size:11px;border-radius:7px}.crm-mobile-task-page .crm-compact-select{font-size:12px;font-weight:500;min-height:28px;padding:4px 6px}
 .crm-mobile-task-page .chat-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:0;margin:0 0 5px}.crm-mobile-task-page .chat-toolbar>.crm-compact-select{width:110px}.crm-mobile-task-page .chat-assignee{display:flex;align-items:center;gap:4px;max-width:calc(100% - 120px);padding:0;min-height:0}.crm-mobile-task-page .chat-assignee .crm-compact-select{width:140px;max-width:100%}
 .mobile-task-deadline{margin-bottom:7px}.mobile-task-deadline>button{border:1px solid #ccd8e980;background:#ffffff60;color:#526b88;text-align:left;font-size:11px}.mobile-task-deadline-edit{display:flex;align-items:center;gap:4px;padding-top:4px;flex-wrap:wrap}
 .crm-mobile-task-page .chat-description{font-size:12px;line-height:1.45;padding:0;margin:6px 0;white-space:pre-wrap}.mobile-task-extra{font-size:10px;margin:7px 0}.mobile-task-extra>summary{color:#718198}.crm-mobile-task-page .chat-context{padding:5px 0;gap:4px}.crm-mobile-task-page .chat-facts,.crm-mobile-task-page .keyword-tags{font-size:10px;gap:4px}.crm-mobile-task-page .keyword-tags>span{font-size:9px;padding:2px 4px}
 .crm-mobile-task-page .chat-messages{min-height:0;height:auto;max-height:none;overflow:visible;padding:6px 0;margin-top:7px;border:0;border-top:1px solid #cfdae880;border-radius:0;background:none;display:block}.crm-mobile-task-page .chat-empty{padding:4px 0;margin:0;font-size:10px;text-align:left;color:#8795a8}.crm-mobile-task-page .chat-date{font-size:9px;margin:7px 0 4px}.crm-mobile-task-page .chat-system{font-size:10px;line-height:1.35;margin:3px 0;padding:2px 4px;color:#8795a8}.crm-mobile-task-page .chat-system time{font-size:9px;margin-left:5px}.crm-mobile-task-page .bubble{font-size:12px;padding:6px 8px;margin:4px 0;line-height:1.4}.crm-mobile-task-page .bubble time{font-size:9px;margin-left:5px}
 .mobile-task-bottom{flex:none;padding:5px 7px max(5px,env(safe-area-inset-bottom));background:#f5f9fce8;border-top:1px solid #ffffffaa}.crm-mobile-task-page .chat-compose{display:flex;align-items:flex-end;gap:5px;padding:0;margin:0;background:none}.crm-mobile-task-page .chat-compose textarea{flex:1;min-width:0;height:34px;min-height:34px;max-height:80px;font-size:14px;line-height:1.35;padding:6px 7px;border:1px solid #cfdae8;border-radius:8px;background:#ffffffa0}.crm-mobile-task-page .chat-compose textarea:focus{font-size:16px}.crm-mobile-task-page .chat-compose>button{flex:none;height:34px;min-width:34px;padding:5px}.crm-mobile-task-page .chat-compose>button>span{display:none}.crm-mobile-task-page .chat-deleted{padding:3px 0;gap:5px;font-size:10px;display:flex;align-items:center;flex-wrap:wrap;background:none}.crm-mobile-task-page .confirm-strip{font-size:11px;display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:4px}
 .mobile-task-actions{position:absolute;top:4px;right:7px;z-index:8}.mobile-task-actions>summary{list-style:none;padding:0 7px;font-size:21px;line-height:27px;cursor:pointer}.mobile-task-actions[open]{min-width:140px;padding:3px;border:1px solid #ffffffd0;border-radius:8px;background:#f6fafff5;box-shadow:0 8px 24px #34486620}.mobile-task-actions[open]>summary{text-align:right}.mobile-task-actions button{display:flex;gap:5px;width:100%;text-align:left;border:0;background:none;align-items:center}
 .crm-mobile-task-page.is-editor .mobile-task-page-body{display:block;overflow:auto;padding:8px}.crm-mobile-task-page .task-editor{gap:6px}.crm-mobile-task-page .task-editor fieldset{display:grid;gap:6px;margin:0;padding:0;border:0;min-width:0}.crm-mobile-task-page .task-editor label{display:flex;flex-direction:column;gap:3px;font-size:10px;color:#718198}.crm-mobile-task-page .task-editor :is(input:not([type=checkbox]),textarea){width:100%;min-width:0;font-size:12px;min-height:28px;padding:5px 6px;border:1px solid #ccd8e9;border-radius:7px;background:#ffffff90;line-height:1.35}.crm-mobile-task-page .task-editor :is(input,textarea):focus{font-size:16px}.crm-mobile-task-page .task-editor textarea{min-height:80px;resize:vertical}.crm-mobile-task-page .task-editor details{padding:5px 0;font-size:11px}.crm-mobile-task-page .task-editor .muted{font-size:10px;margin:4px 0}.crm-mobile-task-page .task-editor .form-grid{gap:6px;grid-template-columns:1fr}.crm-mobile-task-page .task-editor .crm-task-datetime input{width:100%;font-size:12px}.crm-mobile-task-page .task-editor .crm-task-datetime{width:100%}
}

@media(max-width:760px){.app-shell .workspace[data-crm-section=employees] .main .filters>label:first-child{flex:1 1 105px;min-width:90px}.app-shell .workspace[data-crm-section=employees] .main .filters>label{flex:1 1 72px;min-width:65px}.app-shell .workspace[data-crm-section=employees] .main .filters>label.checkbox{flex:none;min-width:0;align-self:center;font-size:10px}}

@media(max-width:760px){.crm-mobile-task-page .task-editor textarea{height:80px;line-height:18px}.crm-mobile-task-page .task-editor input:not([type=checkbox]){height:29px;line-height:18px}.crm-mobile-task-page .chat-compose textarea{line-height:20px}.crm-mobile-task-page .task-editor .save-status{min-height:17px;line-height:17px}}

.actual-payroll{display:block;text-align:right;font-size:12px;font-weight:650;line-height:1.4;font-variant-numeric:tabular-nums;margin:2px 0 4px}@media(max-width:760px){.actual-payroll{font-size:11px;margin:2px 0 3px}}

.actual-payroll{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:flex-end}
.work-report .timesheet-table{min-width:640px}
.work-report .timesheet-table td,.work-report .timesheet-table th{padding:7px 9px}
.work-report .timesheet-table .report-link{padding:0;min-height:24px;text-align:left}
