:root{--header-height:64px;--content-padding:clamp(12px, 2vw, 28px);--layout-gap:clamp(12px, 1.5vw, 20px);--card-shadow:0 8px 24px #0f172a12;--operational-card-radius:8px;--operational-card-padding-x:12px;--operational-card-padding-y:10px;--operational-input-height:38px;--operational-button-height:34px;--operational-field-gap:8px;--operational-section-gap:10px}*{box-sizing:border-box}html{overscroll-behavior-x:none;text-size-adjust:100%;background:#eef2f5;width:100%;min-width:0;max-width:100%;overflow-x:clip}body{color:#0f172a;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef2f5;width:100%;min-width:0;max-width:100%;margin:0;font-family:Roboto,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;overflow-x:clip}#root{width:100%;min-width:0;max-width:100%;min-height:100vh;overflow-x:clip}a{color:inherit;text-decoration:none}.app-shell{width:100%;min-width:0;max-width:100%;min-height:100vh;display:flex;overflow-x:clip}.app-content{width:100%;min-width:0;max-width:100%;padding:var(--content-padding);margin-top:var(--header-height);flex:auto;overflow-x:hidden}.app-content>*{min-width:0;max-width:100%}.app-content .MuiGrid-item{min-width:0}.app-content .MuiTableContainer-root,.app-content .MuiTabs-root{max-width:100%}@media (width<=900px) and (pointer:coarse){body .MuiInputBase-root .MuiInputBase-input,body .MuiInputBase-root .MuiSelect-select{font-size:16px!important}}.hero-grid{gap:var(--layout-gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:stretch;display:grid}.card-grid,.fluid-card-grid{gap:var(--layout-gap);grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));align-items:stretch;display:grid}.fluid-card-grid>*{min-width:0;height:100%}.order-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}.page-section{width:100%;min-width:0}.page-header,.filter-bar{margin-bottom:16px}.filter-bar .MuiFormControl-root{min-width:min(180px,100%)}.standard-page-header{background:#fff;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:16px;padding:14px 16px;display:grid;box-shadow:0 6px 18px #0f172a0b;border-color:#94a3b83d!important;border-radius:16px!important}.standard-page-header__icon{width:42px!important;height:42px!important;color:var(--page-header-icon-color,#007c8c)!important;background:#00bcd421!important}.standard-page-header__eyebrow{color:#64748b;display:block;line-height:1.1!important}.standard-page-header__title{letter-spacing:-.01em!important;font-size:clamp(1.2rem,2.2vw,1.55rem)!important;font-weight:800!important;line-height:1.2!important}.standard-page-header__subtitle{margin-top:2px!important;line-height:1.35!important}.standard-page-header__actions{min-width:0}.standard-page-header__actions>.MuiStack-root{flex-wrap:wrap;justify-content:flex-end}.section-title{letter-spacing:.2px;margin:24px 0 12px;font-weight:600}.new-sale-page{--new-sale-gap:10px;margin-top:-6px}.order-workspace{gap:var(--new-sale-gap);flex-direction:column;min-width:0;display:flex}.order-workspace__topbar{justify-content:space-between;align-items:center;gap:var(--new-sale-gap);background:#fff;border:1px solid #94a3b838;border-radius:8px;padding:10px 12px;display:flex;box-shadow:0 4px 14px #0f172a0d}.order-workspace__title{flex-direction:column;gap:6px;min-width:190px;display:flex}.order-workspace__title h1{letter-spacing:0;margin:0;font-size:1.2rem;font-weight:800;line-height:1.15}.order-workspace__grid{gap:var(--new-sale-gap);grid-template-columns:minmax(220px,248px) minmax(0,1fr);align-items:start;min-width:0;display:grid}.order-workspace__cart{top:calc(var(--header-height) + 10px);min-width:0;position:sticky}.new-sale-page .order-compact-card{box-shadow:none!important;border-radius:8px!important}.new-sale-page .order-compact-card .MuiCardContent-root{padding:10px 12px}.new-sale-page .order-compact-card .MuiCardContent-root:last-child{padding-bottom:10px}.lens-grade-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.lens-grade-row .MuiTextField-root{min-width:0}.lens-grade-row .MuiInputBase-root{min-height:38px}.lens-grade-row .MuiInputBase-input{text-align:center;min-width:0;padding:8px 1px 8px 3px;font-size:.74rem}.lens-grade-row .MuiInputLabel-root{font-size:.74rem}.lens-grade-row .MuiInputLabel-shrink{font-size:.68rem}.lens-grade-row .prescription-degree-stepper{flex:0 0 16px;width:16px;min-width:16px;margin-right:-2px;display:flex;margin-left:0!important}.lens-grade-row .prescription-degree-stepper-button{width:16px!important;height:14px!important;padding:0!important}.lens-grade-row .prescription-degree-stepper-button .MuiSvgIcon-root{font-size:14px!important}@media (width<=720px){.purchase-entry-page .standard-page-header{grid-template-columns:minmax(0,1fr) auto;align-items:center}.purchase-entry-page .standard-page-header__actions{width:auto}.purchase-entry-page .purchase-entry-header-actions{flex-wrap:nowrap;justify-content:flex-end}.purchase-entry-page .standard-page-header__actions .MuiButton-root{flex:0 0 40px;width:40px;min-width:40px}.lens-grade-row .MuiInputBase-root{min-height:38px}.lens-grade-row .MuiInputBase-input{padding:9px 2px 9px 4px;font-size:.76rem}.lens-grade-row .MuiInputLabel-root{font-size:.66rem}.lens-grade-row .MuiInputLabel-shrink{font-size:.6rem}}.order-flow-grid{gap:var(--new-sale-gap);grid-template-columns:minmax(0,1fr) minmax(290px,310px);grid-template-areas:"main side";align-items:start;min-width:0;display:grid}.order-flow-grid__main{gap:var(--new-sale-gap);flex-direction:column;grid-area:main;min-width:0;display:flex}.order-flow-grid__side{gap:var(--new-sale-gap);flex-direction:column;grid-area:side;min-width:0;display:flex}.order-flow-grid--new{grid-template-columns:minmax(0,1fr) minmax(440px,460px)}.order-flow-grid--new .order-flow-grid__side{gap:8px}.order-flow-grid--new .order-flow-grid__notes .MuiInputBase-root{min-height:64px}.order-flow-grid--new .order-payment-form{grid-template-columns:minmax(0,1fr) minmax(112px,.62fr)}.order-flow-grid--new .order-payment-form__method,.order-flow-grid--new .order-payment-form__date{grid-column:1}.order-flow-grid--new .order-payment-form__value,.order-flow-grid--new .order-payment-form__button{grid-column:2}.order-prescription-measurement__search--mobile{display:none!important}.order-delivery-fields{grid-template-columns:minmax(130px,.75fr) minmax(190px,1.25fr);gap:7px;min-width:0;display:grid}.order-cart-card__title{font-weight:800!important}.order-cart-card__actions .MuiButton-root{min-height:30px;padding-inline:8px;font-size:.78rem}.order-cart-sale{background:#fbfdff;border-radius:8px!important}.order-cart-sale__client{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;display:block;overflow:hidden}.order-status-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.order-status-chip{background:#f8fafc;border:1px solid #94a3b83d;border-radius:8px;min-width:0;padding:6px 8px}.order-status-chip .MuiTypography-body2{text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.15;overflow:hidden}.order-status-controls-grid{grid-template-columns:minmax(100px,.8fr) minmax(155px,1.2fr);gap:7px;display:grid}.order-status-controls-grid>.MuiFormControl-root:first-child{grid-column:1/-1}.order-payment-form{grid-template-columns:minmax(130px,1fr) 110px 132px auto;align-items:stretch;gap:7px;display:grid}.order-payment-form--compact{grid-template-columns:minmax(122px,1fr) 96px}.order-payment-form--compact .order-payment-form__date{min-width:0}.order-payment-form__button{white-space:nowrap}@media (width>=981px){.order-flow-grid--new .order-payment-form--compact{grid-template-columns:minmax(108px,1fr) minmax(74px,.6fr) minmax(148px,1.05fr) 38px}.order-flow-grid--new .order-payment-form--compact>*{grid-column:auto;min-width:0}.order-flow-grid--new .order-payment-form__button{width:38px;min-width:38px;padding-inline:0;font-size:1.2rem}}@media (width>=601px){.new-sale-page .prescription-eye-row{gap:4px!important}.new-sale-page .prescription-eye-row .MuiTextField-root{min-width:0}.new-sale-page .prescription-eye-row .MuiInputBase-input{text-align:center;min-width:0;padding:8px 1px 8px 3px;font-size:.74rem}.new-sale-page .prescription-eye-row .MuiInputLabel-root{font-size:.74rem}.new-sale-page .prescription-eye-row .MuiInputLabel-shrink{font-size:.68rem}.new-sale-page .prescription-degree-stepper{flex:0 0 16px;width:16px;min-width:16px;margin-right:-2px;display:flex;margin-left:0!important}.new-sale-page .prescription-degree-stepper-button{width:16px!important;height:14px!important;padding:0!important}.new-sale-page .prescription-degree-stepper-button .MuiSvgIcon-root{font-size:14px!important}}@media (width<=720px){:root{--header-height:56px}.app-content{padding:12px 12px max(88px, calc(env(safe-area-inset-bottom) + 80px))}.fluid-card-grid,.order-card-grid{grid-template-columns:minmax(0,1fr)}.app-content .MuiChip-clickable{min-height:36px}.standard-page-header{grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:12px;padding:10px 12px;border-radius:13px!important}.standard-page-header__icon{width:36px!important;height:36px!important}.standard-page-header__eyebrow,.standard-page-header__subtitle{display:none}.standard-page-header__title{font-size:1.12rem!important}.standard-page-header__actions>.MuiStack-root{justify-content:flex-start;gap:8px}.standard-page-header__actions .MuiButton-root{flex:auto;min-height:40px}.filter-chip-strip{scrollbar-width:none;overscroll-behavior-inline:contain;padding:1px 1px 4px;overflow-x:auto;flex-wrap:nowrap!important}.filter-chip-strip::-webkit-scrollbar{display:none}.filter-chip-strip .MuiChip-root{flex:none;min-height:34px}.settings-page{min-width:0;overflow:hidden}.settings-page .MuiCard-root,.settings-page .MuiCardContent-root,.settings-page .MuiStack-root,.settings-page .MuiFormControl-root,.settings-page .MuiTextField-root{min-width:0;max-width:100%}.settings-page .MuiGrid-container{gap:12px;width:100%;margin:0}.settings-page .MuiGrid-item{flex-basis:100%;max-width:100%;padding:0!important}.settings-page .MuiOutlinedInput-input,.settings-page .MuiSelect-select{min-width:0}}@media (width<=980px){.order-workspace__topbar{flex-direction:column;align-items:stretch}.order-workspace__grid{grid-template-columns:minmax(0,1fr)}.order-workspace__cart{position:static}.order-flow-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.65fr);grid-template-areas:"main side"}.order-flow-grid--new{grid-template-columns:minmax(0,1fr) minmax(380px,.85fr)}}@media (width<=600px){.new-sale-page{margin-top:-2px}.order-workspace__topbar{padding:9px}.order-workspace__title{min-width:0}.order-workspace__title h1{font-size:1.08rem}.order-workspace__grid{gap:8px}.order-flow-grid,.order-flow-grid--quick{grid-template-columns:minmax(0,1fr);grid-template-areas:"main""side";gap:8px}.order-flow-grid--new{grid-template-areas:"main""side"}.order-flow-grid__main,.order-flow-grid__side{gap:8px}.order-cart-card .MuiCardContent-root{padding:8px 9px}.order-cart-card__actions{gap:5px!important}.order-cart-card__actions .MuiButton-root{min-width:0;padding-inline:7px}.order-cart-card__actions .MuiButton-startIcon{display:none}.order-cart-sale{padding:6px 8px!important}.order-cart-card--new .order-cart-list{scroll-snap-type:x mandatory;scrollbar-width:none;padding:1px 1px 4px;overflow-x:auto;flex-direction:row!important;gap:8px!important;display:flex!important}.order-cart-card--new .order-cart-list::-webkit-scrollbar{display:none}.order-cart-card--new .order-cart-list>.order-cart-sale{scroll-snap-align:start;flex:0 0 min(76vw,250px)}.order-cart-sale__client,.order-cart-sale__status{display:none!important}.order-status-controls-grid{grid-template-columns:minmax(0,1fr)}.order-delivery-fields{grid-template-columns:minmax(118px,.72fr) minmax(180px,1.28fr)}.order-payment-form,.order-payment-form--compact{grid-template-columns:minmax(0,1fr) minmax(92px,.55fr)}.order-payment-form__method,.order-payment-form__date{grid-column:1/-1}.order-actions-panel--new{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"back seller""cancel confirm""fiscal print";display:grid!important}.order-actions-panel--new .order-actions-panel__seller.MuiFormControl-root{grid-area:seller;width:100%;min-width:0!important}.order-actions-panel--new .order-actions-panel__back.MuiButton-root{grid-area:back;width:100%}.order-actions-panel--new .order-actions-panel__cancel.MuiButton-root{grid-area:cancel;width:100%}.order-actions-panel--new .order-actions-panel__confirm.MuiButton-root{grid-area:confirm;width:100%}.order-actions-panel--new .order-actions-panel__fiscal{grid-area:fiscal;width:100%}.order-actions-panel--new .order-actions-panel__print{grid-area:print;width:100%}.order-actions-panel--new .MuiButtonGroup-root>.MuiButtonGroup-grouped:first-of-type{flex:auto}.order-items-actions{width:100%}.order-items-actions>.MuiButton-root{flex:1 1 0;min-width:0}.new-sale-page .order-prescription-measurements{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"dnp-far dnp-near""height.";align-items:start;width:100%;gap:8px!important;display:grid!important}.new-sale-page .order-prescription-measurements>:not(style)~:not(style){margin:0!important}.new-sale-page .order-prescription-measurement:first-child{grid-area:dnp-far}.new-sale-page .order-prescription-measurement:nth-child(2){grid-area:dnp-near}.new-sale-page .order-prescription-measurement:nth-child(3){grid-area:height}.new-sale-page .order-prescription-measurement{width:100%;min-width:0}.new-sale-page .order-prescription-measurement__header{min-height:30px}.new-sale-page .order-prescription-measurement__fields{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-width:0;gap:4px!important;display:grid!important}.new-sale-page .order-prescription-measurement__fields>:not(style)~:not(style){margin:0!important}.new-sale-page .order-prescription-measurement__fields .MuiTextField-root{min-width:0;max-width:none}.new-sale-page .order-prescription-measurement__fields .MuiInputBase-input{text-align:center;padding-inline:4px}.new-sale-page .order-prescription-measurement__search--mobile{width:28px;height:28px;padding:3px;display:inline-flex!important}.new-sale-page .order-prescription-measurement__search--desktop{display:none!important}.new-sale-page .order-prescription-details .prescription-eye-row{gap:4px!important}.new-sale-page .prescription-eye-row .MuiTextField-root{min-width:0}.new-sale-page .prescription-eye-row .MuiInputBase-root{min-height:38px}.new-sale-page .prescription-eye-row .MuiInputBase-input{text-align:center;min-width:0;padding:9px 2px 9px 4px;font-size:.76rem}.new-sale-page .prescription-eye-row .MuiInputLabel-root{font-size:.66rem}.new-sale-page .prescription-eye-row .MuiInputLabel-shrink{font-size:.6rem}.new-sale-page .prescription-degree-stepper{width:16px;min-width:16px;margin-right:-2px;display:flex;margin-left:0!important}.new-sale-page .prescription-degree-stepper-button{width:16px!important;height:14px!important;padding:0!important}.new-sale-page .prescription-degree-stepper-button .MuiSvgIcon-root{font-size:14px!important}.new-sale-page .MuiButton-root{min-height:38px}.page-header{gap:10px;align-items:stretch!important}.page-header .MuiTypography-root{text-align:left}.page-header>.MuiButton-root,.page-header>.MuiStack-root .MuiButton-root{width:100%}.filter-bar{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:8px;align-items:stretch!important;display:grid!important}.filter-bar>:not(style)~:not(style){margin:0!important}.filter-bar>*,.filter-bar .MuiFormControl-root,.filter-bar .MuiTextField-root,.filter-bar .MuiButton-root{width:100%;max-width:none}.filter-bar .MuiSelect-select,.filter-bar .MuiInputBase-input{font-size:.875rem}.filter-bar .MuiButton-root{min-height:40px;padding-inline:8px}.compact-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch!important;width:100%!important;margin:0!important;display:grid!important}.compact-filter-grid>:not(style)~:not(style){margin:0!important}.compact-filter-grid>*,.compact-filter-grid>.MuiGrid-item{flex-basis:auto;min-width:0;max-width:100%;width:auto!important;padding:0!important}.compact-filter-grid .MuiFormControl-root,.compact-filter-grid .MuiTextField-root,.compact-filter-grid .MuiButton-root{width:100%;min-width:0;max-width:100%}.compact-filter-grid .MuiButton-root{min-height:40px;padding-inline:8px}}
