:root{--ink:#2a211e;--gold:#bc8b37;--bg:#f7f5f1;--white:#fff;--line:#dedbd4;--muted:#766e69;--ok:#0c815a;--bad:#ba4131;--warning:#bc7616;--shadow:0 8px 22px #32221912;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}header{background:#241812;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px max(16px,calc((100% - 1400px)/2));position:sticky;top:0;z-index:10;box-shadow:var(--shadow)}header strong{font-size:20px;letter-spacing:.4px}header small{display:block;font-size:11px;color:#ddcda8}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.role{background:#5c482c;color:#fff;padding:6px 9px;border-radius:7px;font-size:12px}.wrap{max-width:1400px;margin:auto;padding:16px}.nav{display:flex;gap:8px;overflow-x:auto;padding:8px 0 13px;scrollbar-width:thin}.nav button{white-space:nowrap;background:#e9e4dc;color:#55443c}.nav button.active{background:#241812;color:#fff}.nav button em{font-style:normal;background:#ba4131;color:#fff;padding:2px 6px;border-radius:30px;font-size:11px}button,input,select,textarea{font:inherit}button{border:0;background:#281b14;color:white;padding:11px 14px;border-radius:10px;cursor:pointer;font-weight:650;touch-action:manipulation;min-height:42px}button:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:not-allowed}.ghost{background:#ede7dc;color:#3b3029}.gold{background:var(--gold);color:#1a130b}.red{background:var(--bad)}.green{background:var(--ok)}input,select,textarea{border:1px solid #cfc7bd;background:white;padding:11px;border-radius:10px;min-width:0;width:100%;font-size:16px;color:var(--ink)}textarea{min-height:70px;resize:vertical}label{font-size:13px;color:#655d57;display:block;margin:0 0 6px;font-weight:650}h1,h2,h3{line-height:1.2;margin:0 0 13px}h1{font-size:24px}h2{font-size:21px}h3{font-size:16px}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;margin-bottom:13px;box-shadow:0 2px 9px #43301d08}.sub{color:var(--muted);font-size:13px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:12px}.cols2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cols3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.orderlayout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:16px;align-items:start}.sticky{position:sticky;top:85px}.field{margin-bottom:12px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.row.left{justify-content:flex-start}.item{border-bottom:1px solid var(--line);padding:10px 0}.item:last-child{border-bottom:0}.pill{display:inline-block;border-radius:30px;padding:5px 9px;background:#efe8db;color:#654c29;font-size:12px;font-weight:700}.pill.ok{background:#d9f2e8;color:#086944}.pill.warn{background:#fff0ce;color:#905a11}.pill.bad{background:#ffe2db;color:#a62b23}.amt{font-size:21px;font-weight:800;font-variant-numeric:tabular-nums}.category-tabs{display:flex;overflow-x:auto;gap:7px;padding:3px 0 13px}.category-tabs button{background:#e9e3d9;color:#46352b;white-space:nowrap}.category-tabs button.active{background:#bc8b37;color:#20160e}.product{display:flex;gap:12px;align-items:flex-start}.product img{width:78px;height:78px;object-fit:cover;border-radius:10px;background:#eee}.product-name{font-weight:750}.product .desc{font-size:12px;color:#706963;margin:5px 0}.product .price{font-weight:800;color:#93661f}.product .bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}.product .bottom button{padding:8px 10px;min-height:38px}.cartline{background:#f9f7f3;border-radius:10px;padding:10px;margin-bottom:8px}.cartline .row{margin-bottom:5px}.cartline textarea{min-height:42px;font-size:13px}.tablegrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.tabletile{text-align:left;min-height:125px;background:#edf5ef;color:#185c3d;border:2px solid #aad8b6}.tabletile.occupied{background:#fff0d7;color:#7c4b0c;border-color:#e6bc69}.tabletile.paid{background:#deefe3;color:#145c38;border-color:#73bc93}.tabletile .big{font-size:19px;display:block}.tabletile .small{font-size:12px;display:block;margin-top:6px}.notice{padding:12px;border-radius:12px;background:#fff1d9;color:#634719;margin:12px 0}.error{background:#fee2df;color:#972919}.success{background:#dff2e5;color:#0f6543}.hidden{display:none!important}.auth{max-width:420px;margin:30px auto}.auth .card{padding:24px}.auth button{width:100%}.muted{color:var(--muted)}.inline-controls{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.inline-controls input{max-width:110px}.inline-controls select{max-width:150px}.section{margin-top:20px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.badgebar{display:flex;gap:7px;flex-wrap:wrap}.adminform{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.adminform .wide{grid-column:1/-1}.card hr{border:0;border-top:1px solid var(--line);margin:14px 0}.empty{text-align:center;padding:30px 12px;color:#706962}.topmsg{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);min-width:240px;max-width:calc(100% - 30px);z-index:99;padding:13px 18px;border-radius:12px;color:white;background:#1f6844;box-shadow:var(--shadow)}.topmsg.bad{background:#b1382b}.dragrow{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px;border-bottom:1px solid #eee}.dragrow:last-child{border-bottom:0}small{line-height:1.3}.loginbrand{color:#bc8b37;font-size:26px;font-weight:850;text-align:center;margin-bottom:8px}.kitchen-card{border-left:5px solid var(--gold)}.time{font-variant-numeric:tabular-nums;font-weight:800}.splitrow{display:grid;grid-template-columns:1fr 1fr;gap:7px}.foot{font-size:12px;color:#80756d;text-align:center;padding:30px 0}.sticky-actions{display:flex;gap:8px;flex-wrap:wrap} @media(max-width:830px){.orderlayout{grid-template-columns:1fr}.sticky{position:static}.wrap{padding:12px}.cols2{grid-template-columns:1fr}.cols3{grid-template-columns:1fr 1fr}.adminform{grid-template-columns:1fr}.adminform .wide{grid-column:auto}.product img{width:70px;height:70px}h1{font-size:22px}header{padding:12px}.card{padding:13px}.nav{position:sticky;top:61px;z-index:9;background:var(--bg)}button{min-height:44px}.tablegrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.cols3{grid-template-columns:1fr}.splitrow{grid-template-columns:1fr}.header-actions{gap:4px}.role{font-size:10px}header strong{font-size:17px}}

.product-remove-btn{background:#fce5df;color:#9d2e23;border:1px solid #eec4b8;min-height:38px;padding:8px 11px}.addon-chooser{margin:9px 0;border:1px solid #e4d5b7;border-radius:10px;padding:9px;background:#fffbf2}.addon-chooser summary{font-weight:750;cursor:pointer;min-height:30px}.addon-list{display:grid;gap:6px;margin-top:9px}.addon-option{display:flex;align-items:center;gap:9px;padding:7px 5px;margin:0;border-bottom:1px solid #efe6d6;font-size:13px}.addon-option input{width:22px;height:22px;flex-shrink:0}.addon-option span{flex:1}.addon-admin-group{padding:12px;border:1px solid #e9dfcf;border-radius:11px;margin-top:12px}.addon-admin-form{display:grid;grid-template-columns:1fr 125px auto;gap:7px;margin-top:10px}.addon-admin-option{padding:8px 0;border-top:1px solid #eee}@media(max-width:640px){.addon-admin-form{grid-template-columns:1fr 1fr}.addon-admin-form input:first-child{grid-column:1/-1}.addon-admin-form button{grid-column:1/-1}}.selected-product{border:2px solid #b88a30!important;background:#fff9e9!important}.selected-product .product-name{color:#795017}.qty-row{display:flex;align-items:center;gap:8px}.qty-btn{padding:5px 11px;min-height:35px}.mobile-cart-bar{display:none}@media(max-width:830px){.mobile-cart-bar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#241812;color:#fff;padding:10px 14px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #0003;align-items:center;justify-content:space-between;gap:10px}.mobile-cart-bar small{display:block;color:#efce86;margin-top:2px}.mobile-cart-bar button{background:#bd8c39;color:#1e140d;font-size:13px;padding:10px}.wrap{padding-bottom:92px}#orderCart{scroll-margin-top:120px}.selected-product{border-width:2px}}
html,body{max-width:100%;overflow-x:clip}
.wrap,#root,#page,.orderlayout,.orderlayout>*,#productGrid,.card{min-width:0;max-width:100%}
.orderlayout{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}
#productGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;width:100%}
#productGrid>.card{margin:0;padding:14px;min-width:0}
#productGrid .product{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:start;gap:10px;min-width:0}
#productGrid .product>div:last-child{min-width:0;width:100%}
#productGrid .product img{width:50px;height:50px;object-fit:cover}
#productGrid .product-name{overflow-wrap:anywhere}
#productGrid .bottom{display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:100%;min-width:0}
#productGrid .bottom>small:first-child{width:100%;max-width:100%}
#productGrid .bottom button{box-sizing:border-box;max-width:100%;width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;min-height:42px}
.category-tabs{max-width:100%;min-width:0}.category-tabs button{flex:0 0 auto}
.cc-ready-notice{position:fixed;top:76px;right:12px;left:12px;z-index:90;max-width:440px;margin-left:auto;padding:16px 18px;background:#e2f4e9;border:2px solid #217448;border-radius:14px;color:#17452d;box-shadow:0 10px 28px #23170c35;font-size:15px}
.cc-ready-notice strong{display:block;margin-bottom:5px;font-size:17px}
.cc-ready-notice button{margin-top:10px;background:#17643e;color:white}
@media(max-width:1100px){.orderlayout{grid-template-columns:minmax(0,1fr)}.sticky{position:static}}
@media(max-width:650px){.wrap{width:100%;padding:10px!important}.nav{max-width:100%;overflow-x:auto}#productGrid{grid-template-columns:minmax(0,1fr);gap:10px}#productGrid>.card{padding:12px}#productGrid .product{grid-template-columns:56px minmax(0,1fr)}#productGrid .bottom button{width:100%}.cc-ready-notice{top:64px;left:8px;right:8px}}.fx-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}
.fx-actions button{min-height:44px}
.fx-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:12px;margin:12px 0 16px}
.fx-stat{border:1px solid #e6ded0;border-radius:14px;background:#fff;padding:16px;min-width:0}
.fx-stat small{display:block;color:#746b61;margin-bottom:7px}
.fx-stat strong{font-size:clamp(19px,2.4vw,27px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fx-bar{background:#eee5d9;border-radius:12px;height:15px;overflow:hidden}
.fx-bar>div{height:100%;background:#b58b3c;max-width:100%}
.fx-graph{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:600px}
.fx-graph div{background:#f2eee7;border-radius:10px;overflow:hidden}
.fx-graph span{display:block;background:#a98239;min-height:9px}
.fx-graph .out{background:#ae5548}
.fx-hidden{display:none}
@media(max-width:700px){.fx-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-actions button{flex:1 1 140px}}
.fx-price-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.fx-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px}
.fx-price-grid>.card{min-width:0}
.fx-price-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:10px;margin:12px 0}
.fx-price-metrics>div{background:#f6f1e9;border-radius:10px;padding:10px;min-width:0}
.fx-price-metrics small,.fx-price-option small{display:block;color:#746b61;margin-bottom:4px;font-size:12px}
.fx-price-metrics strong,.fx-price-option b{font-size:19px;overflow-wrap:anywhere}
.fx-price-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.fx-price-option{padding:9px 7px;border:1px solid #e3d9c9;border-radius:9px;text-align:center}
.fx-price-option b{font-size:16px}
@media(max-width:620px){.fx-price-options{grid-template-columns:repeat(3,minmax(0,1fr))}.fx-price-option b{font-size:14px}.fx-price-option small{font-size:11px}}
.cc-kitchen-timer{margin:12px 0;padding:11px;border-radius:12px;border:1px solid #e1e8dc;background:#f5fbf4}
.cc-kitchen-clocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.cc-clock-tile{background:#fff;border-radius:10px;padding:11px;min-width:0}
.cc-clock-tile small{display:block;font-size:12px;color:#5e675e;margin-bottom:5px}
.cc-clock-tile strong{display:block;font-size:clamp(16px,2vw,22px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.cc-prep-track{height:7px;background:#d8e6d3;border-radius:9px;margin-top:10px;overflow:hidden}
.cc-prep-progress{height:100%;background:#48945e;border-radius:9px;transition:width .7s linear}
.cc-kitchen-status{display:block;margin-top:8px;font-size:12px;font-weight:700}
.cc-ontime{color:#277041}.cc-soon{color:#94510b}.cc-late{color:#aa2c27}
.cc-kitchen-soon{background:#fff6e5;border-color:#f0cf96}
.cc-kitchen-soon .cc-prep-progress{background:#d88922}
.cc-kitchen-late{background:#fff0ed;border-color:#e1a59e}
.cc-kitchen-late .cc-prep-progress{background:#c3483c}
@media(max-width:390px){.cc-kitchen-clocks{grid-template-columns:1fr}}
.cc-health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:15px 0}
.cc-health-grid .card{min-width:0}
.cc-health-numbers{font-weight:800;font-size:clamp(20px,2.2vw,28px);overflow-wrap:anywhere}
.cc-health-numbers small{font-size:13px;font-weight:400;color:#746b61}
.cc-health-track{height:11px;border-radius:30px;background:#e9e1d3;overflow:hidden;margin:10px 0}
.cc-health-track>div{height:100%;border-radius:30px}
.cc-health-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cc-health-stats div{padding:10px;background:#f7f3ec;border-radius:10px}
.cc-health-stats small{display:block;font-size:12px;color:#746b61}
.cc-health-stats b{display:block;font-size:22px}

.cc-schedule-editor{padding:14px 0;border-bottom:1px solid #e9e3da}
.cc-schedule-editor:last-child{border:0}
.cc-daypicker{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.cc-daypicker label{display:flex;align-items:center;gap:4px;padding:8px;border:1px solid #ded7ca;border-radius:8px;font-size:12px;background:#fff;cursor:pointer}
.cc-schedule-editor .row{margin-bottom:10px}
.cc-service-panel{border:1px solid #e1d4c3;background:#f9f5ed;border-radius:12px;padding:13px;margin:12px 0}.cc-checkline{display:flex;gap:10px;align-items:center;cursor:pointer}.cc-checkline input{width:22px;height:22px;flex:none}.cc-checkline small{display:block;color:#756c5e;font-weight:400;font-size:12px;margin-top:4px}.cc-checkout-breakdown{margin-top:12px;display:grid;gap:6px}.cc-checkout-breakdown>div{display:flex;justify-content:space-between;gap:10px}.cc-checkout-total{font-size:17px;font-weight:700;border-top:1px solid #ded5c9;padding-top:8px}.cc-kitchen-waiting{background:#f1f3f6;border-color:#cbd3df}.cc-waiting{color:#53657e}.cc-kitchen-waiting .cc-prep-progress{width:0;background:#8c97a9}
.check-control {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.check-control input {
  width: auto;
  min-height: 0;
  margin: 0;
}
fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ===================== Tema Pimenta (layout novo) =====================
   Por cima das regras acima: cores, tipografia, menu lateral e login dividido.
   Referência: https://claude.ai/artifact/DFbsu2ajgCjVkAV6Cztrbm */
:root{--ink:#1B1A17;--gold:#D62F2F;--accent:#D62F2F;--accent-dark:#B42323;--bg:#FAF8F6;--line:#E4E0D8;--muted:#5F5B54;--ok:#0F7B4F;--bad:#B42318;--warning:#B45309;--carvao:#1F1B18;--carvao-2:#3A322D;--nav-text:#CFC6BF;--nav-muted:#A89F98;--gema-bg:#FDF3D6;--gema:#7A5200;--head-h:58px;--shadow:none;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink)}
body{background:var(--bg);color:var(--ink)}
h1,h2,h3,.loginbrand,.auth-title,.cc-brand b,header strong{font-family:"Bricolage Grotesque",Inter,system-ui,sans-serif;letter-spacing:-.01em}
h1{font-size:28px}h2{font-size:20px}h3{font-size:16px}
a{color:var(--accent)}a:hover{color:var(--accent-dark)}
:focus-visible{outline:3px solid #F0A6A6;outline-offset:2px}

/* Cabeçalho */
header{background:var(--carvao);min-height:var(--head-h);padding:8px 20px;box-shadow:none;border-bottom:1px solid #2B2521}
header strong{font-size:18px;letter-spacing:0}
header small{color:var(--nav-text);font-size:12px}
.cc-brand{display:flex;align-items:center;gap:10px;min-width:0}
.cc-logo{flex:0 0 auto;width:34px;height:34px;border-radius:9px;background:var(--accent);display:inline-flex;align-items:center;justify-content:center}
.role{background:var(--carvao-2);color:#fff;border-radius:99px;padding:6px 12px}
header button,header .ghost{background:transparent;color:#fff;border:1px solid #4A403A;min-height:38px;padding:8px 12px;font-weight:600}
header button:hover{background:var(--carvao-2);filter:none}

/* Botões e campos */
button{background:var(--carvao);color:#fff;border-radius:10px;font-weight:600}
button:hover{filter:brightness(1.15)}
.gold{background:var(--accent);color:#fff}
.gold:hover{background:var(--accent-dark);filter:none}
.ghost{background:#fff;color:var(--ink);border:1px solid #D6D1C7}
.ghost:hover{background:#F3F0EB;filter:none}
.red{background:#B42318;color:#fff}
.green{background:var(--ok);color:#fff}
input,select,textarea{border:1px solid #D6D1C7;border-radius:10px;background:#fff}
input:focus,select:focus,textarea:focus{border-color:var(--ink);outline:2px solid #F0A6A6;outline-offset:0}
label{color:#45423D;font-weight:600}

/* Cartões, etiquetas e avisos */
.card{border:1px solid var(--line);border-radius:14px;box-shadow:none}
.sub,.muted{color:var(--muted)}
.pill{background:var(--gema-bg);color:var(--gema);font-weight:600}
.pill.ok{background:#E6F4EE;color:#0F6B45}
.pill.warn{background:#FFF4DB;color:#8A5300}
.pill.bad{background:#FDECEC;color:#B42318}
.notice{background:var(--gema-bg);color:#5C3E00}
.error{background:#FDECEC;color:#9E1C12}
.success{background:#E6F4EE;color:#0F6B45}
.topmsg{background:var(--carvao);color:#fff}
.topmsg.bad{background:#B42318}
.amt{font-family:"Bricolage Grotesque",Inter,sans-serif}
.loginbrand{color:var(--accent)}
.kitchen-card{border-left:5px solid var(--accent)}

/* Cardápio, comanda e mesas */
.category-tabs button{background:#fff;color:var(--ink);border:1px solid #D6D1C7;border-radius:99px;font-weight:500}
.category-tabs button.active{background:var(--carvao);color:#fff;border-color:var(--carvao)}
.product .price{color:var(--accent)}
.cartline{background:#F6F3EF}
.tabletile{background:#E6F4EE;color:#0F6B45;border:2px solid #9FD3B8}
.tabletile.occupied{background:#FFF4DB;color:#8A5300;border-color:#F0CF96}
.tabletile.paid{background:#EAF3FB;color:#1D4E89;border-color:#A9C8E8}
.fx-bar>div,.fx-graph span{background:var(--accent)}
.fx-graph .out{background:var(--carvao-2)}
.fx-stat,.fx-price-option{border-color:var(--line)}
.fx-price-metrics>div,.cc-health-stats div{background:#F6F3EF}

/* Estrutura com menu lateral */
#root.wrap{max-width:none;padding:0}
.cc-shell{display:flex;align-items:stretch;min-height:calc(100vh - var(--head-h))}
.nav.cc-side{flex:0 0 236px;display:flex;flex-direction:column;gap:2px;overflow-x:hidden;overflow-y:auto;background:var(--carvao);padding:14px 12px 24px;position:sticky;top:var(--head-h);height:calc(100vh - var(--head-h));margin:0;scrollbar-width:thin}
.cc-navgroup{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--nav-muted);padding:14px 10px 6px}
.cc-navgroup:first-child{padding-top:4px}
.nav.cc-side button{background:transparent;color:var(--nav-text);text-align:left;width:100%;min-height:42px;padding:9px 12px;border-radius:8px;font-weight:500;white-space:normal;border:0}
.nav.cc-side button:hover{background:#2B2521;filter:none;color:#fff}
.nav.cc-side button.active{background:var(--carvao-2);color:#fff;font-weight:600}
.nav.cc-side button em{background:var(--accent);color:#fff;font-style:normal;font-size:11px;font-weight:700;padding:2px 7px;border-radius:99px;margin-left:4px}
.cc-content{flex:1 1 auto;min-width:0;max-width:1400px;padding:24px 32px 40px;box-sizing:border-box}
.cc-content>.card:first-child{border-style:dashed}

/* Login dividido */
body:has(.auth-split) header{display:none}
.auth-split{display:flex;flex-wrap:wrap;min-height:100vh}
.auth-hero{flex:1 1 460px;background:var(--carvao);color:#D8D0C9;padding:56px 64px;display:flex;flex-direction:column;justify-content:space-between;gap:40px;box-sizing:border-box}
.auth-hero .cc-brand b{color:#fff;font-size:22px}
.auth-hero h1{color:#fff;font-size:44px;line-height:1.05;letter-spacing:-.02em;margin:0 0 16px;max-width:520px}
.auth-hero p{font-size:17px;line-height:1.55;margin:0;max-width:460px}
.auth-hero ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;font-size:14px}
.auth-hero li{display:flex;gap:10px;align-items:center}
.auth-hero li:before{content:"";width:8px;height:8px;border-radius:4px;background:var(--accent);flex:0 0 auto}
.auth-split .auth{flex:1 1 420px;display:flex;align-items:center;justify-content:center;max-width:none;margin:0;padding:40px 20px;box-sizing:border-box}
.auth-split .auth>.card{width:100%;max-width:420px;border:0;background:transparent;padding:0}
.auth-title{font-size:30px;margin:0 0 6px}
.auth-split details{margin-top:8px}
.auth-split summary{cursor:pointer;font-weight:600;color:var(--accent);padding:8px 0}
.auth .card h1{font-size:26px}
.auth .card button[data-store]{width:100%}

/* Celular e tablet */
@media(max-width:830px){
  :root{--head-h:56px}
  header{padding:8px 12px}
  .cc-shell{flex-direction:column}
  .nav.cc-side{flex:0 0 auto;flex-direction:row;height:auto;overflow-x:auto;overflow-y:hidden;padding:8px 10px;gap:6px;z-index:9}
  .cc-navgroup{display:none}
  .nav.cc-side button{width:auto;flex:0 0 auto;white-space:nowrap;min-height:40px;padding:8px 14px;border-radius:99px;background:#2B2521}
  .nav.cc-side button.active{background:var(--accent)}
  .cc-content{padding:14px 12px 32px}
  .auth-hero{padding:28px 22px;gap:22px;flex-basis:100%}
  .auth-hero h1{font-size:30px}
  .auth-hero ul{display:none}
  .auth-split .auth{padding:28px 18px;align-items:flex-start}
}

/* Ajustes da conferência visual */
#root.wrap{max-width:1400px;padding:24px 32px}
#root.wrap:has(> .cc-shell),#root.wrap:has(> .auth-split){max-width:none;padding:0}
.auth-split .auth{flex-direction:column;gap:16px}
.auth-split .auth>.sub{width:100%;max-width:420px;margin:0}
header .ghost:hover,header button:hover,header button:active{background:var(--carvao-2);color:#fff}
.cc-noimg{flex:0 0 auto;width:56px;height:56px;border-radius:12px;background:#F1EEE8;color:var(--muted);display:flex;align-items:center;justify-content:center;font:700 22px "Bricolage Grotesque",Inter,sans-serif}
#productGrid .product .cc-noimg{width:50px;height:50px;font-size:20px}
.grid:has(> .kitchen-card){grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.mobile-cart-bar{background:var(--carvao)}
.mobile-cart-bar small{color:var(--nav-text)}
.mobile-cart-bar button{background:var(--accent);color:#fff;font-weight:600}
@media(max-width:830px){
  #root.wrap{padding:14px 12px}
  header{flex-wrap:nowrap;gap:8px}
  header .cc-brand{gap:8px}
  header .cc-logo{width:30px;height:30px}
  header strong{font-size:15px;white-space:nowrap}
  header small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}
  .header-actions{flex-wrap:nowrap;gap:6px}
  header button,header .ghost{min-height:36px;padding:6px 10px;font-size:13px;white-space:nowrap}
  .nav.cc-side{top:var(--head-h)}
}
@media(max-width:520px){
  header .role{display:none}
  header strong{font-size:14px}
  header button,header .ghost{padding:6px 8px;font-size:12px}
}
@media(max-width:520px){
  header .cc-brand,header .cc-brand>div{min-width:0}
  header strong{display:block;overflow:hidden;text-overflow:ellipsis}
}

/* Painéis da loja */
.cc-dashboard { display: grid; gap: 20px; }
.cc-page-intro {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.cc-page-intro :is(h1,p) { margin: 0; }
.cc-page-intro p { margin-bottom: 4px; }
.cc-statuses { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-metrics, .cc-panel-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.cc-metrics { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.cc-metric {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
}
.cc-metric dt { font-size: .85rem; color: var(--muted); }
.cc-metric dd {
  margin: 6px 0 0;
  font: 700 clamp(1.3rem, 2.4vw, 1.85rem)/1.15 "Bricolage Grotesque", Inter, sans-serif;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.cc-dashboard .cc-panel-grid > .card { min-width: 0; margin: 0; }
.cc-panel-wide { grid-column: 1 / -1; }
.cc-cash-lines { margin: 0 0 12px; }
.cc-cash-lines div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cc-cash-lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 650px) {
  .cc-panel-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Indicadores e gráficos Pimenta */
.cc-analytics > .card, .cc-analytics .fx-actions { margin: 0; }
.cc-chart-row { padding: 8px 0; }
.cc-chart-row .row { gap: 4px 12px; }
.cc-chart-row b { font-variant-numeric: tabular-nums; }
.cc-chart-track {
  height: 8px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}
.cc-chart-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.cc-chart-track .cc-chart-neutral { background: var(--carvao-2); }
.cc-chart-track .cc-chart-negative { background: var(--warning); }

/* Revisão do Painel da loja */
.cc-home-intro .cc-statuses { margin-top: 8px; }
.cc-home-intro .cc-cta { flex: 0 0 auto; }
.cc-home-main, .cc-home-side { display: grid; align-content: start; gap: 12px; }
.cc-home-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.cc-home-main .card { min-width: 0; margin: 0; }
.cc-home-orders > .row { flex-wrap: wrap; gap: 8px; }
.cc-home-orders > .row h2 { margin: 0; }
.cc-link { font-weight: 600; white-space: nowrap; text-underline-offset: 3px; }
.cc-order-row {
  display: grid;
  grid-template-columns: minmax(65px, auto) minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cc-order-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cc-order-row .what { overflow-wrap: anywhere; }
.cc-order-row .age { color: var(--muted); white-space: nowrap; }
.pill.novo { color: var(--accent-dark); background: color-mix(in srgb, var(--accent) 10%, white); }
.cc-block { width: 100%; }
.cc-attention { margin: 0; padding-inline-start: 1.15em; }
.cc-attention li + li { margin-top: 10px; }
.cc-attention li::marker { color: var(--warning); }
.cc-attention .sub { display: block; }
@media (max-width: 1000px) {
  .cc-home-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .cc-order-row { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 5px; }
  .cc-order-row .what { grid-column: 1 / -1; grid-row: 2; }
}

.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  background: var(--white);
}
.cc-chip:hover { border-color: var(--accent); filter: none; }
.cc-chip.active { border-color: var(--accent); background: var(--accent); color: var(--white); }
.fx-bar.in, .fx-bar.out { height: 8px; margin-top: 6px; background: var(--line); }
.fx-bar.in span, .fx-bar.out span { display: block; height: 100%; border-radius: inherit; }
.fx-bar.in span { background: var(--accent); }
.fx-bar.in .cc-chart-negative { background: var(--warning); }
.fx-bar.out span { background: var(--carvao-2); }

/* Revisão do Painel da loja: 2ª conferência (referência: desenho "3. Painel da loja", paleta Pimenta) */

/* "Visualizar como": barra fina numa linha só */
.cc-content .cc-viewas{padding:8px 12px;margin:0 0 16px;border-style:dashed}
.cc-content .cc-viewas .row{flex-wrap:nowrap;gap:10px}
.cc-content .cc-viewas b{font-size:14px;font-weight:600}
.cc-content .cc-viewas select{max-width:220px;min-height:38px;padding:6px 10px;font-size:14px}
.cc-content .cc-viewas .sub{display:none}

/* Chips: fileira única; selecionado em carvão, vermelho só para ação */
.cc-content .cc-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px 0 6px;margin:0 0 14px}
.cc-content .cc-chips::-webkit-scrollbar{display:none}
.cc-content .cc-chip{flex:0 0 auto;min-height:38px;padding:0 14px;border-radius:99px;background:#fff;color:var(--ink);border:1px solid #D6D1C7;font-size:14px;font-weight:500;white-space:nowrap}
.cc-content .cc-chip:hover{border-color:var(--ink);background:#F3F0EB}
.cc-content .cc-chip.active{background:var(--carvao);border-color:var(--carvao);color:#fff;font-weight:600}

/* Etiquetas de status: Novo neutro, Em preparo âmbar, Pronto verde */
.cc-content .pill.novo{background:#F1EEE8;color:#1B1A17}
.cc-content .pill.warn{background:#FFF4DB;color:#8A5300}
.cc-content .pill.ok{background:#E6F4EE;color:#0F6B45}

/* Link "Ver todos" sem sublinhado */
.cc-content .cc-link{color:var(--accent);font-size:13px;font-weight:600;text-decoration:none}
.cc-content .cc-link:hover{color:var(--accent-dark);text-decoration:underline}

/* Barras: entradas verdes, saídas vermelhas, trilho claro */
.cc-content .fx-bar.in,.cc-content .fx-bar.out{height:10px;border-radius:99px;background:#EFECE6}
.cc-content .fx-bar.in span{background:#0F7B4F}
.cc-content .fx-bar.out span{background:#D62F2F}

@media(max-width:830px){
  .cc-content .cc-cta{width:100%;min-height:48px;justify-content:center}
  .cc-content .cc-viewas b{display:none}
  .cc-content .cc-viewas select{max-width:none;width:100%}
  .cc-content .fx-stats>:last-child:nth-child(odd),
  .cc-content .cc-metrics>:last-child:nth-child(odd){grid-column:1/-1}
}

/* Impressão térmica */
.cc-print-banner{position:fixed;left:12px;right:12px;bottom:16px;z-index:95;max-width:520px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:var(--carvao);color:#fff;box-shadow:0 10px 30px #0004}
.cc-print-banner button{flex:0 0 auto;min-height:40px}
.cc-print-cats{display:flex;flex-wrap:wrap;gap:8px 16px;padding:4px 0}
.cc-print-flags{display:flex;flex-direction:column;gap:8px}
.cc-print-auto{margin:10px 0 4px;font-size:15px;color:var(--ink)}
.cc-print-auto input{width:20px;height:20px}

/* Pedidos online */
.cco-titulo{font-size:17px;margin:20px 0 10px}
.cco-card{padding:16px 18px}
.cco-card.cco-novo{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.cco-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.cco-total{font:700 20px "Bricolage Grotesque",Inter,sans-serif;white-space:nowrap}
.cco-itens{margin:10px 0 4px;font-weight:600}
.cco-end{margin:6px 0;padding:8px 10px;background:#F6F3EF;border-radius:10px;font-size:14px}
.cco-acoes{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.cco-min{display:flex;align-items:center;gap:6px;margin:0;font-size:13px}
.cco-min select{width:auto;min-height:42px;padding:6px 8px}
.cco-hoje summary{cursor:pointer;font-weight:600;margin:18px 0 10px}
.cco-flags{display:flex;flex-direction:column;gap:8px}
.cco-link{display:block;flex:1;min-width:0;overflow-wrap:anywhere;background:#F1EEE8;border-radius:8px;padding:8px 10px;font-size:13px}
.cco-bairro{align-items:flex-end;margin-top:12px}
.cco-bairro .field{margin:0}
.cco-bairro .field input{max-width:200px}
.inline-controls input[type=number]{max-width:90px}
