/* Guestroom configuration calculator: four inputs on the left, live editable list on the right. */
body.hc-page{--hc-bg:#faf8f4;--hc-ink:#2b2924;--hc-muted:#68645b;--hc-line:#e3ddd1;--hc-soft:#f1ebe0;--hc-accent:#8e6f3e;--hc-olive:#2f3a33;--hc-error:#9b4936;--site-h1:clamp(28px,2.6vw,36px);--site-h2:20px;--site-h3:16px;margin:0;background:var(--hc-bg);color:var(--hc-ink);-webkit-font-smoothing:antialiased}
.hc-page *{box-sizing:border-box}
:where(.hc-page main) :where(h1,h2,h3,p,ul,ol,fieldset,legend){margin:0}
.hc-page [hidden]{display:none!important}
.hc-page main a{color:inherit}
.hc-skip{position:fixed;z-index:300;top:-100px;left:20px;background:var(--hc-bg);padding:12px 18px}
.hc-skip:focus{top:12px}
.hc-page :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--hc-accent);outline-offset:3px}
.hc-shell{width:min(1240px,calc(100% - 112px));margin-inline:auto}

.hc-hero{background:var(--hc-soft);border-bottom:1px solid var(--hc-line);padding-block:30px 32px}
.hc-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;color:var(--hc-muted);margin-bottom:14px}
.hc-breadcrumb a{text-decoration:none;border-bottom:1px solid transparent}
.hc-breadcrumb a:hover{border-color:var(--hc-ink)}
.hc-breadcrumb [aria-current]{color:var(--hc-ink)}
html body .hc-lead{margin-top:10px;color:var(--hc-muted);font-size:15px!important}
.hc-noscript{grid-column:1 / -1;padding:16px;background:#fff;border:1px solid var(--hc-line)}

.hc-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:32px;align-items:start;padding-block:28px 24px}

