/* @author KARVEX */
:root{--navy:#172b4d;--pink:#ef2055;--kvteal:#079c95;--yellow:#ffbf00;--blue:#2180bc;--sea:#087f8c;--deep:#104b5f;--sand:#fff9ef;--sun:#f5c76b;--coral:#e76f51;--ink:#243b45;--muted:#657782;--line:#dce5e7;--primary:var(--sea);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:15px;color:var(--ink);background:#f4f7f8}*{box-sizing:border-box}body{margin:0}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a.primary,a.secondary{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7dbec4;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:2rem;letter-spacing:-.045em;line-height:1.15}h2{font-size:1.35rem;letter-spacing:-.025em}h3{font-size:1.02rem}p{line-height:1.5}small,.small{font-size:.82rem}.muted{color:var(--muted)}.eyebrow{font-size:.72rem;letter-spacing:.11em;font-weight:750;color:var(--muted);display:block}.spread{display:flex;align-items:center;justify-content:space-between;gap:12px}.block{display:block}.primary,.secondary{border:0;border-radius:10px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;line-height:1.2;text-decoration:none!important;white-space:normal}.primary{background:var(--primary);color:#fff}.primary:hover{filter:brightness(.94)}.secondary{background:#eef3f5;color:var(--ink);border:1px solid #dbe4e9}.full{width:100%}.stack{display:grid;gap:15px;margin-top:18px}.stack label,.order-actions label{display:grid;gap:6px;color:#3c4f5d;font-size:.85rem;font-weight:650}input,select,textarea{border:1px solid #d5dfe5;border-radius:9px;background:#fff;color:var(--ink);padding:11px 12px;width:100%;min-width:0}textarea{min-height:82px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.surface{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;min-width:0}.surface h2{margin-bottom:10px}.narrow{max-width:650px}.line{padding:13px 0;border-bottom:1px solid #e7edef}.line:last-child{border:0}.empty{padding:38px 15px;color:var(--muted);text-align:center;line-height:1.7}.flash{padding:13px 16px;border-radius:10px;margin:0 0 16px;background:#e2f5ee;color:#1c664e;border:1px solid #b7e4d5}.flash.error{background:#fff0f2;color:#a32949;border-color:#f6d4dc}.brand-footer{border-top:1px solid #e2e8eb;background:white;border-radius:14px;margin:30px auto 0;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#51616e;max-width:1200px}.brand-lockup{display:flex;align-items:center;gap:10px}.footer-icon{width:42px;height:42px;object-fit:contain}.footer-logo{width:162px;max-width:100%;display:block}.brand-footer strong{font-size:.8rem;color:var(--navy)}.foot-links{display:flex;gap:12px;flex-wrap:wrap;font-size:.75rem;margin:4px 0}.brand-footer small{font-size:.69rem;color:#677583}.brand-stripe{display:flex;height:7px;flex-shrink:0}.brand-stripe i{flex:1}.brand-stripe i:nth-child(1){background:var(--pink)}.brand-stripe i:nth-child(2){background:var(--kvteal)}.brand-stripe i:nth-child(3){background:var(--yellow)}.brand-stripe i:nth-child(4){background:var(--blue)}.status{display:inline-flex;align-items:center;white-space:nowrap;font-size:.75rem;padding:6px 9px;border-radius:7px;background:#e8edf1;color:#526170;font-weight:700}.st-new{background:#fff1cc;color:#885f09}.st-accepted,.st-preparing{background:#e0edfa;color:#1f6298}.st-ready,.st-delivered{background:#dbf3e9;color:#126846}.st-onway{background:#eee6fa;color:#7046a1}.st-cancelled{background:#fbe1e8;color:#a52a4d}.order-card{border:1px solid var(--line);border-radius:14px;background:white;padding:18px}.order-card h3{margin-top:5px}.order-card .muted{margin:9px 0}.order-lines{border-block:1px solid #e8eef0;padding:10px 0;display:grid;gap:7px;font-size:.9rem}.order-total{padding-top:12px;font-size:.85rem}.order-total strong{font-size:1.1rem}.order-actions{margin-top:14px;display:grid;gap:10px}.actions{display:flex;flex-wrap:wrap;gap:8px}.order-actions .inline{display:flex;align-items:center;gap:8px}.inline input{width:auto}.danger{color:#b52249}.note{padding:10px;background:#fff9e8;border-radius:8px;margin-top:10px;font-size:.85rem}.orders-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:15px}.section-head{margin:24px 0 14px}.demo-hint{font-size:.75rem;background:#eef4f7;padding:9px;border-radius:7px;margin:15px 0 0;color:#526574;overflow-wrap:anywhere}
/* KARVEX card-derived staff login */
.panel{--primary:var(--navy);background:#f2f5f8}.login-stage{max-width:1050px;margin:0 auto;min-height:calc(100vh - 155px);padding:42px 26px;display:grid;grid-template-columns:1.2fr .95fr;align-items:center;gap:70px}.login-copy .eyebrow{color:#07958f;margin-bottom:18px}.login-copy h1{font-size:clamp(2.4rem,5vw,4.3rem);color:var(--navy);line-height:1.05;letter-spacing:-.065em}.login-copy p{color:#637386;margin:22px 0 34px;font-size:1.1rem}.login-feature{display:flex;align-items:center;gap:12px;font-size:.94rem;font-weight:650;color:var(--navy);margin:13px 0}.login-feature span{font-size:.72rem;background:white;border:1px solid #dde5ed;border-radius:6px;padding:6px 9px;color:#079c95}.back-link{display:inline-block;margin-top:26px;font-size:.85rem;color:#526782}.employee-card{background:white;overflow:hidden;border:1px solid #dce4ec;border-radius:15px;box-shadow:0 20px 70px #172b4d13}.employee-card .brand-stripe{height:9px}.employee-body{padding:18px 35px 23px;text-align:center}.lanyard{width:46px;height:9px;border:1px dashed #b3becb;border-radius:9px;margin:0 auto 13px}.footer-logo,.login-logo{border-radius:8px}.login-logo{width:222px;max-width:100%;display:block;margin:0 auto}.card-label{font-size:.67rem;margin:10px 0 16px}.identity-frame{display:grid;place-items:center;position:relative;width:89px;height:83px;margin:0 auto 11px;background:#edf2f5;color:#94aab9;border-radius:12px}.identity-frame:before,.identity-frame:after{content:'';position:absolute;width:13px;height:13px}.identity-frame:before{left:-3px;top:-3px;border-top:2px solid var(--pink);border-left:2px solid var(--pink)}.identity-frame:after{bottom:-3px;right:-3px;border-bottom:2px solid var(--kvteal);border-right:2px solid var(--kvteal)}.employee-body h2{font-size:1.5rem;color:var(--navy)}.employee-body .stack{text-align:left}.employee-body .primary{display:flex;justify-content:space-between}.employee-band{display:block;background:var(--navy);padding:14px;text-align:center;color:#fff;font-size:.8rem;letter-spacing:.05em}.login-stage+.brand-footer{margin:0 auto 24px;max-width:1000px}
/* Staff dashboard */
.shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:var(--navy);color:white;overflow:auto}.side-brand{display:flex;align-items:center;gap:11px;padding:23px 18px 20px}.side-brand img{width:41px;height:41px;border-radius:10px}.side-brand strong{font-size:1rem;letter-spacing:.06em}.side-brand small{display:block;font-size:.6rem;letter-spacing:.12em;color:#9fb2cd;margin-top:4px}.side-caption{padding:12px 20px 7px;font-size:.65rem;letter-spacing:.14em;color:#a8bdd8;font-weight:700}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 15px;margin:2px 10px;color:#d4dfed;border-radius:8px;font-weight:550;font-size:.9rem}.nav-item span{font-size:1.2rem;width:20px;text-align:center;color:#9fb2cd}.nav-item.active{background:#28466b;box-shadow:inset 3px 0 var(--kvteal);color:white}.nav-item:hover{background:#28466b;text-decoration:none}.side-bottom{margin-top:auto;padding:20px}.side-bottom small{display:block;color:#b5c5dc;margin-bottom:8px}.side-bottom button{background:#243c5e;color:white;border-color:#456184;width:100%}.admin-main{padding:25px 30px;min-width:0}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:25px}.top-title,.top-right{display:flex;align-items:center;gap:12px}.admin-top .eyebrow{font-size:.66rem;margin-bottom:6px}.admin-top h1{font-size:1.8rem;color:var(--navy)}.avatar{background:#e4ecf6;color:var(--navy);border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-weight:800}.user-info strong,.user-info small{display:block}.user-info small{color:var(--muted)}.nav-toggle{display:none}.dashboard-intro{padding:25px 27px;background:var(--navy);border-radius:14px;color:white;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;position:relative;overflow:hidden;border-left:5px solid var(--kvteal)}.dashboard-intro h2{font-size:1.65rem;margin:7px 0}.dashboard-intro .eyebrow,.dashboard-intro p{color:#bfd0e4}.dashboard-intro .primary{background:#fff;color:var(--navy)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric{background:white;border:1px solid #e0e7ec;padding:18px 17px;border-radius:12px;display:grid;gap:7px;color:#526474;position:relative}.metric strong{font-size:1.7rem;color:var(--navy);letter-spacing:-.05em}.metric small{font-size:.73rem}.metric-mark{width:30px;height:4px;border-radius:4px;margin-bottom:6px;background:var(--kvteal)}.metric.amber .metric-mark{background:var(--yellow)}.metric.blue .metric-mark{background:var(--blue)}.metric.pink .metric-mark{background:var(--pink)}.dash-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr);gap:16px;margin-bottom:16px}.capacity{background:#edf7f7;padding:20px;border-radius:10px;margin:14px 0;color:#08786e}.capacity strong{display:block;font-size:2.5rem;line-height:1}.capacity span{font-size:.83rem}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.85rem}th{background:#f2f5f8;color:#627486;font-size:.74rem;text-transform:uppercase;letter-spacing:.04em}th,td{padding:12px 10px;border-bottom:1px solid #e7edf1}td{white-space:nowrap}td:first-child{white-space:normal}.admin-main .brand-footer{margin-top:25px}.logout-form{margin-top:15px}
/* Customer PWA */
.customer{background:#fafaf6;--primary:var(--sea)}.customer-header{background:#fff;border-bottom:1px solid #e2e9e5;position:sticky;top:0;z-index:10}.customer-nav{max-width:1170px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:14px 24px;gap:12px}.site-brand{display:flex;align-items:center;gap:10px;color:var(--deep)}.site-brand:hover{text-decoration:none}.site-mark{background:var(--sea);color:white;border-radius:13px 13px 13px 4px;width:43px;height:43px;display:grid;place-items:center;font-size:26px;font-weight:850;position:relative;letter-spacing:-.1em}.site-mark span{position:absolute;right:7px;bottom:6px;color:var(--sun)}.site-brand strong{font-size:1.15rem;letter-spacing:-.03em}.site-brand small{display:block;font-size:.64rem;font-weight:650;letter-spacing:.1em;color:#6c8585}.customer-nav nav{display:flex;align-items:center;gap:22px;font-weight:650;font-size:.88rem}.customer-nav nav a{color:var(--deep)}.cart-link{background:#e7f3f1;padding:9px 13px;border-radius:9px}.cart-link b{display:inline-grid;place-items:center;border-radius:50%;background:var(--sea);color:white;min-width:22px;height:22px;margin-left:5px}.customer-main{max-width:1170px;margin:auto;padding:24px}.hero{background:var(--deep);border-radius:23px;color:white;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;min-height:290px;position:relative}.hero-content{padding:34px 38px;z-index:1}.hero-kicker{display:inline-block;color:#ccece6;font-size:.7rem;font-weight:750;letter-spacing:.11em}.hero-kicker span{color:var(--sun)}.hero h1{font-size:clamp(2.5rem,5vw,4.3rem);letter-spacing:-.06em;line-height:1.03;margin:15px 0 12px}.hero p{max-width:430px;color:#e0f0ef}.hero-button{display:inline-flex;background:var(--sun);color:var(--deep);font-weight:800;border-radius:10px;padding:12px 19px;margin-top:18px}.hero small{display:block;color:#c2dedf;margin-top:13px;font-size:.75rem}.hero-art{display:flex;align-items:end;justify-content:center;background:linear-gradient(180deg,#20717e,#287e87);min-width:0}.hero-art svg{width:100%;height:100%;max-height:360px;object-fit:contain}.menu-section{scroll-margin-top:90px}.section-head .eyebrow{color:var(--sea);margin-bottom:5px}.section-head h2{font-size:1.65rem;color:var(--deep)}.location-pill{background:#e6f4ee;border:1px solid #d3e8dc;color:#356b5b;border-radius:30px;font-size:.78rem;font-weight:650;padding:9px 14px;white-space:nowrap}.search-bar{display:flex;gap:8px;margin-bottom:15px}.search-bar input{background:white}.category-strip{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;scrollbar-width:thin}.category-strip a{border:1px solid #dce6e3;background:white;color:#456164;border-radius:30px;padding:9px 14px;white-space:nowrap;font-size:.85rem;font-weight:650}.category-strip a.selected{background:var(--sea);color:white;border-color:var(--sea)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product-card{border-radius:15px;overflow:hidden;border:1px solid #e0e7e3;background:white;display:flex;flex-direction:column}.product-art{height:126px;display:grid;place-items:center;background:#f8e9d6;position:relative}.product-art span{font-size:4rem;filter:drop-shadow(0 8px 7px #755a3d27)}.product-art small{position:absolute;top:8px;right:8px;background:white;padding:5px;border-radius:5px}.art-lemon,.art-drink,.art-water{background:#e5f3ee}.art-coffee,.art-tea{background:#e8e4e0}.art-icecream,.art-waffle{background:#fae5e2}.art-burger,.art-fries{background:#f7e7c1}.product-body{padding:15px;flex:1;display:flex;flex-direction:column}.product-body h3{color:var(--deep);font-size:1.03rem}.product-body p{color:var(--muted);font-size:.82rem;margin:6px 0 15px;flex:1;min-height:38px}.product-body strong{color:var(--deep);font-size:1.12rem}.add{background:var(--sea);color:white;border:0;width:34px;height:34px;border-radius:10px;font-weight:650;font-size:1.45rem;line-height:1}.auth-customer{max-width:470px;margin:25px auto}.auth-customer h1{margin:10px 0}.auth-customer>a{display:inline-block;margin-top:18px}.cart-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin-top:20px}.cart-row{display:grid;grid-template-columns:45px 1fr auto auto;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid #e4ece8}.cart-art{font-size:1.8rem}.qty-form{display:flex;gap:5px;align-items:center}.qty-form input{width:66px}.qty-form button{font-size:.75rem;padding:8px}.total{padding:13px 0;font-size:1.1rem}.customer-main>h1{color:var(--deep);margin-bottom:20px}.staff-entry{display:block;text-align:center;color:#74888b;font-size:.75rem;margin:0 0 25px}.mobile-nav{display:none}
@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.user-info{display:none}.dash-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(3,1fr)}.admin-main{padding:20px}.shell{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:760px){.login-stage{display:block;padding:24px 16px}.login-copy{display:none}.employee-card{max-width:390px;margin:auto}.employee-body{padding:16px 24px}.login-stage+.brand-footer{margin:0 16px 20px}.shell{display:block}.sidebar{position:fixed;z-index:20;left:0;top:0;width:230px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.nav-toggle{display:inline-flex;padding:9px}.admin-main{padding:15px}.admin-top{align-items:start}.admin-top h1{font-size:1.3rem}.top-title .eyebrow{display:none}.top-right .avatar{display:none}.dashboard-intro{padding:18px;align-items:start;flex-direction:column}.dashboard-intro h2{font-size:1.35rem}.metric{padding:14px}.metric strong{font-size:1.45rem}.surface{padding:16px}.customer-nav{padding:11px 15px}.customer-nav nav{display:none}.customer-main{padding:14px 14px 94px}.hero{grid-template-columns:1fr;min-height:0;position:relative}.hero-content{padding:24px 20px;position:relative}.hero h1{font-size:2.7rem}.hero p{max-width:90%;font-size:.88rem}.hero-art{max-height:122px;overflow:hidden}.hero-art svg{max-height:175px;max-width:270px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-art{height:105px}.product-art span{font-size:3rem}.product-body{padding:11px}.product-body p{font-size:.78rem;min-height:38px}.product-body strong{font-size:1rem}.section-head h2{font-size:1.35rem}.location-pill{font-size:.67rem;padding:7px 9px;white-space:normal}.brand-footer{flex-direction:column;align-items:flex-start;padding:16px;gap:10px}.foot-links{flex-direction:column;gap:5px}.footer-logo{width:145px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;justify-content:space-around;background:white;border-top:1px solid #dbe6e3;padding:9px 0 calc(9px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #164b5e0a}.mobile-nav a{display:grid;place-items:center;gap:4px;font-size:.72rem;font-weight:700;color:var(--deep)}.mobile-nav span{font-size:1.35rem;color:var(--sea)}.staff-entry{margin:-75px auto 83px}.cart-layout{grid-template-columns:1fr}.cart-row{grid-template-columns:36px 1fr auto;gap:7px}.cart-row>strong{grid-column:3;grid-row:1}.qty-form{grid-column:2/4}.order-card{padding:15px}.spread{gap:8px}.category-strip{margin-right:-14px}.customer-header{position:relative}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.progress-track{display:flex;gap:4px;margin-top:11px}.progress-track span{flex:1;height:5px;background:#e5e9ed;border-radius:4px}.progress-track .reached{background:var(--sea)}
