:root{font-family:"Segoe UI",system-ui,sans-serif;color:#0a1e49;background:#f9fbff}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 5% 26%,#e2f7fb 0,transparent 34%),radial-gradient(ellipse at 6% 94%,#f7edf9 0,transparent 31%),radial-gradient(ellipse at 95% 85%,#e4f7fa 0,transparent 30%),#fbfcff}.app-shell{min-height:100dvh;max-width:680px;margin:auto}.page{display:none;min-height:100dvh;padding-bottom:max(30px,env(safe-area-inset-bottom))}.page.active{display:block}.home-header{display:grid;grid-template-columns:70px 1fr 50px;gap:14px;align-items:center;padding:55px 16px 0}.logo{display:grid;place-items:center;width:70px;height:62px;border:1px solid #d5e3eb;border-radius:17px;background:#fff;box-shadow:0 4px 12px #0a1e4911;text-decoration:none;line-height:1}.logo b{font-size:24px;color:#45ad53;letter-spacing:1px}.logo span{font-size:16px;color:#45ad53}.home-header h1,.home-header p{margin:0}.home-header h1{font-size:18px;font-weight:650}.home-header p{margin-top:7px;font-size:15px}.round{width:42px;height:42px;border:1px solid #d7e4ec;border-radius:13px;background:#fff;color:#092151;font:700 24px/1 inherit;box-shadow:0 3px 10px #0a1e490d}.settings{font-size:20px;color:#36798f}.manager{text-align:center;margin:36px 0 19px;font-size:18px;font-weight:500}.menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:0 11px}.menu-tile{display:grid;place-items:center;align-content:center;min-height:79px;border:1px solid #d6e3eb;border-radius:16px;background:#fff;color:#061d49;text-decoration:none;box-shadow:0 5px 12px #0a1e490f;overflow:hidden}.menu-tile img{width:53px;height:52px;object-fit:cover}.menu-tile span{font-size:12px;line-height:1.05;text-align:center}.muted-tile{opacity:.52}.qr-tile{background:linear-gradient(145deg,#397889,#164858),url("assets/payment-qr-tile.png") center/80px;color:#fff;text-shadow:0 1px #143b46;font-size:13px}.page-header{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:12px;min-height:64px;padding:10px 15px;background:linear-gradient(105deg,#75dfdc,#48c5d7 55%,#3995bd);box-shadow:0 2px 12px #2389a825}.page-header h1{margin:0;text-align:center;font-size:20px;font-weight:600}.page-body{padding:19px 15px 30px}.page-body h2{margin:22px 0 13px;font-size:20px;font-weight:500}.primary{width:100%;min-height:43px;border:0;border-radius:15px;background:linear-gradient(100deg,#72e1dc,#4cc2d4);box-shadow:0 5px 12px #1a9ba82d;color:#061e4a;font:500 17px inherit}.list-card{display:grid;grid-template-columns:34px 1fr 16px;gap:7px;align-items:center;width:100%;margin-top:15px;padding:14px 12px;border:1px solid #d9e5ed;border-radius:19px;background:#fff;color:#0a1e49;text-align:left;box-shadow:0 5px 14px #0a1e4910;font:inherit}.list-card i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e2f5f9;color:#34798e;font-size:22px;font-style:normal}.list-card b{display:block;font-size:16px;line-height:1.35}.list-card small{display:block;margin-top:3px;font-size:15px;line-height:1.35}.list-card em{font-size:26px;font-style:normal}.price-card{margin-top:15px}.price-card i{background:transparent;border-radius:0}.caption{margin:8px 0;color:#425274;font-size:13px}.search{width:100%;height:43px;margin:14px 0 0;border:1px solid #d7e4ed;border-radius:13px;background:#fff;padding:0 12px;box-shadow:0 4px 11px #0a1e490b;color:#0a1e49;font:16px inherit}.stack{display:grid;gap:8px;margin-top:10px}.data-card{padding:11px;border:1px solid #dce8ef;border-radius:17px;background:#fff;box-shadow:0 4px 13px #0a1e4910}.data-card b{display:block;font-size:16px}.data-card p{margin:4px 0 0;font-size:13px;line-height:1.35}.tabs,.filter-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin:-1px 0 17px;border-radius:13px;background:#edf7f9;overflow:hidden}.tabs button,.filter-tabs button{min-height:50px;border:0;background:transparent;color:#0a1e49;font:14px inherit}.tabs .selected,.filter-tabs .selected{border:1px solid #d6e3eb;border-radius:12px;background:#fff;box-shadow:0 3px 10px #0a1e4910}.filter-tabs{gap:10px;background:transparent;overflow:visible}.filter-tabs button{border:1px solid #d9e5ed;border-radius:14px;background:#fff;box-shadow:0 3px 10px #0a1e4910}.filter-tabs .selected{background:#5acbd4}.refresh-note{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding:8px 10px;border:1px solid #d1e5eb;border-radius:11px;background:#eaf9fc;font-size:13px}.refresh-note button{padding:10px;border:1px solid #dce7ee;border-radius:10px;background:#fff;color:#0a1e49;font:600 14px inherit}.centered{text-align:center}.qr-card{max-width:460px;margin:20px auto 16px;padding:14px;border-radius:22px;background:#fff;box-shadow:0 6px 17px #0a1e4913}.qr-card img{display:block;width:100%;height:auto}dialog{width:min(92vw,440px);border:0;border-radius:20px;box-shadow:0 15px 40px #06143044;color:#0a1e49}dialog::backdrop{background:#09214b66}dialog form{display:grid;gap:12px;padding:14px}dialog h2{margin:4px 30px 8px 0;font-size:20px}.dialog-close{position:absolute;right:14px;top:13px;border:0;background:none;color:#47617b;font-size:26px}.dialog-fields{display:grid;gap:10px}.dialog-fields label{display:grid;gap:5px;font-size:13px}.dialog-fields input,.dialog-fields textarea,.dialog-fields select{width:100%;border:1px solid #d7e4ed;border-radius:11px;padding:10px;color:#0a1e49;font:inherit}.dialog-fields textarea{min-height:82px;resize:vertical}#toast{position:fixed;z-index:2;left:50%;bottom:23px;transform:translate(-50%,140px);width:max-content;max-width:90vw;padding:11px 15px;border-radius:12px;background:#09214b;color:#fff;transition:transform .2s}#toast.show{transform:translate(-50%,0)}@media(min-width:500px){.home-header{padding-top:32px}.menu-grid{max-width:410px;margin:auto}.page{min-height:680px}}@media(max-width:370px){.menu-tile{min-height:74px}.menu-tile img{width:48px;height:47px}.page-body{padding-left:12px;padding-right:12px}}
/* Hash routing stays available even during a delayed data refresh. */
body:has(.page:target) .page.active{display:none}.page:target{display:block}
