@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@700;800&display=swap');

:root {
  --account-paper: #f7f8f0;
  --account-ink: #25382f;
  --account-accent: #b7e5cd;
  --account-line: #bccac1;
}
.brand-wordmark,
.account-shell h1.brand-wordmark {
  font-family: Oxanium, 'Trebuchet MS', sans-serif;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: none;
}
.account-page { margin: 0; background: var(--account-paper); color: var(--account-ink); font: 1rem/1.5 system-ui, sans-serif; }
.account-shell { box-sizing: border-box; width: min(100%, 46rem); margin: 0 auto; padding: clamp(1.5rem, 6vw, 4rem); }
.account-brand { font-weight: 800; letter-spacing: .13em; }
.account-brand span { color: #257454; }
.account-shell h1 { margin: .5rem 0 1rem; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; }
.account-shell section { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--account-line); }
.account-shell form { display: grid; gap: .9rem; max-width: 24rem; }
.account-shell label { display: grid; gap: .3rem; font-weight: 600; }
.account-shell input, .account-shell form button, #accountControls button { box-sizing: border-box; border: 1px solid var(--account-line); border-radius: .45rem; color: inherit; font: inherit; padding: .65rem .8rem; }
.account-shell input { width: 100%; background: #fff; }
.account-shell form button, #accountControls button { width: fit-content; background: var(--account-accent); cursor: pointer; font-weight: 650; }
.account-shell a, #accountControls a { color: inherit; font-weight: 650; text-underline-offset: .2em; }
.account-shell :focus-visible, #accountControls :focus-visible { outline: 2px solid #257454; outline-offset: 3px; }
.account-nav, #accountControls { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
#accountControls { color: var(--account-ink); font-size: .875rem; text-transform: none; margin-bottom: 1rem; }
#accountControls:empty { display: none; }
#accountControls form { margin: 0; }
.account-message { padding: .7rem .9rem; background: #e1efe7; border-radius: .45rem; }
.account-users { list-style: none; padding: 0; }
.account-user { display: flex; align-items: start; flex-wrap: wrap; gap: .75rem 1rem; border-bottom: 1px solid var(--account-line); padding: .9rem 0; }
.account-user p { margin: 0; }
.account-user summary { cursor: pointer; padding: .55rem 0; }
.account-user details[open] { flex-basis: 100%; }
.admin-songs > li { margin-bottom: .65rem; overflow-wrap: anywhere; }
.admin-songs p { margin: .2rem 0; }
.admin-songs summary { cursor: pointer; }
.admin-songs pre { white-space: pre-wrap; background: #e8eee5; padding: .7rem; }
.sync-status { margin: .75rem auto; max-width: 68rem; padding: .75rem 1rem; background: #fdf2cc; color: #4a3811; text-transform: none; }

.login-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at top, #203a31, #111a17 65%);
}
.login-page .account-shell {
  width: min(100%, 66rem);
  display: grid;
  justify-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.login-page .login-card {
  width: min(100%, 25rem);
  box-sizing: border-box;
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #5b8e75;
  border-radius: 1rem;
  background: #172721;
  color: #f0faef;
}
.login-card h1 { margin: 0 0 1rem; text-align: center; color: #b9f0cf; }
.brand-wordmark > a.brand-home { color: inherit; text-decoration: none; }
.brand-wordmark > a.brand-home:hover { text-decoration: underline; text-underline-offset: .16em; }
.login-card input { color: #172721; }
.account-shell .login-card button { width: 100%; color: #172721; }
.login-card .account-message { color: #26392f; }
.login-page .record-room {
  width: min(100%, 51rem);
  margin: 1.1rem 0 0;
  border: 0;
}

.login-page .login-requests { width:min(100%,51rem); margin:0 0 24px; padding:0; border:0; text-align:center; }
.account-shell a.login-request-link { display:flex; align-items:center; justify-content:center; width:100%; min-height:100px; padding:20px 24px; border:1px solid #96dfb1; border-radius:10px; background:#71cc98; color:#14261b; box-shadow:0 5px 0 #287d57; font:800 clamp(28px,5vw,44px)/1.15 Oxanium,Arial,sans-serif; letter-spacing:.09em; text-decoration:none; }
.account-shell a.login-request-link:hover { background:#95dfb0; }
.login-requests p { margin:14px 0 0; font-size:14px; line-height:1.6; color:var(--account-ink); letter-spacing:.035em; }
@media(max-width:480px) { .account-shell a.login-request-link { min-height:88px; } .login-requests p { font-size:13px; } }
