.admin-action-dock,.admin-mobile-tabs,.mobile-editor-jumps,.mobile-tools-toggle{display:none}.admin-mobile-tools{min-width:0}.admin-mobile-tools>[hidden]{display:none!important}.admin-scan-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;border:1px solid #bdd6df;border-radius:18px;color:#163b50;background:white;overflow:auto}.admin-scan-dialog::backdrop,.mobile-quote-detail::backdrop{background:#17394c66}.admin-scan-dialog footer,.admin-scan-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-scan-dialog h2{font-size:21px}.admin-scan-dialog video{width:100%;max-height:32dvh;object-fit:contain;background:#eef4f7;border-radius:12px}.admin-scan-dialog button{min-height:48px;min-width:48px;padding:10px 14px;border:1px solid #91bbc9;border-radius:12px;background:#edf8fc;color:#16415a;font-size:16px;font-weight:700}.admin-scan-dialog label{display:grid;gap:8px;margin:14px 0}.admin-scan-dialog input{min-height:48px;min-width:0;width:100%;box-sizing:border-box;padding:10px;font-size:16px;border:1px solid #a9c4d1;border-radius:10px}.admin-scan-dialog p{font-size:16px;line-height:1.5}.mobile-quote-detail{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#f3f8fb;color:#17394d;box-sizing:border-box}.mobile-quote-detail[open]{display:flex;flex-direction:column}.mobile-quote-detail>header{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #ccdde5;background:white;flex-shrink:0}.mobile-quote-detail h2{font-size:18px;margin:0;flex:1;overflow-wrap:anywhere}.mobile-quote-detail button{font:inherit;cursor:pointer;touch-action:manipulation}.mobile-quote-detail>footer button,.mobile-quote-detail>header button{min-height:48px;padding:10px;border:1px solid #bbd4df;border-radius:12px;background:#fff;color:#17435c;font-weight:700}.mobile-quote-detail>footer{display:flex;gap:10px;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:white;border-top:1px solid #ccdde5;flex-shrink:0}.mobile-quote-detail>footer button{flex:1}.mobile-quote-detail>footer button:last-child{background:#086b92;color:white}.mobile-quote-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;font-size:16px;line-height:1.5}.mobile-segment-tabs{display:flex;gap:4px;padding:8px;background:#e9f4f8;flex-shrink:0;overflow-x:auto}.mobile-segment-tabs button{flex:1;min-width:max-content;min-height:48px;padding:10px;border:0;border-radius:10px;background:transparent;color:#365567;font-size:15px;font-weight:700}.mobile-segment-tabs [aria-current=page]{background:white;color:#075c83;box-shadow:0 2px 6px #17394c15}.mobile-quote-cards{display:grid;gap:12px}.mobile-quote-card{display:block;text-align:left;width:100%;box-sizing:border-box;border:1px solid #c2d8e3;border-radius:16px;background:white;padding:16px;color:#17394d}.mobile-quote-card footer,.mobile-quote-card header{display:flex;justify-content:space-between;align-items:center;gap:10px}.mobile-quote-card header b{color:#096a8c;font-size:16px}.mobile-quote-card header span,.mobile-status{display:inline-block;border-radius:9px;background:#fff0ce;color:#694914;padding:5px 8px;font-size:13px;font-weight:700}.mobile-quote-card h3{font-size:19px;margin:10px 0 4px}.mobile-quote-card p{font-size:14px;margin:0 0 12px;color:#50697a}.mobile-quote-card footer strong{font-size:21px}.mobile-quote-card time{font-size:14px}.mobile-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mobile-detail-grid div{padding:12px;border-radius:12px;background:white;border:1px solid #dae6ec;min-width:0}.mobile-detail-grid dt{font-size:13px;color:#526b7a;text-transform:capitalize}.mobile-detail-grid dd{margin:5px 0 0;font-size:16px;overflow-wrap:anywhere}.mobile-money-summary{padding:16px;background:#eaf8f2;border:1px solid #bcddce;border-radius:14px;margin:15px 0}.mobile-money-summary p,.mobile-money-summary>strong{display:flex;justify-content:space-between;gap:8px}.mobile-money-summary>strong{border-top:1px solid #bcddce;padding-top:12px;font-size:23px;color:#12583e}.mobile-configuration-list{padding-left:24px}.mobile-configuration-list li{margin-bottom:12px}.mobile-machine-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mobile-machine-photos button{padding:8px;background:white;border:1px solid #c2d8e3;border-radius:12px}.mobile-machine-photos img{width:100%;height:140px;object-fit:contain}.mobile-machine-photos b,.mobile-machine-photos small{display:block}.mobile-quote-actions{display:grid;gap:12px}.mobile-quote-actions button{min-height:48px;background:white;border:1px solid #b8d2df;border-radius:12px;padding:12px;color:#17435c;font-weight:700}.mobile-quote-actions label{display:grid;gap:8px}.mobile-quote-actions input{font-size:16px;min-height:48px}.mobile-delivery-screen{color:#17394d;padding-bottom:145px}.mobile-delivery-screen>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#fff}.mobile-delivery-screen>header h2,.mobile-delivery-screen>header p{flex:0 0 100%;margin:0;overflow-wrap:anywhere}.mobile-delivery-screen h2{font-size:22px}.mobile-delivery-screen h3{font-size:19px}.mobile-delivery-screen button{min-height:48px;min-width:44px;padding:10px 12px;border:1px solid #a8c8d7;border-radius:12px;background:white;color:#17435c;font-size:16px;font-weight:700;touch-action:manipulation}.mobile-packing-progress{display:flex;align-items:center;gap:12px;padding:12px;font-size:14px}.mobile-packing-progress progress{flex:1;min-width:0;accent-color:#168565}.mobile-operation-card{border:1px solid #ccdde5;border-radius:16px;padding:16px;background:white;margin:12px 0;min-width:0}.mobile-operation-card h3{margin:0 0 8px}.mobile-operation-card fieldset{padding:0;margin:0;border:0;min-width:0;display:grid;gap:14px}.mobile-field,.mobile-operation-card label{display:grid;gap:7px;font-size:15px;font-weight:700}.mobile-field select,.mobile-operation-card input,.mobile-operation-card textarea{font-size:16px!important;min-height:48px;box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #b9cfd9;border-radius:10px;background:white;color:#17394d}.mobile-operation-card textarea{min-height:90px}.mobile-operation-card summary{padding:12px 0;min-height:44px;box-sizing:border-box;cursor:pointer}.mobile-operation-card a,.mobile-operation-card button{margin-top:6px}.mobile-operation-card a{display:block;padding:12px;border:1px solid #c2d8e3;border-radius:10px}.mobile-operation-card .mobile-primary{background:#087496;color:white}.mobile-input-action{display:flex;gap:8px;min-width:0}.mobile-input-action input{flex:1}.mobile-photo-action{position:relative;display:flex!important;align-items:center;justify-content:center;min-height:56px;background:#e4f5fb;border:1px dashed #42849b;border-radius:12px;padding:10px;box-sizing:border-box;overflow:hidden}.mobile-photo-action input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.mobile-photo-strip{display:flex;gap:10px;overflow-x:auto}.mobile-photo-strip img{width:110px;height:100px;object-fit:contain}.mobile-page-controls{display:flex;gap:8px;align-items:center;justify-content:space-between}.mobile-guidance{padding:12px;background:#fff2d9;border-radius:12px;color:#694914;line-height:1.5}.mobile-delivery-screen button:disabled,.mobile-quote-detail button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1024px),(pointer:coarse) and (max-height:600px){.admin-mobile-tools{margin:8px 0}.mobile-tools-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;width:100%;padding:12px 14px;border:1px solid #bdd4df;border-radius:12px;background:#edf7fc;color:#17435c;font-size:16px;font-weight:700}.admin-mobile-tools>div{padding:10px 0}.admin-action-dock{position:fixed;display:flex;bottom:calc(64px + env(safe-area-inset-bottom));left:0;right:0;z-index:80;gap:10px;padding:10px 12px;box-sizing:border-box;background:#ffffffef;border-top:1px solid #bfd5e1;backdrop-filter:blur(8px)}.admin-action-dock:empty{display:none}.admin-action-dock button{flex:1;min-width:0;min-height:48px;border:1px solid #087496;border-radius:12px;background:#087496;color:#fff;font-size:16px;font-weight:700;padding:10px;touch-action:manipulation}.admin-action-dock button.secondary{background:#edf8fc;color:#17516a}.admin-action-dock button:disabled{opacity:.5}body:has(.backdrop) .admin-action-dock,body:has([role=dialog]) .admin-action-dock,body:has(dialog[open]) .admin-action-dock{visibility:hidden}.mobile-delivery-screen .admin-action-dock{visibility:visible}body:has(.admin-scan-dialog[open]) .mobile-delivery-screen .admin-action-dock{visibility:hidden}.admin-mobile-tabs{position:fixed;bottom:0;left:0;right:0;height:calc(64px + env(safe-area-inset-bottom));box-sizing:border-box;padding:4px 6px env(safe-area-inset-bottom);display:flex;z-index:75;background:white;border-top:1px solid #c4d8e2}.admin-mobile-tabs button{flex:1;min-width:0;min-height:48px;border:0;border-radius:10px;background:white;color:#526879;font-size:12px;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center}.admin-mobile-tabs button b{font-size:22px;line-height:1}.admin-mobile-tabs button[aria-current=page]{background:#e5f5fb;color:#086d91;font-weight:800}.shell.admin-pastel-shell .quotation-admin-page{padding:10px 10px 150px!important}.quotation-admin-page .quote-list-note,.quotation-admin-page>.title button{display:none}.shell.admin-pastel-shell .quote-list-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.shell.admin-pastel-shell .quote-list-controls select{min-width:0;width:100%;font-size:16px;min-height:48px}.shell.admin-pastel-shell .mobile-quote-editor{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:0 14px 90px!important;box-sizing:border-box;overflow:auto!important;scroll-padding-top:145px}.mobile-quote-editor .modal-head{position:sticky;top:0;z-index:4;background:white;padding:12px 0!important}.mobile-quote-editor .modal-head button{min-width:48px;min-height:48px}.mobile-editor-jumps{display:flex;gap:6px;position:sticky;top:76px;background:#edf7fa;z-index:3;padding:8px 0;overflow:auto}.mobile-editor-jumps button{min-height:44px;padding:8px;border:1px solid #c3d9e2;border-radius:9px;background:white;color:#17435c;flex:1}.shell.admin-pastel-shell .mobile-quote-editor .admin-config-grid,.shell.admin-pastel-shell .mobile-quote-editor .admin-machine-grid,.shell.admin-pastel-shell .mobile-quote-editor .form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}.mobile-quote-editor fieldset{min-width:0}.mobile-quote-editor input,.mobile-quote-editor select,.mobile-quote-editor textarea{min-height:48px!important;font-size:16px!important;width:100%;min-width:0;box-sizing:border-box}.mobile-quote-editor .modal-actions{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:white;border-top:1px solid #c3d9e2}.mobile-quote-editor .modal-actions button{flex:1;min-width:0;min-height:48px;font-size:14px}.mobile-quote-editor .line.labels{display:none!important}.mobile-quote-editor .line{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;padding:12px;border:1px solid #c3d9e2;border-radius:12px}.mobile-quote-editor .line>input:first-child{grid-column:1/-1}.mobile-quote-editor .line>button{min-height:44px}.mobile-quote-editor .admin-machine-photo-grid{grid-template-columns:minmax(0,1fr)!important}body:has(.accounting-shell) .workspace-mobile-nav{height:calc(64px + env(safe-area-inset-bottom))!important;min-height:64px;box-sizing:border-box;padding:4px 6px env(safe-area-inset-bottom)!important;bottom:0!important;left:0;right:0;border-radius:0!important;gap:3px!important}.accounting-shell .workspace{max-width:100%;min-width:0}body:has(.accounting-shell) .main{padding:12px 12px 154px!important}body:has(.accounting-shell) .page-heading{margin:8px 0 14px!important;gap:10px!important}body:has(.accounting-shell) .page-heading h1{font-size:24px!important}body:has(.accounting-shell) .page-heading .heading-actions,body:has(.accounting-shell) .page-heading p,body:has(.accounting-shell) .workspace-footer{display:none!important}body:has(.accounting-shell) .toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;gap:10px!important}body:has(.accounting-shell) .toolbar>*{min-width:0!important;max-width:100%!important}body:has(.accounting-shell) input,body:has(.accounting-shell) select,body:has(.accounting-shell) textarea{font-size:16px!important;min-height:46px}body:has(.accounting-shell) .btn,body:has(.accounting-shell) .icon-btn{min-height:48px;min-width:44px}body:has(.accounting-shell) .panel{padding:12px!important;min-width:0;box-sizing:border-box}body:has(.accounting-shell) .inventory-mobile-cards,body:has(.accounting-shell) .sales-mobile-cards{display:grid!important;gap:12px}body:has(.accounting-shell) .inventory-workspace>.inventory-table,body:has(.accounting-shell) .sales-workspace>.sales-table{display:none!important}body:has(.accounting-shell) .mobile-data-card{padding:14px!important;border:1px solid #c4d9e2!important;border-radius:16px!important;background:white!important;min-width:0}body:has(.accounting-shell) .mobile-data-card h3{font-size:19px!important}body:has(.accounting-shell) .mobile-data-card .mobile-meta,body:has(.accounting-shell) .mobile-data-card dd{font-size:15px!important}body:has(.accounting-shell) .mobile-data-card footer{display:flex;gap:8px;flex-wrap:wrap}body:has(.accounting-shell) .mobile-data-card footer button{min-height:44px}body:has(.accounting-shell) .inventory-cards,body:has(.accounting-shell) .sales-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body:has(.accounting-shell) .inventory-cards strong,body:has(.accounting-shell) .sales-metrics strong{font-size:21px!important}body:has(.accounting-shell) .sales-metrics button{padding:12px!important;min-width:0}body:has(.accounting-shell) .party-workspace{display:block!important;height:auto!important;min-height:0!important}body:has(.accounting-shell) .party-directory{width:100%!important;max-width:none!important;border:0!important}body:has(.accounting-shell) .party-detail{display:none!important}body:has(.accounting-shell) .party-workspace.mobile-detail-open .party-directory{display:none!important}body:has(.accounting-shell) .party-workspace.mobile-detail-open .party-detail{display:block!important;padding:0!important}body:has(.accounting-shell) .party-list{max-height:none!important;overflow:visible!important;gap:10px}body:has(.accounting-shell) .party-list-card{min-height:88px!important;padding:15px!important;border:1px solid #c4d9e2!important;border-radius:14px!important;font-size:16px!important}.party-list-card>span{min-width:0}.party-list-card b{overflow-wrap:anywhere}body:has(.accounting-shell) .party-mobile-back{display:inline-flex!important}body:has(.accounting-shell) .party-detail-header{display:flex!important;flex-wrap:wrap!important}body:has(.accounting-shell) .party-header-actions{display:none!important}body:has(.accounting-shell) .party-profile-grid{grid-template-columns:minmax(0,1fr)!important}.party-tabs [role=tablist]{max-width:100%;overflow-x:auto}.party-tabs [role=tab]{min-height:48px!important;flex-shrink:0}body:has(.accounting-shell) .attention-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}body:has(.accounting-shell) .attention-card{padding:14px!important;min-height:0!important}body:has(.accounting-shell) .attention-card h3{font-size:17px!important}body:has(.accounting-shell) .attention-card strong{font-size:25px!important}.accounting-shell .attention-heading p{display:none}body:has(.accounting-shell) [role=dialog].detail-modal,body:has(.accounting-shell) [role=dialog].invoice-editor,body:has(.accounting-shell) [role=dialog].modal{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;inset:0!important;transform:none!important;border-radius:0!important;box-sizing:border-box;padding:18px!important;overflow:auto!important}body:has(.accounting-shell) [role=dialog] .form-grid{grid-template-columns:minmax(0,1fr)!important}body:has(.accounting-shell) [role=dialog] .form-actions{position:sticky;bottom:-18px;background:white;padding:12px 0;z-index:3}body:has(.accounting-shell) [role=dialog] .form-actions button{min-height:48px}.delivery-module .delivery-tabs{overflow-x:auto;flex-wrap:nowrap}.delivery-module .delivery-tabs button{min-height:44px;white-space:nowrap}.delivery-module .delivery-intro{padding:12px!important}.delivery-module .delivery-intro p,.delivery-module .delivery-start-guide{display:none}.delivery-module .delivery-quote{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:14px!important}.delivery-module .delivery-quote button{min-height:48px;width:100%}.delivery-module .delivery-packing-plan-list article{display:grid!important;grid-template-columns:minmax(0,1fr)!important}.delivery-module .delivery-packing-plan{padding-bottom:90px}.delivery-module .delivery-packing-plan footer{position:sticky;bottom:64px;background:white;padding:10px!important;display:block!important}.delivery-module .delivery-packing-plan footer button{width:100%;min-height:48px}.delivery-module .delivery-packing-plan footer small{display:none}}@media print{.admin-action-dock,.admin-mobile-tabs,.mobile-editor-jumps,.mobile-tools-toggle{display:none!important}}.admin-scan-dialog .scanner-modes{display:flex;gap:6px;margin-bottom:12px}.scanner-modes button{flex:1;min-width:0;padding:9px 5px}.admin-scan-dialog [aria-pressed=true]{background:#086b92;color:white;border-color:#086b92}.scanner-preview{position:relative;max-width:100%;margin:auto}.admin-scan-dialog .scanner-preview video{display:block;width:100%;height:auto;max-height:none}.scanner-preview:has(video:not([src])){min-height:0}.scanner-crop{position:absolute;left:10%;top:32.5%;width:80%;height:35%;box-sizing:border-box;border:3px solid #35efba;box-shadow:0 0 0 1px #123f50;pointer-events:none}.scanner-captured{display:block;max-width:100%;max-height:24dvh;object-fit:contain;margin:auto}.scanner-actions,.scanner-candidates{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.scanner-actions>button,.scanner-actions>label{flex:1 1 130px}.admin-scan-dialog .scanner-actions label{margin:0}.scanner-candidates button{max-width:100%;overflow-wrap:anywhere}.admin-scan-dialog button{touch-action:manipulation;cursor:pointer}.admin-scan-dialog button:disabled{opacity:.5;cursor:default}.admin-scan-dialog footer{position:sticky;bottom:-18px;background:white;padding:12px 0}.admin-scan-dialog footer button{flex:1}