/* Music Garden Videos. Colors from musicgardenbands.com. */
:root {
  --site-navy: #004A80; --site-navy-dark: #082A52; --site-sky: #3FAACC;
  --site-bg: #F3F5F7; --site-surface: #FFFFFF; --site-text: #1C2321; --site-muted: #55606B;
  --site-border: #DDE3EA; --site-input: #C9D1DA; --site-pill: #E6F1F8; --site-pill-text: #004A80;
  --site-ok-bg: #E5F2EA; --site-ok: #1F5A3C; --site-warn-bg: #FBF1DE; --site-warn: #6B4A0B; --site-err-bg: #F7E6E4; --site-err: #7A2A22;
  --site-link: #004A80; --site-focus: #3FAACC;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --site-bg: #0E1620; --site-surface: #15202C; --site-text: #E8EEF4; --site-muted: #A3B1BF;
    --site-border: #26354A; --site-input: #34465E; --site-pill: #1D3550; --site-pill-text: #BFE3F2;
    --site-ok-bg: #173327; --site-ok: #A7DDBD; --site-warn-bg: #3A2D12; --site-warn: #F0D49A; --site-err-bg: #3D1C19; --site-err: #F2B8B0;
    --site-link: #7CC8E2; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --site-bg: #0E1620; --site-surface: #15202C; --site-text: #E8EEF4; --site-muted: #A3B1BF;
  --site-border: #26354A; --site-input: #34465E; --site-pill: #1D3550; --site-pill-text: #BFE3F2;
  --site-ok-bg: #173327; --site-ok: #A7DDBD; --site-warn-bg: #3A2D12; --site-warn: #F0D49A; --site-err-bg: #3D1C19; --site-err: #F2B8B0;
  --site-link: #7CC8E2; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 'Source Sans 3', system-ui, sans-serif; color: var(--site-text); background: var(--site-bg); }
h1, h2, h3 { font-family: 'Fjalla One', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 .5em; line-height: 1.2; }
h1 { font-size: 30px; } h2 { font-size: 20px; } h3 { font-size: 17px; }
a { color: var(--site-link); }
:focus-visible { outline: 3px solid var(--site-focus); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 232px; max-width: 100%; background: var(--site-navy-dark); color: #fff; padding: 20px 14px; display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 900px) { .side { flex: 0 0 232px; } }
.navlist { display: flex; flex-direction: column; gap: 2px; }

.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; color: #C9D8E8; text-decoration: none; font-size: 14px; }
.nav { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: #C9D8E8; text-decoration: none; font-weight: 600; }
.nav:hover { background: #12365F; color: #fff; } .nav.on { background: var(--site-navy); color: #fff; }
.me { margin-top: auto; border-top: 1px solid #1D4670; padding: 14px 8px 0; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.me a, .me .link { color: #C9D8E8; }
.main { flex: 999 1 560px; min-width: 0; padding: 28px clamp(16px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.foot { margin-top: auto; color: var(--site-muted); font-size: 14px; }
.card { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 12px; padding: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
label, .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=url], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--site-input); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--site-text); background: var(--site-surface);
}
textarea { min-height: 160px; resize: vertical; }
.hint { color: var(--site-muted); font-size: 14px; margin: 4px 0 0; }
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--site-input); background: var(--site-surface); color: var(--site-text); font: 600 15px 'Source Sans 3', sans-serif; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--site-navy); border-color: var(--site-navy); color: #fff; }
.btn.danger { color: var(--site-err); }
button.link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--site-link); }
.pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--site-pill); color: var(--site-pill-text); }
.muted { color: var(--site-muted); }
.banner { border-radius: 10px; padding: 12px 16px; }
.banner.ok { background: var(--site-ok-bg); color: var(--site-ok); }
.banner.warn { background: var(--site-warn-bg); color: var(--site-warn); }
.banner.err { background: var(--site-err-bg); color: var(--site-err); }
.table-wrap { overflow-x: auto; background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--site-muted); padding: 12px 14px; }
td { padding: 12px 14px; border-top: 1px solid var(--site-border); vertical-align: top; }
.swatch { display: inline-block; width: 20px; height: 20px; border-radius: 5px; border: 1px solid #0003; vertical-align: middle; }
fieldset { border: 0; padding: 0; margin: 0; } legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--site-input); border-radius: 8px; font-weight: 500; margin: 0; }
code, .mono { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.qr svg { width: 200px; height: 200px; background: #fff; }
.prose { max-width: 70ch; } .prose li { margin: 4px 0; }
.bare { background: var(--site-bg); }
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-side { flex: 1 1 380px; background: var(--site-navy-dark); color: #fff; padding: 48px; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.auth-side img { align-self: flex-start; width: auto; max-width: 100%; height: 64px; }
.auth-side .tag { font: 400 34px/1.15 'Fjalla One', sans-serif; text-transform: uppercase; max-width: 14ch; margin: 0; }
.auth-main { flex: 1 1 380px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-main > * { width: 100%; max-width: 400px; }

/* Phone and tablet: sidebar becomes a top bar with a scrolling nav strip */
@media (max-width: 899px) {
  .shell { align-content: flex-start; }
  .side { flex: 1 1 100%; align-content: flex-start; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 12px 8px; gap: 8px; }
  .brand { padding: 0 4px; }
  .me { margin: 0 0 0 auto; border: 0; padding: 0 4px; gap: 16px; }
  .navlist { order: 3; flex: 1 0 100%; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .nav { white-space: nowrap; min-height: 44px; }
}
