/* COFFEE BAR X – STAFF STUDIO: warm, playful, accessible administration */
:root{--orange:#ff641d;--orange-deep:#e94b0c;--orange-light:#ffac68;--cream:#fffbf4;--paper:#fffdf9;--base:#fff6e9;--ink:#171717;--muted:#77736f;--line:#eae0d4;--green:#238d64;--shadow:0 10px 28px rgba(66,40,12,.075)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--base);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{text-decoration:none;color:inherit}a:hover{color:var(--orange-deep)}:focus-visible{outline:3px solid #1878e8;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:clamp(27px,2.6vw,38px);letter-spacing:-1px}h2{font-size:19px}h3{font-size:16px;margin:13px 0 8px}.muted{color:var(--muted)}.tiny{font-size:12px}small{font-size:12px}.orange,.price{color:var(--orange-deep);font-weight:850}.error{color:#ae1c12}.error-box,.success-box{padding:12px 14px;border-radius:12px;margin-top:12px;font-weight:600}.error-box{background:#fff0ed;color:#9f2818;border:1px solid #f3afa0}.success-box{background:#e7f7ed;color:#157a48;border:1px solid #a6ddbd}.hand-text,.hand-note,.hand-title,.top-slogan,.sidebar-doodle{font-family:"Segoe Print","Comic Sans MS","Trebuchet MS",cursive;font-weight:900;font-style:italic;letter-spacing:-.6px}.hand-title{font-size:27px;transform:rotate(-1deg);text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:3px;text-underline-offset:7px;margin-bottom:19px}.hand-note{font-size:17px;color:var(--orange-deep);transform:rotate(-3deg);display:inline-block}
/* shell and navigation */
.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{background:linear-gradient(160deg,#fffaf2,#fff2df);padding:22px 17px;display:flex;flex-direction:column;gap:20px;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand img{width:58px;height:58px;object-fit:contain;flex-shrink:0}.brand strong{font-family:"Segoe Print","Comic Sans MS",cursive;font-style:italic;font-size:20px;line-height:1.05;display:block;white-space:nowrap}.brand em{color:var(--orange);font-size:27px;font-style:normal}.brand small{font-size:10px;letter-spacing:2px;color:#9b8064;font-weight:800}.side-caption{font-size:10px;letter-spacing:1.3px;font-weight:800;color:#ad947f;padding:4px 8px}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:12px;color:#292723;font-weight:750;font-size:14px;line-height:1.2}.side-nav a:first-letter{font-size:20px}.side-nav a:hover{background:#ffead3}.side-nav a.active{background:linear-gradient(100deg,#ff9d62,#ffcfaa);color:#21150e;box-shadow:0 5px 16px #fca05230}.sidebar-doodle{margin-top:15px;min-height:140px;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;transform:rotate(-5deg);font-size:23px;line-height:1.15}.scribble-arrow{color:var(--orange);font-size:38px;transform:rotate(8deg)}.sidebar-doodle small{font-family:"Segoe Print","Comic Sans MS",cursive;color:#cc642f;font-size:12px}.side-bottom{margin-top:auto;font-weight:750;color:#4c4337;font-size:12px;border-top:1px dashed #ecc7a4;padding:13px 6px}.side-bottom small{color:#a1886c}.online-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#33b277;margin-right:7px}
.main-content{min-width:0;background:linear-gradient(135deg,rgba(255,134,53,.08),transparent 40%),var(--base)}.topbar{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:20px 30px;border-bottom:1px solid var(--line);background:var(--cream);min-height:92px}.eyebrow{letter-spacing:1.8px;font-size:11px;font-weight:850;color:#b2784f}.top-slogan{font-size:19px;display:inline-block;transform:rotate(-1deg)}.top-slogan b{color:var(--orange)}.top-user{display:flex;align-items:center;gap:15px}.team-pill{background:#ffead8;color:var(--orange-deep);padding:7px 10px;border-radius:30px;font-weight:850;white-space:nowrap}.username{color:#504942;font-weight:650;max-width:190px;overflow:hidden;text-overflow:ellipsis}.logout-link{font-weight:750;color:var(--orange-deep)}.page-wrap{max-width:1600px;padding:27px 30px 60px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.page-heading h1{font-family:"Segoe Print","Comic Sans MS","Trebuchet MS",cursive;font-style:italic;font-weight:1000;transform:rotate(-1deg);display:inline-block;text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--orange);text-underline-offset:7px}.page-heading h1 span{color:var(--orange)}.page-heading p{margin-top:9px;color:#6c655e}.panel{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:23px;box-shadow:var(--shadow);min-width:0;margin-bottom:15px}.panel h2:not(.hand-title){margin-bottom:16px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
/* buttons and forms */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:8px;border-radius:11px;padding:10px 17px;border:1px solid transparent;font-weight:850;transition:filter .15s,transform .15s;white-space:normal;text-align:center}.btn:hover{filter:brightness(.96)}.btn:active{transform:translateY(1px)}.btn-primary{background:linear-gradient(115deg,#ff8d3c,var(--orange));color:#fff;border-color:#fd581b;box-shadow:0 5px 12px #ff8d3922}.btn-secondary{background:#fff;color:#45382e;border-color:#e4d9cd}.btn.full{width:100%}label{display:block;color:#625d58;font-size:12px;font-weight:800;margin:13px 0 6px}input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select{width:100%;border:1px solid #ded6ce;background:#fffdf9;color:#231d19;border-radius:11px;outline:none;min-height:43px;padding:9px 12px;font-size:15px}input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ff641d20}textarea{resize:vertical}input[type="checkbox"]{width:17px;height:17px;accent-color:var(--orange)}.check-line{display:flex;gap:9px;align-items:center;font-size:13px;margin:10px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}.edit-panel{position:relative;background:#fffcf7}.edit-panel .hand-title{color:#1e1511}.toolbar{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-bottom:20px;max-width:650px;margin-left:auto}.toolbar input{flex:1}.toolbar select{max-width:240px}.two-cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);gap:18px;align-items:start}.content-with-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.content-with-editor:has(.edit-panel){grid-template-columns:minmax(0,1fr) minmax(310px,370px)}.editor-bottom{margin-top:19px}.upload-button{position:relative;display:inline-flex;align-items:center;justify-content:center;border:2px dashed #fbbb8d;border-radius:13px;background:#fff4ea;color:#e25517;font-weight:850;min-height:46px;padding:8px 14px;cursor:pointer;margin:0}.upload-button:hover{background:#ffe4cb}.upload-button input[type="file"]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-button.small{min-height:36px;font-size:12px}.photo-field{margin-top:18px}.photo-field-body{display:grid;grid-template-columns:minmax(100px,150px) 1fr;gap:14px;align-items:center}.photo-preview,.photo-empty{width:100%;aspect-ratio:4/3;border-radius:13px;object-fit:cover;border:1px solid #ecc9ab}.photo-empty{display:flex;align-items:center;flex-direction:column;justify-content:center;background:#fff4eb;font-size:28px}.photo-empty small{font-size:11px;color:#b28a66}.photo-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.photo-actions small{color:#887d71}
/* content cards */
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat-card{background:#fffdf9;border:1px solid #e9dac9;border-radius:18px;padding:20px;box-shadow:var(--shadow);font-weight:730;color:#6e645b}.stat-icon{font-size:27px;color:var(--orange);display:inline-block;margin-bottom:5px}.stat-value{font-size:36px;letter-spacing:-1px;font-weight:900;color:#221915}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.75fr);gap:18px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-card{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid #f0e1d2;border-radius:14px;background:linear-gradient(135deg,#fff5ea,#fffdf7)}.quick-card:hover{border-color:var(--orange)}.quick-card>span{font-size:25px;color:var(--orange)}.quick-card>b{font-size:16px}.quick-card small{color:var(--muted)}.orange-soft{background:#fff0dc}.banner-coffee{width:100%;max-height:210px;object-fit:cover;border-radius:15px;margin:12px 0}.orange-soft p{margin-bottom:12px}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:13px}.category-card{text-align:left;border:2px solid transparent;background:#fff9f1;border-radius:17px;padding:9px;display:flex;flex-direction:column;gap:7px;min-width:0}.category-card img{width:100%;height:122px;object-fit:cover;border-radius:11px}.category-card strong{font-size:15px}.category-card small{color:var(--green)}.is-selected{outline:2px solid var(--orange)!important}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:15px;align-content:start}.product-card{text-align:left;padding:0;border:1px solid #eaded2;border-radius:16px;background:var(--paper);overflow:hidden;min-width:0;box-shadow:var(--shadow)}.product-photo{height:140px;position:relative;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:cover}.photo-doodle{position:absolute;right:12px;top:2px;color:white;font-size:27px;transform:rotate(18deg);text-shadow:0 1px 3px #542607}.product-body{padding:12px;display:flex;flex-direction:column;gap:3px;align-items:flex-start}.product-body strong{font-size:15px}.product-body small{color:#8a7e72}.status-chip{display:inline-block;background:#e8f6ee;color:#27875c;padding:3px 8px;border-radius:30px;font-size:11px;font-weight:900}.offers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;align-content:start}.offer-card{text-align:left;min-height:260px;overflow:hidden;border:2px solid transparent;border-radius:17px;position:relative;padding:0;background:#1b130f;color:white}.offer-card img{width:100%;height:260px;object-fit:cover;display:block;filter:brightness(.8)}.offer-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.85),transparent 82%);display:flex;flex-direction:column;justify-content:flex-end;padding:18px;gap:6px}.offer-overlay strong{font-family:"Segoe Print","Comic Sans MS",cursive;font-size:21px}.offer-overlay small{color:#fff2e2}.offer-overlay em{color:#88f3af;font-size:12px;font-weight:800}.offer-type{align-self:flex-start;background:var(--orange);color:white;padding:3px 9px;border-radius:16px;font-size:11px;font-weight:850}.weekday-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:10px}.day-check{display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid #e5d6ca;background:#fff;border-radius:9px;padding:7px 2px;font-size:10px;margin:0}.product-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:144px;overflow-y:auto;gap:3px;background:#fff8ef;border:1px solid var(--line);border-radius:13px;padding:6px}.product-checks label{font-size:11px}
/* floor plan */
.floor-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.65fr);gap:17px;align-items:start}.floor-filters{display:flex;flex-wrap:wrap;gap:6px}.tab{background:#f8f3ea;color:#4a4039;border:1px solid #e8dcd0;border-radius:10px;padding:8px 13px;font-weight:800}.tab.active{background:var(--orange);color:white;border-color:var(--orange)}.floor-zone-upload{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:10px 0 15px;font-size:12px;font-weight:800;color:#847160}.floor-canvas{height:520px;border:2px solid #cba578;background-size:cover;background-position:center;position:relative;overflow:hidden;border-radius:17px;background-color:#ecd5b4;touch-action:pan-y}.floor-table{position:absolute;width:91px;height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px solid #eee7dc;border-radius:17px;background:#6b4430;color:white;box-shadow:0 6px 15px #110b0740;padding:0;overflow:hidden;touch-action:none}.floor-table.circle{width:80px;height:80px;border-radius:50%}.floor-table.oval{width:108px;height:72px;border-radius:50%}.floor-table.square{width:84px;height:84px;border-radius:11px}.floor-table.rectangle{width:115px;height:70px;border-radius:9px}.floor-table.selected{border-color:var(--orange);box-shadow:0 0 0 4px #ffffff88,0 0 0 8px #ff712988}.floor-table.blocked{filter:grayscale(1);opacity:.65}.floor-table img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.83;pointer-events:none}.table-identity{position:relative;border-radius:50%;background:#fff;color:#111;padding:5px 9px;font-weight:950;font-size:19px;min-width:32px;box-shadow:0 1px 7px #0005;pointer-events:none}.floor-table small{position:relative;text-shadow:0 2px 4px #000;font-size:10px;font-weight:900;pointer-events:none}.floor-legend{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:13px;color:#6d6053;font-weight:730;font-size:12px}.floor-legend small{color:#977a62}.shape-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.shape-choice{font-size:27px;min-height:46px;border-radius:9px;border:1px solid #e8daca;background:#fff8f1;color:#b8a79a}.shape-choice.active{background:#fff0dd;border:2px solid var(--orange);color:var(--orange)}
/* tables */
.table-scroller{overflow-x:auto}.data-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;text-align:left}.data-table th{font-size:12px;color:#7d7065;background:#fff4e8;padding:13px;border-bottom:1px solid #e8d6c7;white-space:nowrap}.data-table td{padding:12px 13px;border-bottom:1px solid #f0e8df;vertical-align:middle}.data-table tr:hover td{background:#fffaf2}.data-table select{font-size:12px;min-width:130px;padding:7px;min-height:35px}.data-table td small{color:#8e8071}.line-preview,.history-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed #eadbca}.total-label,.points-display{font-weight:950;color:var(--orange-deep);font-size:26px;margin-top:12px}.points-display small{font-size:13px;color:#776555}
/* login */
.auth-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px;background:radial-gradient(circle at 14% 18%,#ffc298,transparent 30%),radial-gradient(circle at 85% 78%,#ffdeab,transparent 35%),#fff7ea}.login-box{width:min(460px,100%);padding:35px;background:var(--paper);border:1px solid #f2decb;border-radius:25px;box-shadow:0 17px 60px #8a4e1830;text-align:center}.login-logo{width:110px;height:110px;object-fit:contain;margin:auto}.login-script{font-size:23px;color:var(--orange);margin:8px 0}.login-box h1{font-size:25px;line-height:1.2}.login-box p{margin:9px 0 17px}.login-box form{text-align:left}.login-box label{font-size:13px}.login-box .btn{margin-top:20px}.login-note{font-family:"Segoe Print","Comic Sans MS",cursive;font-weight:800;color:#b97942;margin-top:24px;font-size:12px}
/* breakpoints */
@media(max-width:1150px){.app-shell{grid-template-columns:207px minmax(0,1fr)}.sidebar{padding:17px 11px}.brand strong{font-size:16px}.brand img{width:48px;height:48px}.content-with-editor:has(.edit-panel){grid-template-columns:1fr}.floor-layout{grid-template-columns:1fr}.two-cols{grid-template-columns:1fr}.page-wrap{padding:22px}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:12px 14px;gap:9px}.brand{justify-content:center}.side-caption,.sidebar-doodle,.side-bottom{display:none}.side-nav{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:5px;padding-bottom:5px}.side-nav a{flex:0 0 auto;padding:10px 12px;font-size:12px}.topbar{padding:12px 15px;min-height:auto}.top-slogan{font-size:13px}.eyebrow{font-size:9px}.team-pill,.username{display:none}.page-wrap{padding:17px 13px 35px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.panel{padding:17px}.dashboard-grid{grid-template-columns:1fr}.floor-canvas{height:390px}.form-grid.cols-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.page-heading{flex-direction:column}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-value{font-size:26px}.quick-grid{grid-template-columns:1fr 1fr}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-photo{height:105px}.offers-grid{grid-template-columns:1fr 1fr;gap:9px}.offer-card,.offer-card img{height:210px;min-height:210px}.offer-overlay{padding:10px}.offer-overlay strong{font-size:15px}.floor-canvas{height:320px}.floor-table{scale:.75}.form-grid,.form-grid.cols-3{grid-template-columns:1fr}.weekday-grid{grid-template-columns:repeat(4,1fr)}.photo-field-body{grid-template-columns:100px minmax(0,1fr)}.top-user{gap:6px}.login-box{padding:22px}.toolbar{flex-direction:column;align-items:stretch}.toolbar select{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Cafe X – поврзани нарачки и резервации */
.cx-order-reservation-staff { margin: 7px 0; padding: 8px; border-left: 3px solid #ff651f; background: #ffeddd; border-radius: 7px; color: #6a3113; font-size: 12px; }
.cx-order-reservation-staff strong { color: #a72814; }

/* Coffee bar X v2.4 - unambiguous statuses and safe removal */
.btn-danger{background:#fff3f0;color:#a12517;border-color:#edafa5}
.btn-danger:hover{background:#ffe3de;color:#891a10}
.cx-danger-zone{margin-top:18px;border-top:1px dashed #e2beb0;padding-top:16px}
.cx-confirm-question{font-size:13px;line-height:1.5;color:#8a2a14;margin:0 0 12px}
.cx-confirm-actions{display:flex;gap:10px;flex-wrap:wrap}
.cx-global-message{max-width:830px;margin:12px 0 18px}
.status-chip.is-inactive{color:#896757;background:#f4eee9}
.edit-panel select{color:#231a14;background:#fffdf9}
@media(max-width:480px){.cx-confirm-actions .btn{flex:1 1 100px}}

/* v2.5 - manual home-page selections */
.cx-help-text{display:block;margin:5px 0 11px;color:#9b6947;font-size:11px;line-height:1.4}
.cx-featured-star{position:absolute;right:8px;top:9px;z-index:2;color:#fff;background:#ff601b;border-radius:10px;font-size:10px;font-weight:900;padding:5px 8px;box-shadow:0 2px 9px #6a2b0c40}
.cx-featured-offer-mark{display:inline-block;padding:3px 6px;color:#fff;background:#f35b21;border-radius:5px;font-size:10px;font-weight:900;margin-left:6px}


/* Coffee bar X Staff v2.6 — SQL-backed order filters and result paging */
.cx-orders-filter-panel{border:1px solid #f1d9c6;background:linear-gradient(145deg,#fffdf9,#fff6eb)}
.cx-orders-filter-heading{margin-bottom:8px}
.cx-orders-filter-heading h2{margin-bottom:0!important}
.cx-orders-filter-heading .hand-note{font-size:16px}
.cx-orders-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 15px}
.cx-orders-field{min-width:0}
.cx-orders-field label{margin:5px 0 6px;font-size:12px;font-weight:800;color:#604c3f}
.cx-orders-field input,.cx-orders-field select{width:100%;min-width:0;background:#fff;border:1px solid #e4d6ca;border-radius:11px;padding:9px 11px;min-height:43px;color:#30231e}
.cx-orders-field input:focus,.cx-orders-field select:focus{border-color:var(--orange);outline:2px solid #ff8f4b33}
.cx-orders-filter-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px;flex-wrap:wrap}
.cx-orders-quick-filters,.cx-orders-filter-buttons{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.cx-orders-quick{border:1px solid #f4c7a7;color:#a94b1c;background:#fff5e7;border-radius:22px;padding:9px 16px;min-height:39px;font-size:12px;font-weight:850;transition:background .15s ease,transform .15s ease}
.cx-orders-quick:hover{background:#ffe0c2}.cx-orders-quick:active{transform:translateY(1px)}
.cx-orders-results-head{margin-bottom:15px}.cx-orders-results-head h2{margin-bottom:3px!important}
.cx-orders-results-head strong{color:#c94d0b}
.cx-orders-refresh{min-width:103px}
.cx-orders-empty{text-align:center;padding:40px 15px;color:#352920;display:grid;justify-items:center;gap:8px}
.cx-orders-empty-symbol{font-size:40px;color:var(--orange)}
.cx-orders-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:15px;padding-top:18px}
.cx-orders-pagination span{font-size:13px;color:#6f5848}
.cx-order-status{display:inline-block;padding:4px 9px;border-radius:99px;font-weight:850;font-size:11px;background:#eee7df;color:#68584b;white-space:nowrap}
.cx-order-status-new{background:#fff0d8;color:#b35e0e}
.cx-order-status-accepted,.cx-order-status-preparing{background:#e9efff;color:#33589c}
.cx-order-status-ready,.cx-order-status-served,.cx-order-status-delivered{background:#e3f6e8;color:#207949}
.cx-order-status-cancelled{background:#fce9e8;color:#a62a27}
.cx-order-status-outfordelivery{background:#e7efff;color:#315fa2}
@media(max-width:1250px){.cx-orders-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.cx-orders-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.cx-orders-filter-grid{grid-template-columns:1fr}.cx-orders-filter-buttons{width:100%}.cx-orders-filter-buttons .btn{flex:1}.cx-orders-quick-filters{width:100%}.cx-orders-quick{flex:1}.cx-orders-refresh{min-width:0}}
@media(prefers-reduced-motion:reduce){.cx-orders-quick{transition:none}}

/* Coffee bar X Staff v2.6.2 — компактни филтри, со отворање по потреба */
.cx-orders-filter-panel{padding:15px 20px}
.cx-orders-filter-heading{margin-bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.cx-orders-filter-labels{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.cx-orders-filter-heading h2{font-size:16px;margin:0!important}
.cx-orders-filter-summary{font-size:12px;color:#8c6148;font-weight:650}
.cx-orders-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 14px;min-height:40px;border:1px solid #ffb380;border-radius:11px;background:#ffeddc;color:#a94b19;font-weight:800;font-size:13px;white-space:nowrap;transition:background .2s ease}
.cx-orders-filter-toggle:hover{background:#ffdbc0}
.cx-orders-filter-toggle span{font-size:20px;line-height:1}
.cx-orders-filter-body{margin-top:15px;padding-top:15px;border-top:1px dashed #efc5ab}
.cx-orders-filter-body[hidden]{display:none!important}
@media(max-width:600px){.cx-orders-filter-panel{padding:13px}.cx-orders-filter-heading{align-items:flex-start}.cx-orders-filter-labels{flex-direction:column;align-items:flex-start;gap:2px}.cx-orders-filter-toggle{font-size:12px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.cx-orders-filter-toggle{transition:none}}

/* v2.6.4 – promotion editor date/product visibility */
.cx-offer-section-title{margin:20px 0 8px;font-size:16px;font-weight:850;color:#2a1d14;border-left:4px solid var(--orange);padding-left:10px}
.cx-offer-helper{display:block;font-size:12px;color:#7c7066;line-height:1.55;margin:6px 0 10px}
.cx-offer-presets{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 13px}
.cx-offer-presets button,.cx-offer-product-actions button{font:inherit;font-size:12px;font-weight:750;color:#a54a14;background:#fff4e8;border:1px solid #f1c9ad;border-radius:9px;cursor:pointer;padding:7px 10px}
.cx-offer-presets button:hover,.cx-offer-product-actions button:hover{background:#ffe0c6}
.cx-offer-all-label{padding:12px;margin:8px 0!important;border:1px dashed #ffb878;border-radius:10px;background:#fff9f0}
.cx-offer-product-tools{display:flex;flex-direction:column;gap:9px;margin:10px 0}
.cx-offer-product-tools input{width:100%;box-sizing:border-box}
.cx-offer-product-actions{display:flex;flex-wrap:wrap;gap:8px}
.cx-offer-products{grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px;overflow-y:auto;padding:10px;gap:7px}
.cx-offer-product-option{align-items:flex-start!important;margin:0!important;padding:5px!important;background:#fff;border:1px solid #f2e3d6;border-radius:8px}
.cx-offer-product-option span{display:inline-block;min-width:0}
.cx-offer-product-option small{color:#917767;white-space:nowrap}
.cx-offer-selection-count{margin:9px 0 14px;padding:8px 12px;background:#fff0dc;color:#3c281b;border-radius:9px;font-size:13px}
@media(max-width:600px){.cx-offer-products{grid-template-columns:1fr}}
