.r376-calendar{padding:20px;border:1px solid var(--ui-border,#dce3ed);border-radius:16px;background:var(--ui-surface,#fff);margin-bottom:20px;min-width:0}.r376-toolbar{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.r376-grid,.r376-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.r376-week{text-align:center;margin:14px 0 6px}.r376-day{border:1px solid var(--ui-border,#dce3ed);border-radius:8px;min-height:96px;min-width:0;padding:4px}.r376-day>button{min-height:36px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.r376-day.is-today{outline:2px solid var(--ui-brand,#0670d9);outline-offset:-2px}.r376-day.is-selected{background:var(--ui-selected,#e5f0ff)}.r376-day.is-adjacent{opacity:.65}.r376-day small{display:block;font-size:12px}.r376-mark{display:block;width:100%;text-align:left;border:0;border-radius:4px;background:var(--ui-display-bg,#eaf3ff);font-size:12px;margin-top:3px}.r376-day-list{display:grid;gap:8px}.r376-dialog{box-sizing:border-box;width:1260px;max-width:96vw;max-height:calc(100dvh - 120px);padding:0;border:1px solid var(--ui-border,#dce3ed);border-radius:18px;background:var(--ui-surface,#fff);color:var(--ui-text,#172b45);overflow:hidden}.r376-dialog[open]{display:flex;flex-direction:column}.r376-dialog::backdrop{background:#07192d99}.r376-top,.r376-bottom{padding:16px 20px;flex:none;background:var(--ui-surface,#fff)}.r376-top{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--ui-border,#dce3ed)}.r376-top h2{margin:0;font-size:22px}.r376-bottom{border-top:1px solid var(--ui-border,#dce3ed)}.r376-bottom>div{display:flex;gap:8px;flex-wrap:wrap}.r376-body{display:grid;grid-template-columns:180px minmax(0,1fr) 265px;gap:16px;overflow:auto;min-height:0;padding:16px}.r376-body>*{min-width:0}.r376-body aside{background:var(--ui-display-bg,#eaf3ff);border-radius:12px;padding:14px}.r376-steps{list-style:none;padding:0;margin:0}.r376-steps li{position:relative;padding:0 0 20px}.r376-steps li:not(:last-child):before{content:"";position:absolute;left:16px;top:32px;bottom:0;width:2px;background:var(--ui-border,#c8d6e6)}.r376-steps button{display:flex;gap:10px;align-items:start;text-align:left;border:0;background:none;color:inherit;width:100%;padding:0;min-height:44px}.r376-steps b{display:grid;place-items:center;background:var(--ui-selected,#e5f0ff);color:var(--ui-brand,#0670d9);border-radius:50%;width:34px;height:34px;flex:none}.r376-steps [aria-current=step]{font-weight:700}.r376-dialog label,.r376-dialog form{display:grid;gap:8px}.r376-dialog form{gap:14px}.r376-dialog input,.r376-dialog select,.r376-dialog textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;color:var(--ui-text,#172b45);background:var(--ui-input-bg,var(--ui-surface,#fff));border:1px solid var(--ui-border,#c8d6e6);border-radius:8px;padding:8px}.r376-dialog textarea{min-height:76px}.r376-dialog button{min-height:44px;white-space:normal}.r376-dialog button:focus-visible,.r376-calendar button:focus-visible{outline:3px solid var(--ui-brand,#0670d9);outline-offset:2px}.r376-dialog p,.r376-dialog dd,.r376-dialog pre{overflow-wrap:anywhere}.r376-dialog pre{white-space:pre-wrap;font-size:13px}.r376-dialog small,.r376-en{display:block;font-size:12px}.r376-facts{display:grid;gap:10px}.r376-facts dd{margin:4px 0;font-weight:600}.r376-facts dt{color:var(--ui-muted,#53657d);font-size:13px}.r376-proposal,.r376-warning{padding:14px;border:1px solid #ad790c;border-radius:10px;background:var(--ui-display-bg,#fff3d6)}.r376-preserve{white-space:pre-wrap}.r376-required,.r376-dialog .form-error{color:var(--ui-danger,#c62828)}[data-r376-merchant]>button{margin:5px}[data-r376-received] article{border-top:1px solid var(--ui-border,#c8d6e6);padding:12px 0}@media(max-width:1000px){.r376-dialog{max-height:calc(100dvh - 32px)}.r376-body{grid-template-columns:150px minmax(0,1fr)}.r376-body aside{grid-column:1/-1}}@media(max-width:650px){.r376-dialog{max-width:100vw;width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.r376-body{grid-template-columns:minmax(0,1fr)}.r376-steps{display:flex;gap:8px;flex-wrap:wrap}.r376-steps li{flex:1;padding-bottom:8px}.r376-steps button{flex-direction:column;font-size:13px}.r376-steps li:before{display:none}.r376-top,.r376-bottom{padding:12px}.r376-day{min-height:58px;padding:2px}.r376-mark{font-size:11px}.r376-mark small{display:none}.r376-calendar{padding:10px}.r376-day>button{min-height:32px}.r376-top h2{font-size:18px}}
.r376-dialog input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px}.r376-dialog .r376-replace-consent,.r376-dialog .r376-allergy-consent{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--ui-border,#c8d6e6);border-radius:10px;background:var(--ui-display-bg,#eaf3ff);line-height:1.5}.r376-dialog .r376-allergy-consent{flex-wrap:wrap;margin-bottom:12px}.r376-dialog .r376-allergy-consent small{flex-basis:100%}.r376-dialog :is(input,textarea)[readonly]{background:var(--ui-display-bg,#eaf3ff);border-style:dashed;color:var(--ui-muted,#53657d)}

.r376-top>button{flex:0 0 44px;width:44px;min-width:44px;align-self:flex-start;font-size:22px;padding:5px}.r376-status{padding:6px 9px;border-radius:8px;background:var(--ui-display-bg,#eaf3ff)}.r376-status[data-r376-state=confirmed]{border-left:3px solid var(--ui-brand,#0670d9)}.r376-status[data-r376-state=pending],.r376-status[data-r376-state=proposal]{border-left:3px solid #ad790c}.r376-status[data-r376-state=exception],.r376-status[data-r376-state=rejected],.r376-status[data-r376-state=cancelled]{border-left:3px solid var(--ui-danger,#c62828)}
@media(max-width:650px){.r376-steps{display:block}.r376-steps li{padding:0 0 14px}.r376-steps li:last-child{padding-bottom:0}.r376-steps button{flex-direction:row;font-size:14px;align-items:flex-start}.r376-steps li:not(:last-child):before{display:block;top:32px;bottom:0;left:16px}.r376-steps button>b{position:relative;z-index:1}.r376-top h2{font-size:18px;line-height:1.4}.r376-top>div{min-width:0}}

.r376-fulfillment{padding:12px;border:2px solid var(--ui-danger,#bc293b);border-radius:10px;background:var(--ui-display-bg,#fff2f3);margin:12px 0;line-height:1.55}.r376-fulfillment>strong{color:var(--ui-danger,#bc293b)}.r376-fulfillment.is-compact{padding:9px;margin:8px 0}.r376-fulfillment.is-compact p{font-size:.86em;margin:5px 0}.r376-fulfillment.is-compact .r376-preserve{max-height:5em;overflow:auto}.r376-top>div:has(.r376-fulfillment){max-height:38dvh;overflow:auto}body[data-theme=dark] .r376-fulfillment>strong{color:#ffb4b4}

[data-r376-merchant-reply]{display:grid;gap:8px;margin:12px 0;max-width:680px}[data-r376-merchant-reply] label{display:grid;gap:7px}[data-r376-merchant-reply] textarea{box-sizing:border-box;width:100%;min-height:70px;padding:10px;border:1px solid var(--ui-border,#cbd2dd);border-radius:9px;color:var(--ui-text,#172b45);background:var(--ui-input-bg,var(--ui-surface,#fff));font:inherit}[data-r376-merchant-reply] button{min-height:44px;justify-self:start}[data-r376-merchant-reply] .form-error{color:var(--ui-danger,#bc293b)}[data-r376-received-status]{font-size:.88em;line-height:1.5}[data-r376-received-status][role=alert]{color:var(--ui-danger,#bc293b)}

/* A compact day grid keeps long reservation names in the selected day's list. */
.r376-calendar-hint{font-size:.8em;line-height:1.4;color:var(--ui-muted,#53657d);margin:8px 0}
.r376-week>span{min-width:0;white-space:nowrap;line-height:1.25}.r376-week .r376-en{font-size:.75em}
.r376-day{box-sizing:border-box}.r376-day .r376-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;min-height:44px;min-width:0;max-width:100%;padding:3px 2px;white-space:nowrap;overflow-wrap:normal;line-height:1.15}
.r376-date-number{white-space:nowrap;font-variant-numeric:tabular-nums}.r376-today-label{font-size:.65em;white-space:nowrap;line-height:1.1}.r376-today-label .r376-en{font-size:inherit;white-space:nowrap;line-height:1.1}
.r376-dots{display:flex;justify-content:center;align-items:center;gap:3px;flex-wrap:wrap;max-width:100%;min-height:7px}.r376-dot{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--ui-brand,#0670d9)}
.r376-dot.is-pending,.r376-dot.is-proposal{background:#976300}.r376-dot.is-cancelled,.r376-dot.is-rejected,.r376-dot.is-other{background:#64748b}.r376-dot.is-exception{background:#c62828}.r376-dot-more{font-size:10px;line-height:1;white-space:nowrap}
.r376-day.is-today{background:#dcecff;outline:2px solid var(--ui-brand,#0670d9);outline-offset:-2px}.r376-day.is-today>.r376-date{background:#c5dfff;color:#104b89;border-color:#8bbcf0;font-weight:750}.r376-day.is-selected{box-shadow:inset 0 0 0 2px var(--ui-brand,#0670d9)}.r376-day.is-selected>.r376-date{box-shadow:inset 0 0 0 2px var(--ui-brand,#0670d9)}.r376-day.is-selected:not(.is-today){background:var(--ui-selected,#e5f0ff)}
body[data-theme=dark] .r376-day.is-today{background:#183c64}body[data-theme=dark] .r376-day.is-today>.r376-date{background:#234f7c;color:#eaf3ff;border-color:#70b5ff}body[data-theme=dark] .r376-dot.is-confirmed{background:#72b8ff}body[data-theme=dark] .r376-dot.is-pending,body[data-theme=dark] .r376-dot.is-proposal{background:#f4bf57}body[data-theme=dark] .r376-dot.is-cancelled,body[data-theme=dark] .r376-dot.is-rejected,body[data-theme=dark] .r376-dot.is-other{background:#a3b1c4}body[data-theme=dark] .r376-dot.is-exception{background:#ff9b9b}
.r376-day-list{margin-top:12px}.r376-day-list>button{min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere}
@media(max-width:650px){.r376-grid,.r376-week{gap:3px}.r376-grid .r376-day{min-height:64px;padding:1px;display:flex;flex-direction:column}.r376-grid .r376-day>.r376-date{width:100%;flex:1;min-height:60px;font-size:.92em;white-space:nowrap;overflow-wrap:normal}.r376-grid .r376-mark,.r376-grid .r376-more{display:none}.r376-week{font-size:.75em;margin-top:10px}.r376-grid .r376-date-number{line-height:1.1}.r376-calendar{padding:8px}.r376-toolbar{gap:6px}.r376-toolbar h2{margin-top:0;margin-bottom:6px}}
