:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #17202a;
  --ink-2: #4b5563;
  --ink-3: #8a94a3;
  --line: #e3e7ec;
  --line-2: #eef1f4;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --brand-soft: #e6f4f2;
  --side: #10302d;
  --side-ink: #cfe3e0;
  --side-hover: #18413d;
  --red: #c2410c;
  --red-soft: #fdeee6;
  --amber: #b45309;
  --amber-soft: #fdf3e1;
  --green: #15803d;
  --green-soft: #e6f5ea;
  --blue: #1d4ed8;
  --blue-soft: #e8eefc;
  --violet: #6d28d9;
  --violet-soft: #f0eafc;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.06);
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: 22px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
.muted { color: var(--ink-3); }
.small { font-size: 12px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hidden { display: none !important; }
.pre { white-space: pre-line; }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: 228px 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 18px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: #2dd4bf; color: #062e2a; display: grid; place-items: center; font-weight: 800; }
.brand-name { color: #fff; font-weight: 650; line-height: 1.15; }
.brand-sub { font-size: 11px; color: #8fb6b0; }
.nav-group { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #7aa29c; margin: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; color: var(--side-ink); padding: 8px 10px; border-radius: 8px; font-weight: 500; }
.nav a:hover { background: var(--side-hover); text-decoration: none; color: #fff; }
.nav a.active { background: #1f5550; color: #fff; }
.nav svg { width: 18px; height: 18px; flex: none; opacity: 0.9; }
.nav .count { margin-left: auto; background: #f97316; color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.side-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid #1f4a45; font-size: 12px; }
.side-foot b { color: #fff; display: block; }
.side-foot a { color: #9fd5cd; }

.main { min-width: 0; }
.topbar { display: none; }
.page { padding: 22px 26px 60px; max-width: 1400px; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .grow { flex: 1; }
.crumb { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }

/* ---------- cards ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.card-h h3 { flex: 1; }
.card-b { padding: 16px; }
.card + .card { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.split > *, .grid > * { min-width: 0; }
.stat { padding: 14px 16px; }
.stat .label { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.stat .value { font-size: 24px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .hint { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.stat.accent { border-left: 4px solid var(--brand); }
.stat.warn { border-left: 4px solid var(--amber); }
.stat.bad { border-left: 4px solid var(--red); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 7px 12px; border-radius: 8px; font: inherit; font-weight: 550; cursor: pointer; white-space: nowrap; line-height: 1.2; }
.btn:hover { background: #f7f9fa; text-decoration: none; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn.primary:hover { background: #0c5f59; }
.btn.danger { color: var(--red); border-color: #f3cdb9; }
.btn.danger:hover { background: var(--red-soft); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--line-2); }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.btn.wa { color: #128c4b; border-color: #bfe6cf; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- forms ---------- */
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
label.f.inline { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
input, select, textarea { font: inherit; color: var(--ink); border: 1px solid #d3d9e0; border-radius: 8px; padding: 7px 10px; background: #fff; width: 100%; min-width: 0; }
input[type='checkbox'] { width: auto; }
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #99d6ce; border-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; }
.form-grid .span2 { grid-column: span 2; }
.form-grid .span3 { grid-column: span 3; }
.form-grid .span4 { grid-column: 1 / -1; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input, .filters select { width: auto; min-width: 150px; }
.filters input[type='search'] { min-width: 240px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); font-weight: 600; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap; }
table.t td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.t tr:last-child td { border-bottom: none; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #f8fbfa; }
table.t tfoot td { font-weight: 700; background: #fafbfc; border-top: 1px solid var(--line); }
table.t.compact td { padding: 6px 8px; }
table.t.edit td { padding: 6px 6px; vertical-align: middle; }
#items-table { min-width: 820px; }
#items-table td:nth-child(2) { min-width: 280px; }
table.t.edit input, table.t.edit select { padding: 5px 7px; }
.empty { padding: 30px; text-align: center; color: var(--ink-3); }

/* ---------- badges ---------- */
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.b-new { background: var(--blue-soft); color: var(--blue); }
.b-contacted, .b-sent, .b-on-trip { background: var(--violet-soft); color: var(--violet); }
.b-quoted, .b-follow-up, .b-pending, .b-draft, .b-warm { background: var(--amber-soft); color: var(--amber); }
.b-won, .b-confirmed, .b-accepted, .b-completed, .b-done, .b-in { background: var(--green-soft); color: var(--green); }
.b-lost, .b-cancelled, .b-rejected, .b-hot, .b-out { background: var(--red-soft); color: var(--red); }
.b-cold { background: #e8f0f7; color: #476580; }

.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; cursor: pointer; font-weight: 550; color: var(--ink-2); font-size: 13px; }
.pill b { margin-left: 4px; color: var(--ink-3); font-weight: 600; }
.pill.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pill.active b { color: #c9f0ea; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tab { padding: 9px 14px; border: none; background: none; font: inherit; font-weight: 600; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- details ---------- */
dl.kv { display: grid; grid-template-columns: 130px 1fr; gap: 7px 12px; margin: 0; }
dl.kv dt { color: var(--ink-3); font-size: 12.5px; }
dl.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 7px 0; }
.timeline li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 6px; }
.timeline .meta { font-size: 11.5px; color: var(--ink-3); }
.fu { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.fu:last-child { border-bottom: none; }
.fu .when { min-width: 92px; font-size: 12px; font-weight: 600; }
.fu .when.overdue { color: var(--red); }
.fu .when.today { color: var(--amber); }
.fu .body { flex: 1; min-width: 0; }

/* ---------- quote builder ---------- */
.qb-day { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; margin-bottom: 10px; background: #fcfdfd; }
.qb-day-h { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.qb-day-h .dno { background: var(--brand); color: #fff; border-radius: 6px; padding: 3px 8px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.qb-day-h input { font-weight: 600; }
.qb-day textarea { min-height: 54px; }
.kind { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 12px; text-transform: capitalize; }
.kind i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.k-hotel i { background: #0f766e; } .k-transport i { background: #1d4ed8; } .k-activity i { background: #b45309; }
.k-meal i { background: #db2777; } .k-commission i { background: #475569; }
.k-flight i { background: #6d28d9; } .k-train i { background: #0e7490; } .k-visa i { background: #be185d; } .k-other i { background: #64748b; }
.totals { width: 100%; }
.totals td { padding: 5px 0; }
.totals td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.totals tr.grand td { font-size: 18px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; color: var(--brand); }
.sticky { position: sticky; top: 16px; }

/* ---------- calendar ---------- */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal .dow { background: #fafbfc; font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal .day { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5px 6px; background: #fff; overflow: hidden; }
.cal .day.out { background: #f8f9fa; }
.cal .day.today { background: #f0faf8; }
.cal .dn { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; display: flex; justify-content: space-between; }
.cal .ev { display: block; font-size: 11.5px; border-radius: 5px; padding: 2px 6px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.cal .ev:hover { text-decoration: none; filter: brightness(0.96); }
.ev.trip { background: var(--brand-soft); border-left: 3px solid var(--brand); }
.ev.start { background: #d3efe9; font-weight: 600; }
.ev.svc-transport { background: var(--blue-soft); border-left: 3px solid var(--blue); }
.ev.svc-hotel { background: #e3f2ef; border-left: 3px solid #0f766e; }
.ev.svc-activity { background: var(--amber-soft); border-left: 3px solid var(--amber); }
.ev.svc-meal { background: #fce7f3; border-left: 3px solid #db2777; }
.ev.svc-flight, .ev.svc-train, .ev.svc-visa, .ev.svc-other { background: var(--violet-soft); border-left: 3px solid var(--violet); }
.ev.pending { outline: 1px dashed var(--red); }

/* ---------- modal & toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(15, 23, 32, 0.45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 50; overflow-y: auto; }
.modal { background: #fff; border-radius: 12px; width: 100%; max-width: 640px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.modal.wide { max-width: 920px; }
.modal-h { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.modal-h h3 { flex: 1; }
.modal-b { padding: 18px; }
.modal-f { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line-2); background: #fafbfc; border-radius: 0 0 12px 12px; }
#toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 80; }
.toast { background: #17202a; color: #fff; padding: 10px 14px; border-radius: 9px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); max-width: 380px; animation: up 0.18s ease-out; }
.toast.err { background: #9a3412; }
@keyframes up { from { transform: translateY(8px); opacity: 0; } }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #10302d 0%, #0f766e 100%); padding: 20px; }
.login .card { width: 100%; max-width: 380px; padding: 28px; }
.login h1 { margin: 14px 0 4px; }
.login form { display: grid; gap: 14px; margin-top: 20px; }

.loading { padding: 50px; text-align: center; color: var(--ink-3); }
.alert { padding: 10px 14px; border-radius: 8px; background: var(--amber-soft); color: #7c3d06; margin-bottom: 14px; }
.alert.info { background: var(--blue-soft); color: #1e3a8a; }
code.k { background: var(--line-2); padding: 2px 6px; border-radius: 5px; font-size: 12.5px; word-break: break-all; }
pre.code { background: #0f1b22; color: #d6e7f0; padding: 12px; border-radius: 8px; overflow-x: auto; font-size: 12px; }
.bar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* ---------- printable documents ---------- */
.doc-wrap { background: #e9edf0; min-height: 100vh; padding: 24px 12px; }
.doc-tools { max-width: 820px; margin: 0 auto 14px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.doc { background: #fff; max-width: 820px; margin: 0 auto; padding: 40px 44px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12); color: #1b2733; font-size: 13px; }
.doc + .doc { margin-top: 20px; }
.doc-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid var(--brand); padding-bottom: 16px; margin-bottom: 20px; }
.doc-head .co { font-size: 22px; font-weight: 800; color: var(--brand); }
.doc-head .co-sub { color: #5b6b7a; font-size: 12px; line-height: 1.5; }
.doc-title { text-align: right; }
.doc-title h2 { font-size: 20px; text-transform: uppercase; letter-spacing: 0.06em; color: #31404e; }
.doc h3 { color: var(--brand); margin: 22px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.doc table.d { width: 100%; border-collapse: collapse; }
.doc table.d th, .doc table.d td { border: 1px solid #d5dce2; padding: 7px 9px; text-align: left; vertical-align: top; }
.doc table.d th { background: #f1f5f6; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.03em; }
.doc .hero { background: var(--brand-soft); border-radius: 10px; padding: 16px 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.doc .hero .big { font-size: 26px; font-weight: 800; color: var(--brand); }
.doc .day-block { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #d5dce2; }
.doc .day-block .d { font-weight: 800; color: var(--brand); }
.doc ul { margin: 4px 0; padding-left: 18px; }
.doc .sign { margin-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; }
.doc .voucher-box { border: 2px solid var(--brand); border-radius: 10px; padding: 14px 16px; }

@media print {
  body { background: #fff; }
  .doc-wrap { background: #fff; padding: 0; }
  .doc-tools, #toasts { display: none !important; }
  .doc { box-shadow: none; padding: 0; max-width: none; }
  .doc + .doc { page-break-before: always; margin-top: 0; }
  .doc .day-block, .doc tr { break-inside: avoid; }
  @page { margin: 14mm; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky { position: static; }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 40; left: 0; width: 250px; transform: translateX(-100%); transition: transform 0.2s; }
  .side.open { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, 0.4); }
  .topbar { display: flex; align-items: center; gap: 10px; background: var(--side); color: #fff; padding: 10px 14px; position: sticky; top: 0; z-index: 30; }
  .topbar button { background: none; border: none; color: #fff; padding: 4px; display: flex; }
  .topbar svg { width: 24px; height: 24px; }
  .page { padding: 16px 14px 60px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .span3 { grid-column: 1 / -1; }
  .cal .day { min-height: 80px; }
  .cal .ev { font-size: 10px; }
  .doc { padding: 22px 18px; }
  .doc table.d { display: block; overflow-x: auto; }
  .doc table.d th, .doc table.d td { padding: 6px; }
  .doc-head { flex-direction: column; }
  .doc-title { text-align: left; }
}

/* ---------- tasks ---------- */
.task { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.task:last-child { border-bottom: none; }
.task input[type='checkbox'] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; cursor: pointer; }
.task .tt { flex: 1; min-width: 0; }
.task.done .tt b { text-decoration: line-through; color: var(--ink-3); font-weight: 500; }
.task .due { font-size: 12px; white-space: nowrap; }
.task .due.overdue { color: var(--red); font-weight: 600; }
.task .due.today { color: var(--amber); font-weight: 600; }
.cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.cmp div { background: var(--line-2); border-radius: 8px; padding: 8px 10px; }
.cmp .l { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }
.cmp .v { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- public customer enquiry form (#/enquiry) ---------- */
.enq { min-height: 100vh; background: linear-gradient(180deg, var(--side) 0, var(--side) 260px, var(--bg) 260px); padding: 28px 16px 40px; }
.enq-card { max-width: 620px; margin: 0 auto; background: var(--panel); border-radius: 18px; box-shadow: 0 12px 40px rgba(16, 48, 45, .18); overflow: hidden; }
.enq-top { padding: 26px 26px 0; }
.enq-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.enq-mark { width: 44px; height: 44px; border-radius: 12px; background: #2dd4bf; color: var(--side); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.enq-co { font-weight: 700; font-size: 16px; color: var(--ink); }
.enq-tag { font-size: 13px; color: var(--ink-3); }
.enq-top h1 { font-size: 28px; }
.enq-top > p { color: var(--ink-2); margin: 6px 0 18px; font-size: 15px; }
.enq-progress { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.enq-pstep { flex: 1; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); padding: 10px 0 12px; border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 600; }
.enq-pstep span { width: 24px; height: 24px; border-radius: 50%; background: var(--line-2); color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.enq-pstep.on { color: var(--brand); border-color: var(--brand); }
.enq-pstep.on span, .enq-pstep.done span { background: var(--brand); color: #fff; }
.enq-pstep.done { color: var(--ink-2); }
.enq-body { padding: 22px 26px 24px; }
.enq-body h2 { font-size: 19px; margin-bottom: 14px; }
.enq-f { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; }
.enq-f i { color: var(--red); font-style: normal; }
.enq-f input, .enq-f textarea { display: block; width: 100%; margin-top: 6px; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-family: inherit; box-sizing: border-box; }
.enq-f input:focus, .enq-f textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.enq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.enq-chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px; color: var(--ink); cursor: pointer; font-family: inherit; }
.enq-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.enq-count { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.enq-count b { display: block; font-size: 15px; }
.enq-count span { font-size: 13px; color: var(--ink-3); }
.enq-stepper { display: flex; align-items: center; gap: 4px; }
.enq-stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font-size: 20px; cursor: pointer; line-height: 1; }
.enq-stepper output { min-width: 34px; text-align: center; font-weight: 700; font-size: 17px; }
.enq-nav { display: flex; gap: 10px; margin-top: 24px; }
.enq-btn { flex: 1; border: 0; border-radius: 12px; padding: 15px 18px; font-size: 16px; font-weight: 700; background: var(--brand); color: #fff; cursor: pointer; text-align: center; text-decoration: none !important; font-family: inherit; display: inline-block; }
.enq-btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); flex: 0 0 auto; }
.enq-btn.wa { background: #25d366; }
.enq-btn:disabled { opacity: .6; }
.enq-err { margin-top: 16px; background: var(--red-soft); color: var(--red); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.enq-note { font-size: 12.5px; color: var(--ink-3); text-align: center; margin: 16px 0 0; }
.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enq-done { padding: 44px 26px; text-align: center; }
.enq-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 38px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-weight: 800; }
.enq-done p { color: var(--ink-2); line-height: 1.6; }
.enq-ref { display: inline-block; background: var(--brand-soft); color: var(--brand); border-radius: 10px; padding: 10px 16px; margin: 8px 0 18px; }
.enq-actions { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 0 auto; }
.enq-actions .enq-btn.ghost { flex: 1; }
@media (max-width: 520px) {
  .enq { padding: 14px 10px 30px; }
  .enq-top, .enq-body { padding-left: 18px; padding-right: 18px; }
  .enq-pstep { font-size: 0; justify-content: center; }
  .enq-pstep span { font-size: 12px; }
  .enq-pstep.on { font-size: 13px; }
}
/* enquiry details on the lead page */
.enq-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 16px; }
.enq-kv div { font-size: 13px; color: var(--ink-3); }
.enq-kv b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-top: 2px; }
.link-box { display: flex; gap: 8px; }
.link-box input { flex: 1; font-family: monospace; font-size: 13px; }
.lead-more { margin-top: 14px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; }
.lead-more summary { cursor: pointer; font-weight: 600; color: var(--brand); }
/* short one-page enquiry form */
.enq-top.short { padding-bottom: 4px; }
.enq-top.short > p { margin-bottom: 4px; }
.enq-top.short + .enq-body { padding-top: 8px; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.enq-row .enq-f { margin-top: 12px; }
.enq-minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 4px; }
.enq-mini { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 6px; text-align: center; }
.enq-mini > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.enq-mini .enq-stepper { justify-content: center; gap: 2px; }
.enq-mini .enq-stepper button { width: 30px; height: 30px; font-size: 17px; }
.enq-mini .enq-stepper output { min-width: 24px; font-size: 16px; }
.enq-opt { font-weight: 400; color: var(--ink-3); }
.enq-chip { padding: 8px 13px; }
.enq-nav { margin-top: 18px; }
@media (max-width: 520px) {
  .enq-row { gap: 0 8px; }
  .enq-row .enq-f input { padding: 11px 10px; font-size: 15px; }
  .enq-minis { grid-template-columns: repeat(2, 1fr); }
  .enq-top.short h1 { font-size: 24px; }
  .enq-top.short .enq-brand { margin-bottom: 12px; }
}
.enq-age-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.enq-age { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.enq-age input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; font-size: 16px; padding: 10px; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; }
.enq-age input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.enq-bed-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.enq-bed-list .enq-age input { text-align: left; font-size: 15px; }
.enq-minis { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 520px) { .enq-minis { grid-template-columns: repeat(2, 1fr); } .enq-minis .enq-mini:last-child { grid-column: span 2; } }
.enq-mini.off { opacity: .45; }
.enq-mini .enq-hint { display: block; font-size: 10.5px; color: var(--ink-3); margin: -4px 0 4px; min-height: 0; }
.enq-stepper button:disabled { cursor: not-allowed; }
.wa-preview { white-space: pre-wrap; background: #e7fbe9; border: 1px solid #c8eccc; border-radius: 10px; padding: 10px 12px; font: 13.5px/1.5 inherit; font-family: inherit; margin: 0 0 12px; }
/* Plan your holiday page */
.ph { grid-template-columns: minmax(0, 1fr) 380px; }
.ph-steps { margin: 0; padding-left: 18px; line-height: 1.8; }
.ph-phone-wrap { position: sticky; top: 16px; align-self: start; }
.ph-phone { width: 360px; height: 700px; margin: 0 auto; border: 10px solid #10302d; border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(16, 48, 45, .2); }
.ph-phone iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1100px) { .ph { grid-template-columns: 1fr; } .ph-phone-wrap { position: static; } .ph-phone { width: 100%; max-width: 360px; height: 640px; } }
#ph-phone { font-family: inherit; font-size: 14px; }

/* =====================================================================
   Mobile app layout (phones): bottom tabs, app top bar, card lists,
   bottom-sheet popups, folding filters, floating + button.
   Desktop does not use any of this.
   ===================================================================== */
.mtabs, .msheet-bg, .m-filter-btn, .m-logo, #m-back { display: none; }
@media (max-width: 820px) {
  html { -webkit-text-size-adjust: 100%; }
  body { background: #f2f4f6; }
  .side { display: none; }

  /* top bar: page title, back arrow on detail pages */
  .topbar { display: flex; align-items: center; gap: 10px; background: var(--side); color: #fff; padding: 0 14px; height: 54px; padding-top: env(safe-area-inset-top); box-sizing: content-box; position: sticky; top: 0; z-index: 30; }
  .topbar b { font-size: 17px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-logo { display: grid; width: 30px; height: 30px; border-radius: 8px; font-size: 15px; flex: none; }
  #m-back { display: flex; background: none; border: 0; color: #fff; padding: 6px; margin-left: -6px; }
  #m-back svg { width: 24px; height: 24px; }
  #m-back.hidden { display: none; }
  #m-back:not(.hidden) + .m-logo { display: none; }

  /* bottom tab bar */
  .mtabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px rgba(16, 24, 40, 0.06); }
  .mtabs a, .mtabs button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; color: var(--ink-3); font: inherit; font-size: 11px; font-weight: 600; background: none; border: 0; position: relative; text-decoration: none !important; -webkit-tap-highlight-color: transparent; }
  .mtabs svg { width: 24px; height: 24px; fill: currentColor; }
  .mtabs .active { color: var(--brand); }
  .mtabs .active svg { background: var(--brand-soft); border-radius: 14px; padding: 2px 14px; box-sizing: content-box; }
  .mbadge { position: absolute; top: 6px; left: calc(50% + 6px); background: #f97316; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; border-radius: 999px; min-width: 17px; height: 17px; line-height: 17px; text-align: center; padding: 0 4px; }
  .mbadge.hidden { display: none; }

  /* "More" sheet */
  .msheet-bg { display: flex; position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 32, 0.45); align-items: flex-end; }
  .msheet-bg.hidden { display: none; }
  .msheet { background: #fff; width: 100%; border-radius: 20px 20px 0 0; padding: 8px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 85vh; overflow-y: auto; animation: m-up 0.18s ease-out; }
  @keyframes m-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .msheet-grip { width: 40px; height: 4px; border-radius: 4px; background: #d3d9e0; margin: 4px auto 12px; }
  .msheet-user { display: flex; gap: 12px; align-items: center; padding: 4px 4px 14px; border-bottom: 1px solid var(--line-2); }
  .msheet-user b { display: block; font-size: 16px; }
  .msheet-user span { font-size: 12.5px; color: var(--ink-3); text-transform: capitalize; }
  .msheet-group { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin: 14px 4px 6px; grid-column: 1 / -1; }
  .msheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .msheet-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; background: #f6f8f9; color: var(--ink); font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.2; position: relative; text-decoration: none !important; }
  .msheet-item .mi { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
  .msheet-item .mi svg { width: 22px; height: 22px; fill: currentColor; }
  .msheet-item.active { background: var(--brand-soft); }
  .msheet-item .count { position: absolute; top: 6px; right: 8px; background: #f97316; color: #fff; border-radius: 999px; font-size: 10px; padding: 1px 6px; }
  .msheet-item .count.hidden { display: none; }
  .msheet-logout { display: block; text-align: center; margin-top: 16px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--red); font-weight: 600; }

  /* page */
  .page { padding: 14px 12px calc(96px + env(safe-area-inset-bottom)); }
  .page-head { gap: 8px; margin-bottom: 12px; }
  .page-head .grow { flex-basis: 100%; }
  .page-head h1 { font-size: 21px; }
  .page.m-list > .page-head h1 { display: none; }
  .page.m-list > .page-head .grow:not(:has(> :not(h1):not(.muted))) { display: none; }
  .page-head .grow > .muted, .page-head .grow > div.muted:not(.crumbs) { display: none; }
  .page-head .btn { padding: 8px 11px; font-size: 13px; }
  .card { border-radius: 14px; }
  .card-h { padding: 12px 14px; }
  .card-b { padding: 14px; }
  .btn { min-height: 38px; }
  input, select, textarea { font-size: 16px; padding: 9px 11px; border-radius: 10px; }
  .tabs { flex-wrap: nowrap; scrollbar-width: none; margin-left: -12px; margin-right: -12px; padding: 0 12px; }
  .tabs::-webkit-scrollbar { display: none; }

  /* floating + button */
  .btn.m-fab { position: fixed; right: 16px; bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 34; border-radius: 999px; padding: 0 20px; height: 52px; font-size: 15px; box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35); }

  /* filters fold away */
  .filters { gap: 8px; }
  .filters > input:not([type='date']):not([type='checkbox']) { flex: 1 1 55%; min-width: 0; }
  .filters select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .m-filter-btn { display: inline-flex; flex: none; height: 42px; }
  .m-fcount { background: var(--brand); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; }
  .filters:not(.m-open) > select, .filters:not(.m-open) > label { display: none; }
  .filters.m-open { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }

  /* tables become cards */
  .table-wrap:has(> table.mcards) { overflow: visible; }
  table.mcards, table.mcards tbody, table.mcards tfoot { display: block; width: 100%; }
  table.mcards thead { display: none; }
  table.mcards tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 13px 14px; border-bottom: 1px solid var(--line-2); }
  table.mcards tr:last-child { border-bottom: 0; }
  table.mcards tr[data-id], table.mcards tr.click { cursor: pointer; }
  table.mcards tr[data-id]:active { background: #f3f7f6; }
  table.mcards td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; min-width: 0; white-space: normal !important; font-size: 14px; }
  table.mcards td:first-child { grid-column: 1 / -1; font-size: 15px; }
  table.mcards td:not(:first-child)[data-label]:not([data-label=''])::before { content: attr(data-label); display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1px; }
  table.mcards td.m-full { grid-column: 1 / -1; text-align: center !important; }
  table.mcards td.m-empty { display: none; }
  table.mcards td:last-child:has(> .btn:only-child), table.mcards td:has(> .btns) { grid-column: 1 / -1; }
  table.mcards tfoot tr { background: #f8faf9; }

  /* popups become bottom sheets */
  .modal-bg { padding: 0; align-items: flex-end; }
  .modal, .modal.wide { max-width: none; border-radius: 20px 20px 0 0; max-height: 94vh; display: flex; flex-direction: column; animation: m-up 0.18s ease-out; }
  .modal-h { padding: 14px 16px; }
  .modal-b { padding: 14px 16px; overflow-y: auto; flex: 1; }
  .modal-f { border-radius: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .modal-f .btn { flex: 1; justify-content: center; height: 46px; font-size: 15px; }

  /* dashboard: 2 small tiles per row */
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 12px; }
  .stat .value { font-size: 21px; }
  .stat .hint { font-size: 11.5px; }

  /* toasts sit above the tab bar */
  #toasts { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- V7: customers, alerts, documents, visa, tags, UPI ---------- */
.tag { display: inline-block; background: #eef2f6; color: #475467; border-radius: 6px; font-size: 11px; font-weight: 600; padding: 1px 7px; margin: 3px 4px 0 0; }
.tagpick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tagpick label { cursor: pointer; }
.tagpick input { display: none; }
.tagpick span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; background: #fff; }
.tagpick input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.celeb { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.celeb:last-child { border-bottom: 0; }
.alerts { padding: 2px 0; }
.alert-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); }
.alert-row:last-child { border-bottom: 0; }
.alert-row > i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.alert-row > a.grow { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.alert-row > a.grow:hover b { color: var(--brand); }
.docbar { height: 6px; background: var(--line-2); border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.docbar i { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.doc-person { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.doc-person:last-child { border-bottom: 0; }
.doc-name { margin-bottom: 6px; }
.doc-items { display: flex; flex-wrap: wrap; gap: 6px; }
.docchip { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 5px 9px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line); background: #fff; }
.docchip.ok { background: var(--green-soft); border-color: #bfe5cf; }
.docchip.ok a { color: var(--green); }
.docchip.miss { background: var(--amber-soft); border-color: #f3d9a8; color: var(--amber); }
.docchip label { cursor: pointer; }
.docchip small { color: var(--ink-3); font-weight: 500; }
.docchip button { border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 0 0 0 2px; font-size: 12px; }
.doc-link { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.up-person { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.up-person > b { display: block; margin-bottom: 8px; font-size: 15px; }
.up-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1.5px dashed var(--brand); border-radius: 10px; padding: 12px; margin-top: 8px; font-weight: 600; color: var(--brand); cursor: pointer; }
.up-item span { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.up-item.ok { border: 1.5px solid #bfe5cf; background: var(--green-soft); color: var(--green); cursor: default; }
.up-item.other { border-color: var(--line); color: var(--ink-2); }
.upi-box { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 14px 0; break-inside: avoid; }
.upi-qr { width: 120px; height: 120px; flex: none; }
.upi-qr img, .upi-qr canvas { width: 120px !important; height: 120px !important; }
.rule-row { display: grid; grid-template-columns: 1fr 200px auto; gap: 6px; margin-bottom: 6px; }
.b-approved, .b-documents-verified, .b-appointment-done { background: var(--green-soft); color: var(--green); }
.b-documents-pending, .b-documents-received, .b-appointment-scheduled { background: var(--amber-soft); color: var(--amber); }
.b-in-progress { background: var(--violet-soft); color: var(--violet); }
.b-dropped { background: #eef2f6; color: #667085; }
.m-bell { display: none; }
@media (max-width: 820px) {
  .m-bell { display: flex; margin-left: auto; color: #fff; position: relative; padding: 6px; }
  .m-bell svg { width: 24px; height: 24px; }
  .m-bell .mbadge { top: 0; left: auto; right: -2px; }
  .rule-row { grid-template-columns: 1fr 1fr auto; }
  .alert-row { padding: 12px 14px; }
}
.qb-edit { width: 100%; justify-content: center; margin-top: 6px; }
#items-table select[data-f='day_no'] { min-width: 88px; }
@media (max-width: 820px) {
  /* quotation services on phones: day + service + total; costs are edited with ✎ Edit */
  #items-table { min-width: 0 !important; display: block; }
  #items-table thead { display: none; }
  #items-table tbody { display: block; }
  #items-table tr[data-i] { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px; border-bottom: 1px solid var(--line-2); align-items: start; }
  #items-table tr[data-i] td { display: block; padding: 0; border: 0; }
  #items-table tr[data-i] td:nth-child(1) { grid-row: span 2; }
  #items-table tr[data-i] td:nth-child(3), #items-table tr[data-i] td:nth-child(4), #items-table tr[data-i] td:nth-child(5) { display: none; }
  #items-table tr[data-i] td:nth-child(2) { grid-column: 2 / 4; }
  #items-table tr[data-i] td:nth-child(6) { grid-column: 2; text-align: left !important; font-weight: 700; font-size: 15px; }
  #items-table tr[data-i] td:nth-child(7) { grid-column: 3; }
  #items-table tr[data-i] [data-f='details'], #items-table tr[data-i] [data-f='room_type'], #items-table tr[data-i] [data-f='meal_plan'] { display: none; }
  #items-table tr[data-i] td:nth-child(2) > div[style*='grid'] { display: none !important; }
}
@media (max-width: 820px) {
  .table-wrap:has(> #items-table) { overflow: visible; }
  #items-table, #items-table tbody, #items-table tr[data-i] { width: 100%; max-width: 100%; box-sizing: border-box; }
  #items-table tr[data-i] td { min-width: 0; }
  #items-table tr[data-i] input { width: 100%; max-width: 100%; box-sizing: border-box; }
}
.qb-move { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; }
.qb-move .btn { justify-content: center; padding: 4px 0; font-size: 15px; font-weight: 700; }
.qb-move .btn:disabled { opacity: 0.35; cursor: default; }
#items-table .qb-edit { margin-top: 4px; }
@keyframes qb-flash { from { background: #fff4c2; } to { background: transparent; } }
tr.qb-flash > td, tr.qb-flash { animation: qb-flash 1.2s ease-out; }
/* drag to reorder services (hold the Day box) */
td.qb-handle { cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.qb-grip { margin-top: 4px; text-align: center; color: var(--ink-3); font-size: 13px; line-height: 1; letter-spacing: 1px; }
.qb-grip span { font-size: 10.5px; letter-spacing: 0; display: block; margin-top: 2px; }
.qb-move { display: none; }
tbody.qb-sorting { cursor: grabbing; }
tr.qb-dragging { position: relative; z-index: 5; background: #fff; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.18); outline: 2px solid var(--brand); outline-offset: -2px; transform: scale(1.01); }
tr.qb-dragging td.qb-handle { cursor: grabbing; }
.qb-acts { display: grid; grid-template-columns: 1fr 34px; gap: 4px; margin-top: 4px; }
.qb-acts .qb-edit { margin-top: 0 !important; width: auto; }
.qb-del { justify-content: center; padding: 4px 0; color: var(--red); border-color: #f5c2c0; background: var(--red-soft); font-weight: 700; }
.qb-del:hover { background: #fbd5d3; }
@media (max-width: 820px) { #items-table tr[data-i] td:nth-child(7) { display: none; } #items-table tr[data-i] td:nth-child(6) { grid-column: 2 / 4; } }
