:root{--blue:#087bd3;--deep:#093b72;--ink:#142c45;--muted:#647a8d;--bg:#f2f6fa;--line:#e1e9f1;--shadow:0 10px 32px #1d50700b}*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink)}a{color:#076db8;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.btn{border:0;border-radius:10px;cursor:pointer;background:var(--blue);color:white;padding:11px 17px;font-weight:650;display:inline-flex;justify-content:center;gap:8px;align-items:center;line-height:1.3;text-decoration:none}button:hover,.btn:hover{filter:brightness(.94);text-decoration:none}.secondary{background:#e8f2fc;color:#155d98}.danger{background:#fff0ef;color:#b03735}.small{font-size:12px;padding:8px 11px}.ghost{background:white;color:var(--ink);border:1px solid var(--line)}input,select,textarea{width:100%;border:1px solid #cbd7e1;border-radius:9px;padding:11px 12px;color:var(--ink);background:white;min-height:44px}input:focus,select:focus,textarea:focus{outline:3px solid #27b7e333;border-color:var(--blue)}input[type=checkbox],input[type=radio]{width:18px;min-height:18px;accent-color:var(--blue)}input[type=color]{height:44px;padding:4px}label{display:block;font-size:13px;font-weight:600;margin:0 0 6px}label.check{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;margin:12px 0}.field{margin-bottom:17px}.field small,.muted,small{color:var(--muted)}textarea{min-height:90px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin-bottom:12px}h2{font-size:21px;line-height:1.3;margin-bottom:15px}h3{font-size:16px}p{margin-bottom:14px}.eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:750;color:#2284b7;margin-bottom:9px}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--line);padding:20px 16px;overflow-y:auto;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:750}.brand img{width:72px;height:72px;object-fit:contain}.brand small{display:block;font-weight:500;font-size:11px;letter-spacing:.6px}.sidebar .brand{margin-bottom:23px}.nav-group{margin:23px 12px 7px;font-size:10px;letter-spacing:1.7px;color:#7c8c9c;font-weight:700}.sidebar nav a{display:flex;padding:10px 13px;border-radius:8px;color:#53697c;font-size:13px;font-weight:550;margin:2px 0}.sidebar nav a.active{background:linear-gradient(110deg,#e4f4ff,#edf8fa);color:#0575bf;font-weight:750}.sidebar nav a:hover{background:#f1f7fb;text-decoration:none}.app-main{margin-left:246px}.topbar{height:77px;background:#ffffffd9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:12px}.topbar .user{font-size:12px;text-align:right}.topbar form{margin:0}.content{max-width:1440px;margin:auto;padding:32px 36px 60px}.public-top{max-width:1180px;margin:0 auto;padding:14px 22px;display:flex;justify-content:space-between;align-items:center}.public-top .brand img{width:64px;height:64px}.public-wrap{max-width:1180px;margin:auto;padding:24px 22px 70px}.footer{padding:25px;text-align:center;font-size:12px;color:var(--muted)}.footer img{width:66px;display:block;margin:auto auto 6px}.hero{background:linear-gradient(115deg,#07396a,#075f9f 66%,#04a2c4);border-radius:20px;color:white;padding:32px;margin-bottom:24px;position:relative;overflow:hidden}.hero .eyebrow{color:#7bdbf1}.hero p{color:#c1e6ff;max-width:640px}.hero .btn{background:white;color:#075b93}.hero h1{font-size:32px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.grid{display:grid;gap:20px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:23px;box-shadow:var(--shadow);margin-bottom:20px}.card.flush{padding:0;overflow:hidden}.card-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.card-title h2{margin:0}.stat{background:white;padding:22px;border:1px solid var(--line);border-radius:14px}.stat strong{display:block;font-size:29px;line-height:1.3;margin:8px 0}.stat span{font-size:12px;color:var(--muted)}.badge{display:inline-flex;border-radius:50px;padding:5px 10px;background:#e9f1f8;color:#46627b;font-size:11px;font-weight:750}.badge.new{background:#e1f1ff;color:#006aaf}.badge.preparing{background:#fff3d8;color:#97660e}.badge.ready,.badge.completed,.badge.active{background:#e4f7ec;color:#26774f}.badge.cancelled,.badge.blocked{background:#fde9e9;color:#a73131}.badge.out{background:#ede7fd;color:#7050a8}.notice{padding:15px 18px;background:#e9f5ff;border:1px solid #b9e0f6;border-radius:10px;margin-bottom:20px}.notice.error{background:#fff0ee;border-color:#f0c6c1;color:#973f36}.notice.warning{background:#fff8e7;border-color:#ebdbad;color:#785b1a}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#7890a5;background:#f7fafc;padding:13px 14px}td{padding:15px 14px;border-top:1px solid #eaf0f5;vertical-align:middle}td form{display:inline-block;margin:2px}td .thumb{width:45px;height:45px;object-fit:cover;border-radius:9px}tr:hover td{background:#fbfdff}.empty{text-align:center;color:var(--muted);padding:40px 20px}.auth-wrap{max-width:480px;margin:5vh auto;padding:20px}.auth-wrap .brand{justify-content:center;margin-bottom:20px}.auth-wrap .brand img{width:112px;height:112px}.auth-wrap .card{padding:30px}.auth-wrap h1{font-size:25px}.section-title{margin:28px 0 15px}.store-hero{position:relative;background:linear-gradient(115deg,#08395c,#0a8bac);color:white;min-height:200px;border-radius:20px;padding:28px;overflow:hidden;margin-bottom:24px}.store-hero .cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.24}.store-hero .store-info{position:relative;display:flex;gap:22px;align-items:center}.store-logo{width:100px;height:100px;object-fit:contain;background:white;border-radius:18px}.store-hero p{margin:4px 0}.store-hero a{color:white}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;color:var(--ink);box-shadow:var(--shadow)}.product:hover{text-decoration:none;box-shadow:0 10px 28px #1b61831a}.product img{width:100%;height:190px;object-fit:cover;background:#eff5f9}.product-info{padding:19px;display:flex;flex:1;flex-direction:column;gap:7px}.product-info p{font-size:13px;color:var(--muted);margin:0;flex:1}.product-info strong{font-size:17px}.product-info h3{margin:0}.price{color:#0876bf;font-weight:750;font-size:20px}.tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 20px;white-space:nowrap}.tabs a{background:white;border:1px solid var(--line);padding:8px 15px;border-radius:25px;color:var(--ink);font-size:13px}.product-detail{max-width:860px;margin:auto}.product-detail>img{width:100%;height:300px;object-fit:cover;border-radius:16px}.option-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2f6;padding:10px 0;gap:12px}.option-row label{margin:0}.summary-line{display:flex;justify-content:space-between;gap:20px;margin:9px 0}.summary-total{font-size:23px;font-weight:750;border-top:1px solid var(--line);padding-top:17px;margin-top:17px}.sticky{position:sticky;top:20px;align-self:start}.cart-item{display:flex;gap:16px;justify-content:space-between;border-bottom:1px solid var(--line);padding:17px 0}.cart-item:first-child{padding-top:0}.cart-item p{font-size:12px;margin:4px 0}.kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.lane{background:#e9eff5;border-radius:15px;padding:15px}.lane-title{display:flex;justify-content:space-between;font-size:13px;font-weight:750;margin-bottom:15px}.ticket{padding:17px;margin-bottom:12px}.ticket h3{font-size:22px}.ticket ul{padding-left:18px;font-size:13px}.ticket li{margin:9px 0}.ticket small{display:block}.qr{width:180px;height:180px;image-rendering:pixelated;display:block;margin:15px auto}.banners{display:flex;gap:15px;overflow:auto;margin-bottom:22px}.banners img{height:160px;max-width:100%;border-radius:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.full{grid-column:1/-1}.hidden{display:none!important}.mobile-toggle{display:none}.search{max-width:360px}.receipt{background:#fff;max-width:500px;margin:25px auto;padding:20px;color:#000;font-size:13px}.receipt h1{font-size:22px}.receipt-logo{display:block;width:90px;max-height:90px;object-fit:contain;margin:auto}.receipt .receipt-head{text-align:center}.receipt .line{border-top:1px dashed #777;margin:14px 0}.receipt .item{margin-bottom:12px}.receipt .item small{display:block;color:#333}.receipt .row{justify-content:space-between;align-items:flex-start}.login-links{display:flex;justify-content:space-between;font-size:12px;margin-top:20px}.menu-search{margin-bottom:22px}.store-contact{font-size:12px}.stepper{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.stepper span{padding:7px 13px;border-radius:30px;background:#e7eff7;font-size:12px}.stepper .done{background:#dff2e8;color:#276b4a}.print-only{display:none}.inline-form{display:inline-block}.nowrap{white-space:nowrap}.spacer{height:20px}.width-full{width:100%}.notification{position:fixed;right:24px;bottom:24px;background:#093b72;color:white;padding:16px 23px;border-radius:13px;box-shadow:0 7px 25px #0002;z-index:30}.hint{font-size:12px;color:var(--muted);margin:5px 0 15px}.notification a{color:white}.form-grid .card{margin:0}.tagline{font-size:12px;color:var(--muted)}
@media(max-width:1100px){.four{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:218px}.app-main{margin-left:218px}.content{padding:25px}.kanban{grid-template-columns:1fr}.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #0006}.app-main{margin-left:0}.mobile-toggle{display:inline-flex}.topbar{height:auto;min-height:66px;padding:12px 18px}.topbar .user{display:none}.content,.public-wrap{padding:20px 16px 50px}h1{font-size:25px}.hero{padding:24px}.hero h1{font-size:27px}.two,.three,.form-grid{grid-template-columns:1fr}.four{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.card{padding:19px}.catalog-grid{gap:12px}.product img{height:140px}.product-info{padding:13px}.product-info h3{font-size:14px}.product-info p{font-size:12px}.store-hero{padding:22px}.store-logo{width:72px;height:72px}.store-hero .store-info{gap:15px}.store-hero h1{font-size:24px}.public-top{padding:10px 16px}.public-top .brand small{display:none}.public-top .brand img{width:53px;height:53px}.sticky{position:static}.auth-wrap{margin:2vh auto}.receipt{margin:15px auto}.full{grid-column:auto}.search{max-width:100%}}
@media print{body{background:#fff}.no-print,.sidebar,.topbar,.public-top,.footer,.notice,.notification{display:none!important}.app-main{margin:0}.content,.public-wrap{padding:0}.receipt{margin:0 auto;padding:2mm;width:72mm;font:11px/1.35 Arial,sans-serif}.receipt.w58{width:48mm}.receipt h1{font-size:17px}.receipt-logo{width:65px;height:65px}.receipt .item{break-inside:avoid}.receipt small{font-size:9px}.print-only{display:block}a{color:#000}.card{box-shadow:none}.qr{width:42mm;height:42mm}.table-card{break-inside:avoid;border:1px solid #ddd}.three{grid-template-columns:repeat(3,1fr)}@page{margin:4mm}}
