/* Stays. Airbnb coral, iPhone manners: Apple type sizes, 16pt gutters, 44pt tap targets, safe areas. */
:root {
  --bg: #ffffff; --soft-bg: #f5f5f7; --card: #ffffff; --line: #e6e6e8; --press: #f0f0f2;
  --text: #222222; --soft: #6a6a6a; --mute: #8e8e93; --faint: #c4c4c7;
  --coral: #ff385c; --coral-dark: #d90b3e; --coral-tint: #fff0f3;
  --green: #008a05; --green-tint: #e8f6e9; --amber: #a65700; --amber-tint: #fff5e6; --ios-green: #34c759;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 20px rgba(0, 0, 0, .07);
  --r: 16px; --gut: 16px; --tabh: 49px;
  --top: env(safe-area-inset-top, 0px); --bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
button { font: inherit; color: inherit; cursor: pointer; margin: 0; }
a { color: inherit; text-decoration: none; }
a, button, label, input[type="checkbox"] { touch-action: manipulation; }
a, button, .tabs { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
[hidden] { display: none !important; }
p { margin: 0 0 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.boot { display: grid; place-items: center; min-height: 100dvh; font-weight: 700; font-size: 28px; color: var(--coral); letter-spacing: -.02em; }
.wrap { max-width: 640px; margin: 0 auto;
  padding: calc(var(--top) + 8px) max(var(--gut), env(safe-area-inset-right)) calc(var(--tabh) + var(--bottom) + 28px) max(var(--gut), env(safe-area-inset-left)); }
.notabs .wrap { padding-bottom: calc(var(--bottom) + 28px); }
.wrap:has(.composer) { padding-bottom: 0; min-height: 100dvh; display: flex; flex-direction: column; }

/* Titles */
.top { display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; min-height: 48px; }
.top .grow { flex: 1; min-width: 0; }
.top h1 { font-size: 34px; line-height: 41px; margin: 0; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.top .sub { color: var(--soft); font-size: 15px; line-height: 20px; margin-top: 2px; }
.bar + .top { margin-top: 0; }
.bar + .top h1 { font-size: 28px; line-height: 34px; }
h2 { font-size: 22px; line-height: 28px; font-weight: 700; margin: 28px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--soft); margin: 16px 0 8px; }
.top + h2 { margin-top: 8px; }
.foot { font-size: 13px; line-height: 18px; color: var(--soft); margin: -4px var(--gut) 16px; }
.foot b { color: var(--text); }

/* The bar on pushed screens */
.bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; height: calc(44px + var(--top)); padding: var(--top) 8px 0;
  margin: calc(-8px - var(--top)) calc(-1 * var(--gut)) 4px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.bar .grow { flex: 1; }
.back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 0; color: var(--coral); font-size: 17px; }
.back svg { width: 24px; height: 24px; margin-left: -2px; }
.back:active, .baract:active, .link:active { opacity: .45; }
.baract { border: 0; background: none; color: var(--coral); font-size: 17px; font-weight: 600; min-height: 44px; min-width: 44px; padding: 0 8px; }
.baract[disabled] { opacity: .4; }
.iconbtn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--soft-bg); display: grid; place-items: center; flex: none; }
.iconbtn svg { width: 22px; height: 22px; }
.iconbtn:active { background: var(--line); }
.iconbtn.flat { background: none; color: var(--coral); }
.thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--soft-bg); flex: none; }

