/* Mobile-only finishing layer. No desktop or printed document overrides. */
@media screen and (max-width:800px){
 .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
 .content{padding:20px 14px calc(96px + env(safe-area-inset-bottom));line-height:1.5}
 .content>.page-head{gap:14px;margin-bottom:20px}.page-head h1{font-size:1.625rem;line-height:1.25;letter-spacing:-.5px}
 .page-head>.actions{gap:8px;align-items:stretch}.page-head>.actions>.btn{flex:1 1 120px}.page-head>.actions>input[type=month]{width:100%}
 .glass.panel,.employee-work-panel,.employee-today-panel,.employee-target-panel{border-color:#8aaefa30;background:linear-gradient(135deg,#213f6269,#13283eaa);box-shadow:inset 0 1px 0 #ffffff0b,0 8px 24px #030b171a}
 .btn:focus-visible,.tab:focus-visible{outline:2px solid #83dfff;outline-offset:3px}.btn:active{filter:brightness(1.12)}
 .topbar{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;background:#101e35ed;backdrop-filter:blur(24px)}
 .topbar>.searchbox{width:100%;max-width:none}.topright{justify-content:flex-end}.topright .top-date{flex-basis:100%;font-size:12px;white-space:normal}.topright .pos-top{display:none}
 .topbar:has(.topright>.user-info){grid-template-columns:44px minmax(0,1fr)}.topbar:has(.topright>.user-info)>.topright{grid-column:1/-1}
 .mobile-quick-nav{border-radius:20px 20px 0 0;box-shadow:0 -8px 32px #030b172e}.mobile-quick-nav button{font-weight:600;line-height:1.3}.mobile-quick-nav button.active{background:linear-gradient(135deg,#277df43d,#43c6fa17)}
 .sidebar .sidebar-foot{font-size:13px;line-height:1.5}.sidebar .navlabel{padding-top:18px;letter-spacing:1px}.sidebar .navitem .count{font-size:13px;margin-left:auto}
 .workspace-search-results{top:var(--mobile-header-height,80px);max-height:calc(var(--mobile-viewport-height,100dvh) - 160px)}
 .cashbook-totals b,.order-money-grid b{white-space:normal;font-variant-numeric:tabular-nums}.cashbook-totals{grid-template-columns:1fr!important;gap:0}.cashbook-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:10px 0}.cashbook-totals span{font-size:14px;flex-shrink:0}.cashbook-totals b{font-size:1.125rem;text-align:right}.cashbook-legend>div{grid-template-columns:10px minmax(0,1fr) auto;gap:8px}.cashbook-donut span{font-size:12px}
 .kpis{margin-bottom:18px}.metric .value{line-height:1.25}.metric-top{align-items:flex-start;gap:8px;line-height:1.45}.metric-top>span:first-child{min-width:0}.metric .foot{line-height:1.55}.activity-metric .metric-icon{width:30px;height:30px;border-radius:9px}
 .mobile-record-table{display:block!important}.mobile-record-table colgroup{display:none}.mobile-record-table tbody tr{margin:12px 0;border:1px solid #89b5f12b;border-radius:14px;background:linear-gradient(130deg,#29476c33,#13233c44)}
 .mobile-record-table tbody tr:first-child{border-top:1px solid #89b5f12b}.mobile-record-table td b{font-size:15px;line-height:1.5}.mobile-record-table td:before{text-transform:none;font-size:13px;color:#9ab9de}.mobile-record-table td small{display:block;line-height:1.5;margin-top:4px}.mobile-record-table tbody td .btn{min-height:44px;line-height:1.4}.table-shell:has(.mobile-record-table){background:transparent;border:0;overflow:visible}
 .crm-orders .crm-table-scroll:has(.mobile-record-table){max-height:none;overflow:visible}.crm-orders .mobile-record-table .crm-order-link{font-size:1rem}.crm-orders .mobile-record-table td.crm-select-cell{display:flex;gap:10px;align-items:center}.crm-orders .mobile-record-table td.crm-select-cell:before{margin:0}.crm-orders .crm-row-menu{position:static;width:100%;min-width:0;margin-top:8px}.crm-orders .crm-row-action>summary{min-height:44px;display:flex;align-items:center;justify-content:center}.crm-orders .crm-column-panel{min-width:0;max-width:calc(100vw - 52px)}
 .ledger-controls,.attendance-filterbar{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.ledger-controls label,.attendance-filterbar label{width:100%;min-width:0;max-width:none;font-size:14px}.ledger-controls input,.ledger-controls select,.attendance-filterbar input,.attendance-filterbar select{width:100%}.ledger-pager{position:static;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:14px;border-radius:14px;margin:16px 0;background:#294a6c33}.ledger-pager>.actions{justify-content:space-between;flex-wrap:wrap;font-size:14px}.cashbook-ledger .mobile-record-table td{white-space:normal!important}.ledger-entry-actions .btn{flex:1 1 100px}.sales-record-list{padding:14px}.sales-list-footer{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.sales-list-pagination{display:flex;flex-wrap:wrap;gap:8px}.sales-list-pagination .sales-list-page{min-width:44px;min-height:44px}.customers-toolbar,.quotation-search-toolbar{width:100%;flex-wrap:wrap}.sales-record-list .sales-list-search{width:100%;min-height:48px}.sales-record-list .sales-list-search input{height:44px}
 .calendar{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:10px;padding:0;background:transparent}.calendar>.cal-label,.calendar>.cal-cell.blank{display:none}.calendar>.cal-cell{min-width:0;min-height:68px;padding:14px;border:1px solid #8cabde2b;border-radius:14px;background:linear-gradient(135deg,#26406455,#13283e77);font-size:1rem;line-height:1.5;overflow-wrap:anywhere}.calendar>.cal-cell:before{content:attr(data-mobile-date);display:block;font-size:13px;line-height:1.4;color:#adc9ed;margin-bottom:4px}.calendar>.cal-cell.today{border-color:#69bbff88;box-shadow:inset 3px 0 #54b6ff}.cal-event.marketing-calendar-event{font-size:14px;line-height:1.5;padding:12px;margin-top:10px;border-radius:10px;min-height:44px}.cal-event-actions{margin-top:10px}.cal-event-actions .btn{min-height:44px;font-size:14px}.calendar-scroll{overflow:visible;min-width:0}
 .leave-calendar,.leave-calendar-grid{min-width:0}.leave-calendar-header{flex-wrap:wrap;gap:10px}.leave-calendar button{min-height:44px}.leave-day{min-height:40px!important;border-radius:10px!important}.leave-day.selected{box-shadow:inset 0 0 0 2px #87ddff}.leave-decision-actions{display:flex;gap:8px;flex-wrap:wrap}
 .attendance-filterbar{margin:16px 0}.daily-punch-grid{grid-template-columns:minmax(0,1fr)!important}.daily-punch-person{gap:10px;flex-wrap:wrap}.daily-punch-person>div{flex:1;min-width:0}.daily-punch-person b{font-size:1rem;line-height:1.4;overflow-wrap:anywhere}.daily-punch-person small{font-size:13px;line-height:1.5}.punch-timeline{grid-template-columns:minmax(0,1fr)!important;gap:10px}.punch-event{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;min-width:0}.punch-event small{grid-column:1/-1;white-space:normal;font-size:13px}.attendance-day-heading{flex-wrap:wrap;gap:10px}.attendance-report-tools{flex-wrap:wrap}.attendance-report-actions{display:grid;grid-template-columns:1fr;width:100%;gap:12px}.attendance-report-actions input{width:100%;min-width:0}.attendance-report-brand{flex-wrap:wrap}.attendance-report-preview .attendance-report-table{max-width:100%;overflow:auto}
 .team-target-heading{flex-wrap:wrap;gap:12px}.team-target-group .panel-head{flex-direction:column;align-items:flex-start}.person .avatar{width:44px;height:44px;font-size:16px}.person h3{font-size:1.125rem;line-height:1.4}.person .actions>.btn{flex:1 1 120px}.employee-work-row-actions>.btn{flex:1 1 100px}.employee-work-statuses{display:flex;flex-wrap:wrap;gap:8px}.employee-work-statuses>*{min-width:0;max-width:100%}.employee-task-celebration{align-items:center}.employee-compact-penguin{flex-basis:72px;width:72px;min-width:72px;height:88px}.employee-work-stat{align-content:start}.employee-today-panel .rowline{align-items:flex-start}.celebration-banner{padding:16px}.celebration-banner h2{font-size:1.25rem;overflow-wrap:anywhere}.celebration-banner p{font-size:14px}
 .catalog-toolbar,.catalog-form-grid,.catalog-options{gap:14px}.catalog-category-card{padding:14px;min-width:0}.catalog-workspace button,.catalog-workspace label{font-size:14px}.catalog-workspace .btn{min-height:44px}.catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.catalog-product-card{min-width:0}.catalog-product-card h3{font-size:14px;line-height:1.45;overflow-wrap:anywhere}.catalog-product-card .actions{flex-wrap:wrap}.catalog-product-card .btn{min-width:0;flex:1;padding-inline:8px}.catalog-field textarea{width:100%}.studio-summary span{font-size:14px;line-height:1.5}.studio-source label{min-height:44px}.studio-size-row{grid-template-columns:1fr!important}.studio-size-row .iconbtn{justify-self:end;width:44px;height:44px}.studio-detail-top>div{min-width:0}.studio-update>div{min-width:0;max-width:100%}.studio-update p{overflow-wrap:anywhere}.studio-payment-fields input{width:100%}
 .settings-content .cash-category-row>.btn{min-height:44px}.settings-detail-top{gap:10px}.reward-card .reward-heading h2{font-size:1.125rem}.reward-card .reward-target{font-size:14px}.reward-card .reward-values{font-variant-numeric:tabular-nums}.reward-proof-actions{width:100%}.reward-proof-actions>.btn{flex:1 1 110px}.reward-controls>input[type=month]{width:100%}.monthly-payments-modal .monthly-payment-toolbar{align-items:flex-start}.monthly-payment-toolbar>label{width:100%}
 .pos-screen .pos-screen-title{flex-wrap:wrap;align-items:center}.pos-screen .pos-screen-title h1{font-size:1.5rem}.pos-header-clock{max-width:100%}.pos-register .pos-toolbar{display:flex;flex-direction:column;gap:12px}.pos-register .pos-search{width:100%;max-width:none;min-width:0;min-height:48px}.pos-register .pos-search input{width:100%;min-width:0}.pos-catalogue-filter{width:100%;min-width:0;flex-wrap:wrap}.pos-register .pos-product-art{height:130px!important;background:#152b46}.pos-register .pos-product-card{border-radius:14px;overflow:hidden}.pos-register .pos-product-info{padding:12px}.pos-register .pos-card-plus{min-height:44px!important;height:44px!important;min-width:44px!important;width:44px!important;border-radius:12px!important}.pos-register .pos-line{border-radius:12px;margin-bottom:10px;background:#2a4b7133}.pos-register .pos-line-product{overflow-wrap:anywhere}.pos-register .pos-qty button,.pos-register .pos-qty input{min-height:44px}.pos-register .pos-line-discount input{max-width:100%}.pos-register .pos-register-adjustments .pos-field{width:100%}.pos-register .pos-register-summary b{white-space:normal}.pos-screen .pos-payment-bar.mobile-pos-hidden{display:none!important}.mobile-pos-tabs{top:var(--mobile-header-height,0px);border-radius:12px;padding:8px;background:#10243ce8;backdrop-filter:blur(20px);box-shadow:0 4px 16px #02081633}.mobile-pos-tabs button{font-weight:600}.pos-register .pos-payment-actions .btn{border-radius:12px;font-weight:650}.pos-register .pos-payable{border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.pos-register .pos-payable b{font-size:1.375rem}.pos-register .pos-payable span{font-size:14px}.pos-staff-picker summary{display:flex;align-items:center;min-height:48px;white-space:normal}
 #overlay .modal-body{flex:1 1 auto}.modal-head{align-items:center}.modal-head h2{line-height:1.4}.modal-footer>.btn{min-height:48px}.modal-body label{font-size:14px}.modal-body .field>label{display:block;margin-bottom:6px}.form-grid{align-items:start}.modal-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.modal-body select{width:100%;height:auto;min-height:48px}.modal-body [hidden]{display:none!important}.mobile-document-scroll{border-radius:10px}.form-error{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
 .login-card{border-radius:24px;padding:28px 22px;background:linear-gradient(145deg,#25436980,#14283fbf);box-shadow:inset 0 1px 0 #ffffff14,0 20px 60px #02091855}.login-card .brand{margin-bottom:18px}.login-card h1{font-size:1.5rem;line-height:1.35}.login-card input{width:100%;min-height:48px}.login-card .btn{min-height:48px}.login-card label{font-size:14px}.punch-out-reminder .punch-out-checklist{padding:14px;min-width:0}
}
@media screen and (max-width:430px){.topbar{grid-template-columns:44px minmax(0,1fr)}.topbar>.topright{grid-column:1/-1;justify-content:flex-end}.catalog-product-grid{grid-template-columns:1fr!important}.pos-register .pos-product-art{height:112px!important}.pos-register .pos-product-info{padding:10px}.pos-register .pos-product-bottom strong{flex-basis:100%}.crm-summary-grid{grid-template-columns:1fr!important}}
@media screen and (max-height:500px) and (max-width:800px){.topbar{position:static}.mobile-pos-tabs{top:0}.mobile-quick-nav button{min-height:40px}.content{padding-bottom:76px}#overlay .modal-head{padding:8px 12px}#overlay .modal-footer{padding:8px 12px}#overlay .modal-body{padding:12px}.sidebar .brand{padding-bottom:12px}}
