@import url('/fonts.css');
:root {
  --ink: #17251d;
  --muted: #6b776e;
  --green: #224d36;
  --lime: #b9f64b;
  --paper: #f6f8f3;
  --line: #e2e8df;
  --white: #fff;
  --red: #e15454;
  --blue: #4087ef;
  --orange: #e79a24;
  --purple: #9973d8;
  --shadow: 0 12px 40px #10291a0a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #76b826;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 2.15rem;
  letter-spacing: -1.1px;
  font-weight: 650;
  line-height: 1.2;
}
h2 {
  font-size: 1.3rem;
  letter-spacing: -0.4px;
  font-weight: 650;
}
h3 {
  font-size: 1.08rem;
}
p {
  line-height: 1.6;
}
small,
.small {
  font-size: 0.82rem;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.icon {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.6px;
  font-size: 1.35rem;
}
.brand img {
  width: 35px;
  height: 35px;
}
.brand .sub {
  font-weight: 400;
  opacity: 0.55;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 2rem;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  padding: 11px 16px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.15s;
}
.btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn.lime {
  background: var(--lime);
  border-color: var(--lime);
  color: #152315;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
}
.btn.danger {
  background: #fff0f0;
  color: #b63333;
  border-color: #f5d9d9;
}
.btn.blue {
  background: #e7f0ff;
  color: #1f57ab;
  border-color: #cee0ff;
}
.btn.purple {
  background: #f2ebff;
  color: #7444ab;
  border-color: #e4d7fc;
}
.btn.green {
  background: #e5f7e9;
  color: #227c3d;
  border-color: #cbebd1;
}
.btn.full {
  width: 100%;
}
.btn.small {
  padding: 7px 12px;
  min-height: 36px;
  font-size: 0.82rem;
}
.iconbtn {
  padding: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  display: inline-grid;
  place-items: center;
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 16px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.spacer {
  flex: 1;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edf2e9;
  border: 1px solid #dce5d6;
  border-radius: 99px;
  padding: 6px 11px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill.red {
  background: #fff0ef;
  color: #b83939;
  border-color: #f8d6d6;
}
.pill.blue {
  background: #eaf2ff;
  color: #326bb5;
  border-color: #d8e5fa;
}
.pill.purple {
  background: #f4edff;
  color: #8055b7;
  border-color: #e5d7fb;
}
.pill.orange {
  background: #fff4e2;
  color: #a56c16;
  border-color: #f4dfba;
}
.dot {
  width: 6px;
  height: 6px;
  background: #4b9a56;
  border-radius: 50%;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.empty {
  padding: 50px 24px;
  text-align: center;
  border: 1px dashed #d9e2d4;
  border-radius: 18px;
  color: var(--muted);
}
.empty .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #8a9a85;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 7px;
}
.loading {
  height: 100vh;
  display: grid;
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: 20px;
}
.skeleton {
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(90deg, #e5eae1, #f5f7f2, #e5eae1);
  background-size: 200% 100%;
  animation: load 1.2s infinite;
}
@keyframes load {
  to {
    background-position: -200% 0;
  }
}
.shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #111d16;
  color: #d7e2d8;
  padding: 29px 18px 20px;
  position: fixed;
  width: 244px;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar .brand {
  padding: 0 10px;
  color: white;
  font-size: 1.2rem;
}
.workspace {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 30px 6px 26px;
  padding-bottom: 23px;
  border-bottom: 1px solid #ffffff14;
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #dfead9;
  border-radius: 12px;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.sidebar .avatar {
  background: #2e4031;
  color: #dce8c8;
}
.workspace strong {
  font-size: 0.87rem;
}
.workspace small {
  display: block;
  font-size: 0.73rem;
  color: #8e9e91;
  margin-top: 5px;
}
.nav-label {
  padding: 0 15px;
  font-size: 0.65rem;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: #718477;
  margin-bottom: 10px;
}
.sidebar nav {
  overflow-y: auto;
  flex: 1;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  margin: 3px 0;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #aebfb2;
  min-height: 44px;
}
.nav-link:hover {
  background: #ffffff0b;
  color: white;
}
.nav-link.active {
  color: var(--lime);
  background: #b9f64b12;
}
.nav-link .count {
  margin-left: auto;
  background: #2e4831;
  color: var(--lime);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.73rem;
}
.nav-link .icon {
  width: 19px;
  height: 19px;
}
.sidebar-bottom {
  border-top: 1px solid #ffffff14;
  margin-top: 16px;
  padding: 17px 10px 0;
}
.sidebar-bottom small {
  font-size: 0.65rem;
  color: #7b8d7f;
}
.sidebar-bottom .btn {
  color: #b8c9bc;
  border-color: #ffffff16;
  background: transparent;
  margin-bottom: 15px;
  font-size: 0.78rem;
}
.workspace-main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 85px;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff9;
}
.topbar .crumb {
  font-size: 0.85rem;
  color: var(--muted);
}
.topbar .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.8rem;
}
.topbar .username {
  font-size: 0.82rem;
  line-height: 1.5;
}
.topbar .username small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}
.topbar .mobile-menu {
  display: none;
}
.online {
  font-size: 0.76rem;
  color: #56715b;
  display: flex;
  align-items: center;
  gap: 7px;
}
.online.offline {
  color: #bd3e3e;
}
.online.offline .dot {
  background: #bd3e3e;
}
.content {
  padding: 36px 38px 40px;
  max-width: 1720px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-head p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}
.page-head .eyebrow {
  font-size: 0.7rem;
  margin-bottom: 9px;
  color: #88957f;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 30px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  min-height: 140px;
}
.stat .stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eef4e9;
  color: #507343;
  display: grid;
  place-items: center;
}
.stat .stat-icon .icon {
  width: 17px;
  height: 17px;
}
.stat .stat-label {
  color: var(--muted);
  font-size: 0.78rem;
}
.stat .stat-value {
  font-size: 1.9rem;
  letter-spacing: -0.8px;
  font-weight: 650;
  margin: 14px 0 4px;
}
.stat small {
  font-size: 0.72rem;
  color: #83907e;
}
.stat.highlight {
  background: #e9f1dd;
  border-color: #d9e6c8;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.section-title h2 {
  font-size: 1.12rem;
}
.tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab {
  padding: 13px 15px 15px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.84rem;
}
.tab.active {
  border-color: var(--green);
  color: var(--green);
  font-weight: 650;
}
.tab .count {
  display: inline-flex;
  justify-content: center;
  min-width: 20px;
  border-radius: 6px;
  background: #e9ede5;
  padding: 2px 5px;
  margin-left: 8px;
  font-size: 0.7rem;
}
.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 18px;
}
.order-card {
  border: 1px solid var(--line);
  border-top: 3px solid #a8b3a4;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s;
}
.order-card:hover {
  box-shadow: 0 9px 25px #0b251611;
  transform: translateY(-2px);
}
.order-card.blue {
  border-top-color: var(--blue);
}
.order-card.red {
  border-color: #f2b2ae;
  border-top: 3px solid var(--red);
}
.order-card.orange {
  border-top-color: var(--orange);
}
.order-card.green {
  border-top-color: #43a962;
}
.order-card.purple {
  border-top-color: var(--purple);
}
.order-top {
  padding: 18px 19px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.table-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f0f4eb;
  display: grid;
  place-items: center;
  align-content: center;
  font-size: 1.05rem;
  font-weight: 700;
}
.table-number small {
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.order-number {
  font-size: 0.89rem;
  font-weight: 650;
}
.order-customer {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 4px;
}
.order-top .pill {
  margin-left: auto;
  font-size: 0.65rem;
  padding: 5px 9px;
}
.order-lines {
  margin: 0 19px;
  padding: 13px 0;
  border-top: 1px solid #edf0e8;
  min-height: 100px;
}
.order-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 0.83rem;
  line-height: 1.4;
}
.order-line .qty {
  color: #879481;
  font-size: 0.75rem;
  min-width: 23px;
}
.order-line small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 4px;
}
.order-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 19px;
  background: #fbfcf8;
  border-top: 1px solid #edf0e8;
}
.order-bottom .btn {
  margin-left: auto;
  font-size: 0.74rem;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 9px;
}
.order-bottom strong {
  font-size: 0.94rem;
}
.order-bottom small {
  font-size: 0.65rem;
  display: block;
  color: #8a9686;
  margin-bottom: 2px;
}
.order-note {
  background: #fcf7eb;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 0.75rem;
  color: #8b744b;
  margin: 0 18px 12px;
}
.countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  font-size: 0.85rem;
}
.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
}
.activity-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 0.82rem;
  line-height: 1.45;
}
.activity-item:last-child {
  border: 0;
}
.activity-item small {
  display: block;
  color: #879582;
  margin-top: 5px;
}
.activity-symbol {
  border-radius: 9px;
  background: #edf3e7;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #638452;
}
.activity-symbol .icon {
  width: 16px;
  height: 16px;
}
.summary-tip {
  background: #eaf1df;
  border-radius: 14px;
  padding: 18px;
  font-size: 0.8rem;
  margin-top: 18px;
  line-height: 1.6;
  color: #567046;
}
.summary-tip strong {
  display: block;
  color: #294834;
  margin-bottom: 5px;
}
.list-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}
.list-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #83907f;
  font-weight: 600;
  padding: 13px 14px;
  background: #fafbf8;
  border-bottom: 1px solid var(--line);
}
.list-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}
.list-table tr:last-child td {
  border: 0;
}
.list-table small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  overflow-x: auto;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 550;
  margin-bottom: 16px;
}
.field small {
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}
.field input,
.field select,
.field textarea,
.search {
  width: 100%;
  min-height: 45px;
  border: 1px solid #dce3d7;
  border-radius: 11px;
  background: white;
  padding: 11px 13px;
  color: var(--ink);
  outline: none;
  transition: 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.search:focus {
  border-color: #83a66f;
  box-shadow: 0 0 0 3px #96b67a1a;
}
.field textarea {
  resize: vertical;
  min-height: 85px;
  font-size: 0.9rem;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23697861'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 13px 0;
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.search {
  max-width: 300px;
  font-size: 0.85rem;
}
.search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.search-row .field {
  margin: 0;
}
.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.table-tile {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.table-tile.occupied {
  border-color: #a1c67f;
  background: #f1f6e9;
}
.table-tile .number {
  font-size: 2rem;
  font-weight: 650;
  margin: 8px 0;
}
.table-tile .icon {
  width: 30px;
  height: 30px;
  color: #9aab90;
}
.table-tile .btn {
  margin-top: 18px;
}
.menu-management {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 17px;
}
.menu-row {
  display: flex;
  gap: 15px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.menu-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: #eff2e9;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #9aab8b;
  overflow: hidden;
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-thumb .icon {
  width: 28px;
  height: 28px;
}
.menu-row h3 {
  font-size: 0.9rem;
  margin: 3px 0 7px;
}
.menu-row .muted {
  font-size: 0.76rem;
  line-height: 1.5;
}
.menu-row strong {
  font-size: 0.85rem;
}
.menu-row .btn {
  padding: 5px 8px;
  min-height: 30px;
  border-radius: 8px;
  font-size: 0.7rem;
}
.panel-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.panel-tabs .btn.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
dialog {
  border: 1px solid #e2e8df;
  border-radius: 24px;
  padding: 0;
  width: min(600px, calc(100% - 32px));
  max-height: 90vh;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #0a1c1699;
  backdrop-filter: blur(5px);
}
dialog.wide {
  width: min(820px, calc(100% - 32px));
}
.dialog-head {
  position: sticky;
  top: 0;
  background: #fffffff2;
  backdrop-filter: blur(10px);
  padding: 22px 25px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  z-index: 4;
}
.dialog-head h2 {
  flex: 1;
  font-size: 1.25rem;
}
.dialog-body {
  padding: 25px;
}
.dialog-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 18px 25px;
  background: #fafcf7;
  border-top: 1px solid var(--line);
  position: sticky;
  bottom: 0;
  z-index: 3;
}
.dialog-footer .btn.primary {
  min-width: 140px;
}
.detail-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 23px;
}
.detail-title .table-number {
  width: 54px;
  height: 54px;
  font-size: 1.4rem;
}
.detail-title h2 {
  font-size: 1.5rem;
}
.detail-lines {
  margin: 20px 0;
}
.detail-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.detail-line .qty {
  background: #f2f5ec;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 0.8rem;
}
.detail-line strong {
  margin-left: auto;
  white-space: nowrap;
}
.detail-line small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.batch {
  padding: 17px;
  border: 1px solid var(--line);
  border-left: 4px solid #a5b59e;
  border-radius: 13px;
  margin: 15px 0;
}
.batch.blue {
  border-left-color: var(--blue);
}
.batch.red {
  border-left-color: var(--red);
}
.batch.orange {
  border-left-color: var(--orange);
}
.batch.green {
  border-left-color: #4ca763;
}
.batch.purple {
  border-left-color: var(--purple);
}
.batch .flex {
  gap: 8px;
}
.batch h3 {
  font-size: 0.9rem;
}
.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  padding: 7px 0;
}
.total-row.final {
  font-size: 1.15rem;
  font-weight: 650;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 17px;
}
.actions-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.alert {
  padding: 14px 17px;
  border-radius: 12px;
  background: #fff3dd;
  color: #896015;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.alert.success {
  background: #eaf6e9;
  color: #396c38;
}
.alert.error {
  background: #fff0ef;
  color: #b23b3b;
}
.form-error {
  color: #b43b36;
  font-size: 0.85rem;
  margin: 12px 0;
}
.modifier-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
  background: #fafcf7;
}
.modifier-group .field {
  margin-bottom: 12px;
}
.option-row {
  display: grid;
  grid-template-columns: 1fr 100px 40px;
  gap: 8px;
  margin-bottom: 8px;
}
.option-row input {
  min-width: 0;
}
.option-row .iconbtn {
  width: 36px;
  height: 42px;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: #14251a;
  color: #fff;
  padding: 55px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-art:after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #b9f64b22;
  border-radius: 50%;
  right: -240px;
  top: 35%;
  box-shadow:
    0 0 0 70px #b9f64b05,
    0 0 0 140px #b9f64b04;
}
.login-art h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  max-width: 420px;
  font-weight: 500;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}
