:root{color:#1c2824;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17231f;--muted:#66736e;--surface:#fffefa;--surface-soft:#f8f6f0;--line:#dedfd9;--brand:#a54b2a;--brand-dark:#7c321b;--accent:#e8b859;--success:#267357;--danger:#b33b3b;--shadow:0 18px 45px #222b2714;--radius:18px;background:#f4f2ec;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e7ece9;--ink:#e7ece9;--muted:#a6b3ad;--surface:#1b2722;--surface-soft:#202d28;--line:#35443d;--brand:#c76a45;--brand-dark:#efa17f;--accent:#e8b859;--success:#67bd96;--danger:#f0827c;--shadow:0 18px 45px #00000040;background:#111a17}*{box-sizing:border-box}html{background:#f4f2ec;min-width:320px;min-height:100%}body{background:#f4f2ec;min-width:320px;min-height:100vh;margin:0}:root[data-theme=dark] html,:root[data-theme=dark] body{background:#111a17}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent;color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink);letter-spacing:-.025em}h1{margin-bottom:.55rem;font-size:clamp(1.85rem,3.4vw,2.65rem);line-height:1.08}h2{margin-bottom:.35rem;font-size:1.18rem;line-height:1.25}p{line-height:1.55}:focus-visible{outline-offset:2px;outline:3px solid #a54b2a52}::selection{color:#fff;background:var(--brand)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--muted)}.eyebrow{color:var(--brand);letter-spacing:.13em;text-transform:uppercase;margin:0 0 .45rem;font-size:.72rem;font-weight:800}.button{cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:.55rem;min-height:44px;padding:.65rem 1rem;font-weight:750;text-decoration:none;transition:transform .14s,background .14s,border-color .14s,opacity .14s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.48}.button--primary{color:#fff;background:var(--brand);box-shadow:0 8px 18px #a54b2a33}.button--primary:hover:not(:disabled){background:var(--brand-dark)}.button--secondary{color:var(--brand-dark);background:#fff;border-color:#d9c9c0}.button--ghost{color:var(--ink);border-color:var(--line);box-shadow:none;background:0 0}.button--danger{color:#fff;background:var(--danger)}.button--danger-ghost{color:var(--danger);background:0 0;border-color:#ebc7c7}.button--large{min-height:50px;padding-inline:1.25rem}.button--full{width:100%}.text-button{min-width:44px;min-height:44px;color:var(--brand-dark);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:.35rem .5rem;font-weight:750;text-decoration:none;display:inline-flex}.text-button:disabled{color:#9ca4a1;cursor:not-allowed}.icon-button{color:#4a5551;cursor:pointer;background:#f0efea;border:0;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;font-size:1.45rem;display:inline-grid}.icon-button--danger{color:var(--danger);background:#fff3f1}.mobile-header__actions{align-items:center;gap:.3rem;display:flex}.theme-toggle{justify-content:flex-start}.theme-toggle>span{place-items:center;width:1.4rem;font-size:1.15rem;display:inline-grid}.spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:1.05rem;height:1.05rem;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh}.sidebar{display:none}.app-shell__content{min-height:100vh}.app-main{width:min(100%,1500px);margin:0 auto;padding:1.4rem 1rem 6.6rem}.mobile-header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:20;background:#fffefaf0;justify-content:space-between;align-items:center;min-height:66px;padding:.7rem 1rem;display:flex;position:sticky;top:0}.brand,.auth-brand,.full-page-state__brand{align-items:center;gap:.7rem;display:flex}.brand>span:last-child,.user-summary>span:last-child{min-width:0;display:grid}.brand small,.user-summary small{color:#aeb6b2;font-size:.74rem}.brand__mark,.auth-brand>span,.receipt__logo{color:#fff;background:var(--brand);border-radius:11px;place-items:center;width:38px;height:38px;font-family:Georgia,serif;font-size:1.25rem;font-weight:800;display:grid;box-shadow:0 7px 16px #00000029}.bottom-nav{height:calc(70px + env(safe-area-inset-bottom));padding:.45rem .55rem env(safe-area-inset-bottom);z-index:30;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffefaf7;grid-template-columns:repeat(3,1fr);align-items:start;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav__item{color:#6a756f;border-radius:12px;align-content:center;place-items:center;gap:.1rem;min-height:58px;text-decoration:none;display:grid}.bottom-nav__icon{width:20px;height:20px}.bottom-nav__item small{font-size:.72rem;font-weight:700}.bottom-nav__item--active{color:var(--brand-dark);background:#f9e9e1}.offline-banner{color:#5d4714;text-align:center;background:#fff2c7;justify-content:center;align-items:center;gap:.5rem;min-height:38px;padding:.45rem 1rem;font-size:.82rem;font-weight:700;display:flex}.offline-banner span{background:#c99110;border-radius:50%;width:8px;height:8px}.page-header{flex-direction:column;gap:1rem;margin-bottom:1.35rem;display:flex}.page-header__description{color:var(--muted);max-width:650px;margin:0}.page-header__actions{gap:.65rem;display:flex}.toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.2rem;display:flex}.pagination-bar{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem 1rem;margin-top:1rem;font-size:.84rem;font-weight:650;display:flex}.search-field{border:1px solid var(--line);color:#7b8580;background:var(--surface);border-radius:13px;flex:260px;align-items:center;gap:.55rem;min-height:46px;padding:0 .85rem;display:flex;box-shadow:0 3px 10px #242d2906}.search-field--full{width:100%}.search-field input{width:100%;min-width:0;height:44px;color:var(--ink);background:0 0;border:0;outline:0}.date-filter{border:1px solid var(--line);color:#66716c;background:var(--surface);border-radius:13px;align-items:center;gap:.55rem;min-height:46px;padding:0 .75rem;font-size:.82rem;font-weight:700;display:flex}.date-filter input{min-height:44px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0}.check-control,.switch-control{color:#59645f;cursor:pointer;align-items:center;gap:.55rem;min-height:44px;font-size:.88rem;font-weight:650;display:flex}.check-control input{width:18px;height:18px;accent-color:var(--brand)}.account-grid{grid-template-columns:1fr;gap:.9rem;display:grid}.account-card{border-radius:var(--radius);min-width:0;color:inherit;background:var(--surface);border:1px solid #e0dfd8;gap:1rem;padding:1.15rem;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s;display:grid;box-shadow:0 8px 24px #1d27230b}.account-card:hover{box-shadow:var(--shadow);border-color:#cbbdb3;transform:translateY(-2px)}.account-card__top,.account-card__meta,.account-card__total{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.account-card__type{color:var(--muted);text-transform:uppercase;margin:0 0 .25rem;font-size:.78rem;font-weight:700}.account-card h2{margin:0;font-size:1.3rem}.account-card__meta{color:var(--muted);font-size:.78rem}.account-card__total{border-top:1px solid #ecebe5;padding-top:.85rem}.account-card__total span{color:var(--muted);font-size:.82rem}.account-card__total strong{font-size:1.3rem}.reference-icon{width:38px;height:38px;color:var(--brand-dark);background:#f8e7dc;border-radius:12px;place-items:center;font-weight:850;display:grid}.status-badge,.stock-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:.35rem;width:fit-content;padding:.32rem .62rem;font-size:.72rem;font-weight:800;display:inline-flex}.status-badge--open,.status-badge--active{color:#176548;background:#e1f3eb}.status-badge--closed{color:#43514c;background:#e7eae8}.status-badge--cancelled,.status-badge--inactive{color:#806f68;background:#eee9e6}.stock-badge{color:#265a48;background:#e8f2ed}.stock-badge--low{color:#9a481f;background:#fff0df}.data-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden;box-shadow:0 8px 24px #1d27230a}.responsive-table{overflow-x:auto}table{border-collapse:collapse;width:100%}th{color:#69746f;letter-spacing:.06em;text-align:left;text-transform:uppercase;background:#f7f6f1;padding:.85rem 1rem;font-size:.71rem;font-weight:800}td{color:#35413c;vertical-align:middle;border-top:1px solid #ecece6;padding:1rem}td strong{color:var(--ink)}td small{color:var(--muted);margin-top:.15rem;display:block}.row-actions{white-space:nowrap;justify-content:flex-end;gap:.2rem;display:flex}.field{color:#36423d;gap:.42rem;min-width:0;font-size:.86rem;font-weight:700;display:grid}.field>span small{color:#87908c;font-weight:500}.field input,.field select,.field textarea{width:100%;min-height:46px;color:var(--ink);background:#fff;border:1px solid #d5d7d1;border-radius:11px;outline:none;padding:.7rem .8rem;font-weight:500;transition:border-color .14s,box-shadow .14s}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #a54b2a1f}.form-stack{gap:1rem;display:grid}.form-grid{grid-template-columns:1fr;gap:1rem;display:grid}.field--wide{grid-column:1/-1}.input-prefix{background:#fff;border:1px solid #d5d7d1;border-radius:11px;align-items:center;display:flex;overflow:hidden}.input-prefix>span{color:var(--muted);padding-left:.8rem}.input-prefix input{border:0;box-shadow:none!important}.switch-control input{opacity:0;position:absolute}.switch-control>span{background:#c8cecb;border-radius:999px;width:43px;height:24px;transition:background .15s;position:relative}.switch-control>span:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 2px 5px #0003}.switch-control input:checked+span{background:var(--success)}.switch-control input:checked+span:after{transform:translate(19px)}.segmented{background:#efeee8;border:0;border-radius:12px;grid-template-columns:1fr 1fr;gap:.35rem;margin:0;padding:.3rem;display:grid}.segmented label{min-height:44px;color:var(--muted);cursor:pointer;border-radius:9px;place-items:center;font-weight:750;display:grid}.segmented label.segmented__active{color:var(--brand-dark);background:#fff;box-shadow:0 2px 8px #1e272314}.segmented input{opacity:0;position:absolute}.alert{border-radius:12px;padding:.75rem .9rem;font-size:.87rem;line-height:1.45}.alert--error{color:#852f2f;background:#fff1ef;border:1px solid #efc8c5}.alert--info{color:#2c5a71;background:#eff9fd;border:1px solid #c8e0eb}.success-panel{color:#205d46;background:#eef8f3;border:1px solid #c1dfd1;border-radius:14px;padding:1rem}.success-panel p{margin:.25rem 0 0}.modal{width:calc(100% - 1.4rem);max-height:calc(100dvh - 1.4rem);color:inherit;background:0 0;border:0;border-radius:20px;margin:auto;padding:0;overflow:visible}.modal--small{max-width:470px}.modal--medium{max-width:660px}.modal--large{max-width:900px}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0d1613a8}.modal__surface{background:var(--surface);border-radius:20px;max-height:calc(100dvh - 1.4rem);overflow:auto;box-shadow:0 25px 80px #0000004d}.modal__header{border-bottom:1px solid #e8e7e1;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.15rem 1.15rem .9rem;display:flex}.modal__header h2{margin:0 0 .2rem;font-size:1.25rem}.modal__header p{color:var(--muted);margin:0;font-size:.85rem}.modal__body{padding:1.15rem}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;padding-top:.3rem;display:flex}.state-panel{border-radius:var(--radius);min-height:270px;color:var(--muted);text-align:center;background:#ffffff80;border:1px dashed #d4d5cf;align-content:center;place-items:center;gap:.85rem;padding:2rem 1rem;display:grid}.state-panel>div:not(.state-panel__icon){max-width:440px}.state-panel h2{margin-bottom:.3rem}.state-panel p{margin:0}.state-panel--compact{background:0 0;border:0;min-height:180px}.state-panel__icon{border-radius:50%;place-items:center;width:48px;height:48px;font-size:1.45rem;font-weight:850;display:grid}.state-panel__icon--loading{color:var(--brand);background:#f7e8e0}.state-panel__icon--empty{color:#65736d;background:#e9ecea}.state-panel__icon--error{color:var(--danger);background:#fbe7e5}.full-page-state{background:radial-gradient(circle at 0 0,#f6e8db,#0000 42%),#f4f2ec;align-content:center;place-items:center;gap:1.5rem;min-height:100vh;padding:1rem;display:grid}.full-page-state .state-panel{background:var(--surface);width:min(100%,600px);box-shadow:var(--shadow)}.full-page-state__brand span{color:#fff;background:var(--brand);border-radius:10px;place-items:center;width:34px;height:34px;font-family:Georgia,serif;display:grid}.toast-region{z-index:100;gap:.55rem;width:min(420px,100% - 1.5rem);display:grid;position:fixed;top:.8rem;right:.75rem}.toast{background:#fff;border:1px solid #d9ddd9;border-radius:13px;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;padding:.72rem .8rem;font-size:.86rem;display:grid;box-shadow:0 14px 38px #17231f29}.toast__marker{background:#52736a;border-radius:50%;width:9px;height:9px}.toast--success .toast__marker{background:var(--success)}.toast--error .toast__marker{background:var(--danger)}.toast button{cursor:pointer;background:#f2f2ee;border:0;border-radius:50%;width:44px;height:44px}.auth-page{background:#f7f5ef;min-height:100vh;display:grid}.auth-hero{display:none}.auth-panel,.simple-auth-page{place-items:center;min-height:100vh;padding:1rem;display:grid}.auth-card{gap:1.4rem;width:min(100%,430px);padding:1.2rem;display:grid}.auth-card--standalone{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;padding:1.5rem}.auth-card h1,.auth-card h2{margin-bottom:.45rem;font-size:1.85rem}.auth-card .muted{margin:0}.auth-link{width:fit-content;min-height:44px;color:var(--brand-dark);align-items:center;margin:auto;font-size:.88rem;font-weight:750;display:inline-flex}.auth-hero__badge{color:#efd6bd;letter-spacing:.08em;text-transform:uppercase;border:1px solid #ffffff40;border-radius:999px;width:fit-content;padding:.4rem .7rem;font-size:.75rem;font-weight:800}.auth-hero__metrics{gap:2.5rem;display:flex}.auth-hero__metrics span{color:#d4ddd9;font-size:.8rem;display:grid}.auth-hero__metrics strong{color:#fff;font-size:1.5rem}.detail-header{flex-direction:column;gap:1rem;margin-bottom:1.2rem;display:flex}.back-link{width:fit-content;color:var(--brand-dark);margin-bottom:1rem;font-size:.85rem;font-weight:750;text-decoration:none;display:inline-flex}.detail-header__total{justify-items:start;gap:.25rem;display:grid}.detail-header__total>span:first-child{color:var(--muted);font-size:.78rem}.detail-header__total>strong{font-size:1.75rem}.account-workspace{gap:1rem;margin-top:1rem;display:grid}.bill-panel,.product-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;padding:1rem;box-shadow:0 8px 26px #1d27230a}.section-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.section-heading h2{margin:0}.section-heading>span{color:var(--muted);font-size:.78rem}.bill-list{display:grid}.bill-line{border-top:1px solid #ecebe5;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.65rem;min-width:0;padding:.9rem 0;display:grid}.bill-line:first-child{border-top:0}.bill-line__main{min-width:0;display:grid}.bill-line__main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bill-line__main small{color:var(--muted);margin-top:.2rem}.bill-line__total{text-align:right}.bill-line>.icon-button{grid-column:3;width:44px;min-width:44px;height:44px}.quantity-control{border:1px solid var(--line);border-radius:10px;grid-template-columns:44px minmax(32px,auto) 44px;align-items:center;display:grid;overflow:hidden}.quantity-control button{cursor:pointer;background:#f4f3ee;border:0;width:44px;height:44px;font-size:1.15rem}.quantity-control button:disabled{opacity:.4}.quantity-control span{place-items:center;font-weight:800;display:grid}.bill-summary{border-top:2px solid var(--ink);justify-content:space-between;align-items:center;margin-top:.8rem;padding:1rem 0 0;display:flex}.bill-summary span{font-weight:750}.bill-summary strong{font-size:1.55rem}.payment-history{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.payment-history h3{margin:0 0 .6rem;font-size:1rem}.payment-history ul{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.payment-history li{color:var(--muted);justify-content:space-between;gap:.75rem;font-size:.85rem;display:flex}.payment-history li strong{color:var(--ink);flex:none}.bill-actions{flex-wrap:wrap;justify-content:space-between;gap:.7rem;margin-top:1rem;display:flex}.bill-actions__close{margin-inline-start:auto}.product-picker{gap:.55rem;max-height:560px;margin-top:.8rem;display:grid;overflow:auto}.product-option{width:100%;min-height:66px;color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e2dc;border-radius:13px;justify-content:space-between;align-items:center;gap:.8rem;padding:.75rem;display:flex}.product-option:hover:not(:disabled){background:#fdf7f2;border-color:#caaa99}.product-option:disabled{cursor:not-allowed;opacity:.48}.product-option>span{min-width:0;display:grid}.product-option small{color:var(--muted);margin-top:.15rem}.product-option>strong{color:var(--brand-dark);white-space:nowrap}.product-picker__empty{text-align:center;padding:2rem .5rem}.calculated-total,.close-summary{background:#f2f1eb;border-radius:12px;justify-content:space-between;align-items:center;padding:.85rem;display:flex}.close-summary{grid-template-columns:1fr auto;gap:.2rem;margin-bottom:1rem;display:grid}.close-summary strong{font-size:1.35rem}.close-summary small{color:var(--muted);grid-column:1/-1}.receipt-page{max-width:900px;margin:0 auto}.receipt-toolbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.receipt-toolbar .back-link{margin:0}.receipt{max-width:800px;box-shadow:var(--shadow);background:#fff;border:1px solid #d9d9d2;margin:auto;padding:clamp(1.2rem,5vw,3rem)}.receipt__header{border-bottom:2px solid var(--ink);align-items:flex-start;gap:1rem;padding-bottom:1.5rem;display:flex}.receipt__logo{border-radius:14px;flex:0 0 50px;width:50px;height:50px;font-size:1.5rem}.receipt__header h1{margin:0 0 .3rem;font-size:1.55rem}.receipt__header p{color:var(--muted);margin:.08rem 0;font-size:.8rem}.receipt__title{grid-template-columns:1fr 1fr;gap:1rem;padding:1.3rem 0;display:grid}.receipt__title>div{gap:.2rem;display:grid}.receipt__title span,.receipt__reference dt{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.7rem;font-weight:800}.receipt__reference{background:#f4f3ef;border-radius:10px;grid-template-columns:1fr 1fr;gap:1rem;margin:0 0 1.5rem;padding:.85rem;display:grid}.receipt__reference div{gap:.15rem;display:grid}.receipt__reference dd{margin:0;font-weight:750}.receipt__items th{padding-inline:.5rem}.receipt__items td{padding:.8rem .5rem}.receipt__items th:nth-child(n+2),.receipt__items td:nth-child(n+2){text-align:right}.receipt__total{border-top:2px solid var(--ink);justify-content:flex-end;align-items:baseline;gap:2rem;padding:1.2rem 0;display:flex}.receipt__total span{font-weight:750}.receipt__total strong{font-size:1.8rem}.receipt__footer{color:var(--muted);text-align:center;padding-top:1.5rem}.receipt__footer p{margin:.2rem 0 0;font-size:.78rem}@media (width>=560px){.app-main{padding-inline:1.5rem}.page-header{flex-direction:row;justify-content:space-between;align-items:flex-end}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-header{flex-direction:row;justify-content:space-between;align-items:flex-end}.detail-header__total{justify-items:end}.form-grid{grid-template-columns:1fr 1fr}.bill-line{grid-template-columns:minmax(0,1fr) auto 105px 44px}.bill-line>.icon-button{grid-column:auto}}@media (width>=768px){.auth-page{grid-template-columns:minmax(330px,.9fr) minmax(430px,1.1fr)}.auth-hero{color:#fff;background:linear-gradient(145deg,#12201bc7,#12201bfa),radial-gradient(circle at 20% 10%,#bf6a3e,#0000 42%),#17231f;align-items:end;min-height:100vh;padding:clamp(2rem,6vw,5rem);display:grid}.auth-hero__content{gap:1.7rem;max-width:580px;display:grid}.auth-hero h1{color:#fff;letter-spacing:-.045em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.8rem,6vw,5.8rem);font-weight:500;line-height:.98}.auth-hero p{color:#d9e1de;max-width:510px;font-size:1.02rem}.auth-card{padding:2rem}.account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=1024px){.app-shell{grid-template-columns:248px minmax(0,1fr);display:grid}.sidebar{color:#eef2f0;background:var(--ink);flex-direction:column;height:100vh;padding:1.35rem 1rem;display:flex;position:sticky;top:0}.sidebar .brand{padding:.15rem .4rem 1.35rem}.sidebar__nav{gap:.3rem;display:grid}.nav-item{color:#b9c3bf;border-radius:12px;align-items:center;gap:.8rem;min-height:47px;padding:.7rem .8rem;font-weight:700;text-decoration:none;display:flex}.nav-item__icon{flex:0 0 25px}.nav-item:hover{color:#fff;background:#ffffff0f}.nav-item--active{color:#fff;background:#e8b85924}.sidebar__footer{border-top:1px solid #ffffff1a;gap:.85rem;margin-top:auto;padding-top:1rem;display:grid}.user-summary{align-items:center;gap:.65rem;min-width:0;display:flex}.user-summary__avatar{color:#43240f;background:var(--accent);border-radius:50%;flex:0 0 38px;place-items:center;width:38px;height:38px;font-weight:850;display:grid}.user-summary strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;max-width:150px;font-size:.86rem;overflow:hidden}.sidebar .button--ghost{color:#d9e0dd;border-color:#ffffff24}.mobile-header,.bottom-nav{display:none}.app-main{padding:2.5rem clamp(2rem,4vw,4rem) 3rem}.account-workspace{grid-template-columns:minmax(0,1.35fr) minmax(330px,.75fr);align-items:start}.product-panel{position:sticky;top:1.2rem}.bill-panel,.product-panel{padding:1.25rem}}@media (width<=700px){.responsive-table{overflow:visible}.responsive-table table,.responsive-table thead,.responsive-table tbody,.responsive-table tr,.responsive-table th,.responsive-table td{display:block}.responsive-table thead{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.responsive-table tbody{gap:.65rem;padding:.65rem;display:grid}.responsive-table tr{background:#fff;border:1px solid #e3e3dd;border-radius:13px;padding:.75rem}.responsive-table td{text-align:right;border:0;justify-content:space-between;align-items:center;gap:1rem;min-height:34px;padding:.35rem 0;display:flex}.responsive-table td:before{content:attr(data-label);color:var(--muted);text-align:left;text-transform:uppercase;font-size:.72rem;font-weight:750}.responsive-table td:first-child{align-items:flex-start}.responsive-table .row-actions{border-top:1px solid #ecece7;justify-content:flex-end;padding-top:.65rem}.responsive-table .row-actions:before{content:none}.receipt__items{font-size:.78rem}.receipt__items th,.receipt__items td{padding-inline:.25rem}.receipt__items th:nth-child(3),.receipt__items td:nth-child(3){display:none}}@media print{@page{size:A4;margin:12mm}:root,html,body{color:#000;background:#fff}.no-print,.sidebar,.bottom-nav,.mobile-header,.offline-banner{display:none!important}.app-shell,.app-shell__content,.app-main,.receipt-page{width:100%;min-height:0;margin:0;padding:0;display:block}.receipt{max-width:none;min-height:0;box-shadow:none;border:0;margin:0;padding:0}.receipt__items tr,.receipt__header,.receipt__total{break-inside:avoid}.receipt__items thead{display:table-header-group}.receipt__footer{margin-top:1.5rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root[data-theme=dark] .button--secondary,:root[data-theme=dark] .field input,:root[data-theme=dark] .field select,:root[data-theme=dark] .field textarea,:root[data-theme=dark] .input-prefix,:root[data-theme=dark] .account-card,:root[data-theme=dark] .data-card,:root[data-theme=dark] .bill-panel,:root[data-theme=dark] .product-panel,:root[data-theme=dark] .product-option,:root[data-theme=dark] .modal__surface,:root[data-theme=dark] .segmented label.segmented__active,:root[data-theme=dark] .toast{color:var(--ink);background:var(--surface-soft);border-color:var(--line)}:root[data-theme=dark] .product-option{color:var(--ink);border-color:var(--line);background:#25332d}:root[data-theme=dark] .product-option:hover:not(:disabled){background:#302b26;border-color:#91644f}:root[data-theme=dark] .product-option>strong{color:#f1a17e}:root[data-theme=dark] .product-option small{color:var(--muted)}:root[data-theme=dark] .calculated-total,:root[data-theme=dark] .close-summary,:root[data-theme=dark] .receipt__reference{color:var(--ink);background:#25332d}:root[data-theme=dark] .receipt{color:#1c2824;background:#fff;border-color:#d9d9d2}:root[data-theme=dark] .receipt h1,:root[data-theme=dark] .receipt h2,:root[data-theme=dark] .receipt strong,:root[data-theme=dark] .receipt dd,:root[data-theme=dark] .receipt td{color:#1c2824}:root[data-theme=dark] .receipt__header{border-color:#1c2824}:root[data-theme=dark] .receipt__items th{color:#fff;background:#1d302a}:root[data-theme=dark] .receipt__items td{color:#35413c}:root[data-theme=dark] .receipt__total{border-color:#1c2824}:root[data-theme=dark] .receipt__footer,:root[data-theme=dark] .receipt__header p,:root[data-theme=dark] .receipt__title span,:root[data-theme=dark] .receipt__reference dt{color:#66736e}:root[data-theme=dark] .auth-page{color:var(--ink);background:#111a17}:root[data-theme=dark] .auth-panel,:root[data-theme=dark] .simple-auth-page{background:#111a17}:root[data-theme=dark] .auth-card{color:var(--ink)}:root[data-theme=dark] .auth-card--standalone{border-color:var(--line);background:var(--surface)}:root[data-theme=dark] .auth-brand strong,:root[data-theme=dark] .auth-card h1,:root[data-theme=dark] .auth-card h2{color:var(--ink)}:root[data-theme=dark] .auth-card .muted{color:var(--muted)}:root[data-theme=dark] .auth-hero{background:linear-gradient(145deg,#12201bc7,#12201bfa),radial-gradient(circle at 20% 10%,#bf6a3e,#0000 42%),#17231f}:root[data-theme=dark] .responsive-table tr{color:var(--ink);border-color:var(--line);background:#202d28}:root[data-theme=dark] .account-card__total,:root[data-theme=dark] .row-actions,:root[data-theme=dark] .bill-line{border-color:var(--line)}:root[data-theme=dark] .account-card__type,:root[data-theme=dark] .account-card__meta,:root[data-theme=dark] .account-card__total span,:root[data-theme=dark] td,:root[data-theme=dark] .field,:root[data-theme=dark] .check-control,:root[data-theme=dark] .date-filter,:root[data-theme=dark] .search-field,:root[data-theme=dark] .back-link,:root[data-theme=dark] .text-button{color:var(--muted)}:root[data-theme=dark] .reference-icon{color:#f1b295;background:#3d302a}:root[data-theme=dark] .segmented,:root[data-theme=dark] .quantity-control{border-color:var(--line);background:#25332d}:root[data-theme=dark] .state-panel{border-color:var(--line);background:#1b2722b8}:root[data-theme=dark] .mobile-header,:root[data-theme=dark] .bottom-nav{background:#1b2722f7}:root[data-theme=dark] .sidebar{color:#e7ece9;background:#19251f}:root[data-theme=dark] .sidebar .nav-item{color:#b8c5be}:root[data-theme=dark] .sidebar .nav-item--active{color:#fff;background:#e8b8592e}:root[data-theme=dark] .bottom-nav__item,:root[data-theme=dark] .icon-button,:root[data-theme=dark] .quantity-control button{color:var(--muted);background:#25332d}:root[data-theme=dark] .bottom-nav__item--active{color:#f1b295;background:#3d302a}:root[data-theme=dark] th,:root[data-theme=dark] .segmented,:root[data-theme=dark] .toast button{color:var(--muted);background:#25332d}:root[data-theme=dark] td,:root[data-theme=dark] .field,:root[data-theme=dark] .check-control,:root[data-theme=dark] .date-filter,:root[data-theme=dark] .search-field{color:var(--ink)}:root[data-theme=dark] .status-badge--open,:root[data-theme=dark] .status-badge--active,:root[data-theme=dark] .stock-badge{color:#a1dfbf;background:#214334}:root[data-theme=dark] .status-badge--closed{color:#cad2ce;background:#35423d}:root[data-theme=dark] .status-badge--cancelled,:root[data-theme=dark] .status-badge--inactive{color:#c6b9b3;background:#3b3330}:root[data-theme=dark] .stock-badge--low{color:#ffc08a;background:#483522}:root[data-theme=dark] .alert--error{color:#ffb5af;background:#3a2423;border-color:#74413e}:root[data-theme=dark] .alert--info{color:#a8d8ed;background:#1d3440;border-color:#36596a}:root[data-theme=dark] .success-panel{color:#a1dfbf;background:#1e3629;border-color:#345d48}
