/* Booking Hub — dashboard styles */
:root {
  --accent: #0b7285;
  --bg: #f4f6f8;
  --card: #ffffff;
  --ink: #17212b;
  --ink-2: #4a5866;
  --ink-3: #8593a1;
  --line: #e3e8ed;
  --line-2: #eef1f4;
  --ok: #2b8a3e;
  --warn: #e67700;
  --bad: #c92a2a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 4px 16px rgba(16, 24, 32, .05);
  --side: 232px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.45 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 24px; } h2 { font-size: 19px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
p { margin: 0 0 .8em; }
code, pre { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { white-space: pre-wrap; word-break: break-word; background: var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; max-height: 520px; overflow: auto; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.hide { display: none !important; }

/* ---------- layout ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--side); background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 16px 12px; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; color: var(--ink); font-weight: 700; font-size: 16px; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; max-width: 150px; object-fit: contain; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; position: relative; }
.nav a:hover { background: var(--line-2); text-decoration: none; color: var(--ink); }
.nav a.on { background: color-mix(in srgb, var(--accent) 11%, white); color: var(--accent); }
.nav-sep { height: 1px; background: var(--line); margin: 10px 8px; }
.badge { margin-left: auto; background: var(--bad); color: #fff; border-radius: 99px; font-size: 11px; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; font-weight: 700; }
.side-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.who { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; min-width: 0; padding: 6px 8px; border-radius: 8px; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { margin-left: var(--side); padding: 22px 28px 60px; max-width: calc(1180px + var(--side)); }
.main.wide { max-width: none; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.topbar h1 { margin: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tabbar { display: none; }

@media (max-width: 860px) {
  .sidebar { display: none; }
  .main { margin-left: 0; padding: 14px 14px calc(86px + env(safe-area-inset-bottom)); }
  .topbar h1 { font-size: 21px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink-3); font-size: 11px; font-weight: 600; padding: 4px 0; position: relative; }
  .tabbar a.on { color: var(--accent); }
  .tabbar a:hover { text-decoration: none; }
  .tabbar .ic { width: 23px; height: 23px; }
  .tabbar .badge { position: absolute; top: 0; left: 55%; margin: 0; height: 17px; min-width: 17px; font-size: 10px; }
}

/* ---------- components ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px var(--font); cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--line-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, white); }
.btn.danger:hover { background: color-mix(in srgb, var(--bad) 8%, white); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .ic { width: 18px; height: 18px; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading .ic { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--ink-2); border: 0; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--line-2); }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-weight: 500; border: 1px solid; }
.flash-success { background: #ebfbee; border-color: #b2f2bb; color: #1b6e2c; }
.flash-error { background: #fff5f5; border-color: #ffc9c9; color: #a51d1d; }
.flash-info { background: #e7f5ff; border-color: #a5d8ff; color: #1864ab; }
.flash-warn { background: #fff9db; border-color: #ffe066; color: #8a5a00; }

.pill { --c: #868e96; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px 3px 7px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.status-confirmed { background: #ebfbee; color: #237032; }
.status-pending { background: #fff4e6; color: #a64c00; }
.status-cancelled, .status-abandoned { background: #f1f3f5; color: #6c757d; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--line-2); color: var(--ink-2); }
.tag.warn { background: #fff4e6; color: #a64c00; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; }

/* forms */
.form label, label.f { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=tel], input[type=url], input:not([type]), select, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd7df; border-radius: 10px; background: #fff; font: 15px var(--font); color: var(--ink); -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238593a1' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input[type=color] { width: 54px; height: 42px; padding: 3px; border: 1px solid #cfd7df; border-radius: 10px; background: #fff; display: block; margin-top: 6px; }
textarea { min-height: 90px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.hint { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 14px; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span4 { grid-column: 1 / -1; }
@media (max-width: 700px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr 1fr; } .grid2 > .span2, .grid3 > .span3, .grid3 > .span2 { grid-column: 1 / -1; } }
.check-row { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; color: var(--ink) !important; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.form h3 { margin-top: 22px; }
.form h3:first-of-type { margin-top: 4px; }
.stepper { display: flex; align-items: center; gap: 0; margin-top: 6px; border: 1px solid #cfd7df; border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--line-2); font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper input { border: 0; margin: 0; text-align: center; min-height: 44px; border-radius: 0; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap; }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #fafcfd; }
table.t tr.cancelled td { color: var(--ink-3); }
table.t tr.cancelled td .name { text-decoration: line-through; }
.name { font-weight: 600; color: var(--ink); }

/* filters bar */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input, .filters select { margin: 0; min-height: 40px; width: auto; }
.filters input[type=search] { min-width: 220px; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font: 600 13px var(--font); color: var(--ink-2); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.chip .dot { width: 9px; height: 9px; }
.chip.off { opacity: .45; }
.chip.off .dot { background: #adb5bd !important; }
.chip input { display: none; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--accent); border-color: var(--accent); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.tabs .badge { display: inline-grid; margin-left: 6px; vertical-align: 1px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat b { display: block; font-size: 24px; letter-spacing: -.02em; }
.stat span { color: var(--ink-3); font-size: 13px; font-weight: 600; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty h2 { color: var(--ink); }

/* key/value details */
dl.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0; }
dl.kv dt { color: var(--ink-3); font-size: 13px; font-weight: 600; padding-top: 1px; }
dl.kv dd { margin: 0; word-break: break-word; }
@media (max-width: 560px) { dl.kv { grid-template-columns: 1fr; gap: 2px; } dl.kv dd { margin-bottom: 10px; } }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .when { color: var(--ink-3); font-size: 12.5px; display: block; }

/* ---------- calendar ---------- */
.cal-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.cal-bar .grow { flex: 1; }
.cal-bar select { width: auto; margin: 0; min-height: 36px; padding-top: 6px; padding-bottom: 6px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.sync-note { font-size: 12.5px; color: var(--ink-3); }
.sync-note.err { color: var(--bad); }
#calendar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.fc { --fc-border-color: var(--line); --fc-today-bg-color: color-mix(in srgb, var(--accent) 6%, white); --fc-page-bg-color: #fff; --fc-neutral-bg-color: #fafbfc; --fc-list-event-hover-bg-color: #f6f8fa; font-size: 13px; }
.fc .fc-toolbar { gap: 8px; flex-wrap: wrap; }
.fc .fc-toolbar-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.fc .fc-button { background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-transform: none; border-radius: 9px; padding: 7px 12px; box-shadow: none !important; }
.fc .fc-button:hover { background: var(--line-2); color: var(--ink); border-color: var(--line); }
.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active { background: var(--accent); border-color: var(--accent); color: #fff; }
.fc .fc-button-primary:disabled { background: #fff; color: var(--ink-3); border-color: var(--line); opacity: 1; }
.fc .fc-button-group > .fc-button { border-radius: 0; }
.fc .fc-button-group > .fc-button:first-child { border-radius: 9px 0 0 9px; }
.fc .fc-button-group > .fc-button:last-child { border-radius: 0 9px 9px 0; }
.fc .fc-col-header-cell-cushion { color: var(--ink-2); font-weight: 700; padding: 8px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.fc .fc-daygrid-day-number { color: var(--ink-2); font-weight: 600; padding: 6px 8px; }
.fc .fc-daygrid-day-top { justify-content: space-between; flex-direction: row; }
.fc-day-total { font-size: 11px; font-weight: 700; color: var(--ink-3); padding: 7px 8px 0; }
.fc .fc-daygrid-event { border-radius: 6px; margin: 1px 4px 2px; }
.fc-event.bh-ev { border: 0; border-left: 4px solid var(--c); background: color-mix(in srgb, var(--c) 13%, white); color: var(--ink); cursor: pointer; }
.fc-event.bh-ev:hover { background: color-mix(in srgb, var(--c) 22%, white); }
.bh-ev .ev { display: flex; gap: 5px; align-items: baseline; padding: 2px 5px; overflow: hidden; white-space: nowrap; line-height: 1.35; }
.bh-ev .ev-time { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bh-ev .ev-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.bh-ev .ev-pax { color: var(--ink-2); font-weight: 700; }
.bh-ev .ev-tour { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.bh-ev .ev-flag { color: var(--warn); font-weight: 800; }
.fc-timegrid-event.bh-ev .ev { flex-direction: column; gap: 0; white-space: normal; }
.fc-event.bh-cancelled { background: repeating-linear-gradient(-45deg, #f8f9fa, #f8f9fa 5px, #f1f3f5 5px, #f1f3f5 10px) !important; border-left-color: #adb5bd !important; }
.fc-event.bh-cancelled .ev-name { text-decoration: line-through; color: var(--ink-3); }
.fc-event.bh-pending { border-left-style: dashed; }
.fc-list-event.bh-ev { background: none; border: 0; }
.fc .fc-list-event td { border-color: var(--line-2); }
.fc .fc-list-event-dot { border-color: var(--c) !important; }
.fc .fc-list-day-cushion { background: #fafbfc; font-weight: 700; }
.fc .fc-list-event-title .ev { padding: 0; }
.fc-theme-standard .fc-list { border: 0; }
.fc .fc-more-link { font-weight: 700; color: var(--accent); }
@media (max-width: 860px) {
  #calendar { padding: 8px; border-radius: 12px; }
  .fc .fc-toolbar.fc-header-toolbar { margin-bottom: 10px; }
  .fc .fc-toolbar-title { font-size: 16px; }
  .fc .fc-button { padding: 6px 9px; font-size: 13px; }
  .fc .fc-daygrid-event .ev-tour, .fc .fc-daygrid-event .ev-time { display: none; }
}

/* drawer */
.drawer-back { position: fixed; inset: 0; background: rgba(16, 24, 32, .32); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .18s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; z-index: 61; transform: translateX(100%); transition: transform .22s ease; display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(16, 24, 32, .14); }
.drawer.open { transform: none; }
.drawer-back.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: flex-start; gap: 10px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0 0 4px; font-size: 19px; }
.drawer-head .grow { flex: 1; min-width: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px 24px; -webkit-overflow-scrolling: touch; }
.drawer-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; }
.drawer-foot .btn { flex: 1; }
@media (max-width: 600px) {
  .drawer { top: auto; height: 88vh; width: 100%; border-radius: 18px 18px 0 0; transform: translateY(100%); }
}
.contact-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 700; margin: 18px 0 8px; }

/* day sheet */
.dep { margin-bottom: 16px; }
.dep-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dep-time { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dep-tour { font-weight: 700; font-size: 16px; }
.dep-total { margin-left: auto; font-weight: 700; color: var(--ink-2); }
.dep-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line-2); }
.dep-row:last-child { border-bottom: 0; }
.dep-row.in { background: #f6fbf7; }
.dep-row .who2 { min-width: 0; }
.dep-row .who2 .name { display: block; }
.dep-row .meta { font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.dep-row .note { font-size: 13px; color: #8a5a00; background: #fff9db; border-radius: 6px; padding: 4px 8px; margin-top: 6px; display: inline-block; }
.checkin { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #cfd7df; background: #fff; display: grid; place-items: center; cursor: pointer; color: transparent; }
.checkin.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.date-nav { display: flex; align-items: center; gap: 8px; }
.date-nav input { margin: 0; width: auto; min-height: 42px; }

/* inbox / email */
.email-body { font-size: 13.5px; }
.parse-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* auth */
body.auth { display: grid; place-items: center; min-height: 100vh; padding: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, white), var(--bg) 55%); }
.auth-card { width: min(400px, 100%); background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 10px 40px rgba(16, 24, 32, .1); border: 1px solid var(--line); }
.auth-card.wide { width: min(640px, 100%); }
.auth-card label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-brand img { height: 40px; }
.auth-brand b { display: block; font-size: 18px; }
.auth-brand span { font-size: 13px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin: 14px 0; font-size: 13.5px; }
.check.ok { color: var(--ok); } .check.bad { color: var(--bad); font-weight: 700; }

/* print */
@media print {
  .sidebar, .tabbar, .actions, .no-print, .date-nav, .flash { display: none !important; }
  .main { margin: 0; padding: 0; max-width: none; }
  body { background: #fff; font-size: 12px; }
  .card { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  .checkin { width: 22px; height: 22px; border-radius: 4px; border: 1.5px solid #333; }
  .dep-row { padding: 6px 10px; grid-template-columns: 30px 1fr auto; }
  .dep-head { padding: 8px 10px; }
  a { color: inherit; }
}

/* ---------- responsive fixes ---------- */
.layout2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 16px; align-items: start; }
@media (max-width: 900px) { .layout2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .grid2 > * { grid-column: auto !important; } }
.fc .fc-list .ev { white-space: normal; flex-wrap: wrap; row-gap: 0; }
.fc .fc-list-event-time { width: 92px; white-space: nowrap; }
.fc .fc-list-event-graphic { width: 18px; }
.fc .fc-daygrid-event .ev-tour { display: none; }
@media (max-width: 600px) {
  .dep-row { grid-template-columns: 44px 1fr; }
  .dep-row > .pill { grid-column: 2; justify-self: start; margin-top: -4px; }
  .dep-head { gap: 4px 12px; }
  .dep-total { margin-left: 0; width: 100%; font-size: 14px; }
  .fc .fc-list-event-time { width: 78px; font-size: 12px; }
}
.why { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