.login-art h1 span {
  color: var(--lime);
}
.login-art p {
  color: #9fb2a1;
  max-width: 330px;
  margin-top: 25px;
  font-size: 0.95rem;
}
.login-art .eyebrow {
  color: #91a98b;
  margin-bottom: 24px;
}
.login-art .small {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #6c846f;
}
.login-form {
  max-width: 390px;
  width: 100%;
  margin: auto;
  padding: 40px 20px;
}
.login-form h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.login-form p {
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: var(--muted);
}
.login-form .field {
  margin-bottom: 20px;
}
.login-form .back {
  display: block;
  margin-top: 25px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.landing {
  min-height: 100vh;
  background: #14251a;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 30px;
}
.landing h1 {
  font-size: 4rem;
  font-weight: 500;
  max-width: 700px;
  letter-spacing: -2px;
}
.landing h1 span {
  color: var(--lime);
}
.landing p {
  color: #a1b39e;
  max-width: 440px;
}
.landing footer {
  position: absolute;
  bottom: 25px;
  color: #718b76;
  font-size: 0.72rem;
}
.customer {
  max-width: 1250px;
  margin: auto;
  padding: 0 26px 100px;
}
.customer-top {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 0;
}
.customer-top .brand {
  font-size: 1rem;
}
.customer-top .brand img {
  width: 28px;
  height: 28px;
}
.customer-top .btn {
  font-size: 0.8rem;
}
.restaurant-hero {
  background: #1b3d2b;
  color: #fff;
  border-radius: 24px;
  padding: 42px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.restaurant-hero:after {
  content: '';
  border: 1px solid #ffffff15;
  position: absolute;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  right: -90px;
  top: -80px;
  box-shadow:
    0 0 0 40px #ffffff04,
    0 0 0 80px #ffffff03;
  pointer-events: none;
}
.restaurant-hero .hero-content {
  position: relative;
  z-index: 1;
}
.restaurant-hero .eyebrow {
  font-size: 0.65rem;
  color: #b9d19b;
  margin-bottom: 15px;
}
.restaurant-hero h1 {
  font-size: 2.7rem;
  max-width: 600px;
  font-weight: 500;
  letter-spacing: -1.3px;
}
.restaurant-hero p {
  color: #b9cbbb;
  margin-top: 13px;
  font-size: 0.9rem;
}
.restaurant-hero .pill {
  background: #ffffff14;
  border-color: #ffffff20;
  color: #d7e7cc;
  margin-top: 18px;
}
.restaurant-logo {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  object-fit: contain;
  background: white;
  padding: 7px;
}
.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  margin-top: 30px;
}
.menu-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 5;
}
.menu-categories button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #fff;
  color: #73806a;
  border-radius: 99px;
  padding: 10px 17px;
  font-size: 0.82rem;
}
.menu-categories button.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.dish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}
.dish {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dish-image {
  height: 145px;
  background: #eaf0e2;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.dish-image .icon {
  height: 57px;
  width: 57px;
  stroke-width: 1;
  color: #9caa90;
}
.dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dish-image .pill {
  position: absolute;
  left: 13px;
  top: 13px;
  background: #fff;
  border: 0;
  font-size: 0.65rem;
}
.dish-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dish h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.dish p {
  font-size: 0.77rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}
.dish-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dish-bottom strong {
  font-size: 0.98rem;
}
.dish-bottom .iconbtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eff5e8;
  border-color: #e5eddd;
  color: var(--green);
}
.dish-bottom .icon {
  width: 17px;
  height: 17px;
}
.basket {
  position: sticky;
  top: 25px;
  align-self: start;
  border: 1px solid var(--line);
  background: white;
  border-radius: 20px;
  padding: 23px;
}
.basket-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}
.basket-head h2 {
  font-size: 1.1rem;
  flex: 1;
}
.basket-head .icon {
  color: #7f916f;
}
.basket-item {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
}
.basket-item:first-of-type {
  padding-top: 0;
}
.basket-item strong {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 6px;
}
.basket-item small {
  font-size: 0.73rem;
  color: var(--muted);
}
.quantity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 11px;
}
.quantity button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fafcf7;
  color: var(--ink);
}
.basket .empty {
  border: 0;
  padding: 25px 5px;
}
.basket .empty p {
  font-size: 0.8rem;
}
.basket .total-row {
  margin: 15px 0;
}
.basket .footnote {
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
  margin-top: 13px;
}
.mobile-cart {
  display: none;
}
.tracking {
  max-width: 640px;
  margin: 0 auto;
  padding: 45px 20px 70px;
}
.tracking .track-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f2d6;
  color: #557b34;
  margin: 30px auto 20px;
}
.tracking .track-icon .icon {
  width: 32px;
  height: 32px;
}
.tracking .intro {
  text-align: center;
  margin-bottom: 28px;
}
.tracking .intro h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.tracking .intro p {
  font-size: 0.9rem;
  color: var(--muted);
}
.timeline {
  margin: 30px 0;
}
.timeline-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  font-size: 0.9rem;
}
.timeline-step span {
  height: 26px;
  width: 26px;
  background: #edf0e9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #9ba492;
  font-size: 0.7rem;
}
.timeline-step.done span {
  background: #224d36;
  color: white;
}
.timeline-step.done {
  font-weight: 600;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
.qr-card {
  text-align: center;
}
.qr-card img {
  max-width: 180px;
  width: 100%;
  margin: 17px 0;
}
.qr-card p {
  font-size: 0.74rem;
  color: var(--muted);
}
.qr-card h3 {
  font-size: 1.1rem;
}
.qr-card .eyebrow {
  font-size: 0.55rem;
  margin-bottom: 10px;
}
.report-kpis {
  margin: 20px 0;
}
.chart-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 160px;
  padding: 20px 0 0;
}
.bar-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 10px;
  height: 100%;
  font-size: 0.65rem;
  color: var(--muted);
}
.bar {
  background: #b8d29d;
  width: 100%;
  min-height: 3px;
  border-radius: 5px 5px 0 0;
}
.bar-column:nth-last-child(2) .bar {
  background: var(--green);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 23px;
  border-radius: 13px;
  background: #17291e;
  color: white;
  box-shadow: 0 10px 40px #0002;
  z-index: 1000;
  display: none;
  max-width: 90%;
  font-size: 0.88rem;
}
#toast.show {
  display: block;
}
#toast.error {
  background: #973d39;
}
.ledger {
  font-size: 0.78rem;
  margin-top: 25px;
}
.ledger > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.ledger small {
  color: var(--muted);
}
.kitchen-mode .order-lines {
  min-height: 170px;
}
.kitchen-mode .order-card {
  border-width: 2px;
  border-top-width: 3px;
}
.kitchen-mode .order-top .table-number {
  width: 50px;
  height: 50px;
}
.kitchen-mode .order-line {
  font-size: 1.05rem;
  line-height: 1.5;
}
.kitchen-mode .order-number {
  font-size: 1.15rem;
}
.kitchen-mode .order-bottom {
  flex-wrap: wrap;
}
.kitchen-mode .order-bottom .btn {
  flex: 1;
  margin: 0;
  min-height: 44px;
  font-size: 0.85rem;
}
.kitchen-mode .order-bottom .countdown {
  width: 100%;
  font-size: 1.4rem;
  padding: 5px 0 12px;
}
.banner-strip {
  background: #eef4e6;
  border: 1px solid #dbe8cf;
  color: #4f6c3d;
  border-radius: 13px;
  padding: 13px 17px;
  margin-bottom: 20px;
  font-size: 0.83rem;
}
.receipt-frame {
  width: 100%;
  height: 500px;
  border: 1px solid var(--line);
}
@media (min-width: 1500px) {
  .content {
    padding: 40px 50px;
  }
  .topbar {
    padding: 0 50px;
  }
  .board-layout {
    grid-template-columns: 1fr 290px;
  }
  .orders-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .board-layout {
    grid-template-columns: 1fr;
  }
  .activity-panel {
    display: none;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .shell {
    grid-template-columns: 220px 1fr;
  }
  .sidebar {
    width: 220px;
  }
  .menu-layout {
    grid-template-columns: 1fr 290px;
    gap: 20px;
  }
  .dish-grid {
    grid-template-columns: 1fr;
  }
  .dish {
    flex-direction: row;
  }
  .dish-image {
    width: 130px;
    height: auto;
    min-height: 150px;
    flex-shrink: 0;
  }
  .restaurant-hero h1 {
    font-size: 2.3rem;
  }
}
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar .username,
  .topbar .crumb {
    display: none;
  }
  .page-head h1 {
    font-size: 1.75rem;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head .flex {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .login-art {
    padding: 40px;
  }
  .login-art h1 {
    font-size: 3rem;
  }
  .three {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 244px;
    box-shadow: 12px 0 40px #0002;
  }
  .shell.menu-open .sidebar {
    transform: translateX(0);
  }
  .workspace-main {
    width: 100%;
  }
  .topbar {
    height: 70px;
    padding: 0 18px;
    gap: 11px;
  }
  .topbar .mobile-menu {
    display: grid;
  }
  .topbar .notification-label {
    display: none;
  }
  .topbar .online {
    margin-left: auto;
  }
  .topbar .spacer {
    display: none;
  }
  .content {
    padding: 24px 18px 35px;
  }
  .page-head {
    margin-bottom: 23px;
    gap: 10px;
  }
  .page-head h1 {
    font-size: 1.7rem;
  }
  .page-head p {
    font-size: 0.8rem;
  }
  .page-head > .btn {
    font-size: 0.75rem;
    padding: 9px 11px;
  }
  .page-head > .flex {
    max-width: 170px;
  }
  .stats {
    margin-bottom: 24px;
    gap: 10px;
  }
  .stat {
    padding: 15px;
    min-height: 130px;
    border-radius: 14px;
  }
  .stat .stat-value {
    font-size: 1.65rem;
  }
  .stat .stat-label {
    font-size: 0.7rem;
  }
  .stat small {
    font-size: 0.65rem;
  }
  .orders-grid {
    grid-template-columns: 1fr;
  }
  .tabs {
    margin-left: -18px;
    margin-right: -18px;
    padding: 0 10px;
  }
  .tab {
    padding: 12px 12px 14px;
  }
  .search-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .search {
    max-width: none;
  }
  .search-row .flex {
    width: 100%;
  }
  .two,
  .three {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 18px;
  }
  .table-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .table-wrap {
    margin: 0 -3px;
  }
  .list-table th,
  .list-table td {
    padding: 13px 10px;
  }
  .list-table {
    font-size: 0.78rem;
  }
  .menu-management {
    grid-template-columns: 1fr;
  }
  .login-layout {
    display: block;
  }
  .login-art {
    padding: 25px 25px 32px;
    min-height: 160px;
  }
  .login-art h1 {
    font-size: 2.1rem;
    margin: 30px 0 5px;
    max-width: 300px;
  }
  .login-art p,
  .login-art .eyebrow,
  .login-art .small {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
    max-width: 440px;
  }
  .landing h1 {
    font-size: 2.7rem;
  }
  .landing .flex {
    flex-direction: column;
  }
  .customer {
    padding: 0 16px 105px;
  }
  .customer-top {
    padding: 18px 2px;
    gap: 9px;
  }
  .customer-top .brand {
    font-size: 0.85rem;
  }
  .customer-top .btn {
    font-size: 0.7rem;
    padding: 7px 10px;
    min-height: 36px;
  }
  .restaurant-hero {
    padding: 28px 25px;
    border-radius: 19px;
    gap: 15px;
  }
  .restaurant-hero h1 {
    font-size: 1.85rem;
  }
  .restaurant-hero p {
    font-size: 0.8rem;
  }
  .restaurant-logo {
    width: 65px;
    height: 65px;
  }
  .menu-layout {
    display: block;
    margin-top: 20px;
  }
  .basket {
    display: none;
  }
  .dish-grid {
    gap: 13px;
  }
  .dish-image {
    width: 100px;
    min-height: 140px;
  }
  .dish-content {
    padding: 15px;
  }
  .dish p {
    font-size: 0.73rem;
    margin-bottom: 13px;
  }
  .dish h3 {
    font-size: 0.88rem;
  }
  .dish-bottom strong {
    font-size: 0.9rem;
  }
  .mobile-cart {
    display: flex;
    position: fixed;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 18px;
    right: 18px;
    z-index: 15;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px #15302133;
  }
  .menu-categories {
    padding-bottom: 16px;
  }
  .menu-categories button {
    font-size: 0.77rem;
    padding: 10px 14px;
  }
  dialog,
  dialog.wide {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    max-height: 94dvh;
    border-radius: 23px 23px 0 0;
    border-bottom: 0;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-footer {
    padding: 16px 20px max(16px, env(safe-area-inset-bottom));
  }
  .detail-line {
    font-size: 0.83rem;
  }
  .detail-line strong {
    font-size: 0.8rem;
  }
  .option-row {
    grid-template-columns: 1fr 80px 36px;
  }
  .qr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .qr-card {
    padding: 14px;
  }
  .qr-card img {
    max-width: 150px;
  }
  .tracking {
    padding-top: 24px;
  }
  .table-tile .number {
    font-size: 1.7rem;
  }
  .kitchen-mode .orders-grid {
    grid-template-columns: 1fr;
  }
  .report-kpis .stat-value {
    font-size: 1.4rem;
  }
}
@media print {
  .sidebar,
  .topbar,
  .page-head .btn,
  .panel-tabs,
  .search-row,
  .no-print,
  #toast,
  dialog,
  .tabs {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .content {
    padding: 0;
  }
  .workspace-main {
    display: block;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .card,
  .stat {
    box-shadow: none;
    break-inside: avoid;
  }
  .qr-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10mm;
  }
  .qr-card {
    break-inside: avoid;
  }
  .qr-card img {
    width: 45mm;
  }
  body {
    background: white;
    font-size: 12px;
  }
  .list-table {
    font-size: 10px;
  }
  .table-wrap {
    overflow: visible;
  }
  a:after {
    content: none;
  }
  .page-head h1 {
    font-size: 24px;
  }
  @page {
    size: A4;
    margin: 12mm;
  }
}
/* Operational text remains readable on handheld screens and at platform text scaling. */
.pill,
.order-top .pill,
.order-customer,
.order-line .qty,
.order-line small,
.order-bottom small,
.stat-label,
.stat .stat-label,
.stat small,
.workspace small,
.online,
.topbar .crumb,
.topbar .username small,
.menu-row .muted,
.menu-row .btn,
.dish-image .pill,
.dish-bottom small,
.basket-item small,
.basket .footnote,
.qr-card p,
.activity-item small {
  font-size: 0.875rem;
}
.order-line,
.activity-item,
.dish p,
.basket-item,
.field,
.total-row,
.alert {
  font-size: 1rem;
}
.order-bottom .btn,
.menu-categories button,
.tab,
.search,
.btn.small {
  font-size: 0.875rem;
  min-height: 44px;
}
.order-top {
  flex-wrap: wrap;
}
.order-top .pill {
  margin-left: auto;
}
.order-customer {
  margin-top: 5px;
}
.dish h3 {
  font-size: 1.05rem;
}
.menu-row h3 {
  font-size: 1rem;
}
.stat .stat-value {
  margin-top: 12px;
}
.order-lines {
  min-height: 115px;
}
@media (max-width: 720px) {
  .dish p {
    font-size: 0.95rem;
  }
  .dish-image {
    width: 90px;
  }
  .order-top .pill {
    font-size: 0.875rem;
  }
  .stat small,
  .stat .stat-label {
    font-size: 0.875rem;
  }
  .stat {
    min-height: 156px;
  }
  .topbar .online {
    font-size: 0.875rem;
  }
  .menu-categories button {
    font-size: 0.875rem;
  }
  .btn.small {
    font-size: 0.875rem;
  }
  .qr-card p {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .dish.featured .dish-image .pill {
    display: none;
  }
  .dish.featured .dish-content::before {
    content: 'House favourite';
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
  }
}

.board-layout > section,
.orders-grid > *,
.two > * {
  min-width: 0;
}
@media (max-width: 1200px) {
  .board-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .orders-grid,
  .two,
  .three {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-title {
    flex-wrap: wrap;
  }
}
