:root{--ink: #182f29;--brand: #17634e;--deep: #123f35;--mint: #dcefe3;--line: #d6ded8;--bg: #f4f6f2;font-family:Inter,Helvetica Neue,Arial,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:inherit;border-radius:8px;padding:.64rem .85rem;display:inline-flex;align-items:center;justify-content:center;gap:.55rem}button:hover{background:#edf5ed}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #69b998;outline-offset:2px}.primary{background:var(--brand);color:#fff;font-weight:650;border:0;padding:.9rem}.primary:hover{background:var(--deep)}input:not([type=checkbox]),select{min-width:0;width:100%;border:1px solid #c8d3cd;border-radius:8px;padding:.78rem;background:#fff;color:inherit}label{display:block;font-size:.88rem;font-weight:600}label>input,label>select,.password{margin-top:.4rem}label>input[type=checkbox]{width:auto}p,small{color:#556b61}h1,h2,h3,h4,p{margin:0 0 1rem}h1,h2{letter-spacing:-.045em}h3{letter-spacing:-.025em}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.cover{background:var(--deep);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(32px,5vw,88px);position:relative;overflow:hidden}.brand{font-weight:750;letter-spacing:-.055em;font-size:1.65rem;display:flex;align-items:center;gap:.6rem}.brand>span,.icon{background:#dcf2bf;color:#164938;border-radius:11px;display:grid;place-items:center;width:42px;height:42px}.cover h1{font-size:clamp(3.5rem,6.2vw,7rem);line-height:.97;font-weight:500}.cover em{font-family:Georgia,serif;font-weight:400;color:#d4edb6}.cover p{color:#c1d8cd}.art{width:min(75%,320px);align-self:center;margin:3rem 0;transform:rotate(-6deg);filter:drop-shadow(12px 18px 0 #0c332b)}.awning{height:65px;display:flex;transform:perspective(250px) rotateX(20deg);position:relative;z-index:1}.awning i{flex:1;border-radius:6px 6px 18px 18px;background:#d2e9b7}.awning i:nth-child(2n){background:#72a688}.storefront{width:91%;margin:-16px auto 0;background:#e7e5cb;height:140px;padding:32px 15px 8px;display:flex;gap:12px}.window,.door{background:linear-gradient(120deg,#90b4a6 45%,#b7d1c1 46% 56%,#90b4a6 57%);border:6px solid #3c6957}.window{width:65%;height:78%;display:flex;gap:5px;align-items:flex-end;padding:6px}.window b{width:24%;height:45%;background:#d9aa69}.window b:nth-child(2){height:68%;background:#bd7961}.door{flex:1}.step{height:11px;background:#a5b6a1;border-radius:2px}.auth{background:#fcfdf9;display:grid;place-items:center;padding:40px}.auth>div{width:min(100%,390px)}.auth h2{font-size:2.25rem;margin:1rem 0 .3rem}.auth form,.form{display:grid;gap:1rem}.auth h4{margin:1.8rem 0 .8rem;font-size:.85rem}.password{display:flex;position:relative}.password button{position:absolute;right:2px;top:2px;bottom:2px;border:0}.password svg{width:17px}.access{width:100%;justify-content:flex-start;margin:.22rem 0;padding:.72rem 1rem}.access>svg:first-child{width:20px;color:var(--brand)}.access span{flex:1;text-align:left}.access small,.tile small{display:block;font-size:.76rem}.shell{display:flex;min-height:100vh}.sidebar{width:224px;background:var(--deep);color:#fff;padding:25px 15px;display:flex;flex-direction:column;gap:1rem}.sidebar button{color:#d4e5da;border:0;background:transparent;justify-content:flex-start}.sidebar button.selected{background:#d5ebc3;color:var(--ink)}nav{display:grid;gap:.25rem}.shop{display:flex;gap:.6rem;padding:1rem 0;border-bottom:1px solid #496d61}.workspace{flex:1;min-width:0;padding:clamp(16px,3vw,48px)}header,.row,.filters,footer{display:flex;gap:.8rem;align-items:center}header{justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:2rem}.workspace h1{font-size:2.2rem}.panel,.tile,.table{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.2rem;margin:.6rem 0}.form{align-content:start}.grid,.stats,.tiles{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));align-items:start}.pos{display:grid;gap:1rem;grid-template-columns:3fr 2fr;align-items:start}.search,.tile span,.form h3{display:flex;align-items:center;gap:.5rem}.tile{align-items:stretch;flex-direction:column;text-align:left;margin:0;min-height:105px}.tile span{justify-content:space-between;color:var(--brand)}.tiles{margin:1rem 0}.row input{max-width:70px}.table{overflow:auto;padding:.5rem}table{border-collapse:collapse;width:100%;text-align:left;font-size:.88rem}td,th{padding:.75rem;border-bottom:1px solid var(--line)}th{color:#5b7066}.message,[role=alert]{background:#fff0cd;padding:.8rem;border-radius:8px;color:#61411c}.overlay{position:fixed;inset:0;background:#10251e99;display:grid;place-items:center;z-index:9}.modal{background:#fff;max-height:90vh;max-width:98vw;overflow:auto;padding:1rem;border-radius:10px}.ticket{background:#fff;max-width:100%;overflow-wrap:anywhere;font:13px/1.5 monospace}.ticket.compact{font-size:11px;line-height:1.2}.ticket b{float:right}.ticket h4{margin:.5rem 0}.ticket img{max-width:100%}.filters{flex-wrap:wrap}.table button{font-size:.8rem;margin:2px}details{margin:1rem 0}summary{cursor:pointer}@media(max-width:780px){.login{grid-template-columns:1fr}.cover{padding:22px}.cover>.art,.cover>div:last-child{display:none}.auth{padding:28px 20px;align-items:start}.shell{display:block}.sidebar{width:100%;padding:12px;gap:8px}.sidebar nav{display:flex;overflow-x:auto}.sidebar nav button{white-space:nowrap}.sidebar>.shop{display:none}.sidebar>button{position:absolute;right:12px;top:13px}.pos{grid-template-columns:1fr}.tiles{grid-template-columns:repeat(2,1fr)}.workspace{padding:15px}.workspace header{margin-bottom:1rem}.login{min-height:100dvh;grid-template-rows:auto 1fr}.auth .icon{display:none}}@media print{body,.shell,.overlay,.modal{background:#fff;display:block;position:static;margin:0;padding:0;max-height:none;overflow:visible}.workspace,.sidebar,.modal footer{display:none}.ticket{max-width:none;color:#000}.modal{border:0}}.checkout-dialog{width:min(28rem,calc(100vw - 2rem));max-height:90dvh;padding:1.4rem;color:var(--ink);border:1px solid var(--line);border-radius:14px}.checkout-dialog::backdrop{background:#10251e99}.checkout-dialog footer{flex-wrap:wrap;justify-content:space-between}.line-total{display:block}.preview-heading{padding-bottom:.75rem;border-bottom:1px solid var(--line)}.preview-heading h3{margin-bottom:.25rem}@media print{.preview-heading{display:none}}.toast-stack{position:fixed;z-index:1000;inset:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) auto auto;width:min(25rem,calc(100vw - 2rem));display:grid;gap:.5rem;max-height:40dvh;overflow:auto;pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:center;gap:.65rem;padding:.75rem .85rem;background:#fff;border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:9px;box-shadow:0 5px 18px #142a232b;color:var(--ink);font-size:.93rem}.toast.error{border-left-color:#af3d2d}.toast.error>svg{color:#af3d2d}.toast.success>svg{color:var(--brand)}.toast.info{border-left-color:#416d96}.toast>svg{flex-shrink:0}.toast span{flex:1}.toast button{padding:.45rem;border:0}.toast [role=alert]{background:none;padding:0;color:inherit}@media print{.toast-stack{display:none!important}}.customer-picker [role=listbox]:not([hidden]){display:grid;margin-top:.35rem;border:1px solid var(--line);border-radius:8px;overflow:hidden}.customer-picker [role=option]{display:flex;justify-content:space-between;gap:.7rem;text-align:left;border:0;border-radius:0;min-height:44px}.customer-picker [aria-selected=true]{background:var(--mint)}.cash-change{padding:1rem;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.cash-change p{display:flex;justify-content:space-between;margin:.75rem 0 0;color:var(--ink)}.cash-change p:first-child{margin:0 0 .75rem}.section-switch{display:flex;flex-wrap:wrap;gap:.25rem;border-bottom:1px solid var(--line);margin-bottom:1.2rem}.section-switch button{border:0;border-bottom:3px solid transparent;border-radius:5px 5px 0 0;background:transparent;padding:.75rem .9rem;color:#52655b}.section-switch button[aria-pressed=true]{background:#e6efe8;border-color:var(--brand);color:var(--deep);font-weight:700}.list-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:1rem}.list-tools input[type=search]{width:min(100%,24rem)}.list-tools .primary{margin-left:auto}.module-editor{width:min(36rem,calc(100vw - 1.5rem))}.module-editor header{margin-bottom:1rem}.module-editor h2{margin:0;font-size:1.45rem}.module-editor .form{margin:0;padding:0;border:0}.empty-list{text-align:center;padding:1.5rem .5rem;margin:0}.subline{display:block;margin-top:.25rem}.doc-state{display:inline-block;border:1px solid var(--line);border-radius:5px;padding:.25rem .5rem;background:var(--bg);font-size:.85rem}.sale-options{margin:.4rem 0}.sale-options summary{color:var(--brand)}@media(min-width:600px){.module-editor .form:has(input[name=price]){grid-template-columns:1fr 1fr}.module-editor .form>.primary{grid-column:1/-1}}@media(max-width:720px){.records{background:transparent;border:0;padding:0}.records table,.records tbody{display:block}.records thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.records tr{display:grid;gap:.4rem;background:#fff;border:1px solid var(--line);border-radius:12px;padding:.9rem;margin-bottom:.7rem}.records td{display:grid;grid-template-columns:minmax(6rem,35%) minmax(0,1fr);gap:.6rem;align-items:start;border:0;padding:.1rem;overflow-wrap:anywhere}.records td:before{content:attr(data-label);font-size:.8rem;color:#586a60}.records td:has(.subline){display:block}.records td:has(.subline):before{display:block}.records td:last-child:has(button){border-top:1px solid var(--line);padding-top:.5rem}.section-switch button{padding:.65rem}.list-tools input[type=search]{flex:1 1 12rem}.list-tools button{flex-grow:1}}.new-document{align-self:end;margin-left:auto}.row-actions{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.row-actions details{width:100%}button.icon-action{width:2.65rem;height:2.65rem;min-width:2.65rem;padding:0;margin:0}.actions-popover{position:fixed;inset:auto;margin:0;padding:.35rem;border:1px solid var(--line);border-radius:10px;box-shadow:0 7px 28px #102b2429;max-height:75dvh;max-width:calc(100vw - 16px);color:var(--ink)}.actions-popover button{display:block;width:100%;margin:0;text-align:left;min-height:42px;padding:.65rem .9rem;border:0}.wait-dialog{border:0;border-radius:12px;background:#fff;color:var(--ink);padding:1.2rem 1.6rem;max-width:calc(100vw - 2rem);box-shadow:0 8px 40px #102c2433}.wait-dialog::backdrop{background:#112b2094}.wait-dialog div{display:flex;gap:.8rem;align-items:center;font-weight:600}.spinner{color:var(--brand);animation:turn .85s linear infinite}@keyframes turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}.cart-lines{display:grid;gap:.65rem}.cart-lines p{margin:0}.amount-change{display:inline-block;font-variant-numeric:tabular-nums}@media screen and (prefers-reduced-motion:no-preference){.page-content,.reveal-panel,.records{animation:surface-in .18s ease-out}.checkout-dialog[open],.overlay .modal{animation:surface-in .16s ease-out}.checkout-dialog[open]::backdrop,.overlay{animation:fade-in .14s ease-out}.actions-popover:popover-open{animation:fade-in .1s ease-out}.toast{animation:surface-in .16s ease-out}.amount-change{animation:amount-change .32s ease-out}button{transition:background-color .12s ease-out,border-color .12s ease-out,color .12s ease-out}.tile:active,.primary:active{transform:translateY(1px)}}@keyframes surface-in{0%{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes amount-change{0%{background:var(--mint)}to{background:transparent}}.tile.in-cart{border-color:var(--brand)}.tile .cart-count{background:var(--mint);color:var(--deep);padding:.2rem .45rem;border-radius:.35rem;font-weight:600}@media screen and (prefers-reduced-motion:no-preference){.cart-count{animation:fade-in .12s ease-out}}.pos{grid-template-columns:minmax(0,3fr) minmax(21rem,2fr)}.cart-panel{gap:.75rem;min-width:0}.cart-panel h3{margin:0}#cart-heading{scroll-margin-top:1rem}.cart-columns{display:grid;grid-template-columns:minmax(0,1fr) 3.4rem minmax(4.7rem,.48fr) 2.65rem;column-gap:.5rem;align-items:center}.cart-labels{font-size:.77rem;font-weight:650;color:#52655b;padding-top:.5rem}.cart-labels span:nth-child(2){text-align:center}.cart-labels span:nth-child(3),.cart-subtotal{text-align:right}.cart-panel .cart-lines{gap:0}.cart-item{border-bottom:1px solid var(--line);padding:.65rem 0}.cart-item:first-child{border-top:1px solid var(--line)}.cart-item>span{overflow-wrap:anywhere;font-weight:600;line-height:1.3}.unit-price{display:block;font-weight:400;margin-top:.18rem}.cart-item input[type=number]{margin:0;padding:.6rem .15rem;text-align:center;appearance:textfield;font-variant-numeric:tabular-nums}.cart-item input::-webkit-inner-spin-button{appearance:none}.cart-subtotal{font-size:.94rem;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.cart-panel .cart-summary{display:flex;justify-content:space-between;align-items:baseline;font-variant-numeric:tabular-nums}button.cart-jump{display:none}@media(max-width:1000px){.pos{grid-template-columns:minmax(0,1fr)}button.cart-jump{position:sticky;bottom:max(.5rem,env(safe-area-inset-bottom));display:flex;width:100%;z-index:2;box-shadow:0 3px 12px #193c3029}.cart-jump span{margin-left:auto}}@media(max-width:440px){.cart-panel{padding:.8rem}.cart-columns{grid-template-columns:minmax(0,1fr) 2.65rem minmax(4.25rem,.45fr) 2.65rem;column-gap:.35rem}}@media print{button.cart-jump{display:none}}
