:root{color-scheme:light;--font-ui: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;--font-display: "Iowan Old Style", "Palatino Linotype", serif;--bg: #f3f3f1;--bg-strong: #fbfbf9;--surface: rgba(255, 255, 255, .94);--surface-strong: rgba(255, 255, 255, .985);--surface-soft: rgba(250, 250, 248, .9);--line: rgba(17, 17, 17, .08);--line-strong: rgba(17, 17, 17, .14);--text: #171717;--text-soft: rgba(23, 23, 23, .72);--text-faint: rgba(23, 23, 23, .52);--accent: #111111;--accent-soft: rgba(17, 17, 17, .045);--accent-strong: #222222;--good: #227a46;--warn: #bd7a1b;--danger: #b13d2f;--good-soft: rgba(34, 122, 70, .12);--warn-soft: rgba(189, 122, 27, .12);--danger-soft: rgba(177, 61, 47, .12);--shadow: 0 18px 40px rgba(17, 17, 17, .08);--shadow-soft: 0 10px 24px rgba(17, 17, 17, .04)}:root[data-theme=dark]{color-scheme:dark;--bg: #141414;--bg-strong: #1b1b1b;--surface: rgba(28, 28, 28, .96);--surface-strong: rgba(32, 32, 32, .985);--surface-soft: rgba(255, 255, 255, .025);--line: rgba(255, 255, 255, .08);--line-strong: rgba(255, 255, 255, .13);--text: #f2f2ef;--text-soft: rgba(242, 242, 239, .78);--text-faint: rgba(242, 242, 239, .5);--accent: #f5f5f2;--accent-soft: rgba(255, 255, 255, .055);--accent-strong: #ffffff;--good: #75c48f;--warn: #e1b660;--danger: #ea8478;--good-soft: rgba(117, 196, 143, .14);--warn-soft: rgba(225, 182, 96, .14);--danger-soft: rgba(234, 132, 120, .14);--shadow: 0 18px 40px rgba(0, 0, 0, .34);--shadow-soft: 0 10px 24px rgba(0, 0, 0, .2)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:var(--font-ui);color:var(--text);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.mobile-nav{display:none}.sidebar{position:sticky;top:0;display:flex;min-height:100vh;flex-direction:column;gap:2rem;padding:1.65rem 1rem 1.1rem;border-right:1px solid var(--line);background:var(--surface-strong)}.brand-lockup{display:flex;align-items:center;gap:.8rem}.brand-copy{min-width:0}.brand-mark{display:grid;width:2.75rem;height:2.75rem;flex:0 0 auto;place-items:center;border:1px solid var(--line-strong);border-radius:.85rem;background:var(--surface-strong);color:var(--text);font-weight:800;letter-spacing:.1em}:root[data-theme=dark] .brand-mark{background:#ffffff14}.eyebrow{display:inline-flex;margin-bottom:.32rem;color:var(--text-faint);font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.nav-stack{display:grid;gap:.4rem}.nav-link{display:inline-flex;align-items:center;gap:.8rem;border:1px solid transparent;border-radius:1rem;padding:.88rem .95rem;color:var(--text-soft);transition:background .18s ease,border-color .18s ease,color .18s ease}.nav-link:hover,.nav-link-active{border-color:var(--line);background:var(--surface-soft);color:var(--text)}.nav-icon{display:inline-flex;width:1.1rem;height:1.1rem;flex:0 0 auto;align-items:center;justify-content:center}.nav-icon svg,.icon-button svg,.icon-action svg{width:100%;height:100%}.sidebar-footer{margin-top:auto}.main-column{display:flex;flex-direction:column;gap:.9rem;padding:1rem}.topbar{display:flex;position:sticky;top:.85rem;z-index:30;justify-content:space-between;align-items:center;gap:clamp(.5rem,.9vw,.9rem);min-height:3.15rem;border:1px solid var(--line);border-radius:1rem;padding:.44rem clamp(.7rem,1vw,.9rem);background:color-mix(in srgb,var(--surface-strong) 97%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none;flex-wrap:nowrap}.topbar-primary{flex:1 1 auto;min-width:0}.topbar-context{display:flex;align-items:baseline;gap:.65rem;min-width:0}.topbar-title,.topbar-context strong{font-size:1.15rem;line-height:1.1}.topbar-subtitle,.topbar-context p{margin:0;color:var(--text-faint);font-size:.82rem;line-height:1.3;max-width:32rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.topbar-actions,.pill-row,.action-row,.list-card-actions,.section-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.topbar-session{justify-content:flex-end;flex:0 1 auto;min-width:0;flex-wrap:nowrap}.content-frame{min-width:0;max-width:96rem}.user-chip{display:flex;align-items:center;gap:.7rem;border:1px solid var(--line);border-radius:999px;padding:.45rem .7rem;background:var(--surface)}.topbar-user-card{min-width:0}.user-avatar{display:grid;width:2.2rem;height:2.2rem;flex:0 0 auto;place-items:center;border-radius:999px;background:var(--accent);color:var(--bg-strong);font-weight:800;overflow:hidden}.user-avatar-image{width:100%;height:100%;object-fit:cover}.user-chip strong,.user-chip p{display:block;max-width:15rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-chip p{margin:.05rem 0 0;color:var(--text-faint);font-size:.82rem}.status-chip{display:inline-flex;min-width:8.2rem;align-items:center;gap:.55rem;border:1px solid var(--line);border-radius:999px;padding:.45rem .75rem;background:var(--surface)}.status-indicator{display:inline-flex;width:1rem;height:1rem;flex:0 0 auto;align-items:center;justify-content:center}.status-dot{width:.55rem;height:.55rem;border-radius:999px;background:currentColor;box-shadow:0 0 0 .22rem color-mix(in srgb,currentColor 16%,transparent)}.status-copy{display:grid;gap:.04rem;line-height:1.2}.status-copy strong{font-size:.85rem}.status-copy span{color:var(--text-faint);font-size:.74rem;font-weight:600}.status-good{color:var(--good)}.status-neutral{color:var(--text-soft)}.status-warn{color:var(--warn)}.status-danger{color:var(--danger)}.user-menu-shell{position:relative;flex:0 0 auto}.user-menu-trigger{display:inline-flex;max-width:min(22rem,40vw);align-items:center;gap:.65rem;border:1px solid var(--line);border-radius:999px;padding:.36rem .5rem .36rem .36rem;background:var(--surface-strong);color:var(--text)}.user-menu-trigger:hover,.user-menu-trigger-open{border-color:var(--line-strong);background:var(--surface-strong)}.user-menu-avatar{width:2rem;height:2rem}.user-menu-copy{display:grid;min-width:0;gap:.02rem;text-align:left}.user-menu-copy strong,.user-menu-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-copy strong{font-size:.92rem;line-height:1.2}.user-menu-copy span{color:var(--text-faint);font-size:.76rem;line-height:1.2}.user-menu-chevron{display:inline-flex;width:1rem;height:1rem;flex:0 0 auto;color:var(--text-faint)}.user-menu-chevron svg{width:100%;height:100%}.user-menu-panel{position:absolute;top:calc(100% + .5rem);right:0;z-index:35;display:grid;width:clamp(15rem,24vw,18rem);gap:.75rem;border:1px solid var(--line);border-radius:1rem;padding:.8rem;background:color-mix(in srgb,var(--surface-strong) 99%,transparent);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.user-menu-section{display:grid;gap:.45rem}.user-menu-section+.user-menu-section{padding-top:.75rem;border-top:1px solid var(--line)}.user-menu-label{color:var(--text-faint);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.user-menu-section strong,.user-menu-section p{margin:0}.user-menu-section p{color:var(--text-faint);font-size:.82rem}.menu-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.menu-option-button{border:1px solid var(--line);border-radius:.8rem;padding:.58rem .72rem;background:var(--surface);color:var(--text-soft)}.menu-option-button-active{border-color:var(--line-strong);background:var(--accent-soft);color:var(--text);font-weight:700}.user-menu-logout{width:100%;justify-content:center}.icon-button,.icon-action{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--surface-strong);color:var(--text);transition:transform .18s ease,border-color .18s ease,background .18s ease}.icon-button{width:2.75rem;height:2.75rem;border-radius:999px}.icon-action{width:2.45rem;height:2.45rem;border-radius:.95rem}.icon-action svg{width:1rem;height:1rem}.icon-button:hover,.icon-button-active,.icon-action:hover{transform:translateY(-1px);border-color:var(--line-strong);background:var(--accent-soft)}.button-primary,.button-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:1rem;padding:.82rem 1rem;border:1px solid transparent;transition:transform .18s ease,border-color .18s ease,background .18s ease,opacity .18s ease}.button-primary svg,.button-secondary svg{width:1rem;height:1rem;flex:0 0 auto}.button-primary{background:var(--accent);color:var(--bg-strong);box-shadow:none}.button-secondary{background:var(--surface-strong);border-color:var(--line);color:var(--text)}.button-danger{border-color:color-mix(in srgb,var(--danger) 28%,transparent);color:var(--danger)}.button-secondary-active{border-color:var(--line-strong);background:var(--accent-soft);font-weight:700}.button-secondary-compact{padding:.66rem .9rem;border-radius:.9rem}.button-primary:hover,.button-secondary:hover{transform:translateY(-1px)}.button-secondary:disabled{cursor:not-allowed;opacity:.58;transform:none}.button-primary:disabled{cursor:wait;opacity:.58;transform:none}.pill{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:.42rem .72rem;background:var(--surface-soft);color:var(--text-soft);font-size:.8rem;font-weight:700}.pill-good{border-color:color-mix(in srgb,var(--good) 28%,transparent);background:var(--good-soft);color:var(--good)}.pill-warn{border-color:color-mix(in srgb,var(--warn) 28%,transparent);background:var(--warn-soft);color:var(--warn)}.pill-button{background:transparent}.page-stack{display:grid;gap:.95rem}.orders-summary-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(17rem,max-content);align-items:stretch;gap:.7rem;overflow-x:auto;padding-bottom:.1rem;scrollbar-width:none}.orders-summary-grid::-webkit-scrollbar{display:none}.orders-overview-panel{gap:0;padding:.72rem .8rem}.summary-card{display:grid;gap:.32rem;width:100%;min-width:0;border:1px solid var(--line);border-radius:.95rem;min-height:0;padding:.72rem .8rem;background:var(--surface-soft)}.summary-card-wide{min-width:clamp(18rem,28vw,24rem)}.summary-total-heading{display:inline-flex;align-items:baseline;gap:.45rem;margin-bottom:.08rem}.summary-total-heading strong{font-size:1.35rem;line-height:1}.summary-total-heading span{color:var(--text-faint);font-size:.78rem}.summary-inline-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem}.summary-inline-grid-auto{grid-template-columns:repeat(auto-fit,minmax(4.5rem,1fr))}.summary-inline-grid-wide{grid-template-columns:repeat(7,minmax(0,1fr))}.summary-day{display:flex;flex-direction:column;gap:.05rem;justify-items:start}.summary-day strong,.summary-totals strong,.summary-list-row strong{font-size:.95rem;line-height:1}.summary-day span,.summary-totals span,.summary-list-row span{color:var(--text-faint);font-size:.7rem}.summary-day small{color:var(--text-faint);font-size:.62rem}.summary-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.summary-totals-triple{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-totals div{display:grid;gap:.05rem}.summary-list{display:grid;gap:.28rem}.summary-list-row{display:flex;align-items:center;justify-content:space-between;gap:.45rem}.summary-list-row-icon{align-items:center}.summary-item-kind{display:inline-flex;align-items:center;gap:.3rem}.summary-card+.summary-card{padding-left:.8rem}.summary-item-icon,.item-badge-icon{display:inline-flex;width:.95rem;height:.95rem;align-items:center;justify-content:center}.summary-item-icon svg,.item-badge-icon svg{width:100%;height:100%}.orders-filter-bar{display:flex;align-items:center;gap:.6rem;flex-wrap:nowrap;overflow-x:auto;padding-bottom:.05rem;scrollbar-width:none}.orders-filter-bar::-webkit-scrollbar{display:none}.orders-toolbar{display:block;border:1px solid var(--line);border-radius:1rem;padding:.6rem;background:var(--surface-soft)}.orders-filter-inline{min-width:0;flex:0 0 auto}.orders-filter-inline span,.orders-filter-label{display:none}.orders-filter-chip{display:inline-flex;align-items:center;min-height:2.7rem}.orders-filter-select select{min-width:10.5rem}.orders-list-header{align-items:center}.orders-status-row{gap:.5rem;flex-wrap:nowrap;min-width:0}.orders-query-field{min-width:0;flex:0 0 clamp(15rem,28vw,23rem)}.orders-toolbar-action{display:flex;flex:0 0 auto;margin-left:auto;justify-content:flex-end}.orders-toolbar-action>.button-primary,.orders-toolbar-action>.button-secondary{width:auto}.orders-table-shell{overflow:auto;border:1px solid var(--line);border-radius:1rem;background:var(--surface-strong)}.orders-table{width:100%;min-width:880px;border-collapse:collapse}.orders-table th,.orders-table td{padding:.8rem .85rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap}.orders-table th{position:sticky;top:0;z-index:2;background:color-mix(in srgb,var(--surface-strong) 99%,transparent);color:var(--text-faint);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.table-sort-button{display:inline-flex;align-items:center;gap:.3rem;border:0;padding:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}.table-sort-button span{color:var(--text-faint);font-size:.7rem}.table-sort-button-active,.table-sort-button:hover{color:var(--text)}.orders-table tbody tr:last-child td{border-bottom:0}.orders-table tbody tr:hover,.orders-row-active{background:color-mix(in srgb,var(--surface-strong) 88%,var(--accent) 12%)}.row-clickable{cursor:pointer}.table-link-button{display:inline-flex;border:0;padding:0;background:transparent;color:inherit;text-align:left}.table-link-button span,.table-cell-stack span,.table-cell-muted,.table-link{color:var(--text-faint);font-size:.84rem;line-height:1.25}.table-cell-stack{display:grid;gap:.18rem}.table-customer-cell{display:inline-flex;align-items:center;gap:.55rem}.customers-table{min-width:0;table-layout:fixed}.customers-table th,.customers-table td{white-space:normal}.customers-table th:nth-child(1),.customers-table td:nth-child(1){width:30%}.customers-table th:nth-child(2),.customers-table td:nth-child(2){width:52%}.customers-table th:nth-child(3),.customers-table td:nth-child(3){width:18%}.customers-table th:last-child,.customers-table td:last-child{text-align:center}.customers-table .table-link-button,.customers-table .table-link-button strong{display:block;width:100%}.customers-table .table-customer-cell{display:grid;gap:.28rem;align-items:start}.customers-table .table-link{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;word-break:break-word}.table-category-pill{display:inline-flex;align-items:center;gap:.45rem;color:var(--text-soft);font-size:.88rem;font-weight:700}.icon-action-inline{width:2rem;height:2rem}.table-link{text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--text-faint) 55%,transparent);display:inline-block;max-width:13rem;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.orders-empty-state{display:grid;gap:.35rem;padding:1rem}.orders-empty-state p{margin:0;color:var(--text-faint)}.table-items-inline,.table-payment-inline{display:inline-flex;align-items:center;gap:.55rem}.item-badge{display:inline-flex;align-items:center;gap:.35rem;color:var(--text);font-size:.88rem;font-weight:700}.table-payment-inline strong{font-size:.88rem;font-weight:700}.table-actions-cell{width:1%}.product-row-button{display:inline-grid;grid-template-columns:auto minmax(0,1fr);gap:.6rem;align-items:center}.product-thumb{width:2.2rem;height:2.2rem;border:1px solid var(--line);border-radius:.65rem;object-fit:cover;background:var(--surface-soft)}.product-thumb-fallback{display:inline-flex;align-items:center;justify-content:center;color:var(--text-soft)}.product-thumb-fallback svg{width:1.3rem;height:1.3rem}.product-preview-image,.product-preview-placeholder{width:100%;max-width:16rem;border:1px solid var(--line);border-radius:1.1rem;background:var(--surface-soft)}.product-preview-image{display:block;aspect-ratio:1;object-fit:cover}.product-preview-image-inline{max-width:10rem}.product-preview-placeholder{display:grid;min-height:12rem;place-items:center}.product-preview-icon{width:2rem;height:2rem;color:var(--text-soft)}.product-preview-icon svg{width:100%;height:100%}.product-image-inline{display:flex;justify-content:flex-start}.product-thumb-order{width:2.5rem;height:2.5rem}.product-detail-inline{display:inline-grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem}.orders-list-panel,.inventory-panel{gap:.85rem}.inventory-header{align-items:center}.panel,.auth-card{border:1px solid var(--line);border-radius:1.15rem;background:var(--surface-strong);box-shadow:none}.overview-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(22rem,.95fr);gap:1rem}.overview-lead{display:grid;align-content:start;gap:.75rem;padding:1.5rem}.overview-lead h1,.auth-card h1{margin:0;font-family:var(--font-display);font-size:clamp(2rem,3.4vw,3rem);line-height:1;letter-spacing:-.035em}.overview-lead p,.auth-card p,.muted-copy{margin:0;color:var(--text-soft);line-height:1.6}.overview-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.stat-card{display:grid;gap:.35rem;border:1px solid var(--line);border-radius:1.15rem;padding:1rem;background:var(--surface-strong)}.stat-card strong{display:block;font-size:1.7rem;line-height:1}.stat-card p{margin:0;color:var(--text-faint);font-size:.9rem;line-height:1.5}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.order-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.customer-layout,.inventory-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.customer-layout-single,.inventory-layout-single,.order-layout-single{grid-template-columns:1fr}.panel{display:grid;gap:1rem;padding:1rem}.panel-stretchless{align-self:start}.section-heading,.detail-header,.inline-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.section-heading h2,.detail-header h3{margin:0;font-size:1.22rem;line-height:1.2}.form-grid,.compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.form-grid-compact,.overlay-form-grid{align-content:start}.field-span{grid-column:1 / -1}label{display:grid;gap:.45rem}label span{color:var(--text-faint);font-size:.88rem;font-weight:700}.checkbox-field{display:flex;align-items:center;gap:.75rem;padding-top:1.9rem}.checkbox-field input{width:auto}.checkbox-field span{margin:0}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:.9rem;padding:.82rem .9rem;color:var(--text);background:var(--surface-soft);box-shadow:none}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--line-strong);box-shadow:0 0 0 .24rem color-mix(in srgb,var(--accent) 8%,transparent)}textarea{min-height:112px;resize:vertical}.list-stack,.detail-stack,.item-stack,.detail-panel,.overlay-section,.overlay-subcard,.compact-stack{display:grid;gap:.8rem}.detail-panel{align-content:start;padding-top:.25rem}.editor-placeholder{display:grid;min-height:16rem;align-content:center;justify-items:start;gap:.6rem;padding:1rem .25rem}.list-card{display:flex;justify-content:space-between;gap:1rem;border:1px solid var(--line);border-radius:1.25rem;padding:1rem;background:var(--surface-strong);box-shadow:var(--shadow-soft);transition:transform .18s ease,border-color .18s ease,background .18s ease}.list-card-side{display:grid;justify-items:end;gap:.35rem;text-align:right}.list-card-side p{margin:0;color:var(--text-faint);line-height:1.4}.list-card:hover{transform:translateY(-1px)}.list-card-button{width:100%;text-align:left}.list-card-row{align-items:center}.list-card-main{min-width:0;flex:1 1 auto}.list-card-main-button{border:0;padding:0;background:transparent;color:inherit;text-align:left}.list-card-main strong,.list-card-main p{overflow:hidden;text-overflow:ellipsis}.list-card-main strong{display:block;margin-bottom:.15rem}.list-card-main p,.list-card p,.inline-note{margin:0;color:var(--text-faint);line-height:1.5}.list-card-active{border-color:var(--line-strong);background:color-mix(in srgb,var(--surface-strong) 86%,var(--accent) 14%)}.detail-list{list-style:none;margin:0;padding:0;display:grid;gap:.8rem}.detail-list li{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:.8rem}.detail-list li span{color:var(--text-faint)}.overlay-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:1.15rem;background:#0000005c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.overlay-card,.overlay-card-wide,.overlay-card-xl{display:grid;gap:1rem;width:min(940px,100%);max-height:calc(100vh - 2.3rem);overflow:auto;border:1px solid var(--line-strong);border-radius:1.5rem;padding:1.25rem;background:var(--surface-strong);box-shadow:var(--shadow)}.overlay-card-wide{width:min(1020px,100%)}.overlay-card-xl{width:min(1160px,100%)}.overlay-section{border-top:1px solid var(--line);padding-top:1rem}.overlay-subcard{border:1px solid var(--line);border-radius:1.15rem;padding:1rem;background:var(--surface)}.customer-editor{gap:1.2rem}.customer-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.editor-section{display:grid;gap:.8rem;border-top:1px solid var(--line);padding-top:1rem}.editor-section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}.customer-subcard{gap:.8rem;padding:.9rem;background:var(--surface-soft)}.customer-subcard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.9rem}.customer-subcard-title{display:grid;gap:.22rem}.customer-subcard-title span{color:var(--text-faint);font-size:.78rem;font-weight:600}.customer-subcard-grid{gap:.75rem}.customer-inline-summary{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.customer-preference-strip{padding-top:0}.customer-location-preference{align-self:end}.preferred-location-picker{max-width:34rem}.segmented-choice{display:inline-flex;flex-wrap:wrap;gap:.5rem}.customer-editor-submit{justify-self:start;min-width:12rem}.item-row{display:grid;grid-template-columns:2fr 1.2fr .8fr 1fr;gap:.8rem}.item-row-extended{grid-template-columns:2.4fr .8fr 1fr 1fr}.order-item-editor{display:grid;grid-template-columns:auto minmax(0,1.8fr) auto auto auto;gap:.8rem;align-items:end;border:1px solid var(--line);border-radius:1rem;padding:.8rem;background:var(--surface-soft)}.order-item-product{min-width:0}.order-item-product-preview{display:flex;align-items:center;justify-content:center}.order-item-quantity,.order-item-price{display:grid;gap:.45rem;align-content:start}.order-item-quantity span,.order-item-price span{color:var(--text-faint);font-size:.88rem;font-weight:700}.quantity-stepper{display:inline-flex;align-items:center;gap:.55rem}.quantity-stepper strong{min-width:2.2rem;text-align:center;font-size:.96rem}.quantity-stepper-button{width:2.1rem;height:2.1rem;border-radius:999px}.order-item-price strong{min-width:7rem;padding:.7rem .8rem;border:1px solid var(--line);border-radius:.9rem;background:var(--surface-strong);font-size:.9rem;text-align:right}.order-item-unit-input{display:none}.order-item-remove{align-self:end}.preference-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.file-input-row{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}.file-input-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center}.file-input-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.payment-entry-bar{display:grid;grid-template-columns:minmax(8rem,10rem) minmax(8rem,10rem) minmax(10rem,12rem) auto auto;gap:.6rem;align-items:end}.payment-entry-field{min-width:0}.payment-entry-toggle{padding-top:1.75rem}.payment-entry-actions{display:flex;gap:.6rem;align-items:center;justify-content:flex-end}.search-select{position:relative}.search-select-input-row{display:flex;gap:.5rem}.search-select-clear{flex:0 0 auto;border:1px solid var(--line);border-radius:1rem;padding:.75rem .9rem;background:var(--surface-strong);color:var(--text-faint)}.search-select-menu{position:absolute;inset:calc(100% + .35rem) 0 auto;z-index:10;display:grid;gap:.35rem;max-height:16rem;overflow:auto;border:1px solid var(--line-strong);border-radius:1rem;padding:.5rem;background:var(--surface-strong);box-shadow:var(--shadow)}.search-select-option{display:grid;gap:.2rem;width:100%;border:0;border-radius:.85rem;padding:.75rem .8rem;background:transparent;color:inherit;text-align:left}.search-select-option span,.search-select-empty{color:var(--text-faint);font-size:.92rem}.search-select-option-active{background:var(--accent-soft)}.search-select-empty{padding:.75rem .8rem}.auth-screen{display:grid;min-height:100vh;place-items:center;padding:1.5rem}.auth-card{width:min(760px,100%);padding:2rem}.auth-card-hero{background:var(--surface-strong)}.alert-panel{border:1px solid color-mix(in srgb,var(--warn) 24%,transparent);border-radius:1.1rem;padding:1rem 1.1rem;background:var(--warn-soft)}.alert-panel strong{display:block;margin-bottom:.35rem}.alert-panel p{margin:0}@media (max-width: 1200px){.topbar-subtitle{max-width:20rem}}@media (max-width: 960px){.app-shell{display:block;padding-bottom:5.7rem}.sidebar,.desktop-nav,.sidebar-footer{display:none}.main-column{padding:.9rem}.mobile-nav{position:fixed;right:.9rem;bottom:.9rem;left:.9rem;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;border:1px solid var(--line);border-radius:1.35rem;padding:.5rem;background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-nav .nav-link{flex-direction:column;justify-content:center;gap:.34rem;padding:.72rem .35rem;text-align:center;font-size:.82rem}.mobile-nav .nav-icon{width:1.18rem;height:1.18rem}.overview-grid,.content-grid,.order-layout,.customer-layout,.inventory-layout,.form-grid,.compact-grid,.item-row,.item-row-extended,.order-item-editor,.payment-entry-bar{grid-template-columns:1fr}.overlay-backdrop{padding:.8rem}.overlay-card,.overlay-card-wide,.overlay-card-xl{width:100%;max-height:calc(100vh - 1.6rem);border-radius:1.2rem;padding:1rem}.topbar-subtitle{display:none}}@media (max-width: 820px){.overview-stats{grid-template-columns:1fr}.detail-header,.inline-header,.section-heading{flex-direction:column;align-items:stretch}.summary-inline-grid-wide{grid-template-columns:repeat(4,minmax(0,1fr))}.user-menu-trigger{max-width:min(16rem,46vw)}.user-menu-copy span{display:none}.editor-section-header,.customer-subcard-header{flex-direction:column;align-items:stretch}.customer-method-grid{grid-template-columns:1fr}.customer-editor-submit{width:100%;justify-self:stretch}}@media (max-width: 640px){.main-column{padding:.65rem .65rem .75rem}.topbar,.panel,.auth-card{border-radius:1.15rem}.brand-mark{width:2.7rem;height:2.7rem}.topbar{min-height:auto;top:.45rem;padding:.42rem .55rem;gap:.35rem}.topbar-context{flex-direction:row;align-items:center;gap:.3rem}.topbar-title{font-size:1rem}.user-menu-trigger{max-width:9.75rem;padding-right:.42rem}.user-menu-copy strong{font-size:.88rem}.user-menu-chevron{display:none}.user-menu-panel{width:min(18rem,calc(100vw - 1.3rem))}.list-card-row{align-items:flex-start}.list-card-side{justify-items:start;text-align:left}.button-primary,.button-secondary{width:100%;justify-content:center}.orders-summary-grid{gap:.7rem;padding-bottom:0;scroll-snap-type:x proximity}.summary-card{min-width:min(18rem,82vw);width:min(18rem,82vw);padding:.68rem .72rem;scroll-snap-align:start}.orders-overview-panel{padding:.75rem}.summary-card+.summary-card{padding-left:.72rem}.topbar-actions>.button-secondary,.section-actions>.button-primary,.section-actions>.button-secondary{width:auto}.editor-toolbar,.segmented-choice,.customer-preference-strip{width:100%}.editor-toolbar>.button-secondary,.segmented-choice>.button-secondary,.customer-preference-strip>.button-secondary{flex:1 1 auto}.orders-status-row{overflow:visible;padding-bottom:0}.orders-query-field{flex-basis:min(14rem,62vw)}.customers-table th,.customers-table td{padding:.7rem .55rem;font-size:.82rem}.customers-table .table-link-button strong{font-size:.92rem}}.lightwell-shell,.lightwell-auth-screen{min-height:100vh;background:#f8f8f6;color:#1d2a24}.lightwell-header{display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto;padding:24px}.lightwell-brand{color:inherit;font-size:1.05rem;font-weight:800;letter-spacing:.03em;text-decoration:none}.lightwell-brand span{color:#58705b;font-weight:600}.lightwell-user{align-items:center;display:flex;font-size:.9rem;gap:16px}.lightwell-link-button{background:none;border:0;color:#395c42;cursor:pointer;font:inherit;padding:4px;text-decoration:underline}.lightwell-onboarding,.lightwell-workspace{margin:0 auto;max-width:1120px;padding:72px 24px 96px}.lightwell-intro{max-width:620px}.lightwell-eyebrow{color:#55715a;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.lightwell-intro h1,.lightwell-card h1{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.045em;line-height:1.02;margin:12px 0 16px}.lightwell-intro p,.lightwell-card p{color:#58655d;line-height:1.55}.lightwell-grid{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:44px}.lightwell-workspace-grid{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:44px}.lightwell-card{background:#fff;border:1px solid #e0e4de;border-radius:18px;box-shadow:0 10px 32px #2c3e2f0f;padding:28px}.lightwell-card h2{font-size:1.2rem;margin:0 0 8px}.lightwell-auth-screen{align-items:center;display:flex;justify-content:center;padding:24px}.lightwell-auth-screen .lightwell-card{max-width:510px}.lightwell-auth-screen .lightwell-card h1{font-size:2rem}.lightwell-tenant-list{display:grid;gap:8px;margin-top:20px}.lightwell-tenant-button{align-items:center;background:#fff;border:1px solid #e1e5e0;border-radius:11px;color:inherit;cursor:pointer;display:flex;justify-content:space-between;padding:14px;text-align:left;width:100%}.lightwell-tenant-button:hover,.lightwell-tenant-button.is-selected{border-color:#54735a;background:#f1f6f0}.lightwell-tenant-button span:first-child{display:grid;gap:3px}.lightwell-tenant-button small{color:#647167;text-transform:capitalize}.lightwell-selected-tenant{border-top:1px solid #e7ebe6;margin-top:20px;padding-top:18px}.lightwell-selected-tenant p{font-size:.9rem;margin:6px 0}.lightwell-muted{color:#718077!important}.lightwell-form{display:grid;gap:16px;margin-top:22px}.lightwell-form label{color:#34443a;display:grid;font-size:.9rem;font-weight:700;gap:7px}.lightwell-form input{background:#fff;border:1px solid #cfd6cf;border-radius:9px;color:inherit;font:inherit;font-weight:400;padding:11px 12px}.lightwell-form input:focus{border-color:#54735a;outline:3px solid rgba(84,115,90,.15)}.lightwell-form small{color:#6b776e;font-size:.78rem;font-weight:400}.lightwell-button{background:#375e40;border:1px solid #375e40;border-radius:9px;color:#fff;cursor:pointer;font:inherit;font-weight:700;padding:12px 16px}.lightwell-button:disabled{cursor:wait;opacity:.55}.lightwell-button-secondary{background:transparent;color:#375e40;margin-top:16px}.lightwell-error{background:#fff0ee;border:1px solid #f2c2ba;border-radius:10px;color:#9b2f20!important;margin:24px 0 0;padding:12px 14px}.lightwell-workspace-card{min-height:225px;display:flex;flex-direction:column;align-items:flex-start}.lightwell-workspace-icon{align-items:center;background:#edf4eb;border-radius:10px;color:#375e40;display:inline-flex;font-size:1.25rem;font-weight:800;height:40px;justify-content:center;width:40px}.lightwell-workspace-card h2{margin-top:22px}.lightwell-status{color:#54735a;font-size:.82rem;font-weight:700;margin-top:auto}.lightwell-ready-card{margin-top:20px}.lightwell-ready-card h2{margin-top:8px}@media (max-width: 720px){.lightwell-header{padding:18px}.lightwell-onboarding,.lightwell-workspace{padding:42px 18px 64px}.lightwell-grid,.lightwell-workspace-grid{grid-template-columns:1fr;margin-top:30px}.lightwell-card{padding:22px}.lightwell-user{gap:10px;max-width:50%}.lightwell-user span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
