/* Project room reservations: compact, accessible mobile-first presentation. */
.room-main{min-height:calc(100vh - 200px);padding-bottom:56px;color:#192e4a}
.room-main,.room-main *{box-sizing:border-box}
.room-hero{padding:31px 0 13px}
.room-eyebrow{margin:0 0 6px;color:#55739a;font-size:11px;font-weight:800;letter-spacing:.12em}
.room-hero h1{margin:0 0 9px;color:#142b4c;font-size:clamp(25px,3vw,34px);font-weight:800;line-height:1.3;letter-spacing:-.04em}
.room-hero p:not(.room-eyebrow){max-width:760px;margin:6px 0;color:#5b6d83;font-size:14px;line-height:1.65;word-break:keep-all}
/* Match the same 1240px desktop container as the portal header and service navigation.
   Retain the global .container responsive gutters on tablets and phones. */
.room-hero,.room-layout{max-width:var(--container,1240px)}
#room-feedback{margin:0 0 10px;color:#22598d;font-size:14px;font-weight:650;line-height:1.5}
#room-feedback:empty{display:none}
#room-app[hidden],.room-panel[hidden],.room-tabs button[hidden]{display:none!important}
.room-tabs{display:flex;align-items:center;gap:6px;max-width:100%;margin:10px 0 17px;padding:5px;border:1px solid #dfe6ef;border-radius:14px;background:#eaf0f7}
.room-tabs button{flex:1 1 auto;min-height:43px;padding:9px 13px;border:0;border-radius:10px;background:transparent;color:#586a82;font:inherit;font-size:14px;font-weight:750;line-height:1.35;white-space:nowrap;cursor:pointer;transition:background-color .16s,color .16s,box-shadow .16s}
.room-tabs button[aria-selected="true"]{background:#fff;color:#173f73;box-shadow:0 2px 6px rgba(19,47,81,.09)}
.room-tabs button:hover:not([aria-selected="true"]){background:#dfe8f3;color:#183e6a}
.room-panel{min-width:0;padding:24px;border:1px solid #dfe7f0;border-radius:20px;background:#fff;box-shadow:0 6px 22px rgba(18,46,83,.045)}
.room-panel h2{margin:0 0 4px;color:#1a3558;font-size:clamp(19px,2.2vw,23px);line-height:1.4;font-weight:800;letter-spacing:-.035em}
.room-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.room-panel-heading>div{min-width:0;flex:1}
.room-panel-heading .room-muted{margin:4px 0 0}
.room-muted,.room-lead{color:#667990;font-size:13px;line-height:1.65;word-break:keep-all}
.room-lead{margin:7px 0 15px}
.room-refresh-btn{flex:0 0 auto;gap:6px;min-height:44px!important;margin:1px 0 0;padding:7px 11px!important;border-color:#e0e7f0!important;border-radius:10px!important;background:#f6f8fc!important;color:#315578!important;font-size:12px!important;font-weight:750!important;white-space:nowrap}
.room-refresh-btn:hover{background:#eaf1fa!important}
.room-refresh-btn svg{flex:none}
.room-datebar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:19px 0 17px}
.room-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:66px;margin:0;padding:9px 4px;border:1px solid #e1e7f0;border-radius:12px;background:#f7f9fc;color:#435b78;font:inherit;line-height:1.25;cursor:pointer;transition:background-color .15s,border-color .15s}
.room-date-weekday{color:#73839a;font-size:12px;font-weight:650}
.room-date-number{font-size:15px;font-weight:800;letter-spacing:-.02em}
.room-date[aria-pressed="true"]{border-color:#173f73;background:#173f73;box-shadow:0 4px 10px rgba(23,63,115,.14);color:#fff}
.room-date[aria-pressed="true"] .room-date-weekday{color:#dce8f8}
.room-date:hover:not([aria-pressed="true"]){border-color:#9cb5d3;background:#edf3fa}
.room-rooms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:13px;margin:0}
.room-tile{display:flex;flex-direction:column;min-width:0;gap:10px;padding:18px;border:1px solid #dfe7ef;border-radius:15px;background:#fafcff}
.room-tile.is-available{background:linear-gradient(180deg,#fcfeff 0%,#f7faff 100%)}
.room-tile-head,.room-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.room-tile h3{margin:0;color:#173959;font-size:20px;line-height:1.25;font-weight:800;letter-spacing:-.025em}
.room-pill{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:5px 9px;border-radius:999px;background:#e8f0fa;color:#285984;font-size:11px;font-weight:800;line-height:1.4;white-space:nowrap}
.room-pill.is-available{background:#e7f6f1;color:#14715b}
.room-pill.is-cancelled{background:#edf0f4;color:#657187}
.room-availability{margin:0;color:#667a91;font-size:13px;line-height:1.55}
.room-booked{display:flex;justify-content:space-between;align-items:flex-start;gap:11px;padding:10px 0;border-top:1px solid #e4eaf2;color:#1d3655;font-size:13px;line-height:1.55}
.room-booked strong{white-space:nowrap}
.room-booked span{text-align:right}
.room-primary,.room-secondary,.room-room-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #1b4777;border-radius:11px;background:#1b4777;color:#fff;font:inherit;font-size:14px;font-weight:750;line-height:1.4;cursor:pointer;transition:background-color .15s,border-color .15s}
.room-primary:hover{background:#10375f}
.room-secondary{border-color:#cedbeb;background:#f4f7fb;color:#264e7c}
.room-secondary:hover{background:#eaf1f9}
.room-primary[disabled],.room-secondary[disabled]{opacity:.6;cursor:wait}
.room-tile .room-primary{width:100%;margin-top:auto}
.room-privacy-note{margin:12px 2px 0;color:#79869a;font-size:12px;line-height:1.5}
.room-choicebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:4px 0 0}
.room-room-btn{border-color:#d4e0ed;background:#f5f8fc;color:#274563}
.room-room-btn.is-selected,.room-room-btn[aria-pressed="true"]{border-color:#173f73;background:#173f73;color:#fff}
.room-form{display:grid;gap:17px;margin-top:17px}
.room-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.room-field{display:grid;min-width:0;gap:7px;color:#263c58;font-size:14px;font-weight:750}
.room-field select,.room-field input,.room-field textarea{display:block;width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #d0dce9;border-radius:10px;background:#fff;color:#1c3048;font:inherit;font-size:15px;line-height:1.5}
.room-field textarea{min-height:88px;resize:vertical}
.room-field :is(input,select,textarea):focus{border-color:#477db7;outline:0;box-shadow:0 0 0 3px rgba(48,106,167,.13)}
#room-full-day[hidden]{display:none!important}
.room-full-day{width:100%;min-height:44px;margin:-4px 0 0;border-color:#a9bed8;background:#edf4fc;color:#173f73}
.room-full-day:hover{background:#e0edfc}
.room-duration-hint{margin:-7px 0 0;color:#49647f;font-size:13px;font-weight:650;line-height:1.6;word-break:keep-all}
.room-duration-hint.is-invalid{color:#a13243}
.room-booking-feedback{margin:0;padding:12px 14px;border:1px solid #eabfc7;border-radius:11px;background:#fff4f5;color:#9b263a;font-size:14px;font-weight:750;line-height:1.6;word-break:keep-all}
.room-booking-feedback[data-kind="info"]{border-color:#c7d9ee;background:#edf5ff;color:#244f81}
.room-booking-feedback[hidden]{display:none!important}
.room-form>.room-primary{width:100%;margin-top:1px}
.room-notice{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 14px;border-radius:12px;background:#f0f5fb;color:#536d89;font-size:12px;line-height:1.6;word-break:keep-all}
.room-notice strong{flex:none;color:#264b75;font-weight:800}
.room-list{display:grid;gap:10px;padding:12px 0}
.room-my-card{min-width:0;overflow-wrap:anywhere;padding:15px 16px;border:1px solid #e1e8f1;border-radius:13px;background:#fbfcff}
.room-my-card p{margin:9px 0}
.room-my-card strong{line-height:1.5}
.room-my-card .room-secondary{margin-top:4px}
.room-error{color:#ac3146;font-weight:700}
.room-empty-link{display:block;margin-top:12px}
.room-panel :is(button,a,input,select,textarea):focus-visible,.room-tabs button:focus-visible{outline:3px solid #69a4dc;outline-offset:3px}
@media(max-width:700px){
 .room-main{padding-bottom:40px}
 .room-hero{padding:20px 0 11px}
 .room-hero h1{font-size:25px}
 .room-hero p:not(.room-eyebrow){font-size:13px}
 .room-tabs{gap:4px;margin:8px 0 12px;padding:4px;border-radius:12px}
 .room-tabs button{min-width:0;min-height:42px;padding:8px 4px;font-size:12px;white-space:normal;word-break:keep-all}
 .room-tabs:has(#room-admin-tab:not([hidden])){display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .room-tabs #room-admin-tab:not([hidden]){grid-column:1/-1}
 .room-panel{padding:16px 14px;border-radius:17px}
 .room-panel h2{font-size:19px}
 .room-refresh-btn{padding:7px 9px!important}
 .room-refresh-btn span{display:none}
 .room-datebar{gap:6px;margin:14px 0 14px}
 .room-date{min-height:61px;padding:8px 2px;border-radius:10px}
 .room-date-weekday{font-size:11px}
 .room-date-number{font-size:13px}
 .room-rooms,.room-form-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .room-tile{gap:8px;padding:14px 15px;border-radius:13px}
 .room-tile h3{font-size:19px}
 .room-tile .room-primary{min-height:43px}
 .room-booked{padding:8px 0}
 .room-notice{display:grid;gap:4px;margin-top:12px}
 .room-list{padding-top:10px}
}
@media(max-width:350px){
 .room-panel{padding:13px 10px}
 .room-datebar{gap:4px}
 .room-date-number{font-size:12px}
 .room-tile{padding:12px}
}
@media(prefers-reduced-motion:reduce){.room-date,.room-tabs button,.room-primary,.room-secondary{transition:none}}
