/* Orbi — estilos */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Poppins:wght@400;500;600;700&display=swap');
:root{
  --navy:#120F2B;--navy2:#1E1A45;--line:#E6E3F5;--bg:#F6F5FB;--card:#fff;
  --ink:#141230;--muted:#5E5A7A;--accent:#5B3DF5;--accent-d:#4A2EE0;--accent-weak:#EEEBFF;
  --orange:#F26B0F;--teal:#0E8F84;--red:#C62845;--r:16px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0}
body{font-family:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.45}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3{font-family:'Bricolage Grotesque','Poppins',sans-serif;letter-spacing:-.02em;margin:0;line-height:1.1}
a{color:var(--accent)}
img{max-width:100%}
code{background:#EFEDF8;padding:1px 6px;border-radius:6px;font-size:.92em}
.muted{color:var(--muted)}.small{font-size:12.5px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Buttons & inputs */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:none;color:var(--ink)}
.btn:hover{border-color:#C9C3EE}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.primary:hover{background:var(--accent-d)}
.btn.dark{background:var(--navy);border-color:var(--navy);color:#fff}
.btn.danger{background:var(--red);border-color:var(--red);color:#fff}
.btn.ghost{background:transparent;border-color:transparent}
.btn.ghost.red{color:#A11D37}
.btn.sm{min-height:36px;padding:0 12px;font-size:13px;border-radius:10px}
.btn.block{width:100%}
.btn svg{width:17px;height:17px;flex:0 0 17px}
.btn:disabled{opacity:.55;cursor:not-allowed}
.input{min-height:44px;padding:10px 14px;border-radius:12px;border:1.5px solid var(--line);background:#fff;width:100%}
textarea.input{resize:vertical}
.input:focus,.btn:focus-visible,a:focus-visible,.chip:focus-visible{outline:3px solid #B3A6FF;outline-offset:1px}
.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.form.one{grid-template-columns:1fr}
.form .full{grid-column:1/-1}
.form h2{font-size:18px;margin-top:10px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:#3D3960}
.form label.check{flex-direction:row;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:500;color:var(--ink)}
.form label.check input{width:20px;height:20px}
.hint{font-weight:400;color:var(--muted);font-size:12px}
.alert{padding:12px 16px;border-radius:12px;margin:0 0 14px;font-size:13.5px}
.alert.ok{background:#DDF5F2;color:#0A5C54}
.alert.error{background:#FDE7EB;color:#8A1730}
.alert.warn{background:#FFF3D6;color:#6B3D00}
.alert.info{background:var(--accent-weak);color:#2E1F8F}
.tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:12px;font-weight:700;color:#fff}
.dot{display:inline-block;width:8px;height:8px;border-radius:8px;margin-right:6px;vertical-align:middle}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font-weight:500;cursor:pointer;font-size:13px;text-decoration:none;color:var(--ink)}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}

/* Brand */
.brand{display:flex;align-items:center;gap:10px}
.brand-mark{width:30px;height:30px;border-radius:10px;background:conic-gradient(from 200deg,#F26B0F 0 35%,var(--accent) 35% 100%);position:relative;flex:0 0 30px}
.brand-mark::after{content:"";position:absolute;inset:9px;border-radius:50%;background:var(--navy)}
.brand.dark .brand-mark::after{background:#fff}
.brand b{font-family:'Bricolage Grotesque',sans-serif;font-size:24px;font-weight:800;letter-spacing:-.04em}

/* Auth / install */
body.auth{display:flex;justify-content:center;padding:48px 16px;min-height:100vh;background:linear-gradient(180deg,#120F2B 0 260px,var(--bg) 260px)}
.auth-box{background:#fff;border-radius:24px;padding:32px;width:100%;max-width:420px;box-shadow:0 30px 80px rgba(18,15,43,.18);align-self:flex-start}
.auth-box h1{font-size:30px;margin:22px 0 6px}
.auth-box .form{margin-top:18px}
.steps{padding-left:20px;line-height:1.8}

/* Panel layout */
.app{display:flex;min-height:100vh}
.side{width:244px;flex:0 0 244px;background:var(--navy);color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh;overflow-y:auto}
.side .brand{padding:4px 10px 18px}
.side .brand small{display:block;font-size:11px;color:#B8B4D9;margin-top:-2px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-label{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#9F9BC4;padding:14px 12px 6px}
.nav a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;color:#E4E1F7;text-decoration:none;font-weight:500;min-height:44px}
.nav a:hover{background:var(--navy2);color:#fff}
.nav a.on{background:var(--accent);color:#fff}
.nav svg{width:19px;height:19px;flex:0 0 19px}
.nav .count{margin-left:auto;font-size:11.5px;background:rgba(255,255,255,.16);padding:2px 8px;border-radius:999px}
.side-user{margin-top:auto;padding:12px;border-radius:14px;background:var(--navy2);display:flex;align-items:center;gap:10px;font-size:13px}
.side-user .nm{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-user .rl{font-size:11.5px;color:#B8B4D9}
.side-user form{margin-left:auto}
.side-user button{background:none;border:0;color:#CFCBEA;cursor:pointer;min-width:44px;min-height:44px;border-radius:10px}
.side-user button:hover{background:rgba(255,255,255,.08);color:#fff}
.main{flex:1;min-width:0;padding:28px 32px 60px}
.top{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;justify-content:space-between;margin-bottom:22px}
.top h1{font-size:34px;font-weight:800}
.top p{margin:4px 0 0;color:var(--muted)}
.top .acts{display:flex;gap:10px;flex-wrap:wrap}
.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px}
.search{position:relative;flex:1 1 260px;max-width:440px}
.search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted)}
.search .input{padding-left:40px}

/* Cards / KPIs / charts */
.grid{display:grid;gap:16px}
.kpis{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));margin-bottom:16px}
.two{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.card h3{font-size:18px;margin-bottom:14px}
.card + .card{margin-top:16px}
.grid > .card + .card{margin-top:0}
.kpi .lbl{font-size:12.5px;color:var(--muted);font-weight:500}
.kpi .val{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:32px;letter-spacing:-.03em;margin-top:6px;line-height:1}
.kpi .sub{font-size:12px;color:var(--muted);margin-top:8px}
.kpi.hero{background:var(--navy);color:#fff;border-color:var(--navy)}
.kpi.hero .lbl,.kpi.hero .sub{color:#CFCBEA}
.bars{display:flex;align-items:flex-end;gap:6px;height:180px;padding-top:10px}
.bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end;min-width:0}
.bar i{display:block;width:100%;max-width:34px;border-radius:7px 7px 3px 3px;background:var(--accent);min-height:3px}
.bar i.today{background:var(--orange)}
.bar span{font-size:10.5px;color:var(--muted)}
.bar b{font-size:11px;font-weight:600;min-height:14px}
.hbar{display:grid;grid-template-columns:130px 1fr 54px;gap:12px;align-items:center;padding:7px 0;font-size:13px}
.hbar .track{height:12px;border-radius:12px;background:#F0EEF8;overflow:hidden}
.hbar .fill{display:block;height:100%;border-radius:12px}
.hbar .n{text-align:right;font-weight:600}
.rank{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.rank:first-of-type{border-top:0}
.rank .nm{font-weight:600}
.rank .meta{font-size:12px;color:var(--muted)}
.rank .amt{margin-left:auto;font-weight:700;display:flex;gap:10px;align-items:center;white-space:nowrap}
.empty{padding:40px 20px;text-align:center;color:var(--muted)}
.empty b{display:block;color:var(--ink);font-size:16px;margin-bottom:6px}

/* Tables */
.tablewrap{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow-x:auto}
table{width:100%;border-collapse:collapse}
.tablewrap table{min-width:760px}
th{text-align:left;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:14px 16px;border-bottom:1px solid var(--line);background:#FBFAFE}
td{padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:middle}
tr:last-child td{border-bottom:0}
tbody tr:hover td{background:#FAF9FF}
td.r,th.r{text-align:right}
.who{display:flex;align-items:center;gap:12px}
.who .nm{font-weight:600;color:var(--ink);text-decoration:none}
.who a.nm:hover{color:var(--accent);text-decoration:underline}
.who .meta{font-size:12px;color:var(--muted)}
.pager{display:flex;gap:8px;justify-content:center;margin-top:14px}

/* Board */
.board{display:grid;grid-template-columns:repeat(5,minmax(250px,1fr));gap:14px;overflow-x:auto;padding-bottom:10px;align-items:start}
.col{background:#EFEDF8;border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:10px;min-height:300px}
.col-h{display:flex;align-items:center;justify-content:space-between;padding:6px 6px 4px;font-weight:600}
.col-h .n{font-size:12px;background:#fff;border-radius:999px;padding:2px 10px}
.col .empty{padding:24px 8px;font-size:12.5px}
.ocard{background:#fff;border-radius:14px;padding:14px;border:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.ocard.nuevo{border-color:var(--orange);box-shadow:0 0 0 3px #FFE3CC}
.ocard .row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ocard .code{font-weight:700;font-size:13px;color:var(--ink);text-decoration:none}
.ocard .code:hover{color:var(--accent);text-decoration:underline}
.ocard .time{font-size:11.5px;color:var(--muted)}
.ocard .cl{font-weight:600}
.ocard .addr{font-size:12px;color:var(--muted)}
.ocard .items{font-size:12px;color:#3D3960;margin:0;padding:0;list-style:none}
.ocard .amt{font-weight:700}
.ocard .acts{display:flex;gap:6px;flex-wrap:wrap}
.ocard form{margin:0}
.ocard select{min-height:36px;padding:4px 10px;font-size:12.5px;border-radius:10px}
.badge-src{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9A3D00;background:#FFEEDF;padding:2px 7px;border-radius:6px}

/* Detail */
.detail{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:16px;align-items:start}
.kv{display:grid;grid-template-columns:130px 1fr;gap:10px 14px;margin:0;font-size:13.5px}
.kv dt{color:var(--muted)}
.kv dd{margin:0;font-weight:500;word-break:break-word}
.mini{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.mini div{background:var(--bg);border-radius:14px;padding:12px}
.mini b{display:block;font-family:'Bricolage Grotesque',sans-serif;font-size:22px}
.mini span{font-size:11.5px;color:var(--muted)}
.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:13px}
.timeline li{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.timeline .muted{font-size:12px}
.items-table td,.items-table th{padding:10px 8px}
.items-row{display:grid;grid-template-columns:minmax(0,2fr) 90px 120px 44px;gap:8px;align-items:center;margin-bottom:8px}

/* Products */
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.pcard{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.pcard .ph{aspect-ratio:4/3;background:#EFEDF8;display:flex;align-items:center;justify-content:center;font-family:'Bricolage Grotesque',sans-serif;font-size:40px;font-weight:800;color:#C9C3EE;overflow:hidden}
.pcard .ph img{width:100%;height:100%;object-fit:cover}
.pcard .bd{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1}
.pcard .nm{font-weight:600}
.pcard .ds{font-size:12.5px;color:var(--muted)}
.pcard .pr{font-weight:700;margin-top:auto}
.pcard.off{opacity:.55}

/* Driver view */
body.driver{background:var(--bg)}
.dhead{background:var(--navy);color:#fff;padding:18px 16px 26px;border-radius:0 0 26px 26px}
.dhead .row{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:640px;margin:0 auto}
.dhead h1{font-size:26px;margin-top:14px;max-width:640px;margin-left:auto;margin-right:auto}
.dhead p{color:#CFCBEA;margin:4px auto 0;max-width:640px}
.dwrap{max-width:640px;margin:-14px auto 0;padding:0 14px 40px;display:flex;flex-direction:column;gap:12px}
.dcard{background:#fff;border-radius:18px;border:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:12px}
.dcard .top2{display:flex;justify-content:space-between;align-items:center;gap:8px}
.dcard .name{font-size:18px;font-weight:700}
.dcard .addr{font-size:15px}
.dcard .links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.dcard .links a{min-height:48px;min-width:0;padding:0 8px;font-size:13px;gap:6px}
.dcard .big{min-height:54px;font-size:16px;border-radius:14px}
.dcard .cobro{background:#FFF3D6;color:#6B3D00;border-radius:12px;padding:10px 12px;font-weight:600}

/* Flash toasts */
.flash-wrap{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:80;display:flex;flex-direction:column;gap:8px;max-width:92vw}
.flash{background:var(--navy);color:#fff;padding:14px 20px;border-radius:14px;font-weight:500;box-shadow:0 14px 40px rgba(0,0,0,.25)}
.flash.error{background:#8A1730}

@media (max-width:900px){
  .app{flex-direction:column}
  .side{width:auto;flex:none;height:auto;position:static;padding:12px;flex-direction:row;flex-wrap:wrap;align-items:center}
  .side .brand{padding:4px 6px}
  .nav{display:flex;gap:6px;overflow-x:auto;width:100%;order:3}
  .nav-label{display:none}
  .nav a{flex:0 0 auto}
  .side-user{margin:0 0 0 auto;background:none;padding:0}
  .side-user .who-txt{display:none}
  .main{padding:20px 16px 50px}
  .form{grid-template-columns:1fr}
  .detail{grid-template-columns:1fr}
  .hbar{grid-template-columns:100px 1fr 44px}
  .items-row{grid-template-columns:1fr 70px 100px 44px}
}

/* Logo, portada e inicio de sesión del restaurante */
.s-logo{width:64px;height:64px;flex:0 0 64px;border-radius:20px;background:var(--brand,#5B3DF5);display:flex;align-items:center;justify-content:center;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:24px;color:#fff;overflow:hidden}
.s-logo.has-img{background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.s-logo img{width:100%;height:100%;object-fit:cover}
.s-logo-lg{width:84px;height:84px;flex-basis:84px;border-radius:24px;font-size:30px;box-shadow:0 0 0 4px #fff}
body.auth.has-cover{background:#120F2B;align-items:center;min-height:100vh;position:relative;overflow-x:hidden}
.auth-bg{position:fixed;inset:-60px;background-size:cover;background-position:center;filter:blur(34px) brightness(.5) saturate(1.1);z-index:0}
body.auth.has-cover .auth-box{position:relative;z-index:1;box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden}
.auth-cover{margin:-32px -32px 0;height:170px;background:#1E1A45}
.auth-cover img{width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block}
.auth-head.on-cover{margin-top:-40px}
.auth-head.on-cover .s-logo{width:76px;height:76px;flex-basis:76px;border-radius:22px;box-shadow:0 0 0 4px #fff,0 8px 24px rgba(0,0,0,.18)}
.auth-head.on-cover > div:last-child{padding-top:46px}
.auth-head{display:flex;align-items:center;gap:14px}
.auth-head > div:last-child{display:flex;flex-direction:column;min-width:0}
.auth-neg{font-family:'Bricolage Grotesque',sans-serif;font-size:20px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.powered{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--muted)}
.powered .brand-mark{width:16px;height:16px;flex-basis:16px;border-radius:5px}
.powered .brand-mark::after{inset:5px;background:#fff}
.powered b{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;color:var(--ink)}
.s-head.has-cover{padding:56px 0 34px;background-color:var(--navy)}
.s-head.has-cover .s-logo{width:88px;height:88px;flex-basis:88px;border-radius:26px}
.s-head.has-cover h1{text-shadow:0 2px 18px rgba(0,0,0,.35)}

/* ---------- Inicio de sesión del restaurante (dos paneles, verde limón) ---------- */
body.login2{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 16px;background:#141A0B;position:relative;overflow-x:hidden}
.l2-bg{position:fixed;inset:-60px;background-size:cover;background-position:center;filter:blur(36px) brightness(.45);z-index:0}
.l2-card{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr 1fr;width:100%;max-width:820px;min-height:520px;border-radius:24px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.5)}
.l2-hero{position:relative;background-size:cover;background-position:center 30%;display:flex;align-items:flex-end;color:#fff}
.l2-hero.no-photo{background:radial-gradient(circle at 20% 15%,#4D7C0F 0,transparent 55%),radial-gradient(circle at 85% 80%,#65A30D 0,transparent 50%),#1F2E0C}
.l2-hero-txt{padding:28px}
.l2-badge{display:inline-flex;align-items:center;gap:7px;background:#F26B0F;color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:6px 12px;border-radius:999px}
.l2-hero h2{font-size:28px;font-weight:800;margin:12px 0 6px;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.4)}
.l2-hero p{margin:0;font-size:14px;color:#EEF6E0;max-width:340px}
.l2-stats{display:flex;gap:26px;margin-top:18px}
.l2-stats b{display:block;color:#BEF264;font-family:'Bricolage Grotesque',sans-serif;font-size:18px;font-weight:800}
.l2-stats span{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:#E2ECD3}
.l2-form{position:relative;overflow:hidden;background:#EEF8D6;color:#1F2A0E;padding:36px 32px 26px;display:flex;flex-direction:column}
.l2-form > *{position:relative;z-index:1}
.l2-blob{position:absolute!important;border-radius:50%;background:#D9F0A3;z-index:0!important}
.l2-blob.a{width:190px;height:190px;top:-70px;right:-60px}
.l2-blob.b{width:130px;height:130px;bottom:-60px;left:-40px;background:#E3F4B8}
.l2-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;margin-bottom:18px}
.l2-brand .s-logo{width:64px;height:64px;flex:none;border-radius:20px;margin-bottom:6px;background:#4D7C0F;color:#fff;box-shadow:0 6px 18px rgba(77,124,15,.25)}
.l2-brand .s-logo.has-img{background:#fff;box-shadow:0 0 0 3px #fff,0 6px 18px rgba(77,124,15,.25)}
.l2-brand b{font-family:'Bricolage Grotesque',sans-serif;font-size:18px;font-weight:800;line-height:1.2}
.l2-brand span{font-size:12px;color:#4B5A33}
.l2-form h1{font-size:24px;margin:0 0 4px;color:#1F2A0E}
.l2-sub{margin:0 0 16px;font-size:13px;color:#4B5A33}
.l2-fields{display:flex;flex-direction:column}
.l2-fields label{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#3F4E26;margin:0 0 6px}
.l2-inp{position:relative;display:flex;align-items:center;margin-bottom:14px}
.l2-inp > svg{position:absolute;left:13px;width:17px;height:17px;color:#6B7D4A}
.l2-inp input{width:100%;min-height:46px;padding:10px 44px 10px 40px;border-radius:12px;border:1.5px solid #CFE3A0;background:#fff;font:inherit;color:#1F2A0E}
.l2-inp input:focus{outline:3px solid #A3E635;outline-offset:1px;border-color:#84CC16}
.l2-eye{position:absolute;right:6px;width:36px;height:36px;border:0;background:none;color:#6B7D4A;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center}
.l2-eye svg{width:18px;height:18px}
.l2-btn{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;margin-top:6px;border:0;border-radius:12px;background:#D9560B;color:#fff;font:inherit;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 8px 20px rgba(217,86,11,.3)}
.l2-btn:hover{background:#C04B08}
.l2-btn:focus-visible{outline:3px solid #A3E635;outline-offset:2px}
.l2-help{font-size:12px;color:#4B5A33;margin:14px 0 0;text-align:center}
.l2-foot{margin:auto 0 0;padding-top:14px;font-size:11.5px;color:#5C6B42;text-align:center}
.l2-foot b{font-family:'Bricolage Grotesque',sans-serif;color:#1F2A0E}
.login2 .alert{margin-bottom:12px}
@media (max-width:760px){
  .l2-card{grid-template-columns:1fr;min-height:0}
  .l2-hero{min-height:210px}
  .l2-hero-txt{padding:20px}
  .l2-hero h2{font-size:22px}
  .l2-stats{display:none}
  .l2-form{padding:26px 22px 20px}
}

/* ---------- Secciones de color en formularios (clientes, pedidos, equipo) ---------- */
.fsec{border-radius:18px;padding:18px 18px 20px;margin-bottom:14px;border:1px solid}
.fsec .form{gap:12px}
.fsec-h{display:flex;align-items:center;gap:10px;font-size:17px;margin:0 0 14px}
.fsec-ic{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff}
.fsec-ic svg{width:20px;height:20px}
.fsec.c1{background:#F3F0FF;border-color:#E2DAFF}.fsec.c1 .fsec-ic{background:#5B3DF5}.fsec.c1 .fsec-h{color:#2E1F8F}
.fsec.c2{background:#FFF4EA;border-color:#FFE0C4}.fsec.c2 .fsec-ic{background:#EA580C}.fsec.c2 .fsec-h{color:#7C2D12}
.fsec.c3{background:#E9F8F5;border-color:#C7EDE6}.fsec.c3 .fsec-ic{background:#0E8F84}.fsec.c3 .fsec-h{color:#0A5C54}
.fsec.c4{background:#FFF9E6;border-color:#F8E7A8}.fsec.c4 .fsec-ic{background:#B45309}.fsec.c4 .fsec-h{color:#78350F}
.fsec .input{background:#fff}
.fsec-new{background:#fff;border:1.5px dashed #CFC4FF;border-radius:14px;padding:14px!important}
.fsec-tag{margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5B3DF5}
.fsec-total{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-radius:16px;background:linear-gradient(135deg,var(--navy),var(--navy2));color:#E4E1F7;font-weight:600}
.fsec-total b{font-family:'Bricolage Grotesque',sans-serif;font-size:26px;color:#fff}
.card:has(> .fsec){background:#fff}
.doc-field{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:#3D3960}
.doc-row{display:flex;gap:8px}
.doc-row .input{flex:1;min-width:0;font-size:16px;letter-spacing:.04em}
.doc-btn{background:var(--accent);border-color:var(--accent);color:var(--accent-ink,#fff)}
.doc-btn:hover{background:var(--accent-d)}
.doc-msg{min-height:16px;font-weight:500}
.doc-msg.ok{color:#0A6B62;font-weight:600}
.doc-msg.err{color:#A11D37;font-weight:600}
/* Tablas con cabecera de color */
.tablewrap th{background:#F3F0FF;color:#3B2C9E}

/* ---------- Punto de venta ---------- */
.pos{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.pos-tools{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.pos-tools .search{flex:none;max-width:none}
.pos-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.pos-chips::-webkit-scrollbar{display:none}
.pos-chips .chip{flex:0 0 auto}
.pos-chips .chip.on{background:#1F3550;border-color:#1F3550}
.pos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(140px,40%),1fr));gap:12px}
.pos-it{display:flex;flex-direction:column;text-align:left;padding:0;border:1.5px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;cursor:pointer;font:inherit;color:var(--ink);transition:transform .08s,border-color .15s,box-shadow .15s}
.pos-it:hover{border-color:#E0884A;box-shadow:0 6px 18px rgba(31,53,80,.1)}
.pos-it:active{transform:scale(.97)}
.pos-it.sel{border-color:#D9733A;box-shadow:0 0 0 3px #FBD9C2}
.pos-it[hidden]{display:none}
.pos-it:focus-visible{outline:3px solid #B3A6FF;outline-offset:2px}
.pos-ph{position:relative;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:#EFEDF8;color:#fff;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:30px;overflow:hidden}
.pos-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pos-q{position:absolute;top:8px;right:8px;min-width:28px;height:28px;padding:0 8px;border-radius:28px;background:#D9733A;color:#fff;font-family:'Poppins',sans-serif;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.pos-nm{padding:10px 12px 2px;font-weight:600;font-size:13.5px;line-height:1.25}
.pos-pr{padding:0 12px 12px;font-weight:700;color:#C2410C}
.pos-pan{position:sticky;top:16px;background:#1F3550;color:#fff;border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 20px 50px rgba(15,30,50,.3);max-height:calc(100vh - 32px);overflow-y:auto}
.pos-pan-h{display:flex;align-items:center;gap:10px;font-size:15px}
.pos-ic{width:30px;height:30px;border-radius:9px;background:#D9733A;display:flex;align-items:center;justify-content:center}
.pos-ic svg{width:17px;height:17px}
.pos-lines{display:flex;flex-direction:column;max-height:240px;overflow-y:auto;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:8px}
.pos-empty{margin:18px 0;text-align:center;color:#B9C6D6;font-size:13px}
.pos-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.pos-line:last-child{border-bottom:0}
.pos-ln b{display:block;font-size:13px;font-weight:600}
.pos-ln span{font-size:11.5px;color:#B9C6D6}
.pos-qty{display:flex;align-items:center;background:rgba(255,255,255,.1);border-radius:999px}
.pos-qty button{width:30px;height:30px;border:0;background:none;color:#fff;font-size:16px;cursor:pointer;border-radius:30px}
.pos-qty button:hover{background:rgba(255,255,255,.15)}
.pos-qty span{min-width:18px;text-align:center;font-weight:700;font-size:13px}
.pos-lt{font-size:13px;min-width:62px;text-align:right}
.pos-total{display:flex;justify-content:space-between;align-items:center;padding:6px 0 10px;border-bottom:1px solid rgba(255,255,255,.14)}
.pos-total span{font-weight:700;letter-spacing:.04em;font-size:14px}
.pos-total b{font-family:'Bricolage Grotesque',sans-serif;font-size:30px;font-weight:800;color:#F4A26B}
.pos-blk{display:flex;flex-direction:column;gap:8px}
.pos-lbl{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#C9D4E2}
.pos-varios{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:10px;border:1.5px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);color:#E6EDF5;font:inherit;font-size:13px;cursor:pointer}
.pos-varios.on{background:#2E4A6B;border-color:#7FA6CF;color:#fff}
.pos-doc{display:grid;grid-template-columns:86px minmax(0,1fr) 44px;gap:8px}
.pos-doc:not(:has(.pos-search)){grid-template-columns:86px minmax(0,1fr)}
.pos-in{width:100%;min-height:44px;padding:8px 12px;border-radius:10px;border:0;background:#fff;color:#1F2937;font:inherit;font-size:14px}
.pos-in:focus{outline:3px solid #F4A26B;outline-offset:1px}
.pos-search{min-height:44px;border:0;border-radius:10px;background:#D9733A;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pos-search svg{width:18px;height:18px}
.pos-search:disabled{opacity:.6}
.pos-msg{margin:0;min-height:15px;font-size:12px;color:#C9D4E2}
.pos-msg.ok{color:#86EFAC;font-weight:600}.pos-msg.err{color:#FCA5A5;font-weight:600}
.pos-note{margin:-2px 0 2px;font-size:11.5px;color:#FCD34D}
.pos-cash{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.pos-cash[hidden]{display:none}
.pos-vuelto{font-size:12px;color:#C9D4E2;text-align:right}
.pos-vuelto b{display:block;font-size:17px;color:#86EFAC}
.pos-vuelto b.neg{color:#FCA5A5}
.pos-err{margin:0;padding:10px 12px;border-radius:10px;background:#7F1D1D;color:#FEE2E2;font-size:13px}
.pos-cobrar{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:0;border-radius:12px;background:#D9733A;color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer;box-shadow:0 8px 20px rgba(217,115,58,.35)}
.pos-cobrar:hover{background:#C2622C}
.pos-cobrar:disabled{opacity:.7}
.pos-sec{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pos-volver,.pos-cancel{display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:10px;font:inherit;font-size:13.5px;cursor:pointer;text-decoration:none}
.pos-volver{background:#2E4A6B;color:#fff;border:0}
.pos-cancel{background:#5B4054;color:#F9C9C9;border:0}
.pos-pan :focus-visible{outline:3px solid #F4A26B;outline-offset:2px}
.pos-ok{position:fixed;inset:0;z-index:90;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.pos-ok[hidden]{display:none}
.pos-ok-box{background:#fff;border-radius:22px;padding:28px;max-width:380px;width:100%;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.pos-ok-ic{width:64px;height:64px;margin:0 auto 10px;border-radius:64px;background:#DCFCE7;color:#15803D;font-size:32px;font-weight:800;display:flex;align-items:center;justify-content:center}
.pos-ok-box h2{font-size:24px}
.pos-ok-box p{color:var(--muted);margin:6px 0 0}
.pos-ok-vuelto{margin:14px 0 0;padding:12px;border-radius:12px;background:#FFF7ED;color:#9A3412}
.pos-ok-vuelto b{font-size:22px;margin-left:6px}
.pos-ok-acts{display:flex;gap:10px;justify-content:center;margin-top:20px;flex-wrap:wrap}
@media (max-width:1100px){.pos{grid-template-columns:minmax(0,1fr)}.pos-pan{position:static;max-height:none}}
.pos-cat{min-width:0}

/* Buscador de productos en el pedido */
.pick{position:relative}
.pick-ic{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;display:flex}
.pick-ic svg{width:17px;height:17px}
.pick .input{padding-left:38px}
.pick-list{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 4px);margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px rgba(20,20,60,.16);max-height:320px;overflow-y:auto}
.pick-list[hidden]{display:none}
.pick-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-radius:10px;cursor:pointer}
.pick-list li span{display:flex;flex-direction:column;min-width:0}
.pick-list li b{font-weight:600;font-size:14px}
.pick-list li small{font-size:11.5px;color:var(--muted)}
.pick-list li em{font-style:normal;font-weight:700;color:#C2410C;white-space:nowrap}
.pick-list li.on,.pick-list li:hover{background:#F1EEFF}
.pick-list li.pick-none{color:var(--muted);cursor:default;font-size:13px}
.imp-ph{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:10px;object-fit:cover;background:#F1EEFA;color:var(--muted)}
.fotos-bar{display:flex;align-items:center;gap:14px;padding:14px 16px;margin-bottom:16px;border-radius:14px;background:#F1EEFF;color:#3B2F86}
.fotos-bar progress{flex:1;height:10px;accent-color:#6D4AFF}
.pos-note.ok{color:#86EFAC}
.pos-note a{color:#FCD34D;text-decoration:underline}
.pos-ok-cpe{margin:12px 0 0;padding:12px;border-radius:12px;font-weight:700;display:flex;flex-direction:column;gap:4px}
.pos-ok-cpe small{font-weight:400;font-size:12.5px}
.pos-ok-cpe a{font-size:13px}
.pos-ok-cpe.ok{background:#DCFCE7;color:#166534}
.pos-ok-cpe.warn{background:#FEF3C7;color:#92400E}
.pos-ok-cpe.bad{background:#FEE2E2;color:#991B1B}
/* Facturación */
.fe-modos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.fe-modos.two{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}
.fe-modo{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:14px;border:2px solid #E4E1F2;background:#fff;cursor:pointer}
.fe-modo input{position:absolute;opacity:0;pointer-events:none}
.fe-modo b{font-size:14.5px}
.fe-modo span{font-size:12.5px;color:var(--muted);font-weight:400}
.fe-modo.on{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak)}
.fe-modo:focus-within{outline:3px solid #B3A6FF;outline-offset:2px}
.fe-cert{padding:12px 14px;border-radius:12px;background:#fff;border:1px dashed #C7EDE6;font-size:13.5px}
.fe-cert .bad{color:#B91C1C;font-weight:700}
.fe-series{grid-template-columns:repeat(2,minmax(0,1fr))}
.cpe-tag{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700}
.cpe-tag.aceptado{background:#DCFCE7;color:#166534}.cpe-tag.pendiente{background:#E0E7FF;color:#3730A3}
.cpe-tag.error{background:#FEF3C7;color:#92400E}.cpe-tag.rechazado{background:#FEE2E2;color:#991B1B}.cpe-tag.interno{background:#F1F0F7;color:#57536E}
@media (max-width:760px){.fe-modos,.fe-modos.two,.fe-series{grid-template-columns:1fr}}
.nowrap{white-space:nowrap}
.pick-x{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:30px;background:#EEEAFB;color:#4B3BA8;cursor:pointer}
.pick-x[hidden]{display:none}
.nav-ver{margin:14px 12px 0;font-size:11px;color:rgba(255,255,255,.4);letter-spacing:.04em}

/* Diálogo de confirmación propio (en lugar del mensaje del navegador) */
.o-dlg{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.55);backdrop-filter:blur(3px);animation:oFade .15s ease-out}
.o-box{width:100%;max-width:380px;background:#fff;border-radius:22px;padding:26px 24px 20px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.35);animation:oPop .18s ease-out;font-family:'Poppins',sans-serif}
.o-ic{width:58px;height:58px;margin:0 auto 12px;border-radius:58px;display:flex;align-items:center;justify-content:center;background:#FEE2E2;color:#DC2626}
.o-ic.info{background:#E0E7FF;color:#4338CA}
.o-box h2{font-family:'Bricolage Grotesque',sans-serif;font-size:21px;margin:0 0 6px;color:#1A1733}
.o-box p{margin:0;color:#6B6884;font-size:14px}
.o-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.o-acts button{min-height:46px;border-radius:12px;font:inherit;font-weight:600;font-size:14px;cursor:pointer;border:1.5px solid #E4E1F2;background:#fff;color:#1A1733}
.o-acts button:hover{background:#F6F5FB}
.o-acts .o-ok{border:0;background:#DC2626;color:#fff}
.o-acts .o-ok:hover{background:#B91C1C}
.o-acts .o-ok.info{background:var(--accent);color:var(--accent-ink,#fff)}.o-acts .o-ok.info:hover{background:var(--accent-d)}
.o-acts button:focus-visible{outline:3px solid #B3A6FF;outline-offset:2px}
@keyframes oFade{from{opacity:0}}
@keyframes oPop{from{opacity:0;transform:translateY(10px) scale(.97)}}

/* Agotado hoy */
.tag-agot{display:inline-block;padding:2px 8px;border-radius:999px;background:#FEE2E2;color:#B91C1C;font-size:11.5px;font-weight:700}
.pcard.agot .ph{filter:grayscale(1);opacity:.6}
.pos-agot{display:none}
.pos-it.agot{cursor:not-allowed;opacity:.55}
.pos-it.agot .pos-ph{filter:grayscale(1)}
.pos-it.agot .pos-pr{display:none}
.pos-it.agot .pos-agot{display:block;padding:0 12px 12px;font-weight:700;color:#B91C1C;font-size:12.5px}
/* Delivery Orbimax en el panel del restaurante */
.del-card{border:2px solid #FDBA8C;background:linear-gradient(180deg,#FFF7F0,#fff 60%)}
.del-card h3{display:flex;align-items:center;gap:8px}
.del-dot{width:10px;height:10px;border-radius:10px;background:#F45D1F;box-shadow:0 0 0 4px #FFE4D2}
.badge-del{display:inline-block;padding:2px 8px;border-radius:999px;background:#FFE4D2;color:#9A3D00;font-size:11px;font-weight:700}
.map-pick{height:260px;border-radius:14px;margin-top:10px;border:1px solid var(--line);z-index:0}

/* ===================== Panel central (estilo Llevadito) ===================== */
.saas-theme{--sb1:#4B5563;--sb2:#374151;--sb-ink:#F3F4F6;--sb-lbl:#C0C6CF;--sb-sub:#D7DBE1;--accent:#F97316;--accent-d:#EA580C;--accent-ink:#fff;--accent-weak:#FFEDD5;--chip-on:#374151;background:#F4F5F7}
.saas-theme.t-negro{--sb1:#111113;--sb2:#050506;--sb-ink:#F4F4F5;--sb-lbl:#A1A1AA;--sb-sub:#BEF264;--accent:#A3E635;--accent-d:#84CC16;--accent-ink:#14200A;--accent-weak:#ECFCCB;--chip-on:#111113;background:#F5F6F3}
.saas-theme .btn.primary{color:var(--accent-ink)}
.saas-theme .side{background:linear-gradient(180deg,var(--sb1),var(--sb2));width:240px;flex-basis:240px;padding:20px 12px}
.saas-theme .brand-mark{background:conic-gradient(from 200deg,var(--accent) 0 35%,#fff 35% 100%)}
.saas-theme .brand-mark::after{background:var(--sb1)}
.saas-theme .side .brand small{color:var(--sb-sub)}
.saas-theme .nav-label{color:var(--sb-lbl);font-size:10.5px;padding:16px 12px 4px}
.saas-theme .nav a{color:var(--sb-ink);min-height:40px;padding:8px 12px;border-radius:12px;font-size:14px}
.saas-theme .nav a:hover{background:rgba(255,255,255,.08)}
.saas-theme .nav a.on{background:var(--accent);color:var(--accent-ink);box-shadow:0 0 0 2px rgba(255,255,255,.55) inset,0 8px 20px rgba(0,0,0,.18)}
.saas-theme .nav a svg{width:18px;height:18px;opacity:.95}
.nav-badge{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:7px;background:#fff;color:var(--sb2);font-style:normal;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.saas-theme .nav-ver{color:rgba(255,255,255,.45)}
.saas-theme .side-user{border-top:1px solid rgba(255,255,255,.12)}
.saas-theme .side-user .rl{color:var(--sb-sub)}
.saas-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;margin:-28px -32px 20px;padding:12px 32px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid #E8E9EC}
.saas-topbar .sp{flex:1}
.saas-burger{width:38px;height:38px;border-radius:10px;border:1px solid #E5E7EB;background:#fff;cursor:pointer;font-size:16px}
.side-off .side{display:none}
.saas-theme .card{border-radius:18px;border-color:#E8E9EC;box-shadow:0 1px 3px rgba(20,20,30,.04)}
.saas-theme table th{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:#6B7280}
.dot{display:inline-block;width:12px;height:12px;border-radius:12px;vertical-align:-1px;margin-right:8px}
.color-in{width:44px;height:38px;padding:2px;border:1px solid var(--line);border-radius:10px;background:#fff}
.map-live{height:440px;border-radius:16px;border:1px solid #EEE9E4;z-index:0}
.leg{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;font-size:13px}
.leg i{display:inline-block;width:10px;height:10px;border-radius:10px;margin-right:6px}
.rep-av{width:38px;height:38px;border-radius:38px;background:var(--accent);color:var(--accent-ink,#fff);font-weight:700;display:inline-flex;align-items:center;justify-content:center;font-size:13px;flex:0 0 38px}
.sw{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1.5px solid #EEE9E4;border-radius:14px;background:#fff;cursor:pointer}
.sw input{width:20px;height:20px;margin-top:2px;accent-color:var(--accent);flex:0 0 20px}
.sw b{display:block;font-size:14.5px}
.sw span{font-size:12.5px;color:var(--muted)}
.sw:has(input:checked){border-color:var(--accent);background:var(--accent-weak)}
.sw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (max-width:900px){.sw-grid{grid-template-columns:1fr}.saas-topbar{margin:-20px -16px 14px;padding:10px 16px}}
.saas-theme .side-user{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.saas-theme .side-user .avatar,.saas-theme .side-user [class*="avatar"]{background:var(--accent)!important;color:var(--accent-ink)!important}
.saas-theme table thead th{background:#F7F7F8}
.saas-theme .chip.on{background:var(--chip-on);border-color:var(--chip-on);color:#fff}
.ped-acts .ghost{white-space:nowrap;font-size:15px}

/* Selector de colores del panel */
.tema-ops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tema-op{display:flex;flex-direction:column;gap:10px;padding:12px;border:2px solid var(--line);border-radius:16px;cursor:pointer;background:#fff}
.tema-op input{position:absolute;opacity:0;pointer-events:none}
.tema-op:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak)}
.tema-op:focus-within{outline:3px solid var(--accent);outline-offset:2px}
.tema-prev{display:flex;height:84px;border-radius:12px;overflow:hidden;border:1px solid #E5E7EB}
.tema-prev i{width:34%;display:flex;flex-direction:column;gap:6px;padding:10px}
.tema-prev i b{display:block;height:8px;border-radius:4px;background:rgba(255,255,255,.35)}
.tema-prev i b.on{height:14px}
.tema-prev span{flex:1;background:#F4F5F7;padding:10px;display:flex;flex-direction:column;gap:6px}
.tema-prev span b{display:block;height:10px;border-radius:5px;background:#E5E7EB}
.tema-prev span b.btn-p{width:44%;height:16px}
@media (max-width:700px){.tema-ops{grid-template-columns:1fr}}

/* ===== Colores de los paneles de restaurante (los elige el súper-admin) ===== */
body.th-plomo{--navy:#374151;--navy2:#4B5563;--ink:#111827;--muted:#5B6270;--line:#E5E7EB;--bg:#F4F5F7;--accent:#F97316;--accent-d:#EA580C;--accent-weak:#FFEDD5;--accent-ink:#fff}
body.th-negro{--navy:#0B0B0C;--navy2:#1F1F23;--ink:#111113;--muted:#5C5F66;--line:#E4E4E7;--bg:#F5F6F3;--accent:#A3E635;--accent-d:#84CC16;--accent-weak:#ECFCCB;--accent-ink:#14200A}
body.th-plomo .brand-mark::after,body.th-negro .brand-mark::after{background:var(--navy)}
body.th-negro .btn.primary,body.th-negro .nav a.on{color:var(--accent-ink)}
body.th-negro .main a:not(.btn):not(.chip){color:#3F6212}
body.th-negro .nav a{color:#E4E4E7}
body.th-negro{--orange:#65A30D}
body.th-negro .nav a.on{color:var(--accent-ink)}
body.th-negro .bar i{background:var(--accent-d)}
body.th-plomo .fsec.c1{background:#FFF7ED;border-color:#FED7AA}body.th-plomo .fsec.c1 .fsec-ic{background:#F97316}body.th-plomo .fsec.c1 .fsec-h{color:#9A3412}
body.th-negro .fsec.c1{background:#F7FEE7;border-color:#D9F99D}body.th-negro .fsec.c1 .fsec-ic{background:#65A30D}body.th-negro .fsec.c1 .fsec-h{color:#3F6212}
body.th-plomo .fsec-tag{color:#C2410C}body.th-negro .fsec-tag{color:#4D7C0F}
