/* Urdu letters (Urdu product names). Jameel Noori Nastaleeq: uses the copy installed on the device if there is one, else the file in assets/fonts. */
@font-face { font-family: 'Jameel Noori Nastaleeq'; font-style: normal; font-display: swap; src: local('Jameel Noori Nastaleeq'), url('../fonts/JameelNooriNastaleeq.woff2') format('woff2'); unicode-range: U+00A0, U+00BC-00BE, U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; size-adjust: 150%; ascent-override: 72%; descent-override: 34%; line-gap-override: 0%; }
/* Union Bakers - shared styles. Colours come from the logo; contrast checked for tablets in bright shops. */
:root {
  --red: #B0121B;
  --red-dark: #8E0E16;
  --gold: #E8A33A;
  --gold-bright: #F2B54A;
  --gold-soft: #FCEBC6;
  --brown: #3B1F12;
  --ink: #2B1A10;
  --ink-soft: #5E4838;      /* quiet text: 7:1 on white */
  --cream: #FBF4E6;
  --sand: #F3E7D5;          /* soft button background */
  --line: #EADBC2;
  --white: #FFFFFF;
  --off-bg: #E9DFD2;        /* disabled buttons */
  --off-ink: #5E4838;
  --bad-bg: #FDE7E7;  --bad: #A3121B;
  --warn-bg: #FCEBC6; --warn: #6B4A08;
  --good-bg: #E3EFE0; --good: #2E5A2A;
  --radius: 18px;
  --shadow: 0 4px 16px rgba(59, 31, 18, 0.10);
  --font-head: 'Rubik', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
input, textarea { -webkit-user-select: text; user-select: text; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform 120ms ease-out, background-color 150ms ease-out;
  touch-action: manipulation;
}
button:active:not(:disabled) { transform: scale(0.97); }
button:disabled { cursor: not-allowed; background: var(--off-bg) !important; color: var(--off-ink) !important; border-color: var(--off-bg) !important; box-shadow: none !important; }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
  button:active:not(:disabled) { transform: none; }
}

.head { font-family: var(--font-head); }
.hidden { display: none !important; }

