@media screen{.shop-topbar{min-height:76px;padding-inline:clamp(12px,2.5vw,36px);background:var(--surface);backdrop-filter:none}.page-heading h1{font-size:1.875rem;font-weight:500}.detail-card,.stage-pipeline,.stat-card{border-color:var(--line);border-radius:var(--radius-lg)}.dashboard-side .dashboard-card{padding:20px}.card-title-row h2,.order-section-head h2{font-weight:600}.order-head{gap:20px;margin-bottom:26px}.order-table-wrap{border-inline:0;border-radius:0}.order-table{min-width:1000px}.order-table th{padding-block:14px;background:var(--surface-2)}.order-table td{padding-block:16px}.order-table .field{height:40px}.order-row-detail{min-height:40px}.order-table tbody tr:hover{background:var(--surface-2)}.order-table-wrap:focus-within{outline:2px solid var(--accent-soft);outline-offset:2px}.order-drawer{border-left:1px solid var(--line)}.auth-card h1{font-weight:500}.order-table-hint,.shop-menu-backdrop{display:none}dialog.order-drawer-backdrop{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:0;color:var(--ink)}dialog.order-drawer-backdrop::backdrop{background:transparent}html:has(.order-drawer-backdrop[open]){overflow:hidden}.print-document{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}}@media screen and (max-width:1180px){.side-nav{inset-block-start:76px;height:calc(100dvh - 76px);overscroll-behavior:contain}.shop-shell:after{display:none}.shop-menu-backdrop{display:block;position:fixed;inset:76px 0 0;z-index:35;border:0;background:rgb(15 23 42/38%)}html[data-shop-menu=open]{overflow:hidden}.side-link{min-height:44px}}@media screen and (min-width:1200px){.order-layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px}.order-layout>.space-y-4{display:contents}.order-layout>.space-y-4>.detail-card{margin-block:0}.order-layout>.space-y-4>.detail-card:first-child{grid-column:1;grid-row:1}.order-layout>.space-y-4>.detail-card:nth-child(2){grid-column:1/-1;grid-row:2}.order-layout>.order-rail{grid-column:2;grid-row:1;position:static;gap:20px}.order-layout .order-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:640px){.shop-topbar{min-height:64px;gap:8px;padding:10px 12px}.shop-topbar-title{flex:1}.shop-topbar-title h1{font-size:16px}body:has(.garment-template-page) .shop-topbar-title h1{overflow:visible;line-height:1.4;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.shop-menu-backdrop,.side-nav{inset-block-start:64px}.side-nav{height:calc(100dvh - 64px);padding-bottom:calc(20px + env(safe-area-inset-bottom))}.app-shell{padding-top:16px}.page-heading{gap:12px}.page-heading>.button-primary,.page-heading>.button-secondary{width:100%}.detail-card{padding:16px}main:has(>.auth-card){padding:24px 12px}.auth-card{min-width:0;padding:16px}.inline-form>label{flex:1 1 100%;min-width:0}.inline-form .field{width:100%;min-width:0}.table-row>*{min-width:0;overflow-wrap:anywhere}.production-filters{flex-wrap:wrap;width:100%}.production-filters label{flex:1 1 100%;min-width:0}.production-filters .field{flex:1;min-width:0}.field,input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]),select,textarea{font-size:max(16px,1em)}.button-primary,.button-secondary,.field:not(textarea),.icon-button{min-height:44px}.icon-button,.icon-button-sm{min-width:44px;min-height:44px}.order-head{margin-bottom:20px}.app-shell:has(.order-head){padding-bottom:calc(150px + env(safe-area-inset-bottom))}.order-head>.inline-form{position:fixed;inset:auto 0 0;z-index:45;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;border-top:1px solid var(--line);background:var(--surface);padding:10px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px rgb(15 23 42/5%)}.order-head>.inline-form>span{grid-column:1/-1;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.order-head>.inline-form>button:last-child{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}body:has(.order-head) .app-version{bottom:calc(110px + env(safe-area-inset-bottom))}body:has(.order-head) .web-reminders{bottom:calc(110px + env(safe-area-inset-bottom))}body:has(.worker-mobile-nav) .web-reminders{bottom:calc(100px + env(safe-area-inset-bottom))}.order-layout{gap:20px}.order-section-head{gap:8px}.order-section-head>.ml-auto{display:none}.order-table-hint{display:block;margin-bottom:12px;font-size:12px}.order-table td:nth-child(2),.order-table th:nth-child(2){position:sticky;left:0;z-index:1;border-right:1px solid var(--line);background:var(--surface)}.order-table th:nth-child(2){z-index:2;background:var(--surface-2)}.order-table col:nth-child(2){width:136px}.order-table col:nth-child(3){width:80px}.order-table col:nth-child(4){width:136px}.order-table col:nth-child(7){width:100px}.order-table col:nth-child(9){width:108px}.order-row-actions button{flex:none;width:44px;height:44px}.order-row-detail,.order-table .field{min-height:44px}.order-table .field{font-size:max(16px,1em)}.order-table td{padding-block:12px}.order-table-actions>button,.order-table-actions>label{min-height:44px}.order-table-actions .order-copy-count{width:64px}.order-drawer{width:100%;padding:0 16px calc(16px + env(safe-area-inset-bottom));overscroll-behavior:contain}.order-drawer-header{position:sticky;top:0;z-index:2;border-bottom:1px solid var(--line);background:var(--surface);padding-block:16px}.order-drawer-actions{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);padding-block:12px calc(12px + env(safe-area-inset-bottom))}.order-modal{width:100%;max-height:100dvh;border-radius:0;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}}.order-entry-layout>.order-rail{position:static}.order-entered-roster{max-height:32rem;overflow-y:auto}@media screen and (min-width:1200px){.order-entry-layout>.space-y-4>.detail-card:nth-child(2){grid-column:1}.order-entry-layout>.order-rail{grid-row:1/span 2}}.order-entry-layout .order-table-wrap:has(.order-empty) .order-table{display:none}.order-section-save{margin-left:auto;min-height:44px}