@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.table{display:table}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}:where(.space-y-7>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*7)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*7)*calc(1 - var(--tw-space-y-reverse)))}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ink:#17231f;--muted:#6f7a75;--line:#e7e8e2;--paper:#fbfaf6;--panel:#fff;--brand:#123d35;--brand2:#205a4d;--accent:#f3a847}*{box-sizing:border-box}html{background:var(--paper)}body{color:var(--ink);background:var(--paper);margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,Source Han Sans SC,system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.sidebar{color:#fff;z-index:20;background:#103a32;flex-direction:column;width:236px;padding:24px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;padding:0 8px 24px;display:flex}.brand>span{color:#153c34;background:#f4aa45;border-radius:13px;place-items:center;width:40px;height:40px;display:grid}.brand div{flex-direction:column;display:flex}.brand strong{letter-spacing:.02em;font-size:15px}.brand small{color:#a9c1ba;margin-top:1px;font-size:11px}.sidebar nav{flex-direction:column;gap:3px;display:flex}.sidebar nav a{color:#b9cdc7;border-radius:10px;align-items:center;gap:12px;padding:10px 13px;font-size:14px;display:flex}.sidebar nav a:hover,.sidebar nav a.active{color:#fff;background:#ffffff1a}.store-switch{background:#ffffff14;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:9px;margin-top:auto;padding:12px 10px;display:flex}.store-switch div{flex-direction:column;flex:1;display:flex}.store-switch strong{font-size:12px}.store-switch span{color:#a9c1ba;font-size:10px}.main{min-height:100vh;padding-left:236px}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10;background:#fbfaf6e0;justify-content:flex-end;align-items:center;height:66px;padding:0 34px;display:flex;position:sticky;top:0}.topbar>button:first-child{display:none}.status{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.status span{background:#28a47b;border-radius:50%;width:7px;height:7px}.avatar{width:34px;height:34px;color:var(--brand);background:#e9eee9;border:0;border-radius:50%;place-items:center;margin-left:16px;display:grid}.content{max-width:1500px;margin:auto;padding:36px 38px 90px}.space-y-7{flex-direction:column;gap:28px;display:flex}.hero{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.eyebrow{letter-spacing:.16em;color:#9a6a2c;text-transform:uppercase;margin:0 0 5px;font-size:10px;font-weight:800}h1{letter-spacing:-.03em;margin:0;font-size:30px;font-weight:750;line-height:1.2}h2{letter-spacing:-.02em;margin:0;font-size:18px}.text-muted{color:var(--muted);margin:9px 0 0;font-size:14px}.quick-actions{gap:8px;display:flex}.button{border:1px solid var(--line);background:#fff;border-radius:11px;justify-content:center;align-items:center;gap:7px;height:42px;padding:0 14px;font-size:13px;font-weight:650;display:inline-flex;box-shadow:0 1px 1px #142d2308}.button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.metric-grid{grid-template-columns:repeat(4,1fr);gap:13px;display:grid}.metric-card,.panel{border:1px solid var(--line);background:#fff;border-radius:16px;box-shadow:0 4px 18px #16302509}.metric-card{grid-template-columns:1fr auto;padding:18px;display:grid}.metric-icon{border-radius:11px;grid-area:1/2/3/3;place-items:center;width:36px;height:36px;display:grid}.metric-icon.emerald{color:#137456;background:#e4f4ed}.metric-icon.amber{color:#a86713;background:#fff0d9}.metric-icon.blue{color:#36709e;background:#e8f1fa}.metric-icon.violet{color:#76569c;background:#f0ebf8}.metric-card p{color:var(--muted);margin:0;font-size:12px}.metric-card strong{letter-spacing:-.04em;font-size:25px;line-height:1.5}.metric-card small{color:var(--muted);grid-column:1/3;margin-top:7px;font-size:11px}.dashboard-grid{grid-template-columns:1.45fr 1fr;gap:18px;display:grid}.panel{padding:21px}.panel-head{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.panel-head>a{color:var(--brand);align-items:center;gap:3px;font-size:12px;font-weight:650;display:flex}.order-list{border-top:1px solid var(--line)}.order-row{border-bottom:1px solid var(--line);grid-template-columns:52px 1fr auto;align-items:center;gap:13px;padding:15px 3px;display:grid}.order-row:hover{background:#fbfcfa}.mode{text-align:center;border-radius:7px;padding:5px 6px;font-size:11px;font-weight:700}.mode.delivery{color:#9c6218;background:#fff1dc}.mode.pickup{color:#21705b;background:#e6f3ee}.order-row strong{font-size:13px}.order-row p{color:var(--muted);margin:3px 0 0;font-size:11px}.order-meta{text-align:right;flex-direction:column;display:flex}.order-meta span{color:var(--muted);margin-top:3px;font-size:11px}.month-panel dl{margin:0}.month-panel dl>div{justify-content:space-between;padding:9px 0;font-size:13px;display:flex}.month-panel dt{color:var(--muted)}.month-panel dd{margin:0;font-weight:680}.month-panel .total{border-top:1px solid var(--line);margin-top:4px;padding-top:14px}.month-panel .total dd{color:#17705a}.inventory-note{color:#71522a;background:#f7f4ed;border-radius:12px;align-items:center;gap:10px;margin-top:15px;padding:12px;display:flex}.inventory-note div{flex:1}.inventory-note strong{font-size:11px}.inventory-note p{margin:2px 0 0;font-size:10px}.inventory-note a{font-size:11px;font-weight:700}.mobile-nav{display:none}@media (max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.hero{flex-direction:column;align-items:flex-start}.quick-actions{width:100%}.quick-actions .button{flex:1}}@media (max-width:760px){.sidebar{display:none}.main{padding-left:0}.topbar{justify-content:space-between;height:56px;padding:0 16px}.topbar>button:first-child{background:0 0;border:0;padding:5px;display:grid}.content{padding:22px 15px 94px}h1{font-size:24px}.hero{gap:17px}.quick-actions{grid-template-columns:1fr 1fr;display:grid}.button{height:46px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{padding:14px}.metric-card strong{font-size:20px}.metric-icon{width:31px;height:31px}.panel{padding:16px}.order-row{grid-template-columns:48px 1fr auto;gap:8px}.order-row p{white-space:nowrap;text-overflow:ellipsis;max-width:170px;overflow:hidden}.mobile-nav{z-index:30;height:70px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav a{color:#7b8680;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;display:flex}.mobile-nav a.active{color:var(--brand);font-weight:700}}@media (max-width:390px){.metric-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr 1fr}.order-meta span{display:none}}@media print{.sidebar,.topbar,.mobile-nav{display:none!important}.main,.content{padding:0}}.page-title{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:24px;display:flex}.page-title h1{font-size:27px}.page-title p{color:var(--muted);margin:6px 0 0;font-size:13px}.page-actions{gap:8px;display:flex}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;width:100%;min-width:650px;font-size:13px}.data-table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);background:#fbfbf8;padding:11px 12px;font-size:11px;font-weight:600}.data-table td{border-bottom:1px solid var(--line);padding:14px 12px}.data-table tr:last-child td{border-bottom:0}.badge{color:#4b5c55;background:#eef1ee;border-radius:7px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-flex}.badge.green{color:#176b54;background:#e5f3ed}.badge.amber{color:#995f16;background:#fff0da}.badge.red{color:#9b3932;background:#fee9e7}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field{flex-direction:column;gap:7px;display:flex}.field.full{grid-column:1/-1}.field label,.field>span{color:#4d5a55;font-size:12px;font-weight:650}.field input,.field select,.field textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #dfe3de;border-radius:10px;outline:none;padding:11px 12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#3a7567;box-shadow:0 0 0 3px #26705c1a}.field textarea{resize:vertical;min-height:82px}.segmented{background:#f0f2ef;border-radius:11px;padding:4px;display:flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:9px 15px;font-size:13px}.segmented button.active{color:var(--brand);background:#fff;font-weight:700;box-shadow:0 1px 3px #00000014}.split-layout{grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:18px;display:grid}.sticky-panel{height:max-content;position:sticky;top:88px}.section-title{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.section-title h2{font-size:16px}.product-picker{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.product-choice{border:1px solid var(--line);text-align:left;background:#fff;border-radius:11px;min-height:70px;padding:11px}.product-choice:hover{border-color:#7ba093}.product-choice strong{font-size:12px;display:block}.product-choice span{color:var(--muted);font-size:11px}.product-choice.today{background:#fffaf1;border-color:#e0b26d}.cart-item{border-bottom:1px solid var(--line);grid-template-columns:1fr 76px 74px 30px;align-items:start;gap:8px;padding:12px 0;display:grid}.cart-item input{border:1px solid var(--line);border-radius:8px;min-width:0;padding:8px}.cart-item button{color:#ad5148;background:0 0;border:0;padding:8px}.cart-item .item-note{grid-column:1/4}.summary-line{justify-content:space-between;padding:8px 0;font-size:13px;display:flex}.summary-line.total{border-top:1px solid var(--line);padding-top:13px;font-size:17px}.notice{color:#77511b;background:#fff9ee;border:1px solid #ead7b6;border-radius:11px;padding:12px 14px;font-size:12px}.success{color:#17664f;background:#eff9f5;border:1px solid #b9ddcf;border-radius:11px;padding:12px 14px;font-size:12px}.danger-text{color:#a14239}.empty{text-align:center;color:var(--muted);padding:45px 20px}.inline-actions{align-items:center;gap:7px;display:flex}.icon-button{border:1px solid var(--line);background:#fff;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.stat-row{grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:18px;display:grid}.mini-stat{border:1px solid var(--line);background:#fff;border-radius:13px;padding:15px}.mini-stat span{color:var(--muted);font-size:11px}.mini-stat strong{margin-top:5px;font-size:18px;display:block}.settings-list{gap:10px;display:grid}.settings-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 0;display:flex}.settings-row:last-child{border:0}.settings-row p{color:var(--muted);margin:3px 0 0;font-size:11px}@media (max-width:900px){.split-layout{grid-template-columns:1fr}.sticky-panel{position:static}.stat-row{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.page-title{flex-direction:column;align-items:flex-start}.page-actions{width:100%}.page-actions .button{flex:1}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.product-picker{grid-template-columns:repeat(2,1fr)}.cart-item{grid-template-columns:1fr 68px 28px}.cart-item .unit{display:none}.cart-item .item-note{grid-column:1/3}.stat-row{grid-template-columns:1fr 1fr}.mini-stat:last-child{grid-column:1/-1}}.stored-summary{grid-template-columns:repeat(3,1fr)}.search-box{border:1px solid var(--line);color:var(--muted);background:#fbfbf8;border-radius:11px;align-items:center;gap:9px;margin-bottom:17px;padding:0 12px;display:flex}.search-box input{background:0 0;border:0;outline:0;width:100%;height:44px}.stored-customer-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.stored-customer-card{border:1px solid var(--line);border-radius:13px;grid-template-columns:42px 1fr auto 18px;align-items:center;gap:11px;padding:15px;transition:all .15s;display:grid}.stored-customer-card:hover{border-color:#8aa99f;box-shadow:0 5px 16px #1630250d}.customer-avatar{width:42px;height:42px;color:var(--brand);background:#e5f3ed;border-radius:12px;place-items:center;display:grid}.customer-main{flex-direction:column;min-width:0;display:flex}.customer-main strong{font-size:14px}.customer-main span,.customer-main small{color:var(--muted);margin-top:2px;font-size:11px}.balance{text-align:right}.balance span{color:var(--muted);font-size:10px;display:block}.balance strong{color:var(--brand);font-size:18px}.customer-hero{color:#fff;background:linear-gradient(135deg,#123d35,#205a4d);border-radius:17px;justify-content:space-between;align-items:center;padding:24px 27px;display:flex;box-shadow:0 10px 28px #123d3526}.customer-identity{align-items:center;gap:12px;display:flex}.customer-identity>span{background:#ffffff1f;border-radius:14px;place-items:center;width:48px;height:48px;display:grid}.customer-identity strong{font-size:18px}.customer-identity p{color:#bbd0ca;align-items:center;gap:5px;margin:4px 0 0;font-size:12px;display:flex}.hero-balance{text-align:right}.hero-balance span{color:#bbd0ca;font-size:11px;display:block}.hero-balance strong{letter-spacing:-.04em;font-size:30px}.back-link{color:var(--brand);align-items:center;gap:4px;margin-bottom:10px;font-size:12px;font-weight:650;display:inline-flex}.transaction-tabs button{flex:1}.ledger{border-top:1px solid var(--line)}.ledger-row{border-bottom:1px solid var(--line);grid-template-columns:38px 1fr auto;align-items:start;gap:11px;padding:15px 2px;display:grid}.ledger-icon{border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.ledger-icon.in{color:#176b54;background:#e5f3ed}.ledger-icon.out{color:#995f16;background:#fff0da}.ledger-main>div{align-items:center;gap:10px;display:flex}.ledger-main strong{font-size:13px}.ledger-main time,.ledger-main small{color:var(--muted);font-size:10px}.ledger-main p{margin:4px 0 2px;font-size:11px}.ledger-row>strong{font-size:14px}.amount-in{color:#16705a}.amount-out{color:#a25e19}@media (max-width:700px){.stored-summary{grid-template-columns:1fr 1fr}.stored-customer-grid{grid-template-columns:1fr}.customer-hero{align-items:flex-start;gap:18px;padding:20px}.hero-balance strong{font-size:25px}.stored-customer-card{grid-template-columns:42px 1fr auto}.stored-customer-card>svg{display:none}}.customer-directory{padding:0;overflow:hidden}.directory-head{justify-content:space-between;align-items:center;gap:22px;padding:21px 22px 17px;display:flex}.directory-head>div>span{color:var(--muted);margin-top:4px;font-size:11px;display:block}.customer-search{width:min(420px,52%);min-height:58px;color:var(--brand);cursor:text;background:#fbfcfa;border:1px solid #d8ded9;border-radius:13px;grid-template-columns:20px 1fr 28px;align-items:center;gap:10px;padding:8px 10px 8px 14px;display:grid}.customer-search:focus-within{background:#fff;border-color:#3a7567;box-shadow:0 0 0 3px #26705c17}.customer-search>div{flex-direction:column;display:flex}.customer-search span{letter-spacing:.08em;color:#82908a;font-size:9px;font-weight:750}.customer-search input{height:25px;color:var(--ink);background:0 0;border:0;outline:0;padding:0;font-size:13px}.customer-search button{color:#65716c;background:#edf0ed;border:0;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.directory-filters{border-bottom:1px solid var(--line);gap:7px;padding:0 22px 16px;display:flex}.directory-filters button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:999px;padding:7px 12px;font-size:11px}.directory-filters button.active{color:var(--brand);background:#eaf4f0;border-color:#b8d1c9;font-weight:700}.directory-columns,.customer-account-row{grid-template-columns:42px minmax(150px,1.1fr) minmax(120px,.9fr) minmax(100px,1fr) minmax(110px,auto) 18px;align-items:center;gap:12px;display:grid}.directory-columns{color:#8a938f;border-bottom:1px solid var(--line);background:#fafaf7;padding:9px 22px;font-size:10px}.directory-columns span:first-child{grid-column:1/3}.customer-account-row{border-bottom:1px solid var(--line);padding:14px 22px;transition:all .15s}.customer-account-row:last-child{border-bottom:0}.customer-account-row:hover{background:#fbfcfa}.customer-account-row .activity{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.customer-note{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.customer-account-row .balance span{display:none}.row-arrow{color:#9ba49f}.customer-directory .empty{flex-direction:column;align-items:center;gap:5px;display:flex}.customer-directory .empty strong{color:var(--ink);font-size:13px}.customer-directory .empty span{font-size:11px}@media (max-width:760px){.directory-head{flex-direction:column;align-items:flex-start;padding:18px 16px 14px}.customer-search{width:100%;min-height:56px}.directory-filters{padding:0 16px 14px;overflow-x:auto}.directory-filters button{white-space:nowrap}.directory-columns{display:none}.customer-account-row{grid-template-columns:42px 1fr auto 16px;gap:10px;padding:14px 16px}.customer-account-row .activity{grid-column:2/5;margin-top:-6px}.customer-account-row .customer-note{display:none}.customer-account-row .balance span{display:block}.customer-account-row .balance strong{font-size:16px}.row-arrow{align-self:center}.customer-main small{display:none}}.auth-shell{background:radial-gradient(circle at top,#e8f1ed 0,transparent 42%),var(--paper);place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{width:min(430px,100%);padding:28px}.auth-card .button{height:48px}.auth-link{text-align:center;color:var(--brand);font-size:13px;font-weight:650}.brand>span.brand-logo{color:inherit;background:#fff;border:1px solid #ffffff47;overflow:hidden}.brand-logo img{object-fit:cover;width:100%;height:100%}.topbar{justify-content:space-between}.topbar-start,.topbar-end{align-items:center;gap:10px;display:flex}.topbar-start>strong{font-size:13px}.topbar button{border:0}.topbar-back,.menu-trigger{height:38px;color:var(--brand);background:#fff;border-radius:10px;align-items:center;gap:5px;padding:0 10px;display:inline-flex;border:1px solid var(--line)!important}.menu-trigger,.drawer-backdrop,.mobile-drawer{display:none}.section-hint{color:var(--muted);margin:4px 0 0;font-size:11px}.product-search{height:48px;color:var(--muted);background:#fbfcfa;border:1px solid #dfe3de;border-radius:12px;align-items:center;gap:9px;padding:0 13px;display:flex}.product-search:focus-within{background:#fff;border-color:#3a7567;box-shadow:0 0 0 3px #26705c1a}.product-search input{background:0 0;border:0;outline:0;flex:1;min-width:0}.product-search button{color:var(--brand);background:0 0;border:0;font-size:11px;font-weight:700}.product-categories{scrollbar-width:none;gap:7px;padding:13px 0 15px;display:flex;overflow-x:auto}.product-categories::-webkit-scrollbar{display:none}.product-categories button{white-space:nowrap;border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:999px;padding:8px 13px;font-size:12px}.product-categories button.active{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}.product-picker{grid-template-columns:repeat(3,1fr);gap:10px}.product-choice{border-radius:13px;grid-template-columns:1fr auto;align-items:end;gap:5px 8px;min-height:96px;padding:14px;display:grid;box-shadow:0 2px 8px #16302506}.product-choice:hover{box-shadow:0 5px 15px #16302512}.product-choice:active{background:#f2f7f5;transform:scale(.98)}.product-choice .product-name{color:var(--ink);grid-column:1/-1;align-self:start;font-size:13px;font-weight:720;line-height:1.35}.product-choice .product-price{color:var(--brand);letter-spacing:-.03em;font-size:20px;display:block}.product-choice small{color:var(--muted);text-align:right;font-size:11px}.empty.compact{padding:24px 12px}.product-grid-panel{width:100%}.simple-product-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.simple-product-row{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:142px;padding:15px;transition:all .15s;display:flex;position:relative;box-shadow:0 3px 12px #16302509}.simple-product-row:hover{background:#fbfdfc;border-color:#9bb8ae;box-shadow:0 7px 20px #16302514}.simple-product-row>strong{overflow-wrap:anywhere;font-size:14px;line-height:1.4}.simple-product-row>b{color:var(--brand);letter-spacing:-.03em;margin-top:auto;font-size:20px}.product-card-category{color:#35675a;white-space:nowrap;text-overflow:ellipsis;background:#edf5f1;border-radius:7px;max-width:100%;padding:4px 7px;font-size:10px;overflow:hidden}.product-card-edit{color:var(--muted);align-items:center;gap:3px;font-size:10px;display:flex;position:absolute;bottom:13px;right:12px}.field-help{color:var(--muted);font-size:10px;line-height:1.4}.product-edit-panel{max-width:760px;margin-bottom:20px}.product-edit-actions{justify-content:space-between}.route-loading{min-height:55vh;color:var(--muted);place-items:center;display:grid}.route-loading>div{flex-direction:column;align-items:center;gap:12px;display:flex}.loading-spinner{border:3px solid #dfe7e3;border-top-color:var(--brand);border-radius:50%;width:28px;height:28px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:760px){.topbar{height:58px;padding:0 13px}.topbar-start{gap:6px}.topbar-start>strong{white-space:nowrap;text-overflow:ellipsis;max-width:120px;overflow:hidden}.topbar-back{justify-content:center;width:38px;padding:0}.topbar-back span{display:none}.menu-trigger{justify-content:center;width:38px;padding:0;display:inline-flex}.topbar-end .status{display:none}.avatar{margin-left:0}.mobile-nav a,.mobile-nav button{color:#7b8680;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;display:flex}.mobile-nav a.active,.mobile-nav button.active{color:var(--brand);font-weight:700}.drawer-backdrop{z-index:45;background:#0a1c176b;border:0;display:block;position:fixed;inset:0}.mobile-drawer{z-index:50;color:#fff;background:#103a32;flex-direction:column;width:min(330px,86vw);padding:18px 14px 28px;display:flex;position:fixed;inset:0 auto 0 0;overflow:auto;box-shadow:18px 0 50px #0003}.drawer-head{justify-content:space-between;align-items:flex-start;display:flex}.drawer-head .brand{padding-bottom:18px}.drawer-head>button{color:#fff;background:#ffffff1a;border:0;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.mobile-drawer nav{flex-direction:column;gap:4px;display:flex}.mobile-drawer nav a{color:#bfd0cb;border-radius:10px;align-items:center;gap:12px;padding:12px 13px;font-size:14px;display:flex}.mobile-drawer nav a.active{color:#fff;background:#ffffff1f}}@media (max-width:640px){.product-select-panel{padding:14px}.product-select-panel .section-title{align-items:flex-start}.product-select-panel .section-title .button{height:40px;padding:0 10px}.product-picker{grid-template-columns:repeat(2,1fr);gap:8px}.product-choice{min-height:102px;padding:12px}.product-choice .product-price{font-size:21px}.simple-product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.simple-product-row{min-height:132px;padding:13px}.simple-product-row>b{font-size:18px}.product-card-edit{bottom:11px;right:10px}.product-edit-actions .button{flex:1}}html,body{max-width:100%;overflow-x:hidden}a,button,[role=button]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.main,.content,.space-y-7,.hero,.quick-actions,.metric-grid,.dashboard-grid,.split-layout,.split-layout>*,.panel,.form-grid,.field,.page-title,.page-actions,.stat-row,.settings-row,.product-select-panel,.product-picker,.product-categories,.cart-item,.customer-hero,.customer-identity,.directory-head,.customer-account-row,.field input,.field select,.field textarea,.cart-item input,.cart-item select{min-width:0;max-width:100%}.product-categories{overscroll-behavior-inline:contain;width:100%}.table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;width:100%;max-width:100%;overflow-x:auto}.panel-head>*,.order-row>*,.inventory-note>*,.settings-row>*,.customer-identity>*{min-width:0}.page-title h1,.page-title p,.settings-row span,.settings-row strong,.customer-identity strong{overflow-wrap:anywhere}@media (max-width:760px){.content{width:100%;padding:18px 12px calc(92px + env(safe-area-inset-bottom))}.space-y-7{gap:20px}.panel{width:100%;padding:15px}.hero{width:100%}.quick-actions{gap:7px;width:100%}.quick-actions .button{min-width:0;padding:0 8px}.page-title{gap:14px;width:100%;margin-bottom:18px}.page-actions{flex-wrap:wrap;gap:7px;width:100%;display:flex}.page-actions .button{flex:calc(50% - 4px);min-width:calc(50% - 4px);padding:0 9px}.form-grid{gap:13px;width:100%}.segmented{width:100%}.segmented button{flex:1;min-width:0;padding-left:8px;padding-right:8px}.section-title{gap:10px}.section-title>*{min-width:0}.section-title h2{overflow-wrap:anywhere}.product-categories{margin-inline:0;padding-bottom:12px}.product-categories button{min-height:40px;padding:8px 14px}.product-choice{touch-action:manipulation}.cart-item{grid-template-columns:minmax(0,1fr) 72px 36px;gap:7px;width:100%}.cart-item>div,.cart-item>strong{overflow-wrap:anywhere;min-width:0}.cart-item .item-note{grid-column:1/3}.cart-item button{width:36px;padding:7px}.order-row{grid-template-columns:45px minmax(0,1fr) auto;width:100%}.order-row p{max-width:100%}.order-meta{min-width:max-content}.settings-row{align-items:flex-start;gap:12px}.settings-row>span,.settings-row>.badge{text-align:right;flex:0 45%}.customer-hero{flex-wrap:wrap;width:100%}.customer-identity{max-width:100%}.hero-balance{margin-left:auto}.ledger-row{grid-template-columns:38px minmax(0,1fr) auto}.ledger-main>div{flex-wrap:wrap}.mobile-nav{height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a,.mobile-nav button{touch-action:manipulation;min-width:0}}@media (max-width:390px){.content{padding-left:10px;padding-right:10px}.panel{padding:13px}.metric-grid,.stat-row{grid-template-columns:1fr}.stat-row .mini-stat{grid-column:auto}.stored-summary{grid-template-columns:1fr}.product-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.product-choice{min-height:98px;padding:10px}.product-choice .product-name{font-size:12px}.product-choice .product-price{font-size:19px}}.purchase-section-title{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.purchase-section-title .button{flex:none}.purchase-picker{background:#f8faf8;border:1px solid #dce5e0;border-radius:14px;margin-bottom:16px;padding:14px}.purchase-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px;display:grid}.purchase-product-choice{border:1px solid var(--line);text-align:left;touch-action:manipulation;background:#fff;border-radius:11px;flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:72px;padding:11px 34px 10px 11px;display:flex;position:relative}.purchase-product-choice span{overflow-wrap:anywhere;font-size:13px;font-weight:700;line-height:1.3}.purchase-product-choice small{color:var(--muted);font-size:10px}.purchase-product-choice svg{color:#17705a;position:absolute;top:10px;right:10px}.purchase-product-choice.selected{background:#eef7f3;border-color:#7eb4a3}.purchase-product-choice:active{transform:scale(.98)}.purchase-items{gap:10px;display:grid}.purchase-item{border:1px solid var(--line);background:#fff;border-radius:13px;padding:15px}.purchase-item-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.purchase-item-head>div{flex-wrap:wrap;align-items:baseline;gap:10px;min-width:0;display:flex}.purchase-item-head strong{overflow-wrap:anywhere;font-size:14px}.purchase-item-head span{color:var(--brand);font-size:12px;font-weight:700}.purchase-item-head button{color:#a14239;background:#fff1ef;border:0;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.purchase-item-fields{grid-template-columns:1fr .8fr 1.15fr;gap:10px;display:grid}.purchase-item-fields .full{grid-column:1/-1}.money-input{background:#fff;border:1px solid #dfe3de;border-radius:10px;align-items:center;height:44px;display:flex;overflow:hidden}.money-input:focus-within{border-color:#3a7567;box-shadow:0 0 0 3px #26705c1a}.money-input>span{color:var(--muted);padding-left:11px;font-size:13px}.money-input input{height:100%;box-shadow:none!important;border:0!important;border-radius:0!important;padding-left:5px!important}.purchase-empty{width:100%;min-height:130px;color:var(--brand);touch-action:manipulation;background:#fbfcfa;border:1px dashed #b8c9c2;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.purchase-empty strong{font-size:14px}.purchase-empty span{color:var(--muted);font-size:11px}.purchase-summary{gap:13px;display:grid}.purchase-save{width:100%;height:49px;margin-top:2px}@media (max-width:760px){.field input,.field select,.field textarea,.product-search input{font-size:16px}.purchase-section-title{flex-wrap:wrap;align-items:flex-start}.purchase-section-title>div{flex:180px}.purchase-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-item{padding:13px}.purchase-item-fields{grid-template-columns:1fr .75fr 1.15fr;gap:8px}.purchase-summary{margin-top:0}}@media (max-width:360px){.purchase-product-grid{grid-template-columns:1fr}.purchase-item-fields{grid-template-columns:1fr 1fr}.purchase-item-fields .field:nth-child(3),.purchase-item-fields .full{grid-column:1/-1}}.daily-ledger{gap:16px;display:grid}.ledger-toolbar{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.ledger-date{width:min(260px,100%)}.ledger-add-actions{gap:8px;display:flex}.ledger-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.ledger-summary article{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;gap:5px;padding:17px 18px;display:flex}.ledger-summary span{color:var(--muted);font-size:11px}.ledger-summary strong{letter-spacing:-.03em;font-size:22px}.ledger-summary small{color:var(--muted);font-size:9px;line-height:1.4}.ledger-editor{border-color:#c9ddd6;max-width:780px;box-shadow:0 8px 24px #123d3512}.ledger-form-actions{flex-direction:row;gap:8px;display:flex}.daily-records{padding:0;overflow:hidden}.daily-records .panel-head{border-bottom:1px solid var(--line);margin:0;padding:19px 20px 15px}.daily-record-list{display:grid}.daily-record{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:14px 20px;display:grid}.daily-record:last-child{border-bottom:0}.daily-record>div{min-width:0}.daily-record>div>strong{font-size:13px}.daily-record p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:3px 0 0;font-size:11px;overflow:hidden}.daily-record>b{white-space:nowrap;font-size:14px}.record-actions{gap:5px;display:flex}.record-actions button,.record-actions a{border:1px solid var(--line);width:35px;height:35px;color:var(--brand);touch-action:manipulation;background:#fff;border-radius:9px;place-items:center;display:grid}.record-actions button:last-child{color:#a14239;background:#fff7f5}.ledger-icon.purchase{color:#36709e;background:#e8f1fa}.ledger-icon.fixed{color:#76569c;background:#f0ebf8}.ledger-footnote{text-align:center;margin:0}.month-panel .cash-outflow{background:#f4f8f6;border-top:0;border-radius:9px;margin:4px -8px;padding:12px 8px}.month-panel .cash-outflow dd{color:var(--ink)}.finance-stat-row{grid-template-columns:repeat(4,1fr)}.finance-detail-grid{margin-bottom:18px}.finance-equation{margin-top:3px;display:grid}.finance-equation>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:11px 2px;font-size:13px;display:flex}.finance-equation>div span{color:var(--muted)}.finance-equation .deduction b{color:#9b493f}.finance-equation .result{border-bottom:0;padding-top:15px;font-size:15px}.finance-equation .result span,.finance-equation .result b{color:var(--ink);font-weight:750}.finance-check{color:var(--muted);background:#f5f7f5;border-radius:10px;margin:13px 0 0;padding:11px 12px;font-size:11px;line-height:1.55}@media (max-width:640px){.ledger-toolbar{flex-direction:column;align-items:stretch}.ledger-date{width:100%}.ledger-add-actions{grid-template-columns:1fr 1fr;display:grid}.ledger-summary{grid-template-columns:1fr 1fr;gap:8px}.ledger-summary article{padding:14px}.ledger-summary article:last-child{grid-column:1/-1}.ledger-summary strong{font-size:20px}.ledger-form-actions .button{flex:1}.daily-record{grid-template-columns:36px minmax(0,1fr) auto;gap:9px;padding:13px 14px}.daily-record>b{grid-area:2/2/auto/3;margin-top:-6px}.record-actions{grid-area:1/3/3}.record-actions button,.record-actions a{width:38px;height:38px}.finance-stat-row{grid-template-columns:1fr 1fr}}@keyframes page-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translate(0)}}@keyframes card-enter{0%{opacity:0;transform:translateY(6px)scale(.99)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes value-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translate(0)}}@keyframes drawer-enter{0%{opacity:.7;transform:translate(-18px)}to{opacity:1;transform:translate(0)}}@keyframes backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes feedback-enter{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}.content>*{animation:.28s cubic-bezier(.22,1,.36,1) both page-enter}.content>:nth-child(2){animation-delay:25ms}.content>:nth-child(3){animation-delay:45ms}.content>:nth-child(4){animation-delay:65ms}.metric-card,.mini-stat,.ledger-summary article{animation:.32s cubic-bezier(.22,1,.36,1) both card-enter}.metric-grid>:nth-child(2),.stat-row>:nth-child(2),.ledger-summary>:nth-child(2){animation-delay:35ms}.metric-grid>:nth-child(3),.stat-row>:nth-child(3),.ledger-summary>:nth-child(3){animation-delay:65ms}.metric-grid>:nth-child(4),.stat-row>:nth-child(4){animation-delay:90ms}.metric-card strong,.mini-stat strong,.ledger-summary strong,.hero-balance strong,.balance strong{animation:.36s cubic-bezier(.22,1,.36,1) both value-enter}.order-row,.daily-record,.purchase-item,.ledger-row,.simple-product-row,.customer-account-row{animation:.24s ease-out both card-enter}.notice,.success{animation:.24s ease-out both feedback-enter}.drawer-backdrop{will-change:opacity;animation:.18s ease-out both backdrop-enter}.mobile-drawer{will-change:transform,opacity;animation:.24s cubic-bezier(.22,1,.36,1) both drawer-enter}.mobile-drawer nav a{animation:.22s ease-out both page-enter}.mobile-drawer nav a:nth-child(2){animation-delay:20ms}.mobile-drawer nav a:nth-child(3){animation-delay:35ms}.mobile-drawer nav a:nth-child(4){animation-delay:50ms}.mobile-drawer nav a:nth-child(5){animation-delay:65ms}.button,.icon-button,.topbar-back,.menu-trigger,.avatar,.record-actions button,.record-actions a,.segmented button,.product-categories button,.directory-filters button,.purchase-empty,.purchase-item-head button,.mobile-nav a,.mobile-nav button{transition:transform .16s,box-shadow .16s,border-color .16s,background-color .16s,color .16s,opacity .16s}.product-choice,.purchase-product-choice,.stored-customer-card,.simple-product-row,.customer-account-row{transition:transform .18s,box-shadow .18s,border-color .18s,background-color .18s}.field input,.field select,.field textarea,.product-search,.customer-search,.money-input{transition:border-color .16s,box-shadow .16s,background-color .16s}.mobile-nav svg{transition:transform .18s cubic-bezier(.22,1,.36,1)}.mobile-nav .active svg{transform:translateY(-2px)scale(1.08)}@media (hover:hover) and (pointer:fine){.button:hover,.icon-button:hover,.topbar-back:hover,.menu-trigger:hover,.avatar:hover,.record-actions button:hover,.record-actions a:hover{transform:translateY(-1px);box-shadow:0 5px 14px #123d3517}.product-choice:hover,.purchase-product-choice:hover,.stored-customer-card:hover,.simple-product-row:hover,.customer-account-row:hover{transform:translateY(-1px)}}.button:active,.icon-button:active,.topbar-back:active,.menu-trigger:active,.avatar:active,.record-actions button:active,.record-actions a:active,.segmented button:active,.product-categories button:active,.directory-filters button:active,.purchase-empty:active,.purchase-item-head button:active,.mobile-nav a:active,.mobile-nav button:active{transform:scale(.97)}.button:disabled,.icon-button:disabled,.record-actions button:disabled{box-shadow:none;opacity:.56;transform:none}@media (max-width:760px){.content>*{animation-duration:.24s}.button,.mobile-nav a,.mobile-nav button,.topbar-back,.menu-trigger{transition-duration:.13s}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;transition-delay:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}.loading-spinner{border-top-color:#dfe7e3;animation:none!important}}@media print{*,:before,:after{transition:none!important;animation:none!important;transform:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
