:root{--navy:#111c2b;--navy2:#1f3045;--orange:#df4929;--orange-dark:#bc351a;--paper:#f4f6f8;--white:#fff;--ink:#172235;--muted:#627087;--line:#dce2e9;--green:#176747;--red:#a92230;--blue:#2256a3;--radius:16px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.5}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a,button{touch-action:manipulation}h1,h2,h3,p{margin:0 0 1rem}h1{font-size:clamp(1.9rem,3vw,2.5rem);line-height:1.13;letter-spacing:-.045em;font-weight:780}h2{font-size:1.3rem;line-height:1.3;letter-spacing:-.02em}h3{font-size:1.08rem}small,.small{font-size:.875rem;color:var(--muted)}strong,b{font-weight:750}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4c89de;outline-offset:3px}::selection{background:#ffd8cd}svg.icon{height:21px;width:21px;flex-shrink:0;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.full{grid-column:1/-1}.hidden{display:none!important}.grow{flex:1}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.stack{display:grid;gap:18px}.empty{padding:48px 24px;text-align:center;border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted);background:#fff}.empty h3{color:var(--ink);margin-top:12px}.loading{padding:60px;text-align:center;color:var(--muted)}
.brand{display:inline-flex;align-items:center;gap:9px;font-weight:650;font-size:1.35rem;letter-spacing:-.05em;text-decoration:none;white-space:nowrap}.brand>b{color:var(--orange);margin-left:-5px}.brand-mark{display:flex;align-items:center;justify-content:center;gap:0;width:37px;height:37px;border-radius:11px;background:var(--orange);color:#fff;font-weight:850;font-size:23px;line-height:1}.brand-mark span{font-size:12px;align-self:flex-end;margin-bottom:8px;margin-left:1px}.eyebrow{display:inline-block;font-size:.78rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);margin-bottom:18px}.btn{border:1px solid transparent;border-radius:10px;background:var(--orange);color:#fff;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:.94rem;font-weight:700;padding:12px 18px;min-height:46px;transition:background .15s,transform .15s}.btn:hover{background:var(--orange-dark)}.btn.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.btn.secondary:hover{background:#eef1f5}.btn.dark{background:var(--navy)}.btn.small{font-size:.875rem;min-height:38px;padding:7px 12px}.btn.danger{background:#fff0f1;border-color:#f3c6cc;color:var(--red)}.btn.ghost{background:transparent;color:var(--muted);padding:9px}.link-button{border:0;background:none;color:var(--orange);font-weight:700;padding:8px 0}.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;display:inline-grid;place-items:center;color:var(--muted)}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-title{margin-bottom:22px}.panel-title h2{margin:0}.badge{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:650;padding:5px 9px;border-radius:7px;background:#eef1f5;color:#526176;white-space:nowrap}.badge.green{background:#e5f4eb;color:var(--green)}.badge.orange{background:#fff0e5;color:#98421b}.badge.blue{background:#e8f0ff;color:var(--blue)}.badge.red{background:#ffe9ec;color:var(--red)}.badge.purple{background:#eee9ff;color:#6848a4}.notice{border:1px solid #dbe6f9;background:#eef5ff;border-radius:12px;padding:14px 18px;font-size:.94rem;color:#26476d}.notice.danger{background:#fff0f1;border-color:#f3c6cc;color:var(--red)}
label{display:flex;flex-direction:column;gap:7px;font-size:.9rem;font-weight:650}label small{font-weight:400}input,select,textarea{width:100%;padding:11px 13px;min-height:46px;border:1px solid #cbd3de;border-radius:9px;background:#fff;color:var(--ink);font-size:1rem}textarea{min-height:86px;resize:vertical}input[type=checkbox]{width:19px;height:19px;min-height:0;margin:0;accent-color:var(--orange)}.check{flex-direction:row;align-items:center;gap:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px;grid-column:1/-1;padding-top:8px}.field-error{color:var(--red);font-size:.9rem}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:#fff;min-width:0}.stat .value{display:block;font-size:clamp(1.45rem,2.3vw,2.1rem);font-weight:770;letter-spacing:-.05em;line-height:1.3;margin:9px 0 3px}.stat .label{color:var(--muted);font-size:.875rem}.stat.highlight{background:var(--navy);color:#fff;border-color:var(--navy)}.stat.highlight .label,.stat.highlight small{color:#becbdc}.stat.positive .value{color:var(--green)}
.site-nav{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px 26px;gap:20px}.site-nav .navlinks{display:flex;gap:26px;align-items:center;font-size:.94rem}.site-nav .navlinks>a:not(.btn){text-decoration:none;color:var(--muted)}.landing{background:#fff}.hero{max-width:1200px;padding:70px 26px 80px;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px}.hero h1{font-size:clamp(2.7rem,5.2vw,4.5rem);letter-spacing:-.065em;line-height:1.03;margin:0 0 28px;max-width:620px}.hero h1 em{font-style:normal;color:var(--orange)}.hero p{color:var(--muted);font-size:1.1rem;max-width:470px;margin-bottom:28px}.hero .eyebrow{border:1px solid #f3c9ba;border-radius:6px;padding:6px 10px;letter-spacing:.08em}.hero-foot{display:flex;gap:24px;margin-top:26px;font-size:.875rem;color:var(--muted)}.hero-foot span{display:flex;align-items:center;gap:7px}.product-preview{border-radius:22px;border:1px solid #2d3f56;background:var(--navy);color:#fff;padding:25px;box-shadow:0 30px 70px #11213d1a;transform:rotate(-2deg)}.preview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.preview-head small{color:#afbdd0}.preview-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.preview-stat{padding:18px;border-radius:12px;background:#213147;font-size:.875rem;color:#b7c7dc}.preview-stat strong{display:block;font-size:1.85rem;color:#fff;letter-spacing:-.04em}.preview-order{display:flex;align-items:center;gap:13px;border-top:1px solid #344257;padding:17px 0}.preview-order:last-child{padding-bottom:0}.preview-order p{color:#fff;font-size:.94rem;margin:0}.preview-order small{color:#a9b9cd}.table-num{border-radius:12px;min-width:49px;height:49px;display:grid;place-items:center;background:#31465f;font-size:1.15rem;font-weight:750}.feature-band{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.features{max-width:1200px;margin:auto;padding:45px 26px;display:grid;grid-template-columns:repeat(3,1fr);gap:42px}.feature-icon{width:45px;height:45px;border-radius:11px;background:#ffe8e0;display:grid;place-items:center;color:var(--orange);margin-bottom:18px}.features p{color:var(--muted);margin:0}.section{max-width:1200px;margin:auto;padding:70px 26px}.section>h2{font-size:2rem;letter-spacing:-.045em}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.step-number{font-size:3.5rem;font-weight:750;color:#d7dde5;letter-spacing:-.06em;margin:0 0 14px}.cta-section{background:var(--navy);color:#fff;border-radius:24px;padding:38px}.cta-section label{color:#e2e9f2}.cta-section p{color:#b5c1d3}.site-footer{max-width:1200px;padding:28px 26px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:.875rem}
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:.85fr 1fr}.auth-aside{background:var(--navy);color:#fff;padding:60px;display:flex;flex-direction:column;justify-content:space-between;gap:60px}.auth-aside .brand{color:#fff}.auth-aside h1{font-size:clamp(2.5rem,4vw,3.7rem);max-width:460px}.auth-aside p{color:#b7c6d9;max-width:410px}.auth-main{padding:50px 30px;display:flex;align-items:center;justify-content:center}.auth-box{max-width:420px;width:100%}.auth-box h1{font-size:2rem}.auth-box form{display:grid;gap:18px}.auth-box .brand{margin-bottom:36px}.auth-foot{text-align:center;margin-top:22px}.install-wrap{max-width:820px;margin:50px auto;padding:0 24px}.install-wrap>.brand{margin-bottom:35px}.checklist{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}
.shell{min-height:100vh;display:grid;grid-template-columns:245px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);color:#fff;padding:30px 19px;display:flex;flex-direction:column;gap:28px}.sidebar .brand{padding:0 8px}.workspace-pill{border:1px solid #344357;border-radius:10px;padding:11px 13px;color:#d3deed;font-size:.875rem;line-height:1.45}.workspace-pill small{display:block;color:#90a4bf;font-size:.75rem;margin-bottom:2px}.sidebar nav{display:grid;gap:5px}.nav-item{padding:11px 14px;border-radius:9px;border:0;background:transparent;color:#aebed2;text-align:left;display:flex;gap:12px;align-items:center;text-decoration:none;font-size:.94rem;font-weight:550}.nav-item:hover{background:#223249;color:#fff}.nav-item.active{background:#293951;color:#fff}.nav-item.active svg{color:#ff9070}.nav-caption{padding:0 14px;color:#7f92ad;font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;margin:9px 0}.sidebar-bottom{margin-top:auto;border-top:1px solid #2b3b51;padding-top:19px}.profile{display:flex;gap:11px;align-items:center;min-width:0;padding:0 5px 15px}.avatar{width:36px;height:36px;background:#3b4c63;color:#fff;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-weight:700}.profile strong{font-size:.875rem;display:block;max-width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:.78rem;color:#97aac3}.main-area{min-width:0}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.topbar .crumb{font-size:.875rem;color:var(--muted)}.topbar .crumb b{color:var(--ink);font-weight:650}.topbar .mobile-toggle{display:none}.content{max-width:1600px;margin:auto;padding:32px 36px 60px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;flex-wrap:wrap}.page-head h1{margin:0 0 7px}.page-head p{color:var(--muted);margin:0;font-size:.94rem}.table-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.table-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px;display:flex;flex-direction:column;gap:17px;min-width:0}.table-card.occupied{border-top:3px solid var(--orange);padding-top:17px}.table-card h3{margin:0}.table-card .table-value{font-size:1.7rem;font-weight:750;letter-spacing:-.04em}.table-card .btn{width:100%}.table-card small{display:block}.tabs-bar{display:flex;gap:5px;background:#e8edf2;padding:5px;border-radius:11px;width:max-content;max-width:100%;overflow:auto;margin-bottom:24px}.tabs-bar button{background:transparent;border:0;padding:10px 16px;border-radius:8px;font-size:.94rem;font-weight:650;white-space:nowrap;color:var(--muted)}.tabs-bar button.active{color:var(--ink);background:#fff;box-shadow:0 1px 5px #111c2b10}.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.board-column{border-radius:14px;background:#e9edf2;padding:12px;min-height:200px}.board-title{font-size:.875rem;font-weight:700;display:flex;justify-content:space-between;padding:6px 4px 16px}.order-card{padding:16px;border:1px solid var(--line);border-radius:11px;background:#fff;margin-bottom:12px}.order-card:last-child{margin-bottom:0}.order-card h3{font-size:.98rem;margin:14px 0 7px}.order-card p{font-size:.875rem;margin:7px 0;color:var(--muted)}.order-card .btn{width:100%;margin-top:13px}.order-card .note{color:#8b4a12;background:#fff4e0;border-radius:7px;padding:8px}.calls{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:23px}.call{background:#fff4e7;border:1px solid #f0cea6;border-radius:11px;padding:12px 15px;display:flex;align-items:center;gap:16px}.call strong{font-size:.94rem}.call small{display:block}.table-scroll{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;text-align:left}th{background:#f8fafc;color:var(--muted);font-size:.78rem;font-weight:650;letter-spacing:.025em;text-transform:uppercase;padding:13px 16px;white-space:nowrap}td{padding:16px;border-bottom:1px solid var(--line);font-size:.9rem;vertical-align:middle}tr:last-child td{border-bottom:0}td small{display:block}td .row{flex-wrap:nowrap}.panel.table-panel{padding:0;overflow:hidden}.panel.table-panel .panel-title{padding:22px 24px 0}.toolbar{display:flex;gap:14px;align-items:flex-end;margin-bottom:22px;flex-wrap:wrap}.toolbar input{max-width:360px}.toolbar label{min-width:160px}.product-thumb{width:46px;height:46px;object-fit:cover;border-radius:9px;background:#edf1f5;display:grid;place-items:center;flex-shrink:0}.profit-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#f0f5f4;border-radius:11px;padding:14px}.profit-preview strong{display:block;font-size:1.18rem;color:var(--green)}.profit-preview small{font-size:.78rem}.metric-lines{display:grid;gap:0}.metric-line{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line);font-size:.94rem}.metric-line.total{border-bottom:0;font-size:1.2rem;font-weight:750;padding-top:20px}.audit-detail{max-width:340px;word-break:break-word}.qr-box{text-align:center}.qr-box canvas{max-width:100%;height:auto!important;image-rendering:pixelated}.qr-link{font-size:.8rem;overflow-wrap:anywhere;color:var(--muted)}
dialog{padding:0;border:1px solid var(--line);border-radius:20px;width:calc(100% - 32px);max-width:650px;max-height:90vh;color:var(--ink);box-shadow:0 28px 100px #0004}dialog::backdrop{background:#101c2bcc;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-head h2{margin:0}.dialog-body{padding:26px}.dialog-body form{margin:0}.dialog-body .notice{margin-bottom:18px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:200;padding:14px 20px;border-radius:12px;background:var(--navy);color:#fff;box-shadow:0 8px 40px #0002;max-width:calc(100% - 32px);display:none;font-size:.94rem}#toast.visible{display:block}#toast.error{background:#9b2131}
.customer-wrap{max-width:1040px;margin:auto;padding:0 24px 130px}.customer-top{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:23px 0}.restaurant-head{border-radius:21px;background:var(--navy);color:#fff;padding:32px;margin-bottom:24px}.restaurant-head .eyebrow{color:#ffaf91;margin-bottom:12px}.restaurant-head h1{font-size:2rem;margin-bottom:12px}.restaurant-head p{color:#b9c7d8;margin:0;max-width:620px}.restaurant-head .badge{background:#2d415a;color:#fff}.customer-controls{display:flex;gap:10px;margin:20px 0}.category-tabs{display:flex;gap:9px;overflow:auto;padding:5px 0 14px;margin:12px 0;scrollbar-width:thin}.category-tabs button{white-space:nowrap;border:1px solid var(--line);border-radius:24px;background:#fff;padding:9px 17px;color:var(--muted);font-weight:600}.category-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.menu-product{display:flex;align-items:stretch;gap:18px;border:1px solid var(--line);border-radius:15px;background:#fff;padding:18px;min-width:0}.menu-product h3{margin-bottom:7px}.menu-product p{font-size:.875rem;color:var(--muted);margin:0 0 12px}.menu-product .image{width:105px;min-height:115px;border-radius:10px;object-fit:cover;flex-shrink:0}.menu-product .menu-price{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto;font-weight:750}.menu-product .add-button{width:36px;height:36px;border:0;background:#fff0ea;color:var(--orange);font-size:1.6rem;border-radius:10px;line-height:1}.cart-bar{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);width:min(580px,calc(100% - 32px));z-index:30;background:var(--orange);color:white;border:0;border-radius:14px;box-shadow:0 6px 25px #cb482739;padding:18px 22px;display:flex;justify-content:space-between;font-weight:700}.cart-bar span:first-child{display:flex;gap:12px;align-items:center}.cart-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--line)}.cart-item h3{margin:0;font-size:1rem}.receipt h1{text-align:center;font-size:1.5rem}.receipt>.muted{text-align:center}.receipt .receipt-item{padding:12px 0;border-bottom:1px dashed var(--line)}.receipt .receipt-item small{display:block}.receipt .receipt-footer{text-align:center;margin-top:25px;font-size:.8rem;color:var(--muted)}
@media(min-width:1600px){.board{grid-template-columns:repeat(4,1fr)}.content{padding:40px 50px}}@media(max-width:1150px){.shell{grid-template-columns:210px 1fr}.sidebar{padding:24px 12px}.content{padding:28px 24px}.topbar{padding:0 24px}.board{grid-template-columns:repeat(2,1fr)}.table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,1fr)}.hero{gap:35px}.hero h1{font-size:3.4rem}}
@media(max-width:800px){.shell{display:block}.sidebar{position:fixed;z-index:60;left:0;top:0;width:250px;transform:translateX(-100%);transition:transform .2s;height:100dvh}.shell.menu-open .sidebar{transform:translateX(0);box-shadow:0 0 0 100vmax #101c2b88}.topbar{height:70px;padding:0 20px}.topbar .mobile-toggle{display:inline-grid}.content{padding:24px 20px 45px}.page-head{gap:16px;margin-bottom:24px}.page-head .btn{min-height:42px}.topbar .date-label{display:none}.table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:1fr;padding-top:38px;gap:44px}.hero h1{font-size:3.5rem;max-width:550px}.hero p{max-width:580px}.product-preview{max-width:540px;width:100%;margin:auto;transform:none}.features,.steps{grid-template-columns:1fr;gap:30px}.features{padding:35px 26px}.feature-icon{margin-bottom:12px}.site-nav .navlinks>a:not(.btn){display:none}.section{padding:48px 24px}.grid2{grid-template-columns:1fr}.auth-wrap{grid-template-columns:1fr}.auth-aside{display:none}.auth-main{min-height:100vh;padding:34px 24px}.menu-grid{grid-template-columns:1fr}.restaurant-head{padding:25px}.customer-wrap{padding-left:18px;padding-right:18px}.cta-section{padding:28px}.form-grid{gap:16px}.board-column{padding:10px}.board{gap:12px}}
@media(max-width:480px){.hero h1{font-size:2.8rem}.site-nav{padding:20px}.site-nav .brand{font-size:1.2rem}.site-nav .btn{padding:10px 12px;font-size:.875rem}.hero{padding:34px 20px 45px}.hero-foot{gap:15px;flex-wrap:wrap}.content{padding:23px 15px}.topbar{padding:0 15px}.stats{gap:10px}.stat{padding:17px}.stat .value{font-size:1.65rem}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.table-grid{gap:12px}.table-card{padding:15px}.table-card.occupied{padding-top:13px}.table-card .table-value{font-size:1.4rem}.board{grid-template-columns:1fr}.board-column{min-height:0}.page-head h1{font-size:1.85rem}.page-head>.btn{width:100%}.panel{padding:19px}.dialog-head{padding:19px}.dialog-body{padding:19px}.profit-preview{gap:8px;padding:12px}.profit-preview strong{font-size:1rem}.menu-product{gap:12px;padding:15px}.menu-product .image{width:85px;min-height:100px}.customer-controls .btn{flex:1;padding:10px 12px}.restaurant-head h1{font-size:1.75rem}.toolbar label{width:100%}.toolbar input{max-width:none}.toolbar .btn{width:100%}}
@media print{body{background:white!important}#app,#toast,.dialog-head,.no-print{display:none!important}dialog{display:block!important;position:static;max-height:none;max-width:none;width:auto;border:0;box-shadow:none;margin:0;padding:0}dialog::backdrop{display:none}.dialog-body{padding:0}.receipt{max-width:80mm;margin:auto;font-size:12px}.receipt h1{font-size:18px}.qr-box{max-width:100mm;margin:auto}.qr-link{font-size:11px}.btn{display:none!important}}

.section-heading{margin:30px 0 18px}.section-heading h2,.section-heading h3{margin:0}.section-note{margin:20px 0 0}.audit-panel{margin-top:28px}.audit-panel summary{cursor:pointer;font-weight:700}.receipt-item{padding:14px 0;border-bottom:1px solid var(--line)}.receipt-item small{display:block;margin:6px 0}.auth-box>form{display:grid}.menu-product .grow{min-width:0}.workspace-pill{overflow-wrap:anywhere}.dialog-body>form+form{margin-top:24px}
.content .form-actions [data-action="close-dialog"]{display:none}
/* Product image library, release 1.0.2 */
.product-image-editor{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fafbfd;min-width:0}.image-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.image-editor-heading h3{margin:0 0 4px;font-size:1rem}.image-editor-heading p,.chosen-product-image p{font-size:.8rem;color:var(--muted);margin:0}.image-source-tabs{display:flex;gap:5px;padding:4px;background:#eaf0f5;border-radius:10px;margin:18px 0 14px}.image-source-tabs button{flex:1;padding:10px 7px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:.8rem;font-weight:650}.image-source-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 2px 5px #132c4610}.image-empty{display:flex;align-items:center;justify-content:center;gap:10px;padding:18px;background:#fff;border:1px dashed #cbd3de;border-radius:10px;font-size:.8rem;color:var(--muted)}.image-empty svg{width:27px;height:27px}.chosen-product-image{display:flex;align-items:center;gap:16px}.chosen-product-image strong{display:block;font-size:.9rem;margin-bottom:5px}.chosen-product-image .btn{padding:7px 0;margin-top:3px}.transparent-preview{width:100px;height:100px;flex-shrink:0;border:1px solid #e1e7ee;border-radius:12px;background-color:white;background-image:linear-gradient(45deg,#eef1f5 25%,transparent 25%),linear-gradient(-45deg,#eef1f5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef1f5 75%),linear-gradient(-45deg,transparent 75%,#eef1f5 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.transparent-preview img{width:100%;height:100%;object-fit:contain;padding:6px}.gallery-explanation{margin:0 0 12px;line-height:1.5}.gallery-filters{display:flex;gap:8px}.gallery-filters input{min-width:0;flex:1}.gallery-filters select{width:145px;font-size:.8rem}.gallery-filters input{font-size:.8rem}.gallery-results{max-height:320px;overflow:auto;overscroll-behavior:contain;margin-top:12px;padding-right:4px}.gallery-section-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--muted);margin:14px 0 8px}.gallery-section-label:first-child{margin-top:0}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gallery-card{position:relative;display:flex;align-items:center;flex-direction:column;gap:3px;border:1px solid #e0e5ed;background:#fff;border-radius:10px;padding:7px 5px 10px;color:var(--ink);min-width:0;font-size:.7rem;line-height:1.3;text-align:center;cursor:pointer}.gallery-card:hover{border-color:#ee9a80;background:#fff8f4}.gallery-card.selected{border:2px solid var(--orange);padding:6px 4px 9px;background:#fff3ed}.gallery-art{display:block;width:64px;max-width:100%;height:60px}.gallery-art img{width:100%;height:100%;object-fit:contain}.gallery-selected-mark{position:absolute;top:4px;right:4px;background:var(--orange);color:#fff;border-radius:50%;width:17px;height:17px;font-size:.7rem;display:grid;place-items:center}.gallery-empty{padding:22px 10px;text-align:center;font-size:.85rem;color:var(--muted)}.gallery-empty p{font-size:.8rem}.gallery-credits{font-size:.66rem;color:var(--muted);margin:14px 0 0}.gallery-upload{display:grid;gap:8px;margin-bottom:14px}.gallery-upload label{font-size:.82rem;cursor:pointer;display:block;text-align:center}.gallery-upload small{font-size:.72rem;color:var(--muted)}.gallery-upload p:empty{display:none}.gallery-file{font-size:.75rem;padding:6px;min-height:auto}.gallery-upload p{font-size:.8rem;margin:0;color:var(--orange)}[data-gallery-use-link]{margin-top:12px}.product-cell{display:flex;align-items:center;gap:12px;min-width:190px}.product-thumbnail{display:grid;place-items:center;width:46px;height:46px;border:1px solid #e6ebf1;border-radius:10px;background:#f8fafc;flex-shrink:0;color:#91a1b4}.product-thumbnail img{width:100%;height:100%;object-fit:contain;padding:3px}.product-thumbnail svg{width:23px;height:23px}.menu-product .image{object-fit:contain;background:#f8fafc;padding:5px}.image-load-failed{font-size:.65rem;color:var(--muted)}
@media(max-width:480px){.product-image-editor{padding:12px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-filters{flex-direction:column}.gallery-filters select{width:100%}.gallery-results{max-height:330px}.image-source-tabs button{font-size:.7rem}.chosen-product-image{gap:10px}.transparent-preview{width:78px;height:78px}.chosen-product-image strong{font-size:.8rem}.chosen-product-image p{font-size:.72rem}.gallery-art{height:56px}.product-cell{gap:8px}}
.own-entry{margin:20px 0;padding:18px 10px;border-top:1px solid #526071;display:grid;gap:10px}.own-entry small{color:#c4d2e4}.service-centre{margin:24px 32px 0;padding:20px;border:1px solid #dfdce2;border-radius:16px;background:#fff}.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px}.service-alert{padding:18px;border:2px solid #dc2638;border-left-width:7px;border-radius:12px;background:#fff0f1;color:#811329}.service-alert .btn{background:#c51e32;color:white}.service-alert h3{margin:12px 0}.service-alert p{margin:8px 0}.service-alert.overdue{background:#ffe0e3;border-color:#960d24;box-shadow:0 0 0 2px #960d2420}.service-alert [data-alert-age]{font-weight:800;font-size:12px}.table-card.has-pending{border:2px solid #df263c;background:#fff1f2}.public-open{margin:20px 0}.service-shake{animation:service-shake .4s ease-in-out}@keyframes service-shake{20%,60%{transform:translateX(-3px)}40%,80%{transform:translateX(3px)}}@media(prefers-reduced-motion:reduce){.service-shake{animation:none}}@media(max-width:700px){.service-centre{margin:14px 12px 0;padding:14px}.service-centre>.spread{align-items:flex-start;gap:12px;flex-wrap:wrap}}.board-column:first-child{background:#fff0f1}.board-column:first-child .order-card{border-left:4px solid #d52138}
.commission-fields,.delivery-list,.manual-item{border:1px solid #d8e2ec;border-radius:12px;padding:18px;margin:8px 0}.delivery-list{background:#edf8ef;border-color:#89bc91}.delivery-list .check{padding:9px 0;align-items:center}.delivery-list input[type=checkbox],.manual-item input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.delivery-list small{display:block}.manual-items{display:grid;gap:8px}.finance-overview{border-top:1px solid #d9e3ec;padding:24px 0 10px}.receipt-designed{--receipt-accent:#da4428;border:1px solid #dbe3ea;border-top:6px solid var(--receipt-accent);padding:24px;background:white;max-width:640px;margin:auto}.receipt-blue{--receipt-accent:#1768a0}.receipt-green{--receipt-accent:#157354}.receipt-company{text-align:center}.receipt-company p{font-size:12px;margin:4px 0;overflow-wrap:anywhere}.receipt-logo{max-width:100px;max-height:90px;object-fit:contain;margin:auto}.receipt-identification{margin:20px 0;padding:14px;background:#eef2f6;border-radius:8px}.receipt-identification>strong{color:var(--receipt-accent)}.receipt-designed .total{color:var(--receipt-accent)}.receipt-thanks{text-align:center;padding:14px;background:#f4f6f8;border-radius:8px;font-size:13px}.receipt-tech{text-align:center;padding:18px 10px;background:#142438;color:#fff;border-radius:8px}.receipt-tech span{color:#ff986f}.receipt-tech small{display:block;font-size:10px;margin-top:6px}.sound-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin:12px 0}.sound-options button{text-align:left}@media print{.receipt-designed{box-sizing:border-box;border:0;border-top:4px solid var(--receipt-accent);padding:6px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.receipt-designed.receipt-a4{max-width:180mm;width:100%;padding:20px;font-size:13px}.receipt-designed.receipt-thermal{width:76mm;max-width:76mm}.receipt-designed .spread{gap:6px}.receipt-designed .spread>span{white-space:nowrap}.receipt-tech,.receipt-thanks,.receipt-company,.receipt-item{break-inside:avoid}.receipt-tech{border:1px solid #172638}.receipt-designed h1{font-size:20px}}
