
*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}body{font:14px Arial,sans-serif;color:#17323b;margin:0;background:#f3f8f7}header{background:#123f4b;color:#fff;padding:16px}h2{font-size:19px;margin:0 0 5px}header small{color:#d5efed}main{padding:12px;max-width:680px;margin:auto}select,input,button{font:inherit}select{width:100%;padding:11px;border:1px solid #9bbab6;border-radius:8px;margin:6px 0 12px;background:white}p.tip{line-height:1.45;color:#46616a;margin:3px 0 12px}.day{background:#fff;border:1px solid #d5e4e1;border-radius:11px;margin:10px 0;padding:11px;box-shadow:0 2px 8px #153e4310}.date{font-weight:700;color:#123f4b;margin-bottom:9px}.units{display:grid;grid-template-columns:1fr;gap:7px}.unit{display:block;min-width:0;border:2px solid #b7ddca;background:#e8f7ee;border-radius:8px;padding:9px;cursor:pointer;overflow-wrap:anywhere}.unit.booked{background:#ffe1db;border-color:#d14a37;color:#73261d}.unit label{display:flex;align-items:center;gap:7px;min-width:0;cursor:pointer;font-weight:700}.unit input{width:18px;height:18px;flex:none;accent-color:#bc412f;margin:0}.unit span{font-size:13px}.status{display:block;margin:5px 0 0 25px;font-size:10px!important;font-weight:800;letter-spacing:.05em;color:#14704a}.booked .status{color:#a23121}.by{font-size:12px;color:#7c2d23;margin:6px 0 0 25px;line-height:1.35;overflow-wrap:anywhere}.message{color:#8d1d1d;background:#fff0ed;padding:10px;border-radius:7px;margin:8px 0;display:none}.overlay{position:fixed;inset:0;background:#102c35c9;display:none;align-items:center;justify-content:center;padding:14px;z-index:5}.dialog{background:#fff;border-radius:12px;padding:18px;width:100%;max-width:440px;max-height:90vh;overflow:auto;box-shadow:0 15px 35px #122a3040}.dialog h3{margin:0 0 10px;font-size:18px}.dialog p{line-height:1.5}.dialog input{padding:11px;width:100%;border:1px solid #a6b9b4;border-radius:7px}.actions{display:flex;gap:8px;margin-top:18px}.actions button{flex:1;min-width:0;border:0;border-radius:7px;padding:11px 7px;cursor:pointer;font-weight:700}.secondary{background:#e5eded;color:#17323b}.primary{background:#b23d2c;color:white}@media(max-width:340px){.units{grid-template-columns:1fr}.actions{flex-direction:column}}

/* Mobile readability and booking status */
body{font-size:16px;line-height:1.45;color:#173042;background:#eef5f7}
header{background:#123d52;padding:18px 16px;border-bottom:4px solid #18a58b}
h2{font-size:23px;line-height:1.2;margin-bottom:6px}header small{font-size:14px;color:#e0f5f0}
main{padding:12px;max-width:680px}main>label{font-weight:700;font-size:16px}
select{font-size:17px;padding:13px 12px;min-height:50px;border:2px solid #589a9b;border-radius:10px}
p.tip{font-size:14px;line-height:1.45;color:#294b5a}
.day{padding:12px;border:2px solid #d0e1e6;border-radius:14px;margin:12px 0;box-shadow:0 3px 10px #143e5314}
.date{font-size:18px;color:#123d52;margin-bottom:10px}
.units{gap:8px}
.unit{padding:11px 9px;min-height:94px;border:2px solid #16836f;background:#e1f5ec;color:#154c3d;border-radius:11px;overflow-wrap:break-word}
.unit.booked{background:#ffc7b8;border-color:#b12d20;color:#672017}
.unit label{gap:8px;min-height:26px;line-height:1.25}
.unit input{width:23px;height:23px;accent-color:#a72c20}
.unit span{font-size:15px;font-weight:800}
.status{margin:7px 0 0 31px;font-size:12px!important;letter-spacing:.03em;color:#12674d}
.booked .status{color:#8c1f18}
.by{font-size:13px;color:#672017;margin:6px 0 0 31px;line-height:1.3}
.message{font-size:15px;border:2px solid #dc7c6e;padding:12px}
.dialog{padding:20px;border-radius:15px}
.dialog h3{font-size:21px;color:#123d52}.dialog p{font-size:16px;line-height:1.5}
.dialog input{font-size:18px;min-height:48px;border:2px solid #718f98}
.actions button{font-size:16px;min-height:50px;padding:12px 8px;border-radius:10px}
.secondary{background:#e1ecef;color:#173c4b}.primary{background:#a72c20;color:#fff}
@media(max-width:359px){.unit{padding:9px 7px}.unit span{font-size:14px}.status{font-size:11px!important}.by{font-size:12px}}
@media(max-width:320px){.units{grid-template-columns:1fr}.unit{min-height:76px}}

@media(max-width:600px){.units{grid-template-columns:1fr}.unit{min-height:76px;padding:12px 14px}.unit label{gap:12px}.unit span{font-size:16px}.status,.by{margin-left:35px}}

.unit.locked{cursor:default;background:#ffd6ca}.unit.locked label{cursor:default}.unit.locked input{opacity:.7;cursor:not-allowed}

/* Larger text for comfortable phone reading */
body{font-size:18px;line-height:1.5}
h2{font-size:26px}header small{font-size:17px}
main>label{font-size:18px}select{font-size:19px;min-height:54px}
p.tip{font-size:16px;line-height:1.5}
.date{font-size:21px;line-height:1.35}
.unit{min-height:102px;padding:14px 16px}
.unit label{gap:12px;min-height:30px}
.unit input{width:27px;height:27px}
.unit span{font-size:20px}
.status{font-size:15px!important;margin:8px 0 0 39px;letter-spacing:.02em}
.by{font-size:17px;margin:7px 0 0 39px;line-height:1.4}
.dialog h3{font-size:23px}.dialog p{font-size:18px}
.dialog input{font-size:20px}.actions button{font-size:18px;min-height:54px}
@media(max-width:600px){.unit{min-height:102px;padding:14px 16px}.unit span{font-size:20px}.status,.by{margin-left:39px}}

/* Double the previous readable text sizes */
body{font-size:36px}
h2{font-size:52px}header small{font-size:34px}
main>label{font-size:36px}select{font-size:38px;min-height:64px}
p.tip{font-size:32px}
.date{font-size:42px}
.unit{min-height:148px;padding:18px 20px}
.unit label{gap:15px;min-height:44px;align-items:flex-start}
.unit input{width:42px;height:42px}
.unit span{font-size:40px}
.status{font-size:30px!important;margin:12px 0 0 57px}
.by{font-size:34px;margin:10px 0 0 57px}
.message{font-size:30px}
.dialog h3{font-size:46px}.dialog p{font-size:36px}
.dialog input{font-size:40px;min-height:64px}
.actions button{font-size:36px;min-height:70px;padding:14px 10px}
@media(max-width:600px){.unit{min-height:148px;padding:18px 20px}.unit span{font-size:40px}.status,.by{margin-left:57px}.actions{flex-direction:column}}

.actions{flex-direction:column}.actions button{touch-action:manipulation;flex:none;width:100%;white-space:normal;overflow-wrap:anywhere}
.dialog{overflow-x:hidden}.notice{display:none;background:#d9f5e6;border:3px solid #16836f;color:#124935;border-radius:12px;padding:14px;margin:12px 0;font-size:28px;font-weight:700;line-height:1.35}

/* The booking form scrolls with the page, including when a phone keyboard closes. */
[hidden] { display: none !important; }
#bookingPage { width: 100%; max-width: 680px; padding: clamp(12px, 3vw, 24px); margin: 0 auto; }
.booking-sheet { background: white; border: 2px solid #8abca8; border-radius: 16px; padding: clamp(14px, 3vw, 28px); font-size: clamp(20px, 3.8vw, 36px); color: #17352e; }
.booking-sheet h2 { margin: 0 0 .65em; padding: .45em .55em; border-radius: 9px; background: #10694b; color: white; font-size: clamp(26px, 4.8vw, 44px); line-height: 1.18; }
#bookingRoomDate { font-weight: 700; line-height: 1.4; margin: 0 0 .75em; }
.booking-sheet label { display: block; margin-top: .6em; font-weight: 700; }
.booking-sheet input { display: block; width: 100%; min-width: 0; min-height: 52px; border: 2px solid #647e75; border-radius: 8px; padding: .35em .5em; font: inherit; }
.booking-sheet dl { margin: .6em 0; }
.booking-sheet dl div { display: flex; justify-content: space-between; gap: .75em; padding: .35em 0; border-bottom: 1px solid #cddfd6; }
.booking-sheet dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.booking-sheet button, .actions button { touch-action: manipulation; }
.booking-sheet button { display: block; width: 100%; min-height: 52px; margin-top: .55em; padding: .5em .45em; border: 0; border-radius: 9px; font: inherit; font-weight: 700; cursor: pointer; }
.booking-sheet button[type=submit], .booking-sheet #confirmBooking:enabled { background: #10694b; color: white; }
.booking-sheet button:disabled { cursor: default; background: #475f53; color: white; }
.booking-sheet .secondary:disabled { background: #e1ecef; color: #4b635d; }
.booking-sheet p { margin: .65em 0; }
#bookingStatus:empty { display: none; }
#bookingStatus, #cancelStatus { line-height: 1.4; }

#build{display:block;font-size:18px;line-height:1.3;color:#d5efed}
#returnToCalendar{display:block;width:100%;min-height:52px;border:0;border-radius:10px;background:#e1ecef;color:#173c4b;font:700 20px Arial,sans-serif;touch-action:manipulation}
#refreshBooking{display:block;width:100%;min-height:58px;padding:12px;margin:10px 0;border:0;border-radius:10px;background:#12694b;color:#fff;font:700 20px Arial,sans-serif;touch-action:manipulation}

.app-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.app-header h1{margin:0 0 4px;font-size:clamp(30px,8vw,52px);line-height:1.12}
#agent:empty{display:none}
#signOut{font-size:17px;border:1px solid #9bc3c4;background:transparent;color:white;padding:10px 14px;min-height:44px;border-radius:9px;cursor:pointer}
#signInPage{padding:clamp(18px,5vw,36px)}
.sign-in-panel{background:white;border:2px solid #bad6cd;border-radius:15px;padding:clamp(20px,5vw,38px);color:#183d36;font-size:clamp(18px,3vw,23px);line-height:1.5}
.sign-in-panel h2{margin:0;font-size:clamp(28px,6vw,40px)}
.sign-in-panel p{margin:12px 0 20px}
#signIn{font:inherit;font-weight:700;min-height:52px;width:100%;border:0;border-radius:10px;background:#10694b;color:white;cursor:pointer;padding:10px}
#signIn:disabled{background:#536c64}
#signInPage a{color:#105b59;font-size:16px}
#signInMessage:empty{display:none}
#signInPage a{display:inline-block;margin-top:16px}
#signInPage a.main-action{display:block;margin:0;padding:.65em .85em;min-height:52px;border-radius:10px;background:#10694b;color:white;font:inherit;font-weight:700;text-align:center;text-decoration:none}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #276fc0;outline-offset:3px}
.dialog h3{padding:0.4em 0.55em;background:#9b3028;color:white;border-radius:9px}
