/* Phone and tablet adaptations. Desktop and print styles stay unchanged. */
@media screen and (max-width:800px){
 html{font-size:16px;scroll-padding-top:76px;-webkit-text-size-adjust:100%}
 body{min-width:0;overflow-x:clip}
 .layout,.workspace,#app,.content{width:100%;min-width:0;max-width:100%}
 .content{padding:18px 12px calc(90px + env(safe-area-inset-bottom));margin:0;overflow-wrap:anywhere}
 h1{font-size:1.5rem;line-height:1.3;letter-spacing:-.4px}h2{font-size:1.125rem;line-height:1.4}h3{font-size:1rem;line-height:1.4}
 .glass,.panel,.person,.metric,.notice{min-width:0;max-width:100%;border-radius:16px}
 .panel,.person{padding:16px}.page-head,.panel-head{flex-wrap:wrap;gap:12px;align-items:flex-start;margin-bottom:16px}
 .page-head>div,.panel-head>div{min-width:0;max-width:100%}.page-head>.actions{max-width:none;justify-content:flex-start;width:100%}
 .page-head .sub,.panel-head p,.notice,.empty p,.footer-note{font-size:.875rem;line-height:1.5}
 .btn,.btn.tiny,.btn.text,.page-head .btn,.tab,.iconbtn{font-size:.875rem;line-height:1.35;min-height:44px;padding:10px 12px;max-width:100%;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}
 .iconbtn{min-width:44px;width:44px;flex-shrink:0;padding:10px}.btn svg{flex-shrink:0}
 .actions{gap:8px;min-width:0;flex-wrap:wrap}.badge,.crm-status{font-size:.8125rem;line-height:1.4;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .small,.muted,.tinylabel{font-size:.8125rem}.topbar{min-height:64px;height:auto;gap:8px;padding:10px 12px;flex-wrap:wrap;z-index:40}
 .topbar .searchbox{min-width:0;max-width:none;flex:1}.searchbox input{font-size:16px;min-height:44px;min-width:0}
 .topright{gap:6px;min-width:0;max-width:100%;flex-wrap:wrap}.topright .user-info{max-width:110px}.topright .user-info b{font-size:.875rem;overflow-wrap:anywhere}
 .topright .user-info small{font-size:.75rem}.topright>.btn{font-size:.8125rem;min-height:36px;padding:6px 9px}
 .preview-bar{padding:10px 12px;flex-wrap:wrap;font-size:.8125rem;gap:8px}.preview-bar select{font-size:16px;min-height:40px;max-width:100%}
 .sidebar{position:fixed;left:0!important;top:0;bottom:0;width:min(310px,calc(100vw - 48px));height:100dvh;z-index:1100;transform:translateX(-105%);transition:transform .2s ease;padding:16px;visibility:hidden;background:#101d35f5;overflow:hidden}
 .sidebar.open{transform:translateX(0);visibility:visible}.sidebar .brand{padding-right:44px}.navscroll{overscroll-behavior:contain;padding-bottom:12px}.navitem{font-size:1rem;min-height:46px;padding:11px 12px}.navlabel{font-size:.75rem}.mobile-drawer-close{position:absolute;right:12px;top:12px}
 .mobile-nav-scrim{position:fixed;inset:0;z-index:1090;border:0;background:#02091899;backdrop-filter:blur(3px)}
 .mobile-quick-nav{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#0c1a31ed;border-top:1px solid #7daaff38;backdrop-filter:blur(20px)}
 .mobile-quick-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:0;background:none;color:#b7ccea;font-size:.75rem;min-height:48px;border-radius:10px}.mobile-quick-nav button.active{color:#9aeaff;background:#469cff24}.mobile-quick-nav svg{height:19px;width:19px}
 body.mobile-keyboard .mobile-quick-nav{display:none}body.mobile-menu-open{overflow:hidden}
 .grid-two,.grid-half,.hero,.detail-grid,.cards,.customer-form-grid,.employee-primary-grid,.employee-work-grid,.portal-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}
 .kpis,.employee-work-stats,.repair-summary,.inventory-summary,.crm-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 .metric{padding:15px}.metric .value,.metric .value.money{font-size:1.35rem;overflow-wrap:anywhere;letter-spacing:-.3px}.metric-top,.metric .foot{font-size:.8125rem}
 .employee-work-stat{padding:12px;min-height:100px;gap:8px}.employee-work-stat span{font-size:.875rem}.employee-work-stat strong{font-size:1.5rem}.employee-work-stat-icon{width:30px;height:30px}
 .employee-overview,.employee-work-panel,.employee-today-panel,.employee-target-panel{min-width:0}.employee-work-panel,.employee-today-panel,.employee-target-panel{padding:16px}
 .employee-work-panel-head{flex-wrap:wrap;align-items:flex-start;gap:12px}.employee-work-panel-head h2{font-size:1.1rem}.employee-work-row{flex-wrap:wrap;gap:10px;padding:13px 0}.employee-work-copy{flex:1 1 180px;min-width:0}.employee-work-copy b{font-size:1rem}.employee-work-copy small{font-size:.875rem;line-height:1.5}.employee-work-row-actions{flex-wrap:wrap;justify-content:flex-start;max-width:100%;gap:8px}
 .employee-attendance-link{flex-wrap:wrap}.employee-target-grid,.sales-target-grid{grid-template-columns:1fr}.employee-target{padding:15px}.employee-target p{font-size:1.125rem}.employee-target-mood small{font-size:.875rem}.employee-task-celebration{gap:12px;max-width:100%;min-width:0;padding:10px 0}.employee-task-celebration>div:last-child{min-width:0}.employee-task-celebration b{font-size:1.1rem}.employee-task-celebration small{font-size:.875rem}
 .employee-compact-penguin{flex:0 0 80px;width:80px;min-width:80px;height:95px}.dashboard-announcements button{width:100%;min-width:0;padding:16px}.dashboard-announcements b{font-size:1rem}.dashboard-announcements span{font-size:.875rem}
 .rowline{flex-wrap:wrap;gap:10px}.rowmain{flex:1;min-width:0}.rowmain>div{min-width:0}.rowmain b{font-size:1rem}.rowmain small{font-size:.8125rem}.rowline>.actions{width:100%;justify-content:flex-start}
 .cashbook-totals,.order-money-grid,.sales-target-amounts{grid-template-columns:1fr!important;gap:12px}.cashbook-totals b,.order-money-grid b{font-size:1.35rem;overflow-wrap:anywhere}.cashbook-overview-chart,.cashbook-chart-layout,.cash-chart-layout{max-width:100%;grid-template-columns:1fr!important;min-width:0}.cashbook-donut,.cash-donut,.donut-chart{max-width:100%;margin-inline:auto}
 .cashbook-chart-legend,.cash-chart-legend{min-width:0}.cashbook-chart-legend span{white-space:normal}.monthly-payments-panel{padding:16px;margin:16px 0}.monthly-payments-panel .panel-head h3{font-size:1.125rem}.monthly-payment-next{font-size:.875rem}.monthly-payment-next b{font-size:1rem}.monthly-payment-row{padding:12px;gap:10px}.monthly-payment-date{flex-basis:62px}.monthly-payment-detail{min-width:0;flex:1}.monthly-payment-detail strong{font-size:1rem}.monthly-payment-detail .badge{min-width:0;min-height:30px;font-size:.8125rem;padding:5px 9px}.monthly-payment-row .actions{padding-left:0;width:100%}
 .form-grid,.customer-form-grid,.order-receipt-row,.studio-form-grid,.crm-filter-grid{grid-template-columns:1fr!important;gap:16px}.field,.form-grid label,.customer-form-grid label,.studio-form-grid label{min-width:0;grid-column:auto;max-width:100%}.field.full,.form-grid .full,.customer-form-grid .full{grid-column:1/-1}
 label,.field label{font-size:.875rem;line-height:1.5}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:44px;max-width:100%;min-width:0;border-radius:10px}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-height:20px;margin:4px;flex-shrink:0}textarea{min-height:100px}input[type=file]{width:100%;padding:8px;font-size:.875rem!important}
 .form-grid input,.form-grid select,.form-grid textarea,.customer-form-grid input,.customer-form-grid select{width:100%}.line-item,.studio-size-row,.split-payment-row{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.line-item>*{flex:1 1 100px;min-width:0;max-width:100%}.line-item>select:first-child{flex-basis:100%}.form-actions{flex-wrap:wrap;gap:10px}.form-actions>.btn{flex:1}
 .modal-cover{position:fixed;inset:0;top:var(--mobile-viewport-top,0px);bottom:auto;height:var(--mobile-viewport-height,100dvh);z-index:1500;display:flex;align-items:center;justify-content:center;padding:10px;background:#030916b0}
 #overlay .modal,#overlay .modal.wide,#overlay .modal.monthly-payments-modal{width:100%;max-width:720px;max-height:calc(var(--mobile-viewport-height,100dvh) - 20px);min-width:0;margin:0;display:flex;flex-direction:column;overflow:hidden;border-radius:16px}
 .modal-head{flex:0 0 auto;padding:14px 16px;gap:12px;align-items:flex-start}.modal-head h2{font-size:1.125rem;min-width:0;overflow-wrap:anywhere}.modal-head .iconbtn{min-width:44px}
 .modal-body,.monthly-payments-modal .modal-body{padding:16px;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:16px}
 .modal-footer,.monthly-payments-modal .modal-footer{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex:0 0 auto;border-top:1px solid #8cb3eb25;background:#12223a}.modal-footer>.btn{flex:1;min-width:100px}
 .mobile-document-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior:contain}.mobile-document-scroll>.print-sheet,.mobile-document-scroll>.cash-report-preview{min-width:650px}.mobile-document-scroll .print-sheet table{min-width:0}
 .mobile-record-table{min-width:0!important;width:100%;table-layout:auto}.mobile-record-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mobile-record-table tbody{display:block}.mobile-record-table tbody tr{display:block;padding:12px 14px;border-top:1px solid #89b5f12b}.mobile-record-table tbody tr:first-child{border-top:0}.mobile-record-table tbody td{display:grid;grid-template-columns:minmax(78px,34%) minmax(0,1fr);gap:12px;padding:7px 0!important;border:0!important;font-size:.875rem;line-height:1.5;white-space:normal!important;max-width:none!important;width:auto!important;min-width:0!important;overflow-wrap:anywhere;text-align:left!important}.mobile-record-table tbody td:before{content:attr(data-mobile-label);font-size:.8125rem;line-height:1.5;color:#a8c3e5;font-weight:600}.mobile-record-table td .actions{flex-wrap:wrap}.mobile-record-table td small{font-size:.8125rem}.mobile-record-table td>*{min-width:0;max-width:100%}.mobile-record-table tr.mobile-empty-row td{display:block;text-align:center!important}.mobile-record-table tr.mobile-empty-row td:before{display:none}.mobile-record-table tfoot{display:block}.mobile-record-table tfoot tr{display:flex;flex-wrap:wrap;padding:12px;gap:12px}.mobile-record-table tfoot td{font-size:.875rem;padding:4px;white-space:normal}
 .table-shell,.crm-table-scroll,.table-wrap{min-width:0;max-width:100%;overscroll-behavior-inline:contain;overflow:auto}.mobile-wide-table{min-width:720px!important}.mobile-wide-table th,.mobile-wide-table td{font-size:.875rem;line-height:1.5;padding:12px}
 .record-list-pager,.cashbook-pagination,.ledger-pagination{position:static!important;flex-wrap:wrap;gap:10px;padding:12px;min-width:0}.record-list-pagination{flex-wrap:wrap;justify-content:center;max-width:100%;gap:8px}.record-list-pagination .btn{min-width:64px;font-size:.875rem;min-height:44px}.record-list-page-status{font-size:.8125rem;white-space:normal}.crm-table-tools,.crm-table-bottom,.cashbook-tools,.ledger-tools,.cashbook-toolbar{flex-wrap:wrap;gap:12px;min-width:0}.crm-table-search,.record-list-search,.repair-search,.customer-search,.quotation-search{width:100%!important;min-width:0!important;max-width:none!important}.crm-table-search input,.customer-search input,.quotation-search input,.repair-search input{width:100%!important;min-width:0!important}.crm-export-tools{flex-wrap:wrap}.crm-summary-card{min-height:100px!important;padding:14px!important;min-width:0}.crm-summary-card strong,.crm-summary-card.neutral strong{font-size:1.2rem!important;white-space:normal;overflow-wrap:anywhere}.crm-summary-card small{font-size:.8125rem}.crm-orders .crm-date-panel{position:fixed;left:12px;right:12px;top:90px;width:auto;max-width:none;z-index:55;max-height:calc(100dvh - 180px);overflow:auto}.crm-filter-grid .crm-filter-field select{width:100%}.crm-column-panel{max-width:calc(100vw - 32px)}
 .tabs{gap:6px;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:5px;overscroll-behavior-inline:contain}.tab{flex:0 0 auto;white-space:nowrap}.calendar-scroll{max-width:100%;overflow:auto}.calendar{min-width:0!important;gap:4px}.calendar-cell{min-width:0;min-height:105px;padding:5px}.calendar-cell .calendar-item{font-size:.75rem;padding:5px;overflow-wrap:anywhere}.calendar-day{font-size:.875rem}.year-grid{grid-template-columns:1fr!important}.leave-calendar{width:100%;min-width:0;max-width:100%}.leave-calendar-grid{gap:4px;grid-template-columns:repeat(7,minmax(0,1fr))}.leave-day{min-width:0!important;min-height:38px!important;padding:3px!important;font-size:.875rem!important}.leave-calendar button{touch-action:manipulation}
 .attendance-hero{padding:16px;gap:16px}.attendance-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.attendance-actions .btn{flex:1 1 120px}.attendance-filters,.attendance-filter-row{flex-wrap:wrap;gap:12px}.attendance-filters label{width:100%}.attendance-performance,.attendance-progress,.marketing-feedback,.sales-target-feedback{max-width:100%;min-width:0;padding:16px;gap:12px;flex-wrap:wrap}.marketing-face{font-size:2.5rem}.attendance-performance p,.marketing-feedback p,.sales-target-feedback p{font-size:.875rem;line-height:1.5}
 .repair-summary-card,.inventory-summary-card{padding:14px!important;min-height:120px!important}.repair-summary-card .metric-top,.inventory-summary-card .metric-top{font-size:.875rem;min-height:0!important;gap:7px}.repair-summary-card .value,.inventory-summary-card .value{font-size:1.6rem!important}.inventory-actions{flex-wrap:wrap}.board,.task-board{grid-template-columns:1fr!important}.lane{min-width:0;min-height:0}.task{padding:15px}.task h3{font-size:1rem}.task p{font-size:.875rem}
 .products-toolbar,.product-filters{flex-wrap:wrap}.products-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.product-card{min-width:0}.product-card h3{font-size:.95rem;overflow-wrap:anywhere}.product-categories{max-width:100%;flex-wrap:wrap}.studio-detail-grid{grid-template-columns:1fr!important}.studio-detail-panel{min-width:0;padding:14px}.studio-workflow{flex-wrap:wrap}.studio-size-row select,.studio-size-row input{width:100%;min-width:0}.art-preview,.art-preview img{max-width:100%}
 .reward-grid{grid-template-columns:1fr!important;gap:14px}.reward-intro{padding:16px;flex-direction:column;align-items:flex-start}.reward-rule{white-space:normal}.reward-card{padding:18px}.reward-controls{width:100%;align-items:stretch}.reward-controls label{width:100%;flex-wrap:wrap}.reward-controls select{flex:1}.reward-values{flex-wrap:wrap}.reward-values strong{font-size:1rem}.reward-bottom{flex-wrap:wrap}
 .login-page{min-height:100dvh;padding:20px 12px}.login-card{width:100%;max-width:440px;padding:24px 20px}.login-card h1{font-size:1.5rem}.login-card .field{margin:16px 0}.login-card .btn{width:100%}.login-foot{font-size:.8125rem;line-height:1.6}.toast{max-width:calc(100vw - 24px);left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom));font-size:.875rem;padding:12px 15px;overflow-wrap:anywhere}.setup-row{flex-wrap:wrap;gap:10px}.setup-row h3{font-size:1rem}.setup-row p{font-size:.875rem}
 /* Mobile POS is one complete register with two touch-accessible working panels. */
 .pos-active .content,.pos-expanded .content{padding:12px 10px calc(88px + env(safe-area-inset-bottom))!important;min-width:0;height:auto!important;overflow:visible!important}
 .pos-expanded .layout,.pos-expanded .workspace{height:auto!important;min-height:100dvh;overflow:visible!important}.pos-screen,.pos-expanded .pos-screen{height:auto!important;max-height:none!important;min-width:0!important;overflow:visible!important;gap:12px}
 .pos-screen-header{flex-wrap:wrap!important;gap:10px!important;min-width:0}.pos-screen-title{max-width:none!important;flex:1 1 100%;gap:8px}.pos-header-clock{font-size:.8125rem!important;white-space:normal;line-height:1.5}.pos-screen-controls{display:flex;flex-wrap:wrap;gap:8px;width:100%}.pos-screen-controls .btn{flex:1;font-size:.875rem!important;min-height:44px}
 .pos-header-fields{order:3;display:grid;grid-template-columns:1fr!important;gap:12px!important;width:100%;max-width:none;margin:0}.pos-header-fields .pos-field>span{font-size:.875rem}.pos-header-fields input,.pos-header-fields select,.pos-staff-picker summary{min-height:44px;height:auto;font-size:16px!important}.pos-customer-plus{width:44px!important;min-width:44px!important;min-height:44px!important}.pos-customer-control{width:100%}.pos-customer-control>input{flex:1;min-width:0}.pos-staff-options{max-height:260px;overflow:auto}.pos-staff-options button{min-height:44px;font-size:1rem!important}.pos-customer-suggestions{max-height:250px;overflow:auto;max-width:100%}
 .mobile-pos-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:sticky;top:0;z-index:35;padding:8px 0;background:#0d1d34}.mobile-pos-tabs button{min-height:44px;border:1px solid #75a6e83d;border-radius:10px;color:#bad2f1;background:#24487544;font-size:.875rem}.mobile-pos-tabs button.active{background:#2872d756;color:#e4f4ff;border-color:#68b0f3}
 .pos-screen-body,.pos-screen .pos-register{height:auto!important;min-height:0!important;overflow:visible!important;display:block!important}.pos-register .pos-register-workspace,.pos-expanded .pos-register .pos-register-workspace{display:block!important;padding:12px!important;overflow:visible!important;min-height:0;grid-template-columns:1fr!important}
 .pos-register .pos-sale-panel,.pos-register .pos-catalogue{height:auto!important;min-height:0!important;overflow:visible!important;display:flex!important;flex-direction:column;gap:0}.pos-register .pos-sale-panel.mobile-pos-hidden,.pos-register .pos-catalogue.mobile-pos-hidden{display:none!important}
 .pos-register .pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:none!important;height:auto!important;overflow:visible!important;gap:10px;padding:10px 0}.pos-register .pos-product-card{min-width:0}.pos-register .pos-product-art{height:120px!important}.pos-register .pos-product-info{height:auto!important;min-height:0!important;padding:10px;gap:8px}.pos-register .pos-product-info>b{font-size:.875rem!important;line-height:1.4}.pos-register .pos-product-bottom strong{font-size:.875rem!important;white-space:normal}.pos-register .pos-card-plus{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;position:static!important;display:grid;place-items:center}.pos-product-bottom{flex-wrap:wrap;gap:8px}.pos-category-select{width:100%;min-width:0}.pos-category-select select{width:100%}.pos-register .pos-sale-table{min-height:180px;max-height:none;overflow:visible!important;flex:none}.pos-register .pos-sale-columns{display:none}.pos-register .pos-line{display:grid;grid-template-columns:minmax(0,1fr) auto!important;gap:12px;padding:14px;min-height:0}.pos-line .pos-line-product{grid-column:1/-1;min-width:0}.pos-register .pos-line b{font-size:1rem!important}.pos-register .pos-line>strong{font-size:1rem!important;white-space:normal}.pos-register .pos-line .pos-line-discount{font-size:.875rem;flex-wrap:wrap}.pos-register .pos-line-discount input{width:100px;min-height:40px}.pos-register .pos-qty{width:auto;gap:8px}.pos-qty button{min-width:40px;min-height:40px}.pos-qty input{width:54px!important;min-height:40px}.pos-register .pos-line>.iconbtn{grid-column:2;justify-self:end}.pos-cart-empty{padding:25px 16px!important;min-height:160px!important}.pos-cart-empty p{font-size:.875rem}
 .pos-register .pos-checkout-controls{overflow:visible!important;max-height:none!important;min-height:0}.pos-register .pos-register-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px;gap:12px}.pos-register .pos-register-summary span{font-size:.8125rem}.pos-register .pos-register-summary b{font-size:1rem!important;overflow-wrap:anywhere}.pos-register .pos-register-adjustments{grid-template-columns:1fr!important;padding:12px;gap:12px}.pos-register .pos-register-adjustments label{font-size:.875rem}.pos-register .pos-register-adjustments input,.pos-register .pos-register-adjustments select{height:auto;font-size:16px!important}.pos-register .pos-sale-notes{padding:12px}.pos-register .pos-payment-bar{position:static!important;display:flex;flex-direction:column;gap:12px;padding:12px}.pos-register .pos-payable{width:100%!important;margin:0;padding:14px;min-width:0}.pos-register .pos-payable b{font-size:1.5rem;overflow-wrap:anywhere}.pos-register .pos-payable span{font-size:.875rem}.pos-register .pos-payment-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%;gap:10px}.pos-register .pos-payment-bar .btn{min-height:48px;font-size:.875rem!important;padding:12px 8px}.pos-register .pos-vat-field>span{flex-wrap:wrap}.pos-product-search input{width:100%}
 .punch-out-reminder{max-width:100%;padding:8px}.punch-out-reminder h3{font-size:1.25rem}.punch-out-reminder p{font-size:1rem}.celebration-banner{max-width:100%;overflow:hidden;min-width:0}
}
@media screen and (max-width:360px){.kpis,.employee-work-stats,.repair-summary,.inventory-summary,.crm-summary-grid{grid-template-columns:1fr!important}.content{padding-inline:10px}.topright .user-info{max-width:86px}.calendar-cell{padding:3px;min-height:90px}.mobile-record-table tbody td{grid-template-columns:minmax(70px,30%) minmax(0,1fr);gap:8px}}
@media screen and (max-width:800px){
 .mobile-record-table tbody td{display:block}.mobile-record-table tbody td:before{display:block;margin-bottom:4px}.mobile-record-table tbody td .actions{margin-top:6px}.mobile-record-table tbody td:empty{display:none}
 .employee-primary-grid .employee-target-grid,.employee-announcements,.catalog-toolbar,.catalog-editor,.catalog-form-grid,.catalog-category-grid,.catalog-options{grid-template-columns:minmax(0,1fr)!important}
 .catalog-summary{grid-template-columns:1fr;gap:10px}.catalog-summary-card{padding:14px}.catalog-summary-card span{font-size:.875rem}.catalog-summary-card b{font-size:1.3rem}.catalog-image-editor{display:block;width:100%}.catalog-image-preview{height:180px;margin-bottom:16px}.catalog-field{min-width:0}.catalog-search{grid-column:1/-1}
 .cashbook-chart{grid-template-columns:1fr;justify-items:center}.cashbook-legend{width:100%;min-width:0}.cashbook-legend>div{font-size:.875rem}.cashbook-legend span{white-space:normal;overflow-wrap:anywhere}.cashbook-legend b{white-space:normal;overflow-wrap:anywhere;text-align:right}
 .crm-orders .crm-date-panel{grid-template-columns:1fr}.crm-date-presets{display:grid;grid-template-columns:1fr 1fr}.crm-date-presets button,.crm-pagination button,.crm-row-action>summary,.crm-column-picker>summary{min-height:44px;font-size:.875rem}.crm-orders .crm-order-table th,.crm-orders .crm-order-table td,.crm-orders .crm-order-link,.crm-orders .crm-row-menu>.btn{font-size:.875rem}.crm-orders .crm-order-table td small{font-size:.8125rem}.crm-pagination{flex-wrap:wrap}.crm-summary-card:last-child{grid-column:auto}
 .studio-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-summary>div{padding:14px}.studio-source{flex-direction:column;gap:10px}.studio-size-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.studio-detail-top,.studio-update,.studio-paid{flex-wrap:wrap;min-width:0}.studio-paid>div{min-width:0}
 #overlay:has(.studio-job-modal) .modal-cover{overflow:hidden;padding:10px;align-items:center}#overlay .studio-job-modal .modal-body{min-height:0;overflow-y:auto}#overlay .studio-job-modal textarea{min-height:100px;height:auto}
 .reward-controls{flex-wrap:wrap}.reward-controls label{min-width:0}.employee-work-row .badge{max-width:100%}.employee-work-stat>span:not(.employee-work-stat-icon){grid-row:2;grid-column:1/-1}.employee-work-stat strong{grid-column:2;grid-row:1}.presence-badge{font-size:1.25rem;min-width:72px;padding:12px}.inventory-search{width:100%;min-width:0}.inventory-search input{width:100%}
}
@media screen and (min-width:801px){.mobile-quick-nav,.mobile-nav-scrim,.mobile-drawer-close,.mobile-pos-tabs{display:none!important}}
@media screen and (max-width:800px) and (prefers-reduced-motion:reduce){.sidebar{transition:none}}
@media print{.mobile-quick-nav,.mobile-nav-scrim,.mobile-drawer-close,.mobile-pos-tabs{display:none!important}.modal-body>.mobile-document-scroll{display:block!important;width:100%;overflow:visible}.mobile-document-scroll>.print-sheet,.mobile-document-scroll>.cash-report-preview{min-width:0!important}}

.mobile-refresh-button{display:none}
@media screen and (max-width:800px){
 .topbar .mobile-refresh-button,.mcb-head .mobile-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:44px;min-width:44px;padding:8px 10px;border:1px solid #58bbdf55;border-radius:11px;background:#12344b;color:#a9edff;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer}
 .mobile-refresh-button svg{flex-shrink:0}
 .mobile-refresh-button:focus-visible{outline:2px solid #28c9f4;outline-offset:2px}
 .mobile-refresh-button:disabled{opacity:.6}
 .mcb-head .mobile-refresh-button{background:#e8f3fc;color:#1265a8;border-color:#bddbf2}
}
@media print{.mobile-refresh-button{display:none!important}}
