/*#c1*/

/*#c2*/
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /*#c3*/
}
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/*#c4*/
.rota-staff-chip.dragging { opacity: 0.5; }

/*#c5*/
html.app-shell,
body.app-shell {
  overflow: hidden;
  height: 100vh;
  height: 100dvh; /*#c6*/
  overscroll-behavior: none;
}
body.app-shell {
  display: flex;
  flex-direction: column;
}
/*#c7*/
body.app-shell.page-terminal .main-content,
body.app-shell.page-display .main-content,
body.app-shell.page-menuboard .main-content {
  overflow: visible;
}

/*#c8*/
.tools-group { position:relative; display:flex; align-items:center; }
.tools-toggle { cursor:pointer; padding:12px 14px; }
.tools-chevron { display:inline-block; transition:transform 0.15s; }
.tools-group.open .tools-chevron { transform:rotate(90deg); }
.tools-body { position:absolute; top:calc(100% + 6px); right:0; display:flex; flex-direction:column; gap:10px; min-width:210px; background:var(--bg-card); border:1px solid var(--border); border-radius: var(--radius); padding:10px; z-index:50; box-shadow:0 4px 12px rgba(0,0,0,0.35); }
.tools-body .btn { white-space:nowrap; }

/*#c9*/
.devices-group { position:relative; display:flex; align-items:center; }
.devices-btn { position:relative; width:auto !important; padding:12px 14px; }
.devices-count { position:absolute; top:-6px; right:-6px; min-width:16px; height:16px; border-radius:8px; background:var(--accent); color:#fff; font-size:0.65rem; font-weight:700; display:flex; align-items:center; justify-content:center; padding:0 4px; box-shadow:0 1px 3px rgba(0,0,0,0.4); }
.devices-body { position:absolute; top:calc(100% + 6px); right:0; display:flex; flex-direction:column; gap:4px; min-width:200px; background:var(--bg-card); border:1px solid var(--border); border-radius:4px; padding:8px; z-index:60; box-shadow:0 4px 12px rgba(0,0,0,0.35); }
.devices-body .devices-head { font-size:0.7rem; color:var(--text-muted); padding:2px 4px 4px; }
.device-row { display:flex; align-items:center; gap:8px; padding:12px 10px; border-radius:4px; border:1px solid transparent; cursor:pointer; background:none; color:var(--text); font-size:0.9rem; text-align:left; width:100%; white-space:nowrap; }
.device-row:hover { background:rgba(128,128,128,0.12); }
.device-row.current { background:rgba(var(--accent-rgb, 45, 212, 191),0.12); border-color:var(--accent); color:var(--accent); }
.device-row .dev-num { min-width:18px; height:18px; border-radius:9px; background:rgba(128,128,128,0.25); display:flex; align-items:center; justify-content:center; font-size:0.7rem; font-weight:700; }
.device-row.current .dev-num { background:var(--accent); color:#fff; }
.device-row .dev-label { flex:1; overflow:hidden; text-overflow:ellipsis; }

/*#c10*/
@media (max-width: 600px) {
  .order-entry-head { flex-wrap: wrap; row-gap: 4px; }
  .order-entry-head h2 { flex-basis: 100%; }
  .order-entry-controls { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  /*#c11*/
  .devices-body { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); right: auto; max-width: calc(100vw - 32px); }
}

/*#c12*/
.past-order-item {
  border-bottom: 1px solid var(--border);
  padding: 8px 4px;
}
.past-order-item:last-child { border-bottom: none; }

/*#c13*/
.btn.tools-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  justify-content: flex-start;
  border-radius: var(--radius);
}
.tools-btn svg { flex: 0 0 auto; opacity: 0.85; width: 20px; height: 20px; }

/*#c14*/
.order-entry-controls > .btn.tools-btn,
.order-entry-controls > .online-toggle-group,
.order-entry-controls > .online-toggle-group > .btn.tools-btn {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  justify-content: center;
}

/*#c15*/
.qs-list { border:1px solid var(--border); border-radius: var(--radius); padding:8px; max-height:58vh; overflow-y:auto; }
.qs-category { font-size:0.7rem; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:var(--text-muted); padding:10px 4px 4px; }
.qs-item { background:var(--bg-card); border:1px solid var(--border); border-radius: var(--radius); padding:8px 10px; margin:6px 0; }
.qs-item-name { font-size:0.85rem; font-weight:600; margin-bottom:4px; }
.qs-row { display:flex; align-items:center; gap:8px; padding:5px 2px; border-bottom:1px solid var(--border); }
.qs-row:last-child { border-bottom:none; }
.qs-row-low .qs-ing-name { color:var(--warning, #eab308); font-weight:600; }
.qs-ing-name { flex:1; font-size:0.8rem; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.qs-stock { font-size:0.72rem; color:var(--text-muted); white-space:nowrap; }
.qs-input { width:80px; text-align:right; }

/*#c16*/
.reorder-active .menu-item-card { cursor: grab; box-shadow: inset 3px 0 0 var(--accent); }
.reorder-active .menu-item-card.dragging { opacity: 0.6; outline: 2px dashed var(--accent); }
.reorder-active .menu-section h3 { cursor: grab; }
.reorder-active .menu-section h3::before { content: '≡ '; color: var(--text-muted); }
.reorder-active .menu-section.dragging { opacity: 0.6; outline: 2px dashed var(--accent); }

/*#c17*/
:root {
  /*#c18*/
  --bg: #1a1d23;
  --bg-panel: #23272f;
  --bg-card: #2d323b;
  --text: #e2e8f0;
  --text-muted: #8892a4;
  --accent: #2cd4bc;
  --accent-hover: #5eead4;
  --btn-primary: #2563eb;
  --btn-primary-hover: #1d4ed8;
  --success: #34d399;
  --success-bg: #0d3b2e;
  --danger: #f87171;
  --danger-bg: #3b1a1a;
  --warning: #fbbf24;
  --warning-bg: #3b2e0d;
  --info: #60a5fa;
  --border: #3a3f4a;
  --radius: 4px;
  --radius-sm: 2px;
  --shadow: 3px 3px 0px rgba(0,0,0,0.4);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  /*#c19*/
  --text-secondary: #8892a4;
  --warning-border: #f59e0b;
  --warning-text: #92400e;
  --dc-bg: #3b82f6;
  --accent-bg: rgba(45, 212, 191, 0.12);
  --accent-rgb: 45, 212, 191;
  --accent-contrast: #11161d;
  --btn-text-transform: uppercase;
  --btn-letter-spacing: 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/*#c20*/
* {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.0;
  min-height: 100vh;
  /*#c21*/
  background-image: var(--bg-texture-image, linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  ));
  background-size: var(--bg-texture-size, 100% 4px);
  background-repeat: repeat;
}

/*#c22*/
.main-nav {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-panel);
  border-bottom: 3px double var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/*#c23*/
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.2s;
}


.nav-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}


.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.nav-user-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-clock {
  /*#c24*/
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: 0px;
  margin-left: auto;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  min-width: 70px;
  text-align: center;
}

@media (max-width: 600px) {
  .nav-title {
    font-size: 0.75rem;
    letter-spacing: 0px;
    margin-right: 8px;
    padding-right: 8px;
  }
  .nav-clock {
    font-size: 0.8rem;
    padding: 3px 8px;
    min-width: 50px;
  }
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

/*#c25*/
h1, h2, h3, h4,
.col-header h2,
.order-item-name,
.order-total span:first-child,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0px;
}

.nav-link:hover { background: var(--bg-card); color: var(--text); border-bottom-color: var(--accent); }
.nav-link.active { background: var(--btn-primary); color: #fff; border-bottom-color: var(--btn-primary); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    border-bottom: 2px solid var(--border);
    flex-direction: column;
    padding: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 16px; }
}

/*#c26*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: var(--btn-text-transform, uppercase);
  letter-spacing: var(--btn-letter-spacing, 0px);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  background: var(--bg-card);
  color: var(--text);
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--btn-primary); color: #fff; }
.btn-success { background: var(--success); color: #000; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #000; }
.btn-secondary { background: var(--border); color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-xs { padding: 3px 8px; font-size: 0.72rem; }

/*#c27*/
.soft-lock-key, .nav-pin-key, .soft-pin-key, .pin-pad-key {
  padding: 16px 0;
  font-size: 1.3rem;
  min-height: 56px;
  justify-content: center;
}
/*#c28*/
.soft-lock-key, .nav-pin-key {
  padding: 21px 0;
  font-size: 1.69rem;
  min-height: 73px;
}

/*#c29*/
.login-page .jackal-mark .jackal-glyph { height: 52px; }
.login-page .brand-lockup { gap: 8px; }

/*#c30*/
#loginSplash .splash-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
#loginSplash .splash-jackal .jackal-glyph {
  height: 56px;
  width: auto;
  display: block;
  animation: splash-glow 1.6s ease-in-out infinite alternate;
}
@keyframes splash-glow {
  from { filter: drop-shadow(0 0 6px rgba(var(--accent-rgb, 45, 212, 191), 0.35)); }
  to   { filter: drop-shadow(0 0 18px rgba(var(--accent-rgb, 45, 212, 191), 0.9)); }
}
#splashLogo {
  animation: splash-shine 2.2s ease-in-out infinite;
}
@keyframes splash-shine {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.35); }
  100% { filter: brightness(1); }
}
.splash-bar {
  width: 240px;
  height: 6px;
  border-radius: calc(var(--radius) - 1px);
  background: rgba(128, 128, 128, 0.25);
  overflow: hidden;
}
.splash-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: calc(var(--radius) - 1px);
  background: var(--accent, #2cd4bc);
  animation: splash-fill 2.2s ease-out forwards;
}
@keyframes splash-fill {
  from { width: 0%; }
  to   { width: 100%; }
}

/*#c31*/
/*#c32*/
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(212,118,44,0.3);
}
.form-control-sm {
  padding: 6px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.85rem;
}
.btn-row { display: flex; gap: 10px; margin-top: 16px; }

/*#c33*/
.logs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.log-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s;
}
.log-tile:hover { border-color: var(--accent); }
.log-tile-ic {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb, 45, 212, 191), 0.15);
  border: 1px solid rgba(var(--accent-rgb, 45, 212, 191), 0.4);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.log-tile-ic svg { width: 32px; height: 32px; }
.log-tile-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.log-tile-body strong { font-size: 0.95rem; }
.log-tile-desc { color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; }
.log-tile-count { color: var(--text-muted); font-size: 0.75rem; }
.log-tile-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.log-check-group {
  display: grid; gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-panel);
}
.log-check-group label {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.88rem; font-weight: 400; color: var(--text); cursor: pointer;
}
.log-check-group input { margin: 0; } /*#c34*/

.log-table-wrap {
  overflow: auto;
  max-height: calc(88vh - 150px);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card);
}
.log-table { border-collapse: collapse; width: 100%; font-size: 0.85rem; min-width: 680px; }
.log-table th {
  position: sticky; top: 0; z-index: 1;
  background: var(--bg-panel);
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--text-muted);
  white-space: normal;
  vertical-align: bottom;
}
.log-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  white-space: pre-line;
  max-width: 340px;
}
.log-table tbody tr:nth-child(even) td { background: rgba(0, 0, 0, 0.02); }
.log-table tbody tr:hover td { background: rgba(var(--accent-rgb, 45, 212, 191), 0.06); }

/*#c35*/
.brand-lockup { display: flex; align-items: center; gap: 2px; min-width: 0; }
.jackal-mark { display: inline-flex; align-items: center; flex-shrink: 0; }
/*#c36*/
/*#c37*/
.jackal-mark .jackal-glyph {
  height: 44px;
  aspect-ratio: 1103 / 1403;
  display: block;
  background-color: var(--accent, #2cd4bc);
  transform: translateX(5px);
  -webkit-mask-image: url("/img/jackal-logo.png?v=2");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("/img/jackal-logo.png?v=2");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
/*#c38*/
.top-bar-center .jackal-mark .jackal-glyph { height: 37.4px; }
/*#c39*/
@media (min-width: 768px) {
  .top-bar-center .lockup-no-jackal { margin-left: -29px; }
}
@media (min-width: 641px) and (max-width: 767px) {
  .top-bar-center .lockup-no-jackal { margin-left: -32px; }
}
/*#c40*/
#softLockOverlay .jackal-mark .jackal-glyph { transform: none; }
/*#c41*/
#softLockOverlay .jackal-mark .jackal-glyph {
  animation: softlock-glow 2.2s ease-in-out infinite alternate;
}
@keyframes softlock-glow {
  from { filter: drop-shadow(0 0 4px rgba(var(--accent-rgb, 45, 212, 191), 0.25)); }
  to   { filter: drop-shadow(0 0 10px rgba(var(--accent-rgb, 45, 212, 191), 0.6)); }
}
/*#c42*/
#softLockOverlay .sfos-os-glow,
#loginSplash .sfos-os-glow {
  animation: os-glow 2.2s ease-in-out infinite alternate;
}
@keyframes os-glow {
  from { filter: drop-shadow(0 0 2px rgba(var(--accent-rgb, 45, 212, 191), 0.3)); }
  to   { filter: drop-shadow(0 0 8px rgba(var(--accent-rgb, 45, 212, 191), 0.8)); }
}
svg.sfos-logo-svg { overflow: visible; }
/*#c43*/
@media (max-width: 767px) {
  .jackal-mark .jackal-glyph { height: 36px; }
  /*#c44*/
  .top-bar-center .jackal-mark .jackal-glyph { height: 30.6px; }
}

/*#c45*/
/*#c46*/
html.page-terminal,
body.page-terminal {
  overflow: hidden;
  height: 100vh;
  overscroll-behavior: none;
}
.terminal-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 16px;
  padding: 16px;
  /*#c47*/
  max-width: 1400px;
  margin: 0 auto;
  /*#c48*/
  height: calc(100vh - 70px);
}
/*#c49*/
.terminal-tabs { display: none; }
@media (max-width: 767px) {
  .calendar-grid {
    min-width: 490px; /*#c50*/
  }
  .calendar-grid > div {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }
  .calendar-nav { flex-wrap: wrap; gap: 6px; }
  .terminal-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    padding-bottom: 84px; /*#c51*/
  }
  .terminal-container .panel {
    border: 1px solid var(--border);
  }
  /*#c52*/
  #prePaymentButtons {
    position: fixed;
    left: 32px;
    right: 32px;
    bottom: 0;
    z-index: 60;
    margin: 0 auto;
    /*#c53*/
    max-width: 1400px;
    box-sizing: border-box;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius) 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
  }
  #prePaymentButtons .btn { flex: 1 1 40%; min-width: 0; min-height: 48px; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .terminal-container .panel {
    display: block;
    max-height: none;
    overflow: visible;
  }
  .menu-list {
    max-height: 50vh;
  }
  /*#c54*/
  .terminal-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
  }
  .terminal-tab {
    flex: 1;
    min-height: 44px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
  }
  .terminal-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
  .terminal-tab-badge {
    background: var(--accent);
    color: #fff;
    border-radius: calc(var(--radius) + 6px);
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 0 5px;
  }
  /*#c55*/
  body .top-bar { padding: 6px 12px !important; gap: 4px; }
  /*#c56*/
  .top-bar .nav-hamburger { margin-right: 13px; }
  .top-bar-center .brand-lockup { gap: 4px; }
  .top-bar-center .jackal-mark .jackal-glyph { transform: translateX(1px); }
  .top-bar-center .alpha-badge { margin-left: -3px; }
  /*#c57*/
  .slide-nav .brand-lockup #navAppName { transform: translateY(2px); }
  .page-terminal .main-content {
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
  }
  .page-terminal .terminal-container {
    flex: 1;
    min-height: 0;
    height: auto;
    /*#c58*/
    margin: 0;
    width: 100%;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0 84px; /*#c59*/
    /*#c60*/
    overflow: hidden;
  }
  /*#c61*/
  .page-terminal .terminal-container.tab-entry { padding-bottom: 8px; }
  .page-terminal .terminal-tabs { margin-bottom: 4px; }
  .page-terminal .terminal-container .panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    /*#c62*/
    overflow: hidden;
  }
  /*#c63*/
  .page-terminal .menu-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
  .page-terminal .order-items {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
  /*#c64*/
  .page-terminal .terminal-container .panel > .form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-bottom: 0;
  }
  /*#c65*/
  .order-entry-controls .tt-label,
  .event-details-row .tt-label { display: none !important; }
  .order-entry-controls > .btn.tools-btn,
  .order-entry-controls > .online-toggle-group > .btn.tools-btn,
  .order-entry-controls > .tools-group > .btn.tools-btn,
  .event-details-row > div:last-child > .btn.tools-btn {
    width: 44px !important;
    min-width: 44px;
    padding: 12px 0;
    justify-content: center;
    gap: 0;
  }
  /*#c66*/
  .page-terminal .customise-panel {
    flex: 1;
    min-height: 0;
    max-height: none;
    /*#c67*/
    overflow-y: visible;
  }
  /*#c68*/
  .cfg-desktop-only { display: none; }
}

