.mpc-date,.mpc-room{--field:445px;--ink:#584531}
.mpc-en{--field:522px}
.mpc-date{container-type:inline-size}
.mpc-date .ui-datepicker-trigger,.mpc-date [hidden]{display:none!important}
.mpc-room select[name=rooms],.mpc-controls,.mpc-panel{width:min(100%,var(--field));box-sizing:border-box}
.mpc-room select[name=rooms]{height:39px;padding:5px 9px;border:1px solid #bfb7ab;border-radius:5px;background-color:white;font-size:15px;max-width:100%}
.mpc-controls{display:flex;align-items:center;gap:8px;font:15px/1.4 sans-serif}
.mpc-group{display:flex;align-items:center;flex:1;min-width:0;box-sizing:border-box;height:39px;padding:3px 2px;border:1px solid #bfb7ab;border-radius:5px;background:white}
.mpc-date .mpc-group select{box-sizing:border-box;min-width:0;width:100%;flex:1;margin:0;padding:1px 2px;border:0;border-radius:0;background-color:white;color:#443f39;height:29px;font:inherit;text-align:center!important;text-align-last:center!important}
.mpc-date .mpc-group select+select{border-left:1px solid #ddd7ce}
.mpc-ja .mpc-group #m{flex:0 0 4.5em}
.mpc-en .mpc-group{display:grid;grid-template-columns:minmax(0,1fr) 6.4em 5.2em}
.mpc-en .mpc-group select{text-align:left!important;text-align-last:left!important;padding-left:8px}
.mpc-en .mpc-group #d{font-variant-numeric:tabular-nums;font-kerning:none}
.mpc-date button{cursor:pointer;font:inherit}
.mpc-date .mpc-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;min-height:39px;padding:5px 11px;border:1px solid #cec1af;border-radius:5px;background:#f7f3ed;color:var(--ink);white-space:nowrap;font:400 13px/1.4 sans-serif}
.mpc-toggle svg{width:18px;height:18px;flex:none}
.mpc-toggle:hover,.mpc-toggle[aria-expanded=true]{background:#ede5d9}
.mpc-panel{margin-top:10px;background:white;border:1px solid #c5b59d;border-radius:6px;overflow:hidden;font:15px/1.5 sans-serif;color:#443f39}
.mpc-head,.mpc-nav{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 9px}
.mpc-head{background:#f5f0e8;font-size:14px}
.mpc-panel button{color:inherit}
.mpc-head button,.mpc-nav button{background:transparent;border:0;flex:none;padding:4px 8px}
.mpc-head button{text-decoration:underline}
.mpc-nav { display:grid; grid-template-columns:1fr auto 1fr; text-align:center }
.mpc-nav button { min-height:36px; min-width:48px; font-size:14px; border:1px solid #c7b9a6; border-radius:5px; background:#faf8f4; white-space:nowrap }
.mpc-nav button:first-child { justify-self:start }
.mpc-nav button:last-child { justify-self:end }
.mpc-panel button:disabled{color:#777;cursor:default}
.mpc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}
.mpc-grid>span{font-size:13px;background:#f8f5ef;padding:3px 0}
.mpc-grid>span:first-child{color:#923e37}.mpc-grid>span:nth-child(7){color:#325f7b}
.mpc-grid button{display:grid;justify-items:center;align-content:center;background:white;border:0;border-top:1px solid #e9e3d8;min-height:43px;line-height:1.18}
.mpc-grid button b{font-size:12px;color:#296346}
.mpc-grid button:disabled{background:#f5f3ef}.mpc-grid button:disabled b{color:#756f65}
.mpc-grid button:hover:enabled,.mpc-grid button[aria-pressed=true]{background:#e7f1e9;box-shadow:inset 0 0 0 2px #48735b}
.mpc-foot,.mpc-detail,.mpc-loading{padding:7px 12px}.mpc-foot{font-size:13px;border-top:1px solid #d9cdbd}.mpc-detail{white-space:pre-line}.mpc-detail button{display:block;margin-top:6px}
.mpc-message{color:#64452c;font:14px/1.5 sans-serif;margin-top:5px}.mpc-message:empty{display:none}

.mpc-en .mpc-toggle{font-size:12px;gap:5px;padding-inline:7px}
.mpc-en .mpc-group select{padding-left:4px;font-size:13px}
.mpc-room.mpc-en select[name=rooms]{font-size:13px}
@container(max-width:418px){.mpc-en .mpc-controls{flex-wrap:wrap;justify-content:flex-end}.mpc-en .mpc-group{min-width:min(100%,260px)}}
@container(max-width:350px){.mpc-ja .mpc-controls{flex-wrap:wrap;justify-content:flex-end}.mpc-ja .mpc-group{min-width:min(100%,215px)}}
