/* Clientview V1 identity. Real authentication, plans and permissions stay intact. */
body.account-page, body.dashboard-page { background: #000; color: #f5f3ef; font-family: 'Helvetica Neue', Arial, sans-serif; }
.dashboard-page h1, .dashboard-page h2, .dashboard-page h3, .dashboard-page h4, .dashboard-page button { font-family: inherit; }
.dashboard-page .member-header { padding: 28px 24px 0; }
.dashboard-page .member-brand-home { display: block; width: 96px; margin: 0 auto; }
.dashboard-page .member-brand-home img { display: block; width: 96px; height: 96px; object-fit: contain; }
.dashboard-page .dashboard-shell { padding: 16px 0 32px; }
.dashboard-page .dashboard-shell > .container { max-width: 980px; padding: 0 clamp(16px, 3vw, 32px); }
.dashboard-page #member-home { max-width: 680px; }
.dashboard-page #member-home > div:first-child { margin: 0 0 20px; background: none; }
.dashboard-page #dashboardWelcome { font-size: clamp(20px, 3vw, 26px); line-height: 1.25; letter-spacing: -.02em; font-weight: 800; margin-bottom: 2px; }
.dashboard-page .dashboard-lead { color: #bfc1c5; font-size: 14px; font-weight: 500; line-height: 1.35; }
.dashboard-page .journey-tile-grid { gap: 12px; }
.dashboard-page .journey-tile-grid button { min-height: 112px; padding: 18px 16px; border: 1px solid transparent; border-radius: 14px; background: linear-gradient(135deg,#ff741f,#f79a32) padding-box, linear-gradient(135deg,#f3f4f5,#81868e 48%,#d7d9dc) border-box; color: #17100c; box-shadow: inset 0 1px 0 #ffffff45, 0 4px 12px #0005; transition: box-shadow .18s ease, filter .18s ease; }
.dashboard-page .journey-tile-grid button:hover { background: linear-gradient(135deg,#ff862f,#ffab48) padding-box, linear-gradient(135deg,#fff,#aeb3bb 48%,#e7e9ec) border-box; border-color: transparent; box-shadow: inset 0 1px 0 #ffffff65, 0 5px 18px #ff781521; }
.dashboard-page .journey-tile-grid strong { font-size: clamp(15px, 2vw, 18px); line-height: 1.3; font-weight: 750; }
.dashboard-page .journey-countdown { width: 100%; margin-top: 12px; padding: 18px; border: 1px solid #73777f; border-left: 3px solid #ff8a36; border-radius: 14px; background: linear-gradient(130deg,#252629,#121315); box-shadow: inset 0 1px 0 #ffffff12; color: #f5f3ef; text-align: center; }
.dashboard-page .journey-countdown > span { display: block; color: #c6c8cd; font-size: 12px; font-weight: 700; }
.dashboard-page .journey-countdown strong { display: block; color: inherit; font-size: 17px; font-weight: 800; line-height: 1.3; margin: 4px 0; }
.dashboard-page .journey-countdown[data-number='true'] strong { font-size: 34px; }
.dashboard-page .journey-countdown[data-due='true'] { background: #141414; border: 1px solid #ff5b1e; color: #ff8a3d; box-shadow: none; }
.dashboard-page .v1-home-links { display: grid; gap: 12px; margin-top: 12px; }
.dashboard-page .v1-home-links button { border: 1px solid #747981; border-radius: 12px; padding: 14px 16px; min-height: 50px; font: inherit; font-size: 14px; font-weight: 700; color: #f2f3f5; background: linear-gradient(130deg,#282a2e,#17181b); box-shadow: inset 0 1px 0 #ffffff14; cursor: pointer; }
.dashboard-page .journey-secondary-actions { margin-top: 18px; }
.dashboard-page .journey-secondary-actions a, .dashboard-page .journey-secondary-actions button { background: transparent; border: 0; text-decoration: underline; color: #aaa; font-size: 12px; }
.dashboard-page .member-view-bar { background: #000f; gap: 10px; padding: 10px 0 16px; }
.dashboard-page .member-view-bar h1 { font-size: 15px; font-weight: 800; text-transform: uppercase; }
.dashboard-page .member-home-button { background: transparent; border: 0; color: #f5f3ef; padding: 8px 0; min-height: 44px; font-size: 14px; }
.dashboard-page .member-screen .dashboard-card { border-radius: 14px; padding: 16px; background: #141414; border-color: #262626; }
.dashboard-page .member-screen h2 { font-size: 19px; line-height: 1.3; }
.dashboard-page .member-screen h3 { font-size: 15px; }
.dashboard-page .dashboard-kicker { color: #ff8a3d; font-size: 11px; }
.dashboard-page .dashboard-card-copy, .dashboard-page .member-screen p { font-size: 13px; line-height: 1.6; }
.dashboard-page .daily-plan-choices { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 4px 2px 8px; }
.dashboard-page .daily-plan-choice { flex: 1 0 auto; min-height: 44px; padding: 10px 12px; font-size: 12px; border-radius: 999px; background: #141414; border: 1px solid #262626; color: #bbb; }
.dashboard-page .daily-plan-choice[aria-pressed='true'] { background: linear-gradient(135deg,#ff5b1e,#ffb020); color: #0b0b0e; border-color: transparent; }
.dashboard-page .exercise-card, .dashboard-page .meal-card { padding: 14px; border-radius: 12px; border-color: #262626; }
.dashboard-page .exercise-card h4, .dashboard-page .meal-card h4 { font-size: 16px; }
.dashboard-page .exercise-parameters dd { font-size: 18px; }
.dashboard-page .check-in-field-grid { grid-template-columns: minmax(0,1fr); }
.dashboard-page .v1-teacher-thread { display: flex; flex-direction: column; gap: 10px; }
.dashboard-page .v1-chat-bubble { max-width: 90%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #141414; border: 1px solid #262626; color: #f5f3ef; margin: 0; }
.dashboard-page .v1-chat-bubble.out { align-self: flex-end; border: 0; border-radius: 16px 16px 4px 16px; color: #0b0b0e; background: linear-gradient(135deg,#ff5b1e,#ffb020); }
.dashboard-page .v1-topic-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.dashboard-page .v1-topic-buttons button { border: 1px solid #ff5b1e; background: #141414; color: #ffad70; border-radius: 999px; padding: 10px 12px; min-height: 44px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.dashboard-page #guidedOffer { border: 1px solid #ff5b1e; background: #1a1108; border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.dashboard-page .v1-step-progress { display: flex; gap: 8px; margin: 10px 0; }
.dashboard-page .v1-step-progress span { height: 5px; flex: 1; border-radius: 8px; background: #333; }
.dashboard-page .v1-step-progress .active { background: linear-gradient(90deg,#ff5b1e,#ffb020); }
.dashboard-page input.v1-rating-slider { width: 100%; min-height: 44px; padding: 0; accent-color: #ff8121; background: transparent; border: 0; cursor: pointer; }
.v1-number-controls { display: flex; gap: 12px; margin-top: 8px; }
.v1-number-controls button { min-width: 44px; min-height: 44px; background: #141414; border: 1px solid #444; border-radius: 8px; color: white; font-size: 20px; }
.dashboard-page .journey-month, .dashboard-page #tutorialTopics article { border: 1px solid #262626; border-radius: 14px; background: #141414; padding: 14px; margin-bottom: 10px; }
.dashboard-page #tutorialTopics { display: grid; grid-template-columns: minmax(0,1fr); }
.account-page .account-header { min-height: 48px; max-width: 412px; border: 0; padding: 0 24px; width: 100%; }
.account-page .account-header .brand, .account-page .member-wordmark, .account-page .account-story { display: none; }
.account-page .account-home { font-size: 11px; color: #999; }
.account-page .account-layout { display: block; width: min(100%,412px); margin: 0 auto 40px; padding: 0 24px; }
.account-page .account-card { padding: 0; border: 0; border-radius: 0; background: #000; box-shadow: none; }
.v1-login-brand { text-align: center; }
.v1-login-brand img { display: block; height: auto; margin-left: auto; margin-right: auto; }
.v1-login-brand .v1-banner { width: min(320px,100%); margin-bottom: 22px; }
.v1-login-brand .v1-badge { width: 180px; height: 180px; object-fit: contain; margin-bottom: 24px; }
.account-page .account-card:not(.preview-open) > :not(.v1-login-brand) { max-width: 300px; margin-left: auto; margin-right: auto; }
.account-page h1 { font-size: 20px; letter-spacing: 0; text-align: center; }
.account-page .environment, .account-page #intro { text-align: center; }
.account-page .environment { font-size: 9px; margin-bottom: 10px; }
.account-page #intro { font-size: 12px; }
.account-page input { background: #141414; border-color: #262626; border-radius: 10px; }
.account-page label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #aaa; }
.account-page .primary { font-size: 13px; text-transform: uppercase; border-radius: 999px; }
.account-page .beta-entry-panel { background: #141414; border-color: #262626; }
.account-page .account-footer { max-width: 412px; font-size: 10px; }
.account-page .account-layout:has(.preview-open) { width: min(100%,1080px); }
.account-page .preview-open .v1-badge { display: none; }
.dashboard-page .coach-space { max-width: 760px; padding: 24px clamp(16px, 4vw, 28px) max(48px, env(safe-area-inset-bottom)); }
.dashboard-page .coach-space h1 { font-size: 22px; }
.dashboard-page .coach-space p { font-size: 14px; }
.dashboard-page .v1-coach-profile { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: #141414; border: 1px solid #262626; border-radius: 14px; }
.v1-coach-profile img { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #55402c; border-radius: 10px; object-fit: contain; }
.v1-coach-profile strong, .v1-coach-profile span { display: block; font-size: 14px; }
.v1-coach-profile span { font-size: 11px; color: #aaa; margin-top: 4px; }
.dashboard-page .coach-turn { max-width: 90%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #141414; border-color: #262626; font-size: 15px; line-height: 1.6; }
.dashboard-page .coach-turn[data-author='member'] { justify-self: end; border: 0; margin-left: 0; border-radius: 16px 16px 4px 16px; color: #0b0b0e; background: linear-gradient(135deg,#ff5b1e,#ffb020); }
.dashboard-page .coach-turn[data-author='member'] strong { color: #34200c; }
@media(min-width:760px) { .dashboard-page .member-header { padding-top: 40px; } }
@media(max-width:350px) { .dashboard-page .dashboard-shell > .container, .account-page .account-layout { padding-left: 18px; padding-right: 18px; } }

/* Fluid layouts, silver edges and restrained motion across member devices. */
.dashboard-page .journey-tile-grid button, .dashboard-page .v1-home-links button { overflow-wrap: anywhere; }
.dashboard-page .v1-home-links button:hover { border-color: #ff9a4e; color: #ffbd88; }
.dashboard-page .journey-secondary-actions { flex-wrap: wrap; gap: 12px 24px; }
.dashboard-page .journey-secondary-actions a, .dashboard-page .journey-secondary-actions button { min-height: 44px; padding: 10px 4px; color: #c7c9cd; text-underline-offset: 4px; }
.dashboard-page .member-screen .dashboard-card { padding: clamp(16px, 2.5vw, 24px); background: linear-gradient(140deg,#1c1d20,#121315); border-color: #44484e; }
.dashboard-page .btn-primary, .account-page .primary { border: 1px solid #c4c7cc; box-shadow: inset 0 1px 0 #ffffff45,0 4px 12px #0003; }
.dashboard-page .member-screen p, .dashboard-page .dashboard-card-copy { font-size: 14px; }
.dashboard-page .member-header { padding: 24px 20px 12px; }
.dashboard-page .member-brand-home { width: 96px; }
.dashboard-page .member-view-bar { flex-wrap: wrap; }
.dashboard-page .member-view-bar h1 { overflow-wrap: anywhere; }
.dashboard-page .daily-plan-choices { flex-wrap: wrap; overflow: visible; }
.dashboard-page button:focus-visible, .dashboard-page a:focus-visible { outline: 3px solid #ffb46f; outline-offset: 4px; }
@media(min-width:700px) { .dashboard-page .journey-tile-grid { gap: 16px; } .dashboard-page .journey-tile-grid button { min-height: 128px; } .dashboard-page .v1-home-links { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-page .check-in-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { .dashboard-page button, .dashboard-page a { transition: none; transform: none; } }

/* Member options use compact app spacing, not the public site's section spacing. */
.dashboard-page .member-screen :is(h1,h2,h3,h4,p,dd,a,button) { overflow-wrap: anywhere; }
.dashboard-page .member-screen details > summary { min-height: 44px; cursor: pointer; }
.dashboard-page .member-screen .dashboard-secondary > summary { padding: 12px 4px; }
.dashboard-page .member-screen .dashboard-detail-body { padding: 16px 4px; }
.dashboard-page .coaching-assessment-history { padding: 24px 0 0; }
.dashboard-page #tutorialTopics article { display: grid; gap: 12px; align-content: start; }
.dashboard-page .member-progress-links > button { width: 100%; }
.dashboard-page .coach-space #coachConversation { padding: 0; background: none; }
.dashboard-page .coach-space > a:first-child { display: flex; width: fit-content; align-items: center; min-height: 44px; }
@media(min-width:700px) { .dashboard-page #tutorialTopics { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; } }
.account-page .account-card a { color: #ffbd88; text-underline-offset: 4px; }
.account-page .account-start-links { display: grid; gap: 6px; margin: 16px auto; }
.account-page .account-start-links a { display: flex; align-items: center; min-height: 44px; line-height: 1.5; }