/* Left: the four inputs. */
.hc-panel{position:sticky;top:90px;display:grid;gap:18px;padding:22px;background:#fff;border:1px solid var(--hc-line)}
.hc-block{border:0;padding:0;min-width:0}
.hc-block legend{padding:0;margin-bottom:8px;color:var(--hc-muted)}
.hc-seg{display:grid;grid-template-columns:1fr 1fr;border:1px solid #cfc7b8}
.hc-seg-3{grid-template-columns:repeat(3,1fr)}
.hc-seg label{position:relative;cursor:pointer}
.hc-seg label + label{border-left:1px solid #cfc7b8}
.hc-seg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.hc-seg span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px 8px;text-align:center}
.hc-seg input:checked + span{background:var(--hc-olive);color:#f3efe6}
.hc-seg input:focus-visible + span{outline:2px solid var(--hc-accent);outline-offset:-4px}
.hc-rooms{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hc-room{display:flex;flex-direction:column;gap:8px;color:var(--hc-muted)}
.hc-num{display:flex;align-items:center;border:1px solid #cfc7b8;background:#fff}
.hc-num:focus-within{border-color:var(--hc-accent)}
.hc-page .hc-num input{width:100%;min-width:0;min-height:52px;padding:8px 10px;border:0;background:transparent;color:var(--hc-ink);font:inherit;font-size:22px!important}
.hc-num em{font-style:normal;padding-right:12px;color:var(--hc-muted)}
.hc-page [aria-invalid="true"]{border-color:var(--hc-error)!important;background:#fbf3f1!important}

.hc-more{border-top:1px solid var(--hc-line);padding-top:14px}
.hc-more summary{display:flex;flex-direction:column;gap:4px;cursor:pointer;list-style:none}
.hc-more summary::-webkit-details-marker{display:none}
.hc-more summary span{color:var(--hc-accent)}
.hc-more summary span::after{content:' ＋'}
.hc-more[open] summary span::after{content:' －'}
.hc-more summary small{color:var(--hc-muted)}
.hc-more-body{display:grid;gap:12px;margin-top:14px}
.hc-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hc-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:var(--hc-muted)}
.hc-page .hc-field :is(input,select){width:100%;min-height:38px;padding:6px 8px;border:1px solid #cfc7b8;border-radius:0;background:#fff;color:var(--hc-ink);font:inherit}
.hc-reset{justify-self:start;padding:4px 0;background:none;border:0;border-bottom:1px solid var(--hc-line);color:var(--hc-muted);cursor:pointer;font:inherit}
.hc-status{color:var(--hc-muted)}
.hc-status:empty{display:none}
.hc-status.is-error{color:var(--hc-error)}
.hc-status.is-ok{color:#496754}

/* Right: the live list. */
.hc-result{min-width:0;background:#fff;border:1px solid var(--hc-line)}
.hc-result-head{padding:20px 24px 16px;border-bottom:1px solid var(--hc-line)}
.hc-result-head p{margin-top:4px;color:var(--hc-muted)}
.hc-group{border-bottom:1px solid var(--hc-line)}
.hc-group-head{display:flex;align-items:center;gap:10px;padding:14px 24px;background:var(--hc-bg);cursor:pointer}
.hc-group-head input{width:16px;height:16px;margin:0;accent-color:var(--hc-olive)}
.hc-group-head small{margin-left:auto;color:var(--hc-muted)}
.hc-group.is-off .hc-group-head{color:var(--hc-muted)}
.hc-lines{list-style:none;margin:0;padding:0 24px}
.hc-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid #efeae0}
.hc-line:first-child{border-top:0}
.hc-line-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.hc-line-info a{text-decoration:none}
.hc-line-info a:hover{text-decoration:underline}
.hc-line-info small{color:var(--hc-muted);overflow-wrap:anywhere}
.hc-line.is-zero .hc-line-info{opacity:.45}
.hc-line-qty{display:flex;align-items:center;gap:6px;flex:none;color:var(--hc-muted)}
.hc-page .hc-line-qty input{width:96px;min-height:38px;padding:6px 8px;border:1px solid #cfc7b8;border-radius:0;text-align:right;font:inherit;color:var(--hc-ink)}
.hc-line-qty span{min-width:1.5em}

.hc-bar{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:14px 24px;background:#fff;border-top:1px solid var(--hc-line);box-shadow:0 -6px 18px rgba(40,34,24,.06)}
.hc-bar-actions{display:flex;align-items:center;gap:16px;margin-left:auto}
.hc-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 24px;background:var(--hc-olive);color:#f3efe6;border:1px solid var(--hc-olive);cursor:pointer;font:inherit}
.hc-button:hover{background:#3e4c42}
.hc-button:disabled{opacity:.5;cursor:not-allowed}
.hc-text-button{padding:4px 0;background:none;border:0;border-bottom:1px solid var(--hc-line);color:var(--hc-muted);cursor:pointer;font:inherit}

.hc-rules{margin-block:12px 80px;border-top:1px solid var(--hc-line)}
.hc-rules summary{padding:16px 0;cursor:pointer;color:var(--hc-muted)}
.hc-rules ul{padding-left:1.2em;color:var(--hc-muted)}
.hc-rules li+li{margin-top:8px}
.hc-rules a{color:var(--hc-accent)}

@media(max-width:1100px){
.hc-shell{width:calc(100% - 64px)}
.hc-layout{grid-template-columns:300px minmax(0,1fr);gap:24px}
}
@media(max-width:820px){
.hc-shell{width:calc(100% - 32px)}
.hc-hero{padding-block:22px 24px}
.hc-layout{grid-template-columns:1fr;gap:16px;padding-top:16px}
.hc-panel{position:static;padding:18px 16px}
.hc-result-head{padding:16px}
.hc-group-head{padding:12px 16px}
.hc-lines{padding:0 16px}
.hc-line{gap:10px}
.hc-page .hc-line-qty input{width:84px}
.hc-bar{padding:12px 16px}
.hc-bar .hc-status{width:100%}
.hc-bar-actions{width:100%;justify-content:space-between}
.hc-button{flex:1}
}
