/* Galaxy Oscillation — Stage 2 member dashboard. Shared site header untouched. */
:root { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { background: #080d12; }
body { margin: 0; background: #080d12; color: #F2F5F7; font-family: Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body .topbar .nav a, body .topbar .nav a:visited { color: #9CA8B4; text-decoration: none; }
body .topbar .nav a:hover, body .topbar .nav a:focus-visible { color: #F2F5F7; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #4CC9E8; outline-offset: 4px; }
button { font: inherit; }
[hidden], #dashboardMember[hidden], .dashboard-state[hidden] { display: none !important; }
.dashboard-main { min-height: calc(100vh - 86px); padding: 60px 28px 90px; background: radial-gradient(ellipse at 50% -6%, rgba(38, 98, 131, .16), transparent 54%), #080d12; }
.dashboard-shell { max-width: 1120px; margin: auto; }
.eyebrow { color: #4CC9E8; font-size: 11px; font-weight: 800; letter-spacing: .17em; line-height: 1.5; }
.dashboard-heading { margin-bottom: 32px; }
.dashboard-heading h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.13; letter-spacing: -.04em; margin: 11px 0 12px; }
.dashboard-heading p { margin: 0; font-size: 16px; color: #AAB8C5; }
.dashboard-state { max-width: 630px; margin: 54px auto 0; padding: 56px 38px; text-align: center; border: 1px solid #2D3946; border-radius: 16px; background: #101720; }
.dashboard-state h2 { font-size: 26px; margin: 15px 0 12px; letter-spacing: -.02em; }
.dashboard-state p { margin: 0 auto 24px; max-width: 460px; color: #AAB8C5; line-height: 1.7; }
.state-icon { width: 58px; height: 58px; border-radius: 50%; border: 1px solid #3C8396; display: grid; place-items: center; color: #4CC9E8; margin: auto; font-weight: 800; }
.loading-indicator { width: 32px; height: 32px; border: 3px solid #344756; border-top-color: #4CC9E8; border-radius: 50%; margin: 0 auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.button-primary, .button-outline { display: inline-flex; gap: 10px; justify-content: center; align-items: center; min-height: 43px; border-radius: 7px; padding: 11px 17px; text-decoration: none; font-size: 12px; font-weight: 850; letter-spacing: .08em; cursor: pointer; }
.button-primary { border: 1px solid #4CC9E8; color: #06131A; background: #4CC9E8; }
.button-outline { border: 1px solid #435565; background: rgba(13, 22, 30, .75); color: #E8F3F6; white-space: nowrap; }
.button-outline:hover { border-color: #4CC9E8; color: #4CC9E8; }
.button-primary:hover { filter: brightness(1.07); }
.button-text { display: block; margin-top: 21px; color: #86DDED; font-size: 14px; text-decoration: none; }
.button-text:hover, .text-link:hover { text-decoration: underline; }
.welcome-panel { border: 1px solid #2D4755; border-radius: 16px; padding: 34px 38px; background: linear-gradient(115deg, #132633 0%, #101a23 52%, #101720 100%); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.welcome-panel h2 { margin: 8px 0 9px; font-size: clamp(25px, 3.5vw, 35px); letter-spacing: -.035em; overflow-wrap: anywhere; }
.welcome-panel p { margin: 0; color: #AAB8C5; line-height: 1.6; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 23px; }
.dashboard-card { background: #101720; border: 1px solid #2D3946; border-radius: 14px; padding: 28px 31px 30px; min-width: 0; min-height: 340px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-card h3 { font-size: 22px; margin: 15px 0 25px; letter-spacing: -.018em; }
.status-chip { padding: 6px 9px; border: 1px solid #347C68; border-radius: 20px; color: #65D7A9; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.muted-chip { border-color: #485561; color: #AAB8C5; }
.detail-label { margin-top: 20px; color: #91A1B1; font-size: 12px; }
.account-email { color: #E7EFF5; overflow-wrap: anywhere; margin: 8px 0; font-size: 15px; }
.membership-status { margin: 8px 0; font-size: 17px; font-weight: 750; }
.muted { font-size: 13px; color: #96A7B7; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 13px; color: #58CDE9; text-decoration: none; margin-top: 14px; }
.my-monitors { display: flex; flex-direction: column; }
.my-monitors h3 { margin-bottom: 9px; }
.empty-icon { display: flex; align-items: end; gap: 5px; height: 55px; padding-left: 5px; }
.empty-icon span { display: block; width: 12px; border: 1px solid #3F8499; border-radius: 2px; height: 24px; }
.empty-icon span:nth-child(2) { height: 44px; }
.empty-icon span:nth-child(3) { height: 32px; }
.empty-title { font-weight: 750; font-size: 15px; margin: 13px 0 0; }
.available-section { margin-top: 43px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 21px; }
.section-head h2 { font-size: 26px; margin: 10px 0 9px; letter-spacing: -.025em; }
.section-head p { color: #AAB8C5; margin: 0; font-size: 14px; }
.free-monitor { display: flex; gap: 21px; padding: 29px; background: #101720; border: 1px solid #2D3946; border-radius: 13px; align-items: center; }
.monitor-symbol { flex: 0 0 66px; width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid #416A7A; border-radius: 12px; color: #4CC9E8; font-weight: 850; font-size: 22px; }
.monitor-copy { flex: 1; min-width: 0; }
.monitor-meta { color: #76B8C8; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.monitor-copy h3 { margin: 9px 0 7px; font-size: 19px; }
.monitor-copy p { margin: 0; font-size: 13px; color: #AAB8C5; line-height: 1.6; }
.monitor-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 13px; }
.free-label { color: #65D7A9; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.dashboard-note { margin: 26px 4px 0; color: #7D8D9A; font-size: 11px; line-height: 1.65; }
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .dashboard-main { padding: 40px 16px 65px; }
  .welcome-panel { flex-direction: column; align-items: start; padding: 27px 23px; }
  .dashboard-card { padding: 24px; min-height: auto; }
  .dashboard-state { padding: 39px 22px; }
  .section-head { flex-direction: column; align-items: start; }
  .free-monitor { flex-wrap: wrap; padding: 23px; }
  .monitor-symbol { flex-basis: 54px; height: 54px; width: 54px; }
  .monitor-copy { flex-basis: calc(100% - 85px); }
  .monitor-actions { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .loading-indicator { animation: none; } }

/* Stage 2: dynamic, server-authorized monitor lists. */
#freeMonitorList { display: grid; gap: 12px; }
.my-monitor-list { display: grid; gap: 12px; margin-top: 16px; }
.access-monitor { border: 1px solid #2D4755; border-radius: 9px; padding: 15px 16px; background: rgba(22,46,60,.5); }
.access-monitor h4 { margin: 0 0 6px; font-size: 15px; }
.access-monitor p { margin: 0; line-height: 1.6; color: #9DB5C2; font-size: 12px; }
.access-monitor .monitor-state { font-size: 11px; font-weight: 750; color: #65D7A9; margin-top: 11px; }
