/* Royal Rent – team panel. Full screen inside wp-admin, the brand's navy & gold, works on phones too. */

body.toplevel_page_royal-rent #wpadminbar,
body.toplevel_page_royal-rent #adminmenumain,
body.toplevel_page_royal-rent #wpfooter,
body.toplevel_page_royal-rent .notice,
body.toplevel_page_royal-rent .update-nag,
body.toplevel_page_royal-rent #screen-meta-links { display: none !important; }
html.wp-toolbar:has(body.toplevel_page_royal-rent) { padding-top: 0; }
body.toplevel_page_royal-rent #wpcontent, body.toplevel_page_royal-rent #wpbody-content { margin: 0; padding: 0; }
body.toplevel_page_royal-rent #wpbody { padding-top: 0; }
body.toplevel_page_royal-rent { background: #f6f4ef; }

.rr-app {
  --navy: #000e28; --navy-2: #0b1a33; --ink: #0b1a33; --ink-2: #2b3447; --muted: #626b80;
  --gold: #e2b65a; --gold-ink: #8a6418; --gold-grad: linear-gradient(180deg, #f6e3a8, #e2b65a 55%, #c99a3e);
  --bg: #f6f4ef; --line: #e7e2d6; --line-2: #efebe1; --line-3: #d9d3c4; --green: #1a7d52; --red: #b42318;
  --sh: 0 1px 2px rgba(11, 26, 51, .05), 0 10px 30px -18px rgba(11, 26, 51, .25);
  font: 14.5px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink);
}
.rr-app *, .rr-app *::before, .rr-app *::after { box-sizing: border-box; }
.rr-app h1, .rr-app h2, .rr-app h3, .rr-app h4 { color: var(--ink); margin: 0; line-height: 1.25; }
.rr-app a { color: #1d4fb8; }
.rr-app p { margin: 0; font-size: inherit; }
.rr-app .ico { flex: none; }
.rr-boot, .boot { display: grid; place-items: center; min-height: 100vh; color: var(--muted); }
.boot-error { display: grid; place-items: center; gap: 12px; min-height: 100vh; color: var(--red); text-align: center; }

/* ------------------------------------------------------------------ shell */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: var(--bg); }
.side { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 18px 14px; background: radial-gradient(120% 60% at 0 0, #0b2758 0%, var(--navy) 60%); color: #c3cbdc; z-index: 50; }
.side__brand { display: flex; align-items: center; gap: 12px; padding: 6px 10px 22px; color: #fff !important; text-decoration: none; letter-spacing: .14em; font-size: 15px; }
.side__brand b { color: var(--gold); font-weight: 600; }
.side__brand small { display: block; margin-top: 2px; letter-spacing: .04em; font-size: 11.5px; color: #8f9ab3; }
.side__crown { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(226, 182, 90, .14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 182, 90, .35); }
.side__nav { display: grid; gap: 4px; }
.side__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #c3cbdc !important; text-decoration: none; font-weight: 600; transition: background .2s, color .2s; }
.side__link:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.side__link.is-on { background: rgba(226, 182, 90, .14); color: #f1d58c !important; box-shadow: inset 3px 0 0 var(--gold); }
.side__link:focus { box-shadow: 0 0 0 2px var(--gold); outline: none; }
.side__foot { display: grid; gap: 2px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.side__foot .side__link { font-weight: 500; font-size: 13.5px; }
.main { min-width: 0; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(246, 244, 239, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top h1 { flex: 1; font-size: 22px; font-weight: 700; }
.top__menu { display: none !important; }
.content { max-width: 1520px; padding: 22px 28px 70px; }
.shell__scrim { display: none; }

/* ------------------------------------------------------------------ building blocks */
.stack { display: grid; gap: 16px; align-content: start; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.toolbar__title { font-size: 15px; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.warn-text { color: #b36b00; font-weight: 600; }
.hello { font-size: 16.5px; color: var(--ink-2); }
.rr-app .card { min-width: 0; max-width: none; margin: 0; padding: 20px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
.rr-app .card--flush { padding: 0; overflow: hidden; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 17px !important; margin-bottom: 12px !important; }
.card__head .card__title { margin: 0 !important; }
.card__title .ico { color: var(--gold-ink); }
.cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.row-gap { display: flex; flex-wrap: wrap; gap: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
.form-sub { margin: 20px 0 10px !important; font-size: 12.5px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }

/* buttons */
.rr-app .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ink); font: 600 14.5px/1 inherit; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s; }
.rr-app .btn:hover { background: #fbf8f0; }
.rr-app .btn:active { transform: translateY(1px); }
.rr-app .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rr-app .btn:disabled { opacity: .55; cursor: default; }
.rr-app .btn--gold { background: var(--gold-grad); box-shadow: 0 6px 16px -8px rgba(201, 154, 62, .9), inset 0 -2px 0 rgba(0, 0, 0, .08); color: #1a1206; }
.rr-app .btn--gold:hover { background: linear-gradient(180deg, #f9e9b6, #e7be66 55%, #cfa245); }
.rr-app .btn--ghost { background: transparent; }
.rr-app .btn--danger { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1px #f3c4bf; }
.rr-app .btn--sm { height: 32px; padding: 0 11px; font-size: 13.5px; }
.rr-app .btn.is-busy { position: relative; color: transparent !important; }
.rr-app .btn.is-busy::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .2); border-top-color: var(--ink); animation: rr-spin .8s linear infinite; }
.btn-group { display: inline-flex; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: #efebe1; }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.field__hint { font-size: 12px; color: var(--muted); }
.field__error { font-size: 12px; color: var(--red); }
.rr-app .input { width: 100%; min-height: 40px; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--line-3); border-radius: 10px; background: #fff; box-shadow: none; color: var(--ink); font: inherit; line-height: normal; }
.rr-app .input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 182, 90, .28); outline: none; }
.rr-app .input:disabled { background: #f6f4ef; color: var(--muted); }
.rr-app .input--area { height: auto; min-height: 66px; padding: 10px 12px; resize: vertical; }
.rr-app .input--select { max-width: none; padding-right: 34px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.rr-app .input--cell { width: 84px; height: 34px; min-height: 34px; padding: 0 8px; text-align: right; }
.rr-app .input--color { width: 60px; padding: 4px; }
.dt { display: flex; gap: 8px; }
.dt .input[type="time"] { max-width: 120px; }
.i18n { display: grid; gap: 6px; }
.i18n__row { display: flex; align-items: center; gap: 8px; }
.i18n__lang { flex: none; width: 24px; font-size: 11px; font-weight: 800; color: var(--muted); }
.toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { position: relative; flex: none; width: 42px; height: 24px; border-radius: 99px; background: #d3d8e2; transition: background .2s; }
.toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.toggle input:checked + .toggle__ui { background: var(--gold); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--gold); outline-offset: 2px; }
.toggle__label { font-weight: 600; font-size: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-3); border-radius: 10px; background: #fff; }
.stepper button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; color: var(--ink); cursor: pointer; }
.stepper button:disabled { color: #c3c8d2; cursor: default; }
.stepper b { min-width: 22px; text-align: center; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.check input { margin: 0 !important; }

/* tabs, badges, chips */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tabs__item { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 600 14px/1.2 inherit; cursor: pointer; }
.tabs__item:hover { background: #f6f4ef; }
.tabs__item.is-on { background: var(--navy); color: #fff; }
.tabs__count { padding: 1px 7px; border-radius: 99px; background: rgba(226, 182, 90, .28); font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; margin: 1px 4px 1px 0; }
.badge--amber { background: #fff1d6; color: #8a5a00; }
.badge--blue { background: #e6eeff; color: #1d4fb8; }
.badge--green { background: #e2f4ea; color: #146a45; }
.badge--gray { background: #eef0f4; color: #59627a; }
.badge--red { background: #fde8e6; color: #a8231a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: #f3f0e8; font-size: 13px; font-weight: 600; }
.chip .ico { color: var(--gold-ink); }
.chip--warn { background: #fff1d6; color: #8a5a00; }
.ref { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; letter-spacing: .03em; color: var(--navy); }
.ref--big { font-size: 20px; }
.plate { display: inline-block; padding: 1px 8px 1px 14px; border: 1.5px solid #1d2a44; border-radius: 5px; background: #fff linear-gradient(90deg, #1d4fb8 0 7px, transparent 7px); font: 700 12.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; color: #111; white-space: nowrap; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 440px; margin-left: auto; }
.search .ico { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--muted); }
.rr-app .search .input { padding-left: 38px; }

/* tables */
.rr-app .table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rr-app .table th { padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.rr-app .table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.rr-app .table tr:last-child td { border-bottom: 0; }
.table--click tbody tr { cursor: pointer; transition: background .15s; }
.table--click tbody tr:hover td { background: #fbf8f0; }
.table--click tbody tr:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.rr-app .table .num { text-align: right; white-space: nowrap; }
.table tr.is-off td { opacity: .55; }
.table-scroll { overflow-x: auto; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }

/* lists (dashboard) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; }
.stat { position: relative; display: grid; gap: 2px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: var(--sh), inset 0 0 0 1px var(--line); color: inherit !important; text-decoration: none; overflow: hidden; }
.stat .ico { width: 24px; height: 24px; margin-bottom: 6px; color: var(--gold-ink); }
.stat b { font-size: 28px; line-height: 1.15; }
.stat span { font-size: 13.5px; color: var(--muted); }
.stat--gold { background: radial-gradient(120% 120% at 100% 0, #12336e 0%, var(--navy) 70%); box-shadow: var(--sh); color: #fff !important; }
.stat--gold b { color: #fff; }
.stat--gold span { color: #c4cde1; }
.stat--gold .ico { color: #f1d58c; }
.stat__bar { position: absolute; left: 0; bottom: 0; width: var(--p); height: 4px; background: var(--gold-grad); }
.list { margin: 0; padding: 0; list-style: none; }
.list__item { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 8px; border-bottom: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.list__item:hover { background: #fbf8f0; }
.list__item:last-child { border-bottom: 0; }
.list__main { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.list__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.time { padding: 4px 9px; border-radius: 8px; background: #f3f0e8; font-weight: 700; font-variant-numeric: tabular-nums; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff1d6; color: #6b4c0f; }
.alert .ico { color: #b36b00; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; color: var(--muted); text-align: center; }
.empty b { color: var(--ink); font-size: 16px; }
.empty .ico { color: #c9a35d; }

/* ------------------------------------------------------------------ overlays */
.overlay { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; background: rgba(0, 14, 40, .45); animation: rr-fade .2s; }
.modal { display: flex; flex-direction: column; width: min(580px, 100%); max-height: calc(100vh - 40px); border-radius: 18px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 14, 40, .55); animation: rr-pop .22s cubic-bezier(.2, .8, .2, 1); }
.modal--wide { width: min(1000px, 100%); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 18px; }
.modal__body { display: grid; gap: 16px; padding: 20px 22px; overflow: auto; }
.modal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; background: #fbfaf7; }
.modal__foot .input--select { width: auto; }
.ask { font-size: 15.5px; }
.overlay--drawer { place-items: stretch end; padding: 0; }
.drawer { display: flex; flex-direction: column; width: min(620px, 100%); height: 100vh; background: var(--bg); box-shadow: -30px 0 80px -30px rgba(0, 14, 40, .5); animation: rr-slide .26s cubic-bezier(.2, .8, .2, 1); }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer__sub { margin-top: 4px; color: var(--muted); font-size: 13px; }
.drawer__body { display: grid; align-content: start; gap: 14px; padding: 16px 22px 28px; overflow: auto; }
.drawer__foot { padding: 14px 22px; border-top: 1px solid var(--line); background: #fff; }
.bk-title { display: flex; align-items: center; gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sec { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sec__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sec h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sec h3 .ico { color: var(--gold-ink); }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.kv > span:first-child { color: var(--muted); }
.kv b { text-align: right; }
.kv--input { align-items: center; }
.kv--input .input { max-width: 320px; }
.kv--muted { color: var(--muted); font-size: 13.5px; }
.wa { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: #128c4a !important; font-size: 13px; text-decoration: none; }
.trip { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.trip > div { display: flex; flex-direction: column; gap: 2px; }
.trip small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.trip span { color: var(--ink-2); }
.trip > .ico { color: var(--gold-ink); }
.note { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px !important; padding: 10px 12px; border-radius: 10px; background: #f6f4ef; font-size: 14px; }
.note .ico { flex: none; margin-top: 2px; color: var(--gold-ink); }
.note--warn { background: #fff1d6; color: #6b4c0f; }
.lines { width: 100%; border-collapse: collapse; }
.lines td { padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.lines td:last-child { padding-left: 12px; text-align: right; white-space: nowrap; font-weight: 600; }
.lines small { display: block; color: var(--muted); font-size: 12.5px; }
.lines .is-minus td:last-child { color: var(--green); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 4px; font-weight: 700; }
.total b { font-size: 22px; }
.log { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.log li { display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; margin: 0; }
.log span, .log em { color: var(--muted); }

/* booking form */
.quote { position: sticky; top: 0; padding: 16px; border-radius: 14px; background: #fbfaf7; box-shadow: inset 0 0 0 1px var(--line); }
.quote--empty { color: var(--muted); }
.quote--err { display: flex; gap: 8px; color: var(--red); }
.quote__free { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.quote__free.is-ok { background: #e2f4ea; color: #146a45; }
.quote__free.is-bad { background: #fde8e6; color: #a8231a; }
.extras-pick { display: grid; gap: 4px; padding: 14px 0 4px; }
.extras-pick__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; }
.choice button:hover { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 182, 90, .2); }
.choice .ico { color: var(--gold-ink); }
.choice span { color: var(--muted); font-size: 13.5px; }

/* ------------------------------------------------------------------ calendar */
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; color: var(--muted); font-size: 12.5px; }
.dot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.dot--blk { background: repeating-linear-gradient(-45deg, #b9bfcc 0 3px, #eef0f4 3px 6px); }
.cal-wrap { overflow: auto; max-height: calc(100vh - 230px); }
.cal { --label: 168px; position: relative; min-width: calc(var(--label) + var(--days) * 46px); }
.cal__row { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); border-bottom: 1px solid var(--line-2); }
.cal__row--head { position: sticky; top: 0; z-index: 6; background: #fbfaf7; border-bottom: 1px solid var(--line); }
.cal__label { position: sticky; left: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 12px; border-right: 1px solid var(--line); background: #fff; }
.cal__row--head .cal__label { background: #fbfaf7; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.cal__label small { color: var(--muted); font-size: 12px; }
.cal__label .plate { align-self: flex-start; }
.cal__label--warn { flex-direction: row; align-items: center; gap: 8px; color: #b36b00; font-weight: 700; }
.cal__label--warn span { display: flex; flex-direction: column; }
.cal__days { display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); }
.cal__day { padding: 6px 0; border-left: 1px solid var(--line-2); color: var(--muted); font-size: 11.5px; text-align: center; line-height: 1.3; }
.cal__day b { display: inline-block; min-width: 26px; color: var(--ink); font-size: 15px; }
.cal__day.is-weekend { background: rgba(226, 182, 90, .07); }
.cal__day.is-today b { border-radius: 8px; background: var(--navy); color: #fff; }
.cal__body { position: relative; }
.cal__grid { position: absolute; top: 0; right: 0; bottom: 0; left: var(--label); display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); pointer-events: none; }
.cal__grid i { border-left: 1px solid var(--line-2); }
.cal__grid .is-weekend { background: rgba(226, 182, 90, .05); }
.cal__grid .is-today { background: rgba(29, 79, 184, .05); }
.cal__now { position: absolute; top: 0; bottom: 0; width: 2px; background: #d9534f; z-index: 3; }
.cal__group { position: sticky; left: 0; padding: 7px 12px; border-bottom: 1px solid var(--line); background: #f3f0e8; font-weight: 700; font-size: 13.5px; }
.cal__group span { margin-left: 8px; color: var(--muted); font-weight: 600; font-size: 12px; }
.cal__track { position: relative; min-height: calc(var(--lanes) * 32px + 8px); cursor: cell; }
.cal__track.is-over { background: rgba(226, 182, 90, .16); outline: 2px dashed var(--gold); outline-offset: -2px; }
.cal__track--loose { background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(217, 83, 79, .045) 8px 16px); cursor: default; }
.lane { position: absolute; top: calc(var(--lane) * 32px + 4px); right: 0; left: 0; height: 28px; pointer-events: none; }
.bar { position: absolute; top: 0; display: flex; align-items: center; height: 28px; padding: 0; border: 0; border-radius: 8px; color: #fff; font: 600 12.5px/1 inherit; text-align: left; cursor: grab; pointer-events: auto; box-shadow: 0 2px 6px -2px rgba(0, 14, 40, .35); z-index: 2; }
.bar:active { cursor: grabbing; }
.bar:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.bar__txt { display: flex; align-items: center; gap: 6px; width: 100%; height: 100%; padding: 0 8px; overflow: hidden; white-space: nowrap; border-radius: inherit; }
.bar__txt span { opacity: .8; font-weight: 500; }
.bar--pending { background: #e39a2d; }
.bar--confirmed { background: #1d4fb8; }
.bar--active { background: #1a7d52; }
.bar--completed { background: #8a93a8; }
.bar__tail { position: absolute; top: 3px; bottom: 3px; left: 100%; border-radius: 0 6px 6px 0; background: repeating-linear-gradient(-45deg, rgba(29, 79, 184, .18) 0 4px, transparent 4px 8px); pointer-events: none; }
.blk { position: absolute; top: 4px; bottom: 4px; display: flex; align-items: center; gap: 4px; padding: 0 6px; overflow: hidden; border: 1px dashed #8a93a8; border-radius: 8px; background: repeating-linear-gradient(-45deg, #eef0f4 0 6px, #e1e4eb 6px 12px); color: #4a5468; font: 600 12px/1 inherit; white-space: nowrap; cursor: pointer; z-index: 1; }

/* ------------------------------------------------------------------ prices & offers */
.rates { display: grid; gap: 14px; }
.rate-grid th, .rate-grid td { white-space: nowrap; }
.rate-grid tbody th { background: #fff !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; color: var(--ink) !important; }
.season { display: flex; flex-direction: column; }
.season i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; }
.season b { display: inline-flex; align-items: center; }
.season small { color: var(--muted); font-weight: 500; }
.fill__in { display: inline-flex; gap: 6px; }
.fill__in .input { width: 70px !important; }
.x { margin-left: 6px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.add-tier { display: inline-flex; gap: 6px; }
.add-tier .input { width: 80px; }
.seasons { display: flex; flex-wrap: wrap; gap: 10px; }
.season-card { display: flex; flex-direction: column; gap: 2px; min-width: 210px; padding: 12px 14px 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: inset 4px 0 0 var(--c); text-align: left; font: inherit; cursor: pointer; }
.season-card span { color: var(--ink-2); }
.season-card small { color: var(--muted); }
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.offer { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; font: inherit; cursor: pointer; }
.offer:hover { border-color: var(--gold); }
.offer .ico { color: var(--gold-ink); }
.offer span { color: var(--ink-2); font-size: 13.5px; }
.offer small { color: var(--muted); }
.offer.is-off { opacity: .6; }

/* ------------------------------------------------------------------ toasts, spinner */
.toasts { position: fixed; top: 76px; right: 20px; z-index: 100001; display: grid; gap: 10px; justify-items: end; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 16px 40px -14px rgba(0, 14, 40, .6); font-weight: 600; animation: rr-pop .25s; }
.toast .ico { color: #f1d58c; }
.toast--error { background: #a8231a; }
.toast--error .ico { color: #fff; }
.rr-app .spinner { display: grid; place-items: center; gap: 10px; float: none; width: auto; height: auto; margin: 0; padding: 40px; background: none; color: var(--muted); opacity: 1; visibility: visible; }
.spinner span { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: rr-spin 1s linear infinite; }
@keyframes rr-spin { to { transform: rotate(360deg); } }
@keyframes rr-fade { from { opacity: 0; } }
@keyframes rr-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes rr-slide { from { transform: translateX(40px); opacity: 0; } }

/* ------------------------------------------------------------------ tablets & phones */
@media (max-width: 1100px) {
  .cols, .split { grid-template-columns: minmax(0, 1fr); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; top: 0; bottom: 0; left: 0; width: 272px; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
  .nav-open .side { transform: none; box-shadow: 30px 0 80px -20px rgba(0, 14, 40, .6); }
  .nav-open .shell__scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0, 14, 40, .4); }
  .top { padding: 10px 16px; }
  .top h1 { font-size: 19px; }
  .top__menu { display: grid !important; }
  .content { padding: 16px 16px 60px; }
}
@media (max-width: 640px) {
  .grid2, .grid3, .choice { grid-template-columns: minmax(0, 1fr); }
  .top .btn span { display: none; }
  .top .btn { width: 40px; padding: 0; }
  .search { max-width: none; margin-left: 0; }
  .rr-app .table thead { display: none; }
  .rr-app .table tbody tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .rr-app .table td, .rr-app .table .num { position: relative; display: block; min-height: 26px; padding: 4px 0 4px 100px; border: 0; text-align: left; }
  .rr-app .table td::before { content: attr(data-l); position: absolute; top: 6px; left: 0; width: 92px; color: var(--muted); font-size: 12px; }
  .rr-app .table td:not([data-l]) { padding-left: 0; }
  .rr-app .table td:not([data-l])::before { content: none; }
  .modal, .drawer { border-radius: 0; }
  .overlay { padding: 0; }
  .modal { max-height: 100vh; height: 100%; }
  .log li { grid-template-columns: 1fr; gap: 0; }
  .trip { grid-template-columns: 1fr; }
  .trip > .ico { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .rr-app *, .rr-app *::before, .rr-app *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ the panel on its own host (reservations.…) */
html:has(body.rr-host), body.rr-host { margin: 0; min-height: 100%; background: var(--bg, #f6f4ef); }
body.rr-host { -webkit-font-smoothing: antialiased; }

/* sign-in */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 560px); min-height: 100vh; background: #f6f4ef; }
.auth__brand { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: center; justify-items: start; gap: 22px; padding: 60px clamp(40px, 7vw, 110px);
  color: #fff; background: radial-gradient(90% 70% at 20% 30%, #12336e 0%, #041638 55%, #000e28 100%); }
.auth__glow { position: absolute; inset: -20% -10% auto auto; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(241, 213, 140, .18), transparent 70%); }
.auth__brand::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px); }
.auth__logo { width: min(240px, 50%); height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.rr-app .auth__tag { margin: 0; font: 400 clamp(26px, 2.6vw, 38px)/1.15 Georgia, "Times New Roman", serif; color: transparent;
  background: linear-gradient(100deg, #c99a3e 0%, #f1d58c 22%, #fff3c4 34%, #e6c67e 46%, #c99a3e 64%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; }
.auth__points { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; color: #c9d4ea; font-size: 15px; }
.auth__points li { display: flex; align-items: center; gap: 10px; }
.auth__points .ico { color: #f1d58c; }
.auth__main { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 40px 24px; }
.auth__card { display: grid; gap: 16px; width: min(100%, 400px); }
.auth__kicker { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line, #e7e2d6);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--gold-ink, #8a6418); }
.auth h1 { margin: 6px 0 0; font: 400 34px/1.15 Georgia, "Times New Roman", serif; color: #0b1a33; }
.rr-app .auth__lead { margin: -6px 0 6px; color: #626b80; font-size: 15px; }
.auth__field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: #2b3447; }
.auth__input { width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1.5px #d9d3c4; font-weight: 500; font-size: 16px; font-family: inherit; color: #0b1a33; outline: 0; transition: box-shadow .2s; }
.auth__input:focus { box-shadow: inset 0 0 0 2px #c99a3e, 0 0 0 4px rgba(201, 154, 62, .18); }
.auth__pass { position: relative; display: block; }
.auth__pass .auth__input { padding-right: 52px; }
.auth__eye { position: absolute; right: 6px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: #626b80; cursor: pointer; }
.auth__eye:hover { background: #f6f4ef; color: #0b1a33; }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.auth__check { display: inline-flex; align-items: center; gap: 8px; color: #2b3447; cursor: pointer; }
.auth__check input { width: 18px; height: 18px; accent-color: #c99a3e; }
.auth__link, .auth__back { padding: 4px 2px; border: 0; background: none; color: #8a6418; font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; }
.auth__back { display: inline-flex; align-items: center; gap: 6px; justify-self: center; }
.auth__link:hover, .auth__back:hover { text-decoration: underline; }
.rr-app .auth__error, .rr-app .auth__note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.auth__error { background: #fdecea; color: #b42318; }
.auth__note { background: #e3f3eb; color: #146b45; }
.auth__submit { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 4px; border: 0; border-radius: 14px;
  background: linear-gradient(180deg, #f6e3a8, #e2b65a 55%, #c99a3e); color: #1a1206; font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer;
  box-shadow: 0 12px 24px -12px rgba(201, 154, 62, .9), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .2s, box-shadow .2s; }
.auth__submit:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(201, 154, 62, .95), inset 0 1px 0 rgba(255, 255, 255, .6); }
.auth__submit.is-busy { opacity: .7; cursor: progress; }
.rr-app .auth__foot { margin: 0; font-size: 13px; color: #8a93a6; }
.auth__foot a { color: inherit; }
.auth :focus-visible { outline: 3px solid #c99a3e; outline-offset: 2px; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth__brand { justify-items: center; gap: 12px; padding: 34px 24px 30px; text-align: center; }
  .auth__logo { width: 130px; }
  .auth__tag { font-size: 24px; }
  .auth__points { display: none; }
  .auth__main { align-content: start; padding-top: 30px; }
}
