.course-page { min-height: 100vh; background: #f7f1e6; }
.course-layout { min-height: 100vh; display: grid; grid-template-columns: 300px minmax(0,1fr); }
.course-sidebar { position: sticky; top: 0; height: 100vh; min-height: 660px; padding: 48px 22px 22px; display: flex; flex-direction: column; color: rgba(255,255,255,.78); background: linear-gradient(180deg,#35143d 0%,#29112f 100%); }
.course-brand { position: relative; width: min(100%, 230px); margin: 0 auto 66px; display: block; line-height: 0; }
.course-brand img { width: 100%; height: auto; display: block; border-radius: 2px; }
.course-nav { display: flex; flex-direction: column; gap: 7px; }
.course-nav__link { min-height: 53px; padding: 0 17px; display: flex; align-items: center; gap: 16px; border-radius: 14px; color: rgba(255,255,255,.72); font-size: .92rem; font-weight: 600; transition: color .18s ease, background .18s ease; }
.course-nav__link svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.course-nav__link:hover, .course-nav__link:focus-visible { color: white; background: rgba(255,255,255,.08); }
.course-nav__link--active { color: var(--plum) !important; background: #fffaf0; box-shadow: 0 7px 18px rgba(10,4,14,.12); }
.course-sidebar__bottom { margin-top: auto; }
.theme-toggle { width: 100%; min-height: 50px; padding: 0 16px; display: flex; align-items: center; gap: 14px; border: 0; border-radius: 12px; color: rgba(255,255,255,.76); background: transparent; text-align: left; font-size: .83rem; cursor: pointer; }
.theme-toggle:hover { background: rgba(255,255,255,.08); color: white; }
.theme-toggle__icon { width: 19px; color: var(--gold-light); font-size: 1.2rem; }
.visitor-profile { margin-top: 13px; padding: 17px 10px 8px; border-top: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; gap: 12px; }
.visitor-profile__avatar { width: 43px; height: 43px; flex: 0 0 43px; border: 1px solid rgba(255,255,255,.33); border-radius: 50%; display: grid; place-items: center; color: #f8e8c1; background: rgba(255,255,255,.1); font-family: var(--serif); font-size: .9rem; }
.visitor-profile__text { display: flex; flex-direction: column; gap: 3px; font-size: .82rem; }
.visitor-profile__text strong { color: white; font-weight: 600; }
.visitor-profile__text small { color: rgba(255,255,255,.57); font-size: .68rem; }
.visitor-profile__status { margin-left: auto; color: #b5c98a; font-size: 1.5rem; }
.course-main { min-width: 0; padding: 26px clamp(28px, 4.4vw, 76px) 68px; background: #f7f1e6; transition: background .2s ease, color .2s ease; }
.course-main__inner { width: min(1160px,100%); margin: 0 auto; }
.course-heading { margin: 0 0 39px; }
.course-heading .eyebrow { margin: 0 0 14px; }
.course-heading h1 { max-width: 1080px; margin: 0; color: #26152f; font-family: var(--serif); font-size: clamp(2.45rem, 4.05vw, 4.08rem); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; }
.course-heading__intro { max-width: 900px; margin: 22px 0 0; color: #777078; font-size: 1rem; line-height: 1.7; }
.course-search { min-height: 65px; margin: 0 0 20px; padding: 6px 6px 6px 22px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(51,29,54,.08); border-radius: 16px; background: #fffdfa; box-shadow: 0 9px 25px rgba(42,24,40,.035); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.course-search__icon { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: #665d66; stroke-width: 1.8; }
.course-search input { flex: 1; min-width: 0; padding: 15px 0; border: 0; outline: 0; color: #302733; background: transparent; font-size: .91rem; }
.course-search input::placeholder { color: #908890; }
.course-search__button { min-width: 136px; min-height: 53px; border: 0; border-radius: 999px; color: #2f1b2d; background: linear-gradient(135deg,#eac86e,#d5a54b); font-size: .82rem; font-weight: 700; cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.course-search__button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.course-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.course-filter { min-height: 42px; padding: 0 20px; border: 1px solid rgba(58,36,60,.1); border-radius: 999px; color: #422a49; background: #fffdfa; font-size: .76rem; font-weight: 600; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.course-filter:hover { border-color: rgba(50,19,63,.38); }
.course-filter.is-active { border-color: var(--plum); color: white; background: var(--plum); }
.course-notice { margin: 0 0 34px; padding: 12px 15px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid rgba(174,137,75,.2); border-radius: 10px; color: #655b5f; background: rgba(255,253,249,.55); }
.course-notice__mark { width: 19px; height: 19px; flex: 0 0 19px; border: 1px solid #aa8750; border-radius: 50%; display: grid; place-items: center; color: #8c6d38; font-family: var(--serif); font-size: .75rem; }
.course-notice p { margin: 0; font-size: .73rem; line-height: 1.55; }
.course-notice strong { color: #50305a; }
.course-results-heading { margin: 0 0 19px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.course-results-heading h2 { margin: 0; color: #392044; font-family: var(--sans); font-size: 1.26rem; font-weight: 700; letter-spacing: -.02em; }
.course-results-heading > span { color: #756d73; font-size: .75rem; }
.course-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.course-card { min-height: 286px; display: flex; overflow: hidden; border: 1px solid rgba(53,31,53,.08); border-radius: 23px; background: #fffdfa; box-shadow: 0 10px 25px rgba(40,26,40,.045); transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-3px); box-shadow: 0 16px 33px rgba(40,26,40,.09); }
.course-card[hidden] { display: none; }
.course-card__rail { width: 115px; flex: 0 0 115px; padding: 0 12px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f5d27a; background: linear-gradient(180deg,#32143c,#48264c 60%,#32143c); }
.course-card__rail svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.course-card__rail > span { width: 35px; height: 1px; margin: 24px 0 17px; background: rgba(246,221,158,.48); }
.course-card__rail small { color: #fff9ec; font-size: .61rem; font-weight: 700; letter-spacing: .12em; }
.course-card__content { position: relative; min-width: 0; flex: 1; padding: 31px 28px 22px 30px; display: flex; flex-direction: column; }
.course-card__eyebrow { margin: 0 36px 10px 0; color: #8b8087; font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.course-card h3 { margin: 0; color: #311940; font-family: var(--sans); font-size: clamp(1.32rem, 1.7vw, 1.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.course-card__sub { max-width: 330px; min-height: 38px; margin: 8px 0 13px; color: #807780; font-size: .71rem; line-height: 1.5; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 9px 17px; color: #776e76; font-size: .65rem; }
.course-card__meta span span { padding-right: 5px; color: #746276; font-size: .78rem; }
.course-card__bottom { margin-top: auto; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.course-tags span { padding: 6px 10px; border: 1px solid rgba(71,51,67,.1); border-radius: 999px; color: #6a5e68; background: #fffdfa; font-size: .62rem; }
.course-save { position: absolute; top: 15px; right: 15px; width: 39px; height: 39px; border: 1px solid rgba(58,38,56,.1); border-radius: 50%; color: #684f6c; background: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; box-shadow: 0 3px 9px rgba(35,20,36,.04); }
.course-save[aria-pressed="true"] { color: #8d395d; background: #fff2f3; }
.course-open { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #ad833f; background: transparent; font-size: 1.3rem; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.course-open:hover { transform: translateX(3px); background: #f5eddf; }
.course-empty { padding: 23px; border: 1px dashed rgba(50,19,63,.25); border-radius: 13px; color: #5c4b61; font-size: .85rem; line-height: 1.6; }
.course-footer-note { margin: 21px 0 0; color: #8c8388; font-size: .69rem; line-height: 1.6; }
.course-toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: min(410px,calc(100% - 48px)); padding: 13px 18px; border-radius: 8px; color: white; background: var(--plum); box-shadow: 0 10px 32px rgba(31,18,34,.2); font-size: .8rem; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s,transform .2s; }
.course-toast.is-visible { opacity: 1; transform: translateY(0); }
.course-page[data-theme="dark"] { color-scheme: dark; background: #211a25; }
.course-page[data-theme="dark"] .course-main { color: #f6f0e9; background: #211a25; }
.course-page[data-theme="dark"] .course-heading h1, .course-page[data-theme="dark"] .course-results-heading h2, .course-page[data-theme="dark"] .course-card h3 { color: #f4e9d4; }
.course-page[data-theme="dark"] .course-heading__intro, .course-page[data-theme="dark"] .course-results-heading > span, .course-page[data-theme="dark"] .course-card__sub, .course-page[data-theme="dark"] .course-card__meta { color: #c2b7c4; }
.course-page[data-theme="dark"] .course-notice { border-color: rgba(220,187,120,.25); color: #d5c8d1; background: rgba(255,255,255,.04); }
.course-page[data-theme="dark"] .course-notice strong { color: #f3d997; }
.course-page[data-theme="dark"] .course-card { border-color: rgba(255,255,255,.08); background: #302938; }
.course-page[data-theme="dark"] .course-card__eyebrow, .course-page[data-theme="dark"] .course-footer-note { color: #b7aab7; }
.course-page[data-theme="dark"] .course-tags span, .course-page[data-theme="dark"] .course-save { border-color: rgba(255,255,255,.14); color: #e8d9e9; background: #3b3341; }
.course-page[data-theme="dark"] .course-filter { border-color: rgba(255,255,255,.13); color: #eadfed; background: #302938; }
.course-page[data-theme="dark"] .course-filter.is-active { color: white; background: #5a3564; }
.course-page[data-theme="dark"] .course-empty { color: #e1d0e5; }

@media (max-width: 1100px) {
  .course-layout { grid-template-columns: 255px minmax(0,1fr); }
  .course-sidebar { padding-inline: 16px; }
  .course-main { padding-inline: 34px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 260px; }
}
@media (max-width: 800px) {
  .course-layout { display: block; }
  .course-sidebar { position: relative; z-index: 5; height: auto; min-height: 0; padding: 17px 18px 10px; }
  .course-brand { margin: 8px auto 20px; font-size: 1.8rem; }
  .course-brand svg { width: 34px; top: -18px; right: -6px; }
  .course-nav { padding: 0 0 7px; flex-direction: row; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
  .course-nav__link { min-height: 42px; padding: 0 13px; flex: 0 0 auto; gap: 8px; font-size: .74rem; }
  .course-nav__link svg { width: 15px; height: 15px; flex-basis: 15px; }
  .course-sidebar__bottom { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .theme-toggle { width: auto; min-height: 37px; padding: 0 9px; gap: 7px; font-size: .69rem; }
  .visitor-profile { margin: 0; padding: 3px 3px 3px 10px; border-top: 0; border-left: 1px solid rgba(255,255,255,.15); gap: 8px; }
  .visitor-profile__avatar { width: 31px; height: 31px; flex-basis: 31px; font-size: .72rem; }
  .visitor-profile__text { font-size: .7rem; }
  .visitor-profile__text small { font-size: .6rem; }
  .course-main { padding: 35px 25px 55px; }
  .course-heading { margin-bottom: 27px; }
  .course-heading h1 { max-width: 690px; font-size: clamp(2.35rem, 7vw, 3.6rem); }
  .course-heading__intro { margin-top: 15px; font-size: .89rem; }
}
@media (max-width: 520px) {
  .course-main { padding: 30px 17px 44px; }
  .course-heading h1 { font-size: clamp(2.18rem, 10vw, 3rem); line-height: 1.07; }
  .course-heading__intro { font-size: .82rem; }
  .course-search { min-height: 56px; padding-left: 13px; gap: 8px; border-radius: 13px; }
  .course-search input { font-size: .76rem; }
  .course-search__button { min-width: 78px; min-height: 44px; font-size: .75rem; }
  .course-filters { gap: 8px; margin-bottom: 20px; }
  .course-filter { min-height: 38px; padding-inline: 16px; font-size: .72rem; }
  .course-notice { margin-bottom: 27px; padding: 11px; }
  .course-notice p { font-size: .68rem; }
  .course-results-heading h2 { font-size: 1.08rem; }
  .course-card { min-height: 254px; border-radius: 17px; }
  .course-card__rail { width: 73px; flex-basis: 73px; padding-inline: 7px; }
  .course-card__rail svg { width: 24px; height: 24px; }
  .course-card__content { padding: 26px 15px 16px; }
  .course-card__eyebrow { font-size: .55rem; letter-spacing: .1em; }
  .course-card h3 { max-width: 100%; padding-right: 11px; font-size: 1.27rem; }
  .course-card__sub { font-size: .65rem; }
  .course-card__meta { gap: 6px 10px; font-size: .59rem; }
  .course-save { top: 10px; right: 10px; width: 33px; height: 33px; font-size: 1rem; }
  .course-tags span { padding: 5px 7px; font-size: .58rem; }
  .visitor-profile__status { display: none; }
}


/* Conteúdo editorial que diferencia cada diretório mantendo a identidade da ILUMAXX. */
.directory-spotlight { margin: -17px 0 25px; min-height: 150px; display: grid; grid-template-columns: 190px minmax(0,1fr); overflow: hidden; border: 1px solid rgba(53,31,53,.1); border-radius: 16px; background: #fffdfa; box-shadow: 0 8px 24px rgba(42,24,40,.045); }
.directory-spotlight__image-frame { min-height: 150px; overflow: hidden; background: #d9c6b0; }
.directory-spotlight__image-frame img { width: 100%; height: 100%; min-height: 150px; display: block; object-fit: cover; }
.directory-spotlight__copy { padding: 17px 23px; display: flex; flex-direction: column; justify-content: center; }
.directory-spotlight__eyebrow { margin: 0 0 5px; color: #9a7a43; font-size: .59rem; font-weight: 700; letter-spacing: .13em; }
.directory-spotlight__copy h2 { margin: 0; color: #32133f; font-family: var(--serif); font-size: clamp(1.22rem,1.8vw,1.7rem); font-weight: 500; line-height: 1.2; }
.directory-spotlight__description { margin: 7px 0 0; color: #6f6670; font-size: .74rem; line-height: 1.45; }
.directory-spotlight__note { margin: 7px 0 0; color: #50305a; font-size: .66rem; font-weight: 600; line-height: 1.4; }
.directory-facts { margin: 1px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 14px; }
.directory-facts__item { min-width: 0; margin: 0; padding: 0; display: grid; align-content: start; gap: 3px; }
.directory-facts__item dt { color: #988b96; font-size: .52rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.directory-facts__item dd { margin: 0; color: #5f5561; font-size: .63rem; line-height: 1.35; }
.course-page[data-kind="evento"] .directory-facts__item:first-child { grid-column: 1 / -1; padding: 8px 10px; border-left: 3px solid #d6aa57; border-radius: 0 8px 8px 0; background: #fbf4e5; }
.course-page[data-kind="evento"] .directory-facts__item:first-child dd { color: #50305a; font-weight: 700; }
.course-page[data-kind="espaco"] .course-card__rail { background: linear-gradient(180deg,#2c4037,#3d5948 62%,#2c4037); }
.course-page[data-kind="evento"] .course-card__rail { background: linear-gradient(180deg,#3b2342,#583660 62%,#3b2342); }
.course-page[data-kind="profissional"] .directory-spotlight { border-left: 4px solid #6f4c78; }
.course-page[data-kind="profissional"] .directory-spotlight__note { color: #50305a; }
.course-page[data-kind="espaco"] .directory-spotlight__note { color: #496451; }
.course-page[data-kind="evento"] .directory-spotlight__note { color: #7d6030; }
.course-open--label { width: auto; min-width: 116px; padding: 0 3px 0 9px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: #8b6935; font-size: .67rem; font-weight: 700; white-space: nowrap; }
.course-open--label:hover { background: transparent; }
.course-page[data-theme="dark"] .directory-spotlight { border-color: rgba(255,255,255,.1); background: #302938; }
.course-page[data-theme="dark"] .directory-spotlight__copy h2 { color: #f4e9d4; }
.course-page[data-theme="dark"] .directory-spotlight__description, .course-page[data-theme="dark"] .directory-facts__item dd { color: #c9beca; }
.course-page[data-theme="dark"] .directory-spotlight__note, .course-page[data-theme="dark"] .directory-spotlight__eyebrow { color: #e5c97f; }
.course-page[data-theme="dark"] .directory-facts__item dt { color: #b7aab7; }
.course-page[data-kind="evento"][data-theme="dark"] .directory-facts__item:first-child { background: rgba(214,170,87,.12); }
.course-page[data-theme="dark"] .course-open--label { color: #e5c97f; }

@media (max-width: 800px) {
  .directory-spotlight { margin-top: -10px; grid-template-columns: 165px minmax(0,1fr); }
  .directory-spotlight__copy { padding: 15px 18px; }
}
@media (max-width: 520px) {
  .directory-spotlight { margin: -8px 0 22px; min-height: 132px; grid-template-columns: 103px minmax(0,1fr); border-radius: 13px; }
  .directory-spotlight__image-frame, .directory-spotlight__image-frame img { min-height: 132px; }
  .directory-spotlight__copy { padding: 12px 12px; }
  .directory-spotlight__eyebrow { font-size: .49rem; letter-spacing: .08em; }
  .directory-spotlight__copy h2 { font-size: 1rem; }
  .directory-spotlight__description { margin-top: 5px; font-size: .62rem; }
  .directory-spotlight__note { margin-top: 5px; font-size: .57rem; }
  .directory-facts { gap: 7px 9px; }
  .directory-facts__item dt { font-size: .47rem; }
  .directory-facts__item dd { font-size: .57rem; }
  .course-page[data-kind="evento"] .directory-facts__item:first-child { padding: 7px 8px; }
  .course-open--label { min-width: 0; padding: 0 2px 0 4px; gap: 2px; font-size: .59rem; }
}

@media (max-width: 520px) {
  .course-page[data-kind="espaco"] .course-card__rail small {
    max-width: 100%;
    font-size: .43rem;
    line-height: 1.2;
    letter-spacing: .02em;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


.course-loading { margin: 0 0 20px; padding: 19px 22px; border: 1px dashed rgba(50,19,63,.22); border-radius: 13px; color: #685d69; background: rgba(255,253,249,.62); font-size: .82rem; }
.course-loading[hidden] { display: none; }
.course-card__rail > span.course-card__icon { width: auto; height: auto; margin: 0; display: block; color: inherit; background: transparent; font-size: 1.55rem; line-height: 1; }
.course-card__rail small { text-align: center; }
.listing-contact-unavailable { color: #817783; font-size: .64rem; font-weight: 600; text-align: right; }
.course-page[data-theme="dark"] .course-loading { border-color: rgba(255,255,255,.15); color: #d7c9d9; background: rgba(255,255,255,.04); }
.course-page[data-theme="dark"] .listing-contact-unavailable { color: #c2b7c4; }
@media (max-width: 520px) {
  .course-loading { padding: 15px; font-size: .75rem; }
  .listing-contact-unavailable { font-size: .56rem; }
}

.course-claim-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 12px; border: 1px solid rgba(58,28,63,.2); border-radius: 999px; color: #3b1b43; background: #fff9ef; font: 700 .75rem 'DM Sans', Arial, sans-serif; text-align: center; cursor: pointer; }
.course-claim-cta:hover { border-color: #c49a53; background: #f7edda; }
.course-claim-cta:disabled { opacity: .65; cursor: wait; }
.space-claim-dialog { width: min(560px, calc(100% - 28px)); max-height: min(90vh, 860px); padding: 0; border: 1px solid rgba(53,20,59,.18); border-radius: 20px; color: #2a172f; background: #fffaf2; box-shadow: 0 24px 80px rgba(30,12,33,.28); }
.space-claim-dialog::backdrop { background: rgba(26,13,29,.58); backdrop-filter: blur(3px); }
.space-claim-dialog__form { display: grid; gap: 15px; padding: clamp(20px, 5vw, 32px); }
.space-claim-dialog__form h2 { margin: 4px 0 0; font: 600 clamp(1.45rem, 4vw, 2rem)/1.2 'Playfair Display', Georgia, serif; }
.space-claim-dialog__form p { margin: 0; color: #706576; font-size: .92rem; line-height: 1.6; }
.space-claim-dialog__close { justify-self: end; border: 0; color: #624f67; background: transparent; font-weight: 700; cursor: pointer; }
.space-claim-dialog__field { display: grid; gap: 7px; color: #38223f; font-size: .83rem; font-weight: 700; }
.space-claim-dialog__field input, .space-claim-dialog__field select, .space-claim-dialog__field textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid rgba(53,20,59,.22); border-radius: 10px; color: #2a172f; background: white; font: 400 .92rem 'DM Sans', Arial, sans-serif; }
.space-claim-dialog__field textarea { min-height: 104px; resize: vertical; }
.space-claim-dialog__confirm { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; align-items: start; color: #67596b; font-size: .8rem; line-height: 1.5; }
.space-claim-dialog__confirm input { margin: 3px 0 0; accent-color: #35143b; }
.space-claim-dialog__actions { display: flex; justify-content: flex-end; }
.space-claim-dialog__status { min-height: 1.2em; color: #2d6847 !important; }
.course-page[data-theme="dark"] .course-claim-cta { border-color: rgba(255,255,255,.2); color: #fff8ea; background: #392541; }
.course-page[data-theme="dark"] .course-claim-cta:hover { background: #4b3453; }
@media (max-width: 520px) {
  .course-claim-cta { max-width: 100%; font-size: .58rem; }
  .space-claim-dialog__form { gap: 12px; }
}

.space-management-label { display: inline-flex; width: fit-content; margin-top: 12px; padding: 6px 10px; border: 1px solid #c7b4cb; border-radius: 999px; color: #69516f; background: #f3edf4; font-size: .68rem; font-weight: 600; }
.space-management-label--managed { border-color: #b59964; color: #5e472b; background: #f6edda; }
.course-page[data-theme="dark"] .space-management-label { color: #f1e5f4; background: #392541; }
.course-page[data-theme="dark"] .space-management-label--managed { color: #efd5a4; background: #453629; }
.course-card__bottom { flex-wrap: wrap; gap: 10px; }

.space-request-proposal { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(53,20,59,.12); border-radius: 13px; background: #f9f1e4; }
.space-request-proposal h3 { margin: 0; color: #3b2141; font: 600 1.05rem 'Playfair Display', Georgia, serif; }
.space-claim-dialog__field--readonly input, .space-claim-dialog__field--readonly textarea { color: #746a76; background: #eee9e3; cursor: default; }
.space-claim-dialog__field--readonly textarea { resize: none; }
.space-claim-dialog__field--readonly::after { content: 'ORIGINAL'; color: #897d88; font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.space-claim-dialog__form .course-open--label { width: auto; min-height: 42px; padding: 0 16px; border: 1px solid rgba(58,28,63,.2); border-radius: 999px; background: #fff9ef; }
.space-claim-dialog__form .course-open--label:hover { background: #f6ecd9; transform: none; }
.course-page[data-theme="dark"] .space-request-proposal { border-color: rgba(255,255,255,.15); background: #2d2330; }
.course-page[data-theme="dark"] .space-request-proposal h3 { color: #f3dfb3; }
.space-public-status { color: #5c4b61; font-weight: 700; }
.course-page[data-theme="dark"] .space-public-status { color: #e5c97f; }

.space-representative-invite { margin: 32px 0 12px; padding: 25px; border: 1px solid rgba(50,19,63,.16); border-radius: 18px; background: #fff9ef; }
.space-representative-invite h2 { margin: 8px 0 12px; font: 600 clamp(1.3rem, 3vw, 1.8rem)/1.3 'Playfair Display', Georgia, serif; }
.space-representative-invite p:not(.eyebrow) { max-width: 850px; color: #706576; line-height: 1.6; font-size: .88rem; }
.space-representative-invite a { color: #5d3566; font-weight: 700; font-size: .88rem; }
.course-page[data-theme="dark"] .space-representative-invite { background: #302035; border-color: #63446c; }
.course-page[data-theme="dark"] .space-representative-invite p:not(.eyebrow), .course-page[data-theme="dark"] .space-representative-invite a { color: #e4d5e8; }

.directory-theme-reset { display: inline-flex; margin: 10px 0 18px; color: #76577a; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.course-page[data-theme="dark"] .directory-theme-reset { color: #e9cf92; }
