:root{font:16px/1.45 system-ui,sans-serif;color:#351e30;--accent:#f06848;--ink:#23131d}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;padding:clamp(12px,5vw,54px);min-height:100dvh;background:#f7f3f0}
main{max-width:480px;margin:0 auto;background:white;border:1px solid #e4dada;border-radius:20px;box-shadow:0 12px 44px #36192e12;overflow:hidden}
header{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eee6e7;padding:18px 22px}
header img{height:38px;width:38px;object-fit:contain;border-radius:8px}header small{display:block;color:#695865}
section{padding:20px 22px 24px}h1{font-size:clamp(1.45rem,5vw,1.8rem);line-height:1.15;letter-spacing:-.035em;margin:0 0 18px}
p{margin:10px 0;color:#695865}label{display:grid;gap:5px;font-weight:600;font-size:14px;margin:10px 0}input,select,button{font:inherit}
input,select{width:100%;min-width:0;background:white;color:#351e30;border:1px solid #cbbec7;border-radius:8px;padding:10px;font-size:16px;min-height:44px}
button,a.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer;border-radius:9px;padding:9px 14px;background:#f2eef0;color:#392435;border:0;font-weight:650;text-decoration:none}
button.primary,a.button{background:var(--accent);color:var(--ink)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #306598;outline-offset:2px}
#actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}#close{margin-left:auto;font-size:22px;padding:2px 12px;background:white}
#status:empty,#actions:empty{display:none}dl{margin:8px 0}dl div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eee6e7;padding:8px 0}dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}
#slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:6px;max-height:170px;overflow:auto;padding:4px}
#slots button{min-height:42px}#slots [aria-pressed=true]{background:#382033;color:white}
#launch{display:none}.embedded{background:transparent;padding:0}.embedded #launch{display:grid;place-items:center;position:fixed;right:5px;bottom:6px;width:61px;height:61px;border-radius:50%;background:var(--accent);box-shadow:0 2px 9px #23162035}.embedded #launch img{width:39px;height:39px;object-fit:contain;padding:7px;border-radius:50%;background:white}
.embedded main{margin:4px;max-height:calc(100dvh - 8px);overflow:auto}.embedded:has(main:not([hidden])) #launch{display:none}

a.button.secondary{background:#f2eef0;color:#392435}
/* Shared booking flow for the hosted page and the installed widget. */
:root{font-family:Inter,"Segoe UI",system-ui,sans-serif}
main{max-width:520px}
header{background:#fdfafb}
#progress{display:flex;align-items:center;gap:12px;margin:0 0 12px;color:#695865;font-size:.78rem;font-weight:650}
#progress span{flex:none}
#progress progress{width:80px;height:5px;border:0;border-radius:5px;background:#ede7eb;accent-color:var(--accent);overflow:hidden;appearance:none}
#progress progress::-webkit-progress-bar{background:#ede7eb}
#progress progress::-webkit-progress-value{background:var(--accent)}
#progress progress::-moz-progress-bar{background:var(--accent)}
#content h2{font-size:1.04rem;margin:21px 0 10px}
#content .context{margin:-7px 0 15px;color:#665361;font-size:.86rem;overflow-wrap:anywhere}
.option-list{display:grid;gap:7px}
.option-card{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:start;background:white;border:1px solid #ddd4da;padding:12px;border-radius:10px;line-height:1.3}
.option-card:hover,.date-list button:hover,#slots button:hover{border-color:#856879;background:#fbf7f9}
.option-card[aria-pressed=true]{border-color:#69485f;box-shadow:inset 0 0 0 1px #69485f;background:#faf5f8}
.option-card>span{min-width:0;overflow-wrap:anywhere}.option-card strong,.option-card small{display:block}
.option-card strong,.option-card>b{font-size:.95rem}.option-card>b{flex-shrink:0;max-width:42%;overflow-wrap:anywhere}
.option-card small,#slots small{color:#63535f;font-size:.78rem;font-weight:450;margin-top:4px}
.date-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,102px),1fr))}
.date-list button,#slots button{background:white;border:1px solid #ddd4da;color:#392435;min-height:44px}
.date-list button{font-size:.88rem}.paging{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.paging:empty{display:none}
#slots{grid-template-columns:repeat(auto-fit,minmax(min(100%,80px),1fr));max-height:270px;gap:7px;padding:3px}
#slots button{display:flex;flex-direction:column;min-width:0;line-height:1.22}
#slots small{display:block;max-width:100%;overflow-wrap:anywhere}
#slots [aria-pressed=true]{background:#392435;color:white;border-color:#392435}#slots [aria-pressed=true] small{color:#eee8eb}
.login-box{background:#f8f4f6;border:1px solid #e3d8df;border-radius:10px;padding:10px 13px;margin:12px 0}
.login-box summary{min-height:30px;align-content:center;cursor:pointer;font-weight:650}
.login-box strong{display:block;overflow-wrap:anywhere}
.login-box strong+button{margin-top:6px}
#actions .primary{margin-inline-start:auto}
@media(max-width:420px){body:not(.embedded){padding:10px}section{padding:16px}header{padding:13px 16px}.option-card{padding:11px}}

.widget-credit {
  border-top: 1px solid #e9e1e6;
  background: #faf8f9;
  padding: 3px 12px;
  text-align: center;
}
.widget-credit a {
  display: inline-block;
  padding: 5px 2px;
  color: #63535f;
  font-size: .75rem;
  line-height: 1.5;
  text-decoration: none;
}
.widget-credit strong { color: #422c3b; font-weight: 650; }
.widget-credit a:hover, .widget-credit a:focus-visible { text-decoration: underline; }
