#connectionNotice{padding:12px 20px;background:#fff1cc;color:#6b4800;font-size:14px;line-height:1.5;text-align:center;border-bottom:1px solid #ebcf8d}#mobileMenuButton,.mobile-appbar,.mobile-editor-tabs{display:none}#pwaInstallDialog{font-size:15px;line-height:1.6}#pwaInstallDialog h2{font-size:22px}#pwaInstallDialog h3{margin-top:22px}.mobile-editor-tabs button[aria-pressed=true]{background:#edf8f1;color:#087b2c;border-color:#b4ddc0;font-weight:700}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}
@media(max-width:900px){
 body.pwa-ready{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}header{padding-top:max(16px,env(safe-area-inset-top,0px));gap:12px;align-items:center}.brand{font-size:23px}#mobileMenuButton{display:block;margin-left:auto;min-height:44px;min-width:64px}.pwa-ready header nav{display:none;flex-basis:100%;padding-top:10px;border-top:1px solid #dfe5df;gap:6px}.pwa-ready.nav-open header nav{display:flex}.pwa-ready header nav>*{flex:1 1 135px;justify-content:center;text-align:center;min-height:44px;background:#f4f6f3;border-radius:8px}
 .mobile-appbar{position:fixed;z-index:30;bottom:0;left:0;right:0;display:flex;background:#ffffff;border-top:1px solid #dfe5df;padding:8px max(10px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));gap:6px}.mobile-appbar a,.mobile-appbar button{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:8px;text-decoration:none;color:#536159;font-size:13px;border:0;border-radius:10px}.mobile-appbar [aria-current=page]{background:#edf8f1;color:#087b2c;font-weight:700}
 button,input,textarea,select{font-size:16px}button{min-height:44px}input,select,textarea{min-width:0}label{font-size:13px}.row{min-width:0}.row>label{min-width:0}input[type=date]{min-width:0;max-width:100%;-webkit-appearance:none;appearance:none;min-height:46px}.toolbar{padding:18px 16px;align-items:flex-start}.toolbar h1{font-size:23px;overflow-wrap:anywhere}.toolbar>div{min-width:0}.toolbar .actions{width:100%;gap:8px}.toolbar .actions button{flex:1 1 140px}.workspace{gap:16px}.workspace aside{padding:16px}.workspace .mobile-editor-tabs{display:flex;grid-column:1/-1;gap:6px;position:sticky;top:0;z-index:10;background:#f4f6f3;padding:8px 0;scroll-margin-top:0}.mobile-editor-tabs button{flex:1}.workspace[data-mobile-view=edit]>.preview{display:none}.workspace[data-mobile-view=preview]>aside{display:none}.preview canvas{max-width:100%;box-shadow:0 3px 12px #0001}.previewbar{padding:6px 0 14px}.editor-actions{gap:8px}.editor-actions button{flex:1 1 140px;font-size:14px;min-height:46px}.renewal-row .row{grid-template-columns:repeat(2,minmax(0,1fr))}.renewal-row .row>label:last-child{grid-column:auto}.renewal-row button,.servicearrows button{min-height:40px;font-size:13px}.settings-actions{gap:8px}.settings-actions button{flex:1 1 160px}.modalhead{z-index:20;gap:12px;align-items:flex-start}.modalhead h2{font-size:21px;overflow-wrap:anywhere}.modalhead button{flex-shrink:0}dialog{width:96vw;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));padding:18px;border-radius:16px}dialog .modalhead{top:-18px;padding-top:12px;padding-bottom:12px}#pwaInstallDialog p{font-size:14px}#modalBody{min-width:0;overflow-wrap:anywhere}.history-item{background:#f8faf8;padding:14px;border:1px solid #dfe5df;border-radius:10px;margin:10px 0}.login{margin:5vh auto;padding:24px;max-width:440px}.login h1{font-size:32px}.column-mapping{grid-template-columns:1fr}
}
@media(max-width:650px){
 .renewal-table,.customer-table:not(.import-table-wrap .customer-table){min-width:0;display:block;width:100%}.renewal-table thead,.customer-table:not(.import-table-wrap .customer-table) thead{display:none}.renewal-table tbody,.customer-table:not(.import-table-wrap .customer-table) tbody{display:block}.renewal-table tr,.customer-table:not(.import-table-wrap .customer-table) tr{display:block;margin:12px;background:white;border:1px solid #dfe5df;border-radius:12px;padding:8px 14px}.renewal-table td,.customer-table:not(.import-table-wrap .customer-table) td{display:block;border:0;padding:7px 0;overflow-wrap:anywhere;font-size:14px}.renewal-table td[data-label]:before,.customer-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;font-weight:700;color:#68776c;margin-bottom:4px}.renewal-table td:first-child,.customer-table td:first-child{font-size:16px}.renewal-table td:last-child button,.customer-table td:last-child button{width:100%;margin-top:6px}.renewal-table td.empty{padding:20px;font-size:14px}.tablewrap:has(.renewal-table),.tablewrap:has(#customerListRows){border:0;background:transparent;border-radius:0;overflow:visible}.stats{gap:8px}.stat{padding:14px}.stat span{font-size:12px}.stat strong{font-size:26px}.listbar{margin-bottom:14px}.import-table-wrap{max-width:100%;overflow:auto}.import-table-wrap .customer-table{min-width:540px}.catalog-moves button{min-height:40px}
}
@media(display-mode:standalone){body{overscroll-behavior-y:none}}
@media print{.mobile-appbar,.mobile-editor-tabs,#mobileMenuButton,#connectionNotice{display:none!important}body.pwa-ready{padding:0}.workspace[data-mobile-view=edit]>.preview{display:block}}
