/* 39.0 — Eflin Jaeger. Shared editorial hierarchy, deliberately scoped.
   brand.css owns colour semantics and orbit.css owns the three-ring motion. */
:root {
  --ej-radius:20px;
  --ej-shadow:0 8px 28px #08142616;
  --ej-space:24px;
  --ej-heading:'Sora','Figtree',sans-serif;
}
.eflin-app {line-height:1.5}
.eflin-app :is(button,a,input,select,textarea,summary):focus-visible {
  outline:2px solid var(--ej-accent)!important;outline-offset:4px;
}
.eflin-app button {transition:background .22s,border-color .22s,box-shadow .22s;}
.eflin-app button:disabled {cursor:default}
.eflin-app :is(h1,h2,h3) {text-wrap:balance}
.eflin-app :is(p,small) {text-wrap:pretty}
.ej-main {padding-top:24px!important}
.ej-app-header {padding:0 0 20px;margin-bottom:24px!important;border-bottom:1px solid color-mix(in srgb,var(--ej-line) 60%,transparent)}
.ej-app-header .ej-version {display:none}
.ej-app-header .ej-page-title {font-family:Figtree,sans-serif;font-size:16px!important;letter-spacing:.01em!important}
.ej-sidebar {background:linear-gradient(180deg,#1b2d4c,#172640)!important;border-right:1px solid #a6c4ff18!important;padding:32px 20px!important}
.ej-sidebar-brand {padding-bottom:32px!important}
.ej-sidebar-brand small {line-height:1.6;color:#bed0eb}
.ej-sidebar nav {gap:8px!important}
.ej-sidebar nav button {min-height:48px;padding:12px 16px!important;position:relative;border:1px solid transparent!important;box-shadow:none!important}
.ej-sidebar nav button[aria-current=page] {background:linear-gradient(105deg,#5cefc229,#5cefc20d)!important;color:#8ef5d5!important;border-color:#5cefc239!important;box-shadow:none!important}
.ej-sidebar nav button[aria-current=page]::after {content:'';width:5px;height:5px;border-radius:50%;background:currentColor;margin-left:auto}
.ej-sidebar-foot {border-top:1px solid #a6c4ff22;padding-top:20px}
.ej-sidebar-foot p {display:none}
.ej-board-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px}
.ej-overline,.ej-nutrition-toolbar .report-eyebrow,.report-heading .report-eyebrow {display:block;font:700 10px Figtree,sans-serif;letter-spacing:.16em;color:var(--ej-accent)}
.ej-board-heading h1,.ej-nutrition-toolbar h1,.report-heading h1 {font:600 clamp(27px,3.2vw,38px)/1.2 var(--ej-heading);letter-spacing:-.055em;margin:10px 0 12px}
.ej-board-heading p,.report-heading p {font-size:14px;color:var(--ej-muted);line-height:1.7;margin:0;max-width:520px}
.ej-board-heading time {white-space:nowrap;font-size:12px;color:var(--ej-muted);border-left:1px solid var(--ej-line);padding-left:20px}
.ej-greeting>div>div:first-child {font-size:clamp(28px,3.2vw,38px)!important;line-height:1.2!important}
.ej-greeting>div>div:nth-child(2) {margin-top:10px!important;max-width:520px;line-height:1.65}
.progress-orbit {border-radius:26px;box-shadow:var(--ej-shadow);margin-bottom:24px}
.orbit-heading {padding-bottom:8px}
.orbit-caption p {line-height:1.7}
.ej-activity-grid {gap:14px!important;margin-bottom:28px!important}
.ej-activity-card {border-radius:18px!important;box-shadow:none!important;min-height:148px;padding:22px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--ej-accent) 3%,var(--ej-panel)),var(--ej-panel))!important}
.ej-activity-card:hover {border-color:var(--ej-accent)!important}
.ej-workout-hero {border-radius:24px!important;padding:30px!important;min-height:260px!important;box-shadow:var(--ej-shadow)!important;margin-bottom:22px!important}
.ej-start-workout {border-radius:14px!important;min-height:54px!important;gap:14px!important;padding:12px 20px!important;box-shadow:0 6px 18px #08142630!important;letter-spacing:0}
.ej-start-icon {width:30px!important;height:30px!important;flex-shrink:0}
.ej-start-label {font:700 14px Figtree,sans-serif!important}
.ej-exercise-card,.ej-meal-card {border-radius:20px!important;padding:24px!important;border-color:color-mix(in srgb,var(--ej-line) 72%,transparent)!important;box-shadow:var(--ej-shadow)!important;margin-bottom:18px!important}
.ej-exercise-card:focus-within,.ej-meal-card:focus-within {border-color:var(--ej-accent)!important}
.ejSeg {border-radius:14px!important;padding:5px!important;gap:5px!important;margin-bottom:24px!important;box-shadow:none!important}
.ejSeg button {border-radius:10px!important;min-height:42px;font-family:Figtree,sans-serif!important;font-size:13px!important;letter-spacing:0!important}
.ej-nutrition-toolbar {align-items:center;gap:20px;margin-bottom:24px!important;padding:0!important;background:none!important;border:0!important}
.ej-nutrition-toolbar h1 {margin-bottom:10px}
.ej-nutrition-toolbar p {font-size:13px;color:var(--ej-muted);font-variant-numeric:tabular-nums}
.ej-nutrition-toolbar>button {min-height:48px;white-space:nowrap;border-radius:13px!important;font-size:14px!important;padding:12px 18px!important}
.ej-meal-shortcuts {gap:10px!important;padding:2px 0 12px!important;scroll-snap-type:x proximity}
.ej-meal-shortcuts button {padding:12px 16px!important;min-width:116px;border-radius:13px!important;scroll-snap-align:start;text-align:left;background:var(--ej-panel)!important}
.ej-meal-shortcuts button small {display:block;margin-top:5px;font-size:11px;color:var(--ej-muted)}
.ej-macro-strip {border-radius:18px!important;padding:20px!important;gap:24px!important;margin:10px 0 18px}
.ej-macro-strip>div>strong {font-family:var(--ej-heading);font-weight:600;font-size:25px}
.ej-macro-strip>div:nth-child(1) i {background:var(--ej-accent)!important}
.ej-macro-strip>div:nth-child(2) i {background:var(--ej-orange)!important}
.ej-macro-strip>div:nth-child(3) i {background:var(--ej-violet)!important}
.ej-target-details,.ej-nutrition-tools {border:1px solid var(--ej-line);border-radius:14px;margin:12px 0 20px;padding:0 16px}
.ej-target-details>summary,.ej-nutrition-tools>summary {min-height:48px;align-content:center;padding:12px 0;font-size:13px;color:var(--ej-muted);cursor:pointer}
.ej-target-details[open]>summary,.ej-nutrition-tools[open]>summary {color:var(--ej-text);margin-bottom:12px;border-bottom:1px solid var(--ej-line)}
.ej-empty-nutrition {padding:32px!important;border:1px solid var(--ej-line);background:linear-gradient(130deg,color-mix(in srgb,var(--ej-accent) 6%,var(--ej-panel)),var(--ej-panel))!important}
.ej-empty-nutrition>div:first-child {font-size:20px!important;font-weight:600!important}
.ej-chat-toolbar {align-items:center;min-height:48px;flex-wrap:wrap;padding:0 2px 12px;border-bottom:1px solid var(--ej-line)}
.ej-chat-title {margin-right:auto;font:600 17px var(--ej-heading);letter-spacing:-.035em}
.ej-chat-intro {padding:24px 8px 12px!important;gap:18px!important}
.ej-chat-intro h2 {font:600 clamp(23px,3vw,32px)/1.3 var(--ej-heading)!important;letter-spacing:-.05em;margin:0 0 8px!important}
.ej-chat-intro p {font-size:14px!important;line-height:1.7!important;color:var(--ej-muted)}
.ej-chat-starters {gap:10px!important;padding:0 8px 12px}
.ej-chat-starters button {border-radius:12px!important;padding:12px 14px!important;font-size:12px!important;line-height:1.5;text-align:left;background:var(--ej-panel)!important;border:1px solid var(--ej-line)!important}
.ej-chat-starters button:hover {border-color:var(--ej-accent)!important}
.ej-chat-log {border-radius:18px!important;box-shadow:none!important}
.ej-chat-bubble {line-height:1.8!important;font-size:15px!important}
.ej-chat-message {margin-bottom:22px!important}
.ej-composer {border-radius:18px!important;border:1px solid var(--ej-line)!important;background:var(--ej-panel)!important;box-shadow:0 6px 24px #08142618!important;padding:12px!important}
.ej-composer:focus-within {border-color:var(--ej-accent)!important}
.ej-composer textarea {line-height:1.6;resize:vertical;max-height:160px}
.nutrition-draft {box-shadow:var(--ej-shadow)!important;border:1px solid color-mix(in srgb,var(--ej-accent) 28%,var(--ej-line))!important}
.draft-header {padding-bottom:16px;border-bottom:1px solid var(--ej-line);gap:14px;align-items:flex-start!important}
.draft-header h3 {font-weight:600!important;letter-spacing:-.04em}
.draft-badge {font-size:10px!important;padding:6px 9px!important;white-space:normal;text-align:center;max-width:120px;line-height:1.5}
.draft-totals {padding:18px 0!important;background:none!important;border-bottom:1px solid var(--ej-line);margin-bottom:18px}
.draft-meal {background:color-mix(in srgb,var(--ej-panel) 90%,var(--ej-accent))!important;border:1px solid color-mix(in srgb,var(--ej-line) 65%,transparent)!important}
.draft-meal-title {gap:12px!important;padding-bottom:8px}
.draft-meal-title select {font-weight:600!important}
.draft-food {padding-block:12px!important}
.draft-food-name {font-size:14px;line-height:1.6;font-weight:500}
.draft-food-name small {font-size:10px}
.draft-notes {font-size:12px;line-height:1.7}
.report-heading {margin-bottom:28px}
.report-week {width:fit-content;max-width:100%;gap:16px;padding:8px;border-radius:14px;margin-bottom:24px}
.report-metrics {gap:14px;margin-bottom:20px}
.report-metrics>button {padding:22px;border-radius:18px;gap:14px;box-shadow:none}
.report-metrics strong {font:600 clamp(25px,3vw,34px)/1.2 var(--ej-heading)}
.report-metrics>button:nth-child(2) i {color:var(--ej-orange)}
.report-metrics>button:nth-child(3) i {color:var(--ej-violet)}
.report-metrics>button:nth-child(4) i {color:var(--ej-warning)}
.report-focus {border:0!important;background:none!important;padding:12px 0 24px!important;gap:16px}
.report-columns {grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:20px}
.report-panel {padding:28px;box-shadow:var(--ej-shadow);border-color:color-mix(in srgb,var(--ej-line) 72%,transparent)}
.report-panel h2 {font:600 21px/1.4 var(--ej-heading);letter-spacing:-.04em}
.report-score {background:radial-gradient(ellipse at 100% 0%,#5cefc215,transparent 70%),var(--ej-panel)}
.report-score-number {font-size:70px;margin-top:24px;color:var(--ej-accent)}
.report-bar-track {width:28px;border-radius:8px}
.report-bar-track>span {background:linear-gradient(0deg,#429ee4,var(--ej-accent));border-radius:8px}
.report-weight,.report-review {margin-top:20px}
.report-weight svg {margin-top:20px}
.ej-cardio>div,.ej-supplements>div {border-radius:20px}
.ej-account-panel {border-color:var(--ej-line)!important;padding:26px!important;box-shadow:var(--ej-shadow)!important;scrollbar-width:thin}
.ej-account-panel>div:first-child {margin:-26px -26px 24px!important;padding:26px!important}
.ej-setup {max-width:600px!important;padding:32px 24px!important;background:transparent!important}
.ej-setup>div:first-child {padding-bottom:28px!important}
.ej-setup>div:first-child>div:first-child>div>div:last-child {font:600 26px/1.3 var(--ej-heading)!important;letter-spacing:-.05em}
.ej-auth-shell,.authcard {border-radius:26px!important;border:1px solid #8ab6f32b!important;box-shadow:0 30px 100px #07142966!important}
.ej-auth-story,.auth-story {padding:40px!important}
.ej-auth-motto h2,.auth-story h2 {font-weight:500!important;font-size:clamp(32px,3.6vw,46px)!important;line-height:1.2!important;letter-spacing:-.055em!important}
.ej-auth-motto p,.auth-story p {line-height:1.8!important;color:#d1def0!important}
.ej-auth-form,.auth-form {padding:44px!important;background:#203452!important}
.ej-auth-form h1,.auth-form h3 {font-weight:600!important;font-size:30px!important;letter-spacing:-.055em!important;line-height:1.3}
.ej-auth-description,.asub {font-size:14px!important;line-height:1.7!important;color:#c3d2e9!important;margin-bottom:26px!important}
.ej-auth-field label,.auth-form label {font-size:12px!important;letter-spacing:0!important;font-weight:600!important;color:#d5e1f2!important}
.ej-auth-field input,.auth-form input {min-height:50px!important;border-radius:12px!important;border-color:#506b90!important;background:#192d4a!important;color:#f0f6ff!important;box-shadow:none!important}
.ej-auth-tabs,.amode {border-radius:12px!important;padding:5px!important;background:#172b46!important;margin-bottom:24px!important}
.ej-auth-tabs button,.amode button {min-height:40px;border-radius:8px!important;font-size:13px!important}
.ej-auth-tabs button[aria-pressed=true],.amode button.on {background:#375779!important;color:#fff!important;box-shadow:0 2px 8px #0001}
.ej-auth-submit,.abtn {min-height:50px!important;border-radius:12px!important;background:linear-gradient(100deg,#7bf1cc,#59e8bd)!important;color:#09382e!important;font-size:14px!important;font-weight:700!important;box-shadow:none!important}
.ej-auth-note {font-size:11px!important;line-height:1.8!important;padding-top:20px;border-top:1px solid #ffffff1c;margin-top:26px!important}
/* Landing: generous editorial sections, one clear action per block. */
.nav {border-bottom:1px solid #a6c4ff22;backdrop-filter:blur(20px)}
.hero h1 {font-size:clamp(58px,7.4vw,112px);line-height:1.02;letter-spacing:-.065em;font-weight:500}
.hero-copy>p {font-size:18px;line-height:1.8;max-width:440px;color:#d6e2f3}
.hero .overline {letter-spacing:.18em;font-size:10px}
.hero-actions {gap:24px}
.button {border-radius:12px!important;padding:16px 23px;font-weight:700;box-shadow:0 8px 24px #0b1e3720}
.button.small {padding:11px 16px}
.text-link {font-size:13px}
.manifesto {padding-block:68px;border-bottom:1px solid #a6c4ff22}
.manifesto p {font-weight:400;letter-spacing:-.035em;line-height:1.45}
.section {padding-block:100px}
.section h2,.final-cta h2 {font-weight:500;letter-spacing:-.055em;line-height:1.15}
.section-copy>p {font-size:16px;line-height:1.85;color:#c3d2e9;max-width:430px}
.overline {font-weight:700}
.orbit-demo,.coach-demo {border-radius:24px;padding:30px;border:1px solid #647fa34d;box-shadow:0 16px 48px #07142924}
.feature-grid {gap:0;border-block:1px solid #a6c4ff26}
.feature-grid article {border:0!important;border-right:1px solid #a6c4ff26!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:36px 28px}
.feature-grid article:last-child {border-right:0!important}
.feature-number {color:#7ceecb;font-size:12px}
.feature-grid h3 {font-weight:500;font-size:24px;letter-spacing:-.04em}
.feature-grid p {font-size:14px;line-height:1.8;color:#c3d2e9}
.feature-line {font-size:9px;letter-spacing:.15em}
.final-cta {padding-block:90px;background:radial-gradient(ellipse at 50% 120%,#57eec222,transparent 65%)}
.footer {padding-block:32px;border-top:1px solid #a6c4ff22}
[data-theme=light] .ej-sidebar {background:#eef3fc!important;border-color:#ccd9ed!important}
[data-theme=light] .ej-sidebar nav button[aria-current=page] {background:#087c6112!important;color:#087c61!important;border-color:#087c6129!important}
[data-theme=light] .ej-sidebar-brand small {color:#506780}
[data-theme=light] .report-score {background:linear-gradient(130deg,#e8faf3,#fff)}
[data-theme=light] .report-bar-track>span {background:linear-gradient(0deg,#3d86c6,#087c61)}
@media(min-width:1100px) {
 .ej-main {padding-inline:32px!important}
 .ej-main[data-board=report] {max-width:1280px!important}
 .ej-cardio,.ej-supplements {max-width:900px;margin-inline:auto}
}
@media(max-width:760px) {
 .ej-main {padding:16px 16px 0!important}
 .ej-app-header {margin-bottom:20px!important;padding-bottom:14px}
 .ej-board-heading {gap:12px;margin-bottom:22px;align-items:flex-start}
 .ej-board-heading time {font-size:10px;padding-left:12px;margin-top:5px}
 .ej-board-heading p {font-size:13px}
 .ej-board-heading h1,.ej-nutrition-toolbar h1,.report-heading h1 {font-size:27px}
 .ej-workout-hero {padding:22px!important;min-height:240px!important}
 .ej-exercise-card,.ej-meal-card {padding:18px!important}
 .ej-activity-grid {gap:8px!important}
 .ej-activity-card {padding:16px 12px!important;min-height:135px}
 .ej-nutrition-toolbar {align-items:flex-start;flex-wrap:wrap}
 .ej-nutrition-toolbar>button {min-height:44px!important}
 .ej-macro-strip {gap:12px!important;padding:16px!important}
 .ej-macro-strip>div>strong {font-size:22px}
 .ej-chat-intro {padding:18px 2px 8px!important;gap:12px!important}
 .ej-chat-starters {padding-inline:0;flex-wrap:nowrap!important;overflow-x:auto;flex-shrink:0;scroll-snap-type:x proximity}
 .ej-chat-starters button {min-width:180px;scroll-snap-align:start;flex-shrink:0}
 .ej-chat-title {font-size:14px}
 .ej-chat-toolbar {gap:4px!important}
 .ej-chat-toolbar>button {font-size:10px!important;padding:8px!important}
 .ej-chat-bubble {font-size:14px!important}
 .ej-composer {padding:8px!important}
 .report-week {gap:8px;width:100%;justify-content:space-between}
 .report-week strong {font-size:12px}
 .report-week .report-today {padding:0 10px;margin-left:0}
 .report-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .report-metrics>button {padding:18px;gap:10px}
 .report-columns {grid-template-columns:1fr}
 .report-panel {padding:20px}
 .report-focus {flex-wrap:wrap}
 .report-section-heading {flex-wrap:wrap;gap:12px}
 .ej-account-panel {padding:20px!important}
 .ej-account-panel>div:first-child {margin:-20px -20px 20px!important;padding:20px!important}
 .ej-auth-form,.auth-form {padding:28px 22px!important}
 .ej-auth-story,.auth-story {padding:24px!important}
 .ej-auth-shell,.authcard {border-radius:20px!important}
 .hero h1 {font-size:clamp(48px,11vw,76px)}
 .hero-copy>p {font-size:16px}
 .hero-actions {gap:18px;flex-wrap:wrap}
 .section {padding-block:60px}
 .manifesto {padding-block:40px}
 .orbit-demo,.coach-demo {padding:20px}
 .feature-grid article {padding:28px 10px;border-right:0!important;border-bottom:1px solid #a6c4ff26!important}
 .feature-grid article:last-child {border-bottom:0!important}
 .final-cta {padding-block:64px}
}
@media(prefers-reduced-motion:reduce) {
 .eflin-app button {transition:none}
 .ej-activity-card:hover,.ej-start-workout:hover {transform:none!important}
}
.ej-membership {background:var(--ej-panel)!important;border-color:var(--ej-line)!important;border-radius:18px!important;box-shadow:none!important;padding:22px!important}
.ej-admin-panel {padding-top:20px}
.ej-admin-panel .ej-board-heading h1 {font-size:24px}
/* Keep the editor usable on short screens and with the software keyboard open. */
.ej-coach-expanded>.ej-chat-log {min-height:0!important}
.ej-coach-expanded .ej-chat-toolbar,.ej-coach-expanded .ej-composer {flex-shrink:0}
@media(max-height:620px) {
 .ej-coach-expanded .ej-chat-intro {display:none!important}
 .ej-coach-expanded .ej-chat-starters {display:none!important}
}
.ejSeg button[aria-pressed=true] {background:var(--ej-accent)!important;color:var(--ej-accent-ink)!important;box-shadow:0 2px 8px #08142618!important}
.ejSeg button[aria-pressed=false]:hover {background:var(--ej-soft)!important}
.ej-setup button[aria-pressed=true] {box-shadow:inset 3px 0 var(--ej-accent);border-color:var(--ej-accent)!important}
/* 39.1: each workspace has a distinct accent and composition. */
.eflin-app {background:radial-gradient(ellipse at 90% 0%,#496ef02b,transparent 48%),radial-gradient(ellipse at 0% 75%,#20bb9a10,transparent 50%),#172842!important}
.ej-main {--board-accent:#62f0bf}
.ej-main[data-board=workout],.ej-main[data-board=cardio] {--board-accent:#a9baff}
.ej-main[data-board=nutrition],.ej-main[data-board=supps] {--board-accent:#ffc58c}
.ej-main[data-board=report] {--board-accent:#c5b1ff}
.ej-board-heading,.ej-nutrition-toolbar,.report-heading {border-left:3px solid var(--board-accent);padding-left:18px!important}
.ej-board-heading .ej-overline,.ej-nutrition-toolbar .report-eyebrow,.report-heading .report-eyebrow {color:var(--board-accent)}
.ej-exercise-card {background:linear-gradient(120deg,#627ff50a,transparent 55%),var(--ej-panel)!important;border-left:3px solid #95a9ff!important}
.ej-meal-card {background:linear-gradient(125deg,#ffc58c0e,transparent 55%),var(--ej-panel)!important;border-left:3px solid #ffc58c!important}
.ej-cardio>div {border-top-color:#8db7ff!important}
.ej-supplements>div {border-top-color:#dfbcff!important}
.report-score {background:radial-gradient(ellipse at 90% 0%,#b596ff25,transparent 65%),var(--ej-panel)!important}
.report-score-number {color:var(--ej-violet)}
@keyframes ejPlanConstruct {
  0% {opacity:0;transform:translateY(34px) scale(.96);clip-path:inset(0 0 100% 0 round 20px)}
  55% {opacity:var(--card-opacity,1);clip-path:inset(0 0 0 0 round 20px)}
  78% {transform:translateY(-3px) scale(1)}
  100% {opacity:var(--card-opacity,1);transform:translateY(0) scale(1);clip-path:inset(0 0 0 0 round 20px)}
}
.ej-exercise-card,.ej-meal-card {animation:ejPlanConstruct 1.15s cubic-bezier(.16,.8,.22,1) both!important;animation-delay:calc(var(--entry-order,0)*210ms)!important;transform-origin:50% 0}
.ej-weight-trend {--weight-color:#76baff;border:1px solid var(--ej-line);border-radius:24px;background:radial-gradient(ellipse at 100% 0%,#6793ff18,transparent 60%),var(--ej-panel);padding:28px;margin-bottom:24px;min-width:0}
.ej-weight-trend header {display:flex;align-items:center;justify-content:space-between;gap:16px}
.ej-weight-trend h2 {font:600 24px/1.3 var(--ej-heading);letter-spacing:-.045em;margin:8px 0 0}
.weight-ranges {display:flex;border:1px solid var(--ej-line);background:var(--ej-bg);padding:4px;border-radius:11px;gap:3px}
.weight-ranges button {border:0;background:transparent;color:var(--ej-muted);padding:8px 11px;min-height:36px;font-size:12px;border-radius:7px;cursor:pointer;white-space:nowrap}
.weight-ranges button[aria-pressed=true] {background:#76baff;color:#122d4d;font-weight:700}
.weight-summary {display:flex;align-items:center;gap:34px;padding:24px 0}
.weight-summary>div {display:grid;gap:8px}
.weight-summary>div+div {border-left:1px solid var(--ej-line);padding-left:24px}
.weight-summary strong {font:600 38px/1 var(--ej-heading);letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.weight-summary strong small {font:500 14px Figtree,sans-serif;color:var(--ej-muted)}
.weight-summary b {font-size:18px;font-weight:600}
.weight-summary span {font-size:11px;color:var(--ej-muted)}
.weight-selection {display:flex;gap:12px;align-items:center;padding:10px 14px;background:color-mix(in srgb,var(--weight-color) 8%,transparent);border-radius:10px;font-size:12px}
.weight-selection b {color:var(--weight-color)}
.weight-selection small {margin-left:auto;color:var(--ej-muted)}
.weight-chart {display:block;width:100%;height:auto;margin:16px 0 0;overflow:visible}
.weight-chart [role=button] {cursor:pointer;outline:none}
.weight-chart [role=button]:focus-visible circle:last-child {stroke:var(--ej-text);stroke-width:4}
.weight-note {font-size:11px;line-height:1.7;color:var(--ej-muted);margin:6px 0 12px}
.weight-records {border-top:1px solid var(--ej-line);font-size:12px;padding:12px 0}
.weight-records summary {cursor:pointer;color:var(--ej-muted)}
.weight-records button {display:flex;justify-content:space-between;width:100%;padding:10px 12px;background:transparent;color:var(--ej-text);border:0;border-bottom:1px solid var(--ej-line);cursor:pointer}
.weight-records button[aria-pressed=true] {background:color-mix(in srgb,var(--weight-color) 10%,transparent)}
.weight-entry {display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;border-top:1px solid var(--ej-line);padding-top:16px}
.weight-entry label {flex:1;min-width:150px;font-size:12px;font-weight:600}
.weight-entry label>span {font-size:10px;font-weight:400;color:var(--ej-muted);margin-left:8px}
.weight-entry input {display:block;margin-top:8px;width:100%;background:var(--ej-bg);color:var(--ej-text);border:1px solid var(--ej-line);border-radius:12px;padding:12px 14px;min-height:46px;font-size:16px}
.weight-entry>button {border:0;min-height:46px;padding:12px 18px;border-radius:12px;background:var(--weight-color);color:#102d48;font-weight:700;cursor:pointer}
.weight-entry>button:disabled {opacity:.4;cursor:default}
.weight-entry>[role=status] {width:100%;font-size:12px;color:var(--ej-success)}
.weight-entry>[role=status]:empty {display:none}
.weight-empty {padding:35px 0;color:var(--ej-muted)}
.weight-empty svg {color:var(--weight-color)}
.weight-empty h3 {font-size:18px;color:var(--ej-text);margin:16px 0 8px}
.weight-empty p {font-size:13px;line-height:1.7}
.ej-account-panel {max-height:82dvh!important;border-radius:24px!important;position:relative}
.profile-tab {width:100%;border:0;text-align:left;border-radius:10px!important;gap:12px;min-height:48px;color:var(--ej-text)}
.profile-tab[aria-expanded=true] {background:color-mix(in srgb,var(--ej-accent) 12%,var(--ej-panel))!important;box-shadow:inset 3px 0 var(--ej-accent)}
.profile-overview {background:radial-gradient(ellipse at 100% 0%,#6d8fff25,transparent 65%),var(--ej-bg);padding:28px;border:1px solid var(--ej-line);border-radius:20px;margin:20px 0 28px}
.profile-overview h2 {font:600 28px/1.25 var(--ej-heading);letter-spacing:-.05em;margin:10px 0}
.profile-overview p {font-size:13px;line-height:1.7;color:var(--ej-muted);margin:0}
.profile-overview>div {display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.profile-overview>div>span {display:grid;gap:8px;font-size:11px;color:var(--ej-muted)}
.profile-overview b {color:var(--ej-text);font:600 27px var(--ej-heading)}
.profile-overview b small {font:400 12px Figtree,sans-serif;color:var(--ej-muted)}
.profile-section-title {font:600 19px var(--ej-heading);letter-spacing:-.035em;margin:28px 0 18px;padding-top:22px;border-top:1px solid var(--ej-line)}
.ej-profile-editor>div {line-height:1.7}
.ej-profile-editor input {min-height:48px}
.ej-profile-editor button {min-height:40px;font-size:12px!important}
[data-theme=light] .eflin-app {background:radial-gradient(ellipse at 90% 0%,#87a7ff20,transparent 55%),#f1f5ff!important}
[data-theme=light] .ej-main {--board-accent:#087c61}
[data-theme=light] .ej-main[data-board=workout],[data-theme=light] .ej-main[data-board=cardio] {--board-accent:#405ab0}
[data-theme=light] .ej-main[data-board=nutrition],[data-theme=light] .ej-main[data-board=supps] {--board-accent:#a64d18}
[data-theme=light] .ej-main[data-board=report] {--board-accent:#7543ba}
[data-theme=light] .ej-weight-trend {--weight-color:#2865a7}
[data-theme=light] .weight-entry>button {color:#fff}
@media(max-width:760px) {
 .ej-weight-trend {padding:20px;border-radius:20px}
 .ej-weight-trend header {flex-wrap:wrap;gap:14px}
 .ej-weight-trend h2 {font-size:23px}
 .weight-summary {gap:16px;padding:24px 0}
 .weight-summary>div+div {padding-left:12px}
 .weight-summary strong {font-size:29px}
 .weight-summary b {font-size:15px}
 .weight-summary span {font-size:10px}
 .profile-overview {padding:20px}
 .profile-overview h2 {font-size:24px}
 .profile-overview b {font-size:22px}
 .profile-overview>div {gap:12px}
}
@media(prefers-reduced-motion:reduce) {.ej-exercise-card,.ej-meal-card {animation:none!important;clip-path:none!important;transform:none!important}}
/* 39.2 — more room for content, quiet navigation, deliberate accent surfaces. */
:root {--ej-bg:#101F32;--ej-panel:#1C3850;--ej-soft:#284B63;--ej-line:#506C8D;--ej-text:#F2F7FF;--bg:#101F32;--panel:#1C3850;--line:#506C8D;--ink:#F2F7FF;--ej-shadow:0 10px 28px #071e3416}
.eflin-app {background:radial-gradient(ellipse at 85% -10%,#537ae82c,transparent 48%),radial-gradient(ellipse at 0% 85%,#39d7b110,transparent 50%),var(--ej-bg)!important}
.ej-main {max-width:1220px!important}
.ej-sidebar {background:linear-gradient(180deg,#203852,#172d46)!important;border-right-color:#6387aa30!important}
.ej-sidebar-brand {margin-bottom:28px!important}
.ej-sidebar nav button {border-radius:13px!important}
.ej-sidebar nav button[aria-current=page] {background:#65ecc31a!important;border-color:#65ecc334!important;color:#a0f5db!important}
.ej-app-header {border-bottom-color:color-mix(in srgb,var(--ej-line) 45%,transparent)}
.ej-board-heading,.ej-nutrition-toolbar,.report-heading {border-left:0;padding-left:0!important;position:relative}
.ej-board-heading .ej-overline::before,.ej-nutrition-toolbar .report-eyebrow::before,.report-heading .report-eyebrow::before {content:'';display:inline-block;width:18px;height:2px;vertical-align:middle;margin-right:9px;background:var(--board-accent)}
.ej-board-heading h1,.ej-nutrition-toolbar h1,.report-heading h1 {letter-spacing:-.045em;line-height:1.25}
.ej-board-heading time {background:var(--ej-panel);border:1px solid var(--ej-line);border-radius:10px;padding:9px 12px}
.progress-orbit {background:radial-gradient(ellipse at 50% 65%,#63eac40e,transparent 70%),linear-gradient(135deg,#2b4668,#213951)!important;border-color:#6f94bd48;box-shadow:0 20px 46px #081c3020}
.ej-activity-card {border-top:2px solid #76baff!important;background:var(--ej-panel)!important}
.ej-activity-card:nth-child(2) {border-top-color:#ffc58c!important}
.ej-activity-card:nth-child(3) {border-top-color:#bca6ff!important}
.ej-workout-hero {border-color:#7898ca66!important;min-height:290px!important}
.ej-start-workout {background:#94f1d3!important;color:#113e33!important;border-color:#bcffe9!important;font-weight:700}
.ej-start-workout:disabled {background:var(--ej-soft)!important;color:var(--ej-muted)!important;border-color:var(--ej-line)!important;box-shadow:none!important}
.ej-meal-card {border-left-width:1px!important;border-top:2px solid #ffc58c!important}
.ej-exercise-card {border-left-width:1px!important;border-top:2px solid #a9baff!important}
.ej-macro-strip {background:linear-gradient(120deg,#ffc58c09,transparent),var(--ej-panel)!important;border:1px solid var(--ej-line)}
.report-week {background:transparent;border-color:var(--ej-line)}
.report-metrics>button {background:var(--ej-panel);border-bottom:2px solid #7898d1}
.report-metrics>button:nth-child(2) {border-bottom-color:#ffc58c}
.report-metrics>button:nth-child(3) {border-bottom-color:#62e9c3}
.report-metrics>button:nth-child(4) {border-bottom-color:#c6b1ff}
.report-panel {border-radius:22px}
.report-history {background:var(--ej-panel)}
.report-score {background:radial-gradient(ellipse at 100% 0%,#b798ff28,transparent 75%),var(--ej-panel)!important}
.report-review {background:linear-gradient(100deg,#62e9c30b,transparent),var(--ej-panel)}
.ej-profile-editor .profile-overview {background:linear-gradient(120deg,#325475,#273f5f);border-color:#6e93bd55}
.ej-profile-editor .profile-section-title {margin-top:30px;color:var(--ej-text)}
.ej-account-panel {border-color:#7199bd66!important}
/* The normal chat is the large chat: no modal, no extra header, no zoom. */
.ej-main[data-board=coach] {max-width:1500px!important;padding-top:14px!important}
.ej-main[data-board=coach] .ej-app-header {margin-bottom:12px!important;padding-bottom:12px!important}
.ej-coach-workspace {height:calc(100dvh - 115px)!important;min-height:280px!important;max-height:none;gap:8px;position:relative}
.ej-coach-workspace>.ej-chat-log {flex:1;min-height:0!important;height:auto!important;border:0!important;background:transparent!important;border-radius:0!important;padding:18px clamp(8px,2vw,30px)!important;margin:0!important;box-shadow:none!important}
.ej-chat-message {max-width:1120px;margin:0 auto 26px!important}
.ej-chat-bubble[data-role=assistant] {max-width:calc(100% - 36px)!important;padding:4px 2px!important;background:transparent!important;line-height:1.85!important}
.ej-chat-bubble[data-role=user] {max-width:78%!important;background:#355b85!important;color:#f1f7ff!important;border:1px solid #7097c54a!important;border-radius:18px 18px 5px 18px!important;padding:13px 18px!important}
.ej-coach-workspace>.ej-composer {flex-shrink:0;width:100%;max-width:1180px;align-self:center;background:var(--ej-panel)!important;border:1px solid #7292b273!important;border-radius:20px!important;padding:12px!important;align-items:flex-end;box-shadow:0 10px 32px #061a3022!important}
.ej-composer textarea {min-height:56px;max-height:180px;line-height:1.7;resize:vertical}
.ej-composer button[aria-label=Gönder] {background:#83efd0!important;border-radius:12px!important}
.ej-composer button[aria-label=Gönder]:disabled {background:var(--ej-soft)!important}
.ej-mic-status:empty {display:none!important}
.ej-chat-options {flex-shrink:0;position:relative;align-self:flex-end;margin-bottom:6px}
.ej-chat-options>summary {list-style:none;width:34px;height:36px;display:grid;place-items:center;border-radius:10px;color:var(--ej-muted);cursor:pointer}
.ej-chat-options>summary::-webkit-details-marker {display:none}
.ej-chat-options>summary:hover,.ej-chat-options[open]>summary {background:var(--ej-soft);color:var(--ej-text)}
.ej-chat-options-panel {position:absolute;left:0;bottom:calc(100% + 16px);width:245px;max-width:calc(100vw - 50px);padding:8px;background:var(--ej-panel);border:1px solid var(--ej-line);box-shadow:0 12px 38px #081b3455;border-radius:14px;z-index:20}
.ej-chat-options-panel button {width:100%;display:flex;align-items:center;gap:8px;padding:12px;background:none;border:0;border-radius:8px;color:var(--ej-text);font-size:12px;text-align:left;cursor:pointer}
.ej-chat-options-panel button:hover {background:var(--ej-soft)}
.ej-chat-options-panel button:disabled {opacity:.45;cursor:default}
.ej-chat-options-panel p {font-size:12px;line-height:1.7;margin:8px;color:var(--ej-muted)}
.nutrition-draft {width:100%;max-width:980px!important;background:var(--ej-panel)!important;border-radius:22px!important;padding:24px!important}
.draft-meal {background:color-mix(in srgb,var(--ej-bg) 65%,var(--ej-panel))!important}
.hero-shade {background:linear-gradient(90deg,#101F32,#101F32ce 23%,transparent 78%),linear-gradient(0deg,#101F32,transparent 35%)}
.orbit-demo,.coach-demo {background:var(--ej-panel);border-color:#6f94bd55}
.auth-form,.ej-auth-form {background:#1C3850!important}
[data-theme=light] {--ej-bg:#F2F6FC;--ej-panel:#fff;--ej-soft:#E7EEF9;--ej-line:#C8D6EA;--ej-text:#163247;--bg:#F2F6FC;--panel:#fff;--line:#C8D6EA;--ink:#163247}
[data-theme=light] .ej-sidebar {background:#eaf1fb!important}
[data-theme=light] .ej-sidebar nav button[aria-current=page] {color:#087c61!important;background:#0b8a6c10!important;border-color:#0b8a6c30!important}
[data-theme=light] .progress-orbit {background:radial-gradient(ellipse at 50% 65%,#71dec414,transparent 70%),#fff!important}
[data-theme=light] .profile-overview {background:linear-gradient(120deg,#e6f1ff,#fff)!important}
[data-theme=light] .ej-chat-bubble[data-role=user] {background:#ddeaff!important;color:#1d3762!important;border-color:#bfd2ec!important}
@media(max-width:1049px) {
 .ej-coach-workspace {height:calc(100dvh - 180px)!important}
 .ej-main[data-board=coach] {padding-inline:12px!important}
 .ej-coach-workspace>.ej-chat-log {padding:14px 2px!important}
 .ej-coach-workspace>.ej-composer {padding:8px!important;border-radius:16px!important}
 .ej-composer textarea {min-height:48px}
 .ej-chat-bubble[data-role=user] {max-width:88%!important}
 .ej-chat-options>summary {width:26px}
 .ej-chat-message {margin-bottom:20px!important}
 .nutrition-draft {padding:16px!important;border-radius:17px!important}
 .ej-workout-hero {min-height:250px!important}
}
@media(prefers-reduced-motion:reduce) {.ej-chat-options-panel {animation:none}}

.ej-composer-input {min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
