:root{
  --primary:var(--rs-primary);
  --secondary:var(--rs-secondary);
  --bg:var(--rs-app-bg);
  --panel:var(--rs-panel);
  --panel-2:var(--rs-panel-2);
  --border:var(--rs-line);
  --text:var(--rs-text);
  --muted:var(--rs-muted);
  --green:var(--rs-success);
  --red:var(--rs-danger);
  --shadow:var(--rs-shadow);
}
*{box-sizing:border-box}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
h1,h2,h3,h4,p{margin-top:0}

/* Login / activation use the same tenant theme as the panel shell. */
.auth-view{
  min-height:100vh;display:grid;place-items:center;padding:24px;
  background:
    radial-gradient(circle at 85% 10%,color-mix(in srgb,var(--rs-primary) 20%,transparent),transparent 36%),
    var(--rs-app-bg);
  color:var(--rs-text);
}
.auth-card{
  width:min(430px,100%);padding:32px;background:color-mix(in srgb,var(--rs-panel) 96%,transparent);
  border:1px solid var(--rs-line);border-radius:24px;box-shadow:0 26px 70px rgb(0 0 0 / .13)
}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.auth-brand .brand-logo{width:46px;height:46px;flex:0 0 46px}
.login-brand-logo{display:block;width:94px;max-height:94px;object-fit:contain;margin:0 auto 18px;border-radius:20px;background:#fff}
.eyebrow{color:var(--rs-primary);font-size:.67rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.auth-card h1{margin:6px 0 8px;font-size:clamp(1.55rem,5vw,2rem);line-height:1.08}
.auth-card .muted{font-size:.82rem;line-height:1.5}
.auth-card form{display:grid;gap:14px;margin-top:22px}
.auth-card label{display:grid;gap:7px;color:var(--rs-muted);font-size:.78rem}
.auth-card input{width:100%;padding:12px 13px;color:var(--rs-text);background:var(--rs-panel-2);border:1px solid var(--rs-line);border-radius:11px;outline:none}
.auth-card input:focus{border-color:var(--rs-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--rs-primary) 13%,transparent)}
.auth-card .primary{width:100%;min-height:44px;border:0;border-radius:11px;padding:10px 15px;font-weight:800;color:var(--rs-primary-contrast);background:var(--rs-primary)}
.auth-card .primary:disabled{opacity:.6;cursor:wait}
.error,.error-box{color:#fecdd3;background:rgb(190 35 65 / .16);border:1px solid rgb(251 113 133 / .35);border-radius:10px;padding:11px 12px}

/* Module-specific primitives not owned by the shell. */
.route-list{display:grid;gap:0;padding:0;margin:0;list-style:none}
.route-list li{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--rs-line)}
.route-list li:last-child{border-bottom:0}.route-list b{color:var(--rs-success);font-size:.74rem}
.status-box pre{max-height:340px;overflow:auto;color:var(--rs-muted);white-space:pre-wrap;font-size:.73rem}
.compact-form{display:grid;gap:10px;margin:0 0 16px}.booking-form h3{grid-column:1/-1;margin-bottom:0}
select[multiple]{min-height:110px}.section-gap{margin-top:22px}
.mini{min-height:32px;border:1px solid var(--rs-line);background:var(--rs-panel-2);color:var(--rs-text);border-radius:9px;padding:6px 9px;font-size:.68rem;font-weight:700}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.payment-confirm,.membership-renew,.membership-pause,.membership-resume,.membership-cancel,.order-print,.pro-edit{
  min-height:32px;border:1px solid var(--rs-line);background:var(--rs-panel-2);color:var(--rs-text);border-radius:9px;padding:6px 9px;font-size:.68rem;font-weight:700
}
@media(max-width:760px){.auth-view{padding:16px}.auth-card{padding:25px}.kpis{grid-template-columns:1fr}}

/* Styleth Barbearia — iOS Liquid Glass, tenant-scoped. */
body[data-rs-tenant="styleth"]{
  --rs-primary-contrast:#080600;
  --rs-app-bg:#080600;
  --rs-sidebar-bg:rgba(10,8,2,.88);
  --rs-sidebar-text:#fffefb;
  --rs-sidebar-muted:#aaa18d;
  --rs-panel:rgba(18,15,8,.78);
  --rs-panel-2:rgba(29,24,12,.78);
  --rs-line:rgba(255,193,7,.16);
  --rs-text:#fffefb;
  --rs-muted:#b4ab98;
  --rs-soft:rgba(255,193,7,.13);
  --rs-shadow:0 18px 52px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.035);
  background:
    radial-gradient(circle at 88% 5%,rgba(255,193,7,.16),transparent 27%),
    radial-gradient(circle at 8% 78%,rgba(255,193,7,.07),transparent 28%),
    #080600;
}
body[data-rs-tenant="styleth"] .auth-view{background:radial-gradient(circle at 78% 7%,rgba(255,193,7,.18),transparent 34%),#080600}
body[data-rs-tenant="styleth"] .auth-card{background:rgba(18,15,8,.78);border-color:rgba(255,193,7,.18);backdrop-filter:blur(28px) saturate(145%);-webkit-backdrop-filter:blur(28px) saturate(145%);box-shadow:0 28px 80px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.04)}
body[data-rs-tenant="styleth"] .login-brand-logo{width:126px;height:auto;max-height:116px;background:transparent;border-radius:0;margin-bottom:14px}
body[data-rs-tenant="styleth"] .auth-card input{background:rgba(255,255,255,.055);border-color:rgba(255,193,7,.15)}
body[data-rs-tenant="styleth"] .auth-card .primary{background:#ffc107;color:#080600;box-shadow:0 10px 28px rgba(255,193,7,.16)}

body[data-rs-tenant="styleth"] .rs-sidebar{background:linear-gradient(180deg,rgba(12,10,4,.94),rgba(8,6,0,.90));border-right-color:rgba(255,193,7,.11);backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px)}
body[data-rs-tenant="styleth"] .rs-brand-mark{background:rgba(255,255,255,.04);border:1px solid rgba(255,193,7,.18);border-radius:16px}
body[data-rs-tenant="styleth"] .rs-brand-mark img{background:transparent;padding:3px}
body[data-rs-tenant="styleth"] .rs-topbar{top:10px;margin:0 14px;border:1px solid rgba(255,193,7,.14);border-radius:20px;background:rgba(18,15,8,.72);backdrop-filter:blur(26px) saturate(145%);-webkit-backdrop-filter:blur(26px) saturate(145%);box-shadow:0 14px 40px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035)}
body[data-rs-tenant="styleth"] .rs-content{padding-top:26px}
body[data-rs-tenant="styleth"] .card,
body[data-rs-tenant="styleth"] .panel,
body[data-rs-tenant="styleth"] .status-box{background:rgba(18,15,8,.72);border-color:rgba(255,193,7,.13);border-radius:22px;backdrop-filter:blur(20px) saturate(130%);-webkit-backdrop-filter:blur(20px) saturate(130%);box-shadow:0 13px 38px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035)}
body[data-rs-tenant="styleth"] .table-wrap{background:rgba(18,15,8,.68);border-color:rgba(255,193,7,.13);border-radius:18px}
body[data-rs-tenant="styleth"] .rs-tenant-panel th{background:rgba(255,193,7,.055)}
body[data-rs-tenant="styleth"] .rs-tenant-panel input,
body[data-rs-tenant="styleth"] .rs-tenant-panel select,
body[data-rs-tenant="styleth"] .rs-tenant-panel textarea{background:rgba(255,255,255,.05);border-color:rgba(255,193,7,.14);border-radius:14px}
body[data-rs-tenant="styleth"] .rs-tenant-panel .ghost{background:rgba(255,255,255,.045);border-color:rgba(255,193,7,.13)}
body[data-rs-tenant="styleth"] .rs-tenant-panel .primary{background:#ffc107;color:#080600;border-color:#ffc107;box-shadow:0 8px 22px rgba(255,193,7,.14)}
body[data-rs-tenant="styleth"] .rs-nav-button.active{background:rgba(255,193,7,.14);box-shadow:inset 0 0 0 1px rgba(255,193,7,.18)}

@media(max-width:760px){
  body[data-rs-tenant="styleth"]{padding-bottom:92px}
  body[data-rs-tenant="styleth"] .rs-topbar{top:max(8px,env(safe-area-inset-top));margin:0 10px;padding:11px 13px;min-height:62px;border-radius:20px}
  body[data-rs-tenant="styleth"] .rs-content{padding:22px 14px 34px}
  body[data-rs-tenant="styleth"] .rs-mobile-nav{left:50%;right:auto;bottom:max(8px,env(safe-area-inset-bottom));width:min(500px,calc(100% - 18px));min-height:70px;padding:5px 6px;border:1px solid rgba(255,193,7,.14);border-radius:26px;background:rgba(18,15,8,.80);backdrop-filter:blur(28px) saturate(155%);-webkit-backdrop-filter:blur(28px) saturate(155%);box-shadow:0 20px 52px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.045)}
  body[data-rs-tenant="styleth"] .rs-mobile-nav .rs-nav-button{min-height:58px;border-radius:18px;color:#9f9788}
  body[data-rs-tenant="styleth"] .rs-mobile-nav .rs-nav-button.active{color:#ffc107;background:rgba(255,193,7,.12);box-shadow:inset 0 0 0 1px rgba(255,193,7,.10),inset 0 1px 0 rgba(255,255,255,.035)}
  body[data-rs-tenant="styleth"] .rs-mobile-nav .rs-nav-icon{height:22px}
  body[data-rs-tenant="styleth"] .card,
  body[data-rs-tenant="styleth"] .panel,
  body[data-rs-tenant="styleth"] .status-box{border-radius:20px}
}
@media(max-width:390px){
  body[data-rs-tenant="styleth"] .rs-content{padding-left:12px;padding-right:12px}
  body[data-rs-tenant="styleth"] .rs-topbar{margin-left:8px;margin-right:8px}
}


/* Shared native modules */
.toggle-field{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--rs-line)}
.toggle-field:last-child{border-bottom:0}.toggle-field>span{display:block;min-width:0}.toggle-field strong,.toggle-field small{display:block}.toggle-field strong{color:var(--rs-text);font-size:.78rem}.toggle-field small{margin-top:3px;font-size:.66rem;line-height:1.35;color:var(--rs-muted)}
.toggle-field input[type="checkbox"]{appearance:none;width:44px;height:26px;flex:0 0 44px;border:0;border-radius:999px;background:var(--rs-line);padding:0;position:relative;box-shadow:none}
.toggle-field input[type="checkbox"]:before{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgb(0 0 0 / .16);transition:.18s}
.toggle-field input[type="checkbox"]:checked{background:var(--rs-primary)}
.toggle-field input[type="checkbox"]:checked:before{transform:translateX(18px)}
.form-grid .full{grid-column:1/-1}
.clinical-content{white-space:normal;line-height:1.65;color:var(--rs-text)}
#clinical-edit-content,#clinical-content,#ops-workers{width:100%;resize:vertical;min-height:120px}
#operations-form .panel>label:not(.toggle-field){margin-top:12px}
#operations-form>.primary,#settings-form>.primary{margin-top:16px}
/* Styleth v2 — dashboard and agenda */
body[data-rs-tenant="styleth"] .rs-workspace{min-width:0}
body[data-rs-tenant="styleth"] .rs-content{width:min(1440px,100%);margin:0 auto}
body[data-rs-tenant="styleth"] .section-heading{align-items:flex-end;margin-bottom:18px}
body[data-rs-tenant="styleth"] .section-heading h2{font-size:clamp(1.65rem,3.2vw,2.45rem);letter-spacing:-.04em}
body[data-rs-tenant="styleth"] .section-heading .eyebrow{color:#ffc107;letter-spacing:.14em}
body[data-rs-tenant="styleth"] .styleth-prelaunch-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin-bottom:16px;border:1px solid rgba(255,193,7,.18);border-radius:18px;background:rgba(255,193,7,.08)}
body[data-rs-tenant="styleth"] .styleth-prelaunch-note>span{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#ffc107;box-shadow:0 0 20px rgba(255,193,7,.65);flex:0 0 auto}
body[data-rs-tenant="styleth"] .styleth-prelaunch-note strong{display:block;font-size:.84rem}
body[data-rs-tenant="styleth"] .styleth-prelaunch-note p{margin:4px 0 0;color:var(--rs-muted);font-size:.74rem;line-height:1.45}
body[data-rs-tenant="styleth"] .styleth-prelaunch-note.compact{margin:0 0 14px}
body[data-rs-tenant="styleth"] .styleth-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
body[data-rs-tenant="styleth"] .styleth-kpis button{display:grid;gap:3px;text-align:left;padding:17px 18px;border:1px solid rgba(255,193,7,.12);border-radius:20px;color:var(--rs-text);background:linear-gradient(145deg,rgba(31,26,13,.86),rgba(15,13,7,.78));box-shadow:var(--rs-shadow)}
body[data-rs-tenant="styleth"] .styleth-kpis span{font-size:.7rem;color:#c4b995}
body[data-rs-tenant="styleth"] .styleth-kpis strong{font-size:clamp(1.25rem,2vw,1.85rem);letter-spacing:-.035em}
body[data-rs-tenant="styleth"] .styleth-kpis small{color:var(--rs-muted);font-size:.68rem}
body[data-rs-tenant="styleth"] .styleth-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);gap:14px}
body[data-rs-tenant="styleth"] .styleth-dashboard-side{display:grid;gap:14px;align-content:start}
body[data-rs-tenant="styleth"] .styleth-glass-panel{padding:18px;border:1px solid rgba(255,193,7,.12);border-radius:22px;background:rgba(18,15,8,.7);box-shadow:var(--rs-shadow);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body[data-rs-tenant="styleth"] .styleth-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body[data-rs-tenant="styleth"] .styleth-panel-head span{display:block;color:#ffc107;font-size:.62rem;font-weight:800;letter-spacing:.13em}
body[data-rs-tenant="styleth"] .styleth-panel-head h3{margin:3px 0 0;font-size:1rem;letter-spacing:-.02em}
body[data-rs-tenant="styleth"] .styleth-panel-head button{border:0;background:transparent;color:#d6cdb6;font-size:.72rem;font-weight:700}
body[data-rs-tenant="styleth"] .styleth-panel-head small{color:var(--rs-muted);font-size:.66rem}
body[data-rs-tenant="styleth"] .styleth-next-strip{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:1px;padding:13px 14px;margin-bottom:12px;border-radius:17px;background:linear-gradient(120deg,rgba(255,193,7,.16),rgba(255,193,7,.055));border:1px solid rgba(255,193,7,.17)}
body[data-rs-tenant="styleth"] .styleth-next-strip>span{grid-row:1/3;align-self:center;padding:5px 8px;border-radius:999px;background:#ffc107;color:#080600;font-size:.62rem;font-weight:900;text-transform:uppercase}
body[data-rs-tenant="styleth"] .styleth-next-strip strong{font-size:.82rem}
body[data-rs-tenant="styleth"] .styleth-next-strip small{color:#b9af95;font-size:.68rem}
body[data-rs-tenant="styleth"] .styleth-appointment-list,body[data-rs-tenant="styleth"] .styleth-today-list{display:grid;gap:8px}
body[data-rs-tenant="styleth"] .styleth-appointment{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px 13px;border:1px solid rgba(255,255,255,.055);border-radius:17px;background:rgba(255,255,255,.028)}
body[data-rs-tenant="styleth"] .styleth-appointment.is-muted{opacity:.5}
body[data-rs-tenant="styleth"] .styleth-time{display:grid;place-items:center;min-height:48px;border-radius:13px;background:rgba(255,193,7,.1);color:#ffc107;font-size:.92rem;font-weight:850}
body[data-rs-tenant="styleth"] .styleth-appt-main{min-width:0}
body[data-rs-tenant="styleth"] .styleth-appt-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
body[data-rs-tenant="styleth"] .styleth-appt-title strong{font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-rs-tenant="styleth"] .styleth-appt-meta{display:flex;flex-wrap:wrap;gap:5px;color:var(--rs-muted);font-size:.68rem;margin-top:3px}
body[data-rs-tenant="styleth"] .styleth-appt-meta i{font-style:normal;opacity:.35}
body[data-rs-tenant="styleth"] .styleth-appt-price{margin-top:7px;font-size:.72rem;font-weight:800;color:#ded6c2}
body[data-rs-tenant="styleth"] .styleth-status{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.055);font-size:.57rem;font-weight:800;color:#c8c0ac}
body[data-rs-tenant="styleth"] .styleth-status.status-confirmed,body[data-rs-tenant="styleth"] .styleth-status.status-completed{background:rgba(35,197,94,.11);color:#86efac}
body[data-rs-tenant="styleth"] .styleth-status.status-pending_payment{background:rgba(251,146,60,.11);color:#fdba74}
body[data-rs-tenant="styleth"] .styleth-status.status-cancelled,body[data-rs-tenant="styleth"] .styleth-status.status-no_show{background:rgba(244,63,94,.11);color:#fda4af}
body[data-rs-tenant="styleth"] .styleth-member-badge{display:inline-flex;padding:4px 7px;border-radius:999px;background:rgba(255,193,7,.12);color:#ffd55c;font-size:.59rem;letter-spacing:.03em}
body[data-rs-tenant="styleth"] .styleth-appointment-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
body[data-rs-tenant="styleth"] .styleth-appointment-actions button{min-height:30px;padding:5px 9px;border:1px solid rgba(255,193,7,.12);border-radius:9px;background:rgba(255,255,255,.035);color:#d7cfbb;font-size:.61rem;font-weight:750}
body[data-rs-tenant="styleth"] .styleth-appointment-actions button.danger{color:#fda4af;border-color:rgba(244,63,94,.14)}
body[data-rs-tenant="styleth"] .styleth-pro-list,body[data-rs-tenant="styleth"] .styleth-plan-list{display:grid;gap:8px}
body[data-rs-tenant="styleth"] .styleth-pro-card{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid rgba(255,255,255,.05);border-radius:15px;background:rgba(255,255,255,.025);color:var(--rs-text);text-align:left}
body[data-rs-tenant="styleth"] .styleth-pro-card>span:nth-child(2){display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-pro-card strong{font-size:.78rem}
body[data-rs-tenant="styleth"] .styleth-pro-card small{color:var(--rs-muted);font-size:.63rem}
body[data-rs-tenant="styleth"] .styleth-pro-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#ffc107,#e7a900);color:#100c00;font-weight:900;box-shadow:0 7px 18px rgba(255,193,7,.12)}
body[data-rs-tenant="styleth"] .styleth-mini-plan{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:15px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05)}
body[data-rs-tenant="styleth"] .styleth-mini-plan div{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-mini-plan strong{font-size:.76rem}
body[data-rs-tenant="styleth"] .styleth-mini-plan span{color:var(--rs-muted);font-size:.61rem}
body[data-rs-tenant="styleth"] .styleth-mini-plan b{color:#ffc107;font-size:.78rem}
body[data-rs-tenant="styleth"] .styleth-quick-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
body[data-rs-tenant="styleth"] .styleth-quick-row button{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid rgba(255,193,7,.1);border-radius:17px;background:rgba(255,255,255,.028);color:var(--rs-text);text-align:left}
body[data-rs-tenant="styleth"] .styleth-quick-row svg{width:20px;height:20px;fill:none;stroke:#ffc107;stroke-width:1.8}
body[data-rs-tenant="styleth"] .styleth-quick-row span{display:grid;gap:2px;min-width:0}
body[data-rs-tenant="styleth"] .styleth-quick-row strong{font-size:.73rem}
body[data-rs-tenant="styleth"] .styleth-quick-row small{font-size:.59rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-empty{display:grid;place-items:center;text-align:center;padding:26px 16px;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-empty strong{color:var(--rs-text);font-size:.86rem;margin-top:7px}
body[data-rs-tenant="styleth"] .styleth-empty p{margin:4px 0 10px;font-size:.68rem}
body[data-rs-tenant="styleth"] .styleth-empty button{padding:8px 12px;border:0;border-radius:10px;background:#ffc107;color:#080600;font-weight:800;font-size:.68rem}
body[data-rs-tenant="styleth"] .styleth-empty-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(255,193,7,.1);color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-empty-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
body[data-rs-tenant="styleth"] .styleth-empty-compact{padding:20px 12px}
body[data-rs-tenant="styleth"] .styleth-agenda-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body[data-rs-tenant="styleth"] .styleth-date-nav{display:flex;align-items:center;gap:7px}
body[data-rs-tenant="styleth"] .styleth-date-nav>button{height:38px;padding:0 11px;border:1px solid rgba(255,193,7,.12);border-radius:12px;background:rgba(255,255,255,.035);color:#ddd3ba;font-weight:800}
body[data-rs-tenant="styleth"] .styleth-date-nav label{position:relative;display:grid;place-items:center;min-width:146px;height:38px;padding:0 12px;border:1px solid rgba(255,193,7,.12);border-radius:12px;background:rgba(255,255,255,.035);font-size:.71rem;font-weight:800}
body[data-rs-tenant="styleth"] .styleth-date-nav input{position:absolute;inset:0;opacity:0;cursor:pointer}
body[data-rs-tenant="styleth"] .styleth-new-booking{min-height:40px;padding:0 15px;border:0;border-radius:12px;background:#ffc107;color:#080600;font-weight:900;font-size:.7rem}
body[data-rs-tenant="styleth"] .styleth-pro-tabs{display:flex;gap:7px;overflow:auto;padding:2px 0 12px;scrollbar-width:none}
body[data-rs-tenant="styleth"] .styleth-pro-tabs::-webkit-scrollbar{display:none}
body[data-rs-tenant="styleth"] .styleth-pro-tabs button{white-space:nowrap;padding:8px 11px;border:1px solid rgba(255,255,255,.06);border-radius:999px;background:rgba(255,255,255,.025);color:#aca48f;font-size:.66rem;font-weight:750}
body[data-rs-tenant="styleth"] .styleth-pro-tabs button.active{background:rgba(255,193,7,.13);border-color:rgba(255,193,7,.18);color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-pro-tabs span{opacity:.7;margin-left:4px}
body[data-rs-tenant="styleth"] .styleth-agenda-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
body[data-rs-tenant="styleth"] .styleth-agenda-summary>div{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05)}
body[data-rs-tenant="styleth"] .styleth-agenda-summary span{font-size:.62rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-agenda-summary strong{font-size:.9rem;color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-agenda-layout{display:grid;grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr);gap:14px;align-items:start}
body[data-rs-tenant="styleth"] .styleth-agenda-grid-wrap{min-width:0;padding:18px;border:1px solid rgba(255,193,7,.12);border-radius:22px;background:rgba(18,15,8,.7);box-shadow:var(--rs-shadow)}
body[data-rs-tenant="styleth"] .styleth-barber-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-rs-tenant="styleth"] .styleth-barber-day{min-width:0;padding:12px;border:1px solid rgba(255,255,255,.055);border-radius:18px;background:rgba(255,255,255,.022)}
body[data-rs-tenant="styleth"] .styleth-barber-head{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:9px;margin-bottom:9px}
body[data-rs-tenant="styleth"] .styleth-barber-head>div{display:grid;gap:1px}
body[data-rs-tenant="styleth"] .styleth-barber-head strong{font-size:.76rem}
body[data-rs-tenant="styleth"] .styleth-barber-head small,body[data-rs-tenant="styleth"] .styleth-barber-head>span:last-child{font-size:.59rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-slot-list{display:grid;gap:5px;max-height:520px;overflow:auto;padding-right:2px}
body[data-rs-tenant="styleth"] .styleth-slot{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;border-radius:12px;border:1px solid rgba(255,255,255,.045)}
body[data-rs-tenant="styleth"] .styleth-slot.is-free{background:rgba(255,255,255,.018)}
body[data-rs-tenant="styleth"] .styleth-slot.is-busy{background:rgba(255,193,7,.07);border-color:rgba(255,193,7,.12)}
body[data-rs-tenant="styleth"] .styleth-slot-time{font-size:.66rem;font-weight:850;color:#d9d0ba}
body[data-rs-tenant="styleth"] .styleth-slot div{display:grid;gap:1px;min-width:0}
body[data-rs-tenant="styleth"] .styleth-slot strong{font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-rs-tenant="styleth"] .styleth-slot small{font-size:.56rem;color:var(--rs-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-rs-tenant="styleth"] .styleth-slot-state{font-size:.54rem;color:#827b69}
body[data-rs-tenant="styleth"] .styleth-slot.is-busy .styleth-slot-state{color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-closed{display:grid;gap:3px;text-align:center;padding:22px 10px;border-radius:14px;background:rgba(255,255,255,.018);color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-closed strong{color:var(--rs-text);font-size:.75rem}
body[data-rs-tenant="styleth"] .styleth-closed span{font-size:.61rem}
body[data-rs-tenant="styleth"] .styleth-booking-backdrop,body[data-rs-tenant="styleth"] .styleth-more-backdrop{position:fixed;inset:0;z-index:2000;display:flex;align-items:flex-end;justify-content:center;padding:14px;background:rgba(0,0,0,.58);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
body[data-rs-tenant="styleth"] .styleth-booking-sheet,body[data-rs-tenant="styleth"] .styleth-more-sheet{width:min(560px,100%);max-height:min(760px,calc(100dvh - 28px));overflow:auto;padding:10px 17px 18px;border:1px solid rgba(255,193,7,.16);border-radius:26px;background:rgba(17,14,7,.96);box-shadow:0 28px 90px rgba(0,0,0,.55)}
body[data-rs-tenant="styleth"] .styleth-sheet-handle{width:42px;height:4px;border-radius:999px;background:rgba(255,255,255,.14);margin:2px auto 12px}
body[data-rs-tenant="styleth"] .styleth-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
body[data-rs-tenant="styleth"] .styleth-sheet-head div{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-sheet-head span{font-size:.6rem;color:#ffc107;font-weight:850;letter-spacing:.12em}
body[data-rs-tenant="styleth"] .styleth-sheet-head strong{font-size:1.1rem}
body[data-rs-tenant="styleth"] .styleth-sheet-close{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.06);color:#d8cfb9;font-size:1.35rem}
body[data-rs-tenant="styleth"] .styleth-booking-sheet form{display:grid;gap:11px}
body[data-rs-tenant="styleth"] .styleth-booking-sheet label{display:grid;gap:6px;color:#a99f88;font-size:.67rem}
body[data-rs-tenant="styleth"] .styleth-booking-sheet input,body[data-rs-tenant="styleth"] .styleth-booking-sheet select{width:100%;min-height:45px;padding:0 12px;border:1px solid rgba(255,193,7,.13);border-radius:13px;background:rgba(255,255,255,.045);color:#fffdf7}
body[data-rs-tenant="styleth"] .styleth-form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body[data-rs-tenant="styleth"] .styleth-book-submit{min-height:47px;border-radius:13px!important;margin-top:4px}
body[data-rs-tenant="styleth"] .styleth-sheet-notice{padding:10px 11px;margin-bottom:12px;border-radius:12px;background:rgba(255,193,7,.08);color:#c5b98f;font-size:.65rem;line-height:1.45}
body[data-rs-tenant="styleth"] .styleth-inline-link{justify-self:start;border:0;background:none;color:#ffc107;font-size:.65rem;font-weight:800}
body[data-rs-tenant="styleth"] .styleth-more-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
body[data-rs-tenant="styleth"] .styleth-more-grid button{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 12px;border:1px solid rgba(255,255,255,.055);border-radius:16px;background:rgba(255,255,255,.028);color:#f3eddf;text-align:left;font-weight:750;font-size:.7rem}
body[data-rs-tenant="styleth"] .styleth-more-grid .rs-nav-icon{width:24px;height:24px;color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-more-grid svg{fill:none;stroke:currentColor;stroke-width:1.8}
body[data-rs-tenant="styleth"] .styleth-sheet-logout{width:100%;min-height:44px;margin-top:12px;border:1px solid rgba(244,63,94,.13);border-radius:13px;background:rgba(244,63,94,.06);color:#fda4af;font-weight:750}
@media(max-width:980px){
  body[data-rs-tenant="styleth"] .styleth-dashboard-grid,body[data-rs-tenant="styleth"] .styleth-agenda-layout{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-dashboard-side{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-barber-grid{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-kpis{grid-template-columns:repeat(2,1fr)}
  body[data-rs-tenant="styleth"] .styleth-quick-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  body[data-rs-tenant="styleth"] .rs-workspace{padding-bottom:88px}
  body[data-rs-tenant="styleth"] .rs-topbar{position:sticky;top:max(6px,env(safe-area-inset-top));min-height:58px;margin:0 8px;border-radius:18px;padding:9px 12px;z-index:20}
  body[data-rs-tenant="styleth"] .rs-page-copy h1{font-size:1rem!important;line-height:1.05}
  body[data-rs-tenant="styleth"] #tenant-meta{font-size:.56rem!important;margin-top:3px!important}
  body[data-rs-tenant="styleth"] #page-eyebrow{font-size:.54rem!important}
  body[data-rs-tenant="styleth"] .rs-top-actions #status{display:none}
  body[data-rs-tenant="styleth"] .rs-top-actions #logout{display:none}
  body[data-rs-tenant="styleth"] .rs-content{padding:18px 10px 30px}
  body[data-rs-tenant="styleth"] .section-heading{margin-bottom:13px}
  body[data-rs-tenant="styleth"] .section-heading h2{font-size:1.55rem}
  body[data-rs-tenant="styleth"] .styleth-dashboard-side{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-glass-panel,body[data-rs-tenant="styleth"] .styleth-agenda-grid-wrap{padding:13px;border-radius:19px}
  body[data-rs-tenant="styleth"] .styleth-kpis{gap:8px;margin-bottom:10px}
  body[data-rs-tenant="styleth"] .styleth-kpis button{padding:13px;border-radius:17px;min-height:89px}
  body[data-rs-tenant="styleth"] .styleth-kpis strong{font-size:1.28rem}
}@media(max-width:760px){
  body[data-rs-tenant="styleth"] .styleth-quick-row{gap:8px;margin-top:10px}
  body[data-rs-tenant="styleth"] .styleth-quick-row button{padding:11px 10px;border-radius:15px}
  body[data-rs-tenant="styleth"] .styleth-appointment{grid-template-columns:54px minmax(0,1fr);gap:9px;padding:10px;border-radius:15px}
  body[data-rs-tenant="styleth"] .styleth-time{min-height:44px;font-size:.78rem;border-radius:11px}
  body[data-rs-tenant="styleth"] .styleth-appt-title{align-items:flex-start}
  body[data-rs-tenant="styleth"] .styleth-appt-title strong{font-size:.76rem}
  body[data-rs-tenant="styleth"] .styleth-status{font-size:.51rem;padding:3px 6px}
  body[data-rs-tenant="styleth"] .styleth-appt-meta{font-size:.61rem}
  body[data-rs-tenant="styleth"] .styleth-agenda-top{align-items:stretch;flex-direction:column}
  body[data-rs-tenant="styleth"] .styleth-date-nav{display:grid;grid-template-columns:38px minmax(0,1fr) 38px auto}
  body[data-rs-tenant="styleth"] .styleth-date-nav label{min-width:0;width:100%}
  body[data-rs-tenant="styleth"] .styleth-new-booking{width:100%;min-height:44px}
  body[data-rs-tenant="styleth"] .styleth-agenda-summary{gap:6px}
  body[data-rs-tenant="styleth"] .styleth-agenda-summary>div{display:grid;gap:2px;padding:9px 8px}
  body[data-rs-tenant="styleth"] .styleth-barber-grid{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-slot-list{max-height:none}
  body[data-rs-tenant="styleth"] .styleth-form-row{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-booking-backdrop,body[data-rs-tenant="styleth"] .styleth-more-backdrop{padding:0;align-items:flex-end}
  body[data-rs-tenant="styleth"] .styleth-booking-sheet,body[data-rs-tenant="styleth"] .styleth-more-sheet{width:100%;max-height:90dvh;border-radius:26px 26px 0 0;border-bottom:0;padding-bottom:max(18px,calc(12px + env(safe-area-inset-bottom)))}
}@media(max-width:760px){
  body[data-rs-tenant="styleth"] .rs-mobile-nav{display:grid!important;grid-template-columns:repeat(5,1fr);gap:2px;height:68px;min-height:68px;padding:5px;overflow:hidden}
  body[data-rs-tenant="styleth"] .rs-mobile-nav .rs-nav-button{min-width:0!important;min-height:56px!important;padding:5px 2px!important;gap:3px!important;border-radius:16px!important;font-size:.52rem!important;line-height:1!important}
  body[data-rs-tenant="styleth"] .rs-mobile-nav .rs-nav-button span:last-child{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-rs-tenant="styleth"] .rs-mobile-nav .rs-nav-icon{width:20px!important;height:20px!important}
  body[data-rs-tenant="styleth"] .rs-mobile-nav .rs-nav-icon svg{width:20px!important;height:20px!important}
  body[data-rs-tenant="styleth"] .table-wrap{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible}
  body[data-rs-tenant="styleth"] .table-wrap table{min-width:640px}
}
@media(max-width:420px){
  body[data-rs-tenant="styleth"] .styleth-kpis{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-quick-row{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-date-nav{grid-template-columns:34px minmax(0,1fr) 34px}
  body[data-rs-tenant="styleth"] .styleth-date-nav .styleth-today-button{grid-column:1/-1;width:100%;height:34px}
  body[data-rs-tenant="styleth"] .styleth-more-grid{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-slot{grid-template-columns:42px minmax(0,1fr)}
  body[data-rs-tenant="styleth"] .styleth-slot-state{display:none}
}
body[data-rs-tenant="styleth"] .styleth-kpis-compact{grid-template-columns:repeat(2,minmax(0,180px));justify-content:start}
body[data-rs-tenant="styleth"] .styleth-customer-list{display:grid;gap:8px}
body[data-rs-tenant="styleth"] .styleth-customer-card{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:10px 11px;border:1px solid rgba(255,255,255,.05);border-radius:15px;background:rgba(255,255,255,.025)}
body[data-rs-tenant="styleth"] .styleth-customer-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:rgba(255,193,7,.12);color:#ffc107;font-weight:900}
body[data-rs-tenant="styleth"] .styleth-customer-card div{display:grid;gap:2px;min-width:0}
body[data-rs-tenant="styleth"] .styleth-customer-card strong{font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-rs-tenant="styleth"] .styleth-customer-card small{font-size:.61rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-customer-card>span:last-child{font-size:.58rem;color:#86efac}
body[data-rs-tenant="styleth"] .styleth-quick-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin-bottom:12px}
body[data-rs-tenant="styleth"] .styleth-quick-form input{min-height:42px;padding:0 11px;border-radius:12px}
body[data-rs-tenant="styleth"] .styleth-quick-form .primary{min-height:42px;padding:0 14px;border-radius:12px}
body[data-rs-tenant="styleth"] .styleth-team-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body[data-rs-tenant="styleth"] .styleth-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body[data-rs-tenant="styleth"] .styleth-team-card{padding:13px;border:1px solid rgba(255,255,255,.055);border-radius:17px;background:rgba(255,255,255,.025)}
body[data-rs-tenant="styleth"] .styleth-team-head{display:flex;align-items:center;gap:9px;margin-bottom:12px}
body[data-rs-tenant="styleth"] .styleth-team-head>div{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-team-head strong{font-size:.8rem}
body[data-rs-tenant="styleth"] .styleth-team-head small{font-size:.6rem;color:#86efac}
body[data-rs-tenant="styleth"] .styleth-price-grid{display:grid;gap:6px}
body[data-rs-tenant="styleth"] .styleth-price-grid>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:10px;background:rgba(255,255,255,.025)}
body[data-rs-tenant="styleth"] .styleth-price-grid b{font-size:.62rem;font-weight:700;color:#c8c0ac}
body[data-rs-tenant="styleth"] .styleth-price-grid em{font-style:normal;font-size:.64rem;font-weight:850;color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-team-card>button{width:100%;margin-top:10px;min-height:34px;border:1px solid rgba(255,193,7,.12);border-radius:10px;background:rgba(255,193,7,.065);color:#e6d8aa;font-size:.61rem;font-weight:800}
body[data-rs-tenant="styleth"] .styleth-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-rs-tenant="styleth"] .styleth-service-card{padding:11px 12px;border:1px solid rgba(255,255,255,.05);border-radius:14px;background:rgba(255,255,255,.024)}
body[data-rs-tenant="styleth"] .styleth-service-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
body[data-rs-tenant="styleth"] .styleth-service-card span{font-size:.68rem;font-weight:750}
body[data-rs-tenant="styleth"] .styleth-service-card strong{font-size:.62rem;color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-service-card small{display:block;margin-top:5px;font-size:.58rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-admin-details{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.05)}
body[data-rs-tenant="styleth"] .styleth-admin-details summary{cursor:pointer;color:#c7bfa9;font-size:.65rem;font-weight:750}
body[data-rs-tenant="styleth"] .styleth-admin-details .styleth-quick-form{margin:10px 0 0;grid-template-columns:1fr 90px 1fr auto}
body[data-rs-tenant="styleth"] .styleth-editor-panel{margin-top:14px}
body[data-rs-tenant="styleth"] .styleth-service-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-rs-tenant="styleth"] .styleth-service-edit{display:grid;gap:6px;padding:10px;border:1px solid rgba(255,255,255,.05);border-radius:13px;background:rgba(255,255,255,.022);font-size:.64rem}
body[data-rs-tenant="styleth"] .styleth-service-edit>input{min-height:38px}
body[data-rs-tenant="styleth"] .styleth-service-edit-grid>.primary{grid-column:1/-1;min-height:42px;border-radius:12px}
@media(max-width:900px){
  body[data-rs-tenant="styleth"] .styleth-team-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
  body[data-rs-tenant="styleth"] .styleth-kpis-compact{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-quick-form{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-team-grid{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-service-grid{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-admin-details .styleth-quick-form{grid-template-columns:1fr 1fr}
  body[data-rs-tenant="styleth"] .styleth-admin-details .styleth-quick-form .primary{grid-column:1/-1}
  body[data-rs-tenant="styleth"] .styleth-service-edit-grid{grid-template-columns:1fr}
}
@media(max-width:430px){
  body[data-rs-tenant="styleth"] .styleth-team-grid{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-service-grid{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-admin-details .styleth-quick-form{grid-template-columns:1fr}
}
body[data-rs-tenant="styleth"] .styleth-payment-list{display:grid;gap:8px}
body[data-rs-tenant="styleth"] .styleth-payment-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid rgba(255,255,255,.05);border-radius:14px;background:rgba(255,255,255,.024)}
body[data-rs-tenant="styleth"] .styleth-payment-card>div{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-payment-card span{font-size:.59rem;color:#86efac;text-transform:uppercase;font-weight:800}
body[data-rs-tenant="styleth"] .styleth-payment-card strong{font-size:.82rem}
body[data-rs-tenant="styleth"] .styleth-payment-card small{font-size:.59rem;color:var(--rs-muted);text-align:right}
body[data-rs-tenant="styleth"] .styleth-membership-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
body[data-rs-tenant="styleth"] .styleth-membership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body[data-rs-tenant="styleth"] .styleth-membership-card{padding:14px;border:1px solid rgba(255,193,7,.11);border-radius:18px;background:linear-gradient(145deg,rgba(255,193,7,.07),rgba(255,255,255,.022))}
body[data-rs-tenant="styleth"] .styleth-membership-card.is-muted{opacity:.5}
body[data-rs-tenant="styleth"] .styleth-plan-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
body[data-rs-tenant="styleth"] .styleth-plan-top div{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-plan-top span{font-size:.56rem;color:#ffc107;font-weight:850;letter-spacing:.12em}
body[data-rs-tenant="styleth"] .styleth-plan-top strong{font-size:.86rem}
body[data-rs-tenant="styleth"] .styleth-plan-top>b{font-size:.9rem;color:#ffc107;white-space:nowrap}
body[data-rs-tenant="styleth"] .styleth-plan-top b small{font-size:.52rem;color:#9e957f;margin-left:2px}
body[data-rs-tenant="styleth"] .styleth-membership-card ul{list-style:none;padding:0;margin:13px 0;display:grid;gap:6px}
body[data-rs-tenant="styleth"] .styleth-membership-card li{display:flex;justify-content:space-between;gap:8px;font-size:.63rem;color:#c9c1ad}
body[data-rs-tenant="styleth"] .styleth-membership-card li span{color:#ffc107;font-size:.58rem}
body[data-rs-tenant="styleth"] .styleth-plan-foot{display:flex;justify-content:space-between;gap:8px;padding-top:9px;border-top:1px solid rgba(255,255,255,.055);font-size:.57rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-plan-foot span:last-child{color:#86efac}
body[data-rs-tenant="styleth"] .styleth-sub-list{display:grid;gap:8px}
body[data-rs-tenant="styleth"] .styleth-sub-card{display:flex;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid rgba(255,255,255,.05);border-radius:14px;background:rgba(255,255,255,.024)}
body[data-rs-tenant="styleth"] .styleth-sub-card>div{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-sub-card>div:last-child{text-align:right}
body[data-rs-tenant="styleth"] .styleth-sub-card strong{font-size:.7rem}
body[data-rs-tenant="styleth"] .styleth-sub-card small{font-size:.57rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-sub-card span{font-size:.58rem;color:#86efac;font-weight:800}
body[data-rs-tenant="styleth"] .styleth-sub-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;margin-top:7px}
body[data-rs-tenant="styleth"] .styleth-sub-actions select,body[data-rs-tenant="styleth"] .styleth-sub-actions button{min-height:30px;padding:0 8px;border:1px solid rgba(255,193,7,.12);border-radius:9px;background:rgba(255,255,255,.035);color:#e9dfc7;font-size:.56rem;font-weight:750}
body[data-rs-tenant="styleth"] .styleth-sub-actions button{cursor:pointer}
body[data-rs-tenant="styleth"] .styleth-sub-actions button.danger{border-color:rgba(244,63,94,.15);color:#fda4af}
body[data-rs-tenant="styleth"] .styleth-membership-admin{margin-top:14px}
body[data-rs-tenant="styleth"] .styleth-membership-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
body[data-rs-tenant="styleth"] .styleth-admin-form{display:grid;gap:8px;padding:12px;border:1px solid rgba(255,255,255,.05);border-radius:14px;background:rgba(255,255,255,.022)}
body[data-rs-tenant="styleth"] .styleth-admin-form>strong,body[data-rs-tenant="styleth"] .styleth-admin-empty>strong{font-size:.68rem}
body[data-rs-tenant="styleth"] .styleth-admin-form label{display:grid;gap:5px;color:var(--rs-muted);font-size:.58rem}
body[data-rs-tenant="styleth"] .styleth-admin-form input,body[data-rs-tenant="styleth"] .styleth-admin-form select{width:100%;min-height:38px;padding:0 9px;border-radius:10px}
body[data-rs-tenant="styleth"] .styleth-admin-form select[multiple]{min-height:94px;padding:7px 9px}
body[data-rs-tenant="styleth"] .styleth-admin-form small{font-size:.55rem;color:var(--rs-muted);line-height:1.4}
body[data-rs-tenant="styleth"] .styleth-admin-form .primary{min-height:39px;border-radius:11px}
body[data-rs-tenant="styleth"] .styleth-admin-empty{padding:12px;border:1px solid rgba(255,255,255,.05);border-radius:14px;background:rgba(255,255,255,.022)}
body[data-rs-tenant="styleth"] .styleth-admin-empty p{margin:5px 0 0;color:var(--rs-muted);font-size:.58rem;line-height:1.4}
body[data-rs-tenant="styleth"] .styleth-payment-confirm{margin-top:6px;min-height:30px;padding:0 9px;border:1px solid rgba(255,193,7,.14);border-radius:9px;background:rgba(255,193,7,.075);color:#f4dc89;font-size:.56rem;font-weight:800}
@media(max-width:900px){body[data-rs-tenant="styleth"] .styleth-membership-layout{grid-template-columns:1fr}}
@media(max-width:700px){body[data-rs-tenant="styleth"] .styleth-membership-admin-grid{grid-template-columns:1fr}body[data-rs-tenant="styleth"] .styleth-sub-actions{justify-content:flex-start}}
@media(max-width:760px){
  body[data-rs-tenant="styleth"] .styleth-membership-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  body[data-rs-tenant="styleth"] .styleth-membership-grid{grid-template-columns:1fr}
  body[data-rs-tenant="styleth"] .styleth-payment-card{align-items:flex-start}
}
/* Styleth integrations + settings */
body[data-rs-tenant="styleth"] .styleth-integration-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;margin-bottom:14px;border:1px solid rgba(255,255,255,.06);border-radius:20px;background:rgba(255,255,255,.025)}
body[data-rs-tenant="styleth"] .styleth-integration-hero>div:first-child{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-integration-hero span{font-size:.6rem;letter-spacing:.12em;font-weight:850;color:#b9ad8a}
body[data-rs-tenant="styleth"] .styleth-integration-hero h3{margin:0;font-size:1.18rem}
body[data-rs-tenant="styleth"] .styleth-integration-hero p{margin:0;color:var(--rs-muted);font-size:.66rem}
body[data-rs-tenant="styleth"] .styleth-integration-hero.is-ok{border-color:rgba(34,197,94,.16);background:rgba(34,197,94,.045)}
body[data-rs-tenant="styleth"] .styleth-integration-hero.is-warn{border-color:rgba(255,193,7,.18);background:rgba(255,193,7,.055)}
body[data-rs-tenant="styleth"] .styleth-live-dot{width:11px;height:11px;border-radius:50%;background:#ffc107;box-shadow:0 0 20px rgba(255,193,7,.5)}
body[data-rs-tenant="styleth"] .styleth-integration-hero.is-ok .styleth-live-dot{background:#22c55e;box-shadow:0 0 20px rgba(34,197,94,.45)}
body[data-rs-tenant="styleth"] .styleth-integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body[data-rs-tenant="styleth"] .styleth-wa-qr{display:grid;place-items:center;gap:8px;padding:13px;border-radius:17px;background:#fff}
body[data-rs-tenant="styleth"] .styleth-wa-qr img{display:block;width:min(260px,100%);height:auto;border-radius:8px}
body[data-rs-tenant="styleth"] .styleth-wa-qr small{color:#514a38;font-size:.62rem;text-align:center}
body[data-rs-tenant="styleth"] .styleth-wa-actions{display:grid;gap:7px;margin-top:10px}
body[data-rs-tenant="styleth"] .styleth-wa-actions .primary{min-height:42px;border-radius:12px}
body[data-rs-tenant="styleth"] .styleth-wa-actions small{color:var(--rs-muted);font-size:.6rem;text-align:center}
body[data-rs-tenant="styleth"] .styleth-queue-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-rs-tenant="styleth"] .styleth-queue-stats>span{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05)}
body[data-rs-tenant="styleth"] .styleth-queue-stats b{font-size:.6rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-queue-stats strong{font-size:.85rem;color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-channel-note,body[data-rs-tenant="styleth"] .styleth-ok-block{margin-top:10px;padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05)}
body[data-rs-tenant="styleth"] .styleth-channel-note strong,body[data-rs-tenant="styleth"] .styleth-ok-block strong{font-size:.7rem}
body[data-rs-tenant="styleth"] .styleth-channel-note p,body[data-rs-tenant="styleth"] .styleth-ok-block p{margin:4px 0 0;font-size:.61rem;color:var(--rs-muted);line-height:1.45}
body[data-rs-tenant="styleth"] .styleth-status-list{display:grid;gap:7px}
body[data-rs-tenant="styleth"] .styleth-status-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.045)}
body[data-rs-tenant="styleth"] .styleth-status-list span{font-size:.62rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-status-list strong{font-size:.67rem;color:#e8e0cc}
body[data-rs-tenant="styleth"] .styleth-ai-capabilities{display:flex;flex-wrap:wrap;gap:7px}
body[data-rs-tenant="styleth"] .styleth-ai-capabilities span{padding:7px 9px;border-radius:999px;background:rgba(255,193,7,.075);border:1px solid rgba(255,193,7,.1);color:#d8c993;font-size:.6rem;font-weight:750}
body[data-rs-tenant="styleth"] .styleth-error-block{margin-top:10px;padding:10px;border-radius:12px;background:rgba(244,63,94,.07);color:#fda4af;font-size:.62rem}
body[data-rs-tenant="styleth"] .styleth-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
body[data-rs-tenant="styleth"] .styleth-settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body[data-rs-tenant="styleth"] .styleth-settings-fields label{display:grid;gap:5px;color:var(--rs-muted);font-size:.62rem}
body[data-rs-tenant="styleth"] .styleth-settings-fields label.full{grid-column:1/-1}
body[data-rs-tenant="styleth"] .styleth-settings-fields input{width:100%;min-height:42px;padding:0 11px;border-radius:12px}
body[data-rs-tenant="styleth"] .styleth-hours-list{display:grid;gap:6px}
body[data-rs-tenant="styleth"] .styleth-hour-row{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:10px}
body[data-rs-tenant="styleth"] .styleth-hour-row span{font-size:.63rem;color:#c9c0aa}
body[data-rs-tenant="styleth"] .styleth-hour-row input{min-height:38px;padding:0 10px;border-radius:11px}
body[data-rs-tenant="styleth"] .styleth-toggle-list{display:grid;gap:7px}
body[data-rs-tenant="styleth"] .styleth-toggle-list>label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.045)}
body[data-rs-tenant="styleth"] .styleth-toggle-list label>span{display:grid;gap:2px}
body[data-rs-tenant="styleth"] .styleth-toggle-list strong{font-size:.65rem}
body[data-rs-tenant="styleth"] .styleth-toggle-list small{font-size:.57rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-toggle-list input{width:19px;height:19px;accent-color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-settings-save{position:sticky;bottom:84px;z-index:10;width:100%;min-height:47px;margin-top:14px;border-radius:14px!important;box-shadow:0 10px 30px rgba(0,0,0,.28)}
@media(max-width:850px){
 body[data-rs-tenant="styleth"] .styleth-integration-grid,body[data-rs-tenant="styleth"] .styleth-settings-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
 body[data-rs-tenant="styleth"] .styleth-integration-hero{padding:14px;border-radius:17px}
 body[data-rs-tenant="styleth"] .styleth-integration-hero h3{font-size:1rem}
 body[data-rs-tenant="styleth"] .styleth-wa-qr img{width:min(230px,82vw)}
 body[data-rs-tenant="styleth"] .styleth-settings-fields{grid-template-columns:1fr 1fr}
 body[data-rs-tenant="styleth"] .styleth-hour-row{grid-template-columns:74px 1fr}
}
@media(max-width:430px){
 body[data-rs-tenant="styleth"] .styleth-settings-fields{grid-template-columns:1fr}
 body[data-rs-tenant="styleth"] .styleth-settings-fields label.full{grid-column:auto}
 body[data-rs-tenant="styleth"] .styleth-queue-stats{grid-template-columns:1fr}
}
body[data-rs-tenant="styleth"] .styleth-wa-pair{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-bottom:10px;border-radius:14px;background:#ffc107;color:#080600;text-decoration:none;font-size:.74rem;font-weight:900;box-shadow:0 10px 28px rgba(255,193,7,.16)}
body[data-rs-tenant="styleth"] .styleth-wa-pair-note{display:block;margin:-3px 0 12px;color:var(--rs-muted);font-size:.58rem;text-align:center}
body[data-rs-tenant="styleth"] .styleth-wa-code{display:grid;place-items:center;gap:5px;padding:13px;margin-bottom:10px;border:1px solid rgba(255,193,7,.16);border-radius:14px;background:rgba(255,193,7,.065)}
body[data-rs-tenant="styleth"] .styleth-wa-code span{font-size:.58rem;color:var(--rs-muted)}
body[data-rs-tenant="styleth"] .styleth-wa-code strong{font-size:1.05rem;letter-spacing:.08em;color:#ffc107}
body[data-rs-tenant="styleth"] .styleth-wa-qr-details{margin:9px 0 0}
body[data-rs-tenant="styleth"] .styleth-wa-qr-details summary{cursor:pointer;padding:9px 10px;border-radius:11px;background:rgba(255,255,255,.025);color:#c6bda6;font-size:.62rem;font-weight:750;text-align:center}
body[data-rs-tenant="styleth"] .styleth-wa-qr-details[open] summary{margin-bottom:8px}
body[data-rs-tenant="styleth"] .styleth-ai-sandbox{margin-top:14px}
body[data-rs-tenant="styleth"] .styleth-ai-sandbox form{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end}
body[data-rs-tenant="styleth"] .styleth-ai-sandbox textarea{width:100%;min-height:82px;padding:11px 12px;resize:vertical;border:1px solid rgba(255,193,7,.12);border-radius:13px;background:rgba(255,255,255,.035);color:var(--rs-text);font:inherit;font-size:.7rem;line-height:1.45}
body[data-rs-tenant="styleth"] .styleth-ai-sandbox .primary{min-height:44px;padding:0 15px;border-radius:12px}
body[data-rs-tenant="styleth"] .styleth-ai-test-result{margin-top:10px;padding:12px 13px;border:1px solid rgba(255,193,7,.11);border-radius:14px;background:rgba(255,193,7,.045)}
body[data-rs-tenant="styleth"] .styleth-ai-test-result>span{display:block;margin-bottom:5px;color:#ffc107;font-size:.56rem;font-weight:850;letter-spacing:.12em}
body[data-rs-tenant="styleth"] .styleth-ai-test-result p{margin:0;white-space:pre-wrap;font-size:.7rem;line-height:1.5;color:#ece5d5}
body[data-rs-tenant="styleth"] .styleth-ai-test-result small{display:block;margin-top:7px;color:var(--rs-muted);font-size:.55rem}
@media(max-width:760px){
 body[data-rs-tenant="styleth"] .styleth-ai-sandbox form{grid-template-columns:1fr}
 body[data-rs-tenant="styleth"] .styleth-ai-sandbox .primary{width:100%}
 body[data-rs-tenant="styleth"] .styleth-wa-pair{min-height:50px;font-size:.77rem}
}

/* Restaurant settings */
.restaurant-settings-hours{display:grid;gap:8px}
.restaurant-setting-row{display:grid;grid-template-columns:minmax(180px,1fr) 120px 120px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rs-border,#263244)}
.restaurant-setting-row:last-child{border-bottom:0}
.restaurant-zone-setting{display:grid;grid-template-columns:minmax(180px,1.4fr) 110px 110px auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--rs-border,#263244)}
.restaurant-zone-setting:last-child{border-bottom:0}
.panel-head-inline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.toggle-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.toggle-stack label{display:flex;align-items:center;gap:8px}
@media(max-width:760px){.restaurant-setting-row,.restaurant-zone-setting{grid-template-columns:1fr}.toggle-stack{grid-template-columns:1fr}}

/* Restaurant Tenant App V3 */
body[data-rs-business="restaurant"] .rs-panel-main{background:var(--rs-bg)}
body[data-rs-business="restaurant"] .rs-page-heading h1{letter-spacing:-.035em}
body[data-rs-business="restaurant"] .metric-grid{gap:10px}
body[data-rs-business="restaurant"] .metric-card{min-height:112px;border-radius:16px;box-shadow:none}
body[data-rs-business="restaurant"] .metric-card strong{letter-spacing:-.035em}
body[data-rs-business="restaurant"] .panel{border-radius:16px;box-shadow:none}
body[data-rs-business="restaurant"] .quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-rs-business="restaurant"] .quick-actions button{display:grid;gap:3px;text-align:left;min-height:72px;padding:13px 14px;border:1px solid var(--rs-border);border-radius:13px;background:var(--rs-surface-2)}
body[data-rs-business="restaurant"] .quick-actions button strong{font-size:.78rem}
body[data-rs-business="restaurant"] .quick-actions button span{font-size:.62rem;color:var(--rs-muted)}
body[data-rs-business="restaurant"] table th{font-size:.58rem;text-transform:uppercase;letter-spacing:.055em;color:var(--rs-muted)}
body[data-rs-business="restaurant"] table td{vertical-align:middle}
body[data-rs-business="restaurant"] .restaurant-daily-group{margin-top:10px}
body[data-rs-business="restaurant"] .restaurant-daily-group .panel-head-inline{align-items:center}
body[data-rs-business="restaurant"] .restaurant-daily-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
body[data-rs-business="restaurant"] .restaurant-daily-item{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--rs-border);border-radius:11px;background:var(--rs-surface-2)}
body[data-rs-business="restaurant"] .restaurant-daily-item label{display:flex;align-items:center;gap:7px;flex:1}
body[data-rs-business="restaurant"] .restaurant-daily-item .rd-name{width:100%;min-width:0}
body[data-rs-business="restaurant"] .restaurant-hour-row{display:grid;grid-template-columns:minmax(120px,1fr) 120px 120px;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid var(--rs-border)}
body[data-rs-business="restaurant"] .restaurant-zone-row{display:grid;grid-template-columns:minmax(160px,1.3fr) 110px 110px auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--rs-border)}
body[data-rs-business="restaurant"] #restaurant-settings-form>.primary{min-height:44px}
@media(max-width:760px){
 body[data-rs-business="restaurant"] .quick-actions{grid-template-columns:1fr 1fr}
 body[data-rs-business="restaurant"] .restaurant-daily-items{grid-template-columns:1fr}
 body[data-rs-business="restaurant"] .restaurant-hour-row,body[data-rs-business="restaurant"] .restaurant-zone-row{grid-template-columns:1fr}
}
@media(max-width:430px){body[data-rs-business="restaurant"] .quick-actions{grid-template-columns:1fr}}

/* Restaurant V3 */
body[data-rs-business="restaurant"] .content{max-width:1440px}
.restaurant-v3-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.restaurant-v3-kpis button{appearance:none;text-align:left;background:var(--rs-panel-surface,#fff);border:1px solid var(--rs-panel-border,#e5e7eb);border-radius:16px;padding:18px;min-height:118px}.restaurant-v3-kpis span{display:block;font-size:12px;opacity:.66}.restaurant-v3-kpis strong{display:block;font-size:26px;margin:9px 0 4px}.restaurant-v3-kpis small{opacity:.58}.restaurant-v3-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.75fr);gap:14px}.restaurant-v3-panel{background:var(--rs-panel-surface,#fff);border:1px solid var(--rs-panel-border,#e5e7eb);border-radius:16px;padding:18px}.restaurant-v3-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.restaurant-v3-head h3{margin:0}.restaurant-v3-head button{white-space:nowrap}.restaurant-v3-orders{display:grid;gap:8px}.restaurant-v3-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid var(--rs-panel-border,#e5e7eb);border-radius:12px}.restaurant-v3-order strong,.restaurant-v3-order span{display:block}.restaurant-v3-order small{opacity:.62}.restaurant-v3-status{display:grid;gap:0}.restaurant-v3-status>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--rs-panel-border,#e5e7eb)}.restaurant-v3-status>div:last-child{border-bottom:0}.restaurant-v3-status span{opacity:.66}.restaurant-v3-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.restaurant-v3-actions button{text-align:left;min-height:70px;border-radius:12px;padding:12px}.restaurant-v3-actions strong,.restaurant-v3-actions small{display:block}.restaurant-v3-actions small{margin-top:3px;opacity:.6}
@media(max-width:1050px){.restaurant-v3-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.restaurant-v3-grid{grid-template-columns:1fr}}
@media(max-width:620px){.restaurant-v3-kpis{grid-template-columns:1fr 1fr}.restaurant-v3-kpis button{min-height:100px;padding:14px}.restaurant-v3-kpis strong{font-size:21px}.restaurant-v3-actions{grid-template-columns:1fr}}

/* Restaurant Tenant App V3 */
body[data-rs-business="restaurant"] .rs-panel-sidebar{background:#0c1118;border-color:#202a37}
body[data-rs-business="restaurant"] .rs-panel-main{background:#0f151d}
body[data-rs-business="restaurant"] .rs-panel-topbar{background:rgba(15,21,29,.94);border-color:#202a37;backdrop-filter:blur(14px)}
body[data-rs-business="restaurant"] .rs-page-heading span{font-size:10px;letter-spacing:.11em;font-weight:750;opacity:.58}
body[data-rs-business="restaurant"] .rs-page-heading h1{font-size:clamp(24px,2.5vw,34px);letter-spacing:-.04em}
body[data-rs-business="restaurant"] .rs-panel-nav button{border-radius:10px;min-height:42px}
body[data-rs-business="restaurant"] .rs-panel-nav button.active{background:#172231;border:1px solid #28384b}
body[data-rs-business="restaurant"] .restaurant-v3-kpis button,body[data-rs-business="restaurant"] .restaurant-v3-panel{background:#131b25;border-color:#243141;box-shadow:none}
body[data-rs-business="restaurant"] .restaurant-v3-kpis button{transition:border-color .16s ease,background .16s ease,transform .16s ease}
body[data-rs-business="restaurant"] .restaurant-v3-kpis button:hover{background:#172230;border-color:#34475d;transform:translateY(-1px)}
body[data-rs-business="restaurant"] .restaurant-v3-kpis span,body[data-rs-business="restaurant"] .restaurant-v3-kpis small{color:#8795a8;opacity:1}
body[data-rs-business="restaurant"] .restaurant-v3-kpis strong{color:#f2f5f8}
body[data-rs-business="restaurant"] .restaurant-v3-panel,
body[data-rs-business="restaurant"] .restaurant-v3-panel h3,
body[data-rs-business="restaurant"] .restaurant-v3-order strong,
body[data-rs-business="restaurant"] .restaurant-v3-status strong{color:#f2f5f8}
body[data-rs-business="restaurant"] .restaurant-v3-order{background:#101720;border-color:#223040;color:#e2e8f0}
body[data-rs-business="restaurant"] .restaurant-v3-order small{color:#aeb9c7;opacity:1}
body[data-rs-business="restaurant"] .restaurant-v3-panel .muted{color:#aeb9c7}
body[data-rs-business="restaurant"] .restaurant-v3-order:hover{border-color:#33475d}
body[data-rs-business="restaurant"] .restaurant-v3-status>div{border-color:#243141}
body[data-rs-business="restaurant"] .restaurant-v3-status span{color:#8998aa;opacity:1}
body[data-rs-business="restaurant"] .restaurant-v3-actions button{background:#101720;border:1px solid #243141;color:#e9eef4}
body[data-rs-business="restaurant"] .restaurant-v3-actions button:hover{background:#172230;border-color:#34475d}
body[data-rs-business="restaurant"] .restaurant-v3-actions small{color:#8795a8;opacity:1}
body[data-rs-business="restaurant"] .panel{background:#131b25;border-color:#243141}
body[data-rs-business="restaurant"] .restaurant-daily-group{padding:16px}
body[data-rs-business="restaurant"] .restaurant-daily-item{background:#101720;border-color:#243141}
body[data-rs-business="restaurant"] .restaurant-daily-item:has(.rd-active:not(:checked)){opacity:.55}
body[data-rs-business="restaurant"] .restaurant-daily-group .rd-group-name{font-weight:750;font-size:15px}
body[data-rs-business="restaurant"] table{border-collapse:separate;border-spacing:0}
body[data-rs-business="restaurant"] table th{background:#101720;color:#8493a6}
body[data-rs-business="restaurant"] table td{border-color:#202c3a}
body[data-rs-business="restaurant"] table tbody tr:hover td{background:#151f2b}
body[data-rs-business="restaurant"] input,body[data-rs-business="restaurant"] select,body[data-rs-business="restaurant"] textarea{background:#0f161f;border-color:#29384a;color:#edf2f7;border-radius:10px}
body[data-rs-business="restaurant"] input:focus,body[data-rs-business="restaurant"] select:focus,body[data-rs-business="restaurant"] textarea:focus{border-color:#55779f;box-shadow:0 0 0 3px rgba(85,119,159,.12)}
body[data-rs-business="restaurant"] .primary{border-radius:10px;min-height:40px}
body[data-rs-business="restaurant"] .restaurant-setting-row,body[data-rs-business="restaurant"] .restaurant-zone-setting{border-color:#243141}
@media(max-width:620px){body[data-rs-business="restaurant"] .restaurant-v3-kpis{grid-template-columns:1fr 1fr}body[data-rs-business="restaurant"] .restaurant-v3-panel{padding:14px}body[data-rs-business="restaurant"] .restaurant-v3-order{grid-template-columns:1fr}body[data-rs-business="restaurant"] .restaurant-v3-order>div:last-child{text-align:left}}

body[data-rs-business="restaurant"] .restaurant-order-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
body[data-rs-business="restaurant"] .restaurant-order-actions .danger{color:#f1a3aa;border-color:rgba(216,106,114,.34);background:rgba(216,106,114,.07)}
body[data-rs-business="restaurant"] .restaurant-order-status{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:750;background:#17202a;color:#b9c5d2}
body[data-rs-business="restaurant"] .restaurant-order-status.status-received{background:rgba(95,145,232,.10);color:#a9c8fa}
body[data-rs-business="restaurant"] .restaurant-order-status.status-preparing{background:rgba(211,163,79,.10);color:#e2bc72}
body[data-rs-business="restaurant"] .restaurant-order-status.status-ready{background:rgba(84,184,137,.10);color:#91d5b4}
body[data-rs-business="restaurant"] .restaurant-order-status.status-out_for_delivery{background:rgba(113,132,255,.10);color:#b5c0ff}
body[data-rs-business="restaurant"] .restaurant-order-status.status-completed{background:rgba(84,184,137,.08);color:#9dd8ba}
body[data-rs-business="restaurant"] .restaurant-order-status.status-cancelled{background:rgba(216,106,114,.09);color:#efaab0}
@media(max-width:760px){body[data-rs-business="restaurant"] .restaurant-order-actions{min-width:180px}}

body[data-rs-business="restaurant"] .restaurant-catalog-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}body[data-rs-business="restaurant"] .restaurant-catalog-intro h2{margin:0 0 4px;font-size:22px}body[data-rs-business="restaurant"] .restaurant-catalog-intro p{margin:0;color:#8795a8}
body[data-rs-business="restaurant"] .restaurant-product-create{margin-bottom:18px}
body[data-rs-business="restaurant"] .restaurant-catalog-group{margin-top:18px}body[data-rs-business="restaurant"] .restaurant-catalog-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:10px}body[data-rs-business="restaurant"] .restaurant-catalog-head span{font-size:10px;letter-spacing:.11em;color:#748296;font-weight:800}body[data-rs-business="restaurant"] .restaurant-catalog-head h3{margin:2px 0 0;font-size:17px}body[data-rs-business="restaurant"] .restaurant-catalog-head small{color:#7f8da0}
body[data-rs-business="restaurant"] .restaurant-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-rs-business="restaurant"] .restaurant-product-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;min-height:110px;padding:12px;border:1px solid #243141;border-radius:14px;background:#131b25}
body[data-rs-business="restaurant"] .restaurant-product-media{width:82px;height:82px;border-radius:12px;overflow:hidden;background:#0f161f;display:grid;place-items:center;color:#708095;font-size:24px;font-weight:800}body[data-rs-business="restaurant"] .restaurant-product-media img{width:100%;height:100%;object-fit:cover}
body[data-rs-business="restaurant"] .restaurant-product-copy{min-width:0}body[data-rs-business="restaurant"] .restaurant-product-top{display:flex;justify-content:space-between;gap:10px}body[data-rs-business="restaurant"] .restaurant-product-top strong,body[data-rs-business="restaurant"] .restaurant-product-top small{display:block}body[data-rs-business="restaurant"] .restaurant-product-top strong{font-size:14px;color:#edf2f7}body[data-rs-business="restaurant"] .restaurant-product-top small{margin-top:4px;color:#8391a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}
body[data-rs-business="restaurant"] .restaurant-product-state{flex:0 0 auto;display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:800}body[data-rs-business="restaurant"] .restaurant-product-state.on{background:rgba(84,184,137,.09);color:#95d6b7}body[data-rs-business="restaurant"] .restaurant-product-state.off{background:rgba(216,106,114,.08);color:#efaab0}
body[data-rs-business="restaurant"] .restaurant-product-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;color:#a8b4c2;font-size:11px}body[data-rs-business="restaurant"] .restaurant-product-actions{display:flex;gap:6px;margin-top:10px}
@media(max-width:900px){body[data-rs-business="restaurant"] .restaurant-product-grid{grid-template-columns:1fr}}@media(max-width:560px){body[data-rs-business="restaurant"] .restaurant-catalog-intro{align-items:flex-start;flex-direction:column}body[data-rs-business="restaurant"] .restaurant-product-card{grid-template-columns:64px minmax(0,1fr)}body[data-rs-business="restaurant"] .restaurant-product-media{width:64px;height:64px}}

body[data-rs-business="restaurant"] .restaurant-product-editor-wrap{position:fixed;inset:0;z-index:1000;display:flex;justify-content:flex-end;background:rgba(4,8,13,.58);backdrop-filter:blur(4px);opacity:0;transition:opacity .16s ease}
body[data-rs-business="restaurant"] .restaurant-product-editor-wrap.open{opacity:1}
body[data-rs-business="restaurant"] .restaurant-product-editor{width:min(520px,100%);height:100%;overflow:auto;padding:22px;background:#101720;border-left:1px solid #263548;box-shadow:-24px 0 70px rgba(0,0,0,.35);transform:translateX(24px);transition:transform .18s ease}
body[data-rs-business="restaurant"] .restaurant-product-editor-wrap.open .restaurant-product-editor{transform:translateX(0)}
body[data-rs-business="restaurant"] .restaurant-product-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}body[data-rs-business="restaurant"] .restaurant-product-editor-head div{display:grid;gap:2px}body[data-rs-business="restaurant"] .restaurant-product-editor-head span{font-size:10px;letter-spacing:.11em;font-weight:800;color:#728398}body[data-rs-business="restaurant"] .restaurant-product-editor-head strong{font-size:20px;color:#f2f5f8}
body[data-rs-business="restaurant"] .restaurant-product-editor-close{width:36px;height:36px;border-radius:50%;border:1px solid #2a394b;background:#151f2b;color:#dce4ed;font-size:22px}
body[data-rs-business="restaurant"] .restaurant-product-editor textarea{width:100%}
body[data-rs-business="restaurant"] .restaurant-product-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid #243141}
@media(max-width:620px){body[data-rs-business="restaurant"] .restaurant-product-editor{width:100%;padding:18px 14px 24px;border-left:0;border-radius:20px 20px 0 0;height:auto;max-height:92dvh;margin-top:auto}body[data-rs-business="restaurant"] .restaurant-product-editor-wrap{align-items:flex-end}}

/* Restaurant storefront showcase controls */
.restaurant-showcase{margin-bottom:18px}.restaurant-showcase #rfs-list{display:grid;gap:12px;margin-top:14px}.restaurant-showcase-row{display:grid;grid-template-columns:1.2fr 1fr 1.5fr 1fr .65fr;gap:12px;align-items:end;padding:14px;border:1px solid var(--line,#e5e7eb);border-radius:14px;background:var(--surface,#fff)}.restaurant-showcase-row .toggle-field{align-self:center}.restaurant-showcase-row .rfs-remove{justify-self:start}@media(max-width:1050px){.restaurant-showcase-row{grid-template-columns:1fr 1fr}}@media(max-width:620px){.restaurant-showcase-row{grid-template-columns:1fr}}

/* Restaurant configurable storefront */
.restaurant-showcase-order{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.restaurant-window-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(150px,1.2fr) 110px 110px auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rs-border)}
.restaurant-window-row:last-child{border-bottom:0}.restaurant-windows-list{margin-top:8px}
@media(max-width:760px){.restaurant-window-row{grid-template-columns:1fr 1fr}.restaurant-window-row .rr-window-remove{grid-column:1/-1;justify-self:start}}

/* Kanban de pedidos do restaurante */
body[data-rs-business="restaurant"] .order-kanban-shell{display:grid;gap:14px}
body[data-rs-business="restaurant"] .order-kanban-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;border:1px solid #243141;border-radius:14px;background:#131b25}
body[data-rs-business="restaurant"] .order-kanban-toolbar>div:first-child{display:grid;gap:4px}
body[data-rs-business="restaurant"] .order-kanban-toolbar>div:first-child strong{color:#f2f5f8}
body[data-rs-business="restaurant"] .order-kanban-toolbar small{color:#8795a8}
body[data-rs-business="restaurant"] .order-kanban-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body[data-rs-business="restaurant"] .order-kanban-controls button{min-height:36px;padding:0 11px;border:1px solid #29384a;border-radius:9px;background:#101720;color:#c8d1dc;font-size:12px;font-weight:700}
body[data-rs-business="restaurant"] .order-kanban-controls button.active{border-color:#4a6686;background:#1b2b3d;color:#fff}
body[data-rs-business="restaurant"] .order-kanban-control-divider{width:1px;height:24px;background:#29384a;margin:0 3px}
body[data-rs-business="restaurant"] .order-kanban-flow-note{margin:0;padding:10px 13px;border:1px solid #29384a;border-radius:11px;background:#101720;color:#aeb9c7;font-size:12px;line-height:1.5}
body[data-rs-business="restaurant"] .order-kanban-board{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 2px 12px;scroll-snap-type:x proximity}
body[data-rs-business="restaurant"] .order-kanban-lane{flex:0 0 276px;max-height:calc(100vh - 270px);min-height:230px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:11px;border:1px solid #243141;border-radius:14px;background:#111923;scroll-snap-align:start}
body[data-rs-business="restaurant"] .order-kanban-lane>header{display:flex;align-items:center;justify-content:space-between;padding:3px 3px 9px;border-bottom:1px solid #243141}
body[data-rs-business="restaurant"] .order-kanban-lane>header h2{margin:0;color:#e8edf3;font-size:14px;letter-spacing:-.01em}
body[data-rs-business="restaurant"] .order-kanban-lane>header span{display:block;margin-top:4px;color:#8291a4;font-size:11px}
body[data-rs-business="restaurant"] .order-kanban-list{display:grid;align-content:start;gap:9px;overflow-y:auto;min-height:0;padding-right:2px}
body[data-rs-business="restaurant"] .order-kanban-card{display:grid;gap:9px;padding:12px;border:1px solid #29384a;border-radius:12px;background:#151f2a;color:#e7edf4}
body[data-rs-business="restaurant"] .order-kanban-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
body[data-rs-business="restaurant"] .order-kanban-card-head>strong{font-size:12px;color:#aeb9c7;letter-spacing:.04em}
body[data-rs-business="restaurant"] .order-kanban-card h3{margin:0;color:#f3f6f9;font-size:15px;line-height:1.25}
body[data-rs-business="restaurant"] .order-kanban-meta{display:flex;justify-content:space-between;gap:8px;color:#91a0b2;font-size:11px}
body[data-rs-business="restaurant"] .order-kanban-total{font-size:15px;font-weight:800;color:#f3f6f9}
body[data-rs-business="restaurant"] .order-confirmation-note{margin:0;padding:8px 9px;border-radius:9px;background:#101720;color:#aeb9c7;font-size:11px;line-height:1.45}
body[data-rs-business="restaurant"] .order-kanban-card .restaurant-order-actions{min-width:0;gap:6px}
body[data-rs-business="restaurant"] .order-kanban-readonly{color:#8594a6;font-size:11px}
body[data-rs-business="restaurant"] .order-kanban-empty{margin:0;padding:11px 8px;color:#748397;font-size:12px}
@media(max-width:760px){
  body[data-rs-business="restaurant"] .order-kanban-toolbar{align-items:stretch;flex-direction:column;padding:12px}
  body[data-rs-business="restaurant"] .order-kanban-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-rs-business="restaurant"] .order-kanban-control-divider{display:none}
  body[data-rs-business="restaurant"] .order-kanban-controls button{padding:0 8px;font-size:11px}
  body[data-rs-business="restaurant"] .order-kanban-lane{flex-basis:min(84vw,330px);max-height:calc(100dvh - 290px)}
}
/* Restaurant admin v4 — visual system and responsive operation screens. */
body.restaurant-admin-v4{
  --rs-primary:#C85F24;
  --rs-primary-contrast:#fff;
  --rs-app-bg:#F4EFE5;
  --rs-sidebar-bg:#fff;
  --rs-sidebar-text:#2E2E2A;
  --rs-sidebar-muted:#79756e;
  --rs-panel:#fff;
  --rs-panel-2:#fbf9f5;
  --rs-line:#e9e2d7;
  --rs-text:#2E2E2A;
  --rs-muted:#77736c;
  --rs-soft:#f8e9df;
  --rs-shadow:0 8px 24px rgba(53,42,31,.055);
  background:var(--rs-app-bg);
  color:var(--rs-text);
  overflow-x:hidden;
  padding-bottom:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.restaurant-admin-v4 .rs-panel-shell,
body.restaurant-admin-v4 .rs-workspace,
body.restaurant-admin-v4 .rs-panel-main,
body.restaurant-admin-v4 .rs-content{min-width:0;max-width:100%}
body.restaurant-admin-v4 .rs-sidebar{background:#fff;border-color:#ece5db;color:#2E2E2A}
body.restaurant-admin-v4 .rs-sidebar-brand{border-bottom-color:#eee7de}
body.restaurant-admin-v4 .rs-sidebar-account{border-top-color:#eee7de}
body.restaurant-admin-v4 .rs-nav-button{color:#6f6b65}
body.restaurant-admin-v4 .rs-nav-button.active{color:#a94b1b;background:#f8e9df}
body.restaurant-admin-v4 .rs-topbar{min-height:78px;padding:15px 28px;background:rgba(255,255,255,.96);border-color:#ece5db}
body.restaurant-admin-v4 .rs-page-copy .eyebrow{color:#a24b20}
body.restaurant-admin-v4 .rs-page-copy h1{font-size:1.18rem;color:#2E2E2A}
body.restaurant-admin-v4 .rs-page-copy p{color:#77736c}
body.restaurant-admin-v4 .rs-content{width:min(1440px,100%);padding:28px 28px 40px}
body.restaurant-admin-v4 .rs-online{color:#28845b}
body.restaurant-admin-v4 .rs-sidebar .rs-brand-mark{background:#f8e9df;color:#a94b1b;border-radius:13px}
body.restaurant-admin-v4 .rs-sidebar .rs-brand-mark img{object-fit:contain}

body.restaurant-admin-v4 .pg-admin-section{display:grid;gap:20px;min-width:0}
body.restaurant-admin-v4 .pg-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
body.restaurant-admin-v4 .pg-page-heading h1{margin:0;color:#2E2E2A;font-size:clamp(26px,3vw,34px);font-weight:780;letter-spacing:-.04em;line-height:1.1}
body.restaurant-admin-v4 .pg-page-actions{display:flex;flex-wrap:wrap;gap:8px}
body.restaurant-admin-v4 .pg-page-content{display:grid;gap:18px;min-width:0}
body.restaurant-admin-v4 .pg-admin-section .panel,
body.restaurant-admin-v4 .pg-surface{background:#fff;border:1px solid #e9e2d7;border-radius:16px;box-shadow:0 7px 24px rgba(53,42,31,.045);color:#2E2E2A}
body.restaurant-admin-v4 .pg-admin-section h2,
body.restaurant-admin-v4 .pg-admin-section h3{color:#2E2E2A}
body.restaurant-admin-v4 .pg-admin-section p,
body.restaurant-admin-v4 .pg-admin-section .muted{color:#77736c}
body.restaurant-admin-v4 .pg-admin-section input:not([type=checkbox]),
body.restaurant-admin-v4 .pg-admin-section select,
body.restaurant-admin-v4 .pg-admin-section textarea{width:100%;min-width:0;min-height:42px;padding:9px 11px;background:#fff;color:#2E2E2A;border:1px solid #ded7cc;border-radius:10px;box-shadow:none}
body.restaurant-admin-v4 .pg-admin-section input:focus,
body.restaurant-admin-v4 .pg-admin-section select:focus,
body.restaurant-admin-v4 .pg-admin-section textarea:focus{outline:3px solid rgba(200,95,36,.14);border-color:#C85F24}
body.restaurant-admin-v4 .pg-admin-section button{min-width:0;max-width:100%;white-space:normal}
body.restaurant-admin-v4 .pg-admin-section .mini{min-height:38px;padding:8px 12px;background:#fff;border:1px solid #ded7cc;border-radius:10px;color:#393631;font-size:.76rem}
body.restaurant-admin-v4 .pg-admin-section .primary{min-height:42px;padding:10px 15px;background:#C85F24;border:1px solid #C85F24;border-radius:11px;color:#fff;font-weight:750}
body.restaurant-admin-v4 .pg-admin-section .danger{color:#a8352a;border-color:#f0d2cd;background:#fff}
body.restaurant-admin-v4 .pg-admin-section label{min-width:0;color:#6e6962;font-size:.78rem}

body.restaurant-admin-v4 .pg-home-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 22px;border:1px solid #eadfd2;border-radius:16px;background:linear-gradient(120deg,#fff 55%,#fbefe6)}
body.restaurant-admin-v4 .pg-home-welcome>div>span,
body.restaurant-admin-v4 .pg-surface-head small{display:block;margin-bottom:6px;color:#a24b20;font-size:.62rem;font-weight:850;letter-spacing:.1em}
body.restaurant-admin-v4 .pg-home-welcome h2{margin:0 0 4px;font-size:clamp(20px,2vw,25px);letter-spacing:-.03em}
body.restaurant-admin-v4 .pg-home-welcome p{margin:0;font-size:.86rem}
body.restaurant-admin-v4 .pg-primary-link,
body.restaurant-admin-v4 .pg-publish{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:0;border-radius:11px;background:#C85F24;color:#fff;font-weight:750;text-decoration:none}
body.restaurant-admin-v4 .pg-home-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.restaurant-admin-v4 .pg-home-kpis button{display:grid;align-content:start;gap:5px;min-width:0;min-height:112px;padding:16px;text-align:left;border:1px solid #e9e2d7;border-radius:15px;background:#fff;color:#2E2E2A}
body.restaurant-admin-v4 .pg-home-kpis small{color:#77736c;font-size:.76rem}
body.restaurant-admin-v4 .pg-home-kpis strong{font-size:clamp(22px,2vw,29px);letter-spacing:-.04em}
body.restaurant-admin-v4 .pg-home-kpis span{color:#77736c;font-size:.72rem}
body.restaurant-admin-v4 .pg-home-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.9fr);gap:14px}
body.restaurant-admin-v4 .pg-surface{min-width:0;padding:18px}
body.restaurant-admin-v4 .pg-surface-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
body.restaurant-admin-v4 .pg-surface-head h2{margin:0;font-size:1.08rem;letter-spacing:-.02em}
body.restaurant-admin-v4 .pg-surface-head button,
body.restaurant-admin-v4 .pg-window-card button,
body.restaurant-admin-v4 .pg-secondary-link{padding:8px 11px;border:1px solid #e6d8ca;border-radius:9px;background:#fff;color:#8f421c;font-size:.74rem;font-weight:750}
body.restaurant-admin-v4 .pg-recent-list,
body.restaurant-admin-v4 .pg-window-list{display:grid;gap:8px}
body.restaurant-admin-v4 .pg-recent-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid #eee8df;border-radius:12px;background:#fff}
body.restaurant-admin-v4 .pg-recent-order>div{display:grid;gap:3px;min-width:0}
body.restaurant-admin-v4 .pg-recent-order small{color:#77736c;font-size:.72rem}
body.restaurant-admin-v4 .pg-recent-order>div:last-child{text-align:right}
body.restaurant-admin-v4 .pg-window-card{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eee8df}
body.restaurant-admin-v4 .pg-window-dot{width:9px;height:9px;border-radius:50%;background:#C85F24}
body.restaurant-admin-v4 .pg-window-card>div{display:grid;gap:2px}
body.restaurant-admin-v4 .pg-window-card small{color:#77736c;font-size:.74rem}
body.restaurant-admin-v4 .pg-secondary-link{width:100%;margin-top:14px}
body.restaurant-admin-v4 .pg-empty{margin:0;padding:16px;color:#77736c}

body.restaurant-admin-v4 .pg-orders-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.restaurant-admin-v4 .pg-order-count{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:12px 13px;border:1px solid #e9e2d7;border-radius:12px;background:#fff;color:#504b44;text-align:left}
body.restaurant-admin-v4 .pg-order-count.active{border-color:#C85F24;background:#fff7f2;color:#9c451a}
body.restaurant-admin-v4 .pg-order-count span{font-size:.78rem}
body.restaurant-admin-v4 .pg-order-count strong{font-size:1.08rem}
body.restaurant-admin-v4 .pg-orders-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,230px) auto;align-items:end;gap:10px;padding:14px;border:1px solid #e9e2d7;border-radius:14px;background:#fff}
body.restaurant-admin-v4 .pg-search-field,
body.restaurant-admin-v4 .pg-filter-field{display:grid;gap:5px;min-width:0}
body.restaurant-admin-v4 .pg-search-field>span,
body.restaurant-admin-v4 .pg-filter-field>span{font-size:.7rem;font-weight:700;color:#716c65}
body.restaurant-admin-v4 .pg-refresh{min-height:42px;padding:9px 13px;border:1px solid #ded7cc;border-radius:10px;background:#fff;color:#4c4741;font-weight:700}
body.restaurant-admin-v4 .pg-orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
body.restaurant-admin-v4 .pg-order-card{display:grid;gap:13px;min-width:0;padding:15px;border:1px solid #e9e2d7;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(53,42,31,.035)}
body.restaurant-admin-v4 .pg-order-card-head,
body.restaurant-admin-v4 .pg-order-customer,
body.restaurant-admin-v4 .pg-order-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
body.restaurant-admin-v4 .pg-order-id{color:#77736c;font-size:.66rem;font-weight:800;letter-spacing:.06em}
body.restaurant-admin-v4 .pg-order-customer strong{min-width:0;overflow-wrap:anywhere;font-size:.95rem}
body.restaurant-admin-v4 .pg-order-customer span{color:#77736c;font-size:.74rem;text-align:right}
body.restaurant-admin-v4 .pg-order-card-foot>strong{font-size:1.08rem}
body.restaurant-admin-v4 .pg-status-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#f1eee8;color:#5a554d;font-size:.66rem;font-weight:800}
body.restaurant-admin-v4 .pg-status-badge.status-received,
body.restaurant-admin-v4 .pg-status-badge.status-confirmed{background:#fff0d5;color:#89530e}
body.restaurant-admin-v4 .pg-status-badge.status-preparing{background:#eaf1ff;color:#385b91}
body.restaurant-admin-v4 .pg-status-badge.status-ready{background:#e9f6ed;color:#287648}
body.restaurant-admin-v4 .pg-status-badge.status-out_for_delivery{background:#e8f5f4;color:#27716c}
body.restaurant-admin-v4 .pg-status-badge.status-completed{background:#edf3e8;color:#536e35}
body.restaurant-admin-v4 .pg-status-badge.status-cancelled{background:#fbeae7;color:#a23a30}
body.restaurant-admin-v4 .pg-order-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
body.restaurant-admin-v4 .pg-action-primary,
body.restaurant-admin-v4 .pg-action-secondary,
body.restaurant-admin-v4 .pg-action-danger{min-height:38px;padding:8px 11px;border:1px solid #ddd5ca;border-radius:9px;background:#fff;color:#3b3732;font-size:.72rem;font-weight:750}
body.restaurant-admin-v4 .pg-action-primary{border-color:#C85F24;background:#C85F24;color:#fff}
body.restaurant-admin-v4 .pg-action-danger{border-color:#f0d6d1;color:#a33e33}
body.restaurant-admin-v4 .pg-action-note{color:#77736c;font-size:.72rem}
body.restaurant-admin-v4 .pg-whatsapp-note{margin:0;padding:9px 10px;border-radius:9px;background:#f2f8f1;color:#48744a;font-size:.74rem;line-height:1.45}
body.restaurant-admin-v4 .pg-empty-state{grid-column:1/-1;display:grid;gap:5px;padding:28px;border:1px dashed #d8cec1;border-radius:14px;background:#fff;text-align:center}
body.restaurant-admin-v4 .pg-empty-state span{color:#77736c;font-size:.82rem}

body.restaurant-admin-v4 .pg-menu-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border:1px solid #ecdccc;border-radius:15px;background:#fff}
body.restaurant-admin-v4 .pg-menu-summary>div:first-child>span,
body.restaurant-admin-v4 .pg-menu-sizes>span{color:#a24b20;font-size:.63rem;font-weight:850;letter-spacing:.09em}
body.restaurant-admin-v4 .pg-menu-summary h2{margin:4px 0;font-size:1.2rem}
body.restaurant-admin-v4 .pg-menu-summary p{margin:0;font-size:.8rem}
body.restaurant-admin-v4 .pg-window-chip{flex:0 0 auto;padding:9px 12px;border-radius:999px;background:#f8e9df;color:#98491f;font-size:.77rem;font-weight:800}
body.restaurant-admin-v4 .pg-menu-sizes{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:14px 16px;border:1px solid #e9e2d7;border-radius:14px;background:#fff}
body.restaurant-admin-v4 .pg-menu-sizes>span,
body.restaurant-admin-v4 .pg-menu-sizes>small{grid-column:1/-1}
body.restaurant-admin-v4 .pg-menu-sizes>div{display:flex;flex-wrap:wrap;gap:8px}
body.restaurant-admin-v4 .pg-menu-sizes b{padding:7px 10px;border-radius:9px;background:#f8f4ee;color:#48433c;font-size:.78rem}
body.restaurant-admin-v4 .pg-menu-sizes small{color:#77736c;font-size:.72rem}
body.restaurant-admin-v4 .pg-menu-sizes button{grid-column:2;grid-row:2;border:0;background:transparent;color:#a24b20;font-size:.75rem;font-weight:800}
body.restaurant-admin-v4 .pg-menu-date-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:15px;border:1px solid #e9e2d7;border-radius:14px;background:#fff}
body.restaurant-admin-v4 .pg-menu-date-row label{display:grid;gap:6px}
body.restaurant-admin-v4 .pg-menu-rules{display:flex;flex-wrap:wrap;gap:5px 12px;padding:12px 14px;border-radius:12px;background:#f8e9df;color:#7e4528;font-size:.75rem}
body.restaurant-admin-v4 .pg-menu-groups-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.restaurant-admin-v4 .pg-menu-groups-head h2{margin:0;font-size:1.1rem}
body.restaurant-admin-v4 .pg-menu-groups-head p{margin:3px 0 0;font-size:.76rem}
body.restaurant-admin-v4 .pg-menu-groups{display:grid;gap:11px;min-width:0}
body.restaurant-admin-v4 .pg-menu-group{margin:0!important;padding:15px!important}
body.restaurant-admin-v4 .pg-menu-group-head{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1.5fr);gap:14px;align-items:end}
body.restaurant-admin-v4 .pg-group-title{display:grid;gap:6px}
body.restaurant-admin-v4 .pg-group-settings{display:grid;grid-template-columns:minmax(100px,1.1fr) repeat(2,minmax(70px,.7fr)) auto;align-items:end;gap:8px}
body.restaurant-admin-v4 .pg-group-settings>label:not(.pg-required){display:grid;gap:5px}
body.restaurant-admin-v4 .pg-group-settings .pg-required{display:flex;align-items:center;gap:6px;min-height:42px;white-space:nowrap}
body.restaurant-admin-v4 .pg-add-item,
body.restaurant-admin-v4 .pg-add-group{min-height:40px;padding:8px 11px;border:1px solid #e2d3c4;border-radius:9px;background:#fff7f1;color:#9c481c;font-weight:750}
body.restaurant-admin-v4 .pg-menu-items{display:grid!important;grid-template-columns:1fr!important;gap:8px;margin-top:12px}
body.restaurant-admin-v4 .pg-menu-item{display:grid!important;grid-template-columns:105px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:9px 10px!important;border:1px solid #ece6dd!important;border-radius:10px!important;background:#fbfaf7!important}
body.restaurant-admin-v4 .pg-item-check{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:.72rem!important}
body.restaurant-admin-v4 .pg-item-check input{width:18px;height:18px;accent-color:#C85F24}
body.restaurant-admin-v4 .pg-menu-item .rd-name{min-width:0;width:100%}
body.restaurant-admin-v4 .pg-remove-item{min-height:36px;padding:7px 10px;border:1px solid #ecd8d2;border-radius:9px;background:#fff;color:#99453b;font-size:.72rem}
body.restaurant-admin-v4 .pg-publish-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #eadfd2;border-radius:13px;background:#fff}
body.restaurant-admin-v4 .pg-publish-bar>span{color:#77736c;font-size:.77rem}

body.restaurant-admin-v4 .pg-catalog-intro{align-items:center;padding:15px 17px;border:1px solid #e9e2d7;border-radius:14px;background:#fff}
body.restaurant-admin-v4 .pg-catalog-intro h2{margin:0 0 3px;font-size:1.08rem}
body.restaurant-admin-v4 .pg-catalog-intro p{margin:0;font-size:.78rem}
body.restaurant-admin-v4 .pg-catalog-accordion{overflow:hidden;border:1px solid #e9e2d7;border-radius:14px;background:#fff}
body.restaurant-admin-v4 .pg-catalog-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:13px 15px;cursor:pointer;list-style:none}
body.restaurant-admin-v4 .pg-catalog-accordion>summary::-webkit-details-marker{display:none}
body.restaurant-admin-v4 .pg-catalog-accordion>summary span{display:grid;gap:3px}
body.restaurant-admin-v4 .pg-catalog-accordion>summary strong{color:#2E2E2A;font-size:.9rem}
body.restaurant-admin-v4 .pg-catalog-accordion>summary small{color:#77736c;font-size:.73rem}
body.restaurant-admin-v4 .pg-catalog-accordion>summary>b{color:#a24b20;font-size:.76rem}
body.restaurant-admin-v4 .pg-catalog-accordion[open]>summary{border-bottom:1px solid #eee7de}
body.restaurant-admin-v4 .pg-catalog-accordion .restaurant-showcase,
body.restaurant-admin-v4 .pg-catalog-accordion .restaurant-product-create{margin:0;border:0;border-radius:0;box-shadow:none}
body.restaurant-admin-v4 .pg-catalog-filters{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr);gap:10px;padding:13px;border:1px solid #e9e2d7;border-radius:13px;background:#fff}
body.restaurant-admin-v4 .pg-catalog-filters label{display:grid;gap:5px}
body.restaurant-admin-v4 .restaurant-catalog-group{display:grid;gap:10px;min-width:0}
body.restaurant-admin-v4 .restaurant-catalog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.restaurant-admin-v4 .restaurant-catalog-head>div>span{color:#a24b20;font-size:.6rem;font-weight:850;letter-spacing:.1em}
body.restaurant-admin-v4 .restaurant-catalog-head h3{margin:3px 0 0;font-size:1rem}
body.restaurant-admin-v4 .restaurant-catalog-head>small{color:#77736c}
body.restaurant-admin-v4 .restaurant-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
body.restaurant-admin-v4 .restaurant-product-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;min-width:0;padding:11px;border:1px solid #e9e2d7;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(53,42,31,.035)}
body.restaurant-admin-v4 .restaurant-product-media{width:82px;height:82px;overflow:hidden;border-radius:10px;background:#f2eee7}
body.restaurant-admin-v4 .restaurant-product-media img{width:100%;height:100%;object-fit:cover}
body.restaurant-admin-v4 .restaurant-product-media>span{display:grid;place-items:center;width:100%;height:100%;color:#a24b20;font-size:1.5rem;font-weight:800}
body.restaurant-admin-v4 .restaurant-product-copy,
body.restaurant-admin-v4 .restaurant-product-top>div{display:grid;gap:4px;min-width:0}
body.restaurant-admin-v4 .restaurant-product-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
body.restaurant-admin-v4 .restaurant-product-top strong{overflow-wrap:anywhere;color:#2E2E2A;font-size:.84rem}
body.restaurant-admin-v4 .restaurant-product-top small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#77736c;font-size:.68rem;line-height:1.35}
body.restaurant-admin-v4 .restaurant-product-state{flex:0 0 auto;padding:4px 7px;border-radius:999px;font-size:.6rem;font-weight:800}
body.restaurant-admin-v4 .restaurant-product-state.on{background:#eaf4eb;color:#397448}
body.restaurant-admin-v4 .restaurant-product-state.off{background:#f4eee6;color:#7c6c5d}
body.restaurant-admin-v4 .restaurant-product-meta{display:flex;flex-wrap:wrap;gap:5px 12px;color:#5e5952;font-size:.69rem;font-weight:700}
body.restaurant-admin-v4 .restaurant-product-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
body.restaurant-admin-v4 .restaurant-product-actions button{min-height:34px}

body.restaurant-admin-v4 .pg-more-backdrop{position:fixed;inset:0;z-index:3000;display:flex;align-items:flex-end;justify-content:center;padding:12px;background:rgba(34,30,25,.42)}
body.restaurant-admin-v4 .pg-more-sheet{width:min(560px,100%);max-height:82dvh;overflow:auto;padding:10px 16px calc(18px + env(safe-area-inset-bottom));border:1px solid #e9e2d7;border-radius:22px 22px 14px 14px;background:#fff;box-shadow:0 18px 60px rgba(38,32,25,.2)}
body.restaurant-admin-v4 .pg-more-grabber{width:38px;height:4px;margin:2px auto 12px;border-radius:99px;background:#d8d0c5}
body.restaurant-admin-v4 .pg-more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
body.restaurant-admin-v4 .pg-more-head>div{display:grid;gap:3px}
body.restaurant-admin-v4 .pg-more-head small{color:#a24b20;font-size:.62rem;font-weight:850;letter-spacing:.1em}
body.restaurant-admin-v4 .pg-more-head strong{font-size:1rem}
body.restaurant-admin-v4 .pg-more-close{width:34px;height:34px;border:1px solid #e9e2d7;border-radius:50%;background:#fff;font-size:1.2rem}
body.restaurant-admin-v4 .pg-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.restaurant-admin-v4 .pg-more-grid button{display:flex;align-items:center;gap:10px;min-height:52px;padding:9px 11px;border:1px solid #eee7de;border-radius:11px;background:#fbfaf7;color:#3c3832;text-align:left;font-size:.78rem;font-weight:700}
body.restaurant-admin-v4 .pg-more-grid .rs-nav-icon{color:#C85F24}
body.restaurant-admin-v4 .pg-more-logout{width:100%;min-height:42px;margin-top:11px;border:1px solid #f0d6d1;border-radius:10px;background:#fff;color:#a33e33;font-weight:750}

@media(max-width:900px){
  body.restaurant-admin-v4 .pg-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.restaurant-admin-v4 .pg-home-columns{grid-template-columns:1fr}
  body.restaurant-admin-v4 .pg-orders-list{grid-template-columns:1fr}
  body.restaurant-admin-v4 .restaurant-product-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.restaurant-admin-v4{padding-bottom:calc(94px + env(safe-area-inset-bottom))}
  body.restaurant-admin-v4 .rs-content{padding:20px 14px calc(110px + env(safe-area-inset-bottom))}
  body.restaurant-admin-v4 .rs-topbar{min-height:68px;padding:12px 15px}
  body.restaurant-admin-v4 .rs-page-copy h1{font-size:1rem}
  body.restaurant-admin-v4 .rs-page-copy p{font-size:.65rem}
  body.restaurant-admin-v4 .rs-mobile-nav{left:0;right:0;bottom:0;transform:none;width:100%;min-height:72px;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:2px;padding:6px 8px max(7px,env(safe-area-inset-bottom));overflow:hidden;border-top:1px solid #e7dfd5;background:rgba(255,255,255,.97);box-shadow:0 -6px 22px rgba(53,42,31,.08)}
  body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-button{display:flex;flex:1 1 0;min-width:0!important;max-width:none;min-height:58px;flex-direction:column;justify-content:center;gap:3px;padding:4px 2px;border:0;border-radius:10px;color:#77736c;font-size:.61rem;text-align:center}
  body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-button.active{background:#f8e9df;color:#a94b1b}
  body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-button span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-icon,
  body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-icon svg{width:21px;height:21px}
  body.restaurant-admin-v4 .pg-page-heading{align-items:flex-start}
  body.restaurant-admin-v4 .pg-page-heading h1{font-size:26px}
  body.restaurant-admin-v4 .pg-home-welcome{align-items:flex-start;flex-direction:column;padding:17px}
  body.restaurant-admin-v4 .pg-home-kpis{gap:8px}
  body.restaurant-admin-v4 .pg-home-kpis button{min-height:97px;padding:12px}
  body.restaurant-admin-v4 .pg-home-kpis strong{font-size:22px}
  body.restaurant-admin-v4 .pg-orders-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:1fr;padding:12px}
  body.restaurant-admin-v4 .pg-refresh{width:100%}
  body.restaurant-admin-v4 .pg-order-card{padding:13px}
  body.restaurant-admin-v4 .pg-order-card-foot{align-items:flex-start;flex-direction:column}
  body.restaurant-admin-v4 .pg-order-actions{justify-content:flex-start;width:100%}
  body.restaurant-admin-v4 .pg-order-actions button{flex:1 1 120px}
  body.restaurant-admin-v4 .pg-menu-summary{align-items:flex-start;flex-direction:column;padding:15px}
  body.restaurant-admin-v4 .pg-menu-date-row{grid-template-columns:1fr;padding:12px}
  body.restaurant-admin-v4 .pg-menu-group{padding:12px!important}
  body.restaurant-admin-v4 .pg-menu-group-head{grid-template-columns:1fr;gap:11px}
  body.restaurant-admin-v4 .pg-group-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.restaurant-admin-v4 .pg-group-settings .pg-required{grid-column:1/-1}
  body.restaurant-admin-v4 .pg-menu-item{grid-template-columns:minmax(0,1fr) auto!important}
  body.restaurant-admin-v4 .pg-item-check{grid-column:1/-1}
  body.restaurant-admin-v4 .pg-menu-item .rd-name{grid-column:1}
  body.restaurant-admin-v4 .pg-remove-item{grid-column:2;grid-row:2}
  body.restaurant-admin-v4 .pg-menu-groups-head{align-items:flex-start}
  body.restaurant-admin-v4 .pg-publish-bar{align-items:stretch;flex-direction:column}
  body.restaurant-admin-v4 .pg-publish{width:100%}
  body.restaurant-admin-v4 .pg-catalog-filters{grid-template-columns:1fr}
  body.restaurant-admin-v4 .restaurant-product-card{grid-template-columns:70px minmax(0,1fr);padding:9px}
  body.restaurant-admin-v4 .restaurant-product-media{width:70px;height:70px}
  body.restaurant-admin-v4 .restaurant-showcase-row{grid-template-columns:1fr!important}
  body.restaurant-admin-v4 .restaurant-showcase-row>*{min-width:0}
}
@media(max-width:390px){
  body.restaurant-admin-v4 .rs-content{padding-left:11px;padding-right:11px}
  body.restaurant-admin-v4 .pg-home-kpis button{padding:10px}
  body.restaurant-admin-v4 .pg-order-count{padding:10px}
  body.restaurant-admin-v4 .pg-menu-sizes{grid-template-columns:1fr}
  body.restaurant-admin-v4 .pg-menu-sizes button{grid-column:auto;grid-row:auto;justify-self:start}
  body.restaurant-admin-v4 .pg-more-grid{grid-template-columns:1fr}
}

/* Editor de produto responsivo e envio de imagem */
body[data-rs-business="restaurant"] .restaurant-product-editor{display:flex;flex-direction:column}
body[data-rs-business="restaurant"] #restaurant-product-editor-form{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}
body[data-rs-business="restaurant"] .restaurant-product-editor .form-grid{flex:1;min-height:0;overflow:auto;align-content:start;padding:0 5px 10px 0}
body[data-rs-business="restaurant"] .restaurant-product-editor-head{flex:none;padding-bottom:14px;border-bottom:1px solid #243141}
body[data-rs-business="restaurant"] .restaurant-product-editor-actions{position:sticky;bottom:0;z-index:2;flex:none;margin:0;padding:12px 0 max(8px,env(safe-area-inset-bottom));background:#101720}
body[data-rs-business="restaurant"] .restaurant-product-editor-actions button{min-height:48px;padding:0 18px}
body[data-rs-business="restaurant"] .restaurant-image-field{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);gap:12px;padding:13px;border:1px solid #29394b;border-radius:16px;background:#121c28}
body[data-rs-business="restaurant"] .restaurant-image-preview{grid-row:span 2;position:relative;overflow:hidden;display:grid;place-items:center;min-height:138px;aspect-ratio:4/3;border:1px dashed #42546a;border-radius:12px;background:#0e1620;color:#a8b4c2}
body[data-rs-business="restaurant"] .restaurant-image-preview img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
body[data-rs-business="restaurant"] .restaurant-image-preview>div{display:grid;justify-items:center;gap:4px;padding:10px;text-align:center}
body[data-rs-business="restaurant"] .restaurant-image-preview>div span{font-size:24px;color:#dd782e}
body[data-rs-business="restaurant"] .restaurant-image-preview>div strong{font-size:12px;color:#e8edf3}
body[data-rs-business="restaurant"] .restaurant-image-preview>div small,body[data-rs-business="restaurant"] .restaurant-image-controls small,body[data-rs-business="restaurant"] .restaurant-image-url small{font-size:11px;line-height:1.4;color:#91a0b1}
body[data-rs-business="restaurant"] .restaurant-image-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;align-self:end;color:#93a1b2;font-size:12px}
body[data-rs-business="restaurant"] .restaurant-image-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:11px;background:#c86124;color:#fff;font-weight:800;cursor:pointer}
body[data-rs-business="restaurant"] .restaurant-image-upload.is-uploading{opacity:.65;pointer-events:none}
body[data-rs-business="restaurant"] .restaurant-image-upload input{position:absolute;width:1px;height:1px;opacity:0}
body[data-rs-business="restaurant"] .restaurant-image-url{grid-column:2;display:grid;gap:5px;font-size:12px;color:#cbd4df}
body[data-rs-business="restaurant"] .restaurant-image-url input{min-height:44px}
@media(max-width:620px){
  body[data-rs-business="restaurant"] .restaurant-product-editor-wrap{align-items:stretch;justify-content:stretch}
  body[data-rs-business="restaurant"] .restaurant-product-editor{width:100%;height:100dvh;max-height:100dvh;margin:0;padding:calc(12px + env(safe-area-inset-top)) 14px 0;border:0;border-radius:0;transform:translateY(12px)}
  body[data-rs-business="restaurant"] .restaurant-product-editor-wrap.open .restaurant-product-editor{transform:translateY(0)}
  body[data-rs-business="restaurant"] .restaurant-product-editor-actions{justify-content:stretch;gap:10px}
  body[data-rs-business="restaurant"] .restaurant-product-editor-actions button{flex:1;min-width:0;padding:0 10px}
  body[data-rs-business="restaurant"] .restaurant-image-field{grid-template-columns:1fr}
  body[data-rs-business="restaurant"] .restaurant-image-preview{grid-row:auto;width:100%;min-height:170px;max-height:230px;aspect-ratio:16/9}
  body[data-rs-business="restaurant"] .restaurant-image-url{grid-column:auto}
  body[data-rs-business="restaurant"] .restaurant-image-controls{align-items:center}
  body[data-rs-business="restaurant"] .restaurant-image-controls small{width:100%}
}

/* Ajustes de contraste e botões do editor de produto */
body[data-rs-business="restaurant"] .restaurant-product-editor label{color:#d7e0eb!important}
body[data-rs-business="restaurant"] .restaurant-product-editor-head span{color:#aebaca!important}
body[data-rs-business="restaurant"] .restaurant-product-editor .toggle-field strong,body[data-rs-business="restaurant"] .restaurant-modifier-editor>div>strong{color:#f3f6fa!important;font-weight:800}
body[data-rs-business="restaurant"] .restaurant-product-editor .toggle-field small,body[data-rs-business="restaurant"] .restaurant-modifier-editor>div>small,body[data-rs-business="restaurant"] .restaurant-image-url small{color:#b2bfce!important}
body[data-rs-business="restaurant"] .restaurant-product-editor input,body[data-rs-business="restaurant"] .restaurant-product-editor select,body[data-rs-business="restaurant"] .restaurant-product-editor textarea{color:#f2f5f9}
body[data-rs-business="restaurant"] .restaurant-product-editor input::placeholder,body[data-rs-business="restaurant"] .restaurant-product-editor textarea::placeholder{color:#98a7b8}
body[data-rs-business="restaurant"] .restaurant-modifier-editor{display:grid;gap:10px;padding:14px;border:1px solid #29394b;border-radius:14px;background:#121c28}
body[data-rs-business="restaurant"] .restaurant-modifier-editor>div{display:grid;gap:5px;line-height:1.45}
body[data-rs-business="restaurant"] .restaurant-modifier-editor textarea{min-height:128px}
body[data-rs-business="restaurant"] .restaurant-product-editor-actions .secondary{border:1px solid #3a4b60!important;border-radius:12px!important;background:#172230!important;color:#f0f4f8!important;font-weight:750}
body[data-rs-business="restaurant"] .restaurant-product-editor-actions .primary{border-radius:12px!important;font-weight:800}

body[data-rs-business="restaurant"] .restaurant-wa-connect{padding:20px;border:1px solid var(--rs-panel-border,#e5e7eb);border-radius:18px;background:var(--rs-panel-surface,#fff);box-shadow:0 8px 24px rgba(25,35,45,.05)}
body[data-rs-business="restaurant"] .restaurant-wa-connect-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body[data-rs-business="restaurant"] .restaurant-wa-connect-head>div>span{font-size:11px;letter-spacing:.08em;font-weight:800;color:#a85a2a}
body[data-rs-business="restaurant"] .restaurant-wa-connect-head h3{margin:5px 0;color:#17212d;font-size:22px}
body[data-rs-business="restaurant"] .restaurant-wa-connect-head p{margin:0;color:#657384;font-size:13px;overflow-wrap:anywhere}
body[data-rs-business="restaurant"] .restaurant-wa-dot{width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#dc8b24;box-shadow:0 0 0 5px #fff2df}
body[data-rs-business="restaurant"] .restaurant-wa-connect.is-connected .restaurant-wa-dot{background:#20a464;box-shadow:0 0 0 5px #e2f5eb}
body[data-rs-business="restaurant"] .restaurant-wa-qr{display:grid;justify-items:center;gap:12px;width:min(100%,330px);margin:18px auto;padding:16px;border:1px solid #e4e8ed;border-radius:16px;background:#fff;text-align:center}
body[data-rs-business="restaurant"] .restaurant-wa-qr img{display:block;width:min(100%,270px);height:auto;aspect-ratio:1;object-fit:contain}
body[data-rs-business="restaurant"] .restaurant-wa-qr p,body[data-rs-business="restaurant"] .restaurant-wa-note{margin:0;color:#657384;font-size:13px;line-height:1.5}
body[data-rs-business="restaurant"] .restaurant-wa-code{display:grid;gap:5px;max-width:330px;margin:14px auto;padding:14px;border:1px solid #e4e8ed;border-radius:14px;background:#f8fafc}
body[data-rs-business="restaurant"] .restaurant-wa-code span{font-size:12px;color:#657384}
body[data-rs-business="restaurant"] .restaurant-wa-code strong{font-size:24px;letter-spacing:.12em;color:#17212d}
body[data-rs-business="restaurant"] .restaurant-wa-code small{color:#657384;line-height:1.45}
body[data-rs-business="restaurant"] .restaurant-wa-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 10px}
body[data-rs-business="restaurant"] .restaurant-wa-actions button{min-height:44px;border-radius:11px;padding:0 15px}
body[data-rs-business="restaurant"] .restaurant-wa-actions button[hidden]{display:none}
@media(max-width:620px){body[data-rs-business="restaurant"] .restaurant-wa-connect{padding:16px}.restaurant-wa-actions button{flex:1}}

body[data-rs-business="restaurant"] .restaurant-wa-test{display:grid;gap:12px;margin-bottom:16px;padding:18px;border:1px solid var(--rs-panel-border,#e5e7eb);border-radius:18px;background:var(--rs-panel-surface,#fff)}
body[data-rs-business="restaurant"] .restaurant-wa-test>div>span{font-size:11px;letter-spacing:.08em;font-weight:800;color:#a85a2a}
body[data-rs-business="restaurant"] .restaurant-wa-test h3{margin:4px 0 0;color:#17212d;font-size:19px}
body[data-rs-business="restaurant"] .restaurant-wa-test-toggle{display:flex;align-items:center;gap:10px;color:#253243;font-weight:750}
body[data-rs-business="restaurant"] .restaurant-wa-test-toggle input{width:20px;height:20px;accent-color:#c86124}
body[data-rs-business="restaurant"] .restaurant-wa-test-list{display:grid;gap:6px;color:#536273;font-size:13px;font-weight:700}
body[data-rs-business="restaurant"] .restaurant-wa-test-list textarea{width:100%;min-height:96px;padding:12px;border:1px solid #d9e0e7;border-radius:11px;background:#f8fafc;color:#17212d;font:inherit;resize:vertical}
body[data-rs-business="restaurant"] .restaurant-wa-test>p{margin:0;color:#657384;font-size:12px;line-height:1.5}
body[data-rs-business="restaurant"] .restaurant-wa-test>button{justify-self:start;min-height:44px;border-radius:11px;padding:0 15px}

/* Restaurant — configurações e CRM mobile-first */
body.restaurant-admin-v4 .pg-settings-form{display:grid;gap:14px;max-width:1120px;margin:0 auto}
body.restaurant-admin-v4 .pg-settings-card,body.restaurant-admin-v4 .pg-customer-section,body.restaurant-admin-v4 .pg-customer-form{padding:17px;border:1px solid #e9e2d7;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(53,42,31,.035)}
body.restaurant-admin-v4 .pg-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}
body.restaurant-admin-v4 .pg-settings-head>div{min-width:0}
body.restaurant-admin-v4 .pg-settings-head span,body.restaurant-admin-v4 .pg-customer-form>div>span{display:block;color:#a24b20;font-size:.61rem;font-weight:850;letter-spacing:.1em}
body.restaurant-admin-v4 .pg-settings-head h3{margin:3px 0 3px;color:#2e2e2a;font-size:1rem}
body.restaurant-admin-v4 .pg-settings-head p{margin:0;color:#77736c;font-size:.73rem;line-height:1.45}
body.restaurant-admin-v4 .pg-settings-head>small{color:#77736c;font-size:.68rem}
body.restaurant-admin-v4 .pg-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body.restaurant-admin-v4 .pg-settings-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}
body.restaurant-admin-v4 .pg-settings-grid label,body.restaurant-admin-v4 .pg-zone-card>label:not(.pg-setting-switch),body.restaurant-admin-v4 .pg-window-card>label,body.restaurant-admin-v4 .pg-customer-form>label{display:grid;gap:6px;color:#6e6962;font-size:.7rem;font-weight:700}
body.restaurant-admin-v4 .pg-settings-wide{grid-column:1/-1}
body.restaurant-admin-v4 .pg-settings-card input:not([type="checkbox"]),body.restaurant-admin-v4 .pg-settings-card textarea,body.restaurant-admin-v4 .pg-customer-form input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #ddd6cc;border-radius:10px;background:#fbfaf7;color:#302d29;outline:none}
body.restaurant-admin-v4 .pg-settings-card textarea{min-height:106px;resize:vertical;line-height:1.45}
body.restaurant-admin-v4 .pg-settings-card input:focus,body.restaurant-admin-v4 .pg-settings-card textarea:focus,body.restaurant-admin-v4 .pg-customer-form input:focus{border-color:#c85f24;box-shadow:0 0 0 3px rgba(200,95,36,.1);background:#fff}
body.restaurant-admin-v4 .pg-settings-grid small{color:#8a847c;font-size:.65rem;font-weight:500;line-height:1.4}

body.restaurant-admin-v4 .pg-setting-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.restaurant-admin-v4 .pg-setting-choice{position:relative;display:flex;align-items:center;gap:10px;min-height:68px;padding:11px;border:1px solid #e7dfd5;border-radius:12px;background:#fbfaf7;cursor:pointer}
body.restaurant-admin-v4 .pg-setting-choice input{position:absolute;opacity:0;pointer-events:none}
body.restaurant-admin-v4 .pg-choice-check{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border:1px solid #d8d0c5;border-radius:7px;background:#fff;color:transparent;font-size:.78rem;font-weight:900}
body.restaurant-admin-v4 .pg-setting-choice input:checked+.pg-choice-check{border-color:#c85f24;background:#c85f24;color:#fff}
body.restaurant-admin-v4 .pg-setting-choice:has(input:checked){border-color:#e3b99f;background:#fff7f2}
body.restaurant-admin-v4 .pg-setting-choice>span:last-child{display:grid;gap:2px;min-width:0}
body.restaurant-admin-v4 .pg-setting-choice strong{color:#3d3934;font-size:.76rem}
body.restaurant-admin-v4 .pg-setting-choice small{color:#817b73;font-size:.62rem;line-height:1.3}
body.restaurant-admin-v4 .pg-setting-switch{position:relative;display:flex;align-items:center;gap:10px;cursor:pointer}
body.restaurant-admin-v4 .pg-setting-switch>input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}
body.restaurant-admin-v4 .pg-switch-ui{position:relative;width:42px;height:24px;flex:0 0 42px;border-radius:999px;background:#d9d3cb;transition:.18s}
body.restaurant-admin-v4 .pg-switch-ui:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.18s}
body.restaurant-admin-v4 .pg-setting-switch>input:checked+.pg-switch-ui{background:#c85f24}
body.restaurant-admin-v4 .pg-setting-switch>input:checked+.pg-switch-ui:after{transform:translateX(18px)}
body.restaurant-admin-v4 .pg-setting-switch>span:last-child{display:grid;gap:2px}
body.restaurant-admin-v4 .pg-setting-switch strong{color:#3d3934;font-size:.74rem}
body.restaurant-admin-v4 .pg-setting-switch small{color:#817b73;font-size:.62rem;line-height:1.35}
body.restaurant-admin-v4 .pg-settings-row-toggle{margin-top:12px;padding:12px;border:1px solid #eee7de;border-radius:12px;background:#fbfaf7}

body.restaurant-admin-v4 .pg-hours-list,body.restaurant-admin-v4 .pg-window-list,body.restaurant-admin-v4 .pg-zone-list{display:grid;gap:8px}
body.restaurant-admin-v4 .pg-setting-hour{display:grid;grid-template-columns:minmax(150px,1fr) auto;align-items:center;gap:12px;padding:10px 11px;border:1px solid #eee7de;border-radius:11px;background:#fbfaf7}
body.restaurant-admin-v4 .pg-setting-time{display:flex;align-items:center;gap:7px;color:#8a847c;font-size:.66rem}
body.restaurant-admin-v4 .pg-setting-time input{width:112px!important;min-height:38px!important;padding:7px 9px!important}
body.restaurant-admin-v4 .pg-settings-head-action{align-items:center}
body.restaurant-admin-v4 .pg-add-button{flex:0 0 auto;min-height:38px;padding:8px 11px;border:1px solid #e2d3c4;border-radius:9px;background:#fff7f1;color:#9c481c;font-size:.69rem;font-weight:800}
body.restaurant-admin-v4 .pg-zone-card,body.restaurant-admin-v4 .pg-window-card{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(100px,.8fr) minmax(110px,.8fr) auto auto;align-items:end;gap:8px;padding:11px;border:1px solid #eee7de;border-radius:12px;background:#fbfaf7}
body.restaurant-admin-v4 .pg-window-card{grid-template-columns:minmax(110px,.8fr) minmax(150px,1.2fr) minmax(105px,.7fr) minmax(105px,.7fr) auto}
body.restaurant-admin-v4 .pg-zone-active{align-self:center;min-height:44px}
body.restaurant-admin-v4 .pg-remove-link{min-height:38px;padding:7px 9px;border:1px solid #efd9d4;border-radius:9px;background:#fff;color:#a2493e;font-size:.66rem;font-weight:750}
body.restaurant-admin-v4 .pg-settings-empty{padding:18px;border:1px dashed #ddd4c8;border-radius:11px;background:#fbfaf7;color:#817b73;text-align:center;font-size:.72rem}
body.restaurant-admin-v4 .pg-settings-savebar{position:sticky;z-index:8;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #dfd6cb;border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(53,42,31,.13);backdrop-filter:blur(12px)}
body.restaurant-admin-v4 .pg-settings-savebar>span{color:#77736c;font-size:.68rem}
body.restaurant-admin-v4 .pg-settings-savebar .primary{min-height:42px;padding:9px 14px}

body.restaurant-admin-v4 .pg-crm-page{display:grid;gap:14px;max-width:1120px;margin:0 auto}
body.restaurant-admin-v4 .pg-customer-form{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px}
body.restaurant-admin-v4 .pg-customer-form>div{display:grid;gap:3px;align-self:center}
body.restaurant-admin-v4 .pg-customer-form>div>strong{font-size:.88rem}
body.restaurant-admin-v4 .pg-customer-form .primary{min-height:44px;white-space:nowrap}
body.restaurant-admin-v4 .pg-customer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.restaurant-admin-v4 .pg-customer-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #eee7de;border-radius:12px;background:#fbfaf7}
body.restaurant-admin-v4 .pg-customer-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f7e4d7;color:#a24b20;font-size:.92rem;font-weight:850}
body.restaurant-admin-v4 .pg-customer-copy{display:grid;gap:2px;min-width:0}
body.restaurant-admin-v4 .pg-customer-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}
body.restaurant-admin-v4 .pg-customer-copy span{color:#625d56;font-size:.68rem}
body.restaurant-admin-v4 .pg-customer-copy small{color:#918a82;font-size:.61rem}
body.restaurant-admin-v4 .pg-customer-status{padding:5px 8px;border-radius:999px;background:#eaf4eb;color:#397448;font-size:.59rem;font-weight:800}
body.restaurant-admin-v4 .pg-customer-empty{grid-column:1/-1;display:grid;gap:4px;padding:25px;border:1px dashed #ddd4c8;border-radius:12px;background:#fbfaf7;text-align:center}
body.restaurant-admin-v4 .pg-customer-empty strong{font-size:.8rem}
body.restaurant-admin-v4 .pg-customer-empty span{color:#817b73;font-size:.67rem}
@media(max-width:760px){body.restaurant-admin-v4 .pg-settings-form,body.restaurant-admin-v4 .pg-crm-page{gap:10px}body.restaurant-admin-v4 .pg-settings-card,body.restaurant-admin-v4 .pg-customer-section,body.restaurant-admin-v4 .pg-customer-form{padding:14px;border-radius:13px}body.restaurant-admin-v4 .pg-settings-grid,body.restaurant-admin-v4 .pg-settings-grid-compact{grid-template-columns:1fr}body.restaurant-admin-v4 .pg-setting-options{grid-template-columns:1fr}body.restaurant-admin-v4 .pg-settings-head-action{align-items:flex-start;flex-direction:column}body.restaurant-admin-v4 .pg-add-button{width:100%}body.restaurant-admin-v4 .pg-zone-card,body.restaurant-admin-v4 .pg-window-card{grid-template-columns:1fr 1fr}body.restaurant-admin-v4 .pg-zone-card>label:first-child,body.restaurant-admin-v4 .pg-window-card>label:nth-child(2),body.restaurant-admin-v4 .pg-zone-active{grid-column:1/-1}body.restaurant-admin-v4 .pg-remove-link{grid-column:1/-1}body.restaurant-admin-v4 .pg-customer-form{grid-template-columns:1fr}body.restaurant-admin-v4 .pg-customer-list{grid-template-columns:1fr}body.restaurant-admin-v4 .pg-settings-savebar{bottom:82px;align-items:stretch;flex-direction:column}body.restaurant-admin-v4 .pg-settings-savebar .primary{width:100%}}
@media(max-width:480px){body.restaurant-admin-v4 .pg-setting-hour{grid-template-columns:1fr}body.restaurant-admin-v4 .pg-setting-time{display:grid;grid-template-columns:1fr auto 1fr}body.restaurant-admin-v4 .pg-setting-time input{width:100%!important}body.restaurant-admin-v4 .pg-zone-card,body.restaurant-admin-v4 .pg-window-card{grid-template-columns:1fr}}


/* Restaurant — pedidos: leitura operacional clara no mobile */
body.restaurant-admin-v4 .pg-order-details{display:grid;gap:7px;padding:11px 12px;border:1px solid #eee7de;border-radius:11px;background:#fbfaf7}
body.restaurant-admin-v4 .pg-order-item{display:grid;gap:2px;color:#3d3934;font-size:.78rem;line-height:1.35}
body.restaurant-admin-v4 .pg-order-item+ .pg-order-item{padding-top:7px;border-top:1px solid #eee7de}
body.restaurant-admin-v4 .pg-order-item b{color:#a24b20}
body.restaurant-admin-v4 .pg-order-item small{padding-left:20px;color:#817b73;font-size:.66rem}
body.restaurant-admin-v4 .pg-order-no-items{color:#817b73;font-size:.72rem}
@media(max-width:760px){
 body.restaurant-admin-v4 .pg-orders-overview{grid-template-columns:repeat(4,minmax(72px,1fr));gap:6px;overflow-x:auto;padding-bottom:2px}
 body.restaurant-admin-v4 .pg-order-count{min-width:78px;padding:10px 9px;flex-direction:column;align-items:flex-start;gap:3px}
 body.restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:1fr 1fr;padding:12px;gap:9px}
 body.restaurant-admin-v4 .pg-refresh{grid-column:1/-1}
 body.restaurant-admin-v4 .pg-orders-list{grid-template-columns:1fr;gap:10px}
 body.restaurant-admin-v4 .pg-order-card{gap:11px;padding:14px}
 body.restaurant-admin-v4 .pg-order-card-foot{display:grid;grid-template-columns:1fr;align-items:stretch}
 body.restaurant-admin-v4 .pg-order-card-foot>strong{font-size:1.35rem}
 body.restaurant-admin-v4 .pg-order-actions{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch;gap:7px}
 body.restaurant-admin-v4 .pg-action-primary,body.restaurant-admin-v4 .pg-action-secondary{min-height:46px;font-size:.78rem}
 body.restaurant-admin-v4 .pg-action-danger{grid-column:1/-1;min-height:42px;font-size:.76rem}
}
.pg-push-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.pg-push-metrics>div{padding:14px 16px;border:1px solid var(--line,#e6e7eb);border-radius:14px;background:var(--surface,#fff);display:flex;flex-direction:column;gap:5px}.pg-push-metrics small{font-size:10px;letter-spacing:.06em;color:var(--muted,#6b7280);font-weight:700}.pg-push-metrics strong{font-size:22px}@media(max-width:700px){.pg-push-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pg-push-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.pg-push-metrics>div{padding:14px 16px;border:1px solid var(--line,#e6e7eb);border-radius:14px;background:var(--surface,#fff);display:flex;flex-direction:column;gap:5px}.pg-push-metrics small{font-size:10px;letter-spacing:.06em;color:var(--muted,#6b7280);font-weight:700}.pg-push-metrics strong{font-size:22px}@media(max-width:700px){.pg-push-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pg-push-history{margin:-6px 0 18px;padding:14px 16px;border:1px solid var(--line,#e6e7eb);border-radius:14px;background:var(--surface,#fff)}.pg-push-history>strong{display:block;margin-bottom:8px}.pg-push-history>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--line,#eee)}.pg-push-history span{font-weight:700}.pg-push-history span.ok{color:#16803c}.pg-push-history span.bad{color:#b42318}.pg-push-history small{color:var(--muted,#6b7280);text-align:right}@media(max-width:700px){.pg-push-history>div{align-items:flex-start}.pg-push-history small{font-size:11px}}
.restaurant-coupon-list{display:grid;gap:8px;margin-top:14px}.restaurant-coupon-list>div{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:10px 0;border-top:1px solid var(--line,#e6e7eb);align-items:center}.restaurant-coupon-list span,.restaurant-coupon-list small{color:var(--muted,#6b7280)}
.restaurant-coupon-list>div,.restaurant-campaign-list>div{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--line,#e6e7eb)}.restaurant-coupon-list>div>div:first-child,.restaurant-campaign-list>div>div:first-child{display:grid;gap:3px}.restaurant-coupon-actions{display:flex;gap:6px}.restaurant-campaign-list{display:grid;margin-top:14px}@media(max-width:720px){.restaurant-coupon-list>div,.restaurant-campaign-list>div{grid-template-columns:1fr}.restaurant-coupon-actions{justify-content:flex-start}}
.restaurant-marketing-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.restaurant-marketing-kpis>div{padding:16px;border:1px solid var(--line,#e6e7eb);border-radius:16px;background:var(--surface,#fff);display:grid;gap:5px}.restaurant-marketing-kpis small{color:var(--muted,#6b7280)}.restaurant-marketing-kpis strong{font-size:25px}.restaurant-marketing-list{display:grid;margin-top:16px}.marketing-row{display:grid;grid-template-columns:minmax(190px,1fr) auto auto;gap:14px;align-items:center;padding:13px 0;border-top:1px solid var(--line,#e6e7eb)}.marketing-row>div:first-child{display:grid;gap:3px}.marketing-row small,.marketing-row>span{color:var(--muted,#6b7280)}@media(max-width:760px){.restaurant-marketing-kpis{grid-template-columns:1fr 1fr}.marketing-row{grid-template-columns:1fr}.restaurant-marketing-kpis strong{font-size:21px}}
.marketing-segments{border:1px solid var(--line,#e6e7eb);border-radius:12px;padding:12px;display:grid;gap:8px}.marketing-segments legend{font-weight:700;padding:0 5px}.marketing-segments label{display:flex;gap:8px;align-items:center}.marketing-segments small{color:var(--muted,#6b7280);margin-top:4px}.marketing-analytics-row>strong:last-child{text-align:right}
/* Restaurant WhatsApp v2 */
body[data-rs-business="restaurant"] .restaurant-wa-page{display:grid;gap:16px;max-width:1180px}
body[data-rs-business="restaurant"] .restaurant-wa-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border:1px solid #dfe6e2;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f5faf7 100%);box-shadow:0 10px 28px rgba(24,38,31,.05)}
body[data-rs-business="restaurant"] .restaurant-wa-brand,body[data-rs-business="restaurant"] .restaurant-wa-section-head span{font-size:10px;letter-spacing:.1em;font-weight:850;color:#6d7b73}
body[data-rs-business="restaurant"] .restaurant-wa-state{display:flex;align-items:center;gap:9px;margin-top:7px}body[data-rs-business="restaurant"] .restaurant-wa-state i{width:10px;height:10px;border-radius:50%;background:#d98b26;box-shadow:0 0 0 5px #fff1dc}body[data-rs-business="restaurant"] .restaurant-wa-hero.is-connected .restaurant-wa-state i{background:#1fa463;box-shadow:0 0 0 5px #dff5e9}body[data-rs-business="restaurant"] .restaurant-wa-state strong{font-size:24px;color:#17212d}body[data-rs-business="restaurant"] .restaurant-wa-hero-main p{margin:7px 0 0;color:#667487;font-size:13px;line-height:1.5}
body[data-rs-business="restaurant"] .restaurant-wa-hero-meta{display:grid;min-width:112px;padding-left:22px;border-left:1px solid #e0e7e3;text-align:right}body[data-rs-business="restaurant"] .restaurant-wa-hero-meta span,body[data-rs-business="restaurant"] .restaurant-wa-hero-meta small{color:#748177;font-size:11px}body[data-rs-business="restaurant"] .restaurant-wa-hero-meta strong{font-size:28px;color:#17212d;line-height:1.1}
body[data-rs-business="restaurant"] .restaurant-wa-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:16px;align-items:start}body[data-rs-business="restaurant"] .restaurant-wa-main{display:grid;gap:16px}body[data-rs-business="restaurant"] .restaurant-wa-side .restaurant-wa-test{margin:0;position:sticky;top:16px}
body[data-rs-business="restaurant"] .restaurant-wa-queue{padding:20px;border:1px solid var(--rs-panel-border,#e5e7eb);border-radius:18px;background:#fff}body[data-rs-business="restaurant"] .restaurant-wa-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}body[data-rs-business="restaurant"] .restaurant-wa-section-head h3{margin:4px 0 0;color:#17212d;font-size:19px}body[data-rs-business="restaurant"] .restaurant-wa-section-head>strong{display:grid;place-items:center;min-width:38px;height:38px;border-radius:12px;background:#f1f6f3;color:#26815a;font-size:17px}body[data-rs-business="restaurant"] .restaurant-wa-empty{grid-column:1/-1;display:grid!important;gap:3px!important;padding:18px!important;text-align:center;background:#f8faf9!important}body[data-rs-business="restaurant"] .restaurant-wa-empty strong{font-size:13px!important}body[data-rs-business="restaurant"] .restaurant-wa-empty span{font-size:12px!important;color:#758177!important}
@media(max-width:820px){body[data-rs-business="restaurant"] .restaurant-wa-layout{grid-template-columns:1fr}body[data-rs-business="restaurant"] .restaurant-wa-side .restaurant-wa-test{position:static}}
@media(max-width:620px){body[data-rs-business="restaurant"] .restaurant-wa-page{gap:12px}body[data-rs-business="restaurant"] .restaurant-wa-hero{padding:18px;align-items:flex-start}body[data-rs-business="restaurant"] .restaurant-wa-state strong{font-size:21px}body[data-rs-business="restaurant"] .restaurant-wa-hero-meta{min-width:72px;padding-left:14px}body[data-rs-business="restaurant"] .restaurant-wa-connect,body[data-rs-business="restaurant"] .restaurant-wa-queue,body[data-rs-business="restaurant"] .restaurant-wa-test{border-radius:16px}body[data-rs-business="restaurant"] .restaurant-wa-qr{width:100%;padding:12px}body[data-rs-business="restaurant"] .restaurant-wa-qr img{width:min(100%,240px)}}
/* Restaurant delivery v2 */
body[data-rs-business="restaurant"] .pg-delivery-page{display:grid;gap:16px;max-width:1180px}body[data-rs-business="restaurant"] .pg-delivery-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;border:1px solid #e3e6ea;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(24,32,42,.05)}body[data-rs-business="restaurant"] .pg-delivery-hero>div:first-child>span,body[data-rs-business="restaurant"] .pg-delivery-section-head span{font-size:10px;letter-spacing:.1em;font-weight:850;color:#a85a2a}body[data-rs-business="restaurant"] .pg-delivery-hero h2{margin:5px 0 4px;font-size:24px;color:#17212d}body[data-rs-business="restaurant"] .pg-delivery-hero p{margin:0;color:#697687;font-size:13px}body[data-rs-business="restaurant"] .pg-delivery-hero-stats{display:flex;gap:8px}body[data-rs-business="restaurant"] .pg-delivery-hero-stats>div{display:grid;min-width:76px;padding:10px 12px;border-radius:13px;background:#f7f8fa;text-align:center}body[data-rs-business="restaurant"] .pg-delivery-hero-stats span{font-size:10px;color:#75808d}body[data-rs-business="restaurant"] .pg-delivery-hero-stats strong{font-size:20px;color:#253243}body[data-rs-business="restaurant"] .pg-delivery-hero-stats .has-error{background:#fff0ee}body[data-rs-business="restaurant"] .pg-delivery-hero-stats .has-error strong{color:#c84d40}
body[data-rs-business="restaurant"] .pg-delivery-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px;align-items:start}body[data-rs-business="restaurant"] .pg-delivery-section{padding:20px;border:1px solid #e3e6ea;border-radius:18px;background:#fff}body[data-rs-business="restaurant"] .pg-delivery-layout aside .pg-delivery-section{position:sticky;top:16px}body[data-rs-business="restaurant"] .pg-delivery-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}body[data-rs-business="restaurant"] .pg-delivery-section-head h3{margin:4px 0 0;font-size:19px;color:#17212d}body[data-rs-business="restaurant"] .pg-delivery-section-head>strong{display:grid;place-items:center;min-width:38px;height:38px;border-radius:12px;background:#f6f1ed;color:#9a572d}
body[data-rs-business="restaurant"] .pg-delivery-list{display:grid;gap:10px}body[data-rs-business="restaurant"] .pg-delivery-card{padding:15px;border:1px solid #e6e9ed;border-radius:15px;background:#fff}body[data-rs-business="restaurant"] .pg-delivery-card-head,body[data-rs-business="restaurant"] .pg-delivery-card-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}body[data-rs-business="restaurant"] .pg-delivery-card-head>div>span{font-size:10px;font-weight:800;color:#89929d}body[data-rs-business="restaurant"] .pg-delivery-card h3{margin:3px 0 0;font-size:16px;color:#202c39}body[data-rs-business="restaurant"] .pg-delivery-badge{padding:6px 9px;border-radius:999px;background:#f1f3f5;color:#566474;font-size:10px;font-weight:800;white-space:nowrap}body[data-rs-business="restaurant"] .pg-delivery-badge.status-ready{background:#fff3d8;color:#956a14}body[data-rs-business="restaurant"] .pg-delivery-badge.status-out_for_delivery{background:#e8f3ff;color:#286da8}body[data-rs-business="restaurant"] .pg-delivery-destination{display:grid;gap:3px;margin:13px 0;padding:10px 12px;border-radius:11px;background:#f8f9fa}body[data-rs-business="restaurant"] .pg-delivery-destination span{font-size:10px;color:#8a939d}body[data-rs-business="restaurant"] .pg-delivery-destination strong{font-size:12px;color:#4a5664;line-height:1.4}body[data-rs-business="restaurant"] .pg-delivery-card-foot>strong{font-size:17px;color:#17212d}
body[data-rs-business="restaurant"] .pg-print-summary{display:grid;margin-bottom:12px;padding:14px;border-radius:13px;background:#f7f9f8}body[data-rs-business="restaurant"] .pg-print-summary span,body[data-rs-business="restaurant"] .pg-print-summary small{font-size:10px;color:#7a8580}body[data-rs-business="restaurant"] .pg-print-summary strong{font-size:25px;color:#26352d}body[data-rs-business="restaurant"] .pg-print-agents{display:grid;gap:8px;margin-bottom:12px}body[data-rs-business="restaurant"] .pg-print-agent{display:flex;justify-content:space-between;gap:10px;padding:11px;border:1px solid #e8ebed;border-radius:12px}body[data-rs-business="restaurant"] .pg-print-agent>div{display:flex;align-items:center;gap:8px}body[data-rs-business="restaurant"] .pg-print-agent>div:last-child{display:grid;text-align:right}body[data-rs-business="restaurant"] .pg-print-agent i{width:8px;height:8px;border-radius:50%;background:#b7bdc3}body[data-rs-business="restaurant"] .pg-print-agent i.online{background:#20a464}body[data-rs-business="restaurant"] .pg-print-agent span{display:grid}body[data-rs-business="restaurant"] .pg-print-agent strong{font-size:12px}body[data-rs-business="restaurant"] .pg-print-agent small{font-size:10px;color:#89929d}body[data-rs-business="restaurant"] .pg-delivery-empty{display:grid;gap:4px;padding:26px 15px;border-radius:13px;background:#f8faf9;text-align:center}body[data-rs-business="restaurant"] .pg-delivery-empty strong{font-size:13px;color:#435049}body[data-rs-business="restaurant"] .pg-delivery-empty span{font-size:11px;color:#89938d}
@media(max-width:820px){body[data-rs-business="restaurant"] .pg-delivery-layout{grid-template-columns:1fr}body[data-rs-business="restaurant"] .pg-delivery-layout aside .pg-delivery-section{position:static}}@media(max-width:620px){body[data-rs-business="restaurant"] .pg-delivery-page{gap:12px}body[data-rs-business="restaurant"] .pg-delivery-hero{display:grid;padding:18px}body[data-rs-business="restaurant"] .pg-delivery-hero-stats{width:100%}body[data-rs-business="restaurant"] .pg-delivery-hero-stats>div{flex:1;min-width:0}body[data-rs-business="restaurant"] .pg-delivery-section{padding:15px;border-radius:16px}body[data-rs-business="restaurant"] .pg-delivery-card-head{align-items:flex-start}body[data-rs-business="restaurant"] .pg-delivery-card{padding:13px}}
/* Delivery: polished computer enrollment CTA */
body[data-rs-business="restaurant"] #print-agent-enroll{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:14px;padding:0 18px;border:0;border-radius:13px;background:#a95427;color:#fff;font:inherit;font-size:14px;font-weight:800;letter-spacing:0;box-shadow:0 7px 16px rgba(169,84,39,.18);cursor:pointer;appearance:none;-webkit-appearance:none;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}body[data-rs-business="restaurant"] #print-agent-enroll:hover{background:#954820;box-shadow:0 9px 20px rgba(169,84,39,.22)}body[data-rs-business="restaurant"] #print-agent-enroll:active{transform:translateY(1px);box-shadow:0 4px 10px rgba(169,84,39,.16)}body[data-rs-business="restaurant"] #print-agent-enroll:focus-visible{outline:3px solid rgba(169,84,39,.22);outline-offset:2px}@media(max-width:620px){body[data-rs-business="restaurant"] #print-agent-enroll{min-height:50px;border-radius:12px;font-size:15px}}
/* Daily menu compact accordion v2 */
body.restaurant-admin-v4 .pg-menu-group{overflow:hidden;padding:0!important;border:1px solid #e8e1d8!important;border-radius:14px!important;background:#fff!important}body.restaurant-admin-v4 .pg-menu-group-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 15px;cursor:pointer;list-style:none;user-select:none}body.restaurant-admin-v4 .pg-menu-group-summary::-webkit-details-marker{display:none}body.restaurant-admin-v4 .pg-menu-group-summary>span{display:grid;gap:3px;min-width:0}body.restaurant-admin-v4 .pg-menu-group-summary strong{overflow:hidden;text-overflow:ellipsis;color:#2e2e2a;font-size:.9rem;white-space:nowrap}body.restaurant-admin-v4 .pg-menu-group-summary small{color:#7b7770;font-size:.71rem}body.restaurant-admin-v4 .pg-menu-group-summary i{position:relative;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#f8f2ec}body.restaurant-admin-v4 .pg-menu-group-summary i:before,body.restaurant-admin-v4 .pg-menu-group-summary i:after{content:"";position:absolute;left:9px;top:14px;width:12px;height:2px;border-radius:2px;background:#9c542d;transition:transform .18s ease}body.restaurant-admin-v4 .pg-menu-group-summary i:after{transform:rotate(90deg)}body.restaurant-admin-v4 .pg-menu-group[open] .pg-menu-group-summary i:after{transform:rotate(0)}body.restaurant-admin-v4 .pg-menu-group[open] .pg-menu-group-summary{border-bottom:1px solid #eee8e0;background:#fdfbf8}body.restaurant-admin-v4 .pg-menu-group-body{padding:14px}body.restaurant-admin-v4 .pg-menu-summary{padding:15px 17px}body.restaurant-admin-v4 .pg-menu-sizes{padding:11px 14px}body.restaurant-admin-v4 .pg-menu-date-row{padding:12px 14px}body.restaurant-admin-v4 .pg-menu-rules{padding:10px 13px}body.restaurant-admin-v4 .pg-menu-groups-head{margin-top:2px}@media(max-width:620px){body.restaurant-admin-v4 .pg-menu-group-summary{min-height:58px;padding:11px 13px}body.restaurant-admin-v4 .pg-menu-group-body{padding:12px}body.restaurant-admin-v4 .pg-menu-summary{align-items:flex-start;padding:14px}body.restaurant-admin-v4 .pg-menu-summary p{max-width:250px}body.restaurant-admin-v4 .pg-menu-sizes{padding:11px 12px}body.restaurant-admin-v4 .pg-menu-date-row{padding:12px}body.restaurant-admin-v4 .pg-menu-groups{gap:8px}}
/* Catalog categories compact accordion */
body.restaurant-admin-v4 .pg-category-accordion{overflow:hidden;border:1px solid #e8e1d8;border-radius:14px;background:#fff}body.restaurant-admin-v4 .pg-category-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 15px;cursor:pointer;list-style:none;user-select:none}body.restaurant-admin-v4 .pg-category-accordion>summary::-webkit-details-marker{display:none}body.restaurant-admin-v4 .pg-category-accordion>summary>span{display:grid;gap:3px;min-width:0}body.restaurant-admin-v4 .pg-category-accordion>summary strong{overflow:hidden;text-overflow:ellipsis;color:#2e2e2a;font-size:.9rem;white-space:nowrap}body.restaurant-admin-v4 .pg-category-accordion>summary small{color:#7b7770;font-size:.71rem}body.restaurant-admin-v4 .pg-category-accordion>summary i{position:relative;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#f8f2ec}body.restaurant-admin-v4 .pg-category-accordion>summary i:before,body.restaurant-admin-v4 .pg-category-accordion>summary i:after{content:"";position:absolute;left:9px;top:14px;width:12px;height:2px;border-radius:2px;background:#9c542d;transition:transform .18s ease}body.restaurant-admin-v4 .pg-category-accordion>summary i:after{transform:rotate(90deg)}body.restaurant-admin-v4 .pg-category-accordion[open]>summary i:after{transform:rotate(0)}body.restaurant-admin-v4 .pg-category-accordion[open]>summary{border-bottom:1px solid #eee8e0;background:#fdfbf8}body.restaurant-admin-v4 .pg-category-body{padding:12px}body.restaurant-admin-v4 .pg-category-body .restaurant-product-grid{margin:0}body.restaurant-admin-v4 .pg-catalog-filters{position:sticky;z-index:5;top:0}body.restaurant-admin-v4 .pg-page-content{gap:12px!important}@media(max-width:620px){body.restaurant-admin-v4 .pg-category-accordion>summary{min-height:58px;padding:11px 13px}body.restaurant-admin-v4 .pg-category-body{padding:10px}body.restaurant-admin-v4 .pg-catalog-filters{position:static;padding:11px}}
/* Panel compaction: settings, CRM and secondary order data */
body.restaurant-admin-v4 .pg-compact-section,body.restaurant-admin-v4 .pg-settings-accordion{overflow:hidden;margin:0!important;padding:0!important;border:1px solid #e8e1d8!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 14px rgba(53,42,31,.025)}body.restaurant-admin-v4 .pg-compact-section>summary,body.restaurant-admin-v4 .pg-settings-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:11px 14px;cursor:pointer;list-style:none;user-select:none}body.restaurant-admin-v4 .pg-compact-section>summary::-webkit-details-marker,body.restaurant-admin-v4 .pg-settings-accordion>summary::-webkit-details-marker{display:none}body.restaurant-admin-v4 .pg-compact-section>summary>span,body.restaurant-admin-v4 .pg-settings-accordion>summary>span{display:grid;gap:2px}body.restaurant-admin-v4 .pg-compact-section>summary strong,body.restaurant-admin-v4 .pg-settings-accordion>summary strong{color:#2e2e2a;font-size:.88rem}body.restaurant-admin-v4 .pg-compact-section>summary small,body.restaurant-admin-v4 .pg-settings-accordion>summary small{color:#7b7770;font-size:.7rem}body.restaurant-admin-v4 .pg-compact-section>summary i,body.restaurant-admin-v4 .pg-settings-accordion>summary i{position:relative;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#f8f2ec}body.restaurant-admin-v4 .pg-compact-section>summary i:before,body.restaurant-admin-v4 .pg-compact-section>summary i:after,body.restaurant-admin-v4 .pg-settings-accordion>summary i:before,body.restaurant-admin-v4 .pg-settings-accordion>summary i:after{content:"";position:absolute;left:9px;top:14px;width:12px;height:2px;border-radius:2px;background:#9c542d;transition:transform .18s ease}body.restaurant-admin-v4 .pg-compact-section>summary i:after,body.restaurant-admin-v4 .pg-settings-accordion>summary i:after{transform:rotate(90deg)}body.restaurant-admin-v4 .pg-compact-section[open]>summary i:after,body.restaurant-admin-v4 .pg-settings-accordion[open]>summary i:after{transform:rotate(0)}body.restaurant-admin-v4 .pg-compact-section[open]>summary,body.restaurant-admin-v4 .pg-settings-accordion[open]>summary{border-bottom:1px solid #eee8e0;background:#fdfbf8}body.restaurant-admin-v4 .pg-settings-accordion-body,body.restaurant-admin-v4 .pg-compact-body{padding:14px}body.restaurant-admin-v4 .pg-settings-accordion-body>.pg-add-button{margin-bottom:12px}body.restaurant-admin-v4 .pg-customer-create .pg-customer-form{margin:0;border:0;border-radius:0;box-shadow:none}body.restaurant-admin-v4 .pg-push-compact .pg-push-metrics{margin:0}body.restaurant-admin-v4 .pg-push-compact .pg-push-history{margin-top:10px}@media(max-width:620px){body.restaurant-admin-v4 .pg-compact-section>summary,body.restaurant-admin-v4 .pg-settings-accordion>summary{min-height:56px;padding:10px 12px}body.restaurant-admin-v4 .pg-settings-accordion-body,body.restaurant-admin-v4 .pg-compact-body{padding:12px}}
/* Orders time range */
body.restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(145px,.55fr)) auto}body.restaurant-admin-v4 .pg-order-date-field[hidden]{display:none}@media(max-width:900px){body.restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:1fr 1fr}body.restaurant-admin-v4 .pg-orders-toolbar .pg-refresh{grid-column:1/-1}}@media(max-width:620px){body.restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:1fr 1fr}body.restaurant-admin-v4 .pg-search-field{grid-column:1/-1}body.restaurant-admin-v4 .pg-orders-toolbar .pg-refresh{grid-column:1/-1}}
/* Operational home health */
body.restaurant-admin-v4 .pg-home-health{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid #e8e4de;border-radius:13px;background:#fff;font-size:11px}body.restaurant-admin-v4 .pg-home-health>span:first-child{display:flex;align-items:center;gap:7px;font-weight:750}body.restaurant-admin-v4 .pg-home-health i{width:8px;height:8px;border-radius:50%;background:#22a464}body.restaurant-admin-v4 .pg-home-health .warn i{background:#d49428}body.restaurant-admin-v4 .pg-home-health .bad i{background:#d34f43}@media(max-width:620px){body.restaurant-admin-v4 .pg-home-health{align-items:flex-start;flex-direction:column;gap:4px}}

.tenant-choice-box{display:grid;gap:8px;margin:14px 0;padding:12px;border:1px solid var(--rs-border,#dfe3e8);border-radius:14px;background:rgba(127,127,127,.04)}
.tenant-choice-box>strong{font-size:12px}.tenant-choice-box label{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--rs-border,#dfe3e8);border-radius:10px;cursor:pointer}.tenant-choice-box input{width:auto;margin:0}.tenant-choice-box span{display:grid;gap:2px}.tenant-choice-box b{font-size:13px}.tenant-choice-box small{font-size:11px;opacity:.65}

/* patos.food central restaurant login */
.patos-auth-intro,.patos-auth-mobile-brand{display:none}
body[data-rs-portal="patos-food"] .auth-view{
  min-height:100vh;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  place-items:stretch;
  padding:0;
  background:#f8faf5;
  color:#1f2937;
}
body[data-rs-portal="patos-food"] .patos-auth-intro{
  display:flex;position:relative;overflow:hidden;min-height:100vh;padding:54px 58px;
  flex-direction:column;justify-content:space-between;
  background:
    radial-gradient(circle at 80% 15%,rgba(163,230,53,.22),transparent 26%),
    linear-gradient(145deg,#121812 0%,#192119 55%,#111711 100%);
  color:#fff;
}
body[data-rs-portal="patos-food"] .patos-auth-intro:after{
  content:"";position:absolute;width:460px;height:460px;border-radius:50%;
  right:-180px;bottom:-190px;border:1px solid rgba(163,230,53,.16);
  box-shadow:0 0 0 85px rgba(163,230,53,.025),0 0 0 170px rgba(163,230,53,.018);
}
body[data-rs-portal="patos-food"] .patos-auth-wordmark,
body[data-rs-portal="patos-food"] .patos-auth-mobile-brand{
  font-weight:900;letter-spacing:-.055em;font-size:31px;line-height:1;
}
body[data-rs-portal="patos-food"] .patos-auth-wordmark span,
body[data-rs-portal="patos-food"] .patos-auth-mobile-brand span{color:#8fdc1d}
body[data-rs-portal="patos-food"] .patos-auth-copy{position:relative;z-index:1;max-width:560px}
body[data-rs-portal="patos-food"] .patos-auth-copy>span{
  display:inline-block;margin-bottom:16px;color:#a3e635;font-size:11px;font-weight:900;
  letter-spacing:.13em;
}
body[data-rs-portal="patos-food"] .patos-auth-copy h2{
  margin:0 0 18px;font-size:clamp(42px,5.2vw,72px);line-height:.98;letter-spacing:-.06em;
}
body[data-rs-portal="patos-food"] .patos-auth-copy p{
  max-width:520px;margin:0;color:#b9c3b7;font-size:17px;line-height:1.65;
}
body[data-rs-portal="patos-food"] .patos-auth-proof{
  display:flex;position:relative;z-index:1;align-items:center;gap:10px;color:#bdc7bb;
  font-size:12px;font-weight:700;
}
body[data-rs-portal="patos-food"] .patos-auth-proof i{
  width:8px;height:8px;border-radius:50%;background:#a3e635;
  box-shadow:0 0 0 5px rgba(163,230,53,.1);
}
body[data-rs-portal="patos-food"] .auth-card{
  align-self:center;justify-self:center;width:min(470px,calc(100% - 56px));
  padding:44px 42px;background:#fff;border:1px solid #e7ebdd;border-radius:28px;
  box-shadow:0 24px 70px rgba(31,41,55,.09);
}
body[data-rs-portal="patos-food"] .auth-card .login-brand-logo{display:none!important}
body[data-rs-portal="patos-food"] .auth-card .eyebrow{
  color:#6f7d68;font-size:10px;letter-spacing:.13em;font-weight:900;
}
body[data-rs-portal="patos-food"] .auth-card h1{
  color:#1f2937;margin:9px 0 10px;font-size:34px;letter-spacing:-.045em;
}
body[data-rs-portal="patos-food"] .auth-card .muted{
  color:#667085;font-size:14px;line-height:1.6;
}
body[data-rs-portal="patos-food"] .auth-card form{margin-top:28px;gap:16px}
body[data-rs-portal="patos-food"] .auth-card label{
  color:#4b5563;font-size:12px;font-weight:800;gap:8px;
}
body[data-rs-portal="patos-food"] .auth-card input{
  min-height:50px;padding:0 15px;background:#fbfcf9;border:1px solid #dfe5d8;
  color:#1f2937;border-radius:13px;
}
body[data-rs-portal="patos-food"] .auth-card input:focus{
  border-color:#8fdc1d;box-shadow:0 0 0 4px rgba(163,230,53,.16);
}
body[data-rs-portal="patos-food"] .auth-card .primary{
  min-height:52px;margin-top:2px;border-radius:13px;background:#161d16;color:#fff;
  font-size:14px;box-shadow:0 9px 22px rgba(22,29,22,.12);
}
body[data-rs-portal="patos-food"] .auth-card .primary:hover{background:#202920}
body[data-rs-portal="patos-food"] .auth-card .error{
  color:#9f2d2d;background:#fff1f1;border-color:#ffd4d4;
}
body[data-rs-portal="patos-food"] .tenant-choice-box{
  border-color:#e1e7db;background:#f9fbf6;
}
body[data-rs-portal="patos-food"] .tenant-choice-box label{
  border-color:#e1e7db;background:#fff;
}
@media(max-width:900px){
  body[data-rs-portal="patos-food"] .auth-view{display:grid;grid-template-columns:1fr;padding:20px;background:#f8faf5}
  body[data-rs-portal="patos-food"] .patos-auth-intro{display:none}
  body[data-rs-portal="patos-food"] .auth-card{width:min(470px,100%);padding:34px 26px;border-radius:24px}
  body[data-rs-portal="patos-food"] .patos-auth-mobile-brand{display:block;margin-bottom:32px;color:#1f2937}
  body[data-rs-portal="patos-food"] .auth-card h1{font-size:30px}
}

/* Restaurant admin v5 — navegação agrupada e operação rápida. */
body.restaurant-admin-v4 .rs-panel-shell{grid-template-columns:268px minmax(0,1fr)}
body.restaurant-admin-v4 .rs-sidebar{padding:18px 12px 14px}
body.restaurant-admin-v4 .rs-sidebar-brand{padding:4px 8px 17px;margin-bottom:8px;border-bottom:1px solid #f0eae2}
body.restaurant-admin-v4 .rs-brand-copy strong{font-size:.9rem;color:#2e2e2a}
body.restaurant-admin-v4 .rs-brand-copy small{font-size:.66rem;color:#8a847b}
body.restaurant-admin-v4 .rs-sidebar-nav{display:block;overflow-y:auto;padding:0 2px 8px}
body.restaurant-admin-v4 .pg-nav-group{padding:8px 0 11px}
body.restaurant-admin-v4 .pg-nav-group+ .pg-nav-group{border-top:1px solid #f1ece5}
body.restaurant-admin-v4 .pg-nav-group>p{margin:0 9px 5px;color:#aaa39a;font-size:.58rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button{position:relative;grid-template-columns:22px minmax(0,1fr) auto;min-height:40px;padding:9px 10px;border-radius:10px;font-size:.76rem}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button.active{background:#f8e9df;color:#9d451a;box-shadow:none}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button.active:before{content:"";position:absolute;left:-4px;top:9px;bottom:9px;width:3px;border-radius:99px;background:#c85f24}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-icon{color:#8b8279}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button.active .rs-nav-icon{color:#b34e1c}
body.restaurant-admin-v4 .pg-nav-badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#c85f24;color:#fff;font-size:.6rem;font-style:normal;font-weight:850}

body.restaurant-admin-v4 .rs-topbar{min-height:72px;padding:13px 28px}
body.restaurant-admin-v4 .rs-top-actions{gap:8px}
body.restaurant-admin-v4 .pg-command-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 11px;border:1px solid #e7dfd5;border-radius:10px;background:#fff;color:#5a554f;font:inherit;font-size:.72rem;font-weight:750;cursor:pointer}
body.restaurant-admin-v4 .pg-command-button:hover{background:#fbf8f3;border-color:#ddd2c5}
body.restaurant-admin-v4 .pg-command-button .rs-nav-icon,body.restaurant-admin-v4 .pg-command-button .rs-nav-icon svg{width:17px;height:17px}
body.restaurant-admin-v4 .pg-command-button kbd{padding:3px 6px;border:1px solid #e9e2d7;border-radius:6px;background:#f7f3ed;color:#8c847b;font:inherit;font-size:.6rem}
body.pg-command-open{overflow:hidden}
body.restaurant-admin-v4 .pg-command-backdrop{position:fixed;inset:0;z-index:5000;display:flex;align-items:flex-start;justify-content:center;padding:11vh 18px 24px;background:rgba(37,32,27,.34);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
body.restaurant-admin-v4 .pg-command{width:min(570px,100%);overflow:hidden;border:1px solid #e2d8cc;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(43,35,27,.22)}
body.restaurant-admin-v4 .pg-command-search{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:9px;padding:13px 15px;border-bottom:1px solid #eee7de}
body.restaurant-admin-v4 .pg-command-search .rs-nav-icon{color:#9a4c25}
body.restaurant-admin-v4 .pg-command-search input{min-height:42px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#2e2e2a!important;font-size:.96rem!important;box-shadow:none!important;outline:0!important}
body.restaurant-admin-v4 .pg-command-results{display:grid;gap:3px;max-height:min(52vh,430px);overflow:auto;padding:8px}
body.restaurant-admin-v4 .pg-command-results button{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-height:56px;padding:8px 10px;border:0;border-radius:11px;background:#fff;color:#37332f;text-align:left;cursor:pointer}
body.restaurant-admin-v4 .pg-command-results button:hover{background:#faf4ee}

body.restaurant-admin-v4 .pg-command-results button[hidden]{display:none}
body.restaurant-admin-v4 .pg-command-results button>.rs-nav-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f8e9df;color:#a94b1b}
body.restaurant-admin-v4 .pg-command-results button>span:last-child{display:grid;gap:2px}
body.restaurant-admin-v4 .pg-command-results strong{font-size:.78rem}
body.restaurant-admin-v4 .pg-command-results small{color:#817a72;font-size:.65rem}
body.restaurant-admin-v4 .pg-command-foot{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:9px 13px;border-top:1px solid #eee7de;color:#8d857c;font-size:.62rem}
body.restaurant-admin-v4 .pg-command-foot kbd{padding:2px 5px;border:1px solid #e4dcd2;border-radius:5px;background:#f8f5f0;font:inherit}
body.restaurant-admin-v4 .pg-home-shortcuts{display:grid;gap:9px}
body.restaurant-admin-v4 .pg-home-shortcuts-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px}
body.restaurant-admin-v4 .pg-home-shortcuts-head h2{margin:0;font-size:.98rem}
body.restaurant-admin-v4 .pg-home-shortcuts-head span{color:#817b73;font-size:.7rem}
body.restaurant-admin-v4 .pg-home-shortcuts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.restaurant-admin-v4 .pg-home-shortcuts-grid button{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;min-height:70px;padding:11px;border:1px solid #e9e2d7;border-radius:13px;background:#fff;color:#393631;text-align:left;cursor:pointer}
body.restaurant-admin-v4 .pg-home-shortcuts-grid button:hover{border-color:#ddcbbb;background:#fffcf8}
body.restaurant-admin-v4 .pg-shortcut-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f8e9df;color:#aa4c1d}
body.restaurant-admin-v4 .pg-shortcut-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.restaurant-admin-v4 .pg-home-shortcuts-grid button>span:last-child{display:grid;gap:2px;min-width:0}
body.restaurant-admin-v4 .pg-home-shortcuts-grid strong{font-size:.76rem}
body.restaurant-admin-v4 .pg-home-shortcuts-grid small{overflow:hidden;color:#817b73;font-size:.63rem;white-space:nowrap;text-overflow:ellipsis}

@media(min-width:761px) and (max-width:1040px){
  body.restaurant-admin-v4 .rs-panel-shell{grid-template-columns:82px minmax(0,1fr)}
  body.restaurant-admin-v4 .rs-sidebar{padding:14px 8px}
  body.restaurant-admin-v4 .rs-sidebar-brand{justify-content:center;padding:4px 0 13px}
  body.restaurant-admin-v4 .rs-brand-copy,body.restaurant-admin-v4 .rs-sidebar-account strong,body.restaurant-admin-v4 .rs-sidebar-account span,body.restaurant-admin-v4 .rs-sidebar-logout,body.restaurant-admin-v4 .pg-nav-group>p{display:none}
  body.restaurant-admin-v4 .rs-sidebar-account{padding:9px 0 0}
  body.restaurant-admin-v4 .pg-nav-group{padding:6px 0}
  body.restaurant-admin-v4 .pg-nav-group .rs-nav-button{display:grid;grid-template-columns:1fr;justify-items:center;min-height:44px;padding:9px 4px}
  body.restaurant-admin-v4 .pg-nav-group .rs-nav-button>span:last-of-type{display:none}
  body.restaurant-admin-v4 .pg-nav-group .rs-nav-button.active:before{left:-2px;top:8px;bottom:8px}
  body.restaurant-admin-v4 .pg-nav-badge{position:absolute;right:4px;top:3px;min-width:17px;height:17px;padding:0 4px;font-size:.52rem}
  body.restaurant-admin-v4 .rs-content{padding-left:20px;padding-right:20px}
  body.restaurant-admin-v4 .pg-home-shortcuts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  body.restaurant-admin-v4 .pg-command-button{width:40px;padding:0;justify-content:center}
  body.restaurant-admin-v4 .pg-command-button>span:nth-child(2),body.restaurant-admin-v4 .pg-command-button kbd{display:none}
  body.restaurant-admin-v4 .pg-command-backdrop{align-items:flex-start;padding:calc(env(safe-area-inset-top) + 10px) 8px 16px}
  body.restaurant-admin-v4 .pg-command{border-radius:16px}
  body.restaurant-admin-v4 .pg-home-shortcuts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.restaurant-admin-v4 .pg-home-shortcuts-head span{display:none}
}
@media(max-width:390px){
  body.restaurant-admin-v4 .pg-home-shortcuts-grid{grid-template-columns:1fr 1fr}
  body.restaurant-admin-v4 .pg-home-shortcuts-grid button{grid-template-columns:34px minmax(0,1fr);min-height:64px;padding:9px}
  body.restaurant-admin-v4 .pg-shortcut-icon{width:34px;height:34px}
}
/* Restaurant admin v6 — shell inspirado em painéis operacionais modernos. */
body.restaurant-admin-v4 .pg-platform-brand{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:2px 6px 10px}
body.restaurant-admin-v4 .pg-platform-home{display:flex;align-items:center;gap:8px;min-width:0;color:#27241f;text-decoration:none;font-weight:850;letter-spacing:-.035em}
body.restaurant-admin-v4 .pg-platform-wordmark{font-size:1.02rem;white-space:nowrap}
body.restaurant-admin-v4 .pg-platform-wordmark b{color:#c85f24}
body.restaurant-admin-v4 .pg-platform-mark{display:none;place-items:center;width:30px;height:30px;border-radius:9px;background:#c85f24;color:#fff;font-size:.86rem;font-weight:900}
body.restaurant-admin-v4 .pg-sidebar-toggle{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:1px solid #e9e2d7;border-radius:9px;background:#fff;color:#746d65;font-size:1.25rem;line-height:1;cursor:pointer}
body.restaurant-admin-v4 .pg-sidebar-toggle:hover{background:#faf6f1;color:#9d451a}
body.restaurant-admin-v4 .rs-sidebar-brand{margin-bottom:7px;padding:10px;border:1px solid #eee7de;border-radius:13px;background:#fbfaf7}
body.restaurant-admin-v4 .rs-sidebar-brand .rs-brand-mark{flex:0 0 auto}
body.restaurant-admin-v4 .pg-storefront-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 11px;border:1px solid #e7dfd5;border-radius:10px;background:#fff;color:#5a554f;text-decoration:none;font-size:.72rem;font-weight:750}
body.restaurant-admin-v4 .pg-storefront-link:hover{background:#fbf8f3;border-color:#ddd2c5;color:#9d451a}
body.restaurant-admin-v4 .pg-storefront-link b{font-size:.86rem;font-weight:800}
body.restaurant-admin-v4 .pg-command-group{display:grid;gap:3px;padding:4px 0}
body.restaurant-admin-v4 .pg-command-group+ .pg-command-group{margin-top:4px;padding-top:8px;border-top:1px solid #f0ebe4}
body.restaurant-admin-v4 .pg-command-group>p{margin:0;padding:4px 10px 2px;color:#9d958b;font-size:.59rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
body.restaurant-admin-v4 .pg-command-group[hidden]{display:none}
body.restaurant-admin-v4 .pg-more-groups{display:grid;gap:12px}
body.restaurant-admin-v4 .pg-more-group{display:grid;gap:6px}
body.restaurant-admin-v4 .pg-more-group>p{margin:0;padding:0 2px;color:#999087;font-size:.6rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
body.restaurant-admin-v4 .pg-more-storefront{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;margin-bottom:12px;padding:10px 12px;border:1px solid #ecd8c7;border-radius:12px;background:#fff7f1;color:#97451d;text-decoration:none;font-size:.78rem;font-weight:800}
body.restaurant-admin-v4 .pg-more-storefront b{font-size:.92rem}
body.restaurant-admin-v4 .pg-more-logout{margin-top:14px}
body.restaurant-admin-v4 .pg-platform-home:focus-visible,
body.restaurant-admin-v4 .pg-sidebar-toggle:focus-visible,
body.restaurant-admin-v4 .pg-storefront-link:focus-visible,
body.restaurant-admin-v4 .pg-more-storefront:focus-visible{outline:3px solid rgba(200,95,36,.18);outline-offset:2px}
@media(min-width:1041px){
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-panel-shell{grid-template-columns:82px minmax(0,1fr)}
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-sidebar{padding:14px 8px}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-platform-wordmark{display:none}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-platform-mark{display:grid}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-platform-brand{padding-left:0;padding-right:0}
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-sidebar-brand{justify-content:center;padding:9px 4px}
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-brand-copy,
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-sidebar-account strong,
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-sidebar-account span,
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-sidebar-logout,
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-nav-group>p{display:none}
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-sidebar-account{padding:9px 0 0}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-nav-group{padding:6px 0}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-nav-group .rs-nav-button{display:grid;grid-template-columns:1fr;justify-items:center;min-height:44px;padding:9px 4px}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-nav-group .rs-nav-button>span:last-of-type{display:none}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-nav-group .rs-nav-button.active:before{left:-2px;top:8px;bottom:8px}
  body.restaurant-admin-v4.pg-sidebar-collapsed .pg-nav-badge{position:absolute;right:4px;top:3px;min-width:17px;height:17px;padding:0 4px;font-size:.52rem}
}
@media(min-width:761px) and (max-width:1040px){
  body.restaurant-admin-v4 .pg-platform-wordmark,
  body.restaurant-admin-v4 .pg-sidebar-toggle{display:none}
  body.restaurant-admin-v4 .pg-platform-mark{display:grid}
  body.restaurant-admin-v4 .pg-platform-brand{justify-content:center;padding-left:0;padding-right:0}
  body.restaurant-admin-v4 .rs-sidebar-brand{border-color:transparent;background:transparent}
}
@media(max-width:760px){
  body.restaurant-admin-v4 .rs-top-actions #status,
  body.restaurant-admin-v4 .rs-top-actions #logout{display:none}
  body.restaurant-admin-v4 .pg-storefront-link{width:40px;padding:0}
  body.restaurant-admin-v4 .pg-storefront-link>span{display:none}
  body.restaurant-admin-v4 .pg-more-sheet{padding-left:14px;padding-right:14px}
  body.restaurant-admin-v4 .pg-more-group>p{padding-left:3px}
}

/* Restaurant admin v7 — patos.food visual refresh */
body.restaurant-admin-v4{
  --rs-primary:#A3E635;
  --rs-primary-contrast:#121812;
  --rs-app-bg:#F5F7F2;
  --rs-sidebar-bg:#111410;
  --rs-sidebar-text:#F7FAF5;
  --rs-sidebar-muted:#8D9888;
  --rs-panel:#FFFFFF;
  --rs-panel-2:#F9FBF7;
  --rs-line:#E4E9E0;
  --rs-text:#171A16;
  --rs-muted:#6F786B;
  --rs-soft:#EEF5E5;
  --rs-shadow:0 12px 32px rgba(28,35,25,.065);
  background:#F5F7F2;
  color:#171A16;
}
body.restaurant-admin-v4 .rs-panel-shell{grid-template-columns:272px minmax(0,1fr);background:#F5F7F2}
body.restaurant-admin-v4 .rs-sidebar{background:#111410!important;border-right:1px solid #20261E!important;color:#F7FAF5!important;padding:18px 14px 16px!important}
body.restaurant-admin-v4 .pg-platform-brand{min-height:54px;padding:2px 5px 13px!important;border-bottom:1px solid #242B22}
body.restaurant-admin-v4 .pg-platform-home{color:#fff!important;gap:10px}
body.restaurant-admin-v4 .pg-platform-wordmark{font-size:1.08rem!important;letter-spacing:-.045em}
body.restaurant-admin-v4 .pg-platform-wordmark b{color:#A3E635!important}
body.restaurant-admin-v4 .pg-platform-mark{background:#A3E635!important;color:#111410!important}
body.restaurant-admin-v4 .pg-sidebar-toggle{border-color:#2A3227!important;background:#1A1F18!important;color:#AEB8AA!important}
body.restaurant-admin-v4 .pg-sidebar-toggle:hover{background:#252C22!important;color:#fff!important}
body.restaurant-admin-v4 .rs-sidebar-brand{margin:12px 0 8px!important;padding:12px!important;border:1px solid #272E25!important;border-radius:14px!important;background:#171B15!important}
body.restaurant-admin-v4 .rs-sidebar .rs-brand-mark{background:#252D22!important;color:#A3E635!important;border-radius:12px!important}
body.restaurant-admin-v4 .rs-brand-copy strong{color:#fff!important;font-size:.9rem!important}
body.restaurant-admin-v4 .rs-brand-copy small{color:#7F897B!important}
body.restaurant-admin-v4 .rs-sidebar-nav{padding:3px 0 10px!important}
body.restaurant-admin-v4 .pg-nav-group{padding:9px 0 12px!important}
body.restaurant-admin-v4 .pg-nav-group+ .pg-nav-group{border-top:1px solid #20261E!important}
body.restaurant-admin-v4 .pg-nav-group>p{margin:0 10px 6px!important;color:#697363!important;font-size:.57rem!important;letter-spacing:.12em!important}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button{min-height:42px!important;padding:10px 11px!important;border-radius:11px!important;color:#9BA596!important;background:transparent!important;font-size:.77rem!important}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button:hover{background:#1B2119!important;color:#fff!important}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button.active{background:#242B21!important;color:#fff!important;box-shadow:inset 0 0 0 1px #2D3629!important}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button.active:before{left:-3px!important;top:10px!important;bottom:10px!important;width:3px!important;background:#A3E635!important}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-icon{color:#7F8A7A!important}
body.restaurant-admin-v4 .pg-nav-group .rs-nav-button.active .rs-nav-icon{color:#A3E635!important}
body.restaurant-admin-v4 .pg-nav-badge{background:#A3E635!important;color:#111410!important}
body.restaurant-admin-v4 .rs-sidebar-account{margin-top:8px;padding:14px 10px 0!important;border-top:1px solid #242B22!important}
body.restaurant-admin-v4 .rs-sidebar-account strong{color:#F1F5EF!important}
body.restaurant-admin-v4 .rs-sidebar-account span{color:#7F897B!important}
body.restaurant-admin-v4 .rs-sidebar-logout{color:#A5AEA1!important}
body.restaurant-admin-v4 .rs-sidebar-logout:hover{color:#fff!important;background:#1B2119!important}

body.restaurant-admin-v4 .rs-workspace{background:#F5F7F2!important}
body.restaurant-admin-v4 .rs-topbar{min-height:76px!important;padding:14px 30px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #E2E7DE!important;box-shadow:0 1px 0 rgba(28,35,25,.02);backdrop-filter:blur(14px)}
body.restaurant-admin-v4 .rs-page-copy .eyebrow{color:#75806F!important;font-size:.58rem!important;letter-spacing:.13em!important}
body.restaurant-admin-v4 .rs-page-copy h1{color:#171A16!important;font-size:1.12rem!important;font-weight:820!important}
body.restaurant-admin-v4 .rs-page-copy p{color:#7A8376!important;font-size:.72rem!important}
body.restaurant-admin-v4 .rs-top-actions{gap:9px!important}
body.restaurant-admin-v4 .rs-online{min-height:34px;padding:0 10px;border:1px solid #DAE8D3;border-radius:999px;background:#F0F8EC;color:#2F7A45!important;font-size:.68rem;font-weight:800}
body.restaurant-admin-v4 .rs-online:before{content:"";width:7px;height:7px;border-radius:50%;background:#38A75A;box-shadow:0 0 0 4px rgba(56,167,90,.11)}
body.restaurant-admin-v4 .pg-command-button,
body.restaurant-admin-v4 .pg-storefront-link{min-height:40px!important;border:1px solid #DEE4DA!important;border-radius:11px!important;background:#fff!important;color:#525B4F!important;box-shadow:0 2px 5px rgba(24,31,22,.025)}
body.restaurant-admin-v4 .pg-command-button:hover,
body.restaurant-admin-v4 .pg-storefront-link:hover{border-color:#C9D4C4!important;background:#F8FAF6!important;color:#23301E!important}
body.restaurant-admin-v4 .pg-command-button kbd{border-color:#E1E6DD!important;background:#F5F7F2!important;color:#818A7D!important}
body.restaurant-admin-v4 .rs-content{width:min(1480px,100%)!important;padding:30px 32px 52px!important}

body.restaurant-admin-v4 .pg-admin-section{gap:22px!important}
body.restaurant-admin-v4 .pg-page-heading{padding:2px 1px 0}
body.restaurant-admin-v4 .pg-page-heading h1{color:#171A16!important;font-size:clamp(28px,3vw,38px)!important;font-weight:850!important;letter-spacing:-.05em!important}
body.restaurant-admin-v4 .pg-page-content{gap:16px!important}
body.restaurant-admin-v4 .pg-admin-section .panel,
body.restaurant-admin-v4 .pg-surface{border:1px solid #E2E7DE!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 30px rgba(27,34,25,.045)!important;color:#171A16!important}
body.restaurant-admin-v4 .pg-admin-section h2,
body.restaurant-admin-v4 .pg-admin-section h3{color:#171A16!important}
body.restaurant-admin-v4 .pg-admin-section p,
body.restaurant-admin-v4 .pg-admin-section .muted{color:#70796D!important}
body.restaurant-admin-v4 .pg-admin-section input:not([type=checkbox]),
body.restaurant-admin-v4 .pg-admin-section select,
body.restaurant-admin-v4 .pg-admin-section textarea{min-height:46px!important;padding:10px 13px!important;border:1px solid #DDE3D9!important;border-radius:12px!important;background:#FBFCFA!important;color:#171A16!important}
body.restaurant-admin-v4 .pg-admin-section input:focus,
body.restaurant-admin-v4 .pg-admin-section select:focus,
body.restaurant-admin-v4 .pg-admin-section textarea:focus{outline:4px solid rgba(163,230,53,.15)!important;border-color:#91CF27!important;background:#fff!important}
body.restaurant-admin-v4 .pg-admin-section .mini{min-height:40px!important;border-color:#DDE3D9!important;border-radius:11px!important;background:#fff!important;color:#3E463B!important}
body.restaurant-admin-v4 .pg-admin-section .primary,
body.restaurant-admin-v4 .pg-action-primary,
body.restaurant-admin-v4 .pg-primary-link,
body.restaurant-admin-v4 .pg-publish{border-color:#171D16!important;background:#171D16!important;color:#fff!important;border-radius:11px!important;box-shadow:0 6px 14px rgba(23,29,22,.1)}
body.restaurant-admin-v4 .pg-admin-section .primary:hover,
body.restaurant-admin-v4 .pg-action-primary:hover,
body.restaurant-admin-v4 .pg-primary-link:hover,
body.restaurant-admin-v4 .pg-publish:hover{background:#263023!important;border-color:#263023!important}

body.restaurant-admin-v4 .pg-home-welcome{position:relative;overflow:hidden;min-height:150px;padding:25px 26px!important;border:1px solid #1F281D!important;border-radius:20px!important;background:linear-gradient(135deg,#111610 0%,#1A2118 62%,#222B1F 100%)!important;box-shadow:0 18px 42px rgba(20,27,18,.12)}
body.restaurant-admin-v4 .pg-home-welcome:after{content:"";position:absolute;width:260px;height:260px;right:-85px;bottom:-150px;border-radius:50%;border:1px solid rgba(163,230,53,.2);box-shadow:0 0 0 55px rgba(163,230,53,.025),0 0 0 110px rgba(163,230,53,.012)}
body.restaurant-admin-v4 .pg-home-welcome>div{position:relative;z-index:1}
body.restaurant-admin-v4 .pg-home-welcome>div>span{color:#A3E635!important;font-size:.62rem!important;letter-spacing:.12em!important}
body.restaurant-admin-v4 .pg-home-welcome h2{color:#fff!important;font-size:clamp(24px,3vw,34px)!important;font-weight:850!important;letter-spacing:-.045em!important}
body.restaurant-admin-v4 .pg-home-welcome p{color:#A8B2A4!important;font-size:.84rem!important}
body.restaurant-admin-v4 .pg-home-welcome .pg-primary-link{position:relative;z-index:1;background:#A3E635!important;border-color:#A3E635!important;color:#111410!important;font-weight:850!important;box-shadow:none!important}
body.restaurant-admin-v4 .pg-home-kpis{gap:12px!important}
body.restaurant-admin-v4 .pg-home-kpis button{position:relative;overflow:hidden;min-height:126px!important;padding:17px 18px!important;border:1px solid #E0E6DC!important;border-radius:17px!important;background:#fff!important;color:#171A16!important;box-shadow:0 8px 24px rgba(27,34,25,.04)}
body.restaurant-admin-v4 .pg-home-kpis button:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#A3E635}
body.restaurant-admin-v4 .pg-home-kpis button:hover{transform:translateY(-1px);border-color:#D3DDCE!important;box-shadow:0 12px 28px rgba(27,34,25,.07)}
body.restaurant-admin-v4 .pg-home-kpis small{color:#7B8477!important;font-size:.7rem!important;font-weight:750}
body.restaurant-admin-v4 .pg-home-kpis strong{color:#171A16!important;font-size:clamp(25px,2vw,32px)!important;font-weight:860!important}
body.restaurant-admin-v4 .pg-home-kpis span{color:#7A8376!important}
body.restaurant-admin-v4 .pg-home-health{padding:11px 14px!important;border-color:#E0E6DC!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 18px rgba(27,34,25,.025)}
body.restaurant-admin-v4 .pg-home-health i{background:#39A75B!important;box-shadow:0 0 0 4px rgba(57,167,91,.1)}
body.restaurant-admin-v4 .pg-home-shortcuts{gap:11px!important}
body.restaurant-admin-v4 .pg-home-shortcuts-head h2{font-size:1rem!important;color:#171A16!important}
body.restaurant-admin-v4 .pg-home-shortcuts-grid{gap:11px!important}
body.restaurant-admin-v4 .pg-home-shortcuts-grid button{min-height:78px!important;padding:12px!important;border-color:#E0E6DC!important;border-radius:15px!important;background:#fff!important;color:#222820!important;box-shadow:0 5px 18px rgba(27,34,25,.025)}
body.restaurant-admin-v4 .pg-home-shortcuts-grid button:hover{border-color:#CBD8C5!important;background:#FAFCF8!important;transform:translateY(-1px)}
body.restaurant-admin-v4 .pg-shortcut-icon{width:42px!important;height:42px!important;border-radius:12px!important;background:#EFF8E7!important;color:#4E7A2A!important}
body.restaurant-admin-v4 .pg-home-shortcuts-grid strong{font-size:.78rem!important}
body.restaurant-admin-v4 .pg-home-shortcuts-grid small{color:#7C8578!important}
body.restaurant-admin-v4 .pg-surface{padding:20px!important}
body.restaurant-admin-v4 .pg-surface-head small{color:#718169!important}
body.restaurant-admin-v4 .pg-surface-head button,
body.restaurant-admin-v4 .pg-window-card button,
body.restaurant-admin-v4 .pg-secondary-link{border-color:#DEE5DA!important;border-radius:10px!important;color:#52644A!important;background:#FBFCFA!important}
body.restaurant-admin-v4 .pg-recent-order{padding:13px 14px!important;border-color:#E7EBE4!important;border-radius:13px!important;background:#FCFDFC!important}
body.restaurant-admin-v4 .pg-window-dot{background:#A3E635!important;box-shadow:0 0 0 4px rgba(163,230,53,.12)}

body.restaurant-admin-v4 .pg-orders-overview{gap:10px!important}
body.restaurant-admin-v4 .pg-order-count{min-height:58px!important;padding:13px 14px!important;border-color:#E0E6DC!important;border-radius:13px!important;background:#fff!important;color:#4D574A!important}
body.restaurant-admin-v4 .pg-order-count.active{border-color:#BEDC91!important;background:#F4FAED!important;color:#365922!important;box-shadow:inset 0 0 0 1px rgba(163,230,53,.16)}
body.restaurant-admin-v4 .pg-orders-toolbar{padding:16px!important;border-color:#E0E6DC!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(27,34,25,.03)}
body.restaurant-admin-v4 .pg-refresh{min-height:46px!important;border-color:#DDE3D9!important;border-radius:11px!important;background:#F8FAF6!important;color:#455042!important}
body.restaurant-admin-v4 .pg-orders-list{gap:12px!important}
body.restaurant-admin-v4 .pg-order-card{position:relative;overflow:hidden;padding:16px 17px!important;border-color:#E1E7DD!important;border-radius:16px!important;background:#fff!important;box-shadow:0 9px 26px rgba(27,34,25,.045)!important}
body.restaurant-admin-v4 .pg-order-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#CFD8CA}
body.restaurant-admin-v4 .pg-order-card:has(.status-received):before,
body.restaurant-admin-v4 .pg-order-card:has(.status-confirmed):before{background:#F0B643}
body.restaurant-admin-v4 .pg-order-card:has(.status-preparing):before{background:#5E89D9}
body.restaurant-admin-v4 .pg-order-card:has(.status-ready):before{background:#42A765}
body.restaurant-admin-v4 .pg-order-card:has(.status-out_for_delivery):before{background:#3FA6A0}
body.restaurant-admin-v4 .pg-order-card:has(.status-completed):before{background:#A3E635}
body.restaurant-admin-v4 .pg-order-card:has(.status-cancelled):before{background:#D85A50}
body.restaurant-admin-v4 .pg-order-customer strong{font-size:1rem!important;color:#171A16!important}
body.restaurant-admin-v4 .pg-order-card-foot>strong{font-size:1.12rem!important;color:#171A16!important}
body.restaurant-admin-v4 .pg-status-badge{min-height:27px!important;padding:4px 9px!important;border-radius:999px!important;font-size:.64rem!important}
body.restaurant-admin-v4 .pg-action-secondary{border-color:#DDE3D9!important;background:#fff!important;color:#465043!important}

body.restaurant-admin-v4 .pg-catalog-intro,
body.restaurant-admin-v4 .pg-catalog-filters,
body.restaurant-admin-v4 .pg-catalog-accordion,
body.restaurant-admin-v4 .pg-category-accordion,
body.restaurant-admin-v4 .pg-compact-section,
body.restaurant-admin-v4 .pg-settings-accordion{border-color:#E0E6DC!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 23px rgba(27,34,25,.035)!important}
body.restaurant-admin-v4 .pg-catalog-intro{padding:18px 19px!important}
body.restaurant-admin-v4 .restaurant-product-grid{gap:12px!important}
body.restaurant-admin-v4 .restaurant-product-card{padding:12px!important;border-color:#E2E7DE!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 22px rgba(27,34,25,.035)!important}
body.restaurant-admin-v4 .restaurant-product-card:hover{border-color:#CFD8CA!important;box-shadow:0 12px 28px rgba(27,34,25,.065)!important}
body.restaurant-admin-v4 .restaurant-product-media{border-radius:12px!important;background:#F0F3ED!important}
body.restaurant-admin-v4 .restaurant-catalog-head>div>span{color:#65775D!important}
body.restaurant-admin-v4 .pg-catalog-accordion>summary>b{color:#527246!important}
body.restaurant-admin-v4 .pg-category-accordion>summary i,
body.restaurant-admin-v4 .pg-compact-section>summary i,
body.restaurant-admin-v4 .pg-settings-accordion>summary i{background:#EFF6E9!important}
body.restaurant-admin-v4 .pg-category-accordion>summary i:before,
body.restaurant-admin-v4 .pg-category-accordion>summary i:after,
body.restaurant-admin-v4 .pg-compact-section>summary i:before,
body.restaurant-admin-v4 .pg-compact-section>summary i:after,
body.restaurant-admin-v4 .pg-settings-accordion>summary i:before,
body.restaurant-admin-v4 .pg-settings-accordion>summary i:after{background:#527246!important}
body.restaurant-admin-v4 .pg-category-accordion[open]>summary,
body.restaurant-admin-v4 .pg-compact-section[open]>summary,
body.restaurant-admin-v4 .pg-settings-accordion[open]>summary{background:#FAFCF8!important;border-bottom-color:#E8ECE5!important}

body.restaurant-admin-v4 .pg-command-backdrop{background:rgba(13,17,12,.48)!important;backdrop-filter:blur(7px)!important}
body.restaurant-admin-v4 .pg-command{border-color:#DCE3D8!important;border-radius:20px!important;box-shadow:0 30px 90px rgba(20,27,18,.27)!important}
body.restaurant-admin-v4 .pg-command-search{border-bottom-color:#E4E9E0!important;padding:14px 16px!important}
body.restaurant-admin-v4 .pg-command-search .rs-nav-icon{color:#5C7E4C!important}
body.restaurant-admin-v4 .pg-command-results button:hover{background:#F3F8EF!important}
body.restaurant-admin-v4 .pg-command-results button>.rs-nav-icon{background:#EFF7E8!important;color:#4E772F!important}
body.restaurant-admin-v4 .pg-command-group+ .pg-command-group{border-top-color:#EDF0EA!important}

body.restaurant-admin-v4 .rs-mobile-nav{background:rgba(255,255,255,.97)!important;border-top:1px solid #DFE5DB!important;box-shadow:0 -10px 28px rgba(24,31,22,.08)!important;backdrop-filter:blur(18px)!important}
body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-button{color:#7A8376!important}
body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-button.active{color:#182116!important;background:transparent!important}
body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-button.active .rs-nav-icon{background:#EAF6DE!important;color:#4D722F!important}
body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-icon{display:grid;place-items:center;width:48px;height:30px;border-radius:999px;transition:.18s}
body.restaurant-admin-v4 .rs-mobile-nav .rs-nav-button>span:last-child{font-size:.65rem!important;font-weight:750!important}
body.restaurant-admin-v4 .pg-more-backdrop{background:rgba(13,17,12,.42)!important;backdrop-filter:blur(5px)}
body.restaurant-admin-v4 .pg-more-sheet{border:1px solid #E0E6DC!important;background:#fff!important;box-shadow:0 -18px 60px rgba(20,27,18,.18)!important}
body.restaurant-admin-v4 .pg-more-storefront{border-color:#D8E7CF!important;background:#F3FAED!important;color:#446B31!important}

@media(min-width:1041px){
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-panel-shell{grid-template-columns:84px minmax(0,1fr)!important}
  body.restaurant-admin-v4.pg-sidebar-collapsed .rs-sidebar-brand{border-color:#272E25!important;background:#171B15!important}
}
@media(min-width:761px) and (max-width:1040px){
  body.restaurant-admin-v4 .rs-panel-shell{grid-template-columns:84px minmax(0,1fr)!important}
  body.restaurant-admin-v4 .rs-sidebar-brand{border-color:#272E25!important;background:#171B15!important}
}
@media(max-width:760px){
  body.restaurant-admin-v4 .rs-workspace{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  body.restaurant-admin-v4 .rs-topbar{min-height:64px!important;padding:10px 16px!important}
  body.restaurant-admin-v4 .rs-content{padding:20px 14px 32px!important}
  body.restaurant-admin-v4 .pg-page-heading h1{font-size:28px!important}
  body.restaurant-admin-v4 .pg-home-welcome{min-height:170px;padding:22px 20px!important;align-items:flex-start!important;flex-direction:column!important}
  body.restaurant-admin-v4 .pg-home-welcome .pg-primary-link{width:100%}
  body.restaurant-admin-v4 .pg-home-kpis{grid-template-columns:1fr 1fr!important;gap:9px!important}
  body.restaurant-admin-v4 .pg-home-kpis button{min-height:112px!important;padding:14px!important}
  body.restaurant-admin-v4 .pg-home-columns{grid-template-columns:1fr!important}
  body.restaurant-admin-v4 .pg-orders-overview{grid-template-columns:1fr 1fr!important}
  body.restaurant-admin-v4 .pg-orders-list{grid-template-columns:1fr!important}
  body.restaurant-admin-v4 .restaurant-product-grid{grid-template-columns:1fr!important}
  body.restaurant-admin-v4 .pg-command-button,
  body.restaurant-admin-v4 .pg-storefront-link{width:42px!important;height:42px!important;border-radius:12px!important}
}
@media(max-width:390px){
  body.restaurant-admin-v4 .pg-home-kpis{grid-template-columns:1fr!important}
  body.restaurant-admin-v4 .pg-orders-overview{grid-template-columns:1fr!important}
}

/* Restaurant admin v7.1 — alertas operacionais */
body.restaurant-admin-v4 .pg-home-alerts{display:grid;gap:10px;padding:17px 18px;border:1px solid #E2E7DE;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(27,34,25,.04)}
body.restaurant-admin-v4 .pg-home-alerts-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.restaurant-admin-v4 .pg-home-alerts-head>div{display:grid;gap:2px}
body.restaurant-admin-v4 .pg-home-alerts-head small{color:#7C8578;font-size:.58rem;font-weight:850;letter-spacing:.11em}
body.restaurant-admin-v4 .pg-home-alerts-head h2{margin:0;font-size:1rem;letter-spacing:-.02em}
body.restaurant-admin-v4 .pg-home-alerts-head>span{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#EEF6E8;color:#456B31;font-size:.72rem;font-weight:850}
body.restaurant-admin-v4 .pg-home-alert-list{display:grid;gap:8px}
body.restaurant-admin-v4 .pg-home-alert{display:grid;grid-template-columns:10px minmax(0,1fr) 24px;align-items:center;gap:11px;width:100%;min-height:60px;padding:11px 12px;border:1px solid #E7EBE4;border-radius:13px;background:#FBFCFA;color:#273026;text-align:left;cursor:pointer}
body.restaurant-admin-v4 .pg-home-alert:hover{background:#F7FAF5;border-color:#D9E1D4}
body.restaurant-admin-v4 .pg-home-alert>i{width:9px;height:9px;border-radius:50%;background:#D49A2C;box-shadow:0 0 0 4px rgba(212,154,44,.1)}
body.restaurant-admin-v4 .pg-home-alert.urgent>i{background:#D8554C;box-shadow:0 0 0 4px rgba(216,85,76,.1)}
body.restaurant-admin-v4 .pg-home-alert>span{display:grid;gap:2px;min-width:0}
body.restaurant-admin-v4 .pg-home-alert strong{font-size:.78rem;line-height:1.3}
body.restaurant-admin-v4 .pg-home-alert small{color:#788274;font-size:.67rem;line-height:1.35}
body.restaurant-admin-v4 .pg-home-alert>b{color:#929C8E;font-size:1.15rem;font-weight:500;text-align:right}
@media(max-width:760px){body.restaurant-admin-v4 .pg-home-alerts{padding:14px}.pg-home-alert{min-height:64px}}

/* Restaurant admin v8 — reforma visual evidente. */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-panel-shell{grid-template-columns:286px minmax(0,1fr)!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-sidebar{padding:20px 16px 18px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-platform-brand{min-height:62px!important;padding:4px 7px 15px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-platform-wordmark{font-size:1.22rem!important;font-weight:900!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-sidebar-brand{padding:14px!important;border-radius:16px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-brand-mark{width:46px!important;height:46px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-brand-copy strong{font-size:.96rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-nav-group>p{margin:0 11px 7px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-nav-group .rs-nav-button{min-height:46px!important;padding:11px 12px!important;border-radius:12px!important;font-size:.81rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-nav-group .rs-nav-icon{width:20px!important;height:20px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-nav-group .rs-nav-button.active{background:#2B3427!important;box-shadow:inset 0 0 0 1px #374432!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-topbar{min-height:84px!important;padding:14px 34px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-page-copy .eyebrow{font-size:.56rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-page-copy h1{font-size:1.03rem!important;letter-spacing:-.025em!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-page-copy p{font-size:.68rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-content{padding:34px 36px 60px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-page-heading{padding:0 2px 4px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-page-heading h1{font-size:clamp(31px,3vw,42px)!important;font-weight:900!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-page-content{gap:18px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-admin-section .panel,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-surface{border-radius:20px!important;box-shadow:0 14px 38px rgba(25,33,23,.055)!important}

body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-page-content{grid-template-columns:minmax(0,1.55fr) minmax(310px,.72fr)!important;align-items:start}
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-welcome{grid-column:1;grid-row:1;min-height:220px!important;padding:32px!important;border-radius:24px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-welcome h2{max-width:650px;font-size:clamp(31px,4vw,48px)!important;line-height:1!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-welcome p{max-width:520px;margin-top:8px!important;font-size:.92rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-welcome .pg-primary-link{min-height:50px!important;padding:0 18px!important;border-radius:13px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-alerts{grid-column:2;grid-row:1;min-height:220px;padding:20px!important;border-radius:20px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-page-content:not(:has(.pg-home-alerts)) .pg-home-welcome{grid-column:1/-1}
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-kpis,
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-health,
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-shortcuts,
body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-columns{grid-column:1/-1}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis button{min-height:145px!important;padding:20px!important;border-radius:19px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis button:nth-child(1){background:#172016!important;color:#fff!important;border-color:#172016!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis button:nth-child(1) small,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis button:nth-child(1) span{color:#AAB6A5!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis button:nth-child(1) strong{color:#B8F34A!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis button:nth-child(1):before{background:#B8F34A!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-columns{grid-template-columns:minmax(0,1.55fr) minmax(320px,.68fr)!important;gap:16px!important}

body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Pedidos"] .pg-page-content{gap:14px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-overview{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-count{min-height:76px!important;padding:15px 16px!important;border-radius:16px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-count span{font-size:.75rem!important;font-weight:750!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-count strong{font-size:1.45rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:minmax(260px,1.3fr) repeat(3,minmax(150px,.55fr)) auto!important;border-radius:18px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-card{min-height:300px;padding:18px!important;border-radius:18px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-card-head{padding-bottom:11px;border-bottom:1px solid #EDF0EA}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-customer{align-items:flex-start!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-customer strong{font-size:1.08rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-details{flex:1;padding:12px!important;border-radius:12px!important;background:#F7F9F5!important;border-color:#E7ECE3!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-card-foot{margin-top:auto;padding-top:12px;border-top:1px solid #EDF0EA}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-card-foot>strong{font-size:1.3rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-card{grid-template-columns:100px minmax(0,1fr)!important;min-height:130px;padding:14px!important;border-radius:18px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-media{width:100px!important;height:100px!important;border-radius:14px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-top strong{font-size:.91rem!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-catalog-filters{padding:16px!important;border-radius:17px!important}

@media(max-width:1240px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:1fr 1fr 1fr!important}
}
@media(max-width:900px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-page-content{grid-template-columns:1fr!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-welcome,
  body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-alerts{grid-column:1!important;grid-row:auto!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-columns{grid-template-columns:1fr!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-list{grid-template-columns:1fr!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-content{padding:20px 14px 36px!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-page-heading h1{font-size:30px!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-welcome{min-height:230px!important;padding:24px 20px!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 section[data-page-title="Início"] .pg-home-welcome h2{font-size:34px!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-toolbar{grid-template-columns:1fr!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-card{grid-template-columns:84px minmax(0,1fr)!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-media{width:84px!important;height:84px!important}
}

/* Restaurant admin v9 — mobile fixes, Patos Food palette and upgraded core screens. */
body[data-rs-portal="patos-food"].restaurant-admin-v4{
  --pf-accent:#A3E635;
  --pf-accent-ink:#355321;
  --pf-accent-soft:#EFF8E7;
  --pf-ink:#171A16;
  --pf-muted:#737D6F;
  --pf-line:#E0E6DC;
}

/* Remove legacy orange accents from restaurant surfaces. */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-grid .rs-nav-icon,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-command-search .rs-nav-icon,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-settings-head span,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-form>div>span,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-catalog-head>div>span,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-catalog-accordion>summary>b,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-menu-summary>div:first-child>span,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-menu-sizes>span,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-item b{color:#5B784F!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-avatar,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-media>span{background:#EFF8E7!important;color:#4E772F!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-setting-choice input:checked+.pg-choice-check{border-color:#8BCB27!important;background:#A3E635!important;color:#172016!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-setting-choice:has(input:checked){border-color:#CDE2B2!important;background:#F5FAF0!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-setting-switch>input:checked+.pg-switch-ui{background:#84C52A!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-settings-card input:focus,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-settings-card textarea:focus,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-form input:focus{border-color:#8BCB27!important;box-shadow:0 0 0 3px rgba(163,230,53,.14)!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-add-button{border-color:#D8E7CF!important;background:#F3FAED!important;color:#456B31!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-head small,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-group>p{color:#70806A!important}

/* Atalhos: prevent the four-column mobile overflow seen in production. */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid button>span:last-child{min-width:0;overflow:hidden}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid small{display:block;white-space:normal!important;line-height:1.25;overflow:visible!important;text-overflow:clip!important}
@media(max-width:760px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid button{grid-template-columns:40px minmax(0,1fr)!important;min-height:82px!important;padding:12px 10px!important;overflow:hidden}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid strong{font-size:.76rem!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid small{font-size:.61rem!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-shortcut-icon{width:40px!important;height:40px!important}
}
@media(max-width:350px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid{grid-template-columns:1fr!important}
}

/* More sheet: stable header and green iconography. */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-sheet{padding-top:14px!important;overscroll-behavior:contain}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-head{min-height:48px;margin-bottom:14px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-head strong{line-height:1.2}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-grid button{border-color:#E3E8DF!important;background:#FCFDFB!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-grid button:active{background:#F2F8ED!important}

/* Customers */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-page{max-width:1240px!important;gap:16px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats article{display:grid;gap:4px;min-height:118px;padding:18px;border:1px solid var(--pf-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(27,34,25,.035)}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats article:first-child{background:#172016;border-color:#172016;color:#fff}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats small{color:#75806F;font-size:.61rem;font-weight:850;letter-spacing:.1em}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats article:first-child small,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats article:first-child span{color:#AAB6A5}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats strong{font-size:2rem;letter-spacing:-.045em}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats article:first-child strong{color:#B8F34A}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats span{color:#7A8376;font-size:.7rem}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-section{padding:20px!important;border-color:var(--pf-line)!important;border-radius:19px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:10px;margin-bottom:14px}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-toolbar label{display:grid;gap:5px;color:#697365;font-size:.68rem;font-weight:750}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-toolbar input,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-toolbar select{min-height:44px;padding:9px 12px;border:1px solid #DDE3D9;border-radius:11px;background:#FBFCFA;color:#171A16}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-card{min-height:78px;padding:13px!important;border-color:#E3E8DF!important;border-radius:14px!important;background:#FCFDFB!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-status.status-inactive{background:#F0F1EE;color:#677064}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-status.status-blocked{background:#FBECEA;color:#9D433C}

/* Finance */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-page{display:grid;gap:16px;max-width:1240px;margin:0 auto}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats article{display:grid;gap:5px;min-height:132px;padding:20px;border:1px solid var(--pf-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(27,34,25,.035)}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats article.featured{background:#172016;border-color:#172016;color:#fff}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats small{color:#75806F;font-size:.61rem;font-weight:850;letter-spacing:.1em}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats article.featured small,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats article.featured span{color:#AAB6A5}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats strong{font-size:clamp(1.45rem,2vw,2.15rem);letter-spacing:-.045em}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats article.featured strong{color:#B8F34A}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats span{color:#7A8376;font-size:.7rem}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-section{padding:20px;border:1px solid var(--pf-line);border-radius:19px;background:#fff;box-shadow:0 10px 30px rgba(27,34,25,.04)}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-list{display:grid;gap:8px}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-row{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:86px;padding:13px 14px 13px 17px;border:1px solid #E5EAE2;border-radius:14px;background:#FCFDFB}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#C8D1C4}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-row.status-paid:before{background:#84C52A}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-row.status-pending:before{background:#D7A23A}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-main{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 12px;min-width:0}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-main strong{font-size:1.18rem;letter-spacing:-.025em}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-main small{grid-column:1/-1;color:#7A8376;font-size:.68rem}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-method{font-size:.72rem;font-weight:800;color:#52634B}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-side{display:flex;align-items:center;justify-content:flex-end;gap:9px}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#EFF1ED;color:#647060;font-size:.61rem;font-weight:850}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-status.status-paid{background:#EAF6E6;color:#3E7443}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-status.status-pending{background:#FFF3DC;color:#8A5E16}

/* Store settings */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1120px;width:100%;margin:0 auto 2px;padding:22px 24px;border:1px solid #20291E;border-radius:20px;background:linear-gradient(135deg,#111610,#1B2319);color:#fff;box-shadow:0 16px 38px rgba(20,27,18,.12)}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary-copy{display:grid;gap:4px;min-width:0}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary small{color:#A3E635;font-size:.61rem;font-weight:850;letter-spacing:.12em}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary h2{margin:0;color:#fff!important;font-size:1.45rem;letter-spacing:-.035em}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary p{margin:0;color:#AAB4A6!important;font-size:.75rem}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:11px;background:#A3E635;color:#172016;text-decoration:none;font-size:.72rem;font-weight:850;white-space:nowrap}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-settings-card{border-color:#E0E6DC!important;border-radius:17px!important;box-shadow:0 8px 24px rgba(27,34,25,.035)!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-settings-accordion>summary{min-height:70px!important;padding:15px 17px!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-settings-savebar{border-color:#DCE4D8!important;box-shadow:0 12px 34px rgba(27,34,25,.12)!important}

@media(max-width:1040px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats,
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats{grid-template-columns:1fr 1fr}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-crm-stats article:first-child,
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-stats article.featured{grid-column:1/-1}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-toolbar{grid-template-columns:1fr}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-customer-list{grid-template-columns:1fr!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-row{grid-template-columns:1fr}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-side{justify-content:space-between}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-finance-side .mini{flex:1}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary{align-items:flex-start;flex-direction:column;padding:20px}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-store-summary a{width:100%;justify-content:center}
}

/* Patos Food palette sweep — prevent legacy orange from resurfacing. */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-platform-wordmark b{color:#A3E635!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-platform-mark{background:#A3E635!important;color:#172016!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-window-chip,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-menu-rules{background:#EFF8E7!important;color:#496A38!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-menu-sizes button{color:#4E772F!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-add-item,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-add-group{border-color:#D8E7CF!important;background:#F3FAED!important;color:#456B31!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-item-check input{accent-color:#84C52A!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-catalog-intro h2,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-menu-groups-head h2{color:#171A16!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-storefront{border-color:#D8E7CF!important;background:#F3FAED!important;color:#456B31!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-more-grid .rs-nav-icon{color:#557D3D!important}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-command-results button>.rs-nav-icon{background:#EFF8E7!important;color:#4E772F!important}

/* restaurant visual branding settings */
.pg-brand-preview{overflow:hidden;margin-bottom:18px;border:1px solid var(--rs-line,#e5e7eb);border-radius:18px;background:var(--rs-panel-surface,#fff)}
.pg-brand-preview-cover{height:190px;background:linear-gradient(135deg,#eee7dd,#f8f5ef);overflow:hidden}.pg-brand-preview-cover img{width:100%;height:100%;display:block;object-fit:cover}
.pg-brand-preview-cover>div{height:100%;display:grid;place-items:center;color:#7b746b;font-size:13px;font-weight:800}
.pg-brand-preview-info{display:flex;align-items:center;gap:14px;padding:0 18px 18px}.pg-brand-preview-info>img,.pg-brand-preview-info>#rr-logo-placeholder{width:78px;height:78px;flex:0 0 78px;margin-top:-28px;border:4px solid var(--rs-panel-surface,#fff);border-radius:18px;background:#f5efe7;object-fit:cover;box-shadow:0 7px 20px #0002}
.pg-brand-preview-info>#rr-logo-placeholder{display:grid;place-items:center;font-size:26px;font-weight:900}.pg-brand-preview-info>div:last-child{min-width:0;padding-top:10px}.pg-brand-preview-info small,.pg-brand-preview-info strong,.pg-brand-preview-info span{display:block}.pg-brand-preview-info small{font-size:10px;letter-spacing:.1em;opacity:.55}.pg-brand-preview-info strong{margin-top:3px;font-size:20px}.pg-brand-preview-info span{margin-top:3px;font-size:12px;opacity:.62}
.pg-brand-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.pg-brand-upload{display:grid;gap:5px;padding:16px;border:1px dashed var(--rs-line,#d6d9dd);border-radius:14px;background:color-mix(in srgb,var(--rs-panel-surface,#fff) 82%,#f5f1eb);cursor:pointer}.pg-brand-upload strong{font-size:14px}.pg-brand-upload small{font-size:11px;opacity:.62}.pg-brand-upload input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.pg-brand-upload span{margin-top:5px;color:var(--rs-accent,#a95427);font-size:12px;font-weight:800}
.pg-brand-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.pg-brand-colors label{display:grid;gap:7px;font-size:11px;font-weight:750}.pg-brand-colors input[type="color"]{width:100%;height:44px;padding:3px;border:1px solid var(--rs-line,#d9dde2);border-radius:11px;background:var(--rs-panel-surface,#fff);cursor:pointer}.pg-brand-colors input[type="color"]::-webkit-color-swatch{border:0;border-radius:8px}
.pg-brand-style-grid select{width:100%}.pg-brand-style-grid input[type="range"]{width:100%;padding:0}.pg-brand-style-grid output{float:right;font-variant-numeric:tabular-nums;color:var(--rs-muted,#667085)}
@media(max-width:720px){.pg-brand-preview-cover{height:145px}.pg-brand-upload-grid{grid-template-columns:1fr}.pg-brand-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.pg-brand-preview-info{padding-left:14px;padding-right:14px}.pg-brand-preview-info>img,.pg-brand-preview-info>#rr-logo-placeholder{width:68px;height:68px;flex-basis:68px}}

/* Restaurant admin v10 — remove page-level horizontal overflow and linked prices. */
body[data-rs-portal="patos-food"].restaurant-admin-v4,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-panel-shell,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-workspace,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-content,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-admin-section,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-page-content{
  width:100%;
  max-width:100%;
  min-width:0;
}
body[data-rs-portal="patos-food"].restaurant-admin-v4{overflow-x:clip}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-page-content>*,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .panel,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-surface,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-catalog-group,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-grid,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-card,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-settings-grid,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-home-shortcuts-grid,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-toolbar,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-overview,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-delivery-page,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-delivery-layout,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-wa-page,
body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-wa-layout{
  min-width:0;
  max-width:100%;
}
body[data-rs-portal="patos-food"].restaurant-admin-v4 input,
body[data-rs-portal="patos-food"].restaurant-admin-v4 select,
body[data-rs-portal="patos-food"].restaurant-admin-v4 textarea{max-width:100%;min-width:0}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}

/* A linked price is a group rule, not a per-product special case. */
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-linked-price-note{
  display:grid;
  gap:4px;
  padding:12px 13px;
  border:1px solid #CFE4B9;
  border-radius:12px;
  background:#F3FAED;
  color:#355321;
}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-linked-price-note strong{font-size:.76rem}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-linked-price-note small{color:#63775A!important;font-size:.66rem;line-height:1.4}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-admin-price-promo{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-admin-price-promo del{color:#8A9386;font-weight:600}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-admin-price-promo strong{color:#3F6B2C}
body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-admin-price-promo em{
  padding:3px 6px;
  border-radius:999px;
  background:#EAF6DE;
  color:#456B31;
  font-size:.56rem;
  font-style:normal;
  font-weight:850;
  text-transform:uppercase;
}
body[data-rs-portal="patos-food"].restaurant-admin-v4 #rpc-price[readonly]{
  background:#F2F5EF!important;
  color:#52604E!important;
  cursor:not-allowed;
}

@media(max-width:760px){
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-panel-shell{display:block!important;width:100%!important;max-width:100%!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-workspace{width:100%!important;max-width:100%!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .rs-content{width:100%!important;max-width:100%!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-orders-overview{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:visible!important;
    padding-bottom:0!important;
  }
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-order-count{min-width:0!important;width:100%!important}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-setting-time{min-width:0;width:100%}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-editor,
  body[data-rs-portal="patos-food"].restaurant-admin-v4 #restaurant-product-editor-form,
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-product-editor .form-grid{min-width:0;max-width:100%}
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .restaurant-showcase-row,
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-zone-card,
  body[data-rs-portal="patos-food"].restaurant-admin-v4 .pg-window-card{max-width:100%;min-width:0}
}

/* Daily menu history tools */
.pg-menu-history-tools{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0 18px}
.pg-menu-history-tools label{display:grid;gap:6px;min-width:min(100%,260px);flex:1}
.pg-menu-history-tools select{min-height:42px}
.pg-menu-history-tools button{min-height:42px}
@media(max-width:640px){.pg-menu-history-tools{display:grid;grid-template-columns:1fr 1fr}.pg-menu-history-tools label{grid-column:1/-1}.pg-menu-history-tools button{width:100%}}


/* media ownership status */
body[data-rs-business="restaurant"] .pg-image-origin{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.02em}
body[data-rs-business="restaurant"] .pg-image-origin.owned{background:#e9f7ee;color:#24643a}
body[data-rs-business="restaurant"] .pg-image-origin.external{background:#fff4dc;color:#8a5a00}
body[data-rs-business="restaurant"] .pg-image-origin.missing{background:#fdebea;color:#9f3028}