@media (min-width: 768px) {
  /*#c69*/
  body.app-shell.page-terminal .main-content {
    padding: 0;
  }
  /*#c70*/
  .event-details-wrapper { flex: 0 0 50%; }
  .event-details-summary { width: 100%; }
  .terminal-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    /*#c71*/
    height: calc(100vh - 70px);
  }
  /*#c72*/
  .terminal-container.pane-split-2-3 {
    grid-template-columns: 2fr 1fr;
  }
  /*#c73*/
  .order-entry-controls > .btn.tools-btn,
  .order-entry-controls > .online-toggle-group > .btn.tools-btn,
  .order-entry-controls > .tools-group > .btn.tools-btn,
  .order-review .btn.tools-btn {
    font-size: 0.82rem;
    padding: 12px 8px;
    gap: 6px;
    height: 44px;
    box-sizing: border-box;
    justify-content: center;
    white-space: nowrap;
  }
  .order-entry-controls > .btn.tools-btn svg,
  .order-entry-controls > .online-toggle-group > .btn.tools-btn svg,
  .order-entry-controls > .tools-group > .btn.tools-btn svg,
  .order-review .btn.tools-btn svg {
    width: 16px;
    height: 16px;
  }
  /*#c74*/
  .terminal-container.pane-split-shrink .event-details-row > div:last-child {
    flex: 1 1 auto;
    min-width: 0;
  }
  .terminal-container.pane-split-shrink .order-review .btn.tools-btn {
    flex: 1 1 0; /*#c75*/
    min-width: 0;
    /*#c76*/
    height: 44px;
    box-sizing: border-box;
    padding: 12px 8px;
    font-size: 0.82rem;
    gap: 6px;
    /*#c77*/
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
  }
  .terminal-container.pane-split-shrink .order-review .btn.tools-btn svg {
    width: 16px;
    height: 16px;
  }
  .terminal-container.pane-split-shrink .event-details-wrapper {
    flex: 0 0 auto;
    max-width: 45%;
  }
  /*#c78*/
  .terminal-container.pane-split-2-3 #prePaymentButtons {
    flex-wrap: wrap;
    gap: 6px;
  }
  .terminal-container.pane-split-2-3 #prePaymentButtons .btn {
    flex: 1 1 0; /*#c79*/
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.82rem;
    /*#c80*/
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .terminal-container .panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
    /*#c81*/
    overflow: hidden;
  }
  .terminal-container .panel > .form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-bottom: 0;
  }
  .menu-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }
  .order-items {
    flex: 1 1 auto;
    min-height: 100px;
    max-height: 50%;
    overflow-y: auto;
  }
}

/*#c82*/
.quick-numbers-wrapper {
  /*#c83*/
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-panel);
  padding-top: 2px;
  padding-bottom: 2px;
  flex-shrink: 0;
}

/*#c84*/
.quick-numbers {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  padding-bottom: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.quick-numbers::-webkit-scrollbar { display: none; }
.quick-numbers::-webkit-scrollbar { display: none; }

.quick-num {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.quick-num:hover { opacity: 0.7; }
@media (max-width: 767px) {
  /*#c85*/
  .reports-duo { grid-template-columns: 1fr !important; }
  /*#c86*/
  .quick-numbers { flex-wrap: nowrap; justify-content: flex-start; gap: 4px; }
  .quick-num { width: 40px; height: 40px; padding: 0; }
  .quick-num svg { width: 40px !important; height: 40px !important; }
  /*#c87*/
  .btn-sm { min-height: 40px; padding: 8px 12px; }
  .top-bar-icon { min-width: 44px; min-height: 44px; }
  .nav-hamburger { width: 44px; height: 44px; }
  .nav-close { width: 44px; height: 44px; }
  .settings-nav-item { min-height: 48px; display: flex; align-items: center; padding: 14px 16px; box-sizing: border-box; }
  .nav-item { min-height: 48px; display: flex; align-items: center; padding: 14px 16px; box-sizing: border-box; }
  .temps-tab { min-height: 40px; }
  .fsms-plan-card a, .fsms-plan-card .btn { min-height: 40px; display: inline-flex; align-items: center; }
  .terminal-container .btn-secondary { min-height: 40px; }
  .pwa-install-btn { min-height: 44px; }
}

/*#c88*/
.checklist-task .task-cb {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .checklist-task .task-cb {
    width: 26px;
    height: 26px;
  }
}

/*#c89*/
@media (max-width: 640px) {
  .checklist-task {
    flex-wrap: wrap;
  }
  .checklist-task .task-action {
    flex: 1 1 100%;
  }
  .checklist-task .task-action .task-val {
    flex: 0 0 auto;
    min-width: 0;
  }
}

.cl-addhint { font-size: 0.78rem; color: var(--text-muted); }
.cl-loading, .cl-empty { padding: 12px 0; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.cl-addgrid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-at { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 11px; min-height: 112px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-panel); cursor: pointer; transition: border-color 0.15s, opacity 0.3s; }
.cl-at:hover { border-color: var(--accent); }
.cl-at:active { transform: scale(0.985); }
.cl-at.added { opacity: 0.78; cursor: default; }
.cl-at.added:hover { border-color: var(--border); }
.cl-at.adding { opacity: 0.55; }
.cl-at-top { display: flex; align-items: center; gap: 8px; }
.cl-at-name { font-size: 0.9rem; font-weight: 700; line-height: 1.25; color: var(--text); }
.cl-at-meta { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-muted); margin-top: auto; }
.cl-at-state { margin-left: auto; display: none; align-items: center; gap: 3px; font-size: 0.72rem; font-weight: 700; color: var(--accent); }
.cl-at.added .cl-at-state { display: inline-flex; }
.cl-need { margin-left: auto; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #3b2e0d; background: var(--warning); border-radius: 999px; padding: 2px 7px; }
.cl-chip { width: 38px; height: 38px; border-radius: 4px; background: rgba(45, 212, 191, 0.13); border: 1px solid rgba(45, 212, 191, 0.4); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; position: relative; flex: 0 0 auto; }
.cl-chip .cl-tick { position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--success); color: #052e22; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s; }
.cl-tile.done .cl-chip .cl-tick { transform: scale(1); }
.checklist-card { position: relative; border: 1px solid var(--border); border-left: 4px solid #9ca3af; border-radius: 8px; margin-bottom: 10px; background: var(--bg-panel); overflow: hidden; }
.checklist-card.st-in_progress { border-left-color: #eab308; }
.checklist-card.st-completed { border-left-color: #22c55e; }
.checklist-card.st-not_started { border-left-color: #ef4444; }
.checklist-card.cl-enter { animation: clCardIn 0.4s ease; }
@keyframes clCardIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.cl-cardhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 11px 12px; cursor: pointer; }
.cl-cname { font-size: 0.9rem; font-weight: 700; flex: 1; min-width: 110px; color: var(--text); }
.cl-hprog { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cl-bar { display: block; width: 72px; height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; }
.cl-bar i { display: block; height: 100%; width: 0%; background: var(--accent); transition: width 0.35s ease; }
.cl-hcount { font-size: 0.72rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cl-minirow { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; }
.cl-mchip { width: 22px; height: 22px; border-radius: 4px; background: rgba(45, 212, 191, 0.13); border: 1px solid rgba(45, 212, 191, 0.4); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.cl-body { padding: 2px 12px 8px; }
.cl-subhead { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; color: var(--accent); margin: 10px 0 8px; }
.cl-subhead .cl-stick { opacity: 0; color: var(--success); display: inline-flex; }
.cl-sub.done .cl-subhead .cl-stick { opacity: 1; }
.cl-subcount { color: var(--text-muted); font-weight: 500; margin-left: auto; font-variant-numeric: tabular-nums; }
.cl-tiles { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-tiles.cl-compact { grid-template-columns: repeat(auto-fill, 56px); justify-content: start; gap: 8px; }
.cl-tile { display: flex; flex-direction: column; gap: 7px; padding: 10px; min-height: 96px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; transition: border-color 0.15s, background 0.3s, padding 0.3s; }
.cl-tile:hover { border-color: var(--accent); }
.cl-tile:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.cl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.cl-name { font-size: 0.82rem; font-weight: 600; line-height: 1.3; max-height: 84px; overflow: hidden; color: var(--text); transition: max-height 0.3s ease, opacity 0.25s ease; }
.cl-desc { font-size: 0.68rem; color: var(--text-muted); line-height: 1.3; max-height: 320px; overflow: hidden; transition: max-height 0.3s ease, opacity 0.25s ease; }
.cl-cbox { width: 22px; height: 22px; border: 1.6px solid rgba(226, 232, 240, 0.45); border-radius: 5px; flex: 0 0 auto; transition: opacity 0.2s ease, transform 0.2s ease; }
.cl-ctl { display: flex; gap: 6px; max-height: 60px; overflow: hidden; transition: max-height 0.3s ease, opacity 0.25s ease; }
.cl-ctl .cl-val { flex: 1; min-width: 0; width: auto; background: rgba(0, 0, 0, 0.18); border: 1px solid var(--border); color: var(--text); border-radius: 4px; padding: 8px; font-size: 0.8rem; font-family: inherit; }
.cl-ctl .cl-val:focus { outline: 1px solid var(--accent); }
.cl-donebtn { background: var(--accent); color: #11161d; border: none; border-radius: 4px; padding: 8px 11px; font-weight: 700; font-size: 0.76rem; cursor: pointer; font-family: inherit; flex: 0 0 auto; }
.cl-doneval { display: none; font-size: 0.66rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cl-ca-wrap { display: block; }
.cl-ca-wrap .cl-ca { width: 100%; background: rgba(0, 0, 0, 0.18); border: 1px solid var(--border); color: var(--text); border-radius: 4px; padding: 8px; font-size: 0.8rem; font-family: inherit; }
.cl-caval { font-size: 0.72rem; color: var(--text-muted); }
.cl-caval.no-ca { color: var(--danger); }
.cl-tile.done { justify-content: flex-start; align-items: flex-start; gap: 3px; background: transparent; border-color: transparent; padding: 10px; min-height: 96px; }
.cl-tile.done:hover { border-color: transparent; }
.cl-tile.done .cl-top { justify-content: flex-start; }
.cl-tile.done .cl-cbox { opacity: 0; transform: scale(0.5); }
.cl-tile.done .cl-name, .cl-tile.done .cl-desc { max-height: 0; opacity: 0; }
.cl-tile.done .cl-ctl, .cl-tile.done .cl-ca-wrap { max-height: 0; opacity: 0; overflow: hidden; }
.cl-tile.done .cl-doneval { display: block; }
.cl-tile.cl-shake { animation: clShake 0.35s ease; border-color: var(--danger) !important; }
@keyframes clShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.cl-tiles.cl-compact .cl-tile.done { min-height: 0; padding: 4px; }
.cl-startrow { padding: 8px 0 4px; text-align: center; }
.cl-cardfoot { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--border); }
.cl-signed { display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; color: var(--text-muted); }
.cl-signed svg { color: var(--success); }
.cl-bigcheck { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; border-radius: 50%; background: var(--success); color: #052e22; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translate(-50%, -50%) scale(0.4); pointer-events: none; z-index: 5; }
.checklist-card.cl-showbig .cl-bigcheck { animation: clBigPop 1.15s ease forwards; }
@keyframes clBigPop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); } 30% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.18); } }
.checklist-card.cl-celebrate { animation: clPulse 1s ease 1; }
@keyframes clPulse { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); } 60% { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
.cl-tile.cl-pop .cl-chip { animation: clChipPop 0.55s ease; }
@keyframes clChipPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (min-width: 768px) {
  .cl-addgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cl-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .cl-addgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cl-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/*#c90*/
.modal-tabs .btn.active {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/*#c91*/

.quick-num:active { opacity: 0.5; }

.quick-num svg circle {
  transition: stroke 0.15s;
}
.quick-num:hover svg circle {
  stroke: var(--accent);
}

/*#c92*/
@media (max-width: 599px) {
  .quick-num svg { width: 30px; height: 30px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .quick-num svg { width: 36px; height: 36px; }
}
@media (min-width: 900px) {
  .quick-num svg { width: 40px; height: 40px; }
}

.panel {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.panel h2 { margin-bottom: 16px; font-size: 1.2rem; }

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  /*#c93*/
  padding-right: 4px;
}

.menu-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.menu-item-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.menu-item-info { flex: 1; min-width: 0; }
.menu-item-info h3 { font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 767px) {
  .menu-item-info h3 { white-space: normal; line-height: 1.4; }
  .menu-item-info h3 .menu-allergen-hint,
  .menu-item-info h3 .menu-availability-badge { display: inline-block; }
}
.menu-item-price { flex-shrink: 0; padding-left: 10px; }
.menu-item-info p { font-size: 0.75rem; color: var(--text-muted); }

/*#c94*/
.menu-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.menu-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.menu-tab.active {
  border-color: var(--accent);
  color: var(--accent);
}

/*#c95*/
.menu-section-grid {
  display: flex;
  align-items: stretch;
  gap: 10px;
  /*#c96*/
  margin-top: 8px;
  /*#c97*/
  margin-bottom: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
}
.menu-section-grid + .menu-section-grid {
  /*#c98*/
  margin-top: -3px;
}
.menu-section-grid:last-child {
  border-bottom: none;
  margin-bottom: 4px;
}
.menu-section-grid-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  user-select: none;
}
.menu-grid-tiles {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: stretch;
  /*#c99*/
  margin-right: -4px;
}
/*#c100*/
@media (max-width: 480px) {
  .menu-grid-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.menu-section-grid .menu-item-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /*#c101*/
  aspect-ratio: 1;
  /*#c102*/
  align-self: start;
  width: 100%;
  padding: 8px;
  background-color: var(--bg-card);
  background-size: cover;
  background-position: center;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  cursor: pointer;
}
/*#c103*/
.menu-tile-allergens {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}
.menu-tile-allergens .menu-allergen-hint {
  margin-left: 0;
  opacity: 1;
  color: inherit;
}
/*#c104*/
.menu-section-grid .menu-item-tile.has-photo .menu-tile-info,
.menu-section-grid .menu-item-tile.has-photo .menu-tile-price {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
/*#c105*/
.menu-section-grid .menu-item-tile.has-photo .menu-tile-name {
  font-size: 0.9rem;
}
.menu-section-grid .menu-item-tile:not(.has-photo) .menu-tile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-section-grid .menu-item-tile:not(.has-photo) .menu-tile-name {
  color: var(--text);
  font-size: 0.9rem;
}
.menu-section-grid .menu-item-tile:not(.has-photo) .menu-tile-price {
  color: var(--accent);
  font-weight: 700;
}
.menu-section-grid .menu-item-tile:hover {
  border-color: var(--accent);
  transform: none;
}
.menu-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
}
.menu-tile-info {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
}
.menu-tile-name { font-weight: 700; }
.menu-tile-price {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  font-weight: 700;
  font-size: 0.85rem;
  padding-left: 0;
}

/*#c106*/
.menu-list.menu-size-m .menu-item-info h3 { font-size: 1.1rem; }
.menu-list.menu-size-m .menu-item-info p { font-size: 0.82rem; }
.menu-list.menu-size-m .menu-item-price { font-size: 1.05rem; }
.menu-list.menu-size-m .menu-item-tile .menu-tile-name { font-size: 1rem; }
.menu-list.menu-size-m .menu-item-tile .menu-tile-price { font-size: 0.95rem; }
.menu-list.menu-size-m .menu-item-tile:not(.has-photo) .menu-tile-name { font-size: 1rem; }
.menu-list.menu-size-m .menu-item-tile .menu-tile-info { font-size: 0.88rem; }
.menu-list.menu-size-m .menu-section-grid-title { font-size: 0.95rem; }
.menu-list.menu-size-l .menu-item-info h3 { font-size: 1.2rem; }
.menu-list.menu-size-l .menu-item-info p { font-size: 0.9rem; }
.menu-list.menu-size-l .menu-item-price { font-size: 1.15rem; }
.menu-list.menu-size-l .menu-item-tile .menu-tile-name { font-size: 1.1rem; }
.menu-list.menu-size-l .menu-item-tile .menu-tile-price { font-size: 1.05rem; }
.menu-list.menu-size-l .menu-item-tile:not(.has-photo) .menu-tile-name { font-size: 1.1rem; }
.menu-list.menu-size-l .menu-item-tile .menu-tile-info { font-size: 0.98rem; }
.menu-list.menu-size-l .menu-section-grid-title { font-size: 1.05rem; }
/*#c107*/
.menu-list.menu-size-m .menu-item-card[data-custom-amount] .menu-item-info h3 { font-size: 1.1rem; }
.menu-list.menu-size-l .menu-item-card[data-custom-amount] .menu-item-info h3 { font-size: 1.2rem; }

/*#c108*/
.menu-item-card.color-card {
  border-left: 4px solid var(--tile-color, var(--accent));
  padding-left: 12px;
}

/*#c109*/
.tile-color-swatch {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  box-sizing: border-box;
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
}

/*#c110*/
.menu-availability-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius);
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.menu-av-almost { background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning); }
.menu-av-soldout { background: rgba(231, 76, 60, 0.15); color: #e74c3c; border: 1px solid #e74c3c; }
.menu-item-soldout { opacity: 0.55; }
.menu-item-soldout .menu-item-info h3 { text-decoration: line-through; }

.menu-allergen-hint {
  font-size: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
  opacity: 0.7;
  white-space: nowrap;
}
/*#c111*/
.menu-allergen-may {
  color: var(--warning);
  font-weight: 700;
  font-size: 0.62rem;
  margin-left: 1px;
  cursor: help;
}
.menu-item-price { font-weight: 700; color: var(--accent); font-size: 0.9rem; }

/*#c112*/
.customise-panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
  border: 1px solid var(--border);
  max-height: 50vh;
  overflow-y: auto;
  /*#c113*/
  display: flex;
  flex-direction: column;
}
.customise-panel .customise-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.customise-panel .customise-footer {
  flex-shrink: 0;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .customise-panel {
    flex: 1;
    min-height: 0;
    max-height: none;
    /*#c114*/
    overflow-y: visible;
  }
}
.customise-panel h3 { margin-bottom: 4px; }
.customise-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }

.customise-section { margin-bottom: 14px; }
.customise-section h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0px;
  margin-bottom: 6px;
}
/*#c115*/
.extras-section-head {
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 8px 0 4px;
  font-weight: 700;
}
.extras-section-head:first-child { margin-top: 0; }

.ingredient-list { display: flex; flex-wrap: wrap; gap: 6px; }

.size-option-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  background: var(--bg-panel);
  border: 2px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--text);
  transition: all 0.15s;
}
.size-option-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card);
  transform: translateY(-1px);
}
.size-option-btn.active {
  background: var(--btn-primary);
  color: #fff;
  border-color: var(--btn-primary);
}
.size-option-btn:active {
  transform: translateY(0);
}

