.iphone-install-strip{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid #493628;background:#211812;color:#f3e9dc;font:14px/1.4 system-ui}.iphone-install-strip button,.iphone-install-dialog button{font:600 14px system-ui;border:1px solid #d9b27c;border-radius:10px;padding:10px 15px;background:#d9b27c;color:#17110d;min-height:44px;cursor:pointer}.iphone-install-strip button.secondary{background:none;color:#d9b27c}.iphone-install-dialog{max-width:460px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;background:#211812;color:#f3e9dc;border:1px solid #735435;border-radius:20px;padding:24px;font:16px/1.6 system-ui;box-shadow:0 20px 80px #0008}.iphone-install-dialog::backdrop{background:#000b}.iphone-install-dialog h2{font:600 28px Georgia;margin:0 0 12px}.iphone-install-dialog li{margin:12px 0}.iphone-install-dialog .app-note{color:#b9a894;font-size:13px}.iphone-connection{position:fixed;top:env(safe-area-inset-top,0px);left:0;right:0;z-index:9999;padding:12px;background:#8b281f;color:white;text-align:center;font:600 14px system-ui}.iphone-install-strip[hidden],.iphone-connection[hidden]{display:none!important}
@media(display-mode:standalone){body{overscroll-behavior-y:none}body:has(#erp-panel){padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(40px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}}
@media(max-width:600px){body:has(#erp-panel) input,body:has(#erp-panel) select,body:has(#erp-panel) textarea{font-size:16px}body:has(#erp-panel) .grid{grid-template-columns:minmax(0,1fr)}body:has(#erp-panel) main{min-width:0}body:has(#erp-panel) .tabs{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(#erp-panel) .admin-brand{align-items:flex-start;gap:10px}body:has(#erp-panel) .admin-brand h1{font-size:22px}body:has(#erp-panel) .bar .grow{min-width:0}body:has(#erp-panel) button{min-height:44px}body:has(#erp-panel) .erp-kpi strong{font-size:26px}body:has(#erp-panel) .erp-fields{grid-template-columns:minmax(0,1fr)}body:has(#erp-panel) .erp-tools input{max-width:100%}.iphone-install-strip span{font-size:12px}}
@media print{.iphone-install-strip,.iphone-connection,.iphone-install-dialog{display:none!important}}
