/* Focused member views. Authentication and data ownership remain server-controlled. */
.dashboard-page { background: #050505; }
.dashboard-page [hidden] { display: none !important; }
.dashboard-page .member-header { position: static; border: 0; background: transparent; padding: 22px 20px 10px; }
.member-brand-home { display: block; width: min(290px, 76vw); margin: 0 auto; }
.member-brand-home img { display: block; width: 100%; height: auto; }
.dashboard-page .dashboard-shell { padding: 10px 0 32px; min-height: 65dvh; }
.dashboard-page .dashboard-shell > .container { max-width: 760px; padding: 0 20px; }
.dashboard-page .member-screen { min-width: 0; padding: 0; }
#member-home { max-width: 460px; margin: 0 auto; }
#member-home > div:first-child { text-align: center; margin: 8px 0 24px; }
#member-home .eyebrow { display: none; }
.dashboard-page #dashboardWelcome { font-size: clamp(24px, 5vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.dashboard-page .dashboard-lead { font-size: 15px; line-height: 1.4; margin: 0; color: #c1b9b1; }
.dashboard-page .journey-hub { margin: 0; }
.dashboard-page .journey-tile-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.dashboard-page .journey-tile-grid button { padding: 22px 12px; min-height: 112px; text-align: center; border: 0; border-radius: 18px; color: #100b05; background: linear-gradient(125deg, #ff641e, #ffb020); box-shadow: 0 5px 18px #ff6a141a; }
.dashboard-page .journey-tile-grid button:hover { background: linear-gradient(125deg, #ff782e, #ffc247); }
.dashboard-page .journey-tile-grid strong { display: block; font-size: 23px; line-height: 1.12; }
.dashboard-page .journey-tile-grid button span { display: block; color: #34200c; font-size: 12px; font-weight: 600; letter-spacing: 0; margin: 8px 0 0; }
.dashboard-page .journey-countdown { padding: 18px 12px; margin-top: 14px; border-color: #814a20; border-radius: 18px; text-align: center; background: #1b130c; }
.dashboard-page .journey-countdown strong { font-size: 17px; line-height: 1.45; margin-top: 8px; }
.dashboard-page .journey-countdown span { font-size: 11px; }
.dashboard-page .journey-secondary-actions { justify-content: center; gap: 10px; margin-top: 18px; }
.dashboard-page .journey-secondary-actions button { min-width: 0; font-size: 13px; padding: 12px 8px; min-height: 46px; background: transparent; color: #e7c49d; border-color: #514132; }
.member-view-bar { display: flex; align-items: center; gap: 14px; position: sticky; top: 0; z-index: 20; padding: 10px 0 14px; background: #050505f5; margin-bottom: 12px; }
.member-view-bar h1 { font-size: 22px; line-height: 1.2; margin: 0; }
.member-home-button { flex-shrink: 0; color: #ffb020; font: inherit; font-size: 16px; font-weight: 700; background: #19130d; border: 1px solid #594020; border-radius: 12px; padding: 12px 14px; min-height: 48px; cursor: pointer; }
.dashboard-page .member-screen > .dashboard-card, .dashboard-page .member-screen > .journey-panel { margin: 0 0 18px; }
.dashboard-page .member-screen .dashboard-card { background: #141414; border-color: #2c2823; padding: 20px; }
.dashboard-page .member-screen > .daily-plan-details { padding: 0; border: 0; background: transparent; }
.member-screen > .daily-plan-details > summary, #member-programme > details > summary { display: none; }
.member-screen > .daily-plan-details > .daily-plan-state { padding: 0 0 10px; }
.dashboard-page .daily-plan-content { padding: 0; }
.dashboard-page .daily-plan-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.dashboard-page .daily-plan-choice { min-height: 48px; padding: 12px 16px; font-size: 15px; border-radius: 999px; }
.dashboard-page .exercise-card, .dashboard-page .meal-card { background: #141414; border: 1px solid #302a24; border-radius: 16px; padding: 18px; margin-bottom: 12px; }
.dashboard-page .exercise-card h4, .dashboard-page .meal-card h4 { font-size: 20px; line-height: 1.3; }
.dashboard-page .exercise-parameters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dashboard-page .exercise-parameters dd { font-size: 21px; font-weight: 800; color: #fff; }
.dashboard-page .exercise-parameters dt { font-size: 13px; color: #bbb; }
.dashboard-page .dashboard-week-grid { display: block; }
.dashboard-page .dashboard-week-aside { margin-top: 18px; }
.member-progress-links { display: grid; gap: 12px; }
.member-progress-links button { min-height: 56px; padding: 16px; border: 1px solid #704622; border-radius: 14px; background: #21180f; color: #ffcb88; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.dashboard-page #member-account .dashboard-hero-actions { display: block; margin: 20px 0; }
.dashboard-page #member-account .dashboard-session-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.dashboard-page .food-row { flex-wrap: wrap; }
.dashboard-page .food-row > div { min-width: 0; }
.dashboard-page button, .dashboard-page a, .dashboard-page summary { touch-action: manipulation; }
.dashboard-page :focus-visible { outline: 3px solid #ffb020; outline-offset: 4px; }
.dashboard-page h1:focus { outline: none; }
@media (max-width: 380px) {
  .dashboard-page .dashboard-shell > .container { padding: 0 14px; }
  .dashboard-page .member-header { padding-top: 16px; }
  .member-brand-home { width: 230px; }
  .dashboard-page .journey-tile-grid strong { font-size: 21px; }
  .member-view-bar h1 { font-size: 19px; }
  .dashboard-page .member-screen .dashboard-card { padding: 16px; }
}
.analytics-preference{max-width:1040px;margin:20px auto;padding:18px;border:1px solid #454545;border-radius:12px;background:#191919;color:#ddd;font-size:13px}.analytics-preference:empty{display:none}.analytics-preference label{display:flex;align-items:center;gap:12px}.analytics-preference input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;margin:0}.analytics-preference p{color:#bcbcbc;line-height:1.6}.analytics-preference input:focus-visible{outline:2px solid #ff913e;outline-offset:4px}@media(max-width:700px){.analytics-preference{margin:18px}}