/*#c116*/
.event-details-wrapper {
  margin-bottom: 12px;
  position: relative;
}

/*#c117*/
.event-details-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: background 0.15s;
  max-width: 100%;
  height: 44px;
  box-sizing: border-box;
}
.event-details-summary:hover {
  background: var(--bg-panel);
}
.event-details-toggle {
  font-size: 0.7rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.event-details-label {
  /*#c118*/
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.event-details-preview {
  /*#c119*/
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

/*#c120*/
.event-details-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 200%;
  max-width: calc(100vw - 48px);
  /*#c121*/
  z-index: 60;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.event-details-panel .form-group {
  margin-bottom: 8px;
}
.event-details-panel .form-group:last-child {
  margin-bottom: 0;
}

/*#c122*/
.event-panel-list {
  display: block;
  max-height: 240px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.event-panel-list .custom-select-item {
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.event-panel-list .custom-select-item:last-child {
  border-bottom: none;
}

/*#c123*/
.custom-select {
  position: relative;
  flex: 1;
}
.custom-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}
.custom-select-btn:hover { border-color: var(--accent); }
/* Small trigger (Kit 09/10): matches .btn-sm's rendered 30px height so a
   toolbar row of button + select sits level. TOOLBARS ONLY — modal selects
   (form rows beside full-size inputs) keep the 44px default. */
.header-controls .custom-select-btn-sm, .page-header .custom-select-btn-sm { min-height: 30px; height: 30px; padding: 0 12px; font-size: 0.8rem; }
.custom-select-chev { color: var(--text-muted); font-size: 0.75rem; }
.custom-select-list {
  /*#c124*/
  position: fixed;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 10010;
}
.custom-select-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
}
.custom-select-item:last-child { border-bottom: none; }
.custom-select-item:hover,
.custom-select-item.selected { background: rgba(var(--accent-rgb, 45, 212, 191),0.1); color: var(--accent); }
.custom-select-item .cs-sub { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/*#c125*/
.custom-select .custom-select-btn { flex: 1; }
.custom-select[style*="flex:"] .custom-select-btn,
.custom-select[style*="flex:"] { display: flex; }
.custom-select-btn.cs-req { border-color: #ef4444; box-shadow: inset 0 0 0 1px rgba(239,68,68,0.4); }

/*#c126*/
#floatingKeypad {
  position: fixed;
  z-index: 10020;
  display: none;
  /*#c127*/
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 240px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
#floatingKeypad .float-kp-key {
  min-height: 44px;
  font-size: 1.05rem;
  font-weight: 600;
  width: 100%;
}
/*#c128*/
#floatingKeypad .float-kp-close {
  grid-column: 1 / -1;
  min-height: 40px;
  font-weight: 600;
  font-size: 0.9rem;
}

.ing-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /*#c129*/
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  -webkit-user-select: none; user-select: none;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.ing-tag.default { background: var(--bg-panel); color: var(--text); border-color: var(--border); }
.ing-tag.removed { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); text-decoration: line-through; }
.ing-tag.excluded { opacity: 0.6; cursor: pointer; border-color: var(--accent); border-style: dashed; }
.ing-tag.added { background: var(--success-bg); color: var(--success); border-color: var(--success); }

/*#c130*/
.ing-tag.paid-extra {
  box-shadow: 0 0 10px 2px rgba(var(--accent-rgb, 45, 212, 191), 0.55);
  border-color: var(--accent);
}

.ing-tag .tag-icon { font-weight: 700; }
.ing-tag.added .tag-icon { color: var(--success); }
.ing-tag.removed .tag-icon { color: var(--danger); }

/*#c131*/
.order-items {
  flex: 1;
  min-height: 200px;
  overflow-y: auto;
}
/*#c132*/
.order-review {
  padding-bottom: 10px;
}

.order-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.order-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.order-item-name { font-weight: 600; }
.order-item-qty {
  background: var(--btn-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
}

.order-item-size {
  background: var(--info);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 6px;
  text-transform: uppercase;
}

.order-item-ingredients {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 10px;
}

.order-item-ingredients .ing-added { color: var(--success); }
.order-item-ingredients .ing-removed { color: var(--danger); text-decoration: line-through; }
.order-item-ingredients .ing-default { color: var(--text); }

.extra-dec-btn {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 6px;
  margin-left: 4px;
  line-height: 1;
  transition: all 0.15s;
  vertical-align: middle;
}
.extra-dec-btn:hover {
  background: var(--danger);
  color: #fff;
}

.order-item-price {  font-weight: 600; color: var(--success); }
.edit-item-btn,
.remove-item-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1.2rem; padding: 0 4px;
  transition: color 0.15s;
}
.edit-item-btn:hover,
.remove-item-btn:hover {
  color: var(--danger);
}

.icon-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1.2rem; padding: 0 4px;
  transition: color 0.15s;
}
.icon-btn:hover {
  color: var(--danger);
}

.order-summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.total-price { color: var(--success); font-size: 1.5rem; }

/*#c133*/
.payment-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0px;
  border: 1px solid var(--border);
}
.payment-status.pending { background: var(--warning-bg); color: var(--warning); border-color: var(--warning); }
.payment-status.paid { background: var(--success-bg); color: var(--success); border-color: var(--success); }
.payment-status.cash { background: var(--info); color: #fff; border-color: var(--info); }
.payment-status.failed { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }

.offline-status {
  background: var(--warning-bg);
  color: var(--warning);
  padding: 8px 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0px;
  border: 1px solid var(--warning);
}

/*#c134*/
/*#c135*/
body.app-shell.page-display .main-content {
  display: flex;
  flex-direction: column;
}
body.app-shell.page-display .display-header {
  flex: 0 0 auto;
}
.display-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary), #bb4b4b);
  border-bottom: 2px solid var(--border);
  position: relative;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.display-header h1 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
}
.order-count-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.order-count {
  font-size: 12px;
  font-weight: 400;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.btn-past-orders {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  /*#c136*/
  padding: 8px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
}
.btn-past-orders:hover { background: rgba(255,255,255,0.22); }
#toggleNavBtn {
  font-size: 0.9rem;
  padding: 4px 10px;
  margin-left: 8px;
}
.display-controls {
  display: flex;
  align-items: center;
}
.nav-hidden .main-nav {
  display: none;
}
.event-label {
  background: var(--btn-primary);
  color: #fff;
  padding: 3px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 10px;
}
.kanban-board {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  /*#c137*/
  flex: 1;
  min-height: 0;
}

@media (max-width: 768px) {
  .kanban-board { grid-template-columns: 1fr; }
}

.kanban-col {
  background: var(--bg-panel);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--border);
}

.col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}

.col-header h2 { font-size: 1rem; letter-spacing: 0px; text-transform: uppercase; }
.col-count {
  background: rgba(0,0,0,0.3);
  padding: 2px 10px;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.col-header-new { background: #b45309; }
.col-header-progress { background: #c2410c; }
.col-header-done { background: #15803d; }

.col-orders {
  padding: 10px;
  overflow-y: auto;
  flex: 1;
}

/*#c138*/
.disp-order-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
  border-left: 4px solid var(--border);
  position: relative;
}

.disp-order-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.disp-order-card.status-pending { border-left-color: #eab308; }
.disp-order-card.status-in_progress { border-left-color: #f97316; }
.disp-order-card.status-completed { border-left-color: var(--success); }

.disp-order-card.urgent {
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% { border-left-color: var(--danger); box-shadow: 0 0 0 0 rgba(255,82,82,0.4); }
  50% { border-left-color: var(--danger); box-shadow: 0 0 10px 3px rgba(255,82,82,0.3); }
}

.order-timer {
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  padding: 6px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.order-timer.urgent { color: var(--danger); }

.order-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.order-card-id { font-weight: 700; font-size: 0.95rem; }
.order-card-name { color: var(--text-muted); font-size: 0.85rem; }

.order-card-items { margin: 8px 0; }

.order-card-item {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: opacity 0.15s;
}

.order-card-item.item-crossed {
  cursor: pointer;
  opacity: 0.45;
}

.order-card-item.item-crossed:hover {
  opacity: 0.7;
}

.card-item-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.card-item-name .qty-badge {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius);
  font-size: 0.75rem;
}

.card-item-ings {
  font-size: 0.75rem;
  padding-left: 6px;
  line-height: 1.4;
}

.card-item-ings .ing-added {
  color: var(--success);
  font-weight: 600;
}
.card-item-ings .ing-removed {
  color: var(--danger);
  text-decoration: line-through;
}
.card-item-ings .ing-default {
  color: var(--text);
  opacity: 0.7;
}

.order-card-notes {
  margin-top: 8px;
  padding: 6px 8px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text);
}

/*#c139*/
.order-card-takeaway {
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
}
/*#c140*/
.order-card-online {
  padding: 6px 10px;
  font-size: 0.85rem; font-weight: 800;
  color: var(--accent, #2cd4bc);
  background: rgba(var(--accent-rgb, 45, 212, 191), 0.1);
  border-top: 1px solid rgba(var(--accent-rgb, 45, 212, 191), 0.35);
  text-align: center;
}
.order-pickup-code {
  font-size: 1.15rem; letter-spacing: 2px;
  background: var(--accent, #2cd4bc); color: var(--accent-contrast);
  border-radius: var(--radius); padding: 2px 8px; margin-left: 4px;
}
.kitchen-display .order-card-online { font-size: 1rem; padding: 8px 10px; }

.order-card-payment-status {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
}
.order-card-payment-status.paid {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
}
.order-card-payment-status.cash {
  background: var(--info);
  color: #fff;
  border: 1px solid var(--info);
}

.order-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.order-card-actions .btn { flex: 1; padding: 8px; font-size: 0.8rem; }

/*#c141*/
.past-orders-panel {
  position: fixed;
  top: 0; right: 0;
  width: 400px; max-width: 90vw;
  height: 100vh;
  background: var(--bg-panel);
  border-left: 2px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.search-bar { padding: 10px 16px; }
.search-bar input { width: 100%; }

.past-orders-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 16px;
}

.past-order-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
}
.past-order-card:hover { border: 1px solid var(--accent); }

/*#c142*/
.page-container { padding: 20px; max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; overflow: visible; }
/*#c143*/
@media (max-width: 767px) {
  .page-container { padding: 14px; }
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.page-header h1 { font-size: 1.3rem; }
.header-controls { display: flex; gap: 8px; align-items: center; }

.category-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cat-tab {
  padding: 6px 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
  transition: all 0.2s;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--btn-primary);
  border-color: var(--btn-primary);
  color: #fff;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 12px;
}

.inv-card {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  transition: border-color 0.15s;
}
.inv-card:hover { border-color: var(--accent); }

.inv-card.low-stock { border-left-color: var(--danger); }
.inv-card.medium-stock { border-left-color: var(--warning); }
.inv-card.ok-stock { border-left-color: var(--success); }
/*#c144*/
.inv-card.inv-card-hidden { opacity: 0.55; }
.inv-hidden-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--text-muted);
  color: var(--bg-panel);
  padding: 1px 6px;
  border-radius: calc(var(--radius) - 1px);
  margin-right: 6px;
}

.inv-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.inv-card-name { font-weight: 700; font-size: 1.05rem; }
.inv-card-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: var(--radius);
}

.inv-stock-bar {
  height: 6px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin: 8px 0;
  overflow: hidden;
}
.inv-stock-fill {
  height: 100%;
  border-radius: var(--radius);
  transition: width 0.3s;
}
.inv-stock-fill.ok { background: var(--success); }
.inv-stock-fill.medium { background: var(--warning); }
.inv-stock-fill.low { background: var(--danger); }

.inv-stock-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.inv-stock-level { font-weight: 700; }
.inv-stock-level.low { color: var(--danger); }
.inv-card-actions {
  display: flex;
  flex-wrap: wrap; /*#c145*/
  gap: 6px;
  margin-top: 8px;
}
/*#c146*/
.inv-card-actions .btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 5px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/*#c147*/
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 12px;
}

.menu-card {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--success);
  transition: border-color 0.15s;
}
.menu-card:hover { border-color: var(--accent); }
.menu-card-header strong { font-size: 1.05rem; }
.menu-card.disabled { opacity: 0.5; border-left-color: var(--text-muted); }
.menu-card.side { border-left-color: var(--info); }

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.menu-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.menu-card-actions .btn {
  padding: 6px 10px;
  font-size: 0.75rem;
  text-align: center;
}

/*#c148*/
.summary-content { padding: 10px 0; }

.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .summary-cards { grid-template-columns: 1fr; }
}

.summary-card {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.card-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.card-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

/*#c149*/
.events-page { max-width: 1200px; margin: 0 auto; }

/*#c150*/
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 12px;
  margin-top: 8px;
}

.event-card {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  touch-action: manipulation;
  /*#c151*/
  transition: border-color 0.15s;
}
.event-card:hover { border-color: var(--accent); }

.event-card-top { margin-bottom: 10px; }
.event-card-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.event-card-title h3 { margin: 0; font-size: 1.05rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.event-type-badge, .event-status-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
}
.type-open { background: rgba(var(--accent-rgb, 45, 212, 191),0.2); color: var(--accent); }
.type-ticketed { background: rgba(139,92,246,0.2); color: #a78bfa; }
.type-private { background: rgba(245,158,11,0.2); color: var(--warning-border); }
.badge-enquiry { background: rgba(245,158,11,0.2); color: var(--warning-border); }
.badge-confirmed { background: rgba(16,185,129,0.2); color: #10b981; }
.badge-complete {
  background: var(--success-bg, rgba(34, 197, 94, 0.12));
  color: var(--success, #22c55e);
}
.badge-canceled { background: rgba(239,68,68,0.2); color: #ef4444; }

.event-location, .event-contact, .event-dates {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-revenue {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.event-revenue .stat-value { font-size: 1rem; font-weight: 700; color: var(--accent); }

.event-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 14px 14px;
}
.event-card-actions .btn { padding: 6px 10px; font-size: 0.75rem; text-align: center; }
.event-card-actions .btn:first-child { grid-column: 1 / -1; }

/*#c152*/
.leads-grid { display: block; }
.leads-hdr, .lead-row { display: grid; grid-template-columns: 1.35fr var(--lc-type, 96px) var(--lc-worth, 124px) 1.6fr .78fr .92fr 36px; }
.leads-hdr { padding: 0 14px; margin-bottom: 6px; }
.leads-hdr span { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; padding: 0 2px; }
.lead-row {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  align-items: center;
  transition: border-color 0.15s;
}
.lead-row:hover { border-color: var(--accent); }
.lead-cell { padding: 2px 10px; border-left: 1px solid rgba(58,63,74,0.55); min-width: 0; }
.lead-cell:first-child { border-left: none; padding-left: 2px; }
.lead-cell .v { font-size: 0.92rem; white-space: normal; overflow-wrap: anywhere; }
.lead-cell .v.lead-name { font-weight: 700; font-size: 0.98rem; }
.lead-cell .cell-sub { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; white-space: normal; overflow-wrap: anywhere; }
.worth-badge { display: inline-block; font-size: 0.72rem; border-radius: 999px; padding: 2px 9px; border: 1px solid; white-space: nowrap; }
.worth-yes { color: var(--accent); border-color: var(--accent); background: rgba(45,212,191,0.1); }
.worth-maybe { color: #f0b04c; border-color: #f0b04c; background: rgba(240,176,76,0.12); }
.worth-no { color: var(--danger); border-color: var(--danger); background: rgba(248,113,113,0.1); }
.worth-none { color: var(--text-muted); border-color: var(--border); }
.lead-cell.cell-act { text-align: center; color: var(--text-muted); }
.leads-grid .lc-meas { white-space: nowrap !important; }
/*#c153*/
.leads-base-line { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.82rem; color: var(--text-muted); }
.leads-base-line strong { color: var(--text); font-weight: 600; }
.leads-hdr [data-sort] { cursor: pointer; user-select: none; }
.leads-hdr [data-sort]:hover { color: var(--text); }
/*#c154*/
.btn-quick { background: rgba(45,212,191,0.08); border: 1px solid var(--accent); color: var(--accent); font-weight: 600; }
.btn-quick:hover { background: rgba(45,212,191,0.16); }
/*#c155*/
.btn-forecast { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, rgba(45,212,191,0.16), rgba(45,212,191,0.04)); border: 1px solid var(--accent); color: var(--accent); font-weight: 600; transition: box-shadow 0.15s ease; }
.btn-forecast:hover { background: linear-gradient(135deg, rgba(45,212,191,0.26), rgba(45,212,191,0.10)); box-shadow: 0 0 14px rgba(45,212,191,0.20); }
.btn-forecast svg { flex: 0 0 auto; }
.cap-strip { margin: 0 0 14px; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }
.cap-strip .srcchip { color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 1px 9px; font-size: 0.74rem; }
.cap-strip .cap-ok, .cap-strip .cap-no { white-space: nowrap; }
.cap-ok { color: #3ecf8e; }
.cap-no { color: var(--text-muted); }
@media (max-width: 900px) {
  .leads-hdr { display: none; }
  .lead-row { display: flex; flex-direction: column; gap: 6px; }
  .lead-cell { border-left: none; padding: 0; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
  .lead-cell::before { content: attr(data-label); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; flex: 0 0 auto; }
  .lead-cell.cell-name { display: block; }
  .lead-cell.cell-name::before { content: none; }
  .lead-cell .v { white-space: normal; text-align: right; }
  .lead-cell.cell-act { display: none; }
}

.calendar-legend { color: var(--text-muted); }

/*#c156*/
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.modal-header h2 { margin: 0; font-size: 1.1rem; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 4px;
}
.modal-close:hover { color: var(--text); }

.summary-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .summary-details { grid-template-columns: 1fr; }
}

.detail-section {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

.detail-section h3 { font-size: 0.95rem; margin-bottom: 10px; }

.detail-list { list-style: none; }
.detail-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list .count {
  background: var(--btn-primary);
  color: #fff;
  padding: 1px 8px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
}

/*#c157*/
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.modal-content {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.5);
  border: 2px solid var(--border);
}
/*#c158*/
.modal-content.fc-modal-content {
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-content.fc-modal-content .fc-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.modal-content.fc-modal-content .fc-modal-footer {
  flex: 0 0 auto;
}
.modal-content h2 { margin-bottom: 16px; }
.modal-sm { max-width: 380px; }
.modal-lg { max-width: 650px; }

.stock-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.selected-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  min-height: 30px;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-card);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.selected-tag .remove-tag {
  cursor: pointer;
  color: var(--danger);
  font-weight: 700;
}
/*#c159*/
.selected-tag .drag-handle {
  cursor: grab;
  color: var(--text-muted);
  font-weight: 700;
  margin-right: 2px;
  -webkit-user-select: none;
  user-select: none;
}
.selected-tag .drag-handle:active { cursor: grabbing; }
.selected-tag.dragging {
  opacity: 0.6;
  outline: 2px dashed var(--accent);
}
/*#c160*/
.extra-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 8px;
  margin-bottom: 8px;
  background: var(--bg-card);
}
.extra-section.dragging {
  opacity: 0.6;
  outline: 2px dashed var(--accent);
}
.extra-section-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.extra-section-head .drag-handle {
  cursor: grab;
  color: var(--text-muted);
  font-weight: 700;
  -webkit-user-select: none;
  user-select: none;
}
.extra-section-head .drag-handle:active { cursor: grabbing; }
.extra-section-name { flex: 1; }
.extra-section-count {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: calc(var(--radius) + 6px);
  padding: 1px 7px;
}
.extra-section-active {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 2px;
}
.extra-section-active:hover { color: var(--accent); }
.extra-section-remove { cursor: pointer; }
.extra-section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}

/*#c161*/
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius); border: 1px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/*#c162*/
@media (max-width: 480px) {
  .panel { padding: 14px; }
  .disp-order-card { padding: 10px; }
  .order-timer { font-size: 1.1rem; }
}

/*#c163*/
.sandbox-only { display: none; }
.sandbox-mode .sandbox-only { display: block; }

.sandbox-payment-modal {
  max-width: 420px;
  text-align: center;
  padding: 30px;
  position: relative;
}

.sandbox-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--warning);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: var(--radius);
}

.sandbox-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sandbox-payment-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.sandbox-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.9rem;
}

