/* ROOMS public pages. Paste into Settings > Appearance > Public > Custom CSS.
   Included automatically when the supplied static templates are installed. */
:root {
  color-scheme: light dark;
  --rooms-page: #FBF8F4;
  --rooms-surface: #FFFFFF;
  --rooms-text: #1E1623;
  --rooms-muted: #655B6A;
  --rooms-border: #E7DFD8;
  --rooms-accent: #08748C;
  --rooms-button-text: #FFFFFF;
  --rooms-danger: #B52D3B;
}
body {
  background: var(--rooms-page);
  color: var(--rooms-text);
  font-family: 'Instrument Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
a { color: var(--rooms-accent); text-decoration-color: currentColor; text-underline-offset: 3px; }
a:hover { color: var(--rooms-text); }
.container { max-width: 680px; }
.wrap {
  background: var(--rooms-surface);
  border: 1px solid var(--rooms-border);
  border-radius: 18px;
  padding: 40px;
  box-shadow: none;
}
.header { text-align: center; border-color: var(--rooms-border); padding-bottom: 24px; }
.header .logo img { width: 132px; max-width: 100%; height: auto; }
.rooms-logo-dark { display: none; }
.rooms-brand { margin: 20px 0 0; color: var(--rooms-accent); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
/* Full package: centred logo outside the content card, as in the newsletter. */
.rooms-shell { margin-top: 36px; }
.rooms-shell > .header { border: 0; padding: 0 0 24px; margin: 0; }
.rooms-shell .wrap { margin: 0; }
.rooms-shell .rooms-brand { margin-top: 14px; }
h1, h2, h3 { color: var(--rooms-text); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
h2 { font-size: 26px; margin: 0 0 22px; }
h3, .lists h2 { font-size: 18px; }
p { margin: 0 0 20px; }
label { color: var(--rooms-text); }
input[type="text"], input[type="email"], input[type="password"], select {
  background: var(--rooms-surface);
  color: var(--rooms-text);
  border: 1px solid var(--rooms-border);
  border-radius: 6px;
  box-shadow: none;
  padding: 12px 14px;
  font-family: inherit;
}
input::placeholder { color: var(--rooms-muted); opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--rooms-accent); }
:focus-visible { outline: 2px solid var(--rooms-accent); outline-offset: 3px; }
input:focus, select:focus { border-color: var(--rooms-accent); }
.button {
  background: var(--rooms-accent);
  color: var(--rooms-button-text);
  border: 1px solid var(--rooms-accent);
  border-radius: 6px;
  padding: 12px 22px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  font: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.button:hover { background: var(--rooms-text); color: var(--rooms-page); border-color: var(--rooms-text); }
.button.button-outline { background: transparent; color: var(--rooms-accent); border-color: var(--rooms-accent); }
.button.button-outline:hover { background: var(--rooms-accent); color: var(--rooms-button-text); border-color: var(--rooms-accent); }
.lists li { margin-bottom: 16px; }
.lists .description, .archive .date, .small { color: var(--rooms-muted); }
.lists .description { margin: 4px 0 0 25px; line-height: 1.55; }
.lists label { font-weight: 600; }
.data-form { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--rooms-border); }
.error { color: var(--rooms-danger); }
.archive li { padding-bottom: 16px; border-bottom: 1px solid var(--rooms-border); }
footer.container { color: var(--rooms-muted); font-size: 13px; margin: 24px auto 36px; padding: 0 16px; }
footer a { color: var(--rooms-muted); text-decoration: underline; }
.rooms-footer-links { margin-bottom: 10px; }
.rooms-credit { margin: 0; font-size: 12px; }
.rooms-footer-links a { display: inline-block; margin: 0 8px 6px; }
.pg-page.pg-selected { color: var(--rooms-accent); }
.rooms-home { text-align: left; }
.rooms-home .home-options a { margin: 0 20px 12px 0; display: inline-block; }
@media (prefers-color-scheme: dark) {
  :root {
    --rooms-page: #120E15; --rooms-surface: #1B151F;
    --rooms-text: #F6F1EC; --rooms-muted: #B0A6B3;
    --rooms-border: #2D2532; --rooms-accent: #56D6F2;
    --rooms-button-text: #120E15; --rooms-danger: #FF8A98;
  }
  .rooms-logo-light { display: none; }
  .rooms-logo-dark { display: inline-block; }
}
@media (max-width: 700px) {
  .container { width: auto; margin-left: 12px; margin-right: 12px; }
  .wrap { margin-top: 24px; padding: 28px 22px; border-radius: 12px; }
  .rooms-shell { margin-top: 24px; }
  .rooms-shell .wrap { margin: 0; }
  h2 { font-size: 23px; }
}
/* Listmonk 6.x serves login/reset/2FA through its public template engine.
   Give these admin entry pages the microfast palette and keep their original font. */
body:has(.login) {
  --rooms-page: #120E15; --rooms-surface: #1B151F;
  --rooms-text: #F6F1EC; --rooms-muted: #B0A6B3;
  --rooms-border: #44394B; --rooms-accent: #F55A90;
  --rooms-button-text: #120E15; --rooms-danger: #FF8A98;
  font-family: 'Inter', 'Open Sans', 'Helvetica Neue', sans-serif;
  color-scheme: dark;
}
body:has(.login) .rooms-logo-light { display: none; }
body:has(.login) .rooms-logo-dark { display: inline-block; }
