:root{--blue:#1687e8;--blue2:#075fc4;--navy:#06182e;--ink:#0b1b2c;--muted:#708196;--bg:#f2f7fc;--card:rgba(255,255,255,.9);--line:#dfe9f2;--green:#16a36b;--orange:#e98832;--purple:#7860df;--shadow:0 18px 50px rgba(13,70,120,.09)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,"Noto Sans Arabic",sans-serif;background:var(--bg);color:var(--ink)}body{overflow-x:hidden}button,input,select{font:inherit}button{border:0;cursor:pointer}.shell{min-height:100vh;padding-bottom:105px;background:radial-gradient(circle at 90% 0,rgba(22,135,232,.14),transparent 28%),linear-gradient(180deg,#f8fbff,#edf5fb)}.topbar{height:82px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:rgba(248,252,255,.8);border-bottom:1px solid rgba(213,226,239,.8);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#2aa8ff,#0861c5);color:#fff;font-weight:900;box-shadow:0 10px 25px rgba(12,111,208,.22)}.brand-name{font-size:20px;font-weight:900}.brand-name span{color:var(--blue)}.brand-caption{font-size:10px;color:var(--muted);margin-top:3px}.top-actions{display:flex;align-items:center;gap:9px}.icon-btn,.more-btn{width:43px;height:43px;border-radius:15px;display:flex;align-items:center;justify-content:center;color:#59728c;background:rgba(255,255,255,.68);border:1px solid var(--line);box-shadow:0 6px 18px rgba(20,90,140,.05)}.icon-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.more-btn{gap:4px}.more-btn span{width:4px;height:4px;border-radius:50%;background:currentColor}.admin-avatar{width:43px;height:43px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#29a5ff,#0963c7);color:#fff;font-weight:900;box-shadow:0 9px 24px rgba(11,102,193,.2)}.content{max-width:1060px;margin:auto;padding:28px 22px}.hero{min-height:190px;padding:30px;border-radius:30px;color:#fff;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;position:relative;overflow:hidden;background:linear-gradient(135deg,#061a33,#0a4d8e 65%,#1687e8);box-shadow:0 22px 50px rgba(6,54,103,.2)}.hero:after{content:"";position:absolute;width:270px;height:270px;border-radius:50%;background:rgba(255,255,255,.06);left:-80px;top:-110px}.eyebrow{display:block;margin-bottom:8px;color:var(--blue);font-size:10px;font-weight:900;letter-spacing:1.6px}.hero .eyebrow{color:#9ed8ff}.hero h1{position:relative;z-index:1;margin:0 0 8px;font-size:32px;letter-spacing:-1px}.hero p{position:relative;z-index:1;margin:0;color:#d8eafb;font-size:14px}.hero-badge{position:relative;z-index:1;padding:10px 14px;border-radius:99px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:11px;white-space:nowrap}.hero-badge i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#42e39a;margin-inline-end:6px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.stat{min-height:112px;padding:19px;border-radius:23px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);display:flex;align-items:center;gap:13px}.stat:before{content:"";width:5px;height:46px;border-radius:9px;background:var(--blue)}.stat.green:before{background:var(--green)}.stat.purple:before{background:var(--purple)}.stat.orange:before{background:var(--orange)}.stat-number{font-size:29px;font-weight:900}.stat-label{font-size:12px;color:var(--ink);font-weight:800}.stat-sub{font-size:10px;color:var(--muted);margin-top:5px}.section-head,.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-head h2,.page-head h1{margin:0}.section-head h2{font-size:22px}.section-head p,.page-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.quick{margin-top:28px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:15px}.quick-card{text-align:start;padding:19px;border-radius:22px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);transition:.18s}.quick-card:hover{transform:translateY(-2px);border-color:#bcdcf4}.quick-icon{width:45px;height:45px;border-radius:15px;display:grid;place-items:center;margin-bottom:15px}.quick-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.blue-bg{background:#e5f3ff;color:#0874d1}.purple-bg{background:#eeeaff;color:#7158d8}.dark-bg{background:#e8eef7;color:#193752}.quick-card b{display:block;font-size:14px}.quick-card small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:5px}.recent{margin-top:30px}.link-btn{background:transparent;color:var(--blue2);font-weight:900;font-size:11px}.link-btn svg{width:14px;height:14px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:2}.restaurant-list,.user-list{margin-top:14px;background:var(--card);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.restaurant-row,.user-row{min-height:76px;padding:14px 17px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.restaurant-row:last-child,.user-row:last-child{border-bottom:0}.r-logo{width:46px;height:46px;flex:none;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#e8f5ff,#d2eaff);color:#096cc8;font-weight:900}.r-logo.big{width:57px;height:57px;font-size:22px}.r-info{flex:1;min-width:0}.r-info b{display:block;font-size:14px}.r-info span{display:block;margin-top:4px;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status{font-size:9px;padding:6px 9px;border-radius:99px;white-space:nowrap}.status i{display:inline-block;width:6px;height:6px;border-radius:50%;margin-inline-end:5px}.status.on{background:#e5f8f0;color:#13845b}.status.on i{background:#18aa70}.status.off{background:#fff0ed;color:#c35d4d}.status.off i{background:#d96857}.row-arrow{width:33px;height:33px;border-radius:11px;background:#f1f6fa;color:#6d8094;display:grid;place-items:center}.row-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.page-head{margin-bottom:20px}.page-head h1{font-size:31px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:12px 17px;border-radius:14px;background:linear-gradient(135deg,#1a96f2,#0763c7);color:#fff;font-weight:900;box-shadow:0 10px 24px rgba(12,105,200,.2)}.primary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.primary.small{padding:9px 13px;font-size:11px}.primary.wide{width:100%;height:50px}.toolbar{display:flex;gap:10px;margin-bottom:15px}.search{flex:1;height:48px;display:flex;align-items:center;gap:8px;padding:0 14px;border-radius:16px;background:var(--card);border:1px solid var(--line);color:#9baaba}.search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink)}.count-pill{align-self:center;padding:9px 12px;border-radius:99px;background:#e6f3ff;color:#096bc5;font-size:10px;font-weight:900}.restaurant-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.restaurant-card{padding:19px;border-radius:24px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}.card-top{display:flex;align-items:center;justify-content:space-between}.restaurant-card h3{margin:15px 0 4px;font-size:18px}.restaurant-card p{margin:0;color:var(--muted);font-size:11px}.meta{display:flex;justify-content:space-between;gap:8px;margin:15px 0;color:var(--muted);font-size:10px}.card-actions{display:flex;gap:8px}.outline{flex:1;border:1px solid #cbd8e5;background:transparent;color:var(--ink);border-radius:12px;font-weight:800;padding:10px}.card-actions .primary{flex:1}.user-row .avatar{width:45px;height:45px;border-radius:14px;background:#e6f3ff;color:#096bc5;display:grid;place-items:center;font-weight:900}.role{font-size:9px;padding:6px 9px;border-radius:99px;background:#edf4ff;color:#476c91}.owner-note{display:flex;align-items:center;gap:8px;padding:12px 15px;margin-bottom:15px;border-radius:15px;background:#eaf6ff;color:#22648e;font-size:10px}.owner-note svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:2}.plans-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.plan-card{padding:22px;border-radius:25px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);position:relative;overflow:hidden}.plan-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:rgba(22,135,232,.08);top:-55px;right:-40px}.plan-card.pro{border-color:#a9d7f8}.plan-card.premium{border-color:#cfc4f4}.plan-top{display:flex;align-items:center;gap:10px;font-weight:900;font-size:14px}.plan-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#e6f3ff;color:#0874d1}.plan-card strong{display:block;margin:24px 0 3px;font-size:30px}.plan-card strong small{font-size:11px;color:var(--muted)}.plan-duration{font-size:10px;color:var(--muted)}.plan-card p{min-height:38px;color:var(--muted);font-size:11px;line-height:1.7}.bottom-nav{position:fixed;z-index:30;bottom:12px;left:50%;transform:translateX(-50%);width:min(94%,650px);height:74px;padding:7px;display:grid;grid-template-columns:repeat(4,1fr);border-radius:25px;background:rgba(237,247,253,.78);border:1px solid rgba(190,211,229,.9);box-shadow:0 18px 48px rgba(20,83,125,.15);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:19px;background:transparent;color:#7a91a7;font-size:9px;font-weight:900}.nav-item svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-item.active{color:#075fc4;background:rgba(255,255,255,.58);box-shadow:inset 0 0 0 1px rgba(22,135,232,.12),0 7px 18px rgba(21,116,184,.08)}.nav-item.active:after{content:"";position:absolute;bottom:4px;width:5px;height:5px;border-radius:50%;background:#1687e8;box-shadow:0 0 12px rgba(22,135,232,.65)}.empty{padding:35px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:#7d8d9f}.empty.large{min-height:190px;justify-content:center;background:var(--card);border:1px dashed #cbd9e6;border-radius:22px}.empty b{color:var(--ink)}.empty span{font-size:10px}.empty-icon{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;background:#e9f4ff;color:#147bd4}.empty-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 80% 10%,rgba(29,151,244,.3),transparent 28%),linear-gradient(145deg,#031327,#071d37 60%,#0b4b83)}.login-card{width:min(100%,420px);padding:30px;border-radius:30px;background:rgba(255,255,255,.96);box-shadow:0 30px 80px rgba(0,0,0,.28)}.login-logo{width:54px;height:54px;margin-bottom:18px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#2aa8ff,#0861c5);color:#fff;font-weight:900}.login-card h1{margin:0;font-size:27px}.login-card p{margin:8px 0 22px;color:#718197;font-size:12px;line-height:1.7}.login-card label,.modal-form label{display:block;margin-bottom:14px;color:#506176;font-size:11px;font-weight:800}.login-card input,.modal-form input,.modal-form select{display:block;width:100%;height:48px;margin-top:7px;padding:0 14px;border:1px solid #dbe5ef;border-radius:14px;outline:0;background:#f8fbfe;color:#102338}.login-error{min-height:18px;margin-top:9px;color:#c64f42;font-size:11px}.demo-note{text-align:center;margin-top:16px;color:#9aa8b7;font-size:10px}.modal-wrap{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:.18s}.modal-wrap.show{opacity:1}.modal-backdrop{position:absolute;inset:0;background:rgba(2,13,25,.62);backdrop-filter:blur(6px)}.modal{position:relative;width:min(100%,520px);max-height:90vh;overflow:auto;padding:24px;border-radius:28px 28px 0 0;background:#fff;box-shadow:0 -20px 60px rgba(0,0,0,.2);transform:translateY(20px);transition:.18s}.modal-wrap.show .modal{transform:none}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head h2{margin:0;font-size:23px}.close{width:36px;height:36px;border-radius:12px;background:#f1f5f9;color:#52657a;font-size:22px}.settings-menu{position:fixed;z-index:90;top:74px;inset-inline-end:18px;width:220px;padding:8px;border-radius:19px;background:rgba(255,255,255,.95);border:1px solid var(--line);box-shadow:0 22px 55px rgba(13,65,110,.18);backdrop-filter:blur(22px);opacity:0;transform:translateY(-8px) scale(.98);transition:.16s}.settings-menu.show{opacity:1;transform:none}.settings-menu button{width:100%;padding:12px;border-radius:12px;background:transparent;color:var(--ink);display:flex;align-items:center;gap:10px;text-align:start;font-size:12px;font-weight:800}.settings-menu button:hover{background:#eaf5ff;color:var(--blue2)}.settings-menu b{margin-inline-start:auto;font-size:17px;color:var(--muted)}.choice-modal .choice{width:100%;height:55px;margin:5px 0;padding:0 14px;display:flex;align-items:center;gap:12px;border-radius:14px;background:#f7fafc;color:var(--ink);font-weight:800;text-align:start}.choice-modal .choice b{margin-inline-start:auto;color:var(--blue)}.toast{position:fixed;z-index:200;left:50%;bottom:102px;transform:translateX(-50%);padding:12px 17px;border-radius:14px;background:#071a30;color:#fff;font-size:11px;box-shadow:0 15px 35px rgba(0,0,0,.2);transition:.25s}.toast.hide{opacity:0;transform:translate(-50%,10px)}.fatal{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:30px;text-align:center;background:#071a2f;color:#fff}.fatal small{direction:ltr;color:#a9c1d8}.theme-dark{--ink:#edf5ff;--muted:#9fb0c3;--bg:#07131f;--card:rgba(12,29,44,.92);--line:#1d3449;--shadow:0 18px 50px rgba(0,0,0,.22)}body.theme-dark{background:var(--bg)}body.theme-dark .shell{background:radial-gradient(circle at 90% 0,rgba(22,135,232,.16),transparent 28%),linear-gradient(180deg,#081521,#07131f)}body.theme-dark .topbar{background:rgba(7,20,33,.8);border-bottom-color:#20384c}body.theme-dark .icon-btn,body.theme-dark .more-btn{background:rgba(14,31,47,.82);border-color:#244058;color:#b7cadc}body.theme-dark .bottom-nav{background:rgba(10,25,39,.8);border-color:#203a51}body.theme-dark .nav-item{color:#8ca4ba}body.theme-dark .nav-item.active{color:#7ec8ff;background:rgba(30,121,194,.22)}body.theme-dark .settings-menu{background:rgba(10,27,42,.96);border-color:#26465d}body.theme-dark .settings-menu button:hover{background:#12304a}body.theme-dark .modal{background:#0d1d2d;color:#edf5ff}body.theme-dark .modal-form input,body.theme-dark .modal-form select{background:#0a1927;border-color:#28445a;color:#edf5ff}body.theme-dark .choice-modal .choice{background:#102437;color:#edf5ff}body.theme-dark .close{background:#162b3e;color:#c3d3e1}.theme-dark .login-card{background:#0d1d2d;color:#edf5ff}.theme-dark .login-card p,.theme-dark .login-card label{color:#9fb0c3}.theme-dark .login-card input{background:#0a1927;border-color:#28445a;color:#edf5ff}@media(max-width:760px){.topbar{height:74px;padding:0 14px}.brand-name{font-size:17px}.brand-caption{font-size:9px}.admin-avatar{display:none}.content{padding:20px 14px}.hero{min-height:170px;padding:22px;border-radius:24px}.hero h1{font-size:27px}.hero-badge{font-size:9px}.stats-grid{grid-template-columns:1fr 1fr}.stat{min-height:95px;padding:14px}.stat-number{font-size:24px}.quick-grid{grid-template-columns:1fr}.restaurant-cards{grid-template-columns:1fr}.plans-grid{grid-template-columns:1fr}.page-head h1{font-size:27px}.page-head .primary span{display:none}.bottom-nav{width:calc(100% - 24px);height:69px}.nav-item{font-size:8px}.settings-menu{top:68px;inset-inline-end:12px;width:220px}.modal{padding:21px}}
/* V6 platform-admin refinements */
button{font:inherit;border:0;cursor:pointer}
.dashboard-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:15px;margin-top:15px}
.panel{padding:20px;border-radius:25px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-head h2{margin:4px 0 0;font-size:20px}.mini-pill{padding:7px 10px;border-radius:99px;background:#eaf5ff;color:#0b6fc8;font-size:9px;font-weight:900}
.growth-chart{height:190px;display:flex;gap:10px}.axis{width:38px;display:flex;flex-direction:column;justify-content:space-between;padding:3px 0 26px;color:#8da0b3;font-size:8px}.bars{position:relative;flex:1;display:flex;align-items:flex-end;justify-content:space-around;gap:10px;padding:10px 4px 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,rgba(139,164,186,.13) 38px)}.bar-col{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}.bar{width:min(34px,62%);min-height:12px;border-radius:10px 10px 5px 5px;background:linear-gradient(180deg,#39aaff,#0873d4);box-shadow:0 10px 22px rgba(8,115,212,.2);transform-origin:bottom;animation:barIn .65s ease both}.bar-col:nth-child(2) .bar{animation-delay:.06s}.bar-col:nth-child(3) .bar{animation-delay:.12s}.bar-col:nth-child(4) .bar{animation-delay:.18s}.bar-col:nth-child(5) .bar{animation-delay:.24s}.bar-col span{font-size:8px;color:#8da0b3}
@keyframes barIn{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.donut-wrap{display:flex;align-items:center;gap:18px;min-height:190px}.donut{width:150px;height:150px;flex:none;border-radius:50%;background:conic-gradient(#1687e8 0 var(--a),#7556d9 var(--a) calc(var(--a) + var(--b)),#f39a4a calc(var(--a) + var(--b)) 100%);display:grid;place-items:center;position:relative;box-shadow:0 16px 35px rgba(24,110,185,.12);animation:donutIn .8s ease}.donut:after{content:"";position:absolute;inset:20px;border-radius:50%;background:var(--card)}.donut>div{position:relative;z-index:1;text-align:center}.donut strong{display:block;font-size:28px;color:var(--ink)}.donut span{font-size:9px;color:var(--muted)}@keyframes donutIn{from{transform:rotate(-30deg) scale(.85);opacity:.4}to{transform:none;opacity:1}}
.legend{flex:1;display:flex;flex-direction:column;gap:13px}.legend div{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;font-size:10px}.legend b{font-size:13px}.dot{width:9px;height:9px;border-radius:50%;display:block}.dot.basic{background:#1687e8}.dot.pro{background:#7556d9}.dot.premium{background:#f39a4a}
.health{display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:99px;background:rgba(46,205,139,.1);color:#1b8a62;font-size:9px;font-weight:900;white-space:nowrap}.health span{width:8px;height:8px;border-radius:50%;background:#35c98b;box-shadow:0 0 0 5px rgba(53,201,139,.1)}
.stat{text-align:start;min-height:112px;padding:17px;border-radius:23px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);color:var(--ink);transition:.18s}.stat:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(13,87,138,.12)}.stat span{display:block;color:var(--muted);font-size:10px;font-weight:800}.stat strong{display:block;margin-top:7px;font-size:31px}.stat small{display:block;margin-top:5px;color:var(--muted);font-size:9px}.stat small b{color:#19a46f}.stat-blue{border-top:3px solid #1687e8}.stat-green{border-top:3px solid #35c98b}.stat-purple{border-top:3px solid #7556d9}.stat-orange{border-top:3px solid #f39a4a}
.section{margin-top:24px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:13px}.section-head h2{margin:4px 0;font-size:23px}.section-head p{margin:0;color:var(--muted);font-size:10px}.text-btn{background:transparent;color:#0b72cf;font-size:10px;font-weight:900;padding:6px}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-card{display:flex;align-items:center;gap:12px;text-align:start;padding:16px;border-radius:20px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);color:var(--ink);transition:.18s}.quick-card:hover{transform:translateY(-2px);border-color:#9ecff0}.quick-card>svg:first-child{width:23px;height:23px;flex:none;fill:none;stroke:#1687e8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.quick-card>svg:last-child{width:16px;height:16px;margin-inline-start:auto;fill:none;stroke:#8ca0b4;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.quick-card b{display:block;font-size:11px}.quick-card span{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.5}
.status{display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:900}.status.on{color:#1b9567}.status.off{color:#c45b50}.plan-badge{padding:6px 9px;border-radius:99px;font-size:8px;font-weight:900}.plan-badge.basic{background:#e8f4ff;color:#1478cf}.plan-badge.pro{background:#eeeaff;color:#6a50c5}.plan-badge.premium{background:#fff0e3;color:#c8782e}.restaurant-card p svg{width:14px;height:14px;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.7}.plan-stat{display:flex;align-items:baseline;gap:6px;margin:13px 0;padding:10px 12px;border-radius:14px;background:#f4f8fb;color:var(--muted);font-size:9px}.plan-stat b{font-size:20px;color:var(--ink)}.subscription-info{margin-top:18px}.subscription-list{display:flex;flex-direction:column;gap:8px}.subscription-row{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;padding:13px 14px;border-radius:15px;background:rgba(239,247,252,.7);border:1px solid var(--line);color:var(--ink);text-align:start}.subscription-row:hover{border-color:#9ecff0}.subscription-row div:first-child b{display:block;font-size:11px}.subscription-row div:first-child span{display:block;margin-top:4px;color:var(--muted);font-size:9px}.sub-right{display:flex;align-items:center;gap:7px;color:#0b72cf}.sub-right strong{font-size:9px}.sub-right svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.form-note{padding:10px 12px;border-radius:13px;background:#eef7fd;color:#50728e;font-size:9px;line-height:1.6}.detail-strip{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:8px;align-items:center;padding:13px;border-radius:15px;background:#f4f8fb;color:var(--muted);font-size:9px}.detail-strip b{text-align:end;color:var(--ink)}.modal-actions{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px;margin-top:3px}.theme-dark .mini-pill,.theme-dark .form-note{background:#102b42;color:#9ec8e7}.theme-dark .subscription-row,.theme-dark .detail-strip,.theme-dark .plan-stat{background:#102233}.theme-dark .stat,.theme-dark .panel,.theme-dark .quick-card{box-shadow:0 18px 45px rgba(0,0,0,.18)}
.bottom-nav{grid-template-columns:repeat(3,1fr)}
@media(max-width:760px){.dashboard-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr}.donut-wrap{justify-content:center}.stats-grid{grid-template-columns:1fr 1fr}.detail-strip{grid-template-columns:1fr 1fr}.modal-actions{grid-template-columns:1fr 1fr}.modal-actions .primary{grid-column:1/-1;order:-1}.hero{gap:14px}.health{align-self:flex-start}.growth-chart{height:175px}}
/* V7 platform-owner architecture */
.topbar{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;height:82px}
.topbar .brand{min-width:0;justify-self:start}
.topbar-center{justify-self:center;padding:9px 15px;border-radius:99px;background:rgba(255,255,255,.55);border:1px solid rgba(211,226,239,.75);color:var(--muted);font-size:10px;font-weight:900;white-space:nowrap}
.top-actions{justify-self:end}
.owner-list{margin-top:14px;background:var(--card);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.owner-row{min-height:82px;padding:14px 17px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);color:var(--ink)}
.owner-row:last-child{border-bottom:0}
.owner-row .r-info{flex:1;min-width:0}
.owner-row .r-info b{display:block;font-size:13px}
.owner-row .r-info span{display:block;margin-top:4px;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.owner-row .avatar{width:45px;height:45px;flex:none;border-radius:14px;background:linear-gradient(145deg,#e8f5ff,#d2eaff);color:#096cc8;display:grid;place-items:center;font-weight:900}
.owner-row .status{flex:none}
.owner-row .plan-badge{flex:none}
.stat-icon{width:43px;height:43px;flex:none;border-radius:14px;background:#eaf5ff;color:#0b72cf;display:grid;place-items:center}
.stat-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stat-green .stat-icon{background:#eaf9f3;color:#179767}.stat-purple .stat-icon{background:#f0ecff;color:#6f58d5}.stat-orange .stat-icon{background:#fff2e7;color:#cf7b31}
.activity-ring{min-height:205px;display:flex;align-items:center;justify-content:center;gap:26px}.ring{width:165px;height:165px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#1687e8 0 var(--pct),#e8f0f6 var(--pct) 100%);position:relative;box-shadow:0 16px 35px rgba(24,110,185,.12);animation:donutIn .8s ease}.ring:after{content:"";position:absolute;inset:20px;border-radius:50%;background:var(--card)}.ring>div{position:relative;z-index:1;text-align:center}.ring strong{display:block;font-size:31px;color:var(--ink)}.ring span{font-size:9px;color:var(--muted)}.ring-copy{min-width:150px}.ring-copy>b{display:block;font-size:13px}.ring-copy p{margin:8px 0;color:var(--muted);font-size:10px}.trend-line{margin-top:14px;color:#19a46f;font-weight:900;font-size:12px}.trend-line span{color:var(--muted);font-size:9px;font-weight:700}
.theme-dark .owner-list{box-shadow:0 18px 45px rgba(0,0,0,.18)}.theme-dark .owner-row{border-color:#20384d}.theme-dark .stat-icon{background:#102b42;color:#8bc9f7}.theme-dark .stat-green .stat-icon{background:#103529;color:#6ed9ae}.theme-dark .stat-purple .stat-icon{background:#211b3f;color:#b3a4ff}.theme-dark .stat-orange .stat-icon{background:#392717;color:#f4b46f}
@media(max-width:760px){.topbar{height:76px;padding:0 12px}.brand{gap:9px}.brand-mark{width:42px;height:42px;border-radius:14px}.brand-name{font-size:16px}.brand-caption{font-size:8px}.top-actions{gap:5px}.icon-btn{width:39px;height:39px}.owner-row{flex-wrap:wrap;padding:13px}.owner-row .r-info{width:calc(100% - 70px)}.owner-row .status{margin-inline-start:57px}.owner-row .plan-badge{margin-inline-start:auto}.activity-ring{flex-direction:column;gap:16px;padding:10px 0 16px}.ring-copy{text-align:center}.stats-grid{gap:10px}.stat{gap:8px}.stat-icon{width:36px;height:36px}.stat strong{font-size:24px}.stat span{font-size:9px}.stat small{font-size:8px}}

/* V8 identity + real plan features */
.login-logo-image{display:block;width:150px;height:150px;object-fit:contain;margin-bottom:10px;border-radius:30px}
.feature-list{display:flex;flex-wrap:wrap;gap:7px;min-height:44px;margin:14px 0 8px}
.feature-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 8px;border-radius:999px;background:#eef7ff;color:#176da9;border:1px solid #d9ebfa;font-size:9px;font-weight:800;line-height:1.2}
.feature-empty{font-size:10px;color:var(--muted);padding:8px 0}
.feature-editor{margin:3px 0 15px}
.feature-editor-title{margin-bottom:9px;color:#506176;font-size:11px;font-weight:800}
.feature-option{display:flex!important;align-items:center;gap:9px;margin:0 0 7px!important;padding:10px 12px;border-radius:13px;background:#f7fafc;border:1px solid #e1eaf2;color:var(--ink)!important;font-size:10px!important;font-weight:800!important}
.feature-option input{width:18px!important;height:18px!important;margin:0!important;accent-color:#1687e8}
.theme-dark .feature-chip{background:#102d45;border-color:#234760;color:#9fd5fa}
.theme-dark .feature-option{background:#102437;border-color:#28445a;color:#edf5ff!important}
.theme-dark .feature-editor-title{color:#9fb0c3}
@media(max-width:760px){.login-logo-image{width:130px;height:130px}.feature-chip{font-size:8px;padding:6px 7px}}
/* Final topbar cleanup */
.topbar{display:flex!important;grid-template-columns:none!important;align-items:center;justify-content:space-between;gap:18px;height:82px}
.topbar .brand{min-width:0;justify-self:auto}
.topbar-center{display:none!important}
.top-actions{justify-self:auto;display:flex;align-items:center;gap:8px}
.brand-mark{width:50px;height:50px;border-radius:17px;object-fit:cover;display:block;background:#061a33;box-shadow:0 10px 25px rgba(12,111,208,.22)}
@media(max-width:760px){.topbar{height:76px!important;padding:0 12px}.brand{gap:9px}.brand-mark{width:42px;height:42px;border-radius:14px}.brand-name{font-size:16px}.brand-caption{font-size:8px}.top-actions{gap:5px}.icon-btn{width:39px;height:39px}}

.plan-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.plan-card.pro .plan-icon{background:#eeeaff;color:#6f58d5}.plan-card.premium .plan-icon{background:#fff0e3;color:#cf7b31}
.theme-dark .plan-card.pro .plan-icon{background:#211b3f;color:#b3a4ff}.theme-dark .plan-card.premium .plan-icon{background:#392717;color:#f4b46f}
/* V9 admin final layer */
.event-list{display:flex;flex-direction:column;gap:8px}
.event-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);background:var(--card);border-radius:15px}
.event-row b{display:block;font-size:10px;color:var(--ink)}
.event-row span{display:block;margin-top:4px;font-size:8px;color:var(--muted)}
.event-dot,.notification-dot{width:9px;height:9px;flex:none;border-radius:50%;background:#1687e8;box-shadow:0 0 0 5px rgba(22,135,232,.08)}
.notification-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--line);background:var(--card);border-radius:15px;margin-bottom:8px}
.notification-row b{display:block;font-size:10px;color:var(--ink)}
.notification-row span{display:block;margin-top:4px;font-size:8px;color:var(--muted)}
.notification-row.warn .notification-dot{background:#f39a4a;box-shadow:0 0 0 5px rgba(243,154,74,.1)}
.profile-section{margin-top:5px}
.profile-section-title{font-size:10px;font-weight:900;color:var(--muted);margin:0 0 8px}
.linked-restaurant,.not-linked-box{display:flex;align-items:center;gap:11px;padding:12px;border-radius:15px;border:1px solid var(--line);background:var(--card)}
.linked-restaurant>div:nth-child(2),.not-linked-box>div{flex:1;min-width:0}
.linked-restaurant b,.not-linked-box b{display:block;font-size:10px;color:var(--ink)}
.linked-restaurant span:not(.status),.not-linked-box span{display:block;margin-top:4px;font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.restaurant-mini-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eaf5ff;color:#1687e8;flex:none}
.restaurant-mini-icon svg,.not-linked-box>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.not-linked-box{color:#1687e8}
.not-linked-box>svg{width:30px;height:30px;flex:none}
.toggle-line{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:12px}
.toggle-line input{width:22px!important;height:22px!important;accent-color:#1687e8}
.theme-dark .event-row,.theme-dark .notification-row,.theme-dark .linked-restaurant,.theme-dark .not-linked-box{background:#102437;border-color:#28445a}
.theme-dark .restaurant-mini-icon{background:#102d45;color:#8bc9f7}
/* V10 Restaurant Owner workspace */
.login-role-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 14px}.login-role{padding:11px 8px;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,.7);color:var(--muted);font-size:10px;font-weight:900}.login-role.active{background:#e7f4ff;border-color:#9ed1f5;color:#086bc4;box-shadow:0 8px 20px rgba(22,135,232,.08)}.setup-card{display:flex;align-items:center;gap:16px;margin:18px 0;padding:22px;border-radius:25px;background:linear-gradient(135deg,#fff,#edf8ff);border:1px solid #cde6f8;box-shadow:var(--shadow)}.setup-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#dff1ff;font-size:27px;flex:none}.setup-card>div:nth-child(2){flex:1}.setup-card h2{margin:0 0 5px;font-size:20px}.setup-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}.owner-hero{margin-bottom:18px}.restaurant-summary{display:flex;align-items:center;gap:14px;padding:15px 17px;margin-bottom:18px;border-radius:21px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}.restaurant-summary>div:nth-child(2){flex:1;min-width:0}.restaurant-summary b{display:block;font-size:14px}.restaurant-summary span{display:block;margin-top:5px;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restaurant-summary .outline{flex:0 0 auto}.owner-quick .quick-card{display:flex;align-items:center;gap:12px;text-align:start;font-size:24px}.owner-quick .quick-card>div{flex:1;font-size:inherit}.owner-quick .quick-card>div b{font-size:13px}.owner-quick .quick-card>div span{font-size:9px}.owner-empty{margin-top:15px}.restaurant-profile-card{display:flex;align-items:center;gap:18px;padding:22px;border-radius:25px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);margin-bottom:18px}.restaurant-profile-card>div:nth-child(2){flex:1}.restaurant-profile-card h2{margin:0 0 6px}.restaurant-profile-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}.profile-meta{display:flex;gap:15px;flex-wrap:wrap;margin-top:12px;color:var(--muted);font-size:9px}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.module-grid>div{padding:15px;border-radius:16px;background:#f3f8fc;border:1px solid var(--line);font-size:20px}.module-grid b{display:block;margin-top:8px;font-size:11px}.module-grid span{display:block;margin-top:4px;color:var(--muted);font-size:8px}.owner-account-panel{padding:18px}.owner-shell .bottom-nav{grid-template-columns:repeat(4,1fr)}.nav-emoji{font-size:18px;line-height:1}.theme-dark .login-role{background:#102437;border-color:#28445a}.theme-dark .login-role.active{background:#102f49;border-color:#2c76a9;color:#9ed6fb}.theme-dark .setup-card{background:linear-gradient(135deg,#0e2437,#102d45);border-color:#254b67}.theme-dark .setup-icon{background:#123b59}.theme-dark .module-grid>div{background:#102437;border-color:#28445a}.theme-dark .restaurant-summary,.theme-dark .restaurant-profile-card{background:#102437;border-color:#28445a}
@media(max-width:760px){.setup-card{align-items:flex-start;flex-wrap:wrap}.setup-card>div:nth-child(2){min-width:calc(100% - 75px)}.setup-card .primary{width:100%}.restaurant-summary{flex-wrap:wrap}.restaurant-summary .outline{width:100%}.module-grid{grid-template-columns:1fr 1fr}.login-role-switch{grid-template-columns:1fr 1fr}}

/* V11 Owner practical navigation */
.owner-quick .quick-card.priority{border-color:#b9def8;background:linear-gradient(135deg,var(--card),#eef8ff);box-shadow:0 14px 32px rgba(22,135,232,.11)}
.owner-more-grid{grid-template-columns:repeat(2,1fr)}
@media(max-width:760px){.owner-more-grid{grid-template-columns:1fr 1fr}.owner-quick .quick-card.priority{min-height:92px}}

/* V11 login cleanup */
.login-role-switch{display:none!important}.login-card p{margin-bottom:20px}.login-card{padding-top:28px}.login-card .primary{margin-top:3px}

/* V12 Catalog & Menus */
.product-list{display:grid;gap:10px}.product-row,.menu-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:18px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}.product-thumb,.menu-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;flex:none;background:#eaf6ff;overflow:hidden;font-size:25px}.product-thumb img{width:100%;height:100%;object-fit:cover}.product-main{flex:1;min-width:0}.product-main>b{display:block;font-size:13px}.product-main>span{display:block;color:var(--muted);font-size:9px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-main>small{display:block;margin-top:6px;font-weight:900;font-size:10px}.product-row .status,.menu-row .status{flex:none}.danger-btn{border-color:#e7b1b1!important;color:#b33a3a!important}.theme-dark .product-row,.theme-dark .menu-row{background:#102437;border-color:#28445a}.theme-dark .product-thumb,.theme-dark .menu-icon{background:#123b59}
@media(max-width:760px){.product-row,.menu-row{gap:9px}.product-thumb,.menu-icon{width:46px;height:46px}.product-row .status,.menu-row .status{display:none}}

/* V13 practical navigation + menu sections */
.back-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:13px;padding:10px 13px;font-size:10px;font-weight:900;box-shadow:var(--shadow);cursor:pointer;align-self:flex-start}.back-btn:hover{border-color:#9ecff0;transform:translateY(-1px)}
.page-head>.back-btn{grid-column:1/-1;justify-self:flex-start;margin-bottom:-2px}.page-head{position:relative}
.section-list{display:grid;gap:10px}.section-row{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}.section-number{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#eaf6ff;color:#1478cf;font-weight:900;font-size:12px;flex:none}.menu-detail-summary{display:flex;align-items:center;gap:13px;padding:15px;margin-bottom:12px;border-radius:18px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}.menu-detail-summary>div:nth-child(2){flex:1}.menu-detail-summary b{display:block;font-size:13px}.menu-detail-summary span{display:block;margin-top:4px;color:var(--muted);font-size:9px}.menu-detail-summary .status{flex:none}.page-head>button+button{margin-inline-start:6px}.theme-dark .back-btn{background:#102437;border-color:#28445a}.theme-dark .section-number{background:#123b59;color:#9ed6fb}.theme-dark .menu-detail-summary{background:#102437;border-color:#28445a}
@media(max-width:760px){.page-head{gap:8px}.page-head>.back-btn{margin-bottom:2px}.page-head>button+button{margin-inline-start:0}.section-row{gap:9px}.section-number{width:34px;height:34px}.menu-detail-summary{padding:13px}.menu-detail-summary .status{display:none}}

/* V13 Zones & Tables */
.zone-list,.table-list{display:grid;gap:12px}
.zone-row,.table-row{display:flex;align-items:center;gap:14px;padding:16px 18px;background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 24px rgba(20,90,140,.05);cursor:pointer}
.zone-row:hover,.table-row:hover{transform:translateY(-1px)}
.zone-icon,.table-number{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:rgba(22,135,232,.1);font-size:24px;flex:none}
.table-number{font-size:17px;font-weight:900;color:var(--blue)}
.zone-row .product-main,.table-row .product-main{flex:1;min-width:0}
.zone-row .product-main b,.table-row .product-main b{display:block;font-size:16px}
.zone-row .product-main span,.zone-row .product-main small,.table-row .product-main span{display:block;color:var(--muted);margin-top:4px}
.zone-count,.seat-badge{font-weight:800;color:var(--blue);background:rgba(22,135,232,.08);padding:8px 11px;border-radius:12px;white-space:nowrap}
.zone-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:16px 18px;background:var(--card);border:1px solid var(--line);border-radius:20px}
.zone-detail-bar div{display:flex;align-items:center;gap:12px;color:var(--muted)}
.zone-detail-bar strong{font-size:22px;color:var(--ink)}
.batch-preview{padding:13px 15px;border-radius:14px;background:rgba(22,135,232,.08);color:var(--blue);font-weight:900}
.danger-btn{color:#c0392b!important}
@media(max-width:600px){.zone-row,.table-row{padding:13px 12px;gap:10px}.zone-count{display:none}.seat-badge{font-size:12px;padding:7px}.page-head:has(.primary){align-items:flex-start}}


/* V18 zone detail mobile layout */
.zone-detail-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:14px}
.zone-detail-head .back-btn{flex:none}
.zone-detail-title{flex:1;min-width:0;text-align:start}
.zone-detail-title h1{margin:0;font-size:31px;line-height:1.2;word-break:break-word}
.zone-detail-title p{margin:6px 0 0;color:var(--muted);font-size:12px}
.zone-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.zone-actions .outline,.zone-actions .primary{min-width:0;width:100%;white-space:normal;line-height:1.35}
@media(max-width:600px){
  .zone-detail-head{align-items:flex-start;gap:10px}
  .zone-detail-head .back-btn{padding:9px 11px;font-size:10px}
  .zone-detail-title h1{font-size:27px;line-height:1.25}
  .zone-detail-title p{font-size:10px}
  .zone-actions{grid-template-columns:1fr 1fr;gap:8px}
  .zone-actions>*:last-child{grid-column:1/-1}
  .zone-actions .outline,.zone-actions .primary{padding:11px 9px;font-size:10px}
  .zone-detail-bar{padding:13px 14px}
}

/* V15 table-seat QR */
.mini-action{padding:8px 10px!important;font-size:12px!important;white-space:nowrap}
.qr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-top:16px}
.qr-card{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px;border:1px solid var(--border,#e5e7eb);border-radius:16px;background:var(--card,#fff);text-align:center}
.qr-card img{width:180px;height:180px;object-fit:contain;border-radius:10px;background:#fff}
.qr-card b{font-size:15px}.qr-card span{font-size:12px;opacity:.75}
@media(max-width:560px){.qr-grid{grid-template-columns:1fr 1fr}.qr-card img{width:135px;height:135px}.mini-action{display:inline-flex!important;padding:8px 9px!important;font-size:12px!important;white-space:nowrap}}

/* V21 employee permissions */
.staff-row{align-items:center;flex-wrap:wrap}
.permission-summary{display:block!important;color:var(--blue)!important;font-size:10px!important;margin-top:5px}
.permission-model-note{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;margin-bottom:16px;border-radius:17px;background:#edf7ff;border:1px solid #cfe8fb;color:#275b80;flex-direction:column}
.permission-model-note b{font-size:12px}.permission-model-note span{font-size:10px;color:#5e7890}
.modal-sub{margin:6px 0 0;color:var(--muted);font-size:11px}
.permission-actions{display:flex;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.permission-actions .outline{flex:1;min-width:150px}
.permissions-form{max-height:58vh;overflow:auto;padding:2px 2px 8px}
.permission-group{padding:13px 0;border-bottom:1px solid var(--line)}
.permission-group:last-child{border-bottom:0}.permission-group h3{margin:0 0 9px;font-size:13px}
.permission-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.permission-item{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.6);font-size:11px;cursor:pointer}
.permission-item input{width:17px;height:17px;accent-color:var(--blue);flex:none}
@media(max-width:650px){.staff-row .outline{flex:1;min-width:calc(50% - 5px);font-size:10px;padding:9px 7px}.permission-items{grid-template-columns:1fr}.permissions-form{max-height:54vh}}

/* V23 Orders */
.order-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 14px;margin-top:8px;scrollbar-width:none}.order-tabs::-webkit-scrollbar{display:none}.order-tab{border:1px solid var(--line,#dfe6ef);background:var(--surface,#fff);color:var(--text,#132238);border-radius:999px;padding:10px 14px;font-weight:700;white-space:nowrap;cursor:pointer}.order-tab.active{background:var(--primary,#071a33);color:#fff;border-color:var(--primary,#071a33)}.order-list{display:flex;flex-direction:column;gap:10px}.order-row{width:100%;display:grid;grid-template-columns:auto 1fr auto auto;gap:14px;align-items:center;text-align:right;border:1px solid var(--line,#dfe6ef);background:var(--surface,#fff);border-radius:18px;padding:15px;cursor:pointer;color:inherit}.order-row:hover{transform:translateY(-1px)}.order-number{font-weight:900;color:var(--primary,#071a33);min-width:64px}.order-main{min-width:0;display:flex;flex-direction:column;gap:5px}.order-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-main span{font-size:12px;color:var(--muted,#718096);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-right{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.order-right strong{font-size:15px}.status.pending{background:#fff7e6;color:#9a6500;border-color:#f1d18b}.order-item-row{display:grid;grid-template-columns:1fr 92px 40px;gap:8px;align-items:center;margin-bottom:9px}.order-item-row select,.order-item-row input{min-width:0}.row-remove{height:44px;border:1px solid #e2a6a6;background:#fff5f5;color:#b42318;border-radius:12px;font-size:20px;cursor:pointer}.form-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.order-form-total,.order-detail-total{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid var(--line,#dfe6ef);margin-top:8px}.order-form-total strong,.order-detail-total strong{font-size:20px}.order-detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.order-detail-meta>div{background:var(--surface-2,#f7f9fc);border:1px solid var(--line,#e5eaf0);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:5px}.order-detail-meta span{font-size:11px;color:var(--muted,#718096)}.order-detail-items{display:flex;flex-direction:column;gap:8px}.order-detail-item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line,#edf0f4)}.order-status-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.order-status-actions .choice{border:1px solid var(--line,#dfe6ef);background:var(--surface,#fff);border-radius:12px;padding:10px;font-weight:700;cursor:pointer}.order-status-actions .choice.selected{outline:2px solid var(--primary,#071a33);background:var(--surface-2,#f2f5f9)}
@media(max-width:700px){.order-row{grid-template-columns:auto 1fr auto}.order-row>svg{display:none}.order-number{min-width:48px}.order-right strong{font-size:13px}.order-detail-meta{grid-template-columns:1fr 1fr}.order-detail-meta>div:last-child{grid-column:1/-1}.form-grid-two{grid-template-columns:1fr}.order-status-actions{grid-template-columns:1fr 1fr}.order-item-row{grid-template-columns:1fr 78px 38px}}

/* V25 table/seat accounts + receipt UI */
.table-account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.table-account-card{display:block;text-align:start;padding:18px;border-radius:22px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);color:var(--ink);transition:.18s;width:100%}.table-account-card:hover{transform:translateY(-2px);border-color:#9ecff0}.table-account-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.table-account-top h3{margin:4px 0 0;font-size:19px}.account-open{font-size:9px;font-weight:900;color:#168b63;background:rgba(53,201,139,.1);padding:7px 9px;border-radius:99px;white-space:nowrap}.table-account-summary{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:18px 0 12px}.table-account-summary strong{font-size:25px}.table-account-summary span{font-size:9px;color:var(--muted)}.seat-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seat-mini{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-radius:13px;background:#f4f8fb;border:1px solid var(--line);font-size:9px}.seat-mini b{font-size:10px}.seat-account-list{display:flex;flex-direction:column;gap:9px}.seat-account-card{display:grid;grid-template-columns:auto 1fr auto auto;gap:11px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);text-align:start}.seat-account-card:hover{border-color:#9ecff0}.seat-account-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#eef7fd;font-size:20px}.seat-account-card div:nth-child(2){min-width:0}.seat-account-card b{display:block;font-size:11px}.seat-account-card span{display:block;margin-top:4px;color:var(--muted);font-size:8px}.seat-account-card strong{font-size:14px}.account-arrow{font-size:20px!important;color:#8ca0b4!important;margin:0!important}.account-order-actions{display:flex;gap:7px;padding:0 0 8px}.small-btn{padding:8px 10px!important;font-size:9px!important}.theme-dark .seat-mini,.theme-dark .seat-account-icon{background:#102437;border-color:#28445a}.theme-dark .seat-account-card{background:#0d1d2d}.theme-dark .account-open{background:rgba(53,201,139,.13)}
@media(max-width:900px){.table-account-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.table-account-grid{grid-template-columns:1fr}.seat-mini-grid{grid-template-columns:1fr 1fr}.seat-account-card{grid-template-columns:auto 1fr auto auto}.account-order-actions{flex-wrap:wrap}}

/* V27 invoice table browser + premium receipt support */
.invoice-section-head{align-items:center}.all-tables-btn{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;font-weight:900}
.all-tables-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;max-height:62vh;overflow:auto;padding:2px}
.all-table-card{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--card);color:var(--ink);text-align:start;box-shadow:var(--shadow);transition:.18s}.all-table-card:hover{transform:translateY(-1px);border-color:#9ecff0}.all-table-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(22,135,232,.1);font-size:21px}.all-table-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.all-table-main b{display:block;font-size:12px}.all-table-main span{display:block;margin-top:4px;color:var(--muted);font-size:8px}.all-table-main strong{font-size:13px;white-space:nowrap}.all-table-meta{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px dashed var(--line);font-size:8px;color:var(--muted)}.table-status-open{font-weight:900;color:#168b63}.table-status-free{font-weight:800;color:var(--muted)}
.theme-dark .all-table-card{background:#0d1d2d}.theme-dark .all-table-icon{background:#123b59}.theme-dark .all-table-meta{border-color:#28445a}
@media(max-width:700px){.invoice-section-head{align-items:flex-start;flex-direction:column}.all-tables-btn{width:100%;justify-content:center}.all-tables-grid{grid-template-columns:1fr;max-height:58vh}}

/* V27 POS + table settlement improvements */
.pos-location-bar{display:grid;grid-template-columns:1.5fr .8fr;gap:12px;margin:4px 0 16px;padding:14px;border:1px solid var(--line,#e3e8ed);border-radius:18px;background:var(--panel,#fff)}
.pos-location-bar label,.pos-note-label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:var(--text,#17212b);font-size:13px}
.pos-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:16px;align-items:start}
.pos-catalog{min-width:0}
.pos-search-wrap{display:flex;align-items:center;gap:8px;padding:11px 13px;border:1px solid var(--line,#e3e8ed);border-radius:14px;background:var(--panel,#fff);margin-bottom:12px;color:#73808d}
.pos-search-wrap input{border:0!important;outline:0;width:100%;background:transparent!important;color:inherit!important}
.pos-menu-section{margin-bottom:16px}
.pos-section-title{display:flex;align-items:center;gap:10px;margin:8px 2px 10px}.pos-section-title>span{font-size:22px}.pos-section-title b{display:block;font-size:15px}.pos-section-title small{display:block;color:#7b8792;font-size:11px;margin-top:2px}
.pos-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.pos-product-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:right;border:1px solid var(--line,#e3e8ed);border-radius:16px;padding:12px;background:var(--panel,#fff);min-height:105px;cursor:pointer;transition:.15s;box-shadow:0 3px 10px rgba(0,0,0,.03)}
.pos-product-card:active{transform:scale(.98)}
.pos-product-icon{font-size:21px}.pos-product-name{font-weight:800;font-size:13px;line-height:1.3}.pos-product-price{font-size:12px;font-weight:800;color:#697887;margin-top:auto}
.pos-cart{position:sticky;top:10px;border:1px solid var(--line,#e3e8ed);border-radius:20px;background:var(--panel,#fff);padding:14px;box-shadow:0 7px 24px rgba(0,0,0,.05)}
.pos-cart-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:11px;border-bottom:1px solid var(--line,#e3e8ed)}.pos-cart-head b{display:block}.pos-cart-head .eyebrow{font-size:9px;color:#7b8792}.pos-cart-head>span{min-width:28px;height:28px;border-radius:99px;display:grid;place-items:center;background:#eef2f5;font-weight:800}
.pos-cart-items{max-height:330px;overflow:auto}.pos-cart-empty{padding:28px 8px;text-align:center;color:#87939f;font-size:12px}.pos-cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px dashed #d9e0e5}.pos-cart-row>div:first-child{min-width:0}.pos-cart-row b{display:block;font-size:12px}.pos-cart-row small{color:#7d8994;font-size:10px}.pos-cart-row>strong{font-size:11px;white-space:nowrap}.pos-qty{display:flex!important;align-items:center;gap:5px}.pos-qty button{width:25px;height:25px;border:1px solid var(--line,#dfe5ea);border-radius:8px;background:transparent;font-weight:900}.pos-qty b{min-width:16px;text-align:center}
.pos-cart-total{display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-size:14px}.pos-cart-total strong{font-size:18px}.pos-note-label textarea{min-height:52px}.pos-submit{margin-top:10px}
.all-tables-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line,#e3e8ed);border-radius:14px;padding:10px 12px;margin-bottom:13px;background:var(--panel,#fff);color:#74818c}.all-tables-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;color:inherit}
.table-settle-actions{display:grid;gap:9px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line,#e3e8ed)}
.payment-seat-summary{display:grid;gap:7px;margin:10px 0 14px}.payment-seat-summary>div{display:flex;justify-content:space-between;padding:9px 11px;border:1px solid var(--line,#e3e8ed);border-radius:12px;background:var(--panel,#fff)}
@media(max-width:800px){.pos-layout{grid-template-columns:1fr}.pos-cart{position:static}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-location-bar{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pos-product-card{min-height:96px;padding:10px}.pos-cart-row{grid-template-columns:minmax(0,1fr) auto}.pos-cart-row>strong{grid-column:1/-1;text-align:left}.pos-location-bar{grid-template-columns:1fr}}

/* V28 — premium order entry redesign */
.modal.pos-order-modal{width:min(96vw,1080px);max-height:94vh;padding:0;border-radius:30px;overflow:auto;background:var(--bg,#f7fbff)}
.pos-modal{padding:26px}
.pos-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.pos-title-block h2{margin:0;font-size:28px;letter-spacing:-.5px}.pos-title-block .modal-sub{max-width:620px;line-height:1.6}
.pos-head-actions{display:flex;align-items:center;gap:10px}.pos-order-badge{padding:9px 12px;border-radius:999px;background:#eaf5ff;color:#126fbd;font-size:10px;font-weight:900;white-space:nowrap}
.pos-location-bar{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin:18px 0 14px;padding:14px;border:1px solid #cfe2f0;border-radius:20px;background:linear-gradient(135deg,#fafdff,#eef7fd);box-shadow:0 8px 24px rgba(20,92,140,.06)}
.pos-location-bar label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:900;color:var(--ink)}.pos-location-bar label span{font-size:11px;color:#4d6981}
.pos-location-bar select{height:48px;border:1px solid #c9d9e6;border-radius:14px;background:#fff;color:var(--ink);padding:0 13px;outline:0;font-weight:800}
.pos-location-hint{align-self:stretch;display:flex;align-items:center;padding:0 13px;border-radius:14px;background:#e7f4fc;color:#4b718d;font-size:10px;line-height:1.5;min-width:230px}
.pos-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 18px}.pos-categories{display:flex;gap:7px;overflow:auto;padding:2px;scrollbar-width:none}.pos-categories::-webkit-scrollbar{display:none}
.pos-category{flex:none;padding:10px 14px;border-radius:999px;border:1px solid #d6e2ec;background:#fff;color:#536b80;font-size:10px;font-weight:900;white-space:nowrap}.pos-category.active{background:#0b6fc9;color:#fff;border-color:#0b6fc9;box-shadow:0 7px 16px rgba(11,111,201,.18)}
.pos-search-wrap{width:260px;flex:none;display:flex;align-items:center;gap:8px;padding:11px 13px;border:1px solid #d6e2ec;border-radius:14px;background:#fff;color:#748494}.pos-search-wrap input{border:0!important;outline:0;width:100%;background:transparent!important;color:inherit!important;font-size:11px}
.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.pos-catalog{min-width:0}.pos-menu-section{margin-bottom:20px}.pos-section-title{display:flex;align-items:center;gap:10px;margin:0 2px 10px}.pos-section-title-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#e8f4fd;font-size:17px}.pos-section-title b{display:block;font-size:15px}.pos-section-title small{display:block;color:#7b8792;font-size:10px;margin-top:2px}
.pos-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pos-product-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:right;border:1px solid #dce6ee;border-radius:17px;padding:13px;background:#fff;min-height:118px;cursor:pointer;transition:.16s;box-shadow:0 5px 16px rgba(20,82,125,.045);color:var(--ink)}.pos-product-card:hover{transform:translateY(-2px);border-color:#a8d2ef;box-shadow:0 10px 22px rgba(20,82,125,.09)}.pos-product-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#f0f7fb;font-size:18px}.pos-product-name{font-weight:900;font-size:12px;line-height:1.35}.pos-product-price{font-size:11px;font-weight:900;color:#1674bd;margin-top:auto}.pos-add-label{position:absolute;left:10px;bottom:10px;font-size:9px;font-weight:900;color:#1687e8;opacity:.9}
.pos-cart{position:sticky;top:0;border:1px solid #cfe0ec;border-radius:22px;background:#fff;padding:16px;box-shadow:0 12px 30px rgba(16,76,118,.09)}.pos-cart-head{padding-bottom:12px}.pos-cart-head>span{background:#eaf5ff;color:#126fbd}.pos-cart-items{max-height:285px;overflow:auto}.pos-cart-row{padding:11px 0}.pos-cart-row b{font-size:11px}.pos-cart-row small{font-size:9px}.pos-qty button{background:#f5f8fa}.pos-cart-total{margin-top:4px;padding:15px 0;border-top:1px solid #e1e9ef}.pos-cart-total strong{font-size:21px;color:#0b5fa9}.pos-note-label textarea{border:1px solid #d7e3eb;border-radius:12px;padding:10px;resize:vertical;background:#f9fcfe;color:var(--ink);outline:0}.pos-submit{height:54px;margin-top:11px;font-size:13px}
.theme-dark .modal.pos-order-modal{background:#081521}.theme-dark .pos-location-bar{background:linear-gradient(135deg,#0d2233,#10283c);border-color:#29485f}.theme-dark .pos-location-bar select,.theme-dark .pos-search-wrap,.theme-dark .pos-category,.theme-dark .pos-product-card,.theme-dark .pos-cart{background:#0d1d2d;color:#edf5ff;border-color:#29465b}.theme-dark .pos-location-hint{background:#102c42;color:#a7cbe5}.theme-dark .pos-product-icon,.theme-dark .pos-qty button{background:#132b3e}.theme-dark .pos-order-badge{background:#10324c;color:#8fd0ff}.theme-dark .pos-category{color:#aac0d3}.theme-dark .pos-category.active{background:#0b6fc9;color:#fff}.theme-dark .pos-note-label textarea{background:#0a1927;border-color:#28445a;color:#edf5ff}
@media(max-width:900px){.modal.pos-order-modal{width:100%;max-height:96vh;border-radius:26px 26px 0 0}.pos-layout{grid-template-columns:1fr}.pos-cart{position:relative;top:auto}.pos-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-search-wrap{width:220px}.pos-location-hint{min-width:0}}
@media(max-width:650px){.pos-modal{padding:18px}.pos-modal-head{padding-bottom:15px}.pos-title-block h2{font-size:22px}.pos-order-badge{display:none}.pos-location-bar{grid-template-columns:1fr 1fr;gap:9px;padding:11px}.pos-location-hint{grid-column:1/-1;min-height:40px}.pos-toolbar{display:block}.pos-categories{margin-bottom:9px}.pos-search-wrap{width:100%}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-product-card{min-height:112px;padding:11px}.pos-cart{border-radius:18px;padding:13px}.pos-cart-items{max-height:240px}.pos-submit{height:52px}}

/* V29 — restaurant owner command dashboard */
.dash-hero{display:flex;align-items:stretch;justify-content:space-between;gap:18px;padding:24px;border:1px solid #d7e5ef;border-radius:26px;background:linear-gradient(135deg,#fafdff 0%,#edf7fd 100%);box-shadow:0 12px 32px rgba(16,77,116,.07);margin-bottom:16px}.dash-hero-main{min-width:0}.dash-hero h1{margin:4px 0 7px;font-size:30px;letter-spacing:-.7px}.dash-hero p{margin:0;color:#637688;line-height:1.65;font-size:12px;max-width:700px}.dash-hero-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:13px;color:#587084;font-size:10px;font-weight:800}.dash-hero-meta span:first-child{color:#218455}.dash-hero-actions{display:flex;align-items:center;gap:9px;flex:none}.dash-hero-actions button{white-space:nowrap;height:45px}.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.dash-kpi{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #dce7ee;border-radius:20px;background:#fff;box-shadow:0 7px 22px rgba(20,82,125,.045)}.dash-kpi>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#eef7fd;font-size:21px}.dash-kpi small{display:block;color:#6e7f8d;font-size:10px;font-weight:800}.dash-kpi strong{display:block;margin-top:3px;font-size:21px;letter-spacing:-.3px}.dash-kpi strong em{font-style:normal;font-size:10px;color:#71818d}.dash-kpi label{display:block;color:#87949f;font-size:9px;margin-top:2px}.dash-main-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);gap:16px;margin-bottom:16px}.dash-main-grid.lower{grid-template-columns:minmax(300px,.85fr) minmax(0,1.45fr)}.dash-card{border:1px solid #dce7ee;border-radius:22px;background:#fff;padding:17px;box-shadow:0 7px 22px rgba(20,82,125,.04);min-width:0}.dash-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}.dash-card-head h2{margin:3px 0 0;font-size:16px;letter-spacing:-.2px}.dash-card-head .eyebrow{font-size:8px;color:#82909b}.text-btn{border:0;background:transparent;color:#1778c1;font-size:10px;font-weight:900;padding:4px;white-space:nowrap}.dash-chart{height:190px;display:flex;align-items:flex-end;gap:9px;padding:10px 2px 0;border-top:1px solid #eef2f5}.dash-bar-col{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.dash-bar{width:min(28px,70%);min-height:5px;border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#1c8dde,#65b9ef);box-shadow:0 7px 15px rgba(28,141,222,.18)}.dash-bar-value{font-size:8px;color:#788894;max-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-bar-col>span{font-size:9px;color:#758590}.dash-table-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dash-table-stat-grid button{border:1px solid #e2e9ee;background:#fbfdfe;border-radius:16px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--ink);cursor:pointer}.dash-table-stat-grid button:hover{border-color:#afd6ed;transform:translateY(-1px)}.dash-table-stat-grid b{font-size:10px}.dash-table-stat-grid strong{font-size:22px}.dash-table-dot{width:10px;height:10px;border-radius:50%;display:block}.dash-table-dot.free{background:#43a76e}.dash-table-dot.busy{background:#ef9c43}.dash-table-dot.pay{background:#d87548}.dash-top-list{display:grid;gap:13px}.dash-top-row{display:grid;grid-template-columns:27px minmax(0,1fr) 30px;align-items:center;gap:9px}.dash-rank{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:#edf6fc;color:#1978bd;font-size:10px;font-weight:900}.dash-top-main{min-width:0}.dash-top-main b{display:block;font-size:11px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-progress{height:5px;border-radius:99px;background:#edf1f4;overflow:hidden}.dash-progress i{display:block;height:100%;border-radius:inherit;background:#2389cf}.dash-top-row>strong{font-size:10px;text-align:left}.dash-order-list{display:grid}.dash-order-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;gap:9px;align-items:center;width:100%;padding:10px 2px;border:0;border-bottom:1px solid #edf1f4;background:transparent;text-align:right;color:var(--ink);cursor:pointer}.dash-order-row:last-child{border-bottom:0}.dash-order-id{font-size:10px;font-weight:900;color:#217cbb}.dash-order-row>div{min-width:0}.dash-order-row b,.dash-order-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-order-row b{font-size:10px}.dash-order-row small{font-size:8px;color:#7c8993;margin-top:3px}.dash-order-status{font-size:8px;font-weight:900;white-space:nowrap;padding:5px 7px;border-radius:999px;background:#f0f4f6;color:#687984}.dash-order-status.on{background:#e9f7ef;color:#278257}.dash-order-status.pending{background:#fff4e6;color:#ad7020}.dash-order-status.off{background:#fceeee;color:#ad5050}.dash-order-row>strong{font-size:9px;white-space:nowrap}.dash-bottom-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:16px;margin-bottom:20px}.dash-alerts{display:grid;gap:8px}.dash-alert{display:grid;grid-template-columns:35px minmax(0,1fr) 18px;align-items:center;gap:9px;width:100%;padding:11px;border:1px solid #e4ebef;border-radius:15px;background:#fbfdfe;color:var(--ink);text-align:right;cursor:pointer}.dash-alert>span:first-child{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#eef6fb}.dash-alert b,.dash-alert small{display:block}.dash-alert b{font-size:10px}.dash-alert small{font-size:8px;color:#7a8993;margin-top:3px;line-height:1.45}.dash-alert.warn{border-color:#f0dfc7}.dash-alert.warn>span:first-child{background:#fff4e4}.dash-alert.info>span:first-child{background:#eaf5fd}.dash-alert.good{cursor:default}.dash-alert.good>span:first-child{background:#eaf7ef;color:#278257}.dash-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.dash-quick-grid button{min-height:82px;border:1px solid #e0e8ed;border-radius:16px;background:#fbfdfe;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;cursor:pointer}.dash-quick-grid button:hover{border-color:#afd6ed;background:#f5fbff;transform:translateY(-1px)}.dash-quick-grid button:first-child{background:#eef7fd;border-color:#cfe4f3}.dash-quick-grid b{font-size:9px}
.theme-dark .dash-hero{background:linear-gradient(135deg,#0b1b29,#10283a);border-color:#28465b}.theme-dark .dash-hero p,.theme-dark .dash-hero-meta{color:#9cb2c2}.theme-dark .dash-kpi,.theme-dark .dash-card{background:#0d1d2d;border-color:#29465b}.theme-dark .dash-kpi>span,.theme-dark .dash-table-stat-grid button,.theme-dark .dash-quick-grid button,.theme-dark .dash-alert{background:#102638;border-color:#29465b;color:#edf5ff}.theme-dark .dash-kpi small,.theme-dark .dash-kpi label,.theme-dark .dash-order-row small,.theme-dark .dash-bar-value,.theme-dark .dash-bar-col>span{color:#8fa5b5}.theme-dark .dash-chart{border-color:#263f52}.theme-dark .dash-progress{background:#1a3345}.theme-dark .dash-order-row{border-color:#20394b}.theme-dark .dash-quick-grid button:first-child{background:#103149;border-color:#2a5570}
@media(max-width:900px){.dash-kpis{grid-template-columns:repeat(2,1fr)}.dash-main-grid,.dash-main-grid.lower,.dash-bottom-grid{grid-template-columns:1fr}.dash-hero{flex-direction:column}.dash-hero-actions{align-self:stretch}.dash-hero-actions button{flex:1}.dash-quick-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:560px){.dash-hero{padding:18px;border-radius:20px}.dash-hero h1{font-size:24px}.dash-hero-actions{display:grid;grid-template-columns:1fr 1fr}.dash-kpis{gap:8px}.dash-kpi{padding:12px;border-radius:16px;gap:9px}.dash-kpi>span{width:37px;height:37px;border-radius:11px;font-size:17px}.dash-kpi strong{font-size:17px}.dash-kpi small{font-size:8px}.dash-kpi label{font-size:7px}.dash-card{padding:13px;border-radius:18px}.dash-chart{height:160px;gap:5px}.dash-table-stat-grid{gap:5px}.dash-table-stat-grid button{padding:11px 5px}.dash-table-stat-grid b{font-size:8px}.dash-table-stat-grid strong{font-size:18px}.dash-order-row{grid-template-columns:42px minmax(0,1fr) auto}.dash-order-row>strong{display:none}.dash-quick-grid{grid-template-columns:repeat(2,1fr)}.dash-quick-grid button{min-height:70px}}
/* V30 Reports */
.report-filter-card{margin:18px 0 22px;padding:22px;border:1px solid var(--line,#e5eaf0);border-radius:24px;background:var(--card,#fff);box-shadow:0 10px 30px rgba(15,23,42,.06)}
.report-filter-head{margin-bottom:16px}.report-filter-head h2{margin:5px 0 0}.report-filter-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr auto;gap:12px;align-items:end}.report-filter-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px}.report-filter-grid input,.report-filter-grid select{height:48px;border:1px solid var(--line,#dce3ea);border-radius:14px;padding:0 13px;background:var(--input,#fff);color:inherit;font:inherit}.report-apply{height:48px;white-space:nowrap}.report-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.report-presets button{border:1px solid var(--line,#dce3ea);background:transparent;border-radius:999px;padding:8px 14px;color:inherit;cursor:pointer}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.report-card{padding:22px;border:1px solid var(--line,#e5eaf0);border-radius:22px;background:var(--card,#fff);box-shadow:0 8px 25px rgba(15,23,42,.045)}.report-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px dashed var(--line,#e5eaf0)}.report-row:last-child{border-bottom:0}.report-row span{min-width:0}.report-row small{opacity:.6;margin-inline-start:6px}.report-row strong{white-space:nowrap}.report-big-number{font-size:34px;font-weight:900;margin:18px 0 8px}.report-summary-card p{opacity:.7;line-height:1.7}.report-stats{margin-top:0}
@media(max-width:800px){.report-filter-grid{grid-template-columns:1fr 1fr}.report-apply{width:100%}.report-grid{grid-template-columns:1fr}.report-filter-card{padding:16px}.report-card{padding:17px}}
@media(max-width:520px){.report-filter-grid{grid-template-columns:1fr}.report-presets{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.report-presets button{flex:0 0 auto}}
.invoice-history-tools{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(110px,.65fr));gap:9px;margin:12px 0 14px}.invoice-history-tools label{display:flex;align-items:center;gap:7px;min-width:0;border:1px solid var(--line,#e1e7ed);background:var(--card,#fff);border-radius:13px;padding:9px 11px;color:var(--muted,#718096);font-size:10px;font-weight:800}.invoice-history-tools label span{white-space:nowrap}.invoice-history-tools input,.invoice-history-tools select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink,#132238);font:inherit}.invoice-history-tools label:first-child{font-size:15px}.invoice-payment-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.invoice-payment-summary>div{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid var(--line,#e1e7ed);border-radius:17px;background:var(--card,#fff)}.invoice-payment-summary span{font-size:10px;font-weight:800;color:var(--muted,#718096)}.invoice-payment-summary b{font-size:20px}.invoice-payment-summary small{font-size:9px;color:var(--muted,#718096)}.theme-dark .invoice-history-tools,.theme-dark .invoice-payment-summary>div{background:#0d1d2d;border-color:#29465b}.theme-dark .invoice-history-tools input,.theme-dark .invoice-history-tools select{color:#edf5ff}.theme-dark .invoice-history-tools label{color:#9cb2c2}.theme-dark .invoice-payment-summary span,.theme-dark .invoice-payment-summary small{color:#9cb2c2}
@media(max-width:900px){.invoice-history-tools{grid-template-columns:1fr 1fr 1fr}.invoice-history-tools label:first-child{grid-column:1/-1}.invoice-payment-summary{grid-template-columns:1fr 1fr}.invoice-payment-summary>div:last-child{grid-column:1/-1}}
@media(max-width:560px){.invoice-history-tools{grid-template-columns:1fr 1fr}.invoice-history-tools label:first-child{grid-column:1/-1}.invoice-history-tools label{padding:9px}.invoice-payment-summary{grid-template-columns:1fr}.invoice-payment-summary>div:last-child{grid-column:auto}}

/* V32 restaurant + receipt settings */
.settings-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:-2px 0 16px;padding:5px;border:1px solid var(--line);border-radius:16px;background:var(--soft,#f5f9fc)}
.settings-tab{min-height:42px;border-radius:12px;background:transparent;color:var(--muted);font-size:10px;font-weight:900}
.settings-tab.active{background:var(--card);color:var(--blue2);box-shadow:0 7px 18px rgba(21,116,184,.09)}
.settings-pane{display:none}.settings-pane.active{display:block}.settings-form{padding-top:2px}.logo-setting{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,rgba(235,247,255,.8),rgba(255,255,255,.7))}.logo-preview{width:70px;height:70px;border-radius:19px;display:grid;place-items:center;overflow:hidden;flex:none;background:#e6f3ff;border:1px solid #cde5f7;font-size:28px}.logo-preview img{width:100%;height:100%;object-fit:cover}.logo-setting b{display:block;font-size:12px;color:var(--ink)}.logo-setting p{margin:5px 0 8px;color:var(--muted);font-size:9px;line-height:1.5}.logo-setting input{font-size:9px}.settings-note{display:flex;gap:9px;align-items:flex-start;padding:12px 13px;margin-bottom:14px;border-radius:15px;background:#eef8ff;border:1px solid #d1e9fa;color:#1d587d;font-size:10px;line-height:1.55}.settings-note b{display:block;color:var(--ink);margin-bottom:2px}.settings-note span{display:block;color:var(--muted);font-size:9px}.receipt-preview-mini{width:min(100%,300px);margin:16px auto 4px;padding:17px 15px;border-radius:12px;background:#fff;border:1px dashed #c7d2dc;box-shadow:0 10px 24px rgba(20,50,80,.08);font-family:Arial,sans-serif;color:#182633}.rp-brand{text-align:center;font-size:17px;font-weight:900}.rp-line{text-align:center;color:#66788a;font-size:9px;padding:5px 0;border-bottom:1px dashed #d4dce3}.rp-items{display:flex;justify-content:space-between;padding:9px 0;font-size:10px;border-bottom:1px dashed #d4dce3}.rp-total{display:flex;justify-content:space-between;padding:11px 0;font-size:12px;font-weight:800;border-top:2px solid #182633;margin-top:5px}.rp-foot{text-align:center;color:#738293;font-size:8px;padding-top:9px;margin-top:4px;border-top:1px dashed #d4dce3}.theme-dark .settings-tabs{background:#102437;border-color:#28445a}.theme-dark .settings-tab.active{background:#173149;color:#9ed6fb}.theme-dark .logo-setting{background:#102437;border-color:#28445a}.theme-dark .logo-preview{background:#123b59;border-color:#2a536e}.theme-dark .settings-note{background:#102f45;border-color:#24506d}.theme-dark .receipt-preview-mini{background:#fff;color:#182633}
@media(max-width:760px){.settings-tabs{grid-template-columns:1fr 1fr 1fr}.settings-tab{font-size:9px}.logo-setting{align-items:flex-start}.logo-preview{width:62px;height:62px}}

/* V32 settings overview */
.settings-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.restaurant-settings-summary{padding:18px}.settings-summary-top{display:flex;align-items:center;gap:12px;margin-bottom:15px}.settings-summary-top .r-logo{flex:none}.settings-summary-top .r-logo img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.settings-summary-top h2{margin:3px 0;font-size:17px}.settings-summary-top p{margin:0;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.settings-summary-grid>div{padding:11px 8px;border:1px solid var(--line);border-radius:14px;background:var(--bg);text-align:center}.settings-summary-grid span{display:block;font-size:15px}.settings-summary-grid b{display:block;margin-top:4px;font-size:11px;color:var(--ink)}.settings-summary-grid small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.theme-dark .settings-summary-grid>div{background:#0c2132}@media(max-width:760px){.settings-overview-grid{grid-template-columns:1fr}.settings-summary-grid{grid-template-columns:repeat(3,1fr)}}
/* V33 · Restaurant activity log */
.activity-card{padding:22px;border:1px solid var(--line,#e5eaf0);border-radius:22px;background:var(--card,#fff);box-shadow:0 8px 25px rgba(15,23,42,.045)}
.activity-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.activity-card-head h2{margin:5px 0 6px}.activity-card-head p{margin:0;opacity:.68;line-height:1.7}
.activity-list{display:flex;flex-direction:column}.activity-row{display:grid;grid-template-columns:46px 1fr auto;gap:13px;align-items:center;padding:15px 4px;border-bottom:1px solid var(--line,#edf0f3)}.activity-row:last-child{border-bottom:0}.activity-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--soft,#f3f6f8);font-size:20px}.activity-main{min-width:0;display:flex;flex-direction:column;gap:5px}.activity-main b{font-size:14px}.activity-main span{font-size:12px;opacity:.58}.activity-row time{font-size:11px;opacity:.58;white-space:nowrap}
@media(max-width:650px){.activity-card{padding:16px}.activity-card-head{flex-direction:column}.activity-row{grid-template-columns:42px 1fr}.activity-row time{grid-column:2}.activity-icon{width:38px;height:38px}}

/* V33.1 detailed activity log */

.activity-tools{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;margin:0 0 18px}
.activity-tools label{display:flex;align-items:center;gap:8px;background:var(--panel,#fff);border:1px solid var(--line,#e6e8ec);border-radius:14px;padding:10px 12px;color:var(--muted,#68707d)}
.activity-tools input,.activity-tools select{width:100%;border:0;outline:0;background:transparent;color:inherit;font:inherit}
.activity-row-detailed{align-items:flex-start;padding:16px 14px}
.activity-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.activity-action-pill{font-size:11px;padding:3px 8px;border-radius:999px;background:var(--soft,#f2f4f7);color:var(--muted,#68707d)}
.activity-details{margin:9px 0 8px;display:grid;gap:6px}
.activity-change{display:flex;justify-content:space-between;gap:18px;padding:7px 9px;border-radius:10px;background:var(--soft,#f7f8fa)}
.activity-change span{color:var(--muted,#68707d)}
.activity-change b{font-weight:700;text-align:end}
.activity-change em{font-style:normal;margin:0 5px;opacity:.65}
.activity-note{font-size:13px;color:var(--muted,#68707d)}
@media(max-width:680px){.activity-tools{grid-template-columns:1fr}.activity-change{display:block}.activity-change b{display:block;text-align:start;margin-top:3px}}
.dark .activity-tools label,.dark .activity-change{background:#171b21;border-color:#2a3038}


/* V34 multilingual user-entered content · carried into V35 */
.ml-editor{margin:4px 0 16px;padding:14px;border:1px solid var(--line,#e6e8ec);border-radius:18px;background:var(--soft,#f7f9fb)}
.ml-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.ml-editor-head>div{display:flex;flex-direction:column;gap:4px}.ml-editor-head small{opacity:.68;line-height:1.5}.ml-translate-btn{white-space:nowrap}.ml-source{margin-bottom:10px}.ml-source label{display:flex;align-items:center;gap:10px}.ml-source select{min-width:130px}.ml-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.ml-tab{border:1px solid var(--line,#dfe5eb);background:var(--card,#fff);color:inherit;border-radius:999px;padding:8px 12px;cursor:pointer;font:inherit}.ml-tab.active{border-color:currentColor;box-shadow:0 0 0 2px rgba(20,90,180,.08)}.ml-pane{padding-top:2px}.ml-pane label{display:block}.theme-dark .ml-editor{background:#171b21;border-color:#2a3038}.theme-dark .ml-tab{background:#11151a;border-color:#2a3038}
@media(max-width:650px){.ml-editor-head{flex-direction:column}.ml-translate-btn{width:100%}.ml-source label{align-items:flex-start;flex-direction:column}.ml-source select{width:100%}.ml-tab{flex:1 1 auto}}

/* V35 · Customer QR interface */
.customer-shell{min-height:100vh;background:var(--bg);padding-bottom:108px}.customer-header{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px max(16px,calc((100vw - 1100px)/2));background:color-mix(in srgb,var(--card) 92%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.customer-brand{display:flex;align-items:center;gap:10px;min-width:0}.customer-brand img{width:42px;height:42px;border-radius:13px}.customer-brand div{min-width:0}.customer-brand b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-brand span{display:block;font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.customer-langs{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.customer-lang{border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:999px;padding:7px 9px;font-size:9px;font-weight:800}.customer-lang.active{color:var(--blue2);border-color:var(--blue2);box-shadow:0 0 0 2px rgba(20,135,232,.08)}.customer-location{max-width:1100px;margin:14px auto 0;padding:0 16px;display:flex;gap:8px;flex-wrap:wrap}.customer-location span{padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:10px;font-weight:800}.customer-hero{max-width:1100px;margin:10px auto 18px;padding:24px 16px 10px}.customer-hero h1{margin:7px 0 5px;font-size:clamp(24px,5vw,38px)}.customer-hero p{margin:0;color:var(--muted);font-size:11px}.customer-section,.customer-orders{max-width:1100px;margin:0 auto 24px;padding:0 16px}.customer-section-head{margin-bottom:12px}.customer-section-head h2{margin:3px 0 3px;font-size:18px}.customer-section-head p{margin:0;color:var(--muted);font-size:10px}.customer-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.customer-product-card{display:flex;text-align:start;gap:11px;padding:11px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 8px 24px rgba(15,23,42,.045);color:inherit;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.customer-product-card:active{transform:scale(.985)}.customer-product-media{width:72px;height:72px;flex:none;border-radius:14px;background:var(--soft);display:grid;place-items:center;overflow:hidden;font-size:26px}.customer-product-media img{width:100%;height:100%;object-fit:cover}.customer-product-info{min-width:0;display:flex;flex-direction:column;gap:4px}.customer-product-info b{font-size:12px}.customer-product-info span{font-size:9px;color:var(--muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.customer-product-info strong{margin-top:auto;font-size:12px}.customer-product-image{width:100%;max-height:260px;object-fit:cover;border-radius:16px;margin:0 0 12px}.customer-product-price{font-size:22px;font-weight:900;margin:8px 0 16px}.customer-bottom{position:fixed;z-index:25;bottom:0;left:0;right:0;padding:10px max(16px,calc((100vw - 1100px)/2));background:color-mix(in srgb,var(--card) 94%,transparent);backdrop-filter:blur(16px);border-top:1px solid var(--line)}.customer-cart-button{width:100%;display:flex;align-items:center;gap:9px;padding:14px 16px;border:0;border-radius:16px;background:var(--blue2);color:#fff;font-weight:900;box-shadow:0 10px 28px rgba(20,120,190,.2)}.customer-cart-button b{min-width:24px;height:24px;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.2)}.customer-cart-button strong{margin-inline-start:auto}.customer-bottom small{display:block;text-align:center;margin-top:6px;font-size:8px;color:var(--muted)}.customer-cart-list{display:grid;gap:8px}.customer-cart-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.customer-cart-row>div:first-child{min-width:0}.customer-cart-row b,.customer-cart-row small{display:block}.customer-cart-row small{font-size:9px;color:var(--muted);margin-top:3px}.customer-qty{display:flex;align-items:center;gap:7px}.customer-qty button{width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:var(--soft);font-weight:900}.customer-cart-total{display:flex;justify-content:space-between;align-items:center;margin:13px 0;padding:13px;border-radius:14px;background:var(--soft);font-weight:900}.customer-cart-total strong{font-size:17px}.customer-note-label{display:block;margin:12px 0}.customer-note-label small{color:var(--muted)}.customer-note-label textarea{margin-top:6px;width:100%;resize:vertical}.customer-order-card{padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--card);margin-bottom:9px}.customer-order-card>div:first-child{display:flex;justify-content:space-between;gap:10px}.customer-order-card span{color:var(--blue2);font-size:10px;font-weight:800}.customer-order-card>strong{display:block;margin-top:8px}.customer-progress{height:5px;border-radius:999px;background:var(--soft);overflow:hidden;margin-top:10px}.customer-progress i{display:block;height:100%;width:20%;background:var(--blue2);border-radius:inherit}.customer-progress i.accepted{width:40%}.customer-progress i.preparing{width:65%}.customer-progress i.ready{width:82%}.customer-progress i.served{width:100%}.customer-progress i.cancelled{width:100%;background:#a55}.customer-error{min-height:100vh;display:grid;place-items:center;align-content:center;text-align:center;padding:30px}.customer-error>div{font-size:42px}.customer-error h1{margin:8px 0}.customer-error p{color:var(--muted)}
@media(max-width:800px){.customer-products{grid-template-columns:1fr 1fr}.customer-header{align-items:flex-start}.customer-brand span{max-width:180px}}
@media(max-width:560px){.customer-header{flex-direction:column}.customer-langs{width:100%;justify-content:flex-start}.customer-lang{flex:1}.customer-products{grid-template-columns:1fr}.customer-product-card{min-height:92px}.customer-product-media{width:82px;height:82px}}
.theme-dark .customer-header,.theme-dark .customer-bottom{background:rgba(10,28,43,.94)}.theme-dark .customer-product-card,.theme-dark .customer-order-card{box-shadow:none}

/* V36 — login helpers */
.link-btn{background:none;border:0;color:#1687e8;font-weight:700;width:100%;padding:12px 8px 4px;font-size:14px;cursor:pointer}
.link-btn:disabled{opacity:.5}

/* V37 — Customer ordering UX refresh */
.customer-shell{background:linear-gradient(180deg,var(--bg) 0%,#f6faff 100%)}
.customer-header{padding-top:calc(11px + env(safe-area-inset-top));}
.customer-brand img{object-fit:contain;background:#eef8ff;padding:3px;box-shadow:0 5px 16px rgba(20,135,232,.10)}
.customer-location{margin-top:10px}
.customer-location span{font-size:10px;color:var(--text);background:rgba(255,255,255,.78)}
.customer-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:8px auto 10px;padding-top:18px}
.customer-hero h1{font-size:clamp(25px,6vw,38px);letter-spacing:-.5px}
.customer-hero p{font-size:11px;line-height:1.7;max-width:650px}
.customer-hero-badge{flex:none;padding:10px 13px;border-radius:14px;background:#eaf6ff;color:var(--blue2);font-weight:900;font-size:11px;border:1px solid #d7ecfb}
.customer-tools{position:sticky;top:69px;z-index:15;max-width:1100px;margin:0 auto 20px;padding:7px 16px 10px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(15px)}
.customer-search{display:flex;align-items:center;gap:9px;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:0 7px 22px rgba(15,23,42,.05);margin-bottom:10px}
.customer-search span{font-size:25px;line-height:1;color:var(--blue2);transform:rotate(-15deg)}
.customer-search input{border:0;outline:0;background:transparent;color:inherit;width:100%;font:inherit;font-size:13px}
.customer-search input::placeholder{color:var(--muted)}
.customer-category-bar{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:none}
.customer-category-bar::-webkit-scrollbar{display:none}
.customer-category{flex:0 0 auto;display:flex;align-items:center;gap:7px;min-height:39px;padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--muted);font:inherit;font-weight:800;font-size:11px;cursor:pointer;white-space:nowrap;transition:.18s ease;box-shadow:0 4px 14px rgba(15,23,42,.035)}
.customer-category small{min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:var(--soft);font-size:9px}
.customer-category.active{background:var(--blue2);border-color:var(--blue2);color:#fff;box-shadow:0 8px 20px rgba(20,135,232,.20)}
.customer-category.active small{background:rgba(255,255,255,.18);color:#fff}
.customer-section{scroll-margin-top:155px}
.customer-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:11px}
.customer-section-head h2{font-size:20px;letter-spacing:-.2px}
.customer-section-count{flex:none;color:var(--muted);font-size:10px;font-weight:800;padding-bottom:4px}
.customer-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.customer-product-card{position:relative;display:grid;grid-template-columns:86px 1fr;min-height:110px;gap:11px;padding:10px;border-radius:18px;box-shadow:0 7px 24px rgba(15,23,42,.055)}
.customer-product-media{width:86px;height:86px;border-radius:15px;background:linear-gradient(135deg,#edf8ff,#f6fbff);font-size:28px}
.customer-product-info{padding:2px 1px 1px;gap:4px}
.customer-product-info b{font-size:13px;line-height:1.4}
.customer-product-info span{font-size:9px;line-height:1.55;min-height:25px}
.customer-product-info strong{font-size:14px;color:var(--blue2);margin-top:3px}
.customer-product-info em{font-style:normal;color:var(--blue2);font-size:10px;font-weight:900;margin-top:auto}
.customer-product-card:active{transform:scale(.975)}
.customer-bottom{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.customer-cart-button{min-height:52px;border-radius:17px}
.theme-dark .customer-shell{background:linear-gradient(180deg,#0b1824 0%,#081521 100%)}
.theme-dark .customer-location span,.theme-dark .customer-search,.theme-dark .customer-category,.theme-dark .customer-hero-badge{background:#111d28;border-color:#273746}
.theme-dark .customer-hero-badge{color:#68b8f7}
.theme-dark .customer-search input{color:#fff}
@media(max-width:650px){
  .customer-tools{top:118px}
  .customer-hero{align-items:flex-start;flex-direction:column;gap:10px}
  .customer-hero-badge{align-self:flex-start}
  .customer-products{grid-template-columns:1fr}
  .customer-product-card{grid-template-columns:92px 1fr;min-height:112px}
  .customer-product-media{width:92px;height:92px}
}
@media(min-width:651px){.customer-product-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.09)}}

/* V38 — customer-first ordering experience */
.customer-shell{min-height:100vh;padding-bottom:104px;background:radial-gradient(circle at 85% 0,rgba(22,135,232,.10),transparent 25%),linear-gradient(180deg,#f8fbff 0%,#eef6fc 100%)}
.customer-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:rgba(248,252,255,.88);border-bottom:1px solid rgba(213,226,239,.75);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.customer-brand{min-width:0;display:flex;align-items:center;gap:10px}.customer-brand img{width:48px;height:48px;border-radius:15px}.customer-brand b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.customer-brand span{display:block;margin-top:3px;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.customer-langs{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.customer-lang{border:1px solid var(--line);background:rgba(255,255,255,.72);color:var(--muted);border-radius:999px;padding:8px 9px;font-size:9px;font-weight:900;white-space:nowrap}.customer-lang.active{color:var(--blue2);border-color:#8cc9f4;background:#edf8ff;box-shadow:0 0 0 2px rgba(20,135,232,.08)}
.customer-location{max-width:1100px;margin:10px auto 0;padding:0 16px;display:flex;gap:7px}.customer-location span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.82);font-size:9px;font-weight:900;color:var(--ink)}
.customer-hero{max-width:1100px;margin:0 auto;padding:20px 16px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-hero h1{margin:3px 0 5px;font-size:27px;letter-spacing:-.7px}.customer-hero p{margin:0;color:var(--muted);font-size:11px}.customer-hero-badge{flex:none;padding:10px 12px;border-radius:15px;background:#e9f6ff;color:var(--blue2);font-size:10px;font-weight:900;border:1px solid #d1ebfb}
.customer-tools{position:sticky;top:69px;z-index:30;max-width:1100px;margin:0 auto;padding:8px 16px 10px;background:rgba(248,251,255,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.customer-search{height:48px;margin:0 0 9px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:0 7px 24px rgba(15,23,42,.05)}.customer-search span{font-size:25px;line-height:1;color:var(--blue2);transform:rotate(-15deg)}.customer-search input{border:0;outline:0;background:transparent;color:inherit;width:100%;font-size:13px}.customer-search input::placeholder{color:var(--muted)}
.customer-category-bar{display:flex;gap:8px;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:none}.customer-category-bar::-webkit-scrollbar{display:none}.customer-category{flex:0 0 auto;min-height:39px;padding:8px 12px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--muted);font-size:10px;font-weight:900;white-space:nowrap;box-shadow:0 4px 13px rgba(15,23,42,.035);transition:.18s}.customer-category small{min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:var(--soft);font-size:8px}.customer-category.active{background:linear-gradient(135deg,#168fe9,#075fc4);border-color:#1687e8;color:#fff;box-shadow:0 8px 20px rgba(20,135,232,.2)}.customer-category.active small{background:rgba(255,255,255,.18);color:#fff}
.customer-section{max-width:1100px;margin:0 auto 24px;padding:0 16px;scroll-margin-top:158px}.customer-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:8px 0 10px}.customer-section-head h2{margin:2px 0;font-size:20px}.customer-section-head p{margin:3px 0 0;color:var(--muted);font-size:10px}.customer-section-count{flex:none;padding-bottom:4px;color:var(--muted);font-size:9px;font-weight:900}
.customer-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.customer-product-card{min-width:0;display:grid;grid-template-columns:88px 1fr;gap:10px;padding:10px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 8px 25px rgba(15,23,42,.055);color:inherit;text-align:start;cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s}.customer-product-card:hover{transform:translateY(-2px);border-color:#b9ddf6;box-shadow:0 13px 30px rgba(15,23,42,.08)}.customer-product-card:active{transform:scale(.985)}.customer-product-media{width:88px;height:88px;border-radius:16px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#edf8ff,#f8fbff);font-size:28px}.customer-product-media img{width:100%;height:100%;object-fit:cover}.customer-product-info{min-width:0;display:flex;flex-direction:column;padding:2px 1px}.customer-product-top{display:flex;align-items:flex-start;gap:6px;justify-content:space-between}.customer-product-top b{font-size:13px;line-height:1.45}.customer-in-cart{flex:none;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#e7f5ff;color:var(--blue2);font-size:8px;font-weight:900}.customer-product-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.55}.customer-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px}.customer-product-bottom strong{font-size:13px;color:var(--blue2)}.customer-add-btn{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#168fe9,#075fc4);color:#fff;font-size:20px;line-height:1;box-shadow:0 7px 15px rgba(20,135,232,.2)}.customer-add-btn:active{transform:scale(.92)}
.customer-product-image{width:100%;max-height:290px;object-fit:cover;border-radius:18px;margin:0 0 13px}.customer-no-image{display:grid;place-items:center;background:linear-gradient(135deg,#edf8ff,#f8fbff);font-size:58px}.customer-product-price{font-size:23px;font-weight:900;color:var(--blue2);margin:5px 0 13px}.customer-detail-qty{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 16px}.customer-detail-qty button{width:40px;height:40px;border:1px solid var(--line);border-radius:13px;background:var(--soft);font-size:20px;font-weight:900;color:var(--ink)}.customer-detail-qty strong{min-width:30px;text-align:center;font-size:18px}
.customer-bottom{position:fixed;z-index:45;left:0;right:0;bottom:0;padding:9px max(14px,calc((100vw - 1100px)/2)) calc(9px + env(safe-area-inset-bottom));background:rgba(248,252,255,.9);border-top:1px solid rgba(213,226,239,.8);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.customer-cart-button{min-height:53px;width:100%;display:flex;align-items:center;gap:9px;padding:11px 14px;border-radius:17px;background:linear-gradient(135deg,#168fe9,#075fc4);color:#fff;box-shadow:0 10px 28px rgba(20,120,190,.2);font-weight:900}.customer-cart-button b{min-width:25px;height:25px;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.18)}.customer-cart-button strong{margin-inline-start:auto;font-size:13px}.customer-bottom small{display:block;margin-top:5px;text-align:center;color:var(--muted);font-size:7px}
.customer-cart-list{display:grid;gap:3px}.customer-cart-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.customer-cart-item{min-width:0;display:flex;align-items:center;gap:8px}.customer-cart-mini{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:10px;background:#edf8ff}.customer-cart-row b{font-size:11px}.customer-cart-row small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.customer-qty{display:flex;align-items:center;gap:6px}.customer-qty button{width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:var(--soft);font-weight:900}.customer-cart-row>strong{font-size:10px;color:var(--blue2);white-space:nowrap}.customer-cart-total{display:flex;align-items:center;justify-content:space-between;margin:13px 0;padding:13px;border-radius:15px;background:var(--soft);font-weight:900}.customer-cart-total strong{font-size:18px;color:var(--blue2)}.customer-note-label{display:block;margin:12px 0;color:var(--ink);font-size:10px;font-weight:900}.customer-note-label small{color:var(--muted);font-weight:700}.customer-note-label textarea{display:block;width:100%;margin-top:6px;resize:vertical;border:1px solid var(--line);border-radius:13px;padding:10px;outline:0;background:var(--card);color:var(--ink)}
.customer-order-card{padding:14px;border:1px solid var(--line);border-radius:17px;background:var(--card);margin-bottom:9px}.customer-order-card>div:first-child{display:flex;justify-content:space-between;gap:10px}.customer-order-card span{color:var(--blue2);font-size:9px;font-weight:900}.customer-order-card>strong{display:block;margin-top:8px;font-size:13px}.customer-progress{height:5px;border-radius:999px;background:var(--soft);overflow:hidden;margin-top:10px}.customer-progress i{display:block;height:100%;width:20%;background:var(--blue2);border-radius:inherit}.customer-progress i.accepted{width:40%}.customer-progress i.preparing{width:65%}.customer-progress i.ready{width:82%}.customer-progress i.served{width:100%}.customer-progress i.cancelled{width:100%;background:#a55}
.theme-dark .customer-shell{background:radial-gradient(circle at 85% 0,rgba(22,135,232,.13),transparent 25%),linear-gradient(180deg,#0b1824,#081521)}.theme-dark .customer-header,.theme-dark .customer-tools,.theme-dark .customer-bottom{background:rgba(8,21,33,.9);border-color:#20384c}.theme-dark .customer-location span,.theme-dark .customer-search,.theme-dark .customer-category,.theme-dark .customer-product-card,.theme-dark .customer-hero-badge{background:#0f2232;border-color:#29445a}.theme-dark .customer-lang{background:#0f2232;border-color:#29445a}.theme-dark .customer-lang.active{background:#0d3551;border-color:#1687e8}.theme-dark .customer-product-media,.theme-dark .customer-cart-mini{background:#132b3e}.theme-dark .customer-add-btn{background:linear-gradient(135deg,#168fe9,#075fc4)}.theme-dark .customer-note-label textarea{background:#0a1927;border-color:#28445a;color:#edf5ff}
@media(max-width:650px){.customer-header{align-items:flex-start}.customer-brand img{width:44px;height:44px}.customer-brand b{max-width:145px}.customer-brand span{max-width:150px}.customer-langs{max-width:145px}.customer-lang{padding:7px 8px;font-size:8px}.customer-tools{top:69px}.customer-hero{align-items:flex-start}.customer-products{grid-template-columns:1fr}.customer-product-card{grid-template-columns:94px 1fr;min-height:114px}.customer-product-media{width:94px;height:94px}.customer-section{scroll-margin-top:155px}}
@media(max-width:420px){.customer-brand span{display:none}.customer-langs{max-width:160px}.customer-lang{flex:0 0 auto}.customer-hero h1{font-size:24px}.customer-hero-badge{font-size:9px;padding:9px}.customer-category{font-size:9px}.customer-product-card{grid-template-columns:88px 1fr}.customer-product-media{width:88px;height:88px}}