.sandbox-value {
  font-weight: 700;
}

.sandbox-value.mono {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sandbox-card-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.sandbox-card-animation.tapping {
  border-color: var(--accent);
  background: var(--accent-bg);
  transform: scale(1.02);
}

.sandbox-card-animation.success {
  border-color: var(--success);
  background: var(--success-bg);
}

.sandbox-card-animation.failed {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.card-icon {
  font-size: 3rem;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.sandbox-card-animation.tapping .card-icon {
  animation: tap-pulse 0.5s ease-in-out 3;
}

@keyframes tap-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.tap-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sandbox-pay-result {
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}

.sandbox-pay-result.success {
  display: block;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
}

.sandbox-pay-result.failed {
  display: block;
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.sandbox-btn-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sandbox-btn-row .btn-lg {
  padding: 14px 40px;
  font-size: 1.1rem;
}

/*#c164*/
.cash-modal {
  max-width: 400px;
  text-align: center;
  padding: 30px;
}

.cash-total-display {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.cash-total-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cash-total-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.cash-input {
  font-size: 1.5rem !important;
  text-align: center;
  font-weight: 700;
  padding: 12px !important;
  width: 100%;
  box-sizing: border-box;
}
/*#c165*/
.cash-input-wrap {
  position: relative;
  width: 100%;
}
.cash-clear-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-card, #1a1f2e);
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.cash-clear-btn:hover {
  color: var(--danger, #ef4444);
  border-color: var(--danger, #ef4444);
}
.cash-clear-btn:active {
  background: var(--danger-bg, rgba(239, 68, 68, 0.15));
}

.cash-quick-btns {
  /*#c166*/
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 20px;
}

.cash-quick-btn {
  /*#c167*/
  min-height: 48px;
  padding: 12px 8px !important;
  font-size: 1rem;
  font-weight: 600;
  border-radius: calc(var(--radius) + 2px);
  border: none;
  cursor: pointer;
}
/*#c168*/
.cash-quick-btn[data-amount="exact"] {
  background: var(--btn-primary, #2563eb);
  color: #fff;
}
.cash-quick-btn[data-amount="exact"]:hover {
  background: var(--btn-primary-hover, #1d4ed8);
}

.discount-big-grid .discount-chip {
  /*#c169*/
  min-height: 84px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: calc(var(--radius) + 4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  background: var(--bg-card, #1a1f2e);
  border: 1px solid var(--border);
  color: var(--text, #e5e7eb);
  cursor: pointer;
}
.discount-big-grid .discount-chip:hover {
  border-color: var(--accent, #2dd4bf);
}
.discount-big-grid .discount-chip.dc-coloured {
  background: var(--dc-bg, #3b82f6);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.discount-big-grid .discount-chip .dc-icon {
  color: inherit;
  display: inline-flex;
  line-height: 0;
}

/*#c170*/
.discounts-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  font-size: 0.9rem;
  min-height: 56px;
  background: var(--bg-panel, rgba(255, 255, 255, 0.02));
}
.discounts-item-row .discount-item-picker .custom-select-btn,
.discounts-item-row .discount-item-btn {
  min-height: 44px;
  border-radius: calc(var(--radius) + 2px);
  font-size: 0.85rem;
}
.discounts-item-row .discount-item-btn.dc-selected {
  background: var(--dc-bg, var(--accent));
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/*#c171*/
.discount-mgr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  font-size: 0.82rem;
  background: var(--bg-panel, rgba(255, 255, 255, 0.02));
}
.discount-mgr-dot {
  display: inline-block;
  flex: 0 0 auto; /*#c172*/
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  vertical-align: -2px;
  margin-right: 6px;
  background: var(--dot-bg, transparent);
}

.cash-change {
  background: var(--success-bg);
  border: 2px solid var(--success);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.cash-change-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--success);
  margin-bottom: 4px;
}

.cash-change-amount {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--success);
}

.cash-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--danger);
  font-weight: 600;
  display: none;
}

/*#c173*/
.pwa-install-btn {
  width: calc(100% - 32px);
  margin: 8px 16px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.2s;
  display: none;
}
.pwa-install-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}
.pwa-install-btn:active {
  transform: translateY(0);
}
.settings-nav-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
}
/*#c174*/
.panel .pwa-install-btn {
  width: auto;
  margin: 0;
  display: none;
}

/*#c175*/
.extra-collapsed { display: none; }
.extra-expanded { animation: extraFadeIn 0.2s ease-out; }

@keyframes extraFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.show-more-extras-btn {
  margin-top: 6px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  padding: 6px 12px !important;
  border-style: dashed !important;
}

/*#c176*/
.brand-selector {
  position: relative;
}

.brand-current {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.brand-current:hover {
  border-color: var(--accent);
}

.brand-dot {
  font-size: 1.2rem;
}

.brand-name {
  font-weight: 600;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-chevron {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.brand-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 100;
  overflow: hidden;
}

.brand-dropdown-list {
  max-height: 240px;
  overflow-y: auto;
}

.brand-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.brand-option:hover {
  background: var(--bg-card);
}

.brand-option.active {
  background: var(--accent-bg);
  font-weight: 600;
}

.brand-option-emoji {
  font-size: 1.2rem;
}

.brand-option-name {
  flex: 1;
}

.brand-option-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.brand-add-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.brand-add-btn:hover {
  background: var(--accent-bg);
}

:root {
  --brand-color: #2cd4bc;
}

/*#c177*/
html[data-theme="light"] {
  --bg: #f3f4f6;
  --bg-panel: #ffffff;
  --bg-card: #e5ebea;   /*#c178*/
  --text: #1f2937;
  --text-muted: #6b7280;
  --accent: #2cd4bc;
  --accent-hover: #5fffef;
  --btn-primary: #2563eb;
  --btn-primary-hover: #1d4ed8;
  --success: #059669;
  --success-bg: #d1fae5;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --info: #2563eb;
  --border: #d1d5db;
  --shadow: 3px 3px 0px rgba(0,0,0,0.12);
  /*#c179*/
  --text-secondary: #6b7280;
  --warning-border: #f59e0b;
  --warning-text: #92400e;
  --dc-bg: #3b82f6;
  --accent-bg: rgba(45, 212, 191, 0.12);
  --accent-rgb: 45, 212, 191;
  --accent-contrast: #11161d;
  --btn-text-transform: uppercase;
  --btn-letter-spacing: 0px;
}
html[data-theme="light"] {
  --brand-color: #2cd4bc;
}
/*#c180*/
[data-theme="light"] body { font-weight: 500; }
/*#c181*/
[data-theme="light"] .display-header { background: var(--bg-panel); }
[data-theme="light"] .display-header h1 { color: var(--text); }
[data-theme="light"] .order-count { color: var(--text-muted) !important; }
[data-theme="light"] .btn-past-orders {
  color: var(--text);
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="light"] .btn-past-orders:hover { background: var(--border); }

/*#c182*/

.allergen-date-bar {
  
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 0 8px 0;
  letter-spacing: 0.5px;
}

.allergen-matrix-wrapper {
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
  .allergen-table-scroll {
    max-width: 100%;
    max-height: calc(100vh - 200px);
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .allergen-table {
    min-width: 640px;
  }
  /*#c183*/
  .allergen-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bg-card);
    box-shadow: 0 1px 0 var(--border);
  }
  .allergen-table-scroll tbody td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-card);
    z-index: 1;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.15);
  }
  .allergen-table-scroll thead th:first-child {
    left: 0;
    z-index: 3;
  }
}

/*#c184*/
.allergen-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  table-layout: fixed;
}

.allergen-table th,
.allergen-table td {
  padding: 8px 6px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
}

.allergen-table thead th {
  background: var(--bg-panel);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.6rem;
  position: sticky;
  top: 0;
  z-index: 1;
  white-space: nowrap;
}

.allergen-col-header {
  min-width: 50px;
  width: 55px;
}

.allergen-header-icon {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 1px;
}

.allergen-header-name-row {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.allergen-header-name {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.allergen-item-header {
  text-align: left;
  min-width: 120px;
  width: 130px;
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--bg-panel);
  font-size: 0.7rem;
}

.allergen-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-size: 0.8rem;
  color: var(--accent);
  padding: 8px 8px 4px 8px;
  border-top: 2px solid var(--accent);
  margin-top: 8px;
}

.allergen-date-inline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.5px;
}

.allergen-item-cell {
  text-align: left;
  white-space: nowrap;
  position: sticky;
  left: 0;
  background: var(--bg);
  z-index: 1;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.7rem;
  font-weight: 600;
}

.allergen-inline-icon {
  font-size: 0.65rem;
  margin-left: 1px;
  cursor: help;
}

.allergen-present {
  background: rgba(248, 113, 113, 0.15);
  text-align: center;
}

.allergen-tick {
  color: var(--danger);
  font-weight: 700;
  font-size: 0.85rem;
}

/*#c185*/
.allergen-may-icon {
  color: var(--warning);
  font-weight: 700;
  font-size: 0.8rem;
  margin-left: 2px;
  cursor: help;
}

/*#c186*/
.allergen-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 6px 2px 10px 2px;
}
.allergen-key-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.allergen-key-item .allergen-tick,
.allergen-key-item .allergen-may-icon {
  font-size: 0.8rem;
}

.allergen-inline-may {
  color: var(--warning);
  font-weight: 700;
}

.allergen-specific-label {
  display: block;
  font-size: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
  line-height: 1.1;
}

.allergen-absent {
  background: var(--bg);
}

/*#c187*/
.allergen-table td[title]:hover::after,
.allergen-table th[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-panel);
  color: var(--text);
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.allergen-table td,
.allergen-table th {
  position: relative;
}

/*#c188*/
.allergen-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  max-height: 260px;
  overflow-y: auto;
}

.allergen-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: all 0.15s;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.allergen-checkbox:hover {
  border-color: var(--accent);
}

.allergen-checkbox input[type="checkbox"] {
  /*#c189*/
  margin: 0;
}

.allergen-checkbox:has(input:checked) {
  background: var(--warning-bg);
  border-color: var(--warning);
  color: var(--warning);
}

.allergen-loading {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/*#c190*/
.allergen-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 8px 0 4px 0;
}
.allergen-group-label:first-child {
  margin-top: 0;
}
.allergen-may-label {
  color: var(--warning);
}
.allergen-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.allergen-may-group .allergen-checkbox {
  background: var(--warning-bg);
  border-color: var(--warning);
  color: var(--warning);
}
.allergen-may-group .allergen-checkbox:has(input:checked) {
  background: var(--warning-bg);
  border-color: var(--warning);
  color: var(--warning);
}
.allergen-specific-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 4px;
}
.allergen-specific-cb {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.allergen-specific-cb input[type="checkbox"] {
  /*#c191*/
  margin: 0;
}

/*#c192*/
.temps-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.temps-tab {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
  cursor: pointer;
  transition: all 0.15s;
}
.temps-tab:hover {
  border-color: var(--accent);
  color: var(--text);
}
.temps-tab.active {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  color: var(--text);
}

.temps-date-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.temps-date-label {
  font-weight: 700;
  font-size: 1rem;
  min-width: 180px;
  text-align: center;
}

.temps-section {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.temps-section h3 {
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.temps-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.temps-section-header h3 {
  margin-bottom: 0;
}

.temps-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.temps-row label {
  min-width: 140px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.temps-input {
  padding: 10px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  width: 120px;
  box-sizing: border-box;
}
.temps-input:focus {
  outline: none;
  border-color: var(--accent);
}
.temps-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/*#c193*/
#monthlyPanel .temps-row label { flex: 0 0 165px; }
#probeNotes { flex: 1; max-width: 400px; }

.temps-hot-hold-header {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.temps-hot-hold-header span:first-child {
  flex: 1;
}
.temps-hot-hold-header span:not(:first-child) {
  width: 60px;
  text-align: center;
}

.temps-hot-hold-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.temps-hot-name {
  flex: 1;
}

.temps-hot-temp {
  width: 60px;
  text-align: center;
  padding: 4px;
  font-size: 0.85rem;
}

.temps-reminder {
  background: var(--warning-bg, #fef3c7);
  color: var(--warning-text, #92400e);
  padding: 8px 12px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--warning-border, var(--warning-border));
}

.temps-countdown {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.temps-status {
  font-size: 0.75rem;
}

.temps-log-slot {
  margin-bottom: 12px;
  padding: 8px;
  background: var(--bg-panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.temps-log-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.temps-log-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.temps-log-entry:last-child { border-bottom: none; }
.temps-log-name { flex: 1; color: var(--text); }
.temps-log-val { font-weight: 700; color: var(--success); }

.fridge-row { margin-bottom: 12px; padding: 8px; border-radius: var(--radius); border: 1px solid var(--border); }
.fridge-row-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.fridge-row-ic {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: rgba(var(--accent-rgb, 45, 212, 191), 0.15); border: 1px solid rgba(var(--accent-rgb, 45, 212, 191), 0.4);
  color: var(--accent);
}
.fridge-row-ic svg { width: 26px; height: 26px; }
.fridge-name-input { flex: 1; max-width: 300px; min-width: 120px; }
.fridge-row .temps-row { margin-bottom: 4px; }
.fridge-row .temps-row label { min-width: 40px; font-size: 0.8rem; text-align: left; }
/*#c194*/
.fridge-row .temps-input:not(.fridge-name-input) { padding: 4px 8px; font-size: 0.85rem; }

.temps-del-entry-btn {
  padding: 2px 6px;
  font-size: 0.7rem;
  line-height: 1;
  margin-left: 4px;
}

.temps-log-action-wrap {
  margin-top: 8px;
}

.temps-log-action {
  margin-top: 6px;
  padding: 6px 8px;
  background: var(--bg-panel);
  border-left: 3px solid var(--warning-border, var(--warning-border));
  font-size: 0.8rem;
  color: var(--text-muted);
  border-radius: 0 4px 4px 0;
}

.temps-saved-msg {
  color: var(--success);
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 10px;
}

.temps-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.temps-history-table th,
.temps-history-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.temps-history-table th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.allergen-checkbox-wrapper {
  margin-bottom: 4px;
}
.allergen-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.allergen-checkbox input[type="checkbox"] {
  /*#c195*/
  margin: 0;
}
.allergen-specific {
  margin: 4px 0 0 22px;
}
.allergen-specific-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.allergen-specific-select {
  padding: 4px 8px !important;
  font-size: 0.8rem !important;
  width: 100% !important;
}

.allergen-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0 8px 0;
}
.fsa-logo {
  height: 50px;
  width: auto;
  opacity: 0.7;
}


/*#c196*/

/*#c197*/
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/*#c198*/
.slide-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.slide-nav.open {
  transform: translateX(0);
}

/*#c199*/
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*#c200*/
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  width: 40px;
  height: 40px;
  background: var(--btn-primary);
  color: #fff;
  border-radius: calc(var(--radius) + 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.nav-brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0px;
}
.nav-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  /*#c201*/
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*#c202*/
  padding: 0;
  margin-left: 6px;
  line-height: 1;
  flex-shrink: 0;
}
.nav-close:hover {
  color: var(--text);
}

/*#c203*/
.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  /*#c204*/
  padding: 0 16px 16px 0;
  flex-shrink: 0;
}
.nav-user-avatar {
  width: 36px;
  height: 36px;
  background: var(--btn-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.nav-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nav-user-name {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*#c205*/
.nav-sections {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.nav-section {
  margin-bottom: 4px;
}
.nav-section-title {
  /*#c206*/
  padding: 10px 16px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/*#c207*/
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  /*#c208*/
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.15s;
  cursor: pointer;
}
.nav-item:hover {
  background: var(--bg-card);
}
.nav-item.active {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 600;
}
.nav-item.active .nav-icon {
  background: var(--accent);
}

.nav-icon-menuboard { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M7 14h4'/%3E%3Cpath d='M7 17h8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M7 14h4'/%3E%3Cpath d='M7 17h8'/%3E%3C/svg%3E"); }

/*#c209*/
.nav-icon {
  display: inline-block;
  /*#c210*/
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--text-muted);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  opacity: 0.7;
}
.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  opacity: 1;
  background: var(--accent);
}

/*#c211*/
.nav-icon-terminal { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M8 7V5a2 2 0 012-2h4a2 2 0 012 2v2'/%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M3 11h18'/%3E%3Cpath d='M8 15h.01M12 15h.01M16 15h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M8 7V5a2 2 0 012-2h4a2 2 0 012 2v2'/%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M3 11h18'/%3E%3Cpath d='M8 15h.01M12 15h.01M16 15h.01'/%3E%3C/svg%3E"); }
.nav-icon-display { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E"); }
.nav-icon-inventory { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3C/svg%3E"); }
.nav-icon-menu { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2'/%3E%3Cpath d='M7 2v20'/%3E%3Cpath d='M21 15V2v0a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3zm0 0v7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2'/%3E%3Cpath d='M7 2v20'/%3E%3Cpath d='M21 15V2v0a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3zm0 0v7'/%3E%3C/svg%3E"); }
.nav-icon-allergens { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
.nav-icon-inspection { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E"); }
.nav-icon-temps { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z'/%3E%3C/svg%3E"); }
.nav-icon-dashboard { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E"); }
.nav-icon-summary { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); }
.nav-icon-reports { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); }
.nav-icon-strategic { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E"); }
.nav-icon-annual { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.nav-icon-events { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.nav-icon-pitch { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); }
.nav-icon-users { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.nav-icon-brands { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E"); }
.nav-icon-permissions { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.nav-icon-settings { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); }
.nav-icon-logout { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }
.nav-icon-message { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.nav-icon-payments { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E"); }
.nav-icon-devices { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E"); }
.nav-icon-receipts { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E"); }
.nav-icon-appearance { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22a10 10 0 1 1 10-10c0 1.7-1.3 3-3 3h-1.5a2.5 2.5 0 0 0-1.8 4.2c.3.3.5.8.5 1.3 0 1.1-.9 2-2 2z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='12' cy='7.5' r='1'/%3E%3Ccircle cx='16.5' cy='10.5' r='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22a10 10 0 1 1 10-10c0 1.7-1.3 3-3 3h-1.5a2.5 2.5 0 0 0-1.8 4.2c.3.3.5.8.5 1.3 0 1.1-.9 2-2 2z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='12' cy='7.5' r='1'/%3E%3Ccircle cx='16.5' cy='10.5' r='1'/%3E%3C/svg%3E"); }
.nav-icon-themes { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='13.5' cy='6.5' r='1.5'/%3E%3Ccircle cx='17.5' cy='10.5' r='1.5'/%3E%3Ccircle cx='8.5' cy='7.5' r='1.5'/%3E%3Ccircle cx='6.5' cy='12.5' r='1.5'/%3E%3Cpath d='M12 2a10 10 0 0 0 0 20c1.1 0 2-.9 2-2 0-.5-.2-1-.5-1.3-.3-.4-.5-.8-.5-1.2 0-1.1.9-2 2-2h2.4c2.5 0 4.6-2.1 4.6-4.6C22 6.3 17.5 2 12 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='13.5' cy='6.5' r='1.5'/%3E%3Ccircle cx='17.5' cy='10.5' r='1.5'/%3E%3Ccircle cx='8.5' cy='7.5' r='1.5'/%3E%3Ccircle cx='6.5' cy='12.5' r='1.5'/%3E%3Cpath d='M12 2a10 10 0 0 0 0 20c1.1 0 2-.9 2-2 0-.5-.2-1-.5-1.3-.3-.4-.5-.8-.5-1.2 0-1.1.9-2 2-2h2.4c2.5 0 4.6-2.1 4.6-4.6C22 6.3 17.5 2 12 2z'/%3E%3C/svg%3E"); }
.nav-icon-platform { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }

/*#c212*/
.admin-only {
  display: none !important;
}
body.role-admin .admin-only {
  display: block !important;
}
body.role-admin .admin-only.top-bar-icon {
  display: flex !important;
}

/*#c213*/
.nav-footer {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  /*#c214*/
  padding: 14px 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
}
.nav-logout:hover {
  background: var(--bg-card);
}

/*#c215*/
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-panel);
  border-bottom: 2px solid var(--border);
  gap: 14px;
}
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  /*#c216*/
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
  /*#c217*/
  width: 44px;
  height: 44px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: var(--radius-sm);
}
.top-bar-center {
  flex: 1;
  min-width: 0;
}
.nav-brand-top {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/*#c218*/
.maintenance-banner {
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
  overflow: hidden;
  background: rgba(245, 158, 11, 0.16);
  border-bottom: 1px solid rgba(245, 158, 11, 0.55);
  color: var(--warning-border);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  padding: 7px 0;
  white-space: nowrap;
}
.maintenance-banner-track {
  display: inline-block;
  padding-left: 100%;
  animation: maintenance-scroll 22s linear infinite;
}
.maintenance-banner-track span {
  padding-right: 4em;
}
@keyframes maintenance-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/*#c219*/
.maintenance-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: var(--warning-border);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.maintenance-chip-icon { font-size: 0.8rem; flex-shrink: 0; }

/*#c220*/
@keyframes maintenance-flash {
  0%, 100% { background: var(--bg-panel); }
  50%     { background: rgba(245, 158, 11, 0.25); }
}
.maintenance-logout-flash {
  animation: maintenance-flash 1s ease-in-out infinite;
}
.nav-clock {
  /*#c221*/
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.top-bar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  /*#c222*/
  width: 44px;
  height: 44px;
  border-radius: calc(var(--radius) + 2px);
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
}
.top-bar-icon:hover {
  background: var(--bg-card);
  color: var(--text);
}
/*#c223*/
.top-bar-icon:hover .nav-icon {
  background: var(--text);
}
.top-bar-icon .nav-icon {
  width: 24px;
  height: 24px;
}
/*#c224*/
.top-bar-icon svg {
  width: 24px;
  height: 24px;
}

/*#c225*/
.main-content {
  padding: 16px;
  min-height: calc(100vh - 50px);
}

/*#c226*/
.settings-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--bg-panel);
  border-left: 1px solid var(--border);
  padding: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.settings-nav.open {
  transform: translateX(0);
}
.settings-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*#c227*/
  padding: 14px 16px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.settings-nav-header .settings-nav-title {
  padding: 8px 0 0;
}
.settings-nav-header .nav-close {
  font-size: 1.6rem;
  padding: 0;
}
/*#c228*/
.alpha-badge {
  align-self: center;
  /*#c229*/
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  /*#c230*/
  padding: 1px 5px;
  margin-left: -4px;
  white-space: nowrap;
  transform: translateY(1px);
}
/*#c231*/
@media (max-width: 767px) {
  .alpha-badge { font-size: 0.48rem; padding: 0 4px; }
}
/*#c232*/
@media (max-width: 640px) {
  .top-bar-center #topBarAppName { display: none !important; }
}
@media (max-width: 767px) {
  .top-bar-center { overflow: hidden; } /*#c233*/
}
@media (max-width: 480px) {
  .top-bar-center .alpha-badge { font-size: 0.42rem; padding: 0 3px; }
}
@media (max-width: 420px) {
  /*#c234*/
  .top-bar-center .alpha-badge { display: none; }
}
@media (max-width: 400px) {
  /*#c235*/
  .top-bar-right { gap: 6px; }
}

/*#c236*/
#settingsNavOverlay {
  z-index: 998;
}

.settings-nav-title {
  /*#c237*/
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 8px 16px 12px;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  /*#c238*/
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.settings-nav-item:hover {
  background: var(--bg-card);
  color: var(--text);
}

.settings-nav-item.active {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 600;
}

.settings-nav-item .nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/*#c239*/
.main-nav { display: none !important; }


.nav-user-summary {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 16px 4px 0;
  flex-shrink: 0;
}

/*#c240*/
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 72px;
  height: 36px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.25s ease;
  pointer-events: none;
}
.theme-toggle.is-dark .theme-toggle-knob { transform: translateX(36px); }
.theme-toggle-ic {
  position: relative;
  z-index: 1;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.25s ease;
  pointer-events: none;
}
.theme-toggle-ic svg { width: 16px; height: 16px; display: block; }
.theme-toggle.is-light .theme-toggle-sun { color: var(--accent-contrast, #11161d); }
.theme-toggle.is-dark .theme-toggle-moon { color: var(--accent-contrast, #11161d); }
/*#c241*/
.nav-brand-selector {
  position: relative;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-brand-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}
.nav-brand-current:hover {
  background: var(--bg-card);
}
.nav-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent);
}
.nav-brand-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-brand-chevron {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1;
}
.nav-brand-dropdown {
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.nav-brand-list {
  padding: 4px;
}
.nav-brand-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
}
.nav-brand-item:hover {
  background: var(--bg-panel);
}
.nav-brand-item.active {
  font-weight: 600;
}
.nav-brand-item-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/*#c242*/
.menu-list::-webkit-scrollbar,
.terminal-container .panel::-webkit-scrollbar,
.customise-panel::-webkit-scrollbar,
.kanban-col-orders::-webkit-scrollbar,
.allergen-matrix-wrapper::-webkit-scrollbar,
.nav-sections::-webkit-scrollbar,
.nav-panels::-webkit-scrollbar,
.settings-panels::-webkit-scrollbar,
.settings-groups::-webkit-scrollbar,
.nav-search-results::-webkit-scrollbar,
.settings-search-results::-webkit-scrollbar,
.col-orders::-webkit-scrollbar,
.past-orders-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.menu-list,
.terminal-container .panel,
.customise-panel,
.kanban-col-orders,
.allergen-matrix-wrapper,
.nav-sections,
.nav-panels,
.settings-panels,
.settings-groups,
.nav-search-results,
.settings-search-results,
.col-orders,
.past-orders-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/*#c243*/
html.sfos-display-page, html.page-display, body.page-display {
  scrollbar-width: none; -ms-overflow-style: none;
  overflow: hidden;
  height: 100vh;
  overscroll-behavior: none;
}
html.sfos-display-page::-webkit-scrollbar, html.page-display::-webkit-scrollbar, body.page-display::-webkit-scrollbar { display: none; width: 0; height: 0; }

.login-page .top-bar { display: none !important; }
.login-page .main-content { min-height: 100vh; }

/*#c244*/
.dot { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:4px; vertical-align:middle; }
.dot-success { background:#22c55e; }
.dot-warning { background:#eab308; }
.dot-danger { background:#ef4444; }
.dot-secondary { background:#9ca3af; }

/*#c245*/
.add-item-card { border:1px solid var(--border); border-radius: var(--radius); padding:12px 14px; margin-bottom:8px; background:var(--card); cursor:pointer; transition:border-color 0.15s,background 0.15s; }
.add-item-card:hover { border-color:var(--accent); }
.add-item-card.selected { border-color: var(--btn-primary); background: var(--bg-panel); }

/*#c246*/
.mb-block.dragging { opacity: 0.5; }
.mb-block .mb-drag-handle { cursor: grab; -webkit-user-select: none; user-select: none; touch-action: none; }
.mb-block .mb-drag-handle:active { cursor: grabbing; }
/*#c247*/
.mb-dragging-active .mb-block { position: relative; }
.mb-dragging-active .mb-block::before,
.mb-dragging-active .mb-block::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33.33%;
  border-radius: calc(var(--radius) + 4px);
  pointer-events: none;
  z-index: 2;
}
.mb-dragging-active .mb-block::before { left: 0; }
.mb-dragging-active .mb-block::after { right: 0; }
.mb-dragging-active .mb-block.drop-left::before,
.mb-dragging-active .mb-block.drop-left::after,
.mb-dragging-active .mb-block.drop-right::before,
.mb-dragging-active .mb-block.drop-right::after {
  background: rgba(var(--accent-rgb, 45, 212, 191), 0.12);
}
.mb-dragging-active .mb-block.drop-left::before {
  background: rgba(var(--accent-rgb, 45, 212, 191), 0.3);
  box-shadow: inset 3px 0 0 var(--accent);
}
.mb-dragging-active .mb-block.drop-right::after {
  background: rgba(var(--accent-rgb, 45, 212, 191), 0.3);
  box-shadow: inset -3px 0 0 var(--accent);
}
.mb-dragging-active .mb-block.drop-vertical { outline: 2px dashed var(--accent); outline-offset: -2px; }
/*#c248*/
.mb-row-badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(var(--accent-rgb, 45, 212, 191), 0.15);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: calc(var(--radius) - 1px);
  margin-left: 6px;
  white-space: nowrap;
}
.mb-row-badge .mb-unrow-btn {
  cursor: pointer;
  font-weight: 700;
  margin-left: 3px;
  padding: 0 2px;
}
.mb-row-badge .mb-unrow-btn:hover { color: var(--danger); }
/*#c249*/
.mb-block-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: stretch;
}
.mb-block-row .mb-block {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

/*#c250*/
body.nav-hidden .top-bar { display: none !important; }
body.nav-hidden .main-content { padding-top: 0 !important; }

/*#c251*/
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0 6px 0 0;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}
input[type="checkbox"]:hover {
  border-color: var(--accent);
}
input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  /*#c252*/
  left: 5px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
label:has(input[type="checkbox"]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
label:has(input[type="checkbox"]) input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}
/*#c253*/
input[type="checkbox"].sf-switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
}
input[type="checkbox"].sf-switch:hover {
  border-color: var(--accent);
}
input[type="checkbox"].sf-switch::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: var(--text-muted, #9ca3af);
  transform: none;
  transition: left 0.15s ease, background 0.15s ease;
}
input[type="checkbox"].sf-switch:checked {
  background: var(--accent);
  border-color: var(--accent);
}
input[type="checkbox"].sf-switch:checked::after {
  left: 20px;
  background: #fff;
}

/*#c254*/
#takeawayCheck {
  appearance: none;
  -webkit-appearance: none;
  /*#c255*/
  display: block;
  margin: 0 auto;
  width: 30px;
  height: 34px; /*#c256*/
  min-height: 0;
  /*#c257*/
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}
#takeawayCheck:hover {
  border-color: var(--accent);
}
#takeawayCheck:checked {
  background: var(--accent);
  border-color: var(--accent);
}
#takeawayCheck:checked::after {
  content: '';
  position: absolute;
  /*#c258*/
  left: 11px;
  top: 10px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
/*#c259*/
input[type="checkbox"].sf-check {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
  vertical-align: middle;
}
input[type="checkbox"].sf-check:hover {
  border-color: var(--accent);
}
input[type="checkbox"].sf-check:checked {
  background: var(--accent);
  border-color: var(--accent);
}
input[type="checkbox"].sf-check:checked::after {
  content: '';
  position: absolute;
  /*#c260*/
  left: 5px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nav-icon-compliance { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); }
.nav-icon-checklists { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M9 14l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M9 14l2 2 4-4'/%3E%3C/svg%3E"); }
.nav-icon-tasks { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.nav-icon-routines { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='1 4 1 10 7 10'/%3E%3Cpolyline points='23 20 23 14 17 14'/%3E%3Cpath d='M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='1 4 1 10 7 10'/%3E%3Cpolyline points='23 20 23 14 17 14'/%3E%3Cpath d='M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15'/%3E%3C/svg%3E"); }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 12px;
  margin: 8px auto 0;
  max-width: 1200px;
}
.compliance-page {
  /*#c261*/
  max-width: 1200px;
  margin: 0 auto;
}
.compliance-upload-card {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.compliance-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.compliance-card:hover { border-color: var(--accent); }
.compliance-preview:hover { opacity: 0.9; }
.compliance-expiry-expired { background: #dc2626 !important; color: #fff !important; font-weight: 700; }
.compliance-expiry-warning { background: var(--warning-border) !important; color: #000 !important; font-weight: 600; }
.page-help-icon { display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--bg-card);border:1px solid var(--border);color:var(--text-muted);font-size:0;cursor:pointer;flex-shrink:0;transition:all 0.15s; }
.page-help-icon:hover { border-color:var(--accent); color:var(--accent); }
.page-help-icon svg { width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none; }



/*#c262*/
@media (max-width: 600px) and (orientation: portrait) {
  .top-bar { padding-top: 36px !important; }
}

/*#c263*/
.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.connection-status.connected .connection-dot {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.connection-status.reconnecting .connection-dot {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning);
  animation: pulse 1.5s infinite;
}
.connection-status.disconnected .connection-dot {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.connection-text {
  white-space: nowrap;
}

/*#c264*/
#toast-container {
  z-index: 10000;
}
#toast-container > div {
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*#c265*/
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/*#c266*/
.disp-order-card.pending {
  border-left: 3px solid var(--warning);
  animation: borderPulse 1.5s ease-in-out infinite;
}
@keyframes borderPulse {
  0%, 100% { border-left-color: var(--warning); opacity: 1; }
  50% { border-left-color: var(--warning-bg); opacity: 0.7; }
}
.disp-order-card.pending .order-card-actions button {
  opacity: 0.7;
  pointer-events: none;
}

/*#c267*/
.btn.loading {
  position: relative;
  color: transparent !important;
}
.btn.loading .spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*#c268*/
.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.connection-status.connected .connection-dot {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.connection-status.reconnecting .connection-dot {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning);
  animation: pulse 1.5s infinite;
}
.connection-status.disconnected .connection-dot {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.connection-text {
  white-space: nowrap;
}

/*#c269*/
#toast-container {
  z-index: 10000;
}
#toast-container > div {
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*#c270*/
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/*#c271*/
.disp-order-card.pending {
  border-left: 3px solid var(--warning);
  animation: borderPulse 1.5s ease-in-out infinite;
}
@keyframes borderPulse {
  0%, 100% { border-left-color: var(--warning); opacity: 1; }
  50% { border-left-color: var(--warning-bg); opacity: 0.7; }
}
.disp-order-card.pending .order-card-actions button {
  opacity: 0.7;
  pointer-events: none;
}

/*#c272*/
.btn.loading {
  position: relative;
  color: transparent !important;
}
.btn.loading .spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*#c273*/
.hardware-compat { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 10px; }
.hardware-legend { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; }
.hardware-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.hardware-row:last-child { border-bottom: none; }
.hardware-img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.hardware-phone { width: 52px; height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.hardware-name { flex: 1; min-width: 0; font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.hardware-note { display: block; font-weight: normal; color: var(--text-muted); font-size: 0.75rem; }
.hardware-badge { padding: 2px 8px; border-radius: calc(var(--radius) + 6px); color: #fff; font-size: 0.72rem; white-space: nowrap; flex-shrink: 0; }
.hardware-badge-ok { background: var(--success); }
.hardware-badge-no { background: var(--danger); }

/*#c274*/
.provider-buttons { display:flex; gap:12px; margin:6px 0 2px; flex-wrap:wrap; }
.provider-btn {
  display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:14px 20px; flex:1 1 140px; min-width:0;
  background:var(--bg-card); border:2px solid var(--border);
  border-radius:10px; cursor:pointer; transition:border-color .15s, transform .1s;
}
.provider-btn:hover { border-color:var(--accent); transform:translateY(-1px); }
.provider-btn:active { transform:translateY(0); }
.provider-btn img { height:48px; width:auto; max-width:100%; object-fit:contain; transition:opacity .15s; }
.provider-label { font-size:0.8rem; color:var(--text-secondary, var(--text-muted)); }
.provider-btn.active {
  border-color:var(--accent);
  box-shadow:0 0 0 1px var(--accent), 0 2px 8px rgba(var(--accent-rgb, 45, 212, 191),0.18);
}
.provider-btn.active .provider-label { color:var(--accent); font-weight:500; }
/*#c275*/
.provider-buttons.touched .provider-btn:not(.active) img { opacity:0.35; filter:grayscale(1); }
.provider-buttons.touched .provider-btn:not(.active):hover img { opacity:0.7; filter:grayscale(0.4); }
.provider-buttons.touched .provider-btn:not(.active):hover .provider-label { color:var(--text-muted); }

/*#c276*/
.user-actions { display:flex; align-items:center; gap:4px; min-width:230px; }
.user-actions .btn { min-width:72px; text-align:center; white-space:nowrap; }

/*#c277*/
.table-scroll-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll-wrap table { min-width: 820px; }

/*#c278*/
/*#c279*/
body.page-settings .main-content,
body.page-payment-settings .main-content,
body.page-upgrade-required .main-content,
body.page-subscription .main-content,
body.page-storefront-settings .main-content,
body.page-preorders-settings .main-content,
body.page-store-settings .main-content,
body.page-loyalty-settings .main-content,
body.page-appearance .main-content,
body.page-allergens-qr .main-content,
body.page-users .main-content,
body.page-permissions .main-content,
body.page-locations .main-content,
body.page-admin-checklists .main-content,
body.page-admin-routines .main-content,
body.page-admin-tasks .main-content,
body.page-audit-log .main-content,
body.page-devices .main-content,
body.page-admin-receipts .main-content,
body.page-dashboard .main-content,
body.page-staff-management .main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.page-settings .main-content > *,
body.page-payment-settings .main-content > *,
body.page-upgrade-required .main-content > *,
body.page-subscription .main-content > *,
body.page-storefront-settings .main-content > *,
body.page-preorders-settings .main-content > *,
body.page-store-settings .main-content > *,
body.page-loyalty-settings .main-content > *,
body.page-appearance .main-content > *,
body.page-allergens-qr .main-content > *,
body.page-users .main-content > *,
body.page-permissions .main-content > *,
body.page-locations .main-content > *,
body.page-admin-checklists .main-content > *,
body.page-admin-routines .main-content > *,
body.page-admin-tasks .main-content > *,
body.page-audit-log .main-content > *,
body.page-devices .main-content > *,
body.page-admin-receipts .main-content > *,
body.page-dashboard .main-content > *,
body.page-staff-management .main-content > * {
  width: 100%;
  max-width: 1200px !important;
}
body.page-settings .main-content .panel,
body.page-payment-settings .main-content .panel,
body.page-upgrade-required .main-content .panel,
body.page-subscription .main-content .panel,
body.page-storefront-settings .main-content .panel,
body.page-preorders-settings .main-content .panel,
body.page-store-settings .main-content .panel,
body.page-loyalty-settings .main-content .panel,
body.page-appearance .main-content .panel,
body.page-allergens-qr .main-content .panel,
body.page-users .main-content .panel,
body.page-permissions .main-content .panel,
body.page-locations .main-content .panel,
body.page-admin-checklists .main-content .panel,
body.page-admin-routines .main-content .panel,
body.page-admin-tasks .main-content .panel,
body.page-audit-log .main-content .panel,
body.page-devices .main-content .panel,
body.page-admin-receipts .main-content .panel,
body.page-dashboard .main-content .panel,
body.page-staff-management .main-content .panel {
  max-width: 1200px !important;
  width: 100%;
}

/*#c280*/
body.page-platform-settings .main-content,
body.page-platform-themes .main-content,
body.page-platform-signups .main-content,
body.page-platform-tiers .main-content,
body.page-support-tickets .main-content,
body.page-support-queries .main-content,
body.page-platform-plans .main-content,
body.page-onboarding .main-content,
body.page-brands .main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.page-platform-settings .main-content > *,
body.page-platform-themes .main-content > *,
body.page-platform-signups .main-content > *,
body.page-platform-tiers .main-content > *,
body.page-support-tickets .main-content > *,
body.page-support-queries .main-content > *,
body.page-platform-plans .main-content > *,
body.page-onboarding .main-content > *,
body.page-brands .main-content > * {
  width: 100%;
  max-width: 1200px !important;
}
body.page-platform-settings .main-content .panel,
body.page-platform-themes .main-content .panel,
body.page-platform-signups .main-content .panel,
body.page-platform-tiers .main-content .panel,
body.page-support-tickets .main-content .panel,
body.page-support-queries .main-content .panel,
body.page-platform-plans .main-content .panel,
body.page-onboarding .main-content .panel,
body.page-brands .main-content .panel {
  max-width: 1200px !important;
  width: 100%;
}

/*#c281*/
body .main-content > .modal {
  max-width: none !important;
}

/*#c282*/
body.page-platform-plans .plans-docs { flex: 0 0 300px; }

/*#c283*/
body.page-admin-menuboard .page-container {
  max-width: 1800px;
}

/*#c284*/
.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
}
/*#c285*/
.compliance-tabs {
  justify-content: center;
}

/*#c286*/
@keyframes supportDotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/*#c287*/
@media (max-width: 767px) {
  .devices-table thead { display: none; }
  .devices-table, .devices-table tbody, .devices-table tr, .devices-table td {
    display: block; width: 100%; box-sizing: border-box;
  }
  .devices-table tr {
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 10px; padding: 8px 10px;
  }
  .devices-table tr:last-child { margin-bottom: 0; }
  .devices-table td {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; border-bottom: 1px dashed var(--border);
  }
  .devices-table td:last-child { border-bottom: none; }
  .devices-table td::before {
    content: attr(data-label);
    font-weight: 600; font-size: 0.75rem; color: var(--text-muted);
    margin-right: 10px; flex-shrink: 0;
  }
  .devices-table td[data-label="Actions"] { flex-wrap: wrap; gap: 4px; }
  .devices-table td[data-label="Actions"]::before { width: 100%; }
}

/*#c288*/
@media (max-width: 900px) {
  .receipt-builder-layout { flex-direction: column; }
  .receipt-builder-layout > div {
    flex: 1 1 auto !important; max-width: 100% !important; width: 100%;
  }
}

/*#c289*/
body.nav-pin-blocked #mainContent,
body.nav-pin-blocked .top-bar {
  visibility: hidden;
}
body.nav-pin-blocked {
  overflow: hidden;
}

/*#c290*/
.chat-drawer-handle {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /*#c291*/
  width: 140px;
  height: 32px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}
.chat-drawer-handle .chat-drawer-chevron {
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
}
.chat-drawer-handle:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/*#c292*/
.chat-drawer-handle.has-unread {
  animation: chatDrawerPulse 2.4s ease-in-out infinite;
}
@keyframes chatDrawerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb, 45, 212, 191), 0.0), 0 2px 6px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 0 14px 3px rgba(var(--accent-rgb, 45, 212, 191), 0.55), 0 2px 6px rgba(0, 0, 0, 0.2); }
}
/*#c293*/
.chat-drawer-handle.nudge .chat-drawer-chevron {
  animation: chatDrawerNudge 1.6s ease-in-out 1;
}
@keyframes chatDrawerNudge {
  0%, 100% { transform: translateY(0); color: var(--text-muted); text-shadow: none; }
  25% { transform: translateY(3px); color: var(--accent); text-shadow: 0 0 10px rgba(var(--accent-rgb, 45, 212, 191), 0.7); }
  50% { transform: translateY(0); color: var(--accent); text-shadow: 0 0 6px rgba(var(--accent-rgb, 45, 212, 191), 0.5); }
  75% { transform: translateY(2px); color: var(--accent); text-shadow: 0 0 4px rgba(var(--accent-rgb, 45, 212, 191), 0.35); }
}
.chat-drawer {
  position: fixed;
  top: 0;
  left: 17%;
  right: 17%;
  /*#c294*/
  /*#c295*/
  height: 65vh;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 9991;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}
.chat-drawer.open {
  transform: translateY(0);
}
.chat-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}
.chat-drawer-room {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 6px;
}
.chat-drawer-room:hover {
  border-color: var(--accent);
}
.chat-drawer-msg {
  max-width: 80%;
  border-radius: calc(var(--radius) + 4px);
  padding: 8px 12px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.chat-drawer-msg.mine {
  background: var(--accent);
  /*#c296*/
  color: var(--accent-contrast);
  margin-left: auto;
}
.chat-drawer-msg.theirs {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text);
}
.chat-drawer-msg .chat-drawer-msg-meta {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 2px;
}
/*#c297*/
body.nav-hidden .chat-drawer-handle,
body.nav-hidden .chat-drawer {
  display: none !important;
}
/*#c298*/
body.page-menuboard .chat-drawer-handle,
body.page-menuboard .chat-drawer {
  display: none !important;
}

/*#c299*/
body.page-menuboard #supportWidget {
  display: none !important;
}

/*#c300*/
#supportWidgetBtn.support-online {
  animation: support-online-pulse 2.4s ease-in-out infinite;
}
@keyframes support-online-pulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(var(--accent-rgb, 45, 212, 191), 0.35)); }
  50%      { filter: drop-shadow(0 0 10px rgba(var(--accent-rgb, 45, 212, 191), 0.7)); }
}
#supportWidgetBtn.support-offline {
  opacity: 0.72;
  filter: none;
}

/*#c301*/
body.app-shell .main-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/*#c302*/
.settings-msg { padding: 10px 14px; border-radius: var(--radius); margin: 8px 0 14px; font-size: 0.9rem; }
.settings-msg-ok { background: rgba(var(--accent-rgb, 45, 212, 191),0.12); border: 1px solid var(--accent); color: var(--accent); }
.settings-msg-error { background: rgba(248,113,113,0.12); border: 1px solid var(--danger); color: var(--danger); }
.empty-state { color: var(--text-muted); font-size: 0.85rem; }
.shop-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; background: rgba(var(--accent-rgb, 45, 212, 191),0.14); color: var(--accent); }
.sfm-section-row.dragging, .sfm-item-row.dragging { opacity: 0.55; }
.sfm-section-block.drag-over, .sfm-item-row.drag-over { outline: 2px dashed var(--accent); outline-offset: 2px; }

/*#c303*/
.nav-icon-loyalty { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='8.5 12.4 11 14.9 15.5 10.1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='8.5 12.4 11 14.9 15.5 10.1'/%3E%3C/svg%3E"); }

/*#c304*/
.nav-icon-website { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }

.nav-icon-preorders { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpolyline points='12 9 12 13 15 15'/%3E%3Cpath d='M12 2v3'/%3E%3Cpath d='M5 5l2 2'/%3E%3Cpath d='M19 5l-2 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpolyline points='12 9 12 13 15 15'/%3E%3Cpath d='M12 2v3'/%3E%3Cpath d='M5 5l2 2'/%3E%3Cpath d='M19 5l-2 2'/%3E%3C/svg%3E"); }
/*#c305*/
.nav-icon-store { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l1-5h16l1 5a3 3 0 0 1-6 0 3 3 0 0 1-6 0 3 3 0 0 1-6 0z'/%3E%3Cpath d='M5 12v8a1 1 0 0 0 1 1h4v-5h4v5h4a1 1 0 0 0 1-1v-8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l1-5h16l1 5a3 3 0 0 1-6 0 3 3 0 0 1-6 0 3 3 0 0 1-6 0z'/%3E%3Cpath d='M5 12v8a1 1 0 0 0 1 1h4v-5h4v5h4a1 1 0 0 0 1-1v-8'/%3E%3C/svg%3E"); }


/*#c306*/
.loy-face { border-radius:12px; padding:16px 18px 20px; background:var(--accent-contrast); color:#fff; box-shadow:0 6px 18px rgba(0,0,0,0.25); }
.loy-top { display:flex; align-items:center; gap:8px; min-height:40px; margin-bottom:10px; }
.loy-logo { max-height:40px; max-width:160px; object-fit:contain; }
.loy-mono { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.18); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.95rem; }
.loy-name { font-size:0.95rem; font-weight:600; }
.loy-strip { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; padding:8px 0; min-height:46px; align-items:center; }
/*#c307*/
.loy-face .loy-name { color: var(--loy-accent, #2cd4bc); }
#lsPrevGoogleFace .loy-name { color: inherit; }
.loy-slot { width:30px; height:30px; border-radius:50%; box-sizing:border-box; display:inline-block; border:2px solid var(--loy-accent, #2cd4bc); opacity:.45; }
.loy-spaced .loy-top { margin-bottom:18.5%; }  /*#c308*/
.loy-spaced .loy-field { margin-top:17%; }  /*#c309*/
.loy-slot.on { border-style:solid; border-color:var(--loy-accent, #2cd4bc); opacity:1; background:var(--loy-accent, #2cd4bc); }
.loy-slot.on.has-art, .has-stamp-art .loy-slot.on { border-color:transparent; background-image:var(--loy-art); background-size:cover; background-position:center; }
.loy-slot.ready { outline:2px solid var(--loy-accent, #2cd4bc); outline-offset:1px; }
.loy-field { margin-top:8px; }
.loy-mini { font-size:0.62rem; letter-spacing:0.08em; font-weight:600; color:var(--loy-accent, #2cd4bc); }
/*#c310*/
.loy-count { margin-left:auto; text-align:right; }
.loy-count-value { font-size:1.05rem; font-weight:700; line-height:1.2; }
.loy-value-lg { font-size:1.5rem; font-weight:700; line-height:1.15; }
.loy-value { font-size:0.9rem; }
/*#c311*/
.loy-qr { display:block; margin:12px auto 0; width:84px; height:84px; background:#ffffff; border-radius:6px; padding:4px; }
.loy-qrbox { width:48.5%; max-width:260px; margin:25.3% auto 0; background:#ffffff; border-radius:8px; padding:10px 10px 9px; box-sizing:border-box; }
.loy-qrbox .loy-qr { width:100%; height:auto; margin:0; background:transparent; border-radius:0; padding:0; }
.loy-qrno { text-align:center; font-size:0.76rem; letter-spacing:0.06em; font-weight:600; margin-top:5px; color:#111; }
.loy-scan { text-align:center; font-size:0.72rem; opacity:0.85; margin-top:2px; }
.loy-pill { background:rgba(255,255,255,0.14); border-radius:10px; padding:2px 8px; font-size:0.7rem; white-space:nowrap; }
.loy-note { color:var(--text-muted); display:block; margin-top:6px; font-size:0.78rem; }

/*#c312*/
.dash-week-panel { margin-bottom: 16px; }
.dash-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; row-gap: 12px; }
.dash-day { border: 1px solid var(--border); border-radius: 4px; padding: 8px; min-height: 96px; display: flex; flex-direction: column; cursor: pointer; background: var(--bg-panel); transition: border-color 0.15s; }
.dash-day:hover { border-color: var(--accent); }
.dash-day-weekend { background: rgba(0,0,0,0.06); }
.dash-day-today { border-color: var(--accent); outline: 2px solid rgba(var(--accent-rgb, 45, 212, 191),0.35); outline-offset: -2px; }
.dash-day-head { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-bottom: 6px; }
.dash-day-name { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.dash-day-today-pill { font-size: 0.6rem; font-weight: 700; color: var(--accent); background: rgba(var(--accent-rgb, 45, 212, 191),0.14); border-radius: 999px; padding: 1px 6px; }
.dash-day-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; }
.dash-day-empty-note { font-size: 0.75rem; color: var(--text-muted); }
.dash-day-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 4px; margin-top: 6px; }
.dash-day-rev { font-size: 0.72rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.dash-dots { display: inline-flex; gap: 3px; align-items: center; }
.dash-dots .dot { margin-right: 0; width: 8px; height: 8px; }
.dash-ev-badge { font-size: 0.65rem; line-height: 1.25; color: #fff; padding: 2px 5px; border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.dash-ev-bar { height: 8px; border-radius: 2px; }
.dash-eng-badge { font-size: 0.65rem; line-height: 1.25; color: #fff; padding: 2px 5px; border-radius: 2px; background: #3b82f6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-week-loading { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.85rem; padding: 20px 0; text-align: center; }

/*#c313*/
.dash-card-span { grid-column: 1 / -1; }
.dash-drop-target { outline: 2px dashed var(--accent); outline-offset: 2px; }
.dash-wx-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; row-gap: 12px; }
.dash-wx-day { border: 1px solid var(--border); border-radius: 4px; padding: 8px 6px; text-align: center; background: var(--bg-panel); display: flex; flex-direction: column; }
.dash-wx-today { border-color: var(--accent); }
.dash-wx-name { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; white-space: nowrap; }
.dash-wx-icon { font-size: 1.5rem; line-height: 1.2; }
.dash-wx-text { font-size: 0.72rem; margin-top: 2px; }
.dash-wx-temps { font-size: 0.82rem; font-weight: 600; margin-top: 4px; }
.dash-wx-src { font-size: 0.65rem; color: var(--accent); margin-top: auto; padding-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-wx-clickable { cursor: pointer; transition: border-color 0.15s; }
.dash-wx-clickable:hover { border-color: var(--accent); }
/*#c314*/
.wx-day-modal { max-width: 520px; width: 100%; }
.wx-hour-list { display: flex; flex-direction: column; gap: 2px; max-height: 62vh; overflow-y: auto; }
.wx-hour-row { display: grid; grid-template-columns: 52px 30px 1fr 90px 52px 70px; align-items: center; gap: 6px; font-size: 0.85rem; padding: 5px 6px; border-bottom: 1px solid var(--border); }
.wx-hour-row:last-child { border-bottom: 0; }
.wx-h-time { font-weight: 600; color: var(--text-muted); font-size: 0.78rem; }
.wx-h-icon { font-size: 1.05rem; text-align: center; }
.wx-h-sky { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8rem; }
.wx-h-temp { font-weight: 600; text-align: right; white-space: nowrap; }
.wx-h-rain { text-align: right; white-space: nowrap; font-size: 0.8rem; }
.wx-h-wind { text-align: right; white-space: nowrap; font-size: 0.78rem; }
@media (max-width: 480px) {
  .wx-hour-row { grid-template-columns: 44px 26px 1fr 74px 46px; gap: 4px; }
  .wx-h-wind { display: none; }
}
@media (max-width: 767px) {
  .dash-wx-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; }
}

/*#c315*/
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.dash-card { margin-bottom: 0; display: flex; flex-direction: column; gap: 8px; }
.dash-card h2 { font-size: 1rem; margin: 0; }
.dash-caption { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); }
.dash-metric { font-size: 1.35rem; font-weight: 700; }
.dash-sub { font-size: 0.85rem; color: var(--text-muted); }
.dash-list { display: flex; flex-direction: column; gap: 6px; }
.dash-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.85rem; }
.dash-row-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-row-val { white-space: nowrap; font-weight: 600; }
.dash-muted { color: var(--text-muted); }
.dash-stock-out { color: var(--danger); font-weight: 600; font-size: 0.85rem; }
.dash-stock-low { color: var(--warning); font-weight: 600; font-size: 0.85rem; }
.dash-docs { font-size: 0.82rem; color: var(--warning); margin-top: 6px; }
.dash-l7-label { min-width: 58px; color: var(--text-muted); font-size: 0.8rem; }
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.dash-link { font-size: 0.82rem; color: var(--accent); text-decoration: none; margin-top: auto; }
.dash-link:hover { text-decoration: underline; }
.dash-chat-unread { color: var(--accent); font-weight: 700; }
.dash-chat-last { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/*#c316*/
.dash-preview { border: 1px solid var(--border); border-radius: 4px; padding: 6px; background: #000; }
.dash-preview-screen { width: 100%; overflow: hidden; position: relative; }
.dash-preview-screen iframe { border: 0; display: block; }

/*#c317*/
.dash-team-rota { margin-top: 6px; font-size: 0.82rem; }
.dash-wx { white-space: nowrap; }
.dash-wx-rain { color: var(--warning); }
.dash-wx-rain-high { color: var(--danger); font-weight: 600; }

/*#c318*/
.dash-news { color: var(--warning); font-weight: 700; }
.dash-stars { color: var(--warning); letter-spacing: 0.5px; }
.dash-ok { color: var(--success); font-weight: 600; }
.dash-warn { color: var(--warning); font-weight: 600; }
.dash-attention { color: var(--danger); font-weight: 600; }

/*#c319*/
.dash-card.dash-card-hidden { display: none; }
.dash-editing .dash-card.dash-card-hidden {
  display: flex; opacity: 0.45; border-style: dashed;
}
.dash-edit-bar {
  display: none; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; width: 100%; margin-top: 8px;
  padding: 8px 12px; border: 1px dashed var(--accent); border-radius: var(--radius);
  font-size: 0.85rem; color: var(--text-muted);
  background: rgba(var(--accent-rgb, 45, 212, 191), 0.06);
}
.dash-edit-tools {
  display: flex; justify-content: space-between; align-items: center;
  margin: -6px 0 2px;
}
.dash-edit-handle {
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  font-size: 1.15rem; line-height: 1; color: var(--text-muted); padding: 2px 8px; margin-left: -8px;
}
.dash-edit-handle:active { cursor: grabbing; }
.dash-edit-eye {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  padding: 2px 8px; font-size: 0.72rem; color: var(--text-muted); cursor: pointer;
}
.dash-edit-eye.is-hidden { color: var(--warning); border-color: var(--warning); }
.dash-card.dragging { opacity: 0.5; outline: 2px dashed var(--accent); }
@media (max-width: 767px) {
  .dash-edit-label { display: none; }
}
.dash-drag-ghost {
  position: fixed; z-index: 99999; pointer-events: none; padding: 6px 12px;
  border: 1px solid var(--accent); border-radius: 4px; font-size: 0.8rem;
  font-weight: 600; background: var(--bg-panel); box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  opacity: 0.9; white-space: nowrap;
}

/*#c320*/
@media (max-width: 767px) {
  .dash-week { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 4px; row-gap: 10px; }
  .dash-day { min-height: 0; min-width: 0; padding: 6px 10px; }
  .dash-day-head { margin-bottom: 2px; }
  .dash-day-body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; }
  .dash-day-foot { margin-top: 2px; }
  .dash-day-empty-note { font-size: 0.75rem; color: var(--text-muted); }
}

/*#c321*/
@media (max-width: 767px) {
  #topBarSoftLock,
  .top-bar-right .nav-clock,
  #topBarSoftUser { display: none !important; }
  .chat-drawer-handle { width: 104px; height: 24px; }
  .chat-drawer-handle .chat-drawer-chevron { font-size: 1.05rem; }
}
/*#c322*/
@media (min-width: 401px) and (max-width: 767px) {
  .top-bar .nav-hamburger { margin-right: 17px; }
}


/*#c323*/

/*#c324*/
.nav-search, .settings-search {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px; /*#c325*/
  font-family: inherit;
}
.nav-search-input:focus { outline: none; border-color: var(--accent); }
.nav-search-input::placeholder { color: var(--text-muted); }

/*#c326*/
.slide-nav { overflow: hidden; }
.nav-body { display: flex; flex: 1; min-height: 0; position: relative; }
.nav-sections { flex: 1; min-width: 0; overflow-y: auto; }

/*#c327*/
.nav-group-btn, .settings-group-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  box-sizing: border-box;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.nav-group-btn:hover, .settings-group-btn:hover { background: var(--bg-card); }
.nav-group-btn.active, .settings-group-btn.active { background: var(--bg-card); color: var(--accent); font-weight: 600; }
.nav-group-btn.has-active, .settings-group-btn.has-active { color: var(--accent); }
.nav-group-label { flex: 1; }
.nav-group-chevron, .settings-group-chevron { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; }
/*#c328*/
.nav-group-btn.active .nav-group-chevron,
.settings-group-btn.active .settings-group-chevron { transform: rotate(90deg); display: inline-block; }
.nav-group-btn.active .nav-group-chevron, .settings-group-btn.active .settings-group-chevron { color: var(--accent); }

/*#c329*/
.nav-panels, .settings-panels { display: none; }
.nav-panel, .settings-panel { display: none; }
.nav-panel.open, .settings-panel.open { display: block; }
.nav-panel-back {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.nav-panel-back:hover { color: var(--text); }
@keyframes navPanelIn { from { opacity: 0.4; transform: translateX(6px); } to { opacity: 1; transform: none; } }
.nav-panel.open, .settings-panel.open { animation: navPanelIn 0.16s ease; }

/*#c330*/
.nav-search-results, .settings-search-results { display: none; flex: 1; overflow-y: auto; padding: 4px 0 8px; }
.slide-nav.searching .nav-body, .settings-nav.searching .settings-nav-body { display: none; }
.slide-nav.searching .nav-search-results { display: block; }
.settings-nav.searching .settings-search-results { display: block; }
.nav-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-search-result:hover { background: var(--bg-card); }
.nav-search-result .nav-label { flex: 1; }
.nav-search-group {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}
.nav-search-empty { padding: 14px 16px; color: var(--text-muted); font-size: 0.85rem; }

/*#c331*/
.settings-nav { overflow: hidden; }
.settings-nav-body { display: flex; flex: 1; min-height: 0; position: relative; }
.settings-groups { flex: 1; min-width: 0; overflow-y: auto; padding: 4px 0; }

/*#c332*/
.settings-changelog-btn {
  width: calc(100% - 32px);
  margin: 8px 16px 0;
  background: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.settings-changelog-btn:hover { color: var(--text); border-color: var(--text-muted); }

/*#c333*/
@keyframes navPopIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes navPopInLeft {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: none; }
}
@media (min-width: 768px) {
  /*#c334*/
  .slide-nav, .settings-nav { overflow: visible; }
  .slide-nav.group-open .nav-panels,
  .settings-nav.group-open .settings-panels {
    display: block;
    position: absolute;
    top: 0; /*#c335*/
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius, 8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
    padding: 6px 0;
    /*#c336*/
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 24px);
    z-index: 1001;
  }
  .slide-nav.group-open .nav-panels { left: 100%; margin-left: 8px; width: 280px; animation: navPopIn 0.16s ease; }
  .settings-nav.group-open .settings-panels { right: 100%; margin-right: 8px; width: 260px; animation: navPopInLeft 0.16s ease; }
}

/*#c337*/
@media (max-width: 767px) {
  .slide-nav { overflow: hidden; }
  .nav-panels, .settings-panels {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 6;
    background: var(--bg-panel);
    transform: translateX(100%);
    transition: transform 0.2s ease;
    overflow-x: hidden; /*#c338*/
    overflow-y: auto;
  }
  .slide-nav.group-open .nav-search, .settings-nav.group-open .settings-search { display: none; }
  .slide-nav.group-open .nav-panels { transform: translateX(0); }
  .settings-nav.group-open .settings-panels { transform: translateX(0); }
  .nav-panel-back { display: flex; }
  /*#c339*/
  .nav-item, .settings-nav-item, .nav-group-btn, .settings-group-btn { min-height: 44px; padding: 10px 16px; }
  .nav-sections { padding: 2px 0; }
  .nav-section { margin-bottom: 2px; }
  .nav-footer { padding: 6px 0; }
  .nav-user { padding: 0 16px 6px 0; }
  .nav-copyright { padding: 4px 16px !important; }
}

/*#c340*/
.nav-mail-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 14px; margin-left: auto; margin-right: 4px; flex: 0 0 auto;
  background: var(--accent, #2cd4bc);
  border-radius: 3px;
  position: relative;
}
/*#c341*/
.settings-nav-item { display: flex; align-items: center; }
.settings-group-btn { display: flex; align-items: center; }
.nav-mail-badge + .settings-group-chevron { margin-left: 4px; }
.nav-mail-badge::before {
  /*#c342*/
  content: ''; position: absolute; top: 3px; left: 2px; right: 2px; height: 5px;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 5px solid var(--bg-panel, #1a1f27);
}
.nav-mail-badge::after {
  /*#c343*/
  content: ''; position: absolute; bottom: 3px; left: 2px; right: 2px; height: 4px;
  background: var(--bg-panel, #1a1f27); border-radius: 0 0 1px 1px;
}
.nav-mail-badge.pulse { animation: navMailPulse 2s ease-in-out infinite; }
@keyframes navMailPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb, 45, 212, 191), 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(var(--accent-rgb, 45, 212, 191), 0); }
}

/*#c344*/
.nav-feedback-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 14px; margin-left: auto; margin-right: 4px; flex: 0 0 auto;
  background: var(--accent, #2cd4bc);
  border-radius: 3px;
  font-size: 10px; line-height: 1;
  color: #11161d; /*#c345*/
}
.nav-feedback-badge::before { content: '\2605'; }
.nav-feedback-badge.pulse { animation: navMailPulse 2s ease-in-out infinite; }
/*#c346*/
.nav-badges { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 4px; }
.nav-badges .nav-mail-badge, .nav-badges .nav-feedback-badge { margin-left: 0; margin-right: 0; }
/*#c347*/
#topBarSettings.cog-activity {
  color: var(--accent);
  animation: cogActivityPulse 2.4s ease-in-out infinite;
}
#topBarSettings.cog-activity .nav-icon { background: var(--accent); }
@keyframes cogActivityPulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(var(--accent-rgb, 45, 212, 191), 0.35)); }
  50%      { filter: drop-shadow(0 0 10px rgba(var(--accent-rgb, 45, 212, 191), 0.7)); }
}

/*#c348*/
.sa-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 10px; }
.sa-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; flex: 0 0 auto; border: 1px solid var(--border); }
.sa-thumb-empty { display: inline-block; background: var(--bg-card); }
.sa-price { min-width: 84px; font-weight: 700; }
.sa-stock { min-width: 220px; font-size: 0.85rem; }
.sa-size-stocks { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.sa-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; background: rgba(var(--accent-rgb, 45, 212, 191), 0.14); color: var(--accent); white-space: nowrap; }
.sa-chip-warning { background: rgba(251, 191, 36, 0.14); color: var(--warning); }
.sa-chip-danger { background: rgba(248, 113, 113, 0.14); color: var(--danger); }
.sa-chip-muted { background: rgba(156, 163, 175, 0.18); color: var(--text-muted); }
.sa-size-row, .sa-band-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.sa-size-row input[type="text"] { flex: 1 1 160px; max-width: 220px; }
.sa-size-row input[type="number"] { width: 110px; }
.sa-band-row label { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }
.sa-band-row input[type="number"] { width: 100px; }
.sa-bag { margin-bottom: 8px; }
.sa-radio-label { display: flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
/*#c349*/
.form-group .sa-radio-label { display: inline-flex; align-items: center; margin: 0; }

/*#c350*/
.fb-stats { font-size: 0.85rem; color: var(--text-muted); }
.fb-stats strong { color: var(--text); }
.fb-row { padding: 14px 16px; margin-bottom: 10px; }
.fb-row-flash { outline: 2px solid var(--accent); outline-offset: -2px; }
.fb-row-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-row-stars { font-size: 0.95rem; letter-spacing: 1px; color: var(--warning); }
.fb-row-meta { font-size: 0.78rem; color: var(--text-muted); }
.fb-pill { font-size: 0.68rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.fb-pill-new { background: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.4); }
.fb-pill-resolved { background: rgba(45, 212, 191, 0.12); color: var(--accent); border: 1px solid rgba(45, 212, 191, 0.35); }
.fb-row-comment { margin-top: 8px; font-size: 0.92rem; }
.fb-row-cats { margin-top: 6px; font-size: 0.78rem; color: var(--text-muted); }
.fb-row-foot { margin-top: 10px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fb-row-resolution { font-size: 0.78rem; color: var(--text-muted); }
.fb-loc-row { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.fb-loc-row:last-child { border-bottom: none; }
.fb-loc-main { flex: 1 1 320px; min-width: 0; }
.fb-loc-qrbox { flex: 0 0 auto; text-align: center; }
.fb-loc-qr { width: 96px; height: 96px; border-radius: 4px; background: #ffffff; padding: 4px; box-sizing: border-box; }
/*#c351*/
.nav-icon-feedback { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%3E%3Cpath%20d='M21%2011.5a8.38%208.38%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.38%208.38%200%200%201-3.8-.9L3%2021l1.9-5.7a8.38%208.38%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.38%208.38%200%200%201%203.8-.9h.5a8.48%208.48%200%200%201%208%208v.5z'/%3E%3Cpath%20d='m12%208%201.1%202.2%202.4.3-1.8%201.7.4%202.4-2.1-1.1-2.1%201.1.4-2.4-1.8-1.7%202.4-.3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%3E%3Cpath%20d='M21%2011.5a8.38%208.38%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.38%208.38%200%200%201-3.8-.9L3%2021l1.9-5.7a8.38%208.38%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.38%208.38%200%200%201%203.8-.9h.5a8.48%208.48%200%200%201%208%208v.5z'/%3E%3Cpath%20d='m12%208%201.1%202.2%202.4.3-1.8%201.7.4%202.4-2.1-1.1-2.1%201.1.4-2.4-1.8-1.7%202.4-.3z'/%3E%3C/svg%3E"); }


/*#c352*/
.nav-icon-leads-book { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); }
.leads-book-page { max-width: 1200px; margin: 0 auto; }
.lead-plan-row { display: flex; gap: 6px; margin-bottom: 6px; align-items: center; }
.lead-plan-row .plan-item { flex: 1; min-width: 0; }
.lead-plan-row .plan-qty { flex: 0 0 76px; }
.lead-plan-row .plan-note { flex: 1.2; min-width: 0; }
.lead-activity-item { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.lead-activity-item:last-child { border-bottom: none; }
.lead-activity-kind { display: inline-block; min-width: 64px; font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.lead-state-badge { display: inline-block; padding: 2px 8px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border: 1px solid var(--border); }
.lead-state-traded { color: #22c55e; border-color: #22c55e; }
.lead-state-new { color: #f59e0b; border-color: #f59e0b; }
.lead-state-avoid { color: #ef4444; border-color: #ef4444; }
.lead-state-archived { color: var(--text-muted); }

/*#c353*/
input[type="range"] { -webkit-appearance: none; appearance: none; height: 18px; padding: 0; background: transparent; cursor: pointer; vertical-align: middle; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--accent, #2dd4bf) calc(var(--mbd-p, 0) * 100%), var(--border, rgba(148, 163, 184, 0.30)) 0); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; background: #fff; border: 4px solid var(--accent, #2dd4bf); box-sizing: border-box; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--border, rgba(148, 163, 184, 0.30)); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent, #2dd4bf); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--accent, #2dd4bf); box-sizing: border-box; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
input[type="range"]:focus { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 45, 212, 191), 0.35); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 45, 212, 191), 0.35); }

/*#c354*/
.nav-icon-private-hire { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 10h18V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M21.29 14.7a2.43 2.43 0 0 0-2.65-.52c-.3.12-.57.3-.8.53l-.34.34-.35-.34a2.43 2.43 0 0 0-2.65-.53c-.3.12-.56.3-.79.53-.95.94-1 2.53.2 3.74L17.5 22l3.6-3.55c1.2-1.21 1.14-2.8.19-3.74Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 10h18V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M21.29 14.7a2.43 2.43 0 0 0-2.65-.52c-.3.12-.57.3-.8.53l-.34.34-.35-.34a2.43 2.43 0 0 0-2.65-.53c-.3.12-.56.3-.79.53-.95.94-1 2.53.2 3.74L17.5 22l3.6-3.55c1.2-1.21 1.14-2.8.19-3.74Z'/%3E%3C/svg%3E"); }
.private-hire-page { max-width: 1200px; margin: 0 auto; }
.hire-grid { display: block; }
.hire-head-row, .hire-row { display: grid; grid-template-columns: 1.5fr .9fr 1.1fr .55fr 1.15fr .95fr .95fr; }
.hire-head-row { padding: 0 14px; margin-bottom: 6px; }
.hire-head-row div { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; padding: 0 2px; }
.hire-row {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  align-items: center;
  transition: border-color 0.15s;
}
.hire-row:hover { border-color: var(--accent); }
.hire-cell { padding: 2px 10px; border-left: 1px solid rgba(58,63,74,0.55); min-width: 0; }
.hire-cell:first-child { border-left: none; padding-left: 2px; }
.hire-cell .v { font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hire-cell .v.hire-name { font-weight: 700; font-size: 0.98rem; }
.hire-cell .cell-sub { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/*#c355*/
.hire-status-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border: 1px solid var(--border); white-space: nowrap; }
.st-new { color: #f0b04c; border-color: #f0b04c; background: rgba(240,176,76,0.12); }
.st-contract_out { color: var(--accent); border-color: var(--accent); background: rgba(45,212,191,0.1); }
.st-accepted { color: #3ecf8e; border-color: #3ecf8e; background: rgba(62,207,142,0.1); }
.st-deposit_paid { color: #3ecf8e; border-color: #3ecf8e; }
.st-paid { color: #3ecf8e; border-color: #3ecf8e; background: rgba(62,207,142,0.14); }
.st-done { color: var(--text-muted); }
.st-lost, .st-cancelled { color: var(--danger); border-color: var(--danger); }
/*#c356*/
.hire-qualify { display: flex; flex-wrap: wrap; gap: 8px; }
.hire-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); }
.chip-ok { color: #3ecf8e; border-color: rgba(62,207,142,0.5); background: rgba(62,207,142,0.08); }
.chip-warn { color: #f0b04c; border-color: rgba(240,176,76,0.55); background: rgba(240,176,76,0.1); }
.chip-muted { color: var(--text-muted); }
.hire-nearby { margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; font-size: 0.82rem; }
.hire-nearby .nearby-hd { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.nearby-row { display: flex; gap: 10px; padding: 3px 0; border-top: 1px solid var(--border); }
.nearby-row:first-of-type { border-top: none; }
.nearby-when { flex: 0 0 150px; color: var(--text-muted); }
.nearby-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nearby-kind { flex: 0 0 auto; color: var(--text-muted); font-size: 0.75rem; }
.nearby-overlap .nearby-name { color: #f0b04c; }
/*#c357*/
.hire-kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); font-size: 0.88rem; align-items: baseline; }
.hire-kv:first-child { border-top: none; }
.hire-kv > span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; }
.hire-ledger span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 900px) {
  .hire-head-row { display: none; }
  .hire-row { display: flex; flex-direction: column; gap: 6px; }
  .hire-cell { border-left: none; padding: 0; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
  .hire-cell::before { content: attr(data-label); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; flex: 0 0 auto; }
  .hire-cell.cell-client { display: block; }
  .hire-cell.cell-client::before { content: none; }
  .hire-cell .v { white-space: normal; text-align: right; }
  .hire-kv { grid-template-columns: 1fr; gap: 2px; }
  .nearby-when { flex: 0 0 110px; }
}

/*#c358*/
.hm-list { display: flex; flex-direction: column; gap: 10px; }
.hm-card { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.hm-card.is-off { opacity: 0.6; }
.hm-card-main { min-width: 0; }
.hm-card-title { font-weight: 700; font-size: 0.95rem; }
.hm-off-pill { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--border); border-radius: 999px; padding: 1px 7px; color: var(--text-muted); vertical-align: 2px; margin-left: 6px; }
.hm-card-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.hm-card-meta { font-size: 0.82rem; margin-top: 6px; }
.hm-card-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.hm-chip { font-size: 0.7rem; border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; color: var(--text-muted); }
.hm-card-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.hm-empty { text-align: center; padding: 26px 20px; border: 1px dashed var(--border); border-radius: 12px; }
.hm-skel-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hm-skel-card { display: flex; flex-direction: column; gap: 3px; text-align: left; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; color: inherit; background: none; cursor: pointer; max-width: 250px; }
.hm-skel-card strong { font-size: 0.88rem; }
.hm-skel-card span { font-size: 0.75rem; color: var(--text-muted); }
.hm-skel-card:hover { border-color: var(--text-muted); }
.hm-stylebox { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-style-chk { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; cursor: pointer; color: var(--text-muted); }
.hm-style-chk.is-on { border-color: var(--text-muted); color: inherit; }
.hm-course { border: 1px solid var(--border); border-radius: 9px; padding: 10px; margin-bottom: 8px; }
.hm-course-head { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.hm-course-head input { flex: 1; min-width: 0; }
.hm-item { display: flex; gap: 6px; align-items: center; margin-bottom: 5px; }
.hm-item input { flex: 1; min-width: 0; }
.hm-mini { border: 1px solid var(--border); background: none; color: var(--text-muted); border-radius: 6px; font-size: 0.72rem; padding: 3px 7px; cursor: pointer; flex-shrink: 0; }
.hm-mini:hover { color: inherit; border-color: var(--text-muted); }

/* Course modes + item-library picker (P7, 2026-10-09) */
.hm-course-mode { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.hm-course-mode select { font-size: 0.78rem; padding: 4px 6px; }
.hm-pick-lab { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; color: var(--text-muted); }
.hm-pick-lab input { width: 46px; padding: 3px 5px; font-size: 0.76rem; }
.hm-pick-hint { font-size: 0.72rem; color: var(--text-muted); }
.hm-pick-pop { position: fixed; z-index: 70; width: 300px; max-height: 280px; display: flex; flex-direction: column; background: var(--bg-card, #161b26); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); padding: 8px; }
.hm-pick-search { width: 100%; margin-bottom: 6px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 7px; background: rgba(255, 255, 255, 0.04); color: inherit; font-size: 0.85rem; box-sizing: border-box; }
.hm-pick-list { overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.hm-pick-item { text-align: left; background: none; border: none; border-radius: 7px; padding: 7px 9px; font-size: 0.82rem; color: inherit; cursor: pointer; }
.hm-pick-item:hover { background: rgba(255, 255, 255, 0.06); }
.hm-pick-new { color: var(--text-muted); border: 1px dashed var(--border); }

/* Proposal builder (P7, 2026-10-09) */
.pb-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.pb-col { border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.pb-name { font-weight: 700; font-size: 0.95rem; padding: 6px 8px; width: 100%; box-sizing: border-box; }
.pb-sub { font-size: 0.74rem; color: var(--text-muted); }
.pb-row { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; }
.pb-row input { width: 96px; }
.pb-course { border-top: 1px dashed var(--border); padding-top: 6px; }
.pb-cname { font-weight: 600; font-size: 0.82rem; }
.pb-picks { font-size: 0.76rem; color: var(--text-muted); }
.pb-picks input { width: 56px; padding: 2px 6px; font-size: 0.78rem; }
.pb-items { font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; }
.pb-lines { border-top: 1px dashed var(--border); padding-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.pb-line { display: flex; gap: 6px; align-items: center; }
.pb-line .pb-llabel { flex: 1; min-width: 0; font-size: 0.78rem; padding: 4px 6px; }
.pb-line .pb-lamt { width: 84px; font-size: 0.8rem; padding: 4px 6px; }
.pb-lx { cursor: pointer; color: var(--text-muted); padding: 0 4px; }
.pb-lx:hover { color: inherit; }
.pb-total { font-weight: 700; font-size: 0.9rem; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 2px; }
.pb-addline { align-self: flex-start; }

/* Builder style row (P7 glam pass, 2026-10-09) */
.pb-style { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; padding: 4px 0 2px; border-top: 1px dashed var(--border); }
.pb-style-lab { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; }
.pb-swatches { display: inline-flex; gap: 3px; }
.pb-swatch { width: 16px; height: 16px; border-radius: 50%; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.25); }
.pb-swatch:hover { transform: scale(1.15); }
.pb-colour { display: inline-flex; align-items: center; gap: 3px; font-size: 0.7rem; color: var(--text-muted); }
.pb-colour input[type=color] { width: 26px; height: 20px; padding: 0; border: 1px solid var(--border); border-radius: 4px; background: none; cursor: pointer; }
.pb-imgthumb { position: relative; display: inline-block; margin-left: 2px; }
.pb-imgthumb img { width: 42px; height: 28px; object-fit: cover; border-radius: 5px; display: block; border: 1px solid var(--border); }
.pb-imgx { position: absolute; top: -5px; right: -5px; background: var(--bg-card, #161b26); border: 1px solid var(--border); border-radius: 50%; width: 15px; height: 15px; line-height: 13px; text-align: center; font-size: 0.6rem; cursor: pointer; }

/* Proposal option rows (Setup tab, 09/10/2026) */
.ps-row { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; }
.ps-row .ps-row-name { flex: 1 1 140px; min-width: 110px; }
.ps-row .ps-row-target { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.ps-row .ps-row-target input { width: 76px; }
.ps-row .ps-row-target span { color: var(--text-muted); font-size: 0.8rem; }
.ps-row .ps-row-menu { flex: 1.4 1 160px; min-width: 130px; }
.ps-row .ps-row-x { flex: 0 0 auto; width: 34px; padding: 5px 0; text-align: center; }
#psRows input, #psRows select { padding: 8px 11px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.88rem; font-family: inherit; }
#psRows input:focus, #psRows select:focus { outline: none; border-color: var(--accent); }

/* Private hire P8/P9 (2026-10-09): board chips, choice box, nudge, thread */
.cell-chips { margin-top: 3px; display: flex; gap: 4px; flex-wrap: wrap; }
.hire-rowchip { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; border: 1px solid var(--border); color: var(--text-muted); }
.hire-rowchip.chip-chose { color: var(--accent); border-color: var(--accent); }
.hire-rowchip.chip-neg { color: #f0b04c; border-color: #f0b04c; border-style: dashed; }
.hire-choice-box { margin: 10px 0 0; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.hire-choice-head { font-size: 0.9rem; }
.hire-choice-line { font-size: 0.84rem; margin-top: 4px; }
.hire-choice-line span:first-child { font-weight: 600; }
.hire-choice-line em { font-style: normal; color: var(--text-muted); }
.hire-choice-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 7px; }
.hire-nudge { margin: 10px 0 0; border: 1px dashed #f0b04c; border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hire-nudge-sub { font-size: 0.78rem; color: var(--text-muted); }
.hire-thread { margin: 10px 0 0; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.hire-thread-title { font-weight: 700; font-size: 0.9rem; }
.hire-thread-sub { font-weight: 400; font-size: 0.72rem; color: var(--text-muted); margin-left: 6px; }
.hire-thread-list { max-height: 220px; overflow-y: auto; margin: 8px 0; }
.hire-th { margin: 6px 0; padding: 7px 10px; border-radius: 10px; max-width: 84%; font-size: 0.85rem; line-height: 1.45; }
.hire-th.is-client { background: rgba(45,212,191,0.10); border: 1px solid rgba(45,212,191,0.3); margin-right: auto; }
.hire-th.is-op { background: rgba(148,163,184,0.12); border: 1px solid var(--border); margin-left: auto; }
.hire-th-at { display: block; font-size: 0.66rem; color: var(--text-muted); margin-top: 3px; }
.hire-th-evt { text-align: center; font-size: 0.73rem; color: var(--text-muted); margin: 6px 0; }
.hire-thread-input textarea { width: 100%; box-sizing: border-box; background: var(--bg-card); color: var(--text); border: 1px solid var(--border); border-radius: 7px; padding: 9px 11px; font: inherit; resize: vertical; }
.hire-thread-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
/* Calendar soft-hold chip (P9): negotiation marker, never a block */
.cal-neg-chip { border: 1px dashed #f0b04c; color: #f0b04c; border-radius: 3px; padding: 1px 4px; font-size: 0.62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; margin-bottom: 1px; cursor: pointer; }

/* Contract generation (P10, 2026-10-09, Kit): admin preview + Setup card */
.hc-doc { border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); padding: 16px 18px; max-height: 58vh; overflow-y: auto; }
.hc-mast { text-align: center; margin: 2px 0 16px; padding-bottom: 12px; border-bottom: 4px double var(--border); }
.hc-mast-title { font-size: 1.02rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hc-mast-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 5px; }
.hc-num { color: var(--accent); font-weight: 700; margin-right: 6px; }
.hc-lead { font-size: 0.9rem; line-height: 1.6; margin: 0 0 8px; }
.hc-sec { margin-bottom: 14px; }
.hc-sec:last-child { margin-bottom: 0; }
.hc-sec-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.hc-line { font-size: 0.88rem; line-height: 1.55; margin-bottom: 2px; }
.hc-pre { white-space: pre-wrap; word-break: break-word; font: 0.85rem/1.6 inherit; margin: 0; }
.ct-row { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; flex-wrap: wrap; }
.ct-row .ct-cell { display: flex; align-items: center; gap: 5px; }
.ct-row .ct-cell input { width: 84px; }
.ct-row .ct-cell span { font-size: 0.78rem; color: var(--text-muted); }
.ct-row .ct-stock { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 5px; align-items: center; }
.ct-row .ct-row-x { width: 34px; padding: 5px 0; text-align: center; }
.ct-clause { border: 1px dashed var(--border); border-radius: 8px; padding: 8px 10px; margin: 0 0 8px; }
.ct-clause-head { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.ct-clause-head input { flex: 1; }
.ct-clause textarea { width: 100%; box-sizing: border-box; }
#ctLadder input, #ctClauses input, #ctClauses textarea { padding: 8px 11px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.85rem; font-family: inherit; }
#ctLadder input:focus, #ctClauses input:focus, #ctClauses textarea:focus { outline: none; border-color: var(--accent); }

/* Hire activity markers (Kit 09/10): "!" badges — board rows + nav items
   (Private Hire, bubbling up to the Manage group). Cleared when the hire is
   opened; the nav count comes from res.locals.hireNewsCount. */
.nav-news { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 6px; border-radius: 9px; background: var(--accent); color: #0b0f14; font-size: 0.68rem; font-weight: 700; line-height: 1; }
.hire-news { display: inline-flex; align-items: center; justify-content: center; min-width: 15px; height: 15px; padding: 0 3px; margin-left: 6px; border-radius: 8px; background: var(--accent); color: #0b0f14; font-size: 0.66rem; font-weight: 700; line-height: 1; vertical-align: middle; }