/* Cards and tiles */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-bottom: 16px; border: 0; width: 100%; text-align: left; display: block; }
button.card, a.card, a.hero { transition: transform .15s ease, opacity .15s ease; }
button.card:active, a.card:active, a.hero:active { transform: scale(.98); opacity: .85; }
.label { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--soft); margin: 0 0 4px; }
label.label { margin: 16px 0 6px; }
.big { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 28px; }
.t { font-weight: 600; }
.t.bold { font-weight: 800; }
.muted { color: var(--soft); }
.mute { color: var(--mute); }
.small { font-size: 15px; line-height: 20px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.tight { gap: 8px; }
.row .grow, .grow { flex: 1; min-width: 0; }
.row.cta { margin-top: 12px; color: var(--coral); font-size: 15px; font-weight: 600; }
.row.cta .chev { color: var(--coral); }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero { color: inherit; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; background: var(--soft-bg); width: 100%; border: 0; padding: 0; text-align: left; display: block; }
.hero img { width: 100%; height: 180px; object-fit: cover; display: block; }
.hero .over { padding: 14px 16px 16px; background: var(--card); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.grid2 .card { margin: 0; }

.needs { background: var(--coral); color: #fff; }
.needs .label, .needs .muted { color: rgba(255, 255, 255, .88); }
.needs .chev { color: rgba(255, 255, 255, .9); }
.calm { background: var(--green-tint); box-shadow: none; }
.calm .big { color: var(--green); font-size: 20px; line-height: 25px; }
.calm .chev { color: var(--green); opacity: .6; }

/* Filter chips: 36pt tall, with the tap area stretched to 44pt */
.chips { display: flex; gap: 8px; margin: -4px 0 16px; }
.chip { position: relative; border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 0 14px; height: 36px; white-space: nowrap; border-radius: 999px; font-weight: 500; font-size: 15px; }
.chip::after { content: ""; position: absolute; inset: -5px -2px; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; font-weight: 600; }
.chip:active { opacity: .6; }

/* Segmented control */
.seg { display: flex; gap: 2px; background: #ececee; border-radius: 10px; padding: 2px; margin: 6px 0 16px; }
.seg button { position: relative; flex: 1; height: 34px; border: 0; background: none; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; padding: 0 4px; }
.seg button::after { content: ""; position: absolute; inset: -6px 0; }
.seg button[aria-pressed="true"] { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 .5px rgba(0, 0, 0, .04); }

/* Busy strip */
.strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin-top: 14px; }
.strip .d { display: grid; gap: 3px; text-align: center; font-size: 11px; line-height: 13px; color: var(--mute); }
.strip .n { height: 30px; border-radius: 6px; background: var(--soft-bg); }
.strip .n.on { background: var(--coral); }
.strip .wk { font-weight: 600; color: var(--soft); }
.pct { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 48px; }

/* Badges and pills */
.badge, .pill { display: inline-block; font-size: 13px; line-height: 18px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; flex: none; }
.badge.you, .pill.soon { background: var(--coral-tint); color: var(--coral-dark); }
.badge.app, .pill.now { background: var(--green-tint); color: var(--green); }
.badge.warn { background: var(--amber-tint); color: var(--amber); }
.pill.later { background: var(--soft-bg); color: var(--soft); }
.top .sub:has(.pill) { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.dot { width: 10px; height: 10px; border-radius: 99px; background: var(--coral); flex: none; }
.dot.off { visibility: hidden; }

/* Lists */
.list { border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 16px; background: var(--card); }
.item { position: relative; display: flex; gap: 12px; align-items: center; padding: 11px var(--gut); border: 0; background: none; width: 100%; text-align: left; min-height: 48px; font-size: 17px; line-height: 22px; }
.item:not(:last-child)::after { content: ""; position: absolute; left: var(--gut); right: 0; bottom: 0; height: 1px; background: var(--line); transform: scaleY(.5); transform-origin: bottom; }
a.item:active, button.item:active { background: var(--press); }
.item.block { display: block; padding: 14px var(--gut); }
.item .meta { margin-top: 5px; }
.item.add, .item.plain { color: var(--coral); font-weight: 500; }
.item.add::before { content: "+"; font-size: 24px; line-height: 22px; font-weight: 400; width: 16px; text-align: center; margin-right: -2px; }
.item.plain.red { color: #d70015; }
.chev { color: var(--faint); flex: none; display: grid; place-items: center; margin-right: -4px; }
.chev svg { width: 16px; height: 16px; display: block; }
.chatrow { gap: 10px; padding-left: 10px; align-items: flex-start; }
.chatrow .dot { margin-top: 6px; }
.chatrow .chev { align-self: center; }
.chatrow:not(:last-child)::after { left: 30px; }

/* Stays: the dates lead */
.stayrow { padding-top: 12px; padding-bottom: 12px; }
.stayrow:not(:last-child)::after { left: 76px; }
.cal { width: 48px; height: 52px; border-radius: 12px; background: var(--soft-bg); display: grid; align-content: center; justify-items: center; flex: none; }
.cal span { font-size: 11px; line-height: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--coral); }
.cal b { font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -.02em; }
.dates { font-size: 15px; line-height: 20px; font-weight: 600; margin: 2px 0 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dates .arrow { color: var(--mute); font-weight: 400; }

/* Chat */
.thread { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 16px; flex: 1; }
.bub { max-width: 80%; padding: 8px 14px; border-radius: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 17px; line-height: 22px; -webkit-user-select: text; user-select: text; }
.bub.guest { background: #ececee; align-self: flex-start; border-bottom-left-radius: 6px; }
.bub.host { background: var(--text); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.bub .by { display: block; font-size: 12px; line-height: 16px; opacity: .7; margin-top: 2px; }
.when { text-align: center; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--mute); margin: 10px 0 4px; }
.why { background: var(--coral-tint); color: var(--coral-dark); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 20px; margin-bottom: 12px; }
.why b { display: block; font-size: 13px; line-height: 18px; }
.why .link { display: block; min-height: 44px; margin: 4px 0 -12px; padding: 0; font-size: 15px; font-weight: 600; color: var(--coral-dark); text-decoration: underline; text-underline-offset: 3px; }
.composer { position: sticky; bottom: 0; z-index: 3; margin: 0 calc(-1 * var(--gut)); padding: 8px var(--gut) calc(8px + var(--bottom));
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid var(--line); }
.composer textarea { min-height: 44px; max-height: 168px; border-radius: 22px; padding: 10px 16px; resize: none; display: block; line-height: 22px; }
.composer .btns { margin-top: 8px; }
.composer .btn { min-height: 44px; padding: 0 16px; border-radius: 22px; }
.composer .btn:last-child { flex: 1.6; }

/* Fields */
textarea, input[type="text"], input[type="password"], input[inputmode="numeric"] {
  width: 100%; font: inherit; font-size: 17px; border: 1px solid #c7c7cc; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--text); margin: 0; -webkit-appearance: none; appearance: none; }
textarea:focus, input:focus { border-color: var(--text); outline: 0; box-shadow: 0 0 0 1px var(--text); }
::placeholder { color: #b0b0b5; }
textarea { min-height: 132px; resize: vertical; display: block; }
textarea.tall { min-height: 260px; margin-bottom: 12px; }
.keyrow { margin-top: 12px; gap: 8px; }
.keyrow input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 14px; padding: 0 20px; min-height: 50px; font-weight: 600; font-size: 17px; background: var(--coral); color: #fff; white-space: nowrap; }
.btn:active { background: var(--coral-dark); }
.btn.full { width: 100%; display: flex; }
.btn.ghost { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.btn.quiet { background: #ececee; color: var(--text); }
.btn.ghost:active, .btn.quiet:active { background: var(--line); }
.btn.danger { background: none; color: #d70015; margin-top: 20px; }
.btn.danger:active { background: var(--press); }
.btn.small { min-height: 44px; padding: 0 16px; border-radius: 12px; flex: none; }
.btn[disabled] { opacity: .45; }
.btns { display: flex; gap: 8px; margin-top: 12px; }
.btns .btn { flex: 1; padding: 0 12px; }
.link { border: 0; background: none; color: var(--coral); font-size: 17px; min-height: 44px; padding: 0 8px; }
.link.center { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto; color: var(--soft); font-size: 13px; }
.link.center svg { width: 14px; height: 14px; }
.link.spin svg { animation: spin .9s linear infinite; }
.link[disabled] { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Switches (iOS size) */
.switch { cursor: pointer; padding-top: 12px; padding-bottom: 12px; }
.toggle { -webkit-appearance: none; appearance: none; width: 51px; height: 31px; border-radius: 99px; background: #e9e9eb; position: relative; flex: none; transition: background .2s; cursor: pointer; margin: 0; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 99px; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .05); transition: transform .2s; }
.toggle:checked { background: var(--ios-green); }
.toggle:checked::after { transform: translateX(20px); }
.toggle[disabled] { opacity: .6; }

/* Bottom tabs */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: space-around; height: calc(var(--tabh) + var(--bottom));
  padding: 0 max(4px, env(safe-area-inset-right)) var(--bottom) max(4px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid rgba(0, 0, 0, .16); }
.tabs a { flex: 1; max-width: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--mute); font-size: 10px; line-height: 12px; font-weight: 500; height: var(--tabh); }
.tabs .ic { position: relative; display: block; width: 26px; height: 26px; }
.tabs a svg { width: 26px; height: 26px; display: block; }
.tabs a[aria-current="page"] { color: var(--coral); }
.tabs a:active { opacity: .6; }
.tabs .count { position: absolute; top: -4px; left: 15px; background: var(--coral); color: #fff; font-size: 11px; line-height: 18px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 99px; text-align: center; padding: 0 5px; box-shadow: 0 0 0 2px #fff; }

/* Sign in */
.signin { min-height: 100dvh; display: grid; align-content: center; gap: 16px; max-width: 380px; margin: 0 auto; padding: calc(var(--top) + 24px) 24px calc(var(--bottom) + 24px); text-align: center; }
.signin .logo { width: 84px; height: 84px; margin: 0 auto 4px; border-radius: 19px; }
.signin h1 { font-size: 34px; line-height: 41px; margin: 0; letter-spacing: -.02em; }
.signin p { margin: 0 0 8px; }
.signin #codeBox { display: grid; gap: 12px; }
.code { font-size: 28px !important; letter-spacing: .35em; text-align: center; font-weight: 600; padding: 12px 0 12px .35em !important; height: 60px; }
.err { color: var(--coral-dark); font-weight: 600; font-size: 15px; min-height: 22px; }

/* Odds and ends */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabh) + var(--bottom) + 16px); transform: translateX(-50%); background: rgba(34, 34, 34, .96); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; line-height: 20px; z-index: 9; box-shadow: var(--shadow); max-width: calc(100vw - 32px); width: max-content; text-align: center; animation: pop .18s ease-out; }
.notabs .toast { bottom: auto; top: calc(var(--top) + 52px); }
@keyframes pop { from { opacity: 0; transform: translateX(-50%) translateY(6px); } }
.mask { filter: blur(5px); }
.empty { text-align: center; color: var(--soft); padding: 48px 24px; font-size: 15px; line-height: 20px; }
.empty b { display: block; font-size: 20px; line-height: 25px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.empty .btn { margin-top: 20px; }
.step { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; }
.step .num { width: 24px; height: 24px; border-radius: 99px; border: 2px solid var(--faint); color: #fff; display: grid; place-items: center; flex: none; margin-top: -1px; }
.step .num svg { width: 14px; height: 14px; }
.step.done .num { background: var(--green); border-color: var(--green); }
.step.done div { color: var(--soft); }

/* Placeholder rows, only ever seen the very first time a screen opens */
.sk { box-shadow: none; background: none; }
.sk .item { padding-left: 0; padding-right: 0; min-height: 64px; }
.skb { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #f0f0f2 25%, #e6e6e9 37%, #f0f0f2 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; margin: 8px 0; }
.skb.w40 { width: 40%; } .skb.w70 { width: 70%; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .skb, .link.spin svg, .toast { animation: none; } button.card, a.card, a.hero, .toggle, .toggle::after { transition: none; } }

/* Messages filters: top right, beside the title */
.top:has(.top-chips) { flex-wrap: wrap; row-gap: 4px; }
.top .top-chips { order: -1; flex: 1 0 100%; justify-content: flex-end; margin: 0; gap: 6px; }
.top .top-chips .chip { padding: 0 11px; height: 34px; font-size: 14px; }

/* Sign in: who's signing in */
.who { display: grid; gap: 10px; }

/* Checkout time picker */
.select { font: inherit; font-size: 17px; font-weight: 600; color: var(--coral); background: transparent; border: 0; padding: 8px 4px; min-height: 44px; text-align: right; -webkit-appearance: none; appearance: none; }

/* The cleaner's screen */
.clean-hero { padding: 20px; }
.clean-day { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.clean-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.clean-big { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

/* Dad's screen: big, clear, calm */
body.family .wrap { font-size: 19px; }
.fstatus { padding: 22px; }
.fstatus.busy { background: var(--coral-tint); }
.fstatus.free { background: var(--green-tint); }
.flabel { font-size: 15px; font-weight: 700; color: var(--soft); text-transform: none; margin-bottom: 4px; }
.fhuge { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 8px; }
.fbig { font-size: 21px; font-weight: 700; line-height: 1.3; }
.fwhen { display: inline-block; background: var(--text); color: #fff; font-weight: 700; font-size: 15px; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.frow { padding: 18px 20px; }
.flegend { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; font-size: 16px; }
.fkey { width: 18px; height: 18px; border-radius: 5px; background: var(--coral); display: inline-block; }
.fcal { padding: 16px; }
.fmonth { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.fweek, .fgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
.fweek div { font-size: 14px; font-weight: 700; color: var(--soft); padding-bottom: 4px; }
.fd { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 17px; font-weight: 600; background: var(--soft-bg); }
.fd.blank { background: none; }
.fd.on { background: var(--coral); color: #fff; font-weight: 800; }
.fd.past { opacity: .35; }
.fd.today { outline: 3px solid var(--text); outline-offset: -3px; }
.fguide { background: #f0f6ff; }
.fguide ol { margin: 10px 0; padding-left: 24px; display: grid; gap: 10px; font-size: 18px; }
.fguide svg { vertical-align: -4px; color: #0a84ff; }

/* Guest-ready check */
.gr-why { margin-top: -4px; }
.gr-progress { display: grid; gap: 6px; margin: 0 0 12px; }
.gr-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.gr-bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; transition: width .3s; }
.gr-item .row { gap: 12px; }
.gr-dot { width: 26px; height: 26px; border-radius: 99px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: #fff; }
.gr-item.ok .gr-dot { background: var(--green); border-color: var(--green); }
.gr-cam { gap: 6px; flex: none; min-height: 44px; padding: 0 14px; }
.gr-cam.busy { opacity: .6; pointer-events: none; }
.gr-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0 38px; }
.gr-thumb { padding: 0; border: 0; background: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; display: block; }
.gr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#gr-finish { margin-top: 4px; }
.gr-done .gr-tick { width: 36px; height: 36px; border-radius: 99px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
input[type="date"] { width: 100%; font: inherit; font-size: 16px; border: 1px solid #b0b0b0; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--text); margin-top: 4px; min-height: 48px; }

/* Stays calendar, like Airbnb's: bordered day tiles, dark booking bars with the guest's initial */
.mcal h2 { margin: 26px 0 8px; font-size: 26px; }
.wkhead { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 13px; font-weight: 500; color: var(--soft); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.wk { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); margin: 0 -2px; }
.dc { grid-row: 1; margin: 3px; border: 1.5px solid #e2e2e2; border-radius: 12px; display: flex; flex-direction: column; align-items: center; padding-top: 9px; font-size: 15px; font-weight: 600; background: #fff; }
.dc.blank { border: 0; background: none; }
.dc span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; }
.dc.past { color: #b0b0b0; background: #fafafa; border-color: #efefef; }
.dc.today span { border: 2px solid var(--coral); color: var(--text); }
.cbar { grid-row: 1; align-self: end; height: 40px; background: #222; color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 4px; overflow: hidden; white-space: nowrap; min-width: 0; position: relative; z-index: 1; }
.cbar .nm { overflow: hidden; text-overflow: ellipsis; }
.cbar.in { border-top-left-radius: 99px; border-bottom-left-radius: 99px; }
.cbar.out { border-top-right-radius: 99px; border-bottom-right-radius: 99px; }
.cbar:not(.in) { padding-left: 10px; }
.cbar .av { width: 32px; height: 32px; border-radius: 99px; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; border: 2px solid #fff; }
.cbar.now .av { background: #fff; color: var(--coral); }
img.av { object-fit: cover; background: #444; }
.cbar:active { opacity: .8; }

/* Dad: read only. Anything that sends, changes or sets things up is hidden. */
.readonly .composer, .readonly #suggest, .readonly #dismiss, .readonly a[href="#/settings"], .readonly #learn,
.readonly .item.add, .readonly #refresh, .readonly #leave-at { display: none !important; }
.readonly a[href^="#/book/line"] { pointer-events: none; }
.readonly a[href^="#/book/line"] .chev { display: none; }
.readonly .top h1::after { content: "View only"; display: inline-block; vertical-align: middle; margin-left: 10px; background: var(--soft-bg); color: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: 0; padding: 4px 10px; border-radius: 99px; }

.dc .tags { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.tag { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 1px 6px; border-radius: 6px; line-height: 1.4; }
.tag.out { background: #d93025; color: #fff; }
.tag.in { background: var(--green); color: #fff; }
.dc.leaving { border-color: #d93025; border-width: 2px; }
