/* Al Ikhwan Charaa — grocery counter. Screen-only: thermal printing is independent. */
@media screen {
:root{--forest:#153f35;--green:#2f735b;--pale:#e7f0e9;--canvas:#f5f5ee;--ink:#203d34;--muted:#607068;--line:#e2e7df;--amber:#f9e6d3;--red:#a43730;--orange:#e79b58;--radius:16px;font-size:14px;letter-spacing:0}
body{background:var(--canvas)}
h1{font-size:28px;line-height:1.6;letter-spacing:0;font-weight:800}h2{font-size:19px;line-height:1.7}h3{font-size:16px}small{font-size:12px}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #b96023;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--green);outline-offset:2px}
::selection{background:#f3d5b6;color:#153f35}input,textarea{caret-color:var(--green)}input::placeholder,textarea::placeholder{color:#66766d;opacity:1}::-webkit-scrollbar-thumb{background:#b8c9bc}a{color:var(--green);text-underline-offset:4px}
.shell{grid-template-columns:208px minmax(0,1fr);min-height:100dvh}
.sidebar{background:#fff;color:var(--ink);padding:15px 14px 16px;border-left:1px solid var(--line);height:100dvh;gap:12px;overflow:hidden}
.brand{justify-content:center;margin:0;flex:none;height:139px}.brand img{display:block;width:144px;height:139px;object-fit:contain}.brand>div{display:none}
.side-nav{gap:5px;min-height:0;overflow-y:auto;flex:1;align-content:start;padding:3px}
.nav-button{padding:12px 13px;border-radius:12px;color:#5a6d63;font-size:13px;min-height:46px;gap:12px;transition:background .18s,color .18s}.nav-button:hover{background:#edf4ee}.nav-button.active{background:var(--forest);color:#fff;font-weight:700}.nav-button .i{width:20px;height:20px;stroke-width:1.7}
.sidebar-bottom{margin-top:0;flex:none}.store-info{border-top:1px solid var(--line);padding:14px 8px 4px;gap:9px}.store-info .avatar{background:var(--pale);color:var(--forest);border-radius:50%;width:36px;height:36px}.store-info strong{font-size:12px;overflow-wrap:anywhere}.store-info small{color:var(--muted);font-size:11px}.signout{color:var(--muted);font-size:12px;padding:10px 9px}.version{color:var(--muted);padding:0 9px;font-size:10px}
.topbar{height:76px;padding:0 28px;border:0;background:#fff;gap:14px}.breadcrumb{font-size:13px;gap:12px}.breadcrumb>.i:first-child{color:var(--green)}.top-actions{gap:12px}.top-actions .status{font-size:11px}.top-actions .btn{background:#edf4ee;border:0;color:var(--forest);min-height:40px}.status-dot{background:var(--green);width:7px;height:7px}
.beta-banner{background:var(--canvas);color:var(--muted);border-bottom:1px solid var(--line);padding:9px 28px;font-size:10px}.beta-banner .i{color:var(--green)}
.page{padding:25px 28px 36px}.page-heading{margin-bottom:24px;gap:18px}.page-heading p{font-size:12px;line-height:1.9;margin-top:4px;max-width:66ch}.heading-side{font-size:11px;line-height:1.9}.heading-side strong{font-size:13px}
.btn{border-radius:11px;padding:11px 17px;font-size:12px;min-height:44px;transition:background .18s,color .18s}.btn.small{font-size:11px;min-height:36px;padding:7px 11px}.btn.primary{background:var(--green);color:#fff}.btn.outline{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn:hover{filter:none;background:#e4eee7}.btn.primary:hover{background:#205c47}.btn.danger:hover{background:#f3d9d1}.icon-btn{width:40px;height:40px;border-radius:10px;color:var(--muted)}.icon-btn:hover{background:#e9f0e9}.pill{font-size:11px;padding:5px 10px;border-radius:7px}.pill.warn{background:#f9e6d3;color:#834612}.pill.danger{background:#fae4df;color:var(--red)}
.sale-layout{grid-template-columns:minmax(0,1fr) 326px;gap:22px;align-items:start}.search-row{gap:10px;margin-bottom:16px}.search input{height:49px;border:1px solid #e0e5dc;background:#fff;border-radius:13px;padding-right:45px;font-size:13px}.search>.i{top:15px;right:15px;width:19px;height:19px}.scan-button{height:49px;min-width:49px;border-radius:13px;background:var(--forest)}
.categories{gap:8px;padding-bottom:13px;margin-bottom:6px;scrollbar-width:thin}.category{border:0;border-radius:22px;padding:10px 15px;min-height:40px;font-size:12px;color:#52665b;gap:6px}.category.active{background:var(--forest);color:#fff}.category:hover:not(.active){background:#e5eee4}.category .i{width:16px;height:16px}
.catalogue-label{font-size:12px;margin-bottom:14px}.catalogue-label strong{font-size:16px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product{padding:12px;border:1px solid transparent;border-radius:16px;background:#fff;box-shadow:none;transition:background .18s,border-color .18s;display:flex;flex-direction:column;text-align:right}.product:hover{border-color:#83a08c;background:#fff}.product:active{background:#edf5ed}.product:disabled{opacity:.65}.product-visual{height:136px;min-height:136px;width:100%;background:#fff;border-radius:9px;margin-bottom:9px}.product-visual:not(.has-product-art){background:#f0f4eb}.product-photo{display:block;width:100%;height:100%;aspect-ratio:1;background-image:url('/brand/grocery-contact-sheet.png');background-repeat:no-repeat;background-size:400% 400%;background-position:var(--art-x) var(--art-y)}.product-visual.has-product-art{aspect-ratio:1;height:auto;min-height:0;max-height:168px}.product-name{font-size:14px;font-weight:700;line-height:1.8}.product-unit{font-size:11px;line-height:1.8;margin:2px 0 12px}.product-bottom{margin-top:auto;width:100%}.price{font-size:19px;line-height:1.7;font-weight:800;white-space:nowrap}.currency{font-size:10px;color:var(--muted);margin-right:4px}.add-mark{width:33px;height:33px;border-radius:50%;background:var(--forest);color:#fff}.add-mark .i{width:18px;height:18px}.stock-text{font-size:10px;margin-top:8px}.product-code{display:none}.product-badge{font-size:10px;top:5px;right:5px;background:#f9e6d3;color:#784311;padding:3px 7px;border-radius:6px}.workspace-note{font-size:10px;margin-top:18px;line-height:1.8}
.basket{border:0;border-radius:16px;top:18px;min-height:600px;box-shadow:none}.basket-head{padding:20px 18px 17px;border:0}.basket-head h2{font-size:18px}.basket-head h2 .pill{background:#f9e6d3;color:#834612;margin-right:6px}.basket-head p{font-size:11px;margin-top:4px}.customer-select{margin:0 18px 7px}.customer-select select{font-size:12px;background:#f5f7f1;border:0;border-radius:10px;min-height:44px;padding:10px}.basket-lines{padding:0 18px 12px;max-height:420px}.basket-line{padding:16px 0;gap:8px;border-bottom:1px dashed #d6ddd2}.basket-line strong{font-size:13px;line-height:1.8}.basket-line small{font-size:10px}.line-top{gap:9px}.mini-visual{background:#f3f6ed;border-radius:9px;width:42px;height:42px;overflow:hidden}.mini-visual.has-product-art{background:#fff}.mini-visual .product-photo{height:100%;width:100%}.line-total{font-size:13px;white-space:nowrap}.stepper{gap:6px;margin-top:11px}.stepper button{width:30px;height:30px;border-radius:50%;background:#edf1e9}.stepper .qty{width:45px;font-size:13px;background:#fff;border-radius:7px}.stepper button .i{width:14px;height:14px}.stepper small{color:var(--muted)}.cart-sale-type{margin-top:10px}.cart-sale-type label{font-size:10px;color:var(--muted)}.cart-sale-type select{background:#f7f8f4;font-size:11px;border-color:var(--line);border-radius:7px;max-width:100%}
.basket-summary{padding:18px;background:#fff;border-top:1px dashed #ccd7ca}.summary-row{font-size:12px;margin:8px 0}.total-row{font-size:14px;padding:15px 0 19px}.total-row .num{font-size:30px;letter-spacing:0}.pay-btn{min-height:52px;border-radius:12px;background:var(--forest);font-size:14px;padding:12px 17px;transition:background .18s}.pay-btn:hover:not(:disabled){background:#25634b}.basket-tools{gap:8px;margin-top:12px}.basket-tools .btn{font-size:10px;min-height:37px}.basket-empty{min-height:260px}.empty{padding:35px 18px}.empty>.i{color:#6f8777;stroke-width:1.4}.empty h3{font-size:15px}.empty p{font-size:12px;line-height:1.9}
.table-surface{border:0;border-radius:16px}.table-scroll{scrollbar-width:thin}th{background:#edf2e9;font-size:12px;color:#51675b;font-weight:600;padding:17px 19px}td{font-size:13px;padding:18px 19px;border-bottom:1px solid #edf0e9}.table-scroll th,.table-scroll td{font-size:12px}.table-product strong{font-size:13px}.table-product small{font-size:10px}.table-product .mini-visual{width:44px;height:44px}.money-cell{font-weight:700}.section-meta{font-size:11px;padding:15px 19px;border-color:var(--line)}.toolbar{gap:11px;margin-bottom:20px}.filter-select{height:47px;border-radius:11px;font-size:12px}.toolbar .search{max-width:520px}
.stats{border:0;border-radius:16px;background:#fff;padding:24px 6px;margin:24px 0;gap:0}.stat{padding:0 22px;border-color:var(--line)}.stat-label{font-size:12px;gap:8px}.stat-value{font-size:29px;letter-spacing:0;line-height:1.7;margin-top:7px}.stat small{font-size:11px;line-height:1.8}.stat-value .currency{font-size:11px}.panel-grid{gap:20px;grid-template-columns:1.15fr 1fr}.panel{border:0;border-radius:16px;padding:24px}.panel-heading{gap:12px;margin-bottom:16px}.panel-heading h2{font-size:17px}.list-row{padding:17px 0;gap:14px}.list-row strong{font-size:13px}.list-row small{font-size:11px;line-height:1.8}.list-row>strong{white-space:nowrap}.admin-quick{gap:10px;margin-bottom:22px}.admin-quick .btn{background:#fff;color:var(--forest);border:0}.admin-quick .btn:hover{background:#e3ecdf}.admin-quick .btn:first-child{background:#f9e6d3;color:#754214}.sync-status,.last-sync{font-size:11px}.people-summary{font-size:12px;gap:20px}.staff-name{font-size:13px}.staff-actions{gap:8px;flex-wrap:wrap}.staff-actions .btn{font-size:11px}.member-email{font-size:11px}.members-note{font-size:12px}
.client-grid{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.credit-card{border:0;border-radius:16px;padding:22px}.credit-person strong{font-size:16px}.credit-person .avatar{border-radius:50%;width:44px;height:44px}.credit-person small{font-size:12px}.client-source{font-size:11px;margin:14px 0}.client-notes{font-size:12px;line-height:1.9}.credit-balance{padding:18px 0;border-top:1px dashed var(--line);margin-top:12px}.credit-balance .num{font-size:28px}.credit-balance small{font-size:11px}.credit-card .btn{margin-top:9px;min-height:42px;font-size:12px}.credit-card .btn.primary{background:#e7f0e9;color:var(--forest)}.credit-card .btn[data-action="customer-sale"]{background:var(--forest);border:0;color:white}.credit-card .btn[data-action="customer-history"]{border-color:#a6baaa}.hint-box{background:#e7f0e9;color:#365c46;font-size:12px;border-radius:12px;line-height:1.9;padding:16px 18px}.settings-list{max-width:900px;gap:16px}.settings-row{border:0;border-radius:14px;padding:23px}.settings-row strong{font-size:15px}.settings-row p{font-size:12px;line-height:1.9}.settings-list>a{justify-self:start}.android-hero{background:#e5eee2;border-radius:16px;padding:28px}.android-hero p,.setup-steps p{font-size:12px}.setup-steps strong{font-size:14px}.android-hero img{width:74px;height:74px}
.auth-page{background:var(--canvas);min-height:100dvh;grid-template-columns:1fr 1fr;padding:24px;gap:24px}.auth-story{background:#e8eee1;border-radius:24px;padding:60px;color:var(--forest);align-items:center;text-align:center;justify-content:center}.auth-story img.auth-brand-art{width:280px;height:280px;object-fit:contain}.auth-story h1{font-size:30px;line-height:1.7;margin:20px 0 12px;max-width:100%}.auth-story p{font-size:14px;color:#526650;line-height:2;max-width:400px}.auth-main{padding:40px;background:#fff;border-radius:24px}.auth-card{max-width:390px}.auth-card h2{font-size:27px;margin-bottom:25px}.auth-card label{font-size:13px}.auth-card input{height:52px;border-radius:12px;border:1px solid #d8e1d4;background:#fafbf7;margin:7px 0 16px;padding:12px;font-size:16px}.auth-card .btn{height:52px;border-radius:12px;font-size:14px;background:var(--forest)}.auth-note{font-size:12px!important;line-height:2;color:var(--muted);margin-top:23px}.auth-card .field>label{font-size:13px}.auth-card .field{gap:0}
dialog{border-radius:18px;padding:27px;box-shadow:0 24px 70px #153f352b;max-height:90dvh}dialog::backdrop{background:#102c2359}.dialog-header{margin-bottom:22px;padding-bottom:18px}.dialog-header h2{font-size:22px}.dialog-sub{font-size:12px;line-height:1.9}.field>label{font-size:12px}.field input,.field select{height:48px;border-radius:10px;font-size:14px;background:#fafbf7;border-color:#d7e0d1}.field small{font-size:11px;line-height:1.8}.form-grid{gap:17px}.form-grid textarea{border-radius:10px;font-size:14px;background:#fafbf7}.form-error{font-size:12px;padding:12px}.form-actions{padding-top:20px;margin-top:24px}.access-code{background:#edf4e6;border-radius:12px}.credential-row{font-size:13px}.ticket-line{padding:18px 0}.ticket-line small{font-size:11px}.ticket-audit{font-size:12px}.payment-total{background:#edf4e8;border-radius:12px}.success-actions{gap:10px}#toast{background:var(--forest);font-size:13px;border-radius:12px}
@media(min-width:1600px){.sale-layout{grid-template-columns:minmax(0,1fr) 360px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.page{padding:30px 36px}.sidebar{padding-inline:17px}}
@media(min-width:761px) and (max-width:1200px){.shell{grid-template-columns:82px minmax(0,1fr)}.sidebar{padding:16px 9px}.brand{height:80px}.brand img{width:65px;height:65px}.nav-button{justify-content:center;padding:12px;min-height:46px}.nav-button span,.store-info>div:last-child,.signout,.version{display:none}.store-info{justify-content:center;padding:14px 0}.side-nav{gap:7px}.topbar{padding-inline:23px}.page{padding:24px}.sale-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.product-grid{gap:12px}.product{padding:10px}.product-name{font-size:13px}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:960px){.sale-layout{grid-template-columns:minmax(0,1fr) 294px;gap:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page{padding:22px 18px}.topbar{padding-inline:18px}.heading-side{display:none}.panel-grid{grid-template-columns:1fr}.stat{padding:0 14px}.stat-label{font-size:11px}.stat-value{font-size:25px}.top-actions .status{display:none}}
@media(max-width:760px){
.shell{display:block}.sidebar{display:none}.topbar{height:72px;position:sticky;top:0;z-index:25;padding:0 17px;border-bottom:1px solid var(--line)}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:800;white-space:nowrap}.mobile-brand img{height:37px;width:37px;border-radius:0}.top-actions{gap:7px}.top-actions .status,.top-actions>.icon-btn{display:none}.top-actions .pill{font-size:10px;max-width:100px;overflow:hidden;text-overflow:ellipsis}.top-actions .btn{font-size:10px;padding:8px 10px;min-height:36px}.beta-banner{padding:8px 17px;font-size:9px;line-height:1.9}.beta-banner .i{width:13px;height:13px}.page{padding:20px 16px 108px}.page-heading{margin-bottom:20px;gap:10px;align-items:flex-start}h1{font-size:25px;line-height:1.6}.page-heading p{font-size:11px;line-height:1.9;margin-top:4px;max-width:100%}.page-heading>.btn{font-size:11px;padding:9px 11px;min-height:40px;flex:none}.heading-side{display:none}.sale-layout{display:block}.search-row{gap:8px;margin-bottom:15px}.search input{font-size:13px;height:48px;border-radius:12px}.scan-button{min-width:48px;height:48px;border-radius:12px}.categories{gap:7px;margin:0 -1px 6px;padding-bottom:12px}.category{font-size:11px;padding:9px 13px;min-height:39px}.category .i{width:15px;height:15px}.catalogue-label{font-size:11px;margin-bottom:12px}.catalogue-label strong{font-size:15px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product{padding:11px;border-radius:14px}.product-visual{height:125px;min-height:125px;margin-bottom:8px}.product-visual.has-product-art{height:auto;min-height:0;max-height:155px}.product-name{font-size:13px;line-height:1.8}.product-unit{font-size:11px;margin-bottom:10px}.price{font-size:18px}.add-mark{width:32px;height:32px}.stock-text{font-size:10px}.product-badge{font-size:9px}.workspace-note{font-size:9px;margin-top:18px}.view-sale .page{padding-bottom:170px}.basket{display:none}.basket.mobile-open{display:flex;position:fixed;inset:0;border:0;border-radius:0;z-index:60;min-height:0;max-height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.basket.mobile-open .basket-lines{max-height:none;min-height:0;overflow:auto;flex:1}.basket-head{padding:19px 18px;border-bottom:1px solid var(--line)}.basket-head h2{font-size:21px}.basket-head p{font-size:12px}.mobile-close{display:inline-grid}.customer-select{margin:16px 18px 4px}.customer-select select{font-size:14px;min-height:47px}.basket-line strong{font-size:15px}.basket-line small{font-size:12px}.line-total{font-size:15px}.mini-visual{width:48px;height:48px}.stepper button{width:36px;height:36px}.stepper .qty{font-size:15px;min-width:52px}.cart-sale-type select{font-size:13px;min-height:40px}.cart-sale-type label{font-size:11px}.basket-summary{padding:16px 18px 20px}.summary-row{font-size:13px}.total-row{font-size:15px;padding:10px 0 15px}.total-row .num{font-size:31px}.pay-btn{min-height:52px;font-size:15px}.basket-tools .btn{font-size:12px;min-height:43px}.mobile-cart{display:flex;position:fixed;left:16px;right:16px;bottom:calc(83px + env(safe-area-inset-bottom));min-height:55px;padding:12px 17px;background:var(--forest);color:white;border-radius:13px;z-index:34;box-shadow:0 6px 18px #153f3526;align-items:center;justify-content:space-between}.mobile-cart>span{font-size:13px}.mobile-cart .cart-count{background:#31594b;border-radius:6px;padding:3px 7px;margin-left:8px}.mobile-cart strong{font-size:19px}.mobile-cart .currency{color:#dbe7db}.bottom-nav{display:flex;background:white;border-top:1px solid var(--line);padding:9px 8px max(9px,env(safe-area-inset-bottom));bottom:0;left:0;right:0;z-index:35;position:fixed;justify-content:space-around;gap:4px}.bottom-nav button{font-size:10px;min-width:64px;min-height:51px;padding:6px 8px;gap:5px;border-radius:10px}.bottom-nav button.active{background:#e9f0e5;color:var(--forest)}.bottom-nav .i{width:22px;height:22px}
.table-surface{border-radius:14px}th,td,.table-scroll th,.table-scroll td{font-size:12px;padding:15px}.table-product strong{font-size:12px}.section-meta{font-size:10px;gap:10px;flex-wrap:wrap;line-height:1.8}.toolbar{gap:9px;flex-wrap:wrap}.toolbar .search{max-width:none;flex-basis:100%}.toolbar .btn,.toolbar .filter-select{font-size:12px;flex:1;min-height:44px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0;padding:20px 0;margin:20px 0}.stat{padding:0 17px}.stat:nth-child(2){border:0}.stat-label{font-size:11px;gap:5px}.stat-value{font-size:25px}.stat small{font-size:10px}.panel-grid{grid-template-columns:1fr;gap:17px}.panel{padding:20px;border-radius:14px}.panel-heading h2{font-size:16px}.panel-heading .btn{font-size:10px}.list-row strong{font-size:12px}.list-row small{font-size:10px}.admin-quick{gap:8px;margin-bottom:18px}.admin-quick .btn{font-size:11px;flex:1 1 calc(50% - 8px);padding:10px 8px;min-height:45px}.client-grid{grid-template-columns:1fr;gap:16px}.credit-card{padding:21px}.credit-person strong{font-size:17px}.credit-person small{font-size:12px}.client-source{font-size:11px}.client-notes{font-size:12px}.credit-card .btn{font-size:13px;min-height:45px}.hint-box{font-size:12px}.people-summary{font-size:11px;flex-wrap:wrap;gap:12px}.settings-row{padding:20px;flex-direction:column;align-items:flex-start}.settings-row>.btn{width:100%}.settings-row p{font-size:12px}.settings-row strong{font-size:14px}.more-mobile{display:flex}.android-hero{padding:22px;gap:14px}.android-hero h2{font-size:20px}.android-hero p{font-size:12px}.setup-steps p{font-size:12px}.android-hero>.btn{width:100%;margin:0}.android-hero img{width:54px;height:54px}
.auth-page{padding:0;gap:0;display:flex;flex-direction:column;min-height:100dvh}.auth-story{padding:24px 24px 26px;border-radius:0;flex:none}.auth-story img.auth-brand-art{width:164px;height:164px}.auth-story h1{font-size:23px;margin:0 0 7px}.auth-story p{font-size:12px;line-height:1.9}.auth-main{padding:29px 24px 38px;border-radius:0;flex:1;place-items:start center}.auth-card h2{font-size:24px;margin-bottom:20px}.auth-card input{font-size:16px}.auth-note{font-size:11px!important}.guard-list{display:none}
dialog{padding:22px 18px;width:calc(100% - 24px);max-height:94dvh;border-radius:16px}.dialog-header h2{font-size:21px}.dialog-sub{font-size:12px}.field input,.field select,.form-grid textarea{font-size:16px;min-height:48px}.field>label{font-size:12px}.field small{font-size:11px}.form-grid{gap:14px}.form-actions .btn{font-size:12px;flex:1}.ticket-line input{font-size:16px}.ticket-line select{max-width:100%;font-size:13px}.ticket-audit{font-size:11px}.sync-error{font-size:12px;line-height:1.8;padding:12px 16px}#toast{bottom:155px;font-size:12px;max-width:calc(100% - 32px);min-width:0;width:max-content;line-height:1.8}.success-actions .btn{font-size:12px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
}
@media screen {
.product-visual.has-product-art{height:154px;min-height:154px;max-height:none;aspect-ratio:auto}
.product-photo{position:absolute;top:50%;left:50%;width:150px;height:150px;transform:translate(-50%,-50%)}
.mini-visual{position:relative}.mini-visual .product-photo{width:42px;height:42px}
.product.in-cart{border-color:#7b9c85}.product.in-cart .add-mark{background:#f4d9b9;color:var(--forest)}
@media(max-width:760px){.product-visual.has-product-art{height:128px;min-height:128px}.product-photo{width:128px;height:128px}.mini-visual .product-photo{width:48px;height:48px}}
}
@media screen {
dialog:has(#ticket-review){width:min(860px,calc(100% - 28px))}
.ticket-line{grid-template-columns:minmax(140px,1.2fr) minmax(140px,1.2fr) minmax(110px,.8fr) auto;gap:14px;align-items:end}
.ticket-line>div:first-child{grid-column:1/-1;display:flex;gap:12px;align-items:baseline}.ticket-line>div:first-child>strong{font-size:15px}.ticket-line>div:first-child>small{font-size:11px}
.ticket-sale-mode{grid-column:auto}.ticket-sale-mode>label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.ticket-sale-mode select{min-height:48px;border-radius:10px;background:#fafbf7;border-color:#d7e0d1;font-size:14px}.ticket-pack-note{font-size:10px;line-height:1.7}.ticket-line>.field{align-self:start}.ticket-line>strong{padding-bottom:24px;font-size:14px;white-space:nowrap}
@media(max-width:600px){.ticket-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.ticket-sale-mode{grid-column:1/-1}.ticket-line>strong{grid-column:1/-1;padding:0;text-align:left}.ticket-line>div:first-child{display:block}.ticket-sale-mode select{font-size:16px}}
}
@media screen and (min-width:761px){
.view-sale .heading-side{display:none}
.basket{margin-top:-89px;max-height:calc(100dvh - 156px);min-height:480px}
.basket-head,.customer-select,.basket-summary{flex-shrink:0}.basket-lines{min-height:0;flex:1;overflow:auto}
}
@media screen and (max-width:760px){.basket.mobile-open{margin-top:0;max-height:100dvh;min-height:0}}
@media screen {
.ticket-product-picker{margin-top:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.ticket-product-picker input{width:100%}.ticket-product-results{margin-top:10px;max-height:260px;overflow:auto}
.ticket-product-results>p{font-size:12px;line-height:1.9;padding:5px 0}
.ticket-product-option{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:13px 11px;background:#f4f7ef;color:var(--ink);text-align:right;border-radius:10px;margin-top:6px;min-height:58px}
.ticket-product-option:hover:not(:disabled){background:#e4eee1}.ticket-product-option:disabled{opacity:.65}
.ticket-product-option strong{display:block;font-size:13px}.ticket-product-option small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.ticket-product-option>span:last-child{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:14px;font-weight:700}.ticket-product-option .i{width:18px;height:18px}
.ticket-line-heading{justify-content:space-between;align-items:center!important}.ticket-line-heading>div{min-width:0}.ticket-line-heading>div>strong{font-size:15px;overflow-wrap:anywhere}.ticket-line-heading .btn{flex:none;min-height:38px}.ticket-line-heading small{display:block;margin-top:4px}
@media(max-width:600px){.ticket-line>div.ticket-line-heading{display:flex;gap:12px}.ticket-line-heading .btn{font-size:12px;padding:9px 11px;min-height:42px}.ticket-product-option{gap:8px;padding:12px 10px}.ticket-product-option strong{font-size:13px}.ticket-product-results{max-height:225px}}
}
@media screen {
.whatsapp-share>label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
.whatsapp-phone{display:flex;align-items:center;border:1px solid #d7e0d1;border-radius:10px;background:#fafbf7;overflow:hidden;min-height:50px}.whatsapp-phone>span{padding:0 14px;color:var(--forest);font-size:16px;border-right:1px solid var(--line);flex:none}.whatsapp-phone input{border:0;outline-offset:-3px;min-width:0;width:100%;background:transparent;padding:13px 14px;font-size:16px;color:var(--ink);text-align:left}
.whatsapp-normalized{font-size:12px;min-height:24px;margin:10px 0;overflow-wrap:anywhere;color:var(--green);text-align:right}.whatsapp-share>.small-text{font-size:12px;line-height:1.9;color:var(--muted)}.whatsapp-message{margin-top:20px}.whatsapp-message summary{cursor:pointer;font-size:13px;padding:10px 0}.whatsapp-message pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:2;background:var(--canvas);padding:16px;border-radius:10px;max-height:280px;overflow:auto}.whatsapp-share a[aria-disabled="true"]{opacity:.45;cursor:not-allowed}.whatsapp-share a{text-decoration:none}
.worker-ticket-notice{position:fixed;right:22px;top:92px;z-index:100;display:flex;gap:12px;align-items:center;width:340px;max-width:calc(100vw - 32px);background:var(--forest);color:#fff;padding:18px;border-radius:14px;box-shadow:0 8px 28px #153f3526;direction:rtl;pointer-events:none}.worker-ticket-notice[hidden]{display:none}.worker-ticket-symbol{width:40px;height:40px;display:grid;place-items:center;background:#2f5f4c;border-radius:10px;flex:none}.worker-ticket-notice strong{font-size:14px;display:block;line-height:1.9;overflow-wrap:anywhere}.worker-ticket-notice small{font-size:12px;display:block;color:#dfebdf;line-height:1.8;margin-top:3px}.worker-ticket-notice .currency{color:#dfebdf}
@media(max-width:760px){.worker-ticket-notice{right:16px;top:84px;width:calc(100vw - 32px);padding:14px}.worker-ticket-notice strong{font-size:13px}.whatsapp-share .form-actions{flex-wrap:wrap}.whatsapp-share .form-actions>*{flex:1}}
}
@media print{#worker-ticket-notice,.whatsapp-share{display:none!important}}
@media screen {
.receipt-image-status{font-size:12px;color:var(--green);line-height:1.8;margin:12px 0}
.receipt-image-actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 20px}.receipt-image-actions .btn{font-size:12px}.receipt-image-actions [hidden]{display:none}
.receipt-image-actions a[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
.receipt-image-details summary{font-size:13px;cursor:pointer;padding:8px 0}.receipt-image-frame{background:#f7f7f4;max-height:390px;overflow:auto;border-radius:10px;padding:15px;margin-top:7px}.receipt-image-frame img{display:block;width:100%;max-width:360px;height:auto;margin:auto}.receipt-image-frame img[hidden]{display:none}
@media(max-width:760px){.receipt-image-actions .btn{flex:1 1 44%;font-size:11px;padding:10px 12px}.receipt-image-frame{max-height:310px;padding:10px}}
}
