
/* ===== "The space" (spaces only): capacity, rooms, amenities, weekly classes, renting ===== */
#spaceSection .sp-top { display: flex; flex-wrap: wrap; gap: 10px; margin: -2px 0 18px; }
#spaceSection .sp-stat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
#spaceSection .sp-stat b { color: var(--ink); }
#spaceSection .sp-stat svg { width: 16px; height: 16px; color: var(--cedar); }
#spaceSection .sp-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px; }
#spaceSection .sp-room { padding: 16px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
#spaceSection .sp-room b { display: block; font: 400 19px/1.2 var(--display); }
#spaceSection .sp-room small { display: inline-block; margin: 4px 0 6px; font-size: 12.5px; font-weight: 700; color: var(--cedar); }
#spaceSection .sp-room p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
#spaceSection .sp-h { font: 800 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
#spaceSection .sp-amen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
#spaceSection .sp-amen span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(74,93,79,.1); color: #34483B; font-size: 13px; font-weight: 600; }
#spaceSection .sp-amen svg { width: 14px; height: 14px; }
#spaceSection .sp-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
#spaceSection .sp-day { min-width: 0; }
#spaceSection .sp-day > b { display: block; font: 800 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 2px 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
#spaceSection .sp-cls { padding: 8px 9px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 6px; }
#spaceSection .sp-cls time { display: block; font-size: 11.5px; font-weight: 700; color: var(--cedar); }
#spaceSection .sp-cls span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
#spaceSection .sp-cls small { display: block; font-size: 11.5px; color: var(--muted); }
#spaceSection .sp-none { font-size: 12px; color: var(--muted); padding: 6px 2px; }
#spaceSection .sp-rent { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; background: #1C1810; color: #F2EBDD; }
#spaceSection .sp-rent b { display: block; font: 400 21px var(--display); color: #FBF7EE; }
#spaceSection .sp-rent p { margin: 4px 0 0; font-size: 14px; color: rgba(242,235,221,.78); max-width: 52ch; }
#spaceSection .sp-rent .pr { color: #E9C98F; font-weight: 700; }
#spaceSection .sp-rent a { flex: none; padding: 12px 20px; border-radius: 999px; background: #E9C98F; color: #1C1810; font-weight: 700; font-size: 14px; text-decoration: none; }
#spaceSection .sp-rent-btn { flex: none; padding: 12px 20px; border-radius: 999px; background: #E9C98F; color: #1C1810; font-weight: 700; font-size: 14px; border: 0; cursor: pointer; font-family: inherit; }
#spaceSection .sp-rent-form { margin-top: 10px; padding: 20px 22px; border-radius: 20px; background: var(--paper, #FAF6EC); border: 1px solid var(--line, rgba(28,24,16,.14)); position: relative; }
#spaceSection .sp-rent-form[hidden] { display: none; }
#spaceSection .rf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#spaceSection .sp-rent-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft, #3A3326); }
#spaceSection .sp-rent-form .rf-wide { margin-top: 12px; }
#spaceSection .sp-rent-form input, #spaceSection .sp-rent-form select, #spaceSection .sp-rent-form textarea { font: 500 14px var(--sans, sans-serif); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-strong, rgba(28,24,16,.3)); background: #FFFDF8; color: #1C1810; width: 100%; box-sizing: border-box; }
#spaceSection .rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#spaceSection .rf-foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
#spaceSection .rf-foot button { padding: 12px 22px; border-radius: 999px; border: 0; background: var(--cedar, #8A5A37); color: #FBF7EE; font: 700 14px var(--sans, sans-serif); cursor: pointer; }
#spaceSection .rf-foot button[disabled] { opacity: .6; cursor: progress; }
#spaceSection .rf-msg { font-size: 13.5px; font-weight: 600; color: var(--muted, #6F6552); }
#spaceSection .rf-msg.ok { color: var(--sage, #4A5D4F); } #spaceSection .rf-msg.bad { color: #B4573A; }
@media (max-width: 640px) { #spaceSection .rf-grid { grid-template-columns: 1fr 1fr; } #spaceSection .rf-grid label:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  #spaceSection .sp-week { grid-template-columns: 1fr; gap: 4px; }
  #spaceSection .sp-day { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: start; }
  #spaceSection .sp-day > b { border: 0; padding: 9px 0 0; margin: 0; }
  #spaceSection .sp-day.empty { display: none; }
  #spaceSection .sp-rent { flex-direction: column; align-items: stretch; text-align: left; }
  #spaceSection .sp-rent a { text-align: center; }
}