/* Buttons */
.btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-outline { background: var(--white); color: var(--brown); border: 2px solid var(--line); }
.btn-soft { background: var(--sand); color: var(--brown); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover:not(:disabled) { background: var(--red-dark); }
.btn-brown { background: var(--brown); color: var(--gold-bright); }
.btn-big { min-height: 68px; border-radius: 18px; font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.icon-btn { width: 48px; height: 48px; padding: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }

/* Toast for short messages */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  min-width: 320px; max-width: 80vw; padding: 16px 22px; border-radius: 16px;
  background: var(--brown); color: var(--white); font-size: 17px; font-weight: 700; text-align: center;
  box-shadow: var(--shadow); z-index: 100;
}
.toast.bad { background: var(--bad); }

/* Modal */
.overlay { position: fixed; inset: 0; background: rgba(43, 26, 16, 0.55); display: flex; align-items: center; justify-content: center; z-index: 50; }
.dialog { background: var(--white); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; max-height: 94vh; overflow-y: auto; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-title { font-family: var(--font-head); font-size: 23px; font-weight: 700; }

/* Numpad */
.numpad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.numpad button { height: 64px; border-radius: 14px; background: var(--sand); color: var(--ink); font-family: var(--font-head); font-size: 27px; font-weight: 700; }
.numpad button.word { font-size: 17px; }

.amount-box {
  height: 68px; padding: 0 20px; border-radius: 18px; border: 3px solid var(--red); background: #FFFBF4;
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  font-family: var(--font-head); font-size: 32px; font-weight: 800;
}

/* Thermal receipt (80 mm) used for printing */
#print-area { display: none; }
@media print {
  @page { size: 80mm auto; margin: 0; }
  body * { visibility: hidden !important; }
  #print-area, #print-area * { visibility: visible !important; }
  #print-area { display: block !important; position: absolute; left: 0; top: 0; width: 76mm; padding: 2mm; background: #fff; }
}
.receipt { font-family: 'Courier New', monospace; font-size: 12px; color: #000; display: flex; flex-direction: column; gap: 4px; }
.receipt .c { text-align: center; }
.receipt .b { font-weight: 700; }
.receipt .row { display: flex; justify-content: space-between; gap: 6px; }
.receipt .row span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt .rule { border-top: 1px dashed #000; margin: 2px 0; }

/* Drop-down page menu on full-screen tablet pages (ub_quick_menu) */
.qmenu { position: relative; }
.qmenu summary { list-style: none; cursor: pointer; }
.qmenu summary::-webkit-details-marker { display: none; }
.qmenu-list { position: absolute; left: 0; top: calc(100% + 8px); z-index: 70; width: 260px; max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: none; padding: 8px; border-radius: 18px; background: var(--white); box-shadow: 0 12px 32px rgba(59, 31, 18, 0.22); display: flex; flex-direction: column; gap: 2px; }
.qmenu-list::-webkit-scrollbar { display: none; }
.qmenu-list a { flex-shrink: 0; min-height: 48px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; gap: 12px; color: var(--brown); text-decoration: none; font-size: 16px; font-weight: 700; }
.qmenu-list a:hover, .qmenu-list a:focus-visible { background: var(--sand); outline: none; }
.qmenu.left .qmenu-list { left: 0; right: auto; }

/* Language switch */
.lang-btn { min-width: 64px; padding: 0 14px; font-weight: 800; }
.ur-word { font-family: 'Jameel Noori Nastaleeq', serif; font-size: 18px; line-height: 1; position: relative; top: -2px; }
.login-lang { position: fixed; top: 16px; right: 16px; z-index: 5; }
.ur-input { font-family: 'Jameel Noori Nastaleeq', var(--font-body); font-size: 18px; line-height: 2; }

/* payment: Cash box and Online box (one bill can be paid both ways); the tapped box takes the numpad */
.pay-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-box { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; width: 100%; cursor: pointer; font-family: inherit; }
.pay-box small { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.pay-box span { font-family: var(--font-head); }
.pay-boxes .pay-box { height: auto; min-height: 76px; padding: 8px 14px; font-size: 28px; border-color: var(--line); }
.pay-boxes .pay-box.on { border-color: var(--red); background: #FFF8F2; box-shadow: 0 0 0 3px rgba(178, 18, 27, .12); }
.pay-boxes .pay-box.zero:not(.on) span { color: var(--ink-soft); }
.pay-hint { font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-left: 6px; }
.acc-pick { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.acc-pick span { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.acc-pick select { min-height: 48px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); font: 700 16px var(--font-body); color: var(--ink); }
.acc-pick select:focus { outline: none; border-color: var(--red); }
@media (max-width: 600px) { .pay-boxes .pay-box { min-height: 64px; font-size: 24px; } }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick button { min-height: 48px; padding: 0 6px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font: 800 14px var(--font-body); line-height: 1.2; cursor: pointer; }

/* Account statement (shared: Payment Accounts, Salesman Accounts, Issuance, salesman app) */
.ast-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ast-bal { display: flex; flex-direction: column; gap: 2px; }
.ast-bal small { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.ast-bal .head { font-size: 28px; }
.ast-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.ast-tools label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.ast-tools input { min-height: 44px; padding: 0 10px; border-radius: 12px; border: 2px solid var(--line); font-family: var(--font-body); font-size: 15px; font-weight: 700; }
.ast-tools .btn { min-height: 44px; }
.ast-in { color: var(--good); font-weight: 800; }
.ast-out { color: var(--bad); font-weight: 800; }
.ast-void { text-decoration: line-through; color: var(--ink-soft); }
.ast-wrap { max-height: 60vh; overflow: auto; }
.ast-wrap .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
@media (max-width: 600px) { .ast-wrap { max-height: none; } .ast-top { flex-direction: column; align-items: stretch; } .ast-tools { display: grid; grid-template-columns: 1fr 1fr; } .ast-tools input { width: 100%; min-width: 0; } .ast-tools .btn { grid-column: 1 / -1; } }

/* Payment Accounts */
/* Payment Accounts: list, default accounts, statement */
.pa-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pa-lead { margin: 0; max-width: 820px; font-size: 15px; font-weight: 700; line-height: 1.55; color: var(--ink-soft); }
.pa-lead b { color: var(--ink); }
.pa-head .btn { min-height: 48px; flex: none; }
.pa-card { margin-bottom: 16px; }
.pa-note { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--ink-soft); line-height: 1.5; }
.pa-t { font-weight: 800; }
.pa-s { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.pa-own { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 800; background: #F6ECDD; color: var(--ink); white-space: nowrap; }
.pa-own.bakery { background: var(--good-bg); color: var(--good); }
.pa-bal { font-weight: 800; color: #7A5200; }
.pa-acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.pa-acts .btn { min-height: 40px; padding: 0 14px; }
.pa-def { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pa-defrow { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 2px solid #F1E6D4; }
.pa-defrow b { font-size: 16px; }
.pa-defrow select, .pa-form select, .pa-form input { min-height: 48px; width: 100%; padding: 0 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--ink); }
.pa-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pa-form .field { margin: 0; }
.pa-form .full { grid-column: 1 / -1; }
.pa-chk { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 800; cursor: pointer; }
.pa-chk input { width: 22px; height: 22px; min-height: 0; accent-color: var(--red); }
@media (max-width: 900px) { .pa-def { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .pa-head { flex-direction: column; align-items: stretch; }
  .pa-form { grid-template-columns: minmax(0, 1fr); }
  .pa-defrow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pa-acts { justify-content: flex-start; }
}
.ast-det { display: block; min-width: 0; }
.ast-list { display: flex; flex-direction: column; }
.ast-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line, #E4D6C6); }
.ast-row:first-child { border-top: 0; }
.ast-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.ast-l > small, .ast-r small { font-size: 12px; font-weight: 700; color: var(--ink-soft, #6B5646); }
.ast-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; font-size: 15px; }

/* Full-screen tablet pages (Counter, Issuance, Route Sale): the same left menu as the office pages on wide
   screens (above 1100px); below that the page keeps its own Menu button, exactly as before. */
.fsx-side { display: none; }
.fsx-row, .fsx-main { display: contents; }
@media (min-width: 1101px) {
  .fsx-row { display: flex; height: 100vh; overflow: hidden; }
  @supports (height: 100dvh) { .fsx-row { height: 100dvh; } }
  .fsx-main { display: flex; flex: 1; min-width: 0; flex-direction: column; overflow: hidden; }
  .fsx-main > .iapp, .fsx-main > .app, .fsx-main > .sapp { height: 100%; flex: 1; min-height: 0; }
  .fsx-side { display: flex; }
  .fsx-main .qmenu, .fsx-main .itop-logo-link, .fsx-main .topbar-logo, .fsx-main .stop-logo-link { display: none; }
  .fsx-side.side { width: 232px; flex-shrink: 0; background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow-y: auto; }
  /* the side menu scrolls, but its scroll bar is not shown */
  .fsx-side.side { scrollbar-width: none; -ms-overflow-style: none; }
  .fsx-side.side::-webkit-scrollbar { display: none; }
  .fsx-side .side-brand { display: flex; justify-content: center; padding: 12px 0 4px; }
  .fsx-side .side-brand img { width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; }
  .fsx-side.side nav { padding: 4px 12px 20px; display: flex; flex-direction: column; gap: 2px; }
  .fsx-side .side-group { margin: 14px 10px 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--ink-soft); }
  .fsx-side .side-link { min-height: 48px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; gap: 12px; color: var(--brown); text-decoration: none; font-size: 16px; font-weight: 700; }
  .fsx-side .side-link:hover { background: var(--sand); }
  .fsx-side .side-link.on { background: var(--red); color: var(--white); }
  .fsx-side .side-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
}
.side-count { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.side-count[hidden] { display: none; }

/* Shop balances everywhere: red = the shop owes us (to take), green = its advance with us */
.bal-due, .money-bad { color: var(--bad, #B3121F) !important; font-weight: 800; }
.bal-adv, .money-good { color: var(--good, #1E7B3F) !important; font-weight: 800; }
.dark .bal-due, .bal-box .bal-due { color: #FF9C9C !important; }
.dark .bal-adv, .bal-box .bal-adv { color: #9BE3B0 !important; }

/* Rate away from the standard rate: red = below, amber = above (Bills, Reports, Route Sale) */
.rtag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; vertical-align: middle; }
.rtag.low { background: #FBE3E4; color: #A3121C; }
.rtag.high { background: #FFE9C2; color: #8A5200; }
.low-t { color: #A3121C; font-weight: 800; }
.high-t { color: #8A5200; font-weight: 800; }
.rate-stat { display: flex; flex-wrap: wrap; gap: 6px; font-size: 16px !important; }
.rate-stat .rtag { min-height: 30px; font-size: 14px; }
tr.row-low > td { background: #FFF5F5; }
tr.row-high > td { background: #FFFAF0; }
tr.row-low > td:first-child { box-shadow: inset 4px 0 0 #D9434C; }
tr.row-high > td:first-child { box-shadow: inset 4px 0 0 #E2A53A; }
@media (max-width: 760px) {
  tr.row-low > td:first-child, tr.row-high > td:first-child { box-shadow: none; }
  .tbl tr.row-low { border-left: 5px solid #D9434C; }
  .tbl tr.row-high { border-left: 5px solid #E2A53A; }
}
/* Bills: the Credit and Recovery cards are buttons that open their list */
.stat-btn { text-align: left; font: inherit; color: inherit; cursor: pointer; border: 2px solid transparent; }
.stat-btn:hover { border-color: #E9D9C2; }
.cellstack { display: inline-flex; flex-direction: column; gap: 1px; }
.cellstack small { font-size: 12px; }
td.num .cellstack { align-items: flex-end; }
@media (max-width: 760px) { .tbl td .cellstack { align-items: flex-end; text-align: right; } }

/* Cancel dialogs: payment cancel and bill cancel choice */
.pay-cancelled { display: flex; flex-direction: column; gap: 2px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #FDECEE; color: var(--bad, #B3121F); font-size: 14px; font-weight: 700; }
.pay-cancelled b { font-size: 16px; }
.pay-cx { display: flex; flex-direction: column; gap: 12px; }
.pay-cx-amt { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--cream); }
.pay-cx-amt small { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.pay-cx-amt .head { font-size: 28px; font-weight: 800; color: var(--bad, #B3121F); }
.pay-cx-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.bc-dlg { display: flex; flex-direction: column; gap: 12px; }
.bc-p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.bc-pay { margin: 0; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.bc-pay legend { padding: 0 6px; font-size: 14px; font-weight: 800; color: var(--brown); }
.bc-opt { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 2px solid transparent; background: var(--cream); cursor: pointer; }
.bc-opt input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--red, #B3121F); }
.bc-opt span { display: flex; flex-direction: column; gap: 2px; }
.bc-opt b { font-size: 16px; }
.bc-opt small { font-size: 13px; font-weight: 700; color: var(--ink-soft); line-height: 1.4; }
.bc-opt:has(input:checked) { border-color: var(--brown); background: #fff; }

/* Pending actions banner (slow or no internet): fixed at the top of every office page */
.pend-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px;
  font-size: 15px; font-weight: 700; line-height: 1.35; box-shadow: 0 2px 10px rgba(59, 31, 18, 0.18); }
.pend-bar.hidden { display: none; }
.pend-bar.wait { background: #FFF1CC; color: #6B4A00; border-bottom: 2px solid #F2C94C; }
.pend-bar.bad { background: #FDECEE; color: var(--bad, #B3121F); border-bottom: 2px solid #F5B8C2; }
.pend-ic { width: 12px; height: 12px; border-radius: 50%; background: currentColor; flex-shrink: 0; animation: pend-blink 1.4s ease-in-out infinite; }
.pend-bar.bad .pend-ic { animation: none; }
@keyframes pend-blink { 50% { opacity: 0.25; } }
.pend-tx { flex: 1; min-width: 0; }
.pend-bs { display: flex; gap: 8px; flex-shrink: 0; }
.pend-btn { min-height: 38px; padding: 0 16px; border-radius: 10px; border: 2px solid currentColor; background: #fff; color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
html.has-pend body { padding-top: var(--pend-h, 52px); }
.pend-list { display: flex; flex-direction: column; gap: 8px; }
.pend-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--cream); }
.pend-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pend-row small { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.pend-row.failed { background: #FDECEE; }
.pend-row.failed small { color: var(--bad, #B3121F); }
.pend-acts { display: flex; gap: 8px; flex-shrink: 0; }
.pend-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #FFF1CC; color: #6B4A00; font-weight: 800; }
@media (max-width: 600px) {
  .pend-bar { flex-wrap: wrap; font-size: 14px; }
  .pend-bs { width: 100%; }
  .pend-btn { flex: 1; }
  .pend-row { flex-direction: column; align-items: stretch; }
}
.pend-note { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: #FFF1CC; color: #6B4A00; font-size: 14px; font-weight: 800; }
.pend-tag.bad { background: #FDECEE; color: var(--bad, #B3121F); }
/* full-screen pages (Issuance) keep their own scroll: shrink them by the banner height instead of pushing the page */
html.has-pend .fsx-row { height: calc(100vh - var(--pend-h, 52px)); }
@supports (height: 100dvh) { html.has-pend .fsx-row { height: calc(100dvh - var(--pend-h, 52px)); } }
html.has-pend .bar { top: var(--pend-h, 52px); }
#filters .field input:disabled, #filters .field select:disabled { opacity: 0.45; cursor: not-allowed; }

/* Arrange menu */
.side-arrange { margin-top: 10px; opacity: 0.75; }
.side-arrange:hover { opacity: 1; }
.mo-p { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.mo-list { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow: auto; padding-right: 4px; }
.mo-group { border: 2px solid var(--line); border-radius: 14px; padding: 6px 8px 8px; }
.mo-ghead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 6px; }
.mo-gname { font-size: 13px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--brown); }
.mo-item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 6px 0 10px; border-radius: 12px; background: var(--cream); margin-top: 6px; }
.mo-ic { display: inline-flex; color: var(--brown); }
.mo-name { flex: 1; font-weight: 800; }
.mo-arrows { display: inline-flex; gap: 6px; }
.mo-btn { width: 44px; height: 40px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--brown); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mo-btn:disabled { opacity: 0.3; cursor: default; }

/* Bills: location pin after the shop name (tap for the map); clearer line between bills */
.party-cell { display: inline; }
.party-cell .where-pin { vertical-align: middle; margin-left: 6px; }
.where-pin { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; border: 0; padding: 0; background: #EFE6D8; color: #7A6A5C; font-family: inherit; }
button.where-pin { cursor: pointer; }
.where-pin.good { background: #E3F1E4; color: #2E7D32; }
.where-pin.bad { background: #FBE3E3; color: #B0121B; }
.where-pin.warn { background: #FFF1D0; color: #9A6400; }
button.where-pin:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#list .tbl td { border-top-color: #E2D2BB; }
