/* Match the reporting and contact pages without changing the shared template. */
.beds-page { --beds-blue: #2563eb; --beds-ink: #172b4d; --beds-muted: #64748b; --beds-border: #e2e8f0; color: var(--beds-ink); background: #f5f7fb; }
.beds-page svg { width: 18px; height: 18px; flex-shrink: 0; }
.beds-page [hidden] { display: none !important; }
.beds-page :focus-visible { outline: 3px solid #38bdf8; outline-offset: 4px; }
.beds-page button:disabled { opacity: .55; cursor: wait; }
.beds-hero { position: relative; overflow: hidden; padding: 28px 0 72px; color: white; background: radial-gradient(ellipse at 90% 10%, #2563eb88, transparent 55%), linear-gradient(115deg, #102947, #173d78 65%, #165579); }
.beds-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 48px 48px; }
.beds-breadcrumb, .beds-breadcrumb a { display: flex; align-items: center; gap: 9px; }
.beds-breadcrumb { margin-bottom: 34px; font-size: 12px; color: #cfdef2; flex-wrap: wrap; }
.beds-breadcrumb > svg { width: 12px; }
.beds-breadcrumb a:hover { color: white; }
.beds-hero-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 60px; align-items: center; }
.beds-eyebrow { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--beds-blue); margin-bottom: 10px; }
.beds-hero .beds-eyebrow { color: #8cdded; }
.beds-hero h1 { font-size: clamp(30px, 3.3vw, 45px); line-height: 1.2; letter-spacing: -.035em; font-weight: 750; color: white; }
.beds-hero h1 span { color: #a2e4f3; }
.beds-hero-description { font-size: 15px; color: #d7e5f7; line-height: 1.8; max-width: 540px; margin: 18px 0 25px; }
.beds-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border-radius: 10px; padding: 11px 17px; font-size: 12px; font-weight: 650; transition: background .2s; }
.beds-button-white { background: white; color: #1c4380; }
.beds-button-white:hover { background: #e9f3ff; }
.beds-button-primary { color: white; background: var(--beds-blue); }
.beds-button-primary:hover { background: #1d4ed8; }
.beds-button-secondary { background: white; border: 1px solid var(--beds-border); color: #476284; }
.beds-button-secondary:hover { background: #eaf1ff; }
.beds-source-card { padding: 24px; border: 1px solid #ffffff30; border-radius: 20px; background: #ffffff0c; box-shadow: 0 16px 48px #071d4020; }
.beds-source-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: #a2e4f3; background: #ffffff14; margin-bottom: 17px; }
.beds-source-card .beds-eyebrow { font-size: 9px; margin-bottom: 8px; }
.beds-source-card h2 { font-size: 23px; line-height: 1.4; font-weight: 700; letter-spacing: -.025em; margin-bottom: 10px; }
.beds-source-card > p:not(.beds-eyebrow) { font-size: 12px; line-height: 1.8; color: #d7e5f7; }
.beds-source-note { display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid #ffffff20; padding-top: 15px; margin-top: 17px; font-size: 11px; line-height: 1.8; color: #d7e5f7; }
.beds-source-note svg { width: 15px; height: 15px; margin-top: 3px; color: #87e0d8; }
.beds-stats-section { position: relative; margin-top: -28px; }
.beds-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: white; border: 1px solid var(--beds-border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 25px #16335906; }
.beds-stat { display: flex; align-items: center; gap: 13px; padding: 22px; border-right: 1px solid #edf1f7; }
.beds-stat:last-child { border-right: 0; }
.beds-stat-icon { display: grid; place-items: center; flex-shrink: 0; width: 39px; height: 39px; border-radius: 11px; background: #e9f1ff; color: #245bb5; }
.beds-stat strong { display: block; font-size: 28px; font-weight: 750; line-height: 1.2; letter-spacing: -.025em; }
.beds-stat div > span { display: block; font-size: 10px; color: var(--beds-muted); margin-top: 7px; line-height: 1.5; }
.beds-stat-update strong { font-size: 12px; letter-spacing: 0; line-height: 1.5; }
.beds-tone-green { background: #e6f5ee; color: #187751; }
.beds-tone-teal { background: #e5f5fa; color: #0d6b85; }
.beds-tone-amber { background: #fff4df; color: #95601c; }
.beds-tone-rose { background: #fcecf0; color: #b9445b; }
.beds-directory { padding: 42px 0 60px; scroll-margin-top: 95px; }
.beds-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.beds-section-heading h2 { font-size: 25px; font-weight: 750; letter-spacing: -.03em; }
.beds-section-heading h2 + p { color: var(--beds-muted); font-size: 13px; line-height: 1.8; margin-top: 9px; }
.beds-notice { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #dbe8f7; border-radius: 11px; background: #edf4fd; color: #537198; padding: 14px 17px; font-size: 12px; line-height: 1.8; margin-bottom: 22px; }
.beds-notice svg { width: 16px; height: 16px; margin-top: 3px; }
.beds-filter { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; align-items: end; gap: 20px; background: white; border: 1px solid var(--beds-border); border-radius: 14px; padding: 21px; }
.beds-filter label { display: block; color: #52647c; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.beds-filter input[type="search"], .beds-filter select { width: 100%; min-width: 0; height: 44px; padding: 0 12px; color: #334155; font-size: 12px; border: 1px solid #dce3ed; border-radius: 9px; background: white; }
.beds-filter-search > div { position: relative; }
.beds-filter-search svg { position: absolute; top: 14px; left: 12px; width: 16px; height: 16px; color: #8797ab; }
.beds-filter-search input[type="search"] { padding-left: 37px; }
.beds-filter .beds-available-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; cursor: pointer; }
.beds-available-toggle input { width: 16px; height: 16px; accent-color: var(--beds-blue); flex-shrink: 0; }
.beds-status { font-size: 11px; color: var(--beds-muted); line-height: 1.8; margin-top: 15px; }
.beds-status:empty { margin-top: 0; }
.beds-stale { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; padding: 15px 17px; border: 1px solid #f0dcad; border-radius: 11px; background: #fff9ed; color: #8a662e; font-size: 12px; line-height: 1.8; }
.beds-stale svg { margin-top: 2px; }
.beds-state { text-align: center; padding: 65px 24px; margin-top: 20px; background: white; border: 1px solid var(--beds-border); border-radius: 16px; }
.beds-state > svg { width: 38px; height: 38px; color: #8fa5c1; margin: 0 auto 20px; }
.beds-state h3 { font-size: 19px; font-weight: 700; margin-bottom: 11px; }
.beds-state p { max-width: 440px; font-size: 13px; line-height: 1.85; color: var(--beds-muted); margin: 0 auto; }
.beds-state button { margin-top: 22px; }
.beds-spinner { display: block; width: 34px; height: 34px; border: 3px solid #dbeafe; border-top-color: var(--beds-blue); border-radius: 50%; margin: 0 auto 22px; animation: beds-spin .8s linear infinite; }
.beds-error > svg { color: #b78952; }
.beds-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 16px; font-size: 12px; color: var(--beds-muted); }
.beds-results-heading p { color: #425c7b; font-weight: 600; }
.beds-results-heading > span { font-size: 10px; }
.beds-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.beds-card { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--beds-border); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s; animation: beds-reveal .35s ease both; }
.beds-card:nth-child(2) { animation-delay: .06s; }
.beds-card:nth-child(3) { animation-delay: .12s; }
.beds-card:hover { border-color: #b8cdeb; box-shadow: 0 10px 24px #1a376410; }
.beds-card-body { padding: 21px; flex: 1; }
.beds-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.beds-card-heading > span:last-child { margin-left: auto; }
.beds-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; font-size: 10px; font-weight: 650; line-height: 1.5; background: #f0f4f8; color: #63758c; }
.beds-badge.available { background: #e6f5ee; color: #187751; }
.beds-badge.unavailable { background: #fff4df; color: #95601c; }
.beds-card h3 { font-size: 16px; line-height: 1.6; font-weight: 700; overflow-wrap: anywhere; margin-bottom: 10px; }
.beds-address { display: flex; gap: 6px; align-items: flex-start; color: var(--beds-muted); font-size: 11px; line-height: 1.8; margin-bottom: 20px; }
.beds-address svg { width: 13px; height: 15px; margin-top: 2px; }
.beds-address span { overflow-wrap: anywhere; }
.beds-room-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.beds-room-stat { text-align: center; padding: 12px 3px; border-radius: 9px; background: #f5f8fc; }
.beds-room-stat strong { display: block; font-size: 21px; font-weight: 750; color: #476b97; line-height: 1.3; }
.beds-room-stat span { display: block; font-size: 9px; color: #71869f; margin-top: 4px; }
.beds-room-stat.is-selected { outline: 2px solid #81adf3; outline-offset: 1px; }
.beds-special-counts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.beds-special-counts > span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e8edf4; padding: 5px 7px; border-radius: 6px; font-size: 10px; color: #6b809a; }
.beds-special-counts strong { color: #395976; font-weight: 650; }
.beds-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #edf1f7; padding: 16px 21px; background: #fafcfe; }
.beds-card-footer p { color: var(--beds-muted); font-size: 10px; line-height: 1.7; }
.beds-card-footer strong { display: block; color: #355776; font-size: 15px; font-weight: 700; }
.beds-card-footer button { padding: 10px 12px; min-height: 40px; font-size: 11px; }
.beds-card-footer button svg { width: 14px; }
.beds-contact-strip { display: flex; align-items: center; gap: 17px; padding: 24px; margin-top: 30px; border: 1px solid #dbe6f4; border-radius: 15px; background: linear-gradient(110deg, #edf4fc, white); }
.beds-contact-strip > span { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; color: #547bad; background: white; border: 1px solid #dbe6f4; border-radius: 12px; }
.beds-contact-strip h3 { font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.beds-contact-strip p { font-size: 12px; line-height: 1.75; color: var(--beds-muted); }
.beds-contact-strip > a { margin-left: auto; flex-shrink: 0; }
.beds-dialog { width: min(1050px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--beds-border); border-radius: 18px; background: #f5f7fb; color: var(--beds-ink); box-shadow: 0 30px 90px #08182b40; }
.beds-dialog::backdrop { background: #0b1e36aa; }
.beds-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; gap: 14px; padding: 24px; border-bottom: 1px solid var(--beds-border); background: white; }
.beds-dialog-header > div { flex: 1; min-width: 0; }
.beds-dialog-header .beds-eyebrow { font-size: 9px; margin-bottom: 6px; }
.beds-dialog-header h2 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; line-height: 1.5; overflow-wrap: anywhere; }
.beds-dialog-header h2 + p { font-size: 11px; line-height: 1.8; color: var(--beds-muted); margin-top: 6px; overflow-wrap: anywhere; }
.beds-dialog-header button { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; background: #f1f5f9; color: #64748b; border-radius: 10px; }
.beds-dialog-body { padding: 24px; }
.beds-dialog-body > .beds-state { margin: 0; }
.beds-detail-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.beds-summary-item { padding: 18px; border: 1px solid var(--beds-border); background: white; border-radius: 12px; }
.beds-summary-item > span { font-size: 11px; font-weight: 600; color: #617b9b; }
.beds-summary-item strong { display: block; font-size: 29px; font-weight: 750; margin: 8px 0 4px; color: #315d8e; }
.beds-summary-item small { color: var(--beds-muted); font-size: 10px; }
.beds-detail-panel { padding: 23px; border: 1px solid var(--beds-border); border-radius: 14px; background: white; margin-bottom: 20px; }
.beds-detail-panel h3 { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; margin-bottom: 17px; }
.beds-detail-panel h3 svg { color: var(--beds-blue); }
.beds-detail-panel > p, .beds-detail-muted { font-size: 12px; color: var(--beds-muted); line-height: 1.85; }
.beds-class-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.beds-class-counts > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #e8eef6; padding: 11px; border-radius: 9px; font-size: 11px; color: #667e9b; }
.beds-class-counts strong { color: #315d8e; font-size: 14px; }
.beds-room-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.beds-room-table th { background: #f5f8fc; padding: 12px; text-align: left; font-size: 10px; font-weight: 650; color: #667e9b; }
.beds-room-table td { padding: 15px 12px; border-bottom: 1px solid #edf1f7; vertical-align: top; color: #526c8c; }
.beds-room-table tr:last-child td { border-bottom: 0; }
.beds-room-table td:first-child { overflow-wrap: anywhere; max-width: 260px; }
.beds-room-table td:first-child strong { display: block; color: #355776; font-size: 12px; font-weight: 600; line-height: 1.7; }
.beds-room-table td:first-child span { display: block; font-size: 10px; color: #8494a9; margin-top: 5px; }
.beds-room-table td:nth-child(2) { color: #217f60; font-size: 15px; font-weight: 700; }
.beds-room-table th:nth-child(2), .beds-room-table td:nth-child(2), .beds-room-table th:nth-child(3), .beds-room-table td:nth-child(3) { text-align: right; }
.beds-room-table td:last-child { font-size: 10px; line-height: 1.8; max-width: 150px; }
.beds-detail-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.beds-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.beds-tags span { padding: 6px 9px; font-size: 11px; line-height: 1.7; color: #597495; background: #f1f6fc; border: 1px solid #e5edf7; border-radius: 7px; overflow-wrap: anywhere; }
.beds-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 24px; background: white; border-top: 1px solid var(--beds-border); }
.beds-dialog-footer > span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--beds-muted); }
.beds-dialog-footer > span svg { width: 14px; }
@keyframes beds-spin { to { transform: rotate(360deg); } }
@keyframes beds-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
    .beds-hero-layout { gap: 35px; }
    .beds-stat { padding: 19px 16px; gap: 10px; }
    .beds-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .beds-filter { gap: 15px; }
}
@media (max-width: 800px) {
    .beds-hero-layout { grid-template-columns: 1.4fr 1fr; gap: 24px; }
    .beds-hero h1 { font-size: 32px; }
    .beds-source-card { padding: 20px; }
    .beds-source-card h2 { font-size: 21px; }
    .beds-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .beds-stat:nth-child(2) { border-right: 0; }
    .beds-stat:nth-child(-n+2) { border-bottom: 1px solid #edf1f7; }
    .beds-filter { grid-template-columns: 1.4fr 1fr; }
    .beds-filter .beds-available-toggle { grid-column: 1 / -1; min-height: 32px; }
    .beds-section-heading { align-items: flex-start; }
    .beds-class-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .beds-hero { padding: 22px 0 52px; }
    .beds-breadcrumb { margin-bottom: 26px; }
    .beds-hero-layout { grid-template-columns: 1fr; gap: 28px; }
    .beds-hero h1 { font-size: 33px; }
    .beds-hero-description { font-size: 13px; }
    .beds-source-card { padding: 20px; }
    .beds-source-card h2 br { display: none; }
    .beds-source-card h2 { font-size: 20px; }
    .beds-source-icon { float: right; margin: 0 0 0 14px; }
    .beds-stat { padding: 18px 14px; align-items: flex-start; }
    .beds-stat-icon { width: 31px; height: 31px; border-radius: 9px; }
    .beds-stat-icon svg { width: 16px; height: 16px; }
    .beds-stat strong { font-size: 25px; }
    .beds-stat-update strong { font-size: 11px; }
    .beds-stat div > span { font-size: 9px; }
    .beds-directory { padding: 30px 0 40px; }
    .beds-section-heading { flex-direction: column; gap: 16px; }
    .beds-section-heading h2 { font-size: 23px; }
    .beds-section-heading > button { width: 100%; }
    .beds-filter { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
    .beds-results-heading { flex-direction: column; align-items: flex-start; gap: 7px; }
    .beds-cards { grid-template-columns: 1fr; gap: 18px; }
    .beds-card-body { padding: 20px; }
    .beds-contact-strip { flex-wrap: wrap; padding: 20px; gap: 14px; }
    .beds-contact-strip > div { flex: 1; min-width: 160px; }
    .beds-contact-strip > a { width: 100%; }
    .beds-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 24px); border-radius: 13px; }
    .beds-dialog-header { padding: 17px 14px; gap: 10px; }
    .beds-dialog-header > .beds-stat-icon { display: none; }
    .beds-dialog-header h2 { font-size: 19px; }
    .beds-dialog-body { padding: 17px 13px; }
    .beds-detail-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .beds-summary-item { padding: 15px; }
    .beds-detail-panel { padding: 16px; }
    .beds-class-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .beds-detail-extras { grid-template-columns: 1fr; gap: 0; }
    .beds-room-table thead { display: none; }
    .beds-room-table tbody, .beds-room-table tr { display: block; }
    .beds-room-table tr { padding: 14px 0; border-bottom: 1px solid #edf1f7; }
    .beds-room-table tr:last-child { border-bottom: 0; }
    .beds-room-table td { display: flex; justify-content: space-between; gap: 12px; max-width: none !important; padding: 5px 0; border: 0; text-align: right; }
    .beds-room-table td:first-child { display: block; text-align: left; margin-bottom: 7px; }
    .beds-room-table td:not(:first-child)::before { content: attr(data-label); color: var(--beds-muted); font-size: 11px; font-weight: 400; text-align: left; }
    .beds-dialog-footer { padding: 15px; flex-wrap: wrap; }
    .beds-dialog-footer > .beds-button { margin-left: auto; }
    .beds-state { padding: 45px 20px; }
}
@media (prefers-reduced-motion: reduce) { .beds-page * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .beds-filter, #beds-refresh, .beds-dialog, .beds-contact-strip, .beds-card button { display: none !important; } .beds-card, .beds-stat { break-inside: avoid; } .beds-hero { background: white; color: #172b4d; } .beds-hero h1, .beds-hero h1 span, .beds-hero-description { color: #172b4d; } }
