:root {
  --ink: #1d1914;
  --muted: #736b61;
  --paper: #f5f1e9;
  --panel: #fffdf8;
  --line: #e4ddd1;
  --amber: #d88b20;
  --amber-dark: #a65f08;
  --amber-soft: #fff0d1;
  --green: #267153;
  --green-soft: #dff4e9;
  --red: #b84336;
  --red-soft: #fce6e1;
  --blue: #326b94;
  --blue-soft: #e4f0f8;
  --shadow: 0 18px 45px rgba(45, 35, 22, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 1.1fr) minmax(430px, .9fr); }
.login-art {
  position: relative; overflow: hidden; display: grid; place-content: center;
  color: #fff8e9; background: #17130f;
  background-image: radial-gradient(circle at 70% 25%, rgba(218,139,32,.24), transparent 28%), linear-gradient(145deg, #241b12, #100e0c 72%);
}
.login-art::before, .login-art::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.login-art::before { width: 560px; height:560px; left:-230px; bottom:-310px; }
.login-art::after { width: 280px; height:280px; right:-90px; top:-100px; }
.beer-mark { position:relative; z-index:2; font-family: Georgia, serif; font-size:clamp(72px, 9vw, 138px); font-weight:700; line-height:.68; letter-spacing:-.07em; }
.beer-mark span { color: var(--amber); margin-left:.45em; font-style:italic; }
.login-art p { z-index:2; margin:52px 0 0; font:italic 24px/1.45 Georgia,serif; color:#cfc2ad; }
.art-glow { position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(216,139,32,.14); filter:blur(15px); }
.art-orbit { position:absolute; border:1px solid rgba(216,139,32,.26); border-radius:50%; }
.orbit-one { width:520px; height:520px; top:17%; left:24%; }
.orbit-two { width:700px; height:700px; top:8%; left:14%; }
.login-panel { display:grid; place-items:center; padding:50px; background:#faf7f1; }
.login-card { width:min(430px,100%); }
.brand-small, .brand { letter-spacing:.16em; font-size:13px; font-weight:800; }
.brand-dot { display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--amber); margin-right:8px; box-shadow:0 0 0 5px rgba(216,139,32,.15); }
.login-card h1 { margin:50px 0 9px; font:700 42px/1.1 Georgia,serif; letter-spacing:-.03em; }
.muted { color:var(--muted); }
label { display:grid; gap:8px; color:#534b42; font-size:14px; font-weight:650; }
.login-card label { margin-top:23px; }
input, select, textarea {
  width:100%; border:1px solid var(--line); border-radius:12px; padding:13px 14px; color:var(--ink); background:#fff;
  outline:none; transition:.18s border,.18s box-shadow;
}
input:focus, select:focus, textarea:focus { border-color:var(--amber); box-shadow:0 0 0 4px rgba(216,139,32,.13); }
textarea { min-height:90px; resize:vertical; }
.btn { border:0; border-radius:12px; padding:11px 16px; font-weight:750; transition:.18s transform,.18s opacity,.18s background; }
.btn:hover { transform:translateY(-1px); }
.btn:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.btn-primary { background:var(--amber); color:#21170a; }
.btn-primary:hover { background:#e59b32; }
.btn-dark { background:var(--ink); color:#fff; }
.btn-ghost { background:#eee8de; color:#4a433b; }
.btn-danger { background:var(--red-soft); color:var(--red); }
.btn-small { padding:7px 10px; font-size:12px; border-radius:9px; }
.btn-large { width:100%; display:flex; justify-content:space-between; margin-top:30px; padding:15px 18px; }
.form-error { color:var(--red); background:var(--red-soft); padding:11px; border-radius:10px; }
.demo-accounts { margin-top:24px; color:var(--muted); font-size:13px; }
.demo-accounts summary { cursor:pointer; }
.account-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:12px; }
.account-grid button { border:1px solid var(--line); background:#fff; border-radius:9px; padding:8px; color:#554d44; }

.app-shell { min-height:100vh; display:grid; grid-template-columns:240px 1fr; }
.sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:28px 18px 20px; color:#d8cdbd; background:#18140f; }
.brand { color:#fff4e1; padding:6px 12px 35px; }
.main-nav { display:grid; gap:5px; }
.nav-link { width:100%; display:flex; align-items:center; gap:12px; border:0; border-radius:11px; padding:11px 13px; color:#aa9f90; background:transparent; text-align:left; font-weight:650; }
.nav-link span { width:22px; text-align:center; font-size:18px; }
.nav-link:hover { color:#fff; background:rgba(255,255,255,.055); }
.nav-link.active { color:#fff4e1; background:#30261b; box-shadow:inset 3px 0 var(--amber); }
.sidebar-foot { margin-top:auto; border-top:1px solid rgba(255,255,255,.08); padding-top:17px; }
.user-badge { display:flex; gap:10px; align-items:center; padding:8px 10px 14px; }
.avatar { width:35px; height:35px; display:grid; place-items:center; border-radius:50%; color:#24180c; background:var(--amber); font-weight:900; }
.user-meta strong { display:block; color:#f9eedf; font-size:13px; }
.user-meta small { color:#8e8375; }
.logout-btn { margin-top:5px; }
.app-body { min-width:0; }
.topbar { height:96px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 36px; border-bottom:1px solid var(--line); background:rgba(245,241,233,.9); backdrop-filter:blur(10px); }
.topbar h2 { margin:3px 0 0; font:700 27px/1.1 Georgia,serif; }
.eyebrow { margin:0; color:var(--amber-dark); font-size:10px; font-weight:850; letter-spacing:.18em; }
.topbar-actions { display:flex; align-items:center; gap:12px; }
.clock { color:var(--muted); font-size:13px; }
.icon-btn { width:40px; height:40px; display:grid; place-items:center; border:1px solid var(--line); border-radius:11px; background:var(--panel); font-size:18px; }
.mobile-only { display:none; }
.main-content { padding:30px 36px 55px; }

.section-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:22px; }
.section-head h3 { margin:0; font:700 26px/1.15 Georgia,serif; }
.section-head p { margin:7px 0 0; color:var(--muted); }
.toolbar { display:flex; gap:9px; flex-wrap:wrap; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:26px; }
.stat-card { position:relative; overflow:hidden; min-height:138px; padding:20px; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); box-shadow:var(--shadow); }
.stat-card::after { content:""; position:absolute; width:80px; height:80px; border-radius:50%; right:-25px; bottom:-30px; background:var(--amber-soft); }
.stat-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:var(--amber-soft); font-size:20px; }
.stat-card strong { display:block; margin-top:15px; font:700 27px Georgia,serif; }
.stat-card span:last-child { color:var(--muted); font-size:13px; }
.panel { border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); box-shadow:var(--shadow); }
.panel-head { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid var(--line); }
.panel-head h4 { margin:0; font-size:15px; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; }
th, td { padding:14px 18px; border-bottom:1px solid #eee8de; text-align:left; white-space:nowrap; }
th { color:var(--muted); background:#faf7f1; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
td { font-size:14px; }
tbody tr:last-child td { border-bottom:0; }
.money { font-variant-numeric:tabular-nums; font-weight:750; }
.chip, .status { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:999px; font-size:11px; font-weight:800; }
.chip-drink { color:#91600b; background:var(--amber-soft); }
.chip-food { color:#9b3d33; background:var(--red-soft); }
.status-open, .status-pending { color:#8c650c; background:#fff2ce; }
.status-in_progress, .status-preparing { color:var(--blue); background:var(--blue-soft); }
.status-ready { color:var(--green); background:var(--green-soft); }
.status-served { color:#625e58; background:#ece9e4; }
.status-paid { color:var(--green); background:var(--green-soft); }
.status-cancelled { color:var(--red); background:var(--red-soft); }

.order-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:20px; align-items:start; }
.order-main { min-width:0; }
.order-setup { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:17px; }
.filter-row { display:flex; gap:8px; margin-bottom:17px; }
.filter-btn { border:1px solid var(--line); border-radius:999px; padding:8px 13px; color:var(--muted); background:var(--panel); font-weight:700; }
.filter-btn.active { color:#21170a; border-color:var(--amber); background:var(--amber-soft); }
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:13px; }
.product-card { position:relative; display:grid; gap:9px; min-height:170px; padding:17px; border:1px solid var(--line); border-radius:16px; background:var(--panel); text-align:left; box-shadow:0 7px 20px rgba(47,37,24,.05); }
.product-card:hover { border-color:#d6ad6c; transform:translateY(-2px); box-shadow:var(--shadow); }
.product-icon { font-size:35px; }
.product-card strong { font-size:15px; }
.product-card small { color:var(--muted); line-height:1.4; }
.product-price { align-self:end; color:var(--amber-dark); font-weight:850; }
.cart { position:sticky; top:116px; overflow:hidden; }
.cart-body { max-height:52vh; overflow:auto; padding:6px 18px; }
.cart-empty { padding:44px 15px; color:var(--muted); text-align:center; }
.cart-empty span { display:block; margin-bottom:10px; font-size:36px; filter:grayscale(1); opacity:.5; }
.cart-item { padding:14px 0; border-bottom:1px solid #eee7dc; }
.cart-item-top { display:flex; justify-content:space-between; gap:12px; }
.cart-item strong { font-size:13px; }
.cart-controls { display:flex; align-items:center; gap:8px; margin-top:9px; }
.qty-btn { width:27px; height:27px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.cart-note { margin-top:8px; padding:8px 9px; font-size:12px; }
.cart-foot { padding:17px 18px; border-top:1px solid var(--line); background:#faf7f1; }
.cart-total { display:flex; justify-content:space-between; margin-bottom:13px; }
.cart-total strong { font:700 20px Georgia,serif; }
.cart-foot .btn { width:100%; }

.board-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:16px; }
.ticket { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--panel); box-shadow:var(--shadow); }
.ticket-head { display:flex; justify-content:space-between; align-items:start; padding:15px 17px; background:#292017; color:#fff8ec; }
.ticket-head strong { display:block; }
.ticket-head small { color:#bbae9d; }
.ticket-time { color:#e4b563; font-size:12px; font-weight:750; }
.ticket-item { padding:15px 17px; border-bottom:1px solid #eee8de; }
.ticket-item:last-child { border-bottom:0; }
.item-row { display:flex; justify-content:space-between; gap:12px; }
.item-name { font-weight:750; }
.item-qty { color:var(--amber-dark); font-weight:900; }
.item-note { margin:6px 0; color:var(--red); font-size:12px; font-style:italic; }
.ticket-actions { display:flex; gap:7px; margin-top:11px; }
.empty-state { padding:65px 20px; text-align:center; border:1px dashed #d5ccbf; border-radius:var(--radius); color:var(--muted); }
.empty-state .empty-icon { display:block; margin-bottom:12px; font-size:46px; }

.order-list { display:grid; gap:12px; }
.order-row { display:grid; grid-template-columns:1.1fr .9fr 1fr auto; align-items:center; gap:15px; padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.order-row h4 { margin:0 0 4px; }
.order-row p { margin:0; color:var(--muted); font-size:13px; }
.order-items-mini { color:var(--muted); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bill-row { grid-template-columns:1fr .8fr .8fr auto; }

.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-grid .full { grid-column:1/-1; }
.form-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:20px; }
.toggle { width:42px; height:24px; position:relative; border:0; border-radius:999px; background:#c9c4bc; }
.toggle::after { content:""; position:absolute; width:18px; height:18px; top:3px; left:3px; border-radius:50%; background:#fff; transition:.2s; }
.toggle.on { background:var(--green); }
.toggle.on::after { left:21px; }

.qr-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.qr-card { padding:18px; border:1px solid var(--line); border-radius:18px; background:var(--panel); box-shadow:var(--shadow); text-align:center; break-inside:avoid; }
.qr-image { aspect-ratio:1; display:grid; place-items:center; margin-bottom:13px; border-radius:14px; background:#fff; }
.qr-image img { width:100%; height:100%; object-fit:contain; }
.qr-card>p { margin:0; color:var(--amber-dark); font-size:9px; font-weight:900; letter-spacing:.15em; }
.qr-card>h3 { margin:5px 0 3px; font:700 26px Georgia,serif; }
.qr-card>span { color:var(--muted); font-size:12px; }
.qr-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:15px; }
.qr-actions a, .qr-modal a { text-decoration:none; }
.qr-modal { text-align:center; }
.qr-modal img { width:min(390px,100%); padding:10px; background:#fff; }
.qr-modal p { color:var(--muted); }

.modal-root { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:20px; background:rgba(20,16,12,.62); backdrop-filter:blur(4px); }
.modal { width:min(560px,100%); max-height:90vh; overflow:auto; border-radius:20px; background:var(--panel); box-shadow:0 30px 80px rgba(0,0,0,.28); }
.modal-wide { width:min(760px,100%); }
.modal-head { display:flex; justify-content:space-between; align-items:center; padding:20px 22px; border-bottom:1px solid var(--line); }
.modal-head h3 { margin:0; font:700 23px Georgia,serif; }
.modal-close { border:0; background:transparent; font-size:24px; color:var(--muted); }
.modal-body { padding:22px; }
.receipt { border:1px dashed #bcb2a4; padding:22px; background:#fff; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; }
.receipt h3 { text-align:center; margin:0; }
.receipt-line { display:flex; justify-content:space-between; gap:15px; padding:8px 0; border-bottom:1px dashed #ddd; font-size:13px; }
.receipt-total { display:flex; justify-content:space-between; margin-top:15px; font-size:18px; font-weight:900; }
.toast-root { position:fixed; z-index:100; right:20px; bottom:20px; display:grid; gap:9px; }
.toast { min-width:260px; max-width:360px; padding:13px 16px; border-radius:12px; color:#fff; background:#29221a; box-shadow:var(--shadow); animation:toast-in .25s ease; }
.toast.error { background:#8f352d; }
@keyframes toast-in { from { transform:translateY(10px); opacity:0; } }
.spinner { width:34px; height:34px; margin:70px auto; border:3px solid #e4ddd1; border-top-color:var(--amber); border-radius:50%; animation:spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

@media (max-width: 1050px) {
  .stats-grid { grid-template-columns:1fr 1fr; }
  .order-layout { grid-template-columns:1fr; }
  .cart { position:static; }
  .cart-body { max-height:none; }
}
@media (max-width: 780px) {
  .login-view { grid-template-columns:1fr; }
  .login-art { min-height:260px; padding:50px 30px; place-content:start; }
  .beer-mark { font-size:72px; }
  .login-art p { margin-top:30px; font-size:18px; }
  .login-panel { padding:38px 22px; }
  .login-card h1 { margin-top:34px; font-size:35px; }
  .app-shell { grid-template-columns:1fr; }
  .sidebar { position:fixed; z-index:40; left:-260px; width:240px; transition:.25s left; box-shadow:15px 0 40px rgba(0,0,0,.2); }
  .sidebar.open { left:0; }
  .mobile-only { display:grid; }
  .topbar { height:82px; padding:13px 18px; }
  .topbar > div:first-of-type { flex:1; }
  .clock { display:none; }
  .main-content { padding:22px 16px 45px; }
  .section-head { align-items:start; flex-direction:column; }
  .stats-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .stat-card { min-height:120px; padding:16px; }
  .product-grid { grid-template-columns:1fr 1fr; gap:9px; }
  .product-card { min-height:155px; padding:13px; }
  .order-setup, .form-grid { grid-template-columns:1fr; }
  .form-grid .full { grid-column:auto; }
  .order-row, .bill-row { grid-template-columns:1fr; gap:10px; }
  th, td { padding:12px; }
}
@media (max-width: 430px) {
  .stats-grid { grid-template-columns:1fr; }
  .product-grid { grid-template-columns:1fr 1fr; }
  .product-card small { display:none; }
  .topbar h2 { font-size:22px; }
}

@media print {
  body > * { display:none !important; }
  .modal-root, .modal, .modal-body, .receipt { display:block !important; position:static; box-shadow:none; border:0; }
  .modal-head, .form-actions { display:none !important; }
  .app-shell { display:block !important; }
  .sidebar, .topbar, .section-head, .qr-actions { display:none !important; }
  .main-content { padding:0 !important; }
  .qr-grid { display:grid !important; grid-template-columns:repeat(3,1fr); gap:12px; }
  .qr-card { box-shadow:none; padding:10px; }
}

/* Visual refresh v4 */
:root{--ink:#18221d;--muted:#6e7872;--paper:#f3f6f3;--panel:#fff;--line:#e1e7e2;--amber:#eda731;--amber-dark:#98600c;--amber-soft:#fff3dc;--green:#267153;--green-soft:#e1f2e8;--red:#b84336;--red-soft:#fbe8e4;--blue:#376e96;--blue-soft:#e7f0f7;--shadow:0 10px 30px rgba(24,53,39,.065);--radius:16px}
body{background:linear-gradient(135deg,#f1f5f1,#f8f7f3);color:var(--ink)}
.login-art{background:radial-gradient(circle at 72% 20%,rgba(237,167,49,.2),transparent 28%),linear-gradient(145deg,#173d2e,#0e2018 72%)}.beer-mark{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:850;letter-spacing:-.085em}.login-art p{font-family:inherit;font-style:normal;color:#b8c9bf}.login-panel{background:#f7f8f5}.login-card h1{font-family:inherit;font-weight:850;letter-spacing:-.045em}.brand-dot{background:#f0aa37}
input,select,textarea{border-color:#dce4dd;border-radius:11px;background:#fff}input:focus,select:focus,textarea:focus{border-color:#6d9b82;box-shadow:0 0 0 4px rgba(45,112,80,.11)}
.btn{border-radius:10px}.btn-primary{color:#fff;background:#1e6549}.btn-primary:hover{background:#174f3a}.btn-dark{background:#17251e}.btn-ghost{color:#536059;background:#edf1ed}.btn-danger{color:#a23e35;background:#f9e8e5}
.app-shell{grid-template-columns:260px 1fr}.sidebar{width:260px;padding:25px 15px 18px;background:linear-gradient(180deg,#142d23,#0e1e18);box-shadow:8px 0 28px rgba(18,45,33,.08)}.brand{padding:8px 14px 30px;color:#f3f8f4}.main-nav{gap:4px}.nav-link{padding:12px 14px;border-radius:10px;color:#8fa49a}.nav-link:hover{color:#f3f8f4;background:rgba(255,255,255,.055)}.nav-link.active{color:#fff;background:rgba(255,255,255,.105);box-shadow:inset 3px 0 #f0aa37}.nav-link span{font-size:17px}.avatar{color:#173326;background:#f0aa37}.user-meta strong{color:#f0f5f1}.user-meta small{color:#82988d}
.topbar{height:84px;padding:15px 32px;border-color:#e1e7e2;background:rgba(247,249,246,.88)}.topbar h2{font-family:inherit;font-size:25px;font-weight:850;letter-spacing:-.04em}.eyebrow{color:#39765a}.icon-btn{border-color:#dce4dd;border-radius:10px;background:#fff}.main-content{width:min(1500px,100%);margin:auto;padding:28px 32px 60px}
.section-head h3{font-family:inherit;font-size:25px;font-weight:850;letter-spacing:-.035em}.section-head p{font-size:13px}.stats-grid{gap:13px}.stat-card{min-height:132px;padding:18px;border-color:#e0e7e1;box-shadow:var(--shadow)}.stat-card::after{background:#e8f2eb}.stat-icon{background:#e8f2eb}.stat-card strong{font-family:inherit;font-size:27px;font-weight:850}.panel{border-color:#dfe6e0;box-shadow:var(--shadow)}.panel-head{padding:17px 19px}
th{color:#68756e;background:#f5f8f5}th,td{border-color:#ebefeb}tbody tr:hover td{background:#fbfcfb}
.filter-btn{border-color:#dce4dd;background:#fff}.filter-btn.active{border-color:#a9c6b5;color:#174d38;background:#e7f1eb}.product-grid{gap:11px}.product-card{min-height:165px;border-color:#e0e6e1;border-radius:14px;box-shadow:0 5px 18px rgba(24,53,39,.04)}.product-card:hover{border-color:#9ebcab;box-shadow:0 12px 28px rgba(24,53,39,.09)}.product-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#f4f5ef;font-size:29px}.product-price{color:#87601c}.cart{top:103px}.cart-foot{background:#f6f8f6}.cart-total strong{font-family:inherit;font-weight:850}
.ticket{border-color:#dfe6e0;box-shadow:var(--shadow)}.ticket-head{background:#173d2e}.ticket-head small{color:#afc1b7}.ticket-time{color:#f0bd67}.item-qty{color:#306e51}.order-row{border-color:#dfe6e0;border-radius:13px;box-shadow:0 5px 18px rgba(24,53,39,.035)}
.qr-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:14px}.qr-card{padding:16px;border-color:#dfe6e0;border-radius:16px;box-shadow:var(--shadow)}.qr-image{padding:8px;border:1px solid #edf0ed}.qr-card>h3{font-family:inherit;font-size:23px;font-weight:850;letter-spacing:-.03em}.qr-card>p{color:#39765a}.modal-root{background:rgba(10,28,19,.58)}.modal{border:1px solid rgba(255,255,255,.5);border-radius:18px}.modal-head h3{font-family:inherit;font-weight:850;letter-spacing:-.03em}.toast{background:#173d2e}
@media(max-width:780px){.sidebar{left:-280px;width:260px}.topbar{height:76px;padding:11px 15px}.main-content{padding:20px 14px 45px}.stats-grid{grid-template-columns:1fr 1fr}.section-head{gap:12px}.section-head h3{font-size:23px}.product-grid{gap:9px}.product-card{min-height:152px}.qr-grid{grid-template-columns:1fr 1fr;gap:10px}.qr-card{padding:11px}.qr-actions{gap:5px}.qr-actions .btn{padding:6px 8px}}
@media(max-width:430px){.stats-grid{grid-template-columns:1fr 1fr}.stat-card{min-height:112px}.qr-grid{grid-template-columns:1fr}.topbar h2{font-size:21px}}
