/* Sabi — design responsivo, cliente e restaurante separados.
   Ajustes puramente visuais: a lógica de pedidos permanece no JS e na API local. */
:root{--red:#e90025;--red-dark:#bd0020;--ink:#151a29;--line:#eceef2;--shadow:0 9px 32px rgba(26,20,49,.08)}
body{background:#f8f8fa;color:var(--ink)}
.btn-primary{background:linear-gradient(120deg,#e90025,#d60022);box-shadow:0 5px 12px #c9001b1b}
.btn{border-radius:14px}
.pill{max-width:100%;white-space:normal}
.client-app{max-width:1000px;background:#fff}
.client-app .topbar{height:68px;background:linear-gradient(110deg,#ec0029,#d8001c);position:relative;justify-content:space-between}
.client-app .topbar .brand{font-size:36px;position:absolute;left:50%;transform:translateX(-50%);line-height:1}
.client-app .topbar .head-actions{margin-left:auto}
.client-app .topbar .iconbtn{font-size:24px}
.home-hero{background:linear-gradient(115deg,#e90025,#db0020);border-radius:0 0 27px 27px;padding:6px clamp(18px,3vw,45px) 28px;min-height:214px;position:relative}
.home-hero h1{font-weight:850;font-size:clamp(23px,3vw,36px)}
.home-hero .hero-slogan strong{color:#ffe74b;font-style:italic}
.home-hero .hero-slogan em{color:white;font-weight:900}
.home-hero .hero-robot{width:clamp(165px,27%,275px);height:210px;object-fit:contain;object-position:bottom right;max-width:none;border-radius:0;align-self:flex-end;filter:drop-shadow(0 8px 10px #a5001829)}
.restriction-card{position:relative;margin-top:-20px;z-index:1;border-radius:22px;box-shadow:0 12px 28px #080e1c19}
.restriction-card h2{font-size:clamp(17px,2.2vw,21px)}
.restriction-card .tag{font-size:14px;padding:9px 15px}
.page-body{padding-bottom:44px}
.home-search{border-radius:28px;min-height:56px;box-shadow:0 3px 9px #0000000c}
.category-grid{margin:18px 0 6px}
.cat-btn{border-radius:16px;padding:13px 5px;background:#fffaf9}
.cat-emoji{background:#fff0ed;border-radius:14px;padding:6px 9px;font-size:25px}
.dish-card{min-height:132px;border-radius:19px;box-shadow:0 4px 15px #0c1a2910;transition:box-shadow .2s,transform .2s}
.dish-card:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0c1a2919}
.dish-card img{height:104px;width:120px;flex-basis:120px}
.dish-title{font-size:16px}
.dish-desc{font-size:13px}
.dish-card .pill{margin-top:2px}
.pagebar{background:linear-gradient(105deg,#f00028,#d50020);border-radius:0 0 23px 23px}
.profile-head{box-shadow:none;border:0;border-bottom:1px solid var(--line);border-radius:0}
.menu-link{border-radius:13px}
.menu-link.highlight{background:#ffe7eb;color:#a70925}
.check{border-radius:12px}
.check:has(input:checked){background:#ffeff2}
.add-restriction{background:#ffedef}
.results-note{border-radius:13px;background:#f0e8ff;color:#56379b}
.detail-hero{max-height:445px}
.notice-yellow{background:#fff1c5}
.notice-purple{background:#efe4fc}
.bottomnav button.active{color:#e90025}
.welcome-layout{background:radial-gradient(circle at 73% 40%,#ffe3e8 1%,#fff 56%);min-height:calc(100dvh - 170px)}
.welcome-layout h1 span{color:#c7001b}
.welcome-art{background:transparent}
.welcome-art img{object-fit:contain;filter:drop-shadow(0 12px 20px #ab002224)}
.warning-note{color:#576274}
/* Restaurante — painel vermelho / branco baseado na referência visual. */
body.restaurant-page{background:#f5f6f8}
.rest-dashboard{min-height:100dvh;display:grid;grid-template-columns:270px minmax(0,1fr);background:#f7f8fa}
.rest-sidebar{background:linear-gradient(160deg,#e80025 4%,#ce0020 94%);color:#fff;padding:28px 17px 22px;min-height:100dvh;display:flex;flex-direction:column;gap:12px}
.rest-brand{display:flex;flex-direction:column;gap:2px;margin-bottom:24px;padding:0 10px 14px;border-bottom:1px solid #ffffff45}
.rest-brand b{font-style:italic;font-size:45px;font-weight:1000;letter-spacing:-.075em;line-height:1.2}
.rest-brand strong{font-size:22px;line-height:1.2}
.rest-brand small{font-size:11px;color:#ffe0e5;margin-top:7px;line-height:1.4}
.rest-menu{display:flex;flex-direction:column;gap:8px}
.rest-menu button{display:flex;align-items:center;text-align:left;gap:13px;width:100%;min-height:50px;padding:12px 11px;border:1px solid transparent;border-radius:14px;background:transparent;color:white;font-weight:650;font-size:14px}
.rest-menu button.active,.rest-menu button:hover{color:#ad0020;background:#fff1f3}
.rest-menu button .rest-menu-icon{flex:0 0 24px;font-size:23px;text-align:center}
.rest-menu button em{background:#fff;color:#b00022;font-style:normal;font-size:12px;min-width:22px;text-align:center;border-radius:30px;padding:3px 5px;margin-left:auto}
.rest-menu button.active em{background:#e90025;color:white}
.rest-side-note{border-radius:19px;padding:18px;background:#ffffffec;color:#8b1531;margin-top:auto;font-size:14px}
.rest-side-note span{display:block;font-size:26px;margin-bottom:5px}
.rest-side-note b{display:block;line-height:1.4}
.rest-side-note p{font-size:12px;margin:9px 0 0;color:#5a4b57}
.logout-link{background:transparent;border:1px solid #ffffff60;color:#fff;border-radius:10px;padding:11px;font-weight:680;text-align:left}
.rest-main{padding:clamp(17px,3vw,39px);max-width:1750px;width:100%;margin:0 auto}
.rest-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}
.rest-header h1{font-size:clamp(25px,3vw,38px);margin:5px 0 6px;letter-spacing:-.04em}
.rest-header p{color:#6b7180;font-size:13px;margin:0}
.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:850;color:#c40020}
.rest-columns{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:19px;align-items:start}
.rest-card{border-radius:23px;background:#fff;border:1px solid #eef0f3;box-shadow:0 8px 25px #1a22310b;overflow:hidden;min-width:0}
.orders-panel{padding:23px}
.rest-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.rest-section-head h2{font-size:clamp(19px,2vw,23px);margin-bottom:6px}
.live-pill{background:#e5f9e9;color:#166932;border-radius:30px;padding:8px 12px;font-size:12px;font-weight:780;display:flex;align-items:center;gap:8px}
.live-pill i{width:8px;height:8px;border-radius:50%;background:#14aa39}
.rest-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}
.rest-stats div{background:#f8f9fb;border-radius:13px;padding:10px 12px;min-width:0}
.rest-stats b{display:block;font-size:22px;color:#d60025}
.rest-stats span{font-size:11px;color:#5e6979;display:block}
.rest-filters{display:flex;gap:6px;overflow-x:auto;margin:8px 0 19px;scrollbar-width:thin}
.rest-filters button{background:#f5f5f8;border:1px solid #e7e7ef;border-radius:12px;padding:10px 12px;white-space:nowrap;font-size:12px;font-weight:750}
.rest-filters button.active{color:white;background:#e60024;border-color:#e60024}
.rest-order{display:block;text-align:left;width:100%;border-radius:17px;border:1px solid #e9eaf0;background:#fff;padding:15px;margin:12px 0;color:#131827}
.rest-order.selected{border:2px solid #ed4767;background:#fff8f9;padding:14px}
.rest-order:hover{background:#fffafb}
.order-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.order-row b{font-size:18px}
.priority{color:#fff;background:#dc0022;border-radius:9px;padding:5px 8px;font-size:11px;font-weight:750}
.small-details{font-size:12px;color:#657083;margin:8px 0 10px}
.order-body{display:flex;gap:12px;align-items:center;border-top:1px solid #f0e7eb;padding-top:12px}
.order-body img{width:88px;height:80px;object-fit:cover;border-radius:13px;flex:0 0 88px}
.order-body strong{display:block;font-size:14px}
.order-body small{display:block;font-weight:700;font-size:12px;margin:4px 0 7px}
.order-body .pill{font-size:11px}
.order-allergy{font-size:12px;color:#9b1733;margin:12px 0 0;line-height:1.5}
.rest-warning{background:#fff0f3;border-radius:14px;color:#a21633;font-size:13px;line-height:1.5;padding:13px 15px;margin-top:17px}
.response-panel .red-strip{background:linear-gradient(115deg,#f00028,#d60020);color:#fff;padding:20px;text-align:center;font-weight:800;font-size:20px}
.response-inner{padding:23px}
.alert-symbol{background:#eb0024;color:#fff;clip-path:polygon(50% 0%,0% 100%,100% 100%);width:59px;height:54px;display:flex;align-items:end;padding:0 0 7px;justify-content:center;font-size:29px;font-weight:900;margin:0 auto 14px}
.response-inner>h2{text-align:center;font-size:clamp(19px,2vw,25px);margin-bottom:5px}
.response-inner>.muted{text-align:center;font-size:13px}
.allergy-card{background:#ffe7ed;color:#8c001b;padding:15px;border-radius:15px;margin:16px 0}
.allergy-card b{font-size:14px}
.allergy-card p{font-size:13px;margin:8px 0 0}
.food-guidance{background:#f1e9ff;padding:17px;border-radius:17px;color:#382466;margin:15px 0 19px;line-height:1.52}
.food-guidance h3{font-size:16px;margin-bottom:7px;color:#442c84}
.food-guidance p{font-size:14px;margin:7px 0}
.food-guidance small{display:block;color:#655287;font-size:11px;margin-top:8px}
.response-inner form h3{font-size:16px;margin:18px 0 10px}
.check-rest,.rest-choice{padding:13px;border:1px solid #dfe1e5;background:#fff;border-radius:11px;display:flex;align-items:flex-start;gap:9px;margin-bottom:9px;font-size:13px;line-height:1.4}
.rest-choice:has(input:checked),.check-rest:has(input:checked){background:#fff1f2;border-color:#e8919d}
.rest-choice input,.check-rest input{width:17px;height:17px;accent-color:#e40022;flex:0 0 17px;margin:0}
.note-label{display:block;margin:15px 0 7px;font-size:13px;font-weight:750}
.response-inner textarea{width:100%;min-height:70px;border:1px solid #dfe2e9;border-radius:11px;padding:10px;resize:vertical;margin-bottom:15px}
.response-inner form .btn{width:100%}
.answer-success{text-align:center;padding:22px 13px;color:#205c36;background:#eefff2;border-radius:16px;margin:18px 0}
.answer-success.answer-reject{background:#fff0f0;color:#943445}
.answer-symbol{width:84px;height:84px;border-radius:50%;background:#16af4d;color:white;font-size:58px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.answer-reject .answer-symbol{background:#d22142}
.answer-success h3{font-size:19px;margin-bottom:6px}
.answer-success p{font-size:14px}
.note-copy{text-align:left;padding:13px;border-radius:9px;background:white;color:#243247;font-size:13px}
.extra-section{padding:26px;max-width:950px;min-height:320px}
.extra-section h2{font-size:24px}
.extra-section .food-guidance{max-width:700px}
.restaurant-food-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.restaurant-food-list>div{display:flex;align-items:center;gap:14px;border:1px solid #eaedf1;padding:10px;border-radius:12px}
.restaurant-food-list img{width:84px;height:76px;border-radius:11px;object-fit:cover}
.restaurant-food-list strong{display:block;font-size:14px}
.restaurant-food-list span{color:#667085;font-size:12px}
.restaurant-footer{font-size:11px;color:#9298a4;margin:17px 0}
/* Tela de login do gestor */
.rest-login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#fff}
.login-art{min-height:100dvh;background:linear-gradient(140deg,#f1002b,#bd001e);display:flex;align-items:center;justify-content:center;flex-direction:column;color:white}
.login-art img{width:min(78%,440px);max-height:480px;object-fit:contain;filter:drop-shadow(0 11px 25px #3b001a3b)}
.login-art div{display:flex;align-items:baseline;gap:12px}
.login-art b{font-size:60px}
.login-art span{font-size:21px}
.login-box{width:min(90%,460px);margin:35px auto;padding:32px;background:white;border:1px solid #f1eaec;border-radius:24px;box-shadow:0 10px 40px #1c1f370d}
.login-box .login-icon{font-size:40px}
.login-box h1{font-size:33px;margin-bottom:8px}
.login-box p{font-size:14px;color:#6d7480}
.login-box label{font-size:13px;font-weight:750;display:block;margin:23px 0 9px}
.login-box input{border:1px solid #dadce4;border-radius:12px;width:100%;padding:15px;font-size:18px;letter-spacing:.13em;margin-bottom:18px}
.login-box .login-hint{font-size:12px;margin:17px 0 0}
@media(max-width:1180px){.rest-dashboard{grid-template-columns:220px minmax(0,1fr)}.rest-sidebar{padding:20px 10px}.rest-menu button{font-size:12px;gap:8px}.rest-menu button .rest-menu-icon{font-size:18px}.rest-columns{grid-template-columns:1fr}.rest-card{max-width:900px}}
@media(max-width:760px){.rest-dashboard{grid-template-columns:1fr}.rest-sidebar{min-height:unset;padding:13px 13px 8px}.rest-brand{margin:0;padding:2px 6px 8px;gap:0}.rest-brand b{font-size:29px}.rest-brand strong{font-size:16px}.rest-brand small{display:none}.rest-menu{flex-direction:row;overflow-x:auto;gap:4px;padding:4px 0;scrollbar-width:thin}.rest-menu button{white-space:nowrap;width:auto;min-height:41px;padding:9px;font-size:12px}.rest-menu button em{display:none}.rest-side-note{display:none}.logout-link{position:absolute;right:12px;top:18px;border:0;font-size:12px;padding:7px}.rest-main{padding:18px 13px}.rest-header{align-items:start}.rest-header h1{font-size:24px}.rest-columns{grid-template-columns:1fr;gap:15px}.restaurant-food-list{grid-template-columns:1fr}.rest-login{grid-template-columns:1fr}.login-art{min-height:250px}.login-art img{height:185px}.login-art b{font-size:36px}.login-box{margin:20px auto}}
@media(max-width:620px){.home-hero{min-height:196px;padding:9px 14px 22px;gap:2px}.home-hero .hero-robot{width:42%;height:178px;object-fit:contain;max-width:none}.home-hero h1{font-size:22px}.hero-slogan strong,.hero-slogan em{font-size:24px}.restriction-card{margin-top:-14px}.dish-card img{width:96px;height:92px;flex-basis:96px}.dish-card{padding:10px;gap:10px}.dish-title{font-size:14px}.dish-desc{font-size:11px}.category-grid{gap:5px}.cat-btn{padding:7px 2px;font-size:10px}.cat-emoji{font-size:22px;padding:6px}.welcome-art{height:235px}.welcome-art img{height:235px}}
@media(max-width:355px){.home-hero h1{font-size:19px}.hero-slogan strong,.hero-slogan em{font-size:20px}.home-hero .hero-robot{height:151px}.rest-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-panel,.response-inner{padding:14px}}

/* ===== Visual Sabi: aplicação fiel à referência aprovada (código real, não imagem). ===== */
:root{--red:#e50024;--red-dark:#c90020;--ink:#0e1017;--line:#e8e8eb}
body.client-page{background:#f5f5f6}
.client-app{max-width:720px;background:white;box-shadow:0 8px 34px #3333330e}
.client-app .topbar{height:98px;background:linear-gradient(120deg,#ef0027,#df001f);border-radius:0 0 0 0;padding:0 30px;z-index:1;position:relative}
.client-app .topbar .brand{font-size:46px;letter-spacing:-.085em}
.client-app .topbar .iconbtn{font-size:30px;min-width:44px}
.client-app .topbar .head-actions{gap:8px}
.client-app .home-hero{height:222px;min-height:222px;background:#fff;color:#111;overflow:visible;border-radius:0;padding:34px 33px 8px;display:flex;align-items:flex-start;position:relative;isolation:isolate}
.client-app .hero-copy{width:63%;position:relative;z-index:1}
.client-app .home-hero h1{font-size:clamp(27px,4vw,39px);font-weight:900;letter-spacing:-.04em;margin:0 0 4px;line-height:1.16}
.client-app .hero-slogan strong,.client-app .hero-slogan em{font-size:clamp(25px,4vw,39px);line-height:1.07;font-weight:900}
.client-app .hero-slogan strong{color:#d60024;font-style:italic}
.client-app .hero-slogan em{color:#0b0b0d}
.client-app .home-hero .hero-robot{position:absolute;z-index:3;right:31px;top:-65px;width:240px;height:290px;max-width:none;object-fit:contain;object-position:bottom right;filter:drop-shadow(0 5px 4px #00000015);pointer-events:none}
.client-app .page-body{padding:0 28px 40px}
.client-app .restriction-card{margin-top:0;padding:20px 22px;border-radius:22px;box-shadow:0 6px 20px #00000010;position:relative;z-index:4;border:1px solid #e8e8e8}
.client-app .restriction-card .row-between{align-items:center}
.client-app .restriction-card h2{font-weight:900;font-size:clamp(17px,2.7vw,23px);margin:0 0 16px;line-height:1.3}
.shield-mark{display:inline-flex;align-items:center;justify-content:center;border:3px solid #dc0026;color:#dc0026;border-radius:13px;font-size:18px;width:30px;height:32px;line-height:1;vertical-align:middle}
.client-app .restriction-card .inline-edit{border:1px solid #ffced4;background:#fff;color:#d4001c;text-decoration:none;border-radius:28px;padding:9px 16px;font-size:16px;white-space:nowrap}
.client-app .restriction-card .tag{background:#ffdee2;color:#07080c;font-size:15px;font-weight:700;padding:9px 15px}
.client-app .home-search{margin:22px 0 0;border:2px solid #e1e2e5;min-height:61px;border-radius:32px;box-shadow:none}
.client-app .home-search .search-icon{font-size:34px;font-weight:500;color:#595f66;line-height:1}
.client-app .home-search input{font-size:18px}
.client-app .category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0 25px}
.client-app .cat-btn{font-weight:760;gap:8px;padding:9px 2px 12px;border:1px solid #e9e9e9;border-radius:17px;background:#fff;min-width:0;font-size:14px;line-height:1.16}
.client-app .cat-emoji{font-size:32px;background:none;border-radius:0;padding:0;line-height:1.22;min-height:38px}
.client-app .section-heading{font-size:clamp(19px,2.9vw,23px);font-weight:900;letter-spacing:-.035em;margin:21px 0 14px}
.client-app .dish-grid{grid-template-columns:1fr;gap:14px}
.client-app .dish-card{border-radius:19px;min-height:145px;box-shadow:0 4px 14px #0e142010;padding:11px;gap:17px;border:1px solid #e9e9e9;align-items:center}
.client-app .dish-card:hover{border-color:#f3aab2}
.client-app .dish-card img{width:154px;height:121px;flex-basis:154px;border-radius:13px}
.client-app .dish-title{font-size:clamp(15px,2.5vw,19px);font-weight:850}
.client-app .dish-desc{font-size:13px;color:#535760}
.client-app .dish-meta{font-size:15px;font-weight:700}
.client-app .dish-card .pill{font-size:13px;font-weight:720;max-width:100%;line-height:1.3}
.client-app .bottomnav{width:min(100%,720px);padding:9px 8px max(9px,env(safe-area-inset-bottom));border-top:1px solid #e8e8e8;box-shadow:0 -4px 15px #1111110b}
.client-app .bottomnav button{font-size:13px;min-height:62px}
.client-app .bottomnav button b{font-size:27px;font-weight:600}
.client-app .welcome-art img{height:min(510px,60vh);filter:drop-shadow(0 10px 12px #0000001a)}
.client-app .detail-hero{max-height:500px}
.client-app .pagebar{border-radius:0;background:linear-gradient(130deg,#ea0026,#d3001e)}
.client-app .menu-link{border-radius:0}
/* Restaurant: solid red menu, clean white orders surface, from user mockup */
body.restaurant-page{background:#f4f4f6}
.rest-dashboard{grid-template-columns:258px minmax(0,1fr);background:linear-gradient(90deg,#e30026 258px,#fff 258px);min-height:100dvh}
.rest-sidebar{background:linear-gradient(175deg,#f00029,#d50021);color:#fff;padding:24px 18px 21px}
.rest-brand{border:0;padding:0 0 20px;margin:0 0 9px}
.rest-brand-row{display:flex;align-items:center;gap:12px}
.rest-brand-row img{width:84px;height:107px;object-fit:contain;filter:drop-shadow(0 5px 6px #90002342)}
.rest-brand-row strong{font-size:38px;font-weight:950;letter-spacing:-.04em;display:block;color:white}
.rest-brand-row small{font-size:18px;font-weight:500;display:block;margin:3px 0 0;color:#ffe4eb}
.rest-menu{gap:7px}
.rest-menu button{padding:13px 16px;color:white;min-height:57px;font-size:16px;border-radius:14px;font-weight:670}
.rest-menu button.active,.rest-menu button:hover{background:#ffdce3;color:#be0024}
.rest-menu button .rest-menu-icon{font-size:25px;flex-basis:28px}
.rest-side-note{background:transparent;border:1px solid #ffffff66;color:white;box-shadow:none}
.rest-side-note b,.rest-side-note p{color:white}
.rest-main{background:#fff;min-height:100dvh;max-width:none;margin:0;padding:32px clamp(20px,4vw,58px)}
.rest-header h1{color:#111;font-size:clamp(26px,3.1vw,36px)}
.rest-header p{font-size:12px}
.rest-columns{display:flex;flex-direction:column;gap:0;max-width:950px;border-radius:22px;background:white;border:1px solid #eaebef;box-shadow:0 7px 30px #1414140b;padding-bottom:24px}
.rest-card{box-shadow:none;border:0;border-radius:0}
.orders-panel{padding:22px 24px 7px}
.rest-section-head h2{font-size:25px}
.rest-filters{margin:15px 0 15px;gap:9px}
.rest-filters button{font-size:14px;padding:13px 16px;border-radius:13px}
.rest-stats{display:none}
.extra-section .rest-stats{display:grid}
.rest-order{padding:17px;border:1px solid #ededed;border-radius:19px;background:#fff;margin:12px 0}
.rest-order.selected{padding:16px;border:2px solid #f0a2af;background:#fffafb}
.rest-order .order-row b{font-size:21px}
.rest-order .order-body img{width:118px;height:91px;flex-basis:118px}
.rest-order .order-body strong{font-size:17px}
.rest-order .order-body small{font-size:14px}
.rest-order .small-details{font-size:14px;color:#333}
.rest-warning{background:#fff5f7}
.response-panel{margin:0 24px;border-radius:15px;background:#fff;padding:0 0 8px;border:0}
.response-panel .red-strip{display:none}
.response-inner{padding:14px 0 0}
.response-inner .alert-symbol{display:none}
.response-inner>h2{text-align:left;font-size:19px;margin:0 0 7px}
.response-inner>.muted{text-align:left}
.response-inner .allergy-card{background:#fff0f2;border-radius:13px;margin:13px 0}
.response-inner .food-guidance{background:#f3e6ff;padding:18px;color:#302046;border-radius:14px;margin:16px 0}
.response-inner .food-guidance h3{font-size:18px;color:#3d1d76}
.response-inner form h3{font-size:18px;margin:15px 0}
.response-inner .check-rest{background:#fafafa}
.response-inner .rest-choice{display:inline-flex;vertical-align:top;width:calc(50% - 5px);min-height:55px;margin-right:6px;align-items:center;font-size:14px;font-weight:760;background:#e9f9e9;color:#196d2e;border-color:#ccefd5}
.response-inner .rest-choice+ .rest-choice{background:#fff0f2;color:#bf0026;border-color:#f6cbd2;margin-right:0}
.response-inner .rest-choice:has(input:checked){outline:2px solid #e90025;outline-offset:1px}
.response-inner .btn-primary{min-height:57px;margin-top:5px;font-size:16px}
.rest-login .login-art img{width:min(69%,310px);max-height:320px}
@media(max-width:1100px){.rest-dashboard{grid-template-columns:215px minmax(0,1fr);background:linear-gradient(90deg,#e30026 215px,#fff 215px)}.rest-sidebar{padding:16px 10px}.rest-menu button{font-size:13px;gap:7px}.rest-main{padding:22px 18px}.rest-brand-row img{width:58px;height:82px}.rest-brand-row strong{font-size:30px}.rest-brand-row small{font-size:13px}}
@media(max-width:760px){.rest-dashboard{grid-template-columns:1fr;background:#fff}.rest-sidebar{min-height:unset;padding:12px 12px 6px}.rest-brand{margin:0;padding:0}.rest-brand-row img{height:56px;width:49px}.rest-brand-row strong{font-size:24px}.rest-brand-row small{font-size:12px}.rest-menu{display:flex;flex-direction:row;overflow-x:auto}.rest-menu button{white-space:nowrap;width:auto;font-size:13px;min-height:43px;padding:8px}.rest-menu button .rest-menu-icon{font-size:17px}.rest-main{padding:20px 12px}.rest-header{flex-wrap:wrap}.rest-columns{padding-bottom:14px}.orders-panel{padding:15px 12px 0}.response-panel{margin:0 12px}.rest-side-note{display:none}}
@media(max-width:520px){.client-app .topbar{height:68px;padding:0 18px}.client-app .topbar .brand{font-size:35px}.client-app .topbar .iconbtn{font-size:24px;min-width:36px}.client-app .home-hero{height:178px;min-height:178px;padding:31px 15px 5px}.client-app .home-hero h1{font-size:clamp(21px,5vw,26px)}.client-app .hero-copy{width:65%}.client-app .hero-slogan strong,.client-app .hero-slogan em{font-size:clamp(23px,5.4vw,29px)}.client-app .home-hero .hero-robot{width:45%;height:227px;right:5px;top:-49px}.client-app .page-body{padding:0 14px 24px}.client-app .restriction-card{padding:14px 13px;border-radius:18px}.client-app .restriction-card h2{font-size:clamp(15px,4vw,18px);margin-bottom:12px}.client-app .restriction-card .inline-edit{font-size:13px;padding:7px 9px}.client-app .restriction-card .tag{font-size:12px;padding:7px 10px}.client-app .category-grid{gap:5px;margin:14px 0}.client-app .cat-btn{font-size:10px;padding:7px 0}.client-app .cat-emoji{font-size:26px;min-height:34px}.client-app .home-search{min-height:52px}.client-app .home-search input{font-size:14px}.client-app .dish-card img{width:105px;height:98px;flex-basis:105px}.client-app .dish-card{min-height:115px;padding:9px;gap:10px}.client-app .dish-title{font-size:14px}.client-app .dish-meta{font-size:12px}.client-app .dish-card .pill{font-size:10px;padding:5px 7px}.client-app .section-heading{font-size:19px}.shield-mark{width:23px;height:26px;border-width:2px}.client-app .bottomnav button{min-height:55px}.response-inner .rest-choice{width:100%;margin-right:0}}
@media(max-width:360px){.client-app .home-hero .hero-robot{height:203px;top:-44px}.client-app .home-hero h1{font-size:19px}.client-app .hero-slogan strong,.client-app .hero-slogan em{font-size:21px}}
/* IA Gemini: somente novos controles informativos, sem alterar o design aprovado. */
.sabi-ai-consent{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #e3d7f9;border-radius:13px;background:#faf6ff;color:#49376b;font-size:13px;line-height:1.45;margin:12px 0 14px;cursor:pointer}
.sabi-ai-consent input{width:18px;height:18px;accent-color:#e90025;flex:0 0 18px;margin-top:2px}
.chat-compose .sabi-ai-consent{flex-basis:100%;width:100%}
.sabi-ai-tools{margin:12px 0 16px;display:flex;flex-direction:column;gap:8px}
.sabi-ai-tools small{font-size:12px;color:#665a79;line-height:1.45}
.sabi-ai-tools .food-guidance{margin:4px 0 9px;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-line small{display:block;font-weight:750;font-size:11px;margin-bottom:6px;opacity:.75}

/* Correção pontual: permitir que o campo de mensagem ocupe a largura disponível. */
.chat-compose{flex-wrap:wrap;align-items:stretch}
.chat-compose .field{flex:1 1 240px;min-width:0}
.chat-compose .field input{min-width:0;width:100%;box-sizing:border-box}
.chat-compose > button[type="submit"]{flex:0 0 auto}
.chat-compose .sabi-ai-consent{flex:1 1 100%;box-sizing:border-box;margin-top:0}

/* SABI_FOTOS_CHAT_V1 */
.chat-line .sabi-fotos-chat{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px;margin-top:12px}
.chat-line .sabi-foto-chat{display:flex;flex-direction:column;gap:5px;min-width:0;padding:8px;border:1px solid #eee;border-radius:12px;background:white;color:#171717;text-align:left;cursor:pointer}
.chat-line .sabi-foto-chat img{display:block;width:100%;height:105px;object-fit:cover;border-radius:8px}
.chat-line .sabi-foto-chat span{color:#c00028;font-weight:700}


/* SABI_BOTAO_ESCOLHER_V1 */
.chat-line .sabi-prato-opcao{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}
.chat-line .sabi-prato-opcao .sabi-foto-chat{
  width:100%;
  flex:1;
}
.chat-line .sabi-escolher-prato{
  width:100%;
  padding:10px 8px;
  border:0;
  border-radius:9px;
  background:#c00028;
  color:white;
  font-weight:700;
  cursor:pointer;
}
.chat-line .sabi-escolher-prato:hover{
  background:#a00020;
}
