/* ASAL back office (admin, cashier, partner) */
:root {
  --navy: #071a2c; --navy-2: #0b2440; --navy-3: #12355a; --ivory: #f7f4ee; --paper: #fff; --line: #e5e0d5; --line-2: #efebe3;
  --ink: #0b1f33; --muted: #637081; --teal: #138f8a; --teal-50: #e3f4f2; --gold: #c9a86a; --gold-50: #f7f0e1;
  --ok: #1d7a4f; --ok-50: #e6f4ec; --warn: #8a5d00; --warn-50: #fff4d6; --err: #b3261e; --err-50: #fbe9e7; --info-50: #e8f0fb; --info: #24518f;
  --r: 14px; --r-sm: 9px; --shadow: 0 1px 2px rgba(7, 26, 44, .06), 0 8px 24px -16px rgba(7, 26, 44, .25);
  --f: "Manrope", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14.5px/1.55 var(--f); color: var(--ink); background: var(--ivory); }
a { color: var(--navy-3); }
a:hover { color: var(--teal); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
code { background: var(--line-2); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.right { text-align: end; }
.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos { color: var(--err); } .neg { color: var(--ok); }
.ok { color: var(--ok); font-weight: 600; } .bad { color: var(--err); font-weight: 600; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.brand-ar { font: 600 1.45rem/1 "Reem Kufi", "IBM Plex Sans Arabic", serif; color: var(--gold); }
.brand-en { font-weight: 700; letter-spacing: .12em; font-size: .9rem; white-space: nowrap; }
.brand-sep { width: 1px; height: 18px; background: currentColor; opacity: .35; }

/* layout */
.app { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.side { position: fixed; inset-block: 0; inset-inline-start: 0; width: 248px; background: var(--navy); color: #d9e1ea; padding: 1.2rem .9rem; overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease; z-index: 30; display: flex; flex-direction: column; }
[dir="rtl"] .side { transform: translateX(100%); }
.side-open .side { transform: none; }
.side .brand { color: #fff; padding: .2rem .5rem 0; }
.side-role { margin: .3rem .5rem 1rem; font-size: .8rem; color: var(--gold); }
.side nav { display: grid; gap: 2px; }
.side-group { margin: 1rem .6rem .3rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #7f93a8; }
.side nav a { display: flex; align-items: center; gap: .65rem; padding: .55rem .65rem; border-radius: 9px; color: #cfd8e2; text-decoration: none; font-weight: 500; }
.side nav a svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.side nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side nav a[aria-current] { background: rgba(201, 168, 106, .16); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
[dir="rtl"] .side nav a[aria-current] { box-shadow: inset -3px 0 0 var(--gold); }
.side-foot { margin-top: auto; padding: 1rem .6rem 0; font-size: .85rem; }
.side-foot a { color: #9fb1c4; text-decoration: none; }
.main { min-width: 0; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .8rem; padding: .7rem clamp(14px, 3vw, 28px); background: rgba(247, 244, 238, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-title { font-size: 1.1rem; margin: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: .5rem; }
.side-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.side-toggle span, .side-toggle span::before, .side-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; }
.side-toggle span::before { position: absolute; top: -6px; } .side-toggle span::after { position: absolute; top: 6px; }
.content { padding: clamp(14px, 3vw, 28px); max-width: 1400px; }
@media (min-width: 1024px) {
  .app { grid-template-columns: 248px 1fr; }
  .side { position: sticky; top: 0; height: 100vh; transform: none !important; }
  .side-toggle { display: none; }
}
.side-open::after { content: ""; position: fixed; inset: 0; background: rgba(7, 26, 44, .45); z-index: 25; }
@media (min-width: 1024px) { .side-open::after { display: none; } }

.bell { position: relative; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); }
.bell svg { width: 20px; height: 20px; }
.bell-n { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--err); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd summary::-webkit-details-marker { display: none; }
.dd-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 190px; padding: .35rem; z-index: 40; }
.dd-menu a, .dd-menu button { display: block; width: 100%; text-align: start; padding: .55rem .75rem; border-radius: 8px; text-decoration: none; color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; }
.dd-menu a:hover, .dd-menu button:hover { background: var(--ivory); }

/* toasts */
.toast-zone { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 60; display: grid; gap: 8px; max-width: min(380px, 92vw); }
.toast { background: var(--navy); color: #fff; padding: .85rem 1rem; border-radius: 12px; box-shadow: var(--shadow); display: block; text-decoration: none; animation: tIn .3s ease; }
.toast strong { display: block; } .toast span { color: #b9c7d6; font-size: .85rem; }
@keyframes tIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* cards / grid */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2vw, 20px); margin-bottom: 16px; box-shadow: var(--shadow); min-width: 0; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr; } .g3 { grid-template-columns: 1fr; } .g4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g-side { grid-template-columns: 1fr 360px; } }
.g-side { display: grid; gap: 16px; align-items: start; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.stat small { color: var(--muted); display: block; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 700; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat.accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.stat.accent small, .stat.accent span { color: #9fb1c4; }
.stat.warn strong { color: var(--warn); }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -2px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: start; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: .55rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: .6rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfbf8; }
.table.compact td, .table.compact th { padding: .35rem .5rem; }
.table tfoot td, .table tfoot th { font-weight: 700; border-top: 2px solid var(--line); }
.table .actions { white-space: nowrap; text-align: end; }
.rowlink { text-decoration: none; font-weight: 600; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; background: var(--line-2); color: var(--ink); }
.b-pending { background: var(--warn-50); color: var(--warn); }
.b-confirmed, .b-completed, .b-paid, .b-active, .b-sent, .b-delivered, .b-read, .b-valid, .b-open { background: var(--ok-50); color: var(--ok); }
.b-rejected, .b-cancelled, .b-no_show, .b-refund_due, .b-failed, .b-reversed, .b-closed { background: var(--err-50); color: var(--err); }
.b-partial, .b-queued, .b-sending, .b-inactive { background: var(--info-50); color: var(--info); }
.b-refunded, .b-archived, .b-skipped, .b-unpaid { background: var(--line-2); color: var(--muted); }
.b-supplier { background: var(--gold-50); color: #7a5b1f; }

/* forms */
.field { display: grid; gap: .3rem; margin-bottom: .8rem; min-width: 0; }
.field > span, .label { font-weight: 600; font-size: .85rem; }
.field small { color: var(--muted); font-size: .8rem; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=password], input[type=search], input[type=file], select, textarea {
  width: 100%; min-height: 40px; padding: .5rem .7rem; border: 1px solid #d6d0c4; border-radius: var(--r-sm); background: #fff; font: inherit; color: inherit;
}
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19, 143, 138, .15); }
.check { display: inline-flex; gap: .45rem; align-items: center; cursor: pointer; margin: .2rem 0; }
.check input { width: 17px; height: 17px; accent-color: var(--teal); }
.form-row { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; margin-bottom: 1rem; }
.filters .field { margin: 0; min-width: 130px; flex: 1; }
.filters .field.wide { flex: 2; min-width: 200px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 38px; padding: .45rem .95rem; border-radius: 10px; border: 1px solid #d6d0c4; background: #fff; color: var(--ink); font: 600 .9rem var(--f); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--navy-3); color: var(--ink); }
.btn-primary { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-primary:hover { background: var(--navy-3); color: #fff; }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ok:hover { background: #17633f; color: #fff; }
.btn-danger { background: #fff; border-color: #e6b3ae; color: var(--err); }
.btn-danger:hover { background: var(--err); color: #fff; border-color: var(--err); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-wa { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.btn-sm { min-height: 30px; padding: .2rem .6rem; font-size: .82rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.inline { display: inline; }
.alert { padding: .75rem 1rem; border-radius: 10px; margin: 0 0 1rem; }
.flash-msg { margin: 1rem clamp(14px, 3vw, 28px) 0; }
.alert-error { background: var(--err-50); color: var(--err); }
.alert-ok { background: var(--ok-50); color: var(--ok); }
.alert-warn { background: var(--warn-50); color: var(--warn); }
.alert-info { background: var(--teal-50); color: #0d6763; }

/* language tabs for multilingual fields */
.i18n { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .9rem; background: #fff; }
.i18n-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .6rem; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.i18n-head .label { margin: 0; }
.i18n-tabs { display: flex; gap: 2px; flex-wrap: wrap; }
.i18n-tabs button { border: 0; background: none; padding: .25rem .55rem; border-radius: 7px; font: 700 .75rem var(--f); color: var(--muted); cursor: pointer; }
.i18n-tabs button[aria-selected="true"] { background: var(--navy-2); color: #fff; }
.i18n-tabs button.empty::after { content: "•"; color: var(--err); margin-inline-start: 2px; }
.i18n-pane { padding: .6rem; }
.i18n-pane[hidden] { display: none; }
.i18n-pane input, .i18n-pane textarea { border-color: var(--line); }

/* bits */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: .5rem 0 .5rem 1rem; border-inline-start: 2px solid var(--line); position: relative; font-size: .9rem; }
[dir="rtl"] .timeline li { padding: .5rem 1rem .5rem 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -5px; top: .85rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.empty { padding: 1.5rem; text-align: center; color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.suite-dot { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: var(--ok-50); color: var(--ok); }
.suite-dot.taken { background: var(--navy-2); color: #fff; }
.suite-dot.blocked { background: var(--err-50); color: var(--err); }
.suite-dot.pending { background: var(--warn-50); color: var(--warn); }
.bar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin: .4rem 0; }
.bar > i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.bar > i.pend { background: var(--gold); opacity: .6; }
.bar.stack { display: flex; }
.danger-zone { border-color: #f0c9c4; }
details.action { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; background: #fff; }
details.action > summary { cursor: pointer; padding: .7rem .9rem; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; }
details.action > summary::-webkit-details-marker { display: none; }
details.action > summary::after { content: "+"; color: var(--muted); font-size: 1.1rem; }
details.action[open] > summary::after { content: "–"; }
details.action > div { padding: 0 .9rem .9rem; }
.thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--line-2); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.media-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.media-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.media-card .mc-body { padding: .7rem; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-h { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; text-align: center; padding: .2rem; }
.cal-d { min-height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .45rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .2rem; font-size: .78rem; }
.cal-d:hover { border-color: var(--teal); color: inherit; }
.cal-d.out { opacity: .35; }
.cal-d.today { box-shadow: inset 0 0 0 2px var(--gold); }
.cal-d.closed { background: repeating-linear-gradient(135deg, #fff 0 8px, #f6f1e7 8px 16px); }
.cal-d .n { font-weight: 700; font-size: .9rem; }
.cal-d .pend { color: var(--warn); font-weight: 700; }
@media (max-width: 640px) { .cal-d { min-height: 64px; font-size: .68rem; padding: .3rem; } .cal-d .hide-xs { display: none; } }

/* bare (login/install) */
.bare { display: grid; min-height: 100vh; place-items: center; background: radial-gradient(900px 400px at 80% -10%, rgba(19, 143, 138, .2), transparent), var(--navy); }
.bare-main { width: min(440px, 92vw); padding: 2rem 0; }
.bare-main > .brand { color: #fff; margin: 0 auto 1.2rem; display: flex; justify-content: center; }
.auth-card h1 { font-size: 1.4rem; }
.auth-card.wide, .bare-main:has(.wide) { width: min(640px, 94vw); }

/* receipt / print */
.receipt { max-width: 420px; margin: 0 auto; background: #fff; border: 1px dashed #bbb; padding: 1.4rem; font-size: .92rem; }
.receipt h2 { text-align: center; margin-bottom: .2rem; }
.receipt .center { text-align: center; }
.manifest-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
@media print {
  .side, .top, .no-print, .toast-zone, .flash-msg { display: none !important; }
  .app { display: block; } body { background: #fff; font-size: 11pt; }
  .content { padding: 0; max-width: none; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .table td, .table th { padding: 4px 6px; }
  a { color: inherit; text-decoration: none; }
  .receipt { border: 0; }
}

/* booking form (shared with public site) inside the back office */
.hp, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.book-layout { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1100px) { .book-layout { grid-template-columns: 1fr 340px; } .summary { position: sticky; top: 80px; } }
.step { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 16px; margin: 0 0 14px; min-width: 0; box-shadow: var(--shadow); }
.step legend { font-weight: 700; font-size: 1rem; display: flex; gap: .5rem; align-items: center; padding: 0 .3rem; }
.step-n { width: 24px; height: 24px; border-radius: 50%; background: var(--navy-2); color: var(--gold); display: grid; place-items: center; font-size: .8rem; }
.grid-2 { display: grid; gap: 0 12px; } @media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.pkg-choice { display: grid; gap: 8px; margin: .5rem 0 .8rem; } @media (min-width: 640px) { .pkg-choice { grid-template-columns: 1fr 1fr; } }
.pkg-opt input, .suite-opt input { position: absolute; opacity: 0; }
.pkg-opt-card { display: grid; gap: .15rem; padding: .75rem .9rem; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; height: 100%; }
.pkg-opt-name { font-weight: 700; } .pkg-opt-meta { font-size: .8rem; color: var(--muted); } .pkg-opt-price { font-size: .82rem; color: var(--teal); font-weight: 700; }
.pkg-opt input:checked + .pkg-opt-card, .suite-opt input:checked + span { border-color: var(--teal); background: var(--teal-50); }
.suite-pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: .4rem 0; }
.suite-opt { position: relative; } .suite-opt span { display: grid; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.suite-opt input:disabled + span { opacity: .5; text-decoration: line-through; }
.child-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0 .6rem; }
.extras { display: grid; gap: .5rem; } .extra-opt { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; } .extra-opt span { display: grid; } .extra-opt input { width: 90px; }
.field-hint, .note { color: var(--muted); font-size: .85rem; margin: .2rem 0 .6rem; display: flex; gap: .4rem; align-items: flex-start; }
.note .ic, .ic { width: 1.1em; height: 1.1em; flex: none; }
.summary-card { background: var(--navy); color: #fff; border-radius: var(--r); padding: 1.1rem; }
.summary-card .muted { color: #9fb1c4; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table td, .price-table th { padding: .45rem 0; border-bottom: 1px solid rgba(127, 127, 127, .25); text-align: start; font-weight: 400; }
.price-table td:last-child, .price-table th + td { text-align: end; white-space: nowrap; }
.price-table tfoot th, .price-table tfoot td { font-weight: 700; border-bottom: 0; }
.summary-card tfoot td { color: var(--gold); }
.price-table tr.net td, .price-table tr.net th { color: #6fe0d8; }
.book-submit .btn { min-height: 46px; }
.book-submit .btn-gold, .btn.btn-lg { min-height: 46px; }

/* fast checkout payment methods */
.pay-methods{border:0;padding:0;margin:0 0 1rem}
.pay-methods legend{font-weight:600;margin-bottom:.4rem}
.pm-grid{display:flex;flex-wrap:wrap;gap:.5rem}
.pm{position:relative;cursor:pointer}
.pm input{position:absolute;opacity:0;pointer-events:none}
.pm span{display:inline-flex;align-items:center;min-height:44px;padding:.4rem 1rem;border:1.5px solid #cfd6df;border-radius:10px;background:#fff;font-weight:600}
.pm input:checked+span{border-color:#0d3b5c;background:#0d3b5c;color:#fff}
.pm input:focus-visible+span{outline:2px solid #b08d4f;outline-offset:2px}
.pm-ref{margin-top:.7rem}

/* logo image */
.brand-logo { display: block; height: 40px; width: auto; }
.bare-main > .brand .brand-logo { height: 72px; }
/* documents */
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.file-list li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .45rem .6rem; border: 1px solid #e3e7ec; border-radius: 8px; }
.wa-step { border: 2px solid #25d366; background: #f0fdf4; margin-bottom: 16px; }
.wa-step.done { border-color: #cfd6df; background: #fff; }
.wa-step h2 { display: flex; align-items: center; gap: .4rem; }
/* booking form add-ons inside the portal */
.addon { margin: 1.2rem 0 .4rem; padding-top: 1rem; border-top: 1px dashed #dfe4ea; }
.addon > .field-label { display: flex; align-items: center; gap: .4rem; font-weight: 600; margin-bottom: .5rem; }
.dive-opts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; }
.chip-opt span { display: inline-flex; flex-direction: column; align-items: flex-start; min-height: 44px; padding: .5rem .9rem; border: 1.5px solid #cfd6df; border-radius: 12px; background: #fff; font-weight: 600; }
.chip-opt small { font-weight: 500; color: #667; font-size: .78rem; }
.chip-opt input:checked + span { border-color: #19a7a1; background: #e8f7f6; box-shadow: 0 0 0 3px rgba(25, 167, 161, .15); }
.room-group { margin: .9rem 0 .4rem; }
.suite-opt small.muted { display: block; font-size: .78rem; }
.room-kinds { display: grid; gap: 10px; }
.room-kind { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1.5px solid #cfd6df; border-radius: 12px; background: #fff; }
.room-kind small { display: block; font-size: .8rem; }
.room-kind small.ok { color: #19a7a1; } .room-kind small.bad { color: #b42318; }
.room-kind .qty input { width: 84px; text-align: center; font-weight: 700; }

/* supplier payments */
.pay-total { display: flex; align-items: baseline; gap: .6rem; justify-content: flex-end; margin: .4rem 0 .9rem; font-size: 1.05rem; }
.pay-total strong { font-size: 1.5rem; }
.stat.ok strong { color: var(--ok, #1f8a5b); }
.pay-list { display: grid; gap: 12px; }
.pay-item { border: 1px solid var(--line, #e7e1d6); border-radius: 12px; padding: 14px 16px; background: var(--card, #fff); }
.pay-item.is-void { opacity: .55; }
.pay-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pay-item-head > div { display: flex; flex-direction: column; gap: 2px; }
.pay-item-date { font-size: 1.02rem; }
.pay-item-amount { font-size: 1.35rem; color: var(--ok); white-space: nowrap; }
.pay-item-method { margin: .5rem 0; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.pay-item-method .ic { width: 16px; height: 16px; color: var(--ok); }
.pay-item-lines { list-style: none; margin: .2rem 0 .7rem; padding: 0; border-top: 1px dashed var(--line, #e7e1d6); }
.pay-item-lines li { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px dashed var(--line, #e7e1d6); }
.pay-line-amt { margin-inline-start: auto; font-weight: 600; white-space: nowrap; }

/* collect on board (supplier) */
.collect-card.todo { border: 2px solid var(--warn); background: var(--warn-50); }
.collect-card.done { border-inline-start: 4px solid var(--ok); }
.collect-card .card-head h2 { display: flex; align-items: center; gap: .5rem; }
.collect-card .card-head .ic { width: 20px; height: 20px; }
.collect-now { font-size: 1.05rem; margin: .2rem 0 .8rem; }
.collect-card details > summary { list-style: none; cursor: pointer; display: inline-flex; margin-bottom: .6rem; }
.collect-card details > summary::-webkit-details-marker { display: none; }
.collect-card details[open] > summary { display: none; }
.collect-form { display: grid; gap: 10px; }
.collect-opt { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; background: var(--paper); cursor: pointer; }
.collect-opt input { margin-top: .25rem; accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.collect-opt span { display: flex; flex-direction: column; gap: 2px; }
.collect-opt small { color: var(--muted, #6b7280); }
.collect-opt:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.collect-alert { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.collect-alert .ic { width: 18px; height: 18px; vertical-align: -3px; }
.collect-box { border-radius: 10px; padding: .7rem .9rem; background: var(--warn-50); border: 1px solid var(--warn); }
.collect-box.ok { background: var(--ok-50); border-color: var(--ok); }
