/* Executive workspace: one typographic and spatial system across all palettes. */
:root {
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 18px var(--shadow-color);
}

body { font-size: 0.875rem; line-height: 1.55; letter-spacing: -.008em; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; }
p { line-height: 1.7; }
.eyebrow, .tiny-caps, .page-eyebrow, .side-label { font-weight: 600; letter-spacing: .085em; }
.page-eyebrow { font-size: 0.625rem; margin-bottom: 11px; }
.page-heading { padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.page-heading h1, .practice-title h1 { font-size: clamp(1.75rem, calc(2.4vw * var(--ui-type-scale)), 2.25rem); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.page-heading p { max-width: 780px; margin-top: 12px; line-height: 1.7; font-size: 0.875rem; }
.section-heading { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.section-row { margin-bottom: 18px; }
.section-row .page-eyebrow { font-size: 0.625rem; margin-bottom: 7px; }
.heading-spark { display: none; }
.quiet-label { font-size: 0.625rem; font-weight: 500; letter-spacing: .07em; }
.secondary-text { line-height: 1.7; }
.disclaimer { font-size: 0.6875rem; line-height: 1.75; }

/* A quiet side rail and a consistent utility bar frame the working area. */
.sidebar { width: 248px; padding: 30px 18px 20px; }
.sidebar > .brand { margin: 0 11px 34px; }
.brand { font-size: 0.6875rem; gap: 12px; }
.brand b { font-size: 0.9375rem; font-weight: 650; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 39px; border-radius: 7px; font-size: 1.6875rem; font-weight: 600; }
.nav-section-label { padding: 0 12px 11px; font-size: 0.625rem; font-weight: 600; letter-spacing: .08em; }
.nav-section-label.coaching-nav-label { padding-bottom: 12px; font-size: 0.5625rem; letter-spacing: .05em; }
.nav-section-label.second { padding-top: 23px; margin-top: 22px; border-top: 1px solid var(--line); }
.sidebar-nav { gap: 4px; }
.nav-item, .area-navigation .nav-item { position: relative; min-height: 44px; padding: 11px 12px; border: 1px solid transparent; border-radius: 6px; font-size: 0.75rem; line-height: 1.55; font-weight: 500; gap: 11px; }
.nav-item svg { width: 17px; height: 17px; stroke-width: 1.65; }
.nav-item.active, .area-navigation .nav-item.active, .area-navigation .nav-item.area-current { color: var(--primary); background: var(--primary-l); border-color: var(--line); box-shadow: inset 3px 0 0 var(--primary); font-weight: 600; }
.nav-item:hover, .area-navigation .nav-item:hover { background: var(--surface-hover); color: var(--primary); }
.nav-pill { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 0.625rem; background: var(--surface); font-weight: 500; }
.nav-item.active .nav-pill { color: var(--primary); background: var(--surface); }
.area-navigation { padding-bottom: 22px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.sidebar-bottom { padding-top: 26px; }
.side-profile { gap: 10px; padding-top: 18px; }
.side-profile-text strong { font-size: 0.75rem; font-weight: 600; }
.side-profile-text small { font-size: 0.625rem; line-height: 1.5; }
.avatar, .top-avatar { font-weight: 600; border-radius: 8px; }
.topbar { height: 72px; padding-inline: 42px; }
.breadcrumb { font-size: 0.75rem; }
.breadcrumb b { font-weight: 600; }
.top-actions { gap: 19px; }
.top-date, .workspace-status { font-size: 0.6875rem; }
.appearance-button { border-radius: 6px; font-size: 0.6875rem; font-weight: 600; min-height: 34px; }
.main-content { max-width: 1480px; padding: 39px 42px 50px; }
.app-footer { padding: 19px 42px; font-size: 0.625rem; line-height: 1.7; }
.toast-area { left: calc(50% + 124px); }

/* The three areas read as a deliberate portfolio, with a clear entry action. */
.pathway-grid { gap: 20px; }
.pathway-card { min-height: 360px; padding: 27px; border-radius: 9px; border-top: 3px solid var(--primary); box-shadow: none; }
.pathway-card:hover { transform: none; border-color: var(--accent-line); box-shadow: var(--shadow); }
.pathway-number { font-size: 0.625rem; font-weight: 600; letter-spacing: .07em; }
.pathway-icon { width: 36px; height: 36px; margin: 28px 0 20px; border: 0; border-radius: 0; background: transparent; }
.pathway-icon svg { width: 29px; height: 29px; stroke-width: 1.4; }
.pathway-card h2 { max-width: 310px; font-size: 1.625rem; font-weight: 600; line-height: 1.23; letter-spacing: -.035em; }
.pathway-card p { margin-top: 17px; font-size: 0.8125rem; line-height: 1.75; color: var(--ink2); }
.pathway-meta { padding-top: 27px; font-size: 0.6875rem; line-height: 1.7; }
.pathway-link { padding-top: 20px; margin-top: 23px; font-size: 0.75rem; font-weight: 600; }
.pathway-planned { border-top-color: var(--line-strong); background: var(--canvas); }
.pathway-planned .pathway-icon { color: var(--muted); }
.hub-note { padding: 22px 24px; border-radius: 8px; margin-top: 24px; }
.hub-note h2 { font-size: 0.9375rem; font-weight: 600; }
.hub-note p { font-size: 0.75rem; }
.hub-note .guide-icon { border: 0; }
.community-preview { border-top: 3px solid var(--line-strong); border-radius: 9px; }
.community-preview h2 { font-size: 1.75rem; font-weight: 600; }

/* Measured density: readable working controls, restrained surfaces and rules. */
.btn { min-height: 42px; padding: 10px 17px; border-radius: 6px; font-size: 0.8125rem; font-weight: 600; letter-spacing: -.005em; }
.btn:hover:not(:disabled) { transform: none; }
.btn-primary, .btn-primary:hover:not(:disabled) { box-shadow: none; }
.btn-outline { border-color: var(--line-strong); }
.btn-sm { min-height: 36px; padding: 8px 12px; font-size: 0.75rem; }
.icon-button { border-radius: 6px; }
.link-line, .text-button { font-weight: 600; }
label { font-size: 0.75rem; font-weight: 600; }
input, textarea, select { border-radius: 6px; font-size: 0.875rem; padding: 11px 12px; }
label input, label textarea, label select { font-size: 0.875rem; font-weight: 400; }
textarea { line-height: 1.75; }
.pill { border-radius: 4px; padding: 4px 8px; font-size: 0.625rem; font-weight: 600; }
.tag { border-radius: 4px; font-size: 0.6875rem; }
.panel, .report-card, .activity-box, .practice-side, .voice-studio, .coaching-note { border-radius: 9px; box-shadow: none; }
.panel, .report-card { padding: 25px; }
.panel h3, .report-card h3 { font-size: 1rem; font-weight: 600; }
.filter-panel { padding: 13px; gap: 12px; border-radius: 8px; }
.filter-panel input, .filter-panel select { height: 42px; font-size: 0.8125rem; border-color: var(--line-strong); }
.search-wrap input { padding-left: 37px; }
.results-count { font-size: 0.75rem; margin-bottom: 19px; }
.empty-state { border-style: solid; border-radius: 7px; background: var(--surface); padding: 34px 24px; }
.empty-state-icon { width: 36px; height: 36px; border-radius: 7px; border: 1px solid var(--line); }
.empty-state h3 { font-weight: 600; }
.data-table th { font-size: 0.625rem; font-weight: 600; letter-spacing: .06em; padding: 15px 20px; }
.data-table td { padding: 17px 20px; font-size: 0.8125rem; line-height: 1.6; }
.data-table td strong { font-weight: 550; }
.table-wrap { border-radius: 8px; }

/* A dashboard built around progress and concrete next decisions. */
.metric-grid { gap: 12px; margin-bottom: 27px; }
.metric-card { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:12px 14px;border-radius:8px; }
.metric-top { min-width:0;justify-content:flex-start;gap:7px;margin:0; }
.metric-name { font-size: 0.6875rem; font-weight: 500; }
.metric-icon { flex:none;width:17px;height:17px;border-radius:4px;background:transparent;color:var(--muted); }
.metric-icon svg { width:15px;height:15px; }
.metric-value { font-size:1.5625rem;font-weight:550;letter-spacing:-.035em;white-space:nowrap; }
.metric-foot { grid-column:1/-1;font-size:0.6875rem;line-height:1.5;margin:0;color:var(--muted); }
.overview-next { padding: 21px 24px; margin-bottom: 30px; border-radius: 8px; border-left: 3px solid var(--primary); background: var(--surface); }
.overview-next h2 { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; }
.overview-next p { font-size: 0.75rem; line-height: 1.65; }
.overview-next > .scenario-symbol { width: 36px; height: 36px; border: 0; background: transparent; }
.overview-columns .section-heading { font-size: 1.0625rem; }
.challenge-card { border-radius: 8px; padding: 24px; }
.challenge-icon { width: 32px; height: 32px; border-radius: 6px; }
.challenge-card h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 20px; }
.challenge-card p { font-size: 0.75rem; line-height: 1.75; }
.quick-start h2 { font-size: 1.3125rem; font-weight: 600; }
.quick-start > button strong { font-size: 0.8125rem; font-weight: 550; }
.quick-start > button small { font-size: 0.6875rem; }
.progress-entry strong { font-size: 0.8125rem; font-weight: 550; }
.progress-entry small { font-size: 0.6875rem; }
.score-trail > span { font-size: 1.125rem; font-weight: 600; }
.scenario-card { min-height: 262px; border-radius: 8px; padding: 23px; }
.scenario-card:hover, .topic-card:hover, .development-card:hover { transform: none; box-shadow: var(--shadow); }
.scenario-symbol { width: 34px; height: 34px; border-radius: 6px; }
.scenario-symbol svg { width: 18px; height: 18px; }
.scenario-category { font-size: 0.625rem; font-weight: 500; letter-spacing: .03em; margin-bottom: 8px; }
.scenario-card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.scenario-card p { color: var(--ink2); font-size: 0.75rem; line-height: 1.75; }
.scenario-card-bottom { margin-top: 20px; padding-top: 17px; }
.scenario-card-bottom > span:first-child { font-size: 0.625rem; }
.card-arrow { background: transparent; border-radius: 4px; }
.topic-card { padding: 23px; border-radius: 8px; }
.topic-card strong { font-weight: 600; }
.topic-card small { font-size: 0.75rem; line-height: 1.7; }
.topic-personal { font-size: 0.6875rem; }
.area-tabs button { min-height: 38px; border-radius: 5px; font-size: 0.75rem; }
.challenge-explainer h2 { font-size: 1.5rem; font-weight: 600; }

/* Personal development follows the same executive index and editor language. */
.development-summary { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 0.75rem; }
.development-grid { gap: 18px; }
.development-card { padding: 25px; border-radius: 8px; }
.development-card .page-eyebrow { font-size: 0.625rem; letter-spacing: .055em; margin-top: 24px; margin-bottom: 9px; }
.development-card h2 { font-size: 1.375rem; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.development-card p { color: var(--ink2); font-size: 0.8125rem; line-height: 1.75; }
.development-card-foot { padding-top: 24px; font-size: 0.6875rem; font-weight: 600; }
.development-attempt { padding-block: 18px; }
.development-attempt strong { font-size: 0.8125rem; font-weight: 550; }
.development-attempt small { font-size: 0.6875rem; }
.development-guide h2, .development-report .panel h2 { font-size: 1.125rem; font-weight: 600; }
.development-guide ol, .development-guide ul, .development-report ul { font-size: 0.8125rem; line-height: 1.8; }
.development-guide li strong { font-size: 0.8125rem; font-weight: 600; }
.development-guide summary, .development-report summary { font-size: 0.8125rem; font-weight: 600; }
.development-example { font-size: 0.875rem; line-height: 1.8; }
.rehearsal-timer { border-radius: 7px; padding: 20px; }
.rehearsal-timer output { font-weight: 550; font-size: 2.25rem; letter-spacing: -.04em; }
.development-score-trail b { font-size: 1.75rem; font-weight: 550; letter-spacing: -.03em; }

/* Coaching reads as a working conversation, with a clear, editable draft. */
.practice-title { margin-bottom: 27px; }
.practice-title > p { max-width: 850px; font-size: 0.8125rem; line-height: 1.7; }
.back-link { margin-bottom: 21px; font-size: 0.75rem; }
.practice-main { border-radius: 9px; box-shadow: none; }
.practice-head { padding: 21px 25px; }
.practice-head strong { font-size: 0.875rem; font-weight: 600; }
.practice-head small { font-size: 0.6875rem; }
.practice-role-avatar { border-radius: 8px; }
.conversation-start { font-size: 0.625rem; letter-spacing: .08em; }
.messages { padding: 25px; gap: 24px; }
.chat-row { max-width: 94%; }
.chat-avatar { border-radius: 6px; }
.chat-speaker { font-size: 0.6875rem; font-weight: 500; }
.chat-bubble, .chat-row.user .chat-bubble { border-radius: 8px; font-size: 0.875rem; line-height: 1.75; padding: 15px 18px; }
.mini-icon { font-size: 0.6875rem; min-height: 28px; }
.chat-composer { padding: 23px 25px 19px; }
.response-box { border-radius: 7px; }
.response-box textarea { border-radius: 7px 7px 0 0; font-size: 0.875rem; line-height: 1.75; }
.draft-label, #responseCount { font-size: 0.6875rem; }
.voice-button { min-height: 34px; font-size: 0.6875rem; border-radius: 5px; }
.voice-status { font-size: 0.75rem; border-radius: 6px; }
.composer-meta, .voice-privacy { font-size: 0.6875rem; }
.guide-heading h2 { font-weight: 600; }
.side-label { font-size: 0.625rem; }
.objective-block { border-radius: 6px; }
.objective-block p { font-size: 0.8125rem; line-height: 1.75; }
.coaching-note h3 { font-size: 1.4375rem; line-height: 1.25; font-weight: 600; }
.coaching-note p { font-size: 0.8125rem; }
.mode-note p, .progress-caption, .finish-hint { font-size: 0.6875rem; line-height: 1.7; }
.instant-coaching { padding: 16px 25px; }
.instant-coaching strong, .instant-coaching p { font-size: 0.75rem; }
.instant-coaching strong { color: var(--ink2); font-weight: 600; }
.instant-coaching .link-line { font-size: 0.6875rem; }
.turn-coaching { border-radius: 7px; }
.turn-coaching > summary { font-size: 0.75rem; font-weight: 600; padding: 13px; }
.turn-coaching-body li, .comparison-reasons li { font-size: 0.75rem; line-height: 1.8; }
.turn-coaching-body h4 { font-size: 0.8125rem; }
.answer-comparison > div { border-radius: 7px; }
.answer-comparison p, .alternative-answers p { font-size: 0.8125rem; line-height: 1.8; color: var(--ink2); }

/* Evidence and next steps are more prominent than decorative score treatment. */
.report-hero { padding: 26px; border-radius: 8px; background: var(--surface); border-left: 3px solid var(--primary); }
.report-score { width: 96px; height: 90px; border-width: 1px; border-radius: 7px; font-size: 2.125rem; font-weight: 550; letter-spacing: -.04em; }
.report-score span { letter-spacing: 0; }
.report-hero h2 { font-size: 1.6875rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.25; }
.report-hero p { font-size: 0.8125rem; line-height: 1.7; }
.report-hero > div:last-child { min-width: 0; }
.skill-heading { font-size: 0.75rem; color: var(--ink2); }
.skill-bar, .turn-progress { height: 5px; border-radius: 2px; }
.report-card li { color: var(--ink2); font-size: 0.8125rem; line-height: 1.8; }
.quote-sample { border-radius: 0 5px 5px 0; font-size: 0.875rem; color: var(--ink2); line-height: 1.8; }
.attempt-comparison { border-radius: 8px; padding: 25px; }
.attempt-comparison h2 { font-size: 1.4375rem; font-weight: 600; }
.attempt-score-pair strong { font-size: 2rem; font-weight: 550; letter-spacing: -.035em; }
.attempt-timeline button { border-radius: 6px; }
.attempt-timeline strong { font-weight: 550; }

/* Settings, audio and dialogs remain working tools rather than promotional cards. */
.appearance-heading h2, .voice-settings-heading h2 { font-size: 1.375rem; font-weight: 600; }
.appearance-heading p, .voice-settings-heading p { font-size: 0.8125rem; line-height: 1.7; }
.theme-choice { border-radius: 8px; }
.theme-choice-copy { padding: 12px 6px 9px; }
.theme-choice strong { font-size: 0.75rem; font-weight: 600; }
.theme-choice small { font-size: 0.6875rem; line-height: 1.65; }
.theme-status { font-size: 0.6875rem; }
.voice-preset, .neural-voice { border-radius: 6px; }
.voice-preset strong, .neural-voice strong { font-weight: 600; }
.voice-preset small, .neural-voice small { font-size: 0.6875rem; }
.neural-voice > span:last-child { font-size: 0.625rem; }
.audio-help, .audio-preview-status, .accuracy-note p, .queue-note p { font-size: 0.6875rem; line-height: 1.75; }
.audio-section > label { font-size: 0.75rem; font-weight: 600; }
.audio-section > select { font-size: 0.75rem; height: 41px; }
.voice-settings-panel .audio-help, .voice-settings-panel .accuracy-note p { font-size: 0.75rem; }
.audio-badge { font-size: 0.5625rem; }
.natural-player { border-radius: 6px; }
.modal-window { padding: 30px; border-radius: 10px; box-shadow: 0 20px 70px var(--shadow-color); }
.modal-window h2 { font-size: 1.6875rem; font-weight: 600; letter-spacing: -.035em; }
.mode-tile { border-radius: 7px; }
.mode-tile strong { font-weight: 600; }
.scenario-context { font-size: 0.875rem; line-height: 1.8; }
.toast { border-radius: 7px; font-size: 0.75rem; }

/* Sign-in is intentionally editorial: a clear proposition and a quiet form. */
.auth-page { grid-template-columns: 1fr 1fr; }
.auth-art::before, .auth-art::after { display: none; }
.auth-art-inner { max-width: 760px; padding: 43px 10% 35px; }
.auth-pitch { padding-top: 56px; margin-bottom: 39px; }
.auth-pitch h1 { font-size: clamp(2.5rem, calc(4vw * var(--ui-type-scale)), 3.8125rem); line-height: 1.12; font-weight: 550; letter-spacing: -.05em; }
.auth-pitch h1 em { font-style: normal; font-weight: 550; }
.auth-pitch p { max-width: 400px; font-size: 0.875rem; line-height: 1.8; }
.auth-example { border-radius: 0; border-width: 0 0 0 2px; border-left-color: var(--auth-accent); background: transparent; padding: 6px 0 6px 21px; gap: 14px; }
.auth-example p { font-size: 1.0625rem; line-height: 1.6; letter-spacing: -.01em; }
.auth-example .tiny-caps { font-size: 0.5625rem; letter-spacing: .06em; }
.dialog-avatar { width: 33px; height: 33px; border-radius: 6px; font-size: 0.625rem; }
.art-foot { font-size: 0.625rem; letter-spacing: .01em; }
.auth-form-inner { width: min(100%, 380px); }
.auth-form-inner h2 { font-size: 2.125rem; font-weight: 600; letter-spacing: -.04em; margin-top: 15px; }
.auth-sub { font-size: 0.8125rem; margin-bottom: 30px; }
.form-stack { gap: 20px; }
.form-stack label { font-size: 0.75rem; }
.auth-switch { font-size: 0.75rem; }
.auth-foot { font-size: 0.6875rem; line-height: 1.8; margin-top: 53px; }

@media (min-width: 1600px) {
  .main-content { padding-top: 45px; }
  .pathway-card { min-height: 380px; padding: 30px; }
  .pathway-card h2 { font-size: 1.75rem; }
}
@media (max-width: 1280px) {
  .sidebar { width: 230px; padding-inline: 14px; }
  .topbar { padding-inline: 30px; }
  .main-content { padding-inline: 30px; }
  .app-footer { padding-inline: 30px; }
  .toast-area { left: calc(50% + 115px); }
  .pathway-grid { gap: 15px; }
  .pathway-card { padding: 24px; }
  .pathway-card h2 { font-size: 1.4375rem; }
  .metric-card { padding:12px 14px; }
}
@media (max-width: 1050px) {
  .sidebar { width: 218px; padding-inline: 11px; }
  .sidebar > .brand { margin-inline: 8px; }
  .nav-item, .area-navigation .nav-item { padding-inline: 10px; font-size: 0.6875rem; }
  .main-content { padding: 31px 25px 40px; }
  .topbar { padding-inline: 25px; }
  .app-footer { padding-inline: 25px; }
  .toast-area { left: calc(50% + 109px); }
  .page-heading h1, .practice-title h1 { font-size: 1.9375rem; }
  .pathway-card { min-height: 360px; padding: 22px; }
  .pathway-card h2 { font-size: 1.375rem; }
  .pathway-card p { font-size: 0.75rem; }
  .scenario-card { padding: 21px; }
  .scenario-card h3 { font-size: 1.0625rem; }
  .topic-card small { font-size: 0.6875rem; }
  .metric-name { font-size: 0.6875rem; }
}
@media (max-width: 960px) {
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 0; padding: 27px; }
  .pathway-icon { margin: 23px 0 18px; }
  .pathway-card h2 { font-size: 1.625rem; max-width: 100%; }
  .pathway-card p { max-width: 650px; font-size: 0.8125rem; }
  .pathway-meta { padding-top: 23px; }
  .pathway-link { margin-top: 22px; padding-top: 18px; }
  .report-hero h2 { font-size: 1.5625rem; }
}
@media (max-width: 760px) {
  .sidebar { width: 264px; padding: 27px 17px 20px; }
  .nav-item, .area-navigation .nav-item { font-size: 0.75rem; padding-inline: 12px; }
  .topbar { height: 64px; padding-inline: 19px; }
  .main-content { padding: 29px 24px 38px; }
  .app-footer { padding-inline: 24px; }
  .toast-area { left: 50%; }
  .page-heading { padding-bottom: 23px; margin-bottom: 26px; }
  .page-heading h1, .practice-title h1 { font-size: 1.875rem; }
  .page-heading p { font-size: 0.8125rem; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard-heading > .btn { margin-top: 4px; }
  .btn { min-height: 43px; }
  .btn-sm { min-height: 37px; }
  .modal-window { padding: 26px; }
  .overview-next { padding: 20px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-form-inner h2 { font-size: 2.0625rem; }
  .auth-form-wrap { padding: 90px 27px 40px; }
  .auth-foot { margin-top: 43px; }
  .auth-mobile-brand { margin-bottom: 38px; }
}
@media (max-width: 520px) {
  .topbar { padding-inline: 13px; }
  .main-content { padding: 26px 18px 33px; }
  .app-footer { padding-inline: 18px; }
  .page-heading h1, .practice-title h1 { font-size: 1.75rem; }
  .page-heading p { font-size: 0.8125rem; line-height: 1.75; }
  .page-eyebrow { font-size: 0.5625rem; line-height: 1.6; }
  .section-heading { font-size: 1.125rem; }
  .section-row { gap: 12px; }
  .pathway-card { padding: 24px; }
  .pathway-card h2 { font-size: 1.5625rem; }
  .pathway-number { font-size: 0.5625rem; }
  .pathway-card p { font-size: 0.8125rem; }
  .pathway-meta { font-size: 0.625rem; }
  .pathway-link { font-size: 0.75rem; }
  .hub-note { padding: 21px; gap: 12px; }
  .hub-note h2 { font-size: 0.9375rem; }
  .hub-note p { font-size: 0.75rem; }
  .metric-grid { gap: 10px; }
  .metric-card { padding:11px 12px;gap:5px 8px; }
  .metric-value { font-size:1.375rem; }
  .metric-name { font-size:0.6875rem;line-height:1.4; }
  .metric-foot { font-size:0.6875rem; }
  .metric-icon { display:none; }
  .overview-next { padding: 20px 18px; }
  .overview-next h2 { font-size: 1.125rem; }
  .overview-next > .btn { margin-left: 0; }
  .challenge-card, .all-challenges .challenge-card { padding: 22px; }
  .challenge-card h3 { font-size: 1.125rem; }
  .scenario-card { padding: 22px; min-height: 0; }
  .scenario-card h3 { font-size: 1.1875rem; }
  .scenario-card p { font-size: 0.8125rem; }
  .scenario-card-bottom > span:first-child { font-size: 0.625rem; }
  .topic-card { padding: 21px; }
  .topic-card strong { font-size: 0.9375rem; }
  .topic-card small { font-size: 0.75rem; }
  .panel, .report-card, .overview-columns .panel { padding: 22px; }
  .development-card { padding: 23px; }
  .development-card h2 { font-size: 1.4375rem; }
  .development-summary { font-size: 0.75rem; }
  .development-attempt { gap: 11px; }
  .development-attempt > svg { display: none; }
  .development-attempt small { font-size: 0.625rem; }
  .rehearsal-timer { padding: 18px; }
  .development-guide ol, .development-guide ul, .development-report ul { font-size: 0.8125rem; }
  .development-score-trail b { font-size: 1.6875rem; }
  .practice-head { padding: 19px 17px; }
  .practice-head strong { font-size: 0.8125rem; }
  .messages { padding: 23px 16px; gap: 22px; }
  .chat-row { max-width: 100%; }
  .chat-bubble, .chat-row.user .chat-bubble { padding: 13px 14px; font-size: 0.875rem; line-height: 1.7; }
  .chat-composer { padding: 20px 16px 17px; }
  .composer-bottom .btn { font-size: 0.75rem; }
  .composer-meta, .voice-privacy { font-size: 0.625rem; }
  .voice-button { min-height: 34px; }
  .response-box textarea { font-size: 1rem; }
  .voice-language { max-width: 105px; font-size: 0.6875rem; }
  .practice-side, .coaching-note { padding: 22px; }
  .coaching-note h3 { font-size: 1.4375rem; }
  .instant-coaching { padding: 16px; }
  .report-hero { padding: 21px 18px; gap: 17px; align-items: flex-start; }
  .report-score { width: 74px; height: 78px; font-size: 1.875rem; }
  .report-hero h2 { font-size: 1.375rem; }
  .report-hero p { font-size: 0.75rem; }
  .attempt-comparison { padding: 22px; }
  .attempt-comparison h2 { font-size: 1.375rem; }
  .modal-window { padding: 23px; }
  .modal-window h2 { font-size: 1.5625rem; }
  .theme-choice-copy { padding-inline: 4px; }
  .theme-choice strong { font-size: 0.75rem; }
  .theme-choice small { font-size: 0.625rem; }
  .audio-section > select { font-size: 0.8125rem; }
  .auth-form-wrap { padding-inline: 24px; }
  .auth-form-inner h2 { font-size: 2rem; }
  .auth-form-inner input, .development-editor textarea, .development-editor select, .reported-time input { font-size: 1rem; }
}

/* Stable navigation anchors and content-led spacing across the three areas. */
:root { --rail-width:240px;--workspace-gutter:clamp(20px,2vw,32px); }
html { height:100%;overflow:hidden;scroll-behavior:auto; }
@supports not (scrollbar-gutter:stable) { .main-content { overflow-y:scroll; } }
.sidebar { width:var(--rail-width);min-height:0;height:100dvh;overflow:hidden;padding:22px 14px 16px; }
.sidebar > .brand { flex:none;margin:0 10px 24px; }
.sidebar-scroll { flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain; }
.sidebar-account { flex:none;padding-top:12px;border-top:1px solid var(--line); }
.sidebar-account .nav-section-label.second { border:0;margin:0;padding:0 12px 5px; }
.sidebar-account .sidebar-bottom { margin:0;padding-top:10px; }
.sidebar-account .side-profile { padding-top:12px; }
.area-navigation { flex:none;gap:3px;margin:0 0 16px;padding-bottom:16px; }
.sidebar > .nav-section-label { flex:none; }
.area-navigation .nav-item { min-height:54px;font-size:0.75rem;line-height:1.125rem;font-weight:600;padding:9px 10px;align-items:center; }
.area-navigation .nav-item:first-child { min-height:40px; }
.area-navigation .nav-item svg { margin-top:0; }
.coaching-nav-label { padding-top:1px; }
.main-content { width:100%;max-width:none;min-height:0;flex:1 1 0;margin:0;padding:20px var(--workspace-gutter) 24px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overflow-anchor:none;overscroll-behavior:contain; }
.topbar { height:64px;padding-inline:var(--workspace-gutter); }
.app-footer { padding:10px var(--workspace-gutter); }
.toast-area { left:calc(50% + var(--rail-width)/2); }
.page-heading { padding-bottom:12px;margin-bottom:16px; }
.page-heading h1,.practice-title h1 { font-size:clamp(1.5625rem,calc(2vw * var(--ui-type-scale)),1.9375rem); }
.page-heading p { margin-top:6px;max-width:none;font-size:0.8125rem;line-height:1.7; }
.area-heading .page-eyebrow { margin-bottom:6px; }
.area-heading h1 { line-height:1.25; }
.panel,.report-card { padding:18px; }
.section-row { margin-bottom:12px; }
.metric-grid { gap:10px;margin-bottom:16px; }
.metric-card { padding:12px 14px; }
.overview-next { padding:14px 16px;margin-bottom:18px;gap:12px; }
.overview-next > .overview-actions { display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;flex-wrap:wrap;gap:10px; }
.overview-actions .btn { white-space:nowrap; }
.challenge-grid { gap:12px;margin-bottom:18px; }
.challenge-card,.all-challenges .challenge-card { padding:17px; }
.challenge-card h3 { margin-top:12px; }
.challenge-card p { margin-top:7px; }
.challenge-card .turn-progress,.challenge-card .link-line { margin-top:12px; }
.overview-columns { gap:14px;margin-bottom:18px; }
.overview-columns .panel { padding:18px; }
.overview-progress .empty-state { padding:20px 16px; }
.scenario-card { min-height:0;padding:18px; }
.scenario-card-top { margin-bottom:13px; }
.scenario-card-bottom { margin-top:12px;padding-top:12px; }
.topic-card { padding:18px; }
.topic-section { margin-bottom:20px; }
.activity-box { margin-top:18px;padding:18px; }

/* Align all card contents to shared rows, without a forced card height. */
.pathway-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }
.pathway-card { display:grid;grid-template-rows:auto minmax(2.5em,auto) 1fr auto auto;align-items:start;align-content:start;gap:10px;min-height:0;padding:18px;border-top-width:2px; }
.pathway-card-head { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%; }
.pathway-number { font-size:0.5625rem;line-height:1.6; }
.pathway-card .pathway-icon { width:26px;height:26px;margin:0; }
.pathway-card .pathway-icon svg { width:24px;height:24px; }
.pathway-card h2 { max-width:none;margin:0;font-size:1.375rem;line-height:1.25; }
.pathway-card p { margin:0;font-size:0.8125rem;line-height:1.75; }
.pathway-meta { margin:0;padding:0;font-size:0.6875rem; }
.pathway-link { margin:0;padding-top:13px;font-size:0.75rem; }
.hub-note { margin-top:14px;padding:14px 18px; }
@supports (grid-template-rows:subgrid) {
  .pathway-card { grid-template-rows:subgrid;grid-row:span 5; }
}

/* Keep the activity heading in place while only its content loads. */
.development-loading { padding:18px 0;color:var(--muted);font-size:0.8125rem; }
.development-summary { padding-bottom:10px;margin-bottom:12px;gap:8px 16px; }
.development-summary span + span { padding-left:20px; }
.development-filters { padding:10px;margin-bottom:14px; }
.portfolio-section-heading { margin:16px 0 12px; }
.development-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px; }
.development-card { padding:18px; }
.development-card .page-eyebrow { margin-top:12px;margin-bottom:6px; }
.development-card h2 { font-size:1.25rem; }
.development-card p { margin-top:10px; }
.portfolio-framework { margin-top:12px; }
.development-card-foot { padding-top:12px; }
.development-history { margin-top:21px; }

.community-layout { display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:16px;align-items:start; }
.community-layout .community-preview { max-width:none;padding:18px;border-top:1px solid var(--line); }
.community-preview h2,.community-continue h2 { margin:0;font-size:1.25rem;line-height:1.4; }
.community-preview > p { max-width:none;font-size:0.8125rem; }
.community-scope { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0;padding:14px 0;border-block:1px solid var(--line); }
.community-scope dt { color:var(--ink);font-size:0.75rem;font-weight:600; }
.community-scope dd { margin:7px 0 0;color:var(--muted);font-size:0.75rem;line-height:1.7; }
.community-continue > p { margin:9px 0 15px;font-size:0.8125rem; }
.community-area-link { display:flex;align-items:center;gap:12px;width:100%;border:0;border-top:1px solid var(--line);padding:16px 0;background:transparent;text-align:left; }
.community-area-link > span { flex:1;min-width:0; }
.community-area-link strong { display:block;font-size:0.8125rem;line-height:1.5;font-weight:600; }
.community-area-link small { display:block;margin-top:5px;color:var(--muted);font-size:0.6875rem;line-height:1.7; }
.community-area-link > svg { width:16px;height:16px;color:var(--primary); }
.community-continue > .link-line { margin-top:9px;font-size:0.75rem; }

/* Guidance folds down beside shorter practice and reflection stages. */
.studio-layout { grid-template-columns:minmax(0,1fr) minmax(240px,26%);gap:20px; }
.studio-sidebar { gap:14px;position:static; }
.studio-sidebar .panel { padding:18px; }
.studio-stage { gap:16px; }
.studio-nav { margin-bottom:16px;scroll-margin-top:12px; }
.studio-meta { margin-top:15px; }
.studio-sidebar details > summary { cursor:pointer;font-size:0.75rem;line-height:1.6;font-weight:600;color:var(--ink); }
.studio-sidebar .exercise-levels { margin-top:15px; }
.studio-sidebar .exercise-levels > summary { color:var(--muted);font-weight:500; }
.exercise-levels[open] > summary { margin-bottom:10px; }
.studio-sidebar .exercise-levels > div { padding:11px 0; }
.studio-standards[open] > summary { margin-bottom:17px; }
.studio-transfer { padding:14px 15px;border:1px solid var(--line);border-radius:8px; }
.studio-transfer[open] > summary { margin-bottom:12px; }
@media(max-width:1200px) { .community-layout { grid-template-columns:minmax(0,1fr); }.community-scope { gap:20px; } }
@media(max-width:1050px) { :root { --rail-width:218px;--workspace-gutter:22px; }.sidebar { padding-inline:11px; }.area-navigation .nav-item { padding-inline:8px; } }
@media(max-width:960px) {
 .pathway-grid { grid-template-columns:minmax(0,1fr);gap:14px; }
 .pathway-card { grid-row:auto;grid-template-rows:auto auto auto;grid-template-columns:minmax(190px,.85fr) minmax(0,1.4fr);column-gap:24px;row-gap:12px;padding:20px; }
 .pathway-card-head { grid-column:1/-1; }
 .pathway-card h2 { grid-column:1;grid-row:2;font-size:1.375rem; }
 .pathway-card p { grid-column:2;grid-row:2; }
 .pathway-meta { grid-column:1;grid-row:3; }
 .pathway-link { grid-column:2;grid-row:3;align-self:end; }
 .studio-layout { grid-template-columns:minmax(0,1fr); }
 .studio-sidebar { grid-template-columns:1fr 1fr; }
 .studio-transfer { grid-column:1/-1; }
}
@media(max-width:760px) {
 :root { --workspace-gutter:20px; }
 .sidebar { width:264px;padding:20px 13px 14px; }
 .topbar { height:60px; }
 .sidebar > .brand { margin-bottom:18px; }
 .area-navigation .nav-item { padding-inline:10px; }
 .main-content { padding-top:18px; }
 .toast-area { left:50%; }
}
@media(max-width:640px) {
 :root { --workspace-gutter:16px; }
 .pathway-card { grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(5,auto);gap:12px;padding:18px; }
 .pathway-card-head,.pathway-card h2,.pathway-card p,.pathway-meta,.pathway-link { grid-column:1;grid-row:auto; }
 .pathway-card h2 { font-size:1.4375rem; }
 .pathway-card .pathway-icon { width:24px;height:24px; }
 .community-scope { grid-template-columns:minmax(0,1fr);gap:13px; }
 .community-scope > div { display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px; }
 .community-scope dd { margin:0; }
 .development-summary { gap:8px; }
 .development-summary span + span { border:0;padding-left:0; }
 .studio-sidebar { grid-template-columns:minmax(0,1fr); }
 .studio-transfer { grid-column:auto; }
 .overview-next > .overview-actions { justify-content:flex-start;margin-left:0; }
 .overview-actions .btn { font-size:0.75rem;padding-inline:12px; }
}

@media(max-height:520px) { .sidebar { overflow-y:auto; }.sidebar-scroll { flex:none;overflow:visible; }.sidebar-account { margin-top:12px; } }

/* One viewport frame: page length never moves global navigation or the footer. */
body { height:100%;min-height:0;overflow:hidden; }
.auth-page { height:100dvh;min-height:0;overflow:auto; }
.app-shell { height:100dvh;min-height:0;overflow:hidden; }
.workspace { height:100%;min-height:0;overflow:hidden; }
.topbar,.app-footer { flex:none; }
.main-content > * { min-width:0; }
.development-card h2 { min-height:2.6em; }
@supports(grid-template-rows:subgrid) { .development-card { display:grid;grid-template-rows:subgrid;grid-row:span 6;row-gap:9px; }.development-card .page-eyebrow,.development-card p,.portfolio-framework,.development-card-foot { margin:0;padding-top:0; }.development-card h2 { min-height:0; } }
.studio-heading .back-link { margin-bottom:12px; }
.studio-heading .studio-title-row h1 { font-size:1.5rem;line-height:1.25;min-height:1.25em; }
.studio-heading .studio-meta { margin-top:10px;font-size:0.6875rem; }
.module-brief { margin-top:12px;font-size:0.875rem;line-height:1.8;color:var(--ink2); }
.timer-actions .btn { min-width:142px; }
.studio-status > #devFormStatus { display:block;min-height:1.5em;line-height:1.5;margin:0; }
.studio-status { gap:6px 12px; }
#main,#main .studio-main,#main .studio-sidebar { scroll-behavior:auto;overflow-anchor:none; }
@media(min-width:961px) and (min-height:700px) {
 .main-content[data-page="development-practice"]:has(#developmentForm) { display:flex;flex-direction:column;overflow:hidden; }
 .main-content[data-page="development-practice"] .studio-heading { flex:none;margin-bottom:14px; }
 .main-content[data-page="development-practice"] .studio-nav { flex:none;margin-bottom:16px; }
 #developmentForm { display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden; }
 #developmentForm .studio-layout { flex:1;min-height:0;width:100%;grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden; }
 #developmentForm .studio-main { min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain;padding-right:8px; }
 #developmentForm .studio-sidebar { min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;align-content:start;padding-right:4px; }
 .main-content[data-page="development-practice"]:has(#developmentForm) > .disclaimer { flex:none;margin-top:10px; }
}
@media(max-width:960px),(max-height:699px) {
 .main-content[data-page="development-practice"] { display:block;overflow-y:auto; }
 .studio-heading .studio-title-row h1 { font-size:1.4375rem; }
 .studio-sidebar { align-content:start; }
}
@media(max-width:520px) { .studio-heading .studio-title-row h1 { min-height:2.5em;font-size:1.375rem; }.studio-heading .studio-meta { margin-top:8px;gap:8px; }.studio-meta span + span { padding-left:8px; } }
@media(max-height:520px) { .app-footer { display:none; } }

/* Shared workspace identity is configured in Settings, not embedded in the shell. */
#workspaceBadge { display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;width:160px;max-width:160px;min-width:0;padding:5px 0;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:0.6875rem;text-align:left; }
#workspaceBadge > span:first-child { flex:none;width:6px;height:6px;border-radius:50%;background:var(--primary); }
#workspaceBadge[data-environment="production"] > span:first-child { background:var(--success-ink); }
#workspaceBadge[data-environment="demo"] > span:first-child { background:var(--warning-ink); }
#workspaceBadge > #workspaceLabel { display:block;flex:1;min-width:0;width:auto;height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0;background:none; }
#workspaceBadge:hover { color:var(--primary); }
.workspace-setup { margin-bottom:20px; }
.workspace-setup-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:20px; }
.workspace-setup-heading h2 { font-size:1.3125rem;font-weight:600;line-height:1.4; }
.workspace-setup-heading p { max-width:850px;color:var(--muted);font-size:0.8125rem;line-height:1.75;margin-top:8px; }
.workspace-setup-heading > svg { flex:none;width:22px;height:22px;color:var(--primary); }
.workspace-setup-fields { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 22px;max-width:900px;margin-top:22px; }
.workspace-setup-fields label { min-width:0;font-size:0.8125rem; }
.workspace-label-toggle { display:flex;align-items:center;gap:10px;min-height:44px;align-self:end; }
.workspace-label-toggle input { width:16px;height:16px;padding:0;margin:0;flex:none;accent-color:var(--primary); }
.workspace-setup-footer { display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line); }
.workspace-setup-footer p { font-size:0.75rem;line-height:1.7;color:var(--muted); }
.workspace-setup-footer button { flex:none; }
.workspace-readonly { display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line); }
.workspace-readonly strong { display:block;font-size:0.875rem;font-weight:600; }
.workspace-readonly small { display:block;color:var(--muted);font-size:0.6875rem;margin-top:5px; }
.workspace-readonly p { max-width:550px;color:var(--muted);font-size:0.75rem;line-height:1.75; }
@media(max-width:1200px) { .top-date { display:none; } }
@media(max-width:960px) { #workspaceBadge { width:124px;max-width:124px; } }
@media(max-width:760px) { #workspaceBadge { width:98px;max-width:98px;font-size:0.625rem; } }
@media(max-width:520px) { .workspace-setup-fields { grid-template-columns:minmax(0,1fr);gap:14px; }.workspace-setup-footer,.workspace-readonly { flex-direction:column;align-items:flex-start;gap:12px; }.workspace-setup-fields select,.workspace-setup-fields input:not([type="checkbox"]) { font-size:1rem; } }

/* All written content can be selected and copied with native browser tools. */
body, button { -webkit-user-select:text;user-select:text;-webkit-touch-callout:default; }
::selection { color:var(--ink);background:var(--selection); }
@media(max-width:520px) { .metric-card { padding:11px 12px; }.overview-next { padding:14px; } }

/* Native Google redirect sign-in alongside existing local credentials. */
.google-signin { display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #747775;border-radius:6px;background:#fff;color:#1f1f1f;font:500 0.875rem/1.25rem "Google Sans",Arial,sans-serif;letter-spacing:.1px; }
.google-signin img { flex:none;width:20px;height:20px; }
.google-signin:hover:not(:disabled) { background:#f8fafd;border-color:#5f6368; }
.google-signin:disabled { opacity:.65;cursor:not-allowed; }
.google-login-status { font-size:0.75rem;line-height:1.6;color:var(--muted);margin-top:9px; }
.auth-divider { display:flex;align-items:center;gap:12px;margin:19px 0;color:var(--muted);font-size:0.6875rem; }
.auth-divider::before,.auth-divider::after { content:"";flex:1;height:1px;background:var(--line); }
.auth-result { padding:12px 14px;margin-bottom:18px;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface-soft);color:var(--ink);font-size:0.8125rem;line-height:1.65; }
.auth-result[data-tone="success"] { color:var(--success-ink);background:var(--success-bg); }
.auth-method-help { margin-top:12px;font-size:0.75rem; }
#googleLinkForm { margin-top:16px;gap:12px; }
#googleLinkForm .audio-help { margin:0; }

/* Compact account utilities and deliberate practice lifecycle controls. */
.avatar-trigger { padding:0;border:1px solid var(--line);cursor:pointer;flex:none; }
.avatar-trigger:hover { outline:2px solid var(--focus-ring);outline-offset:2px; }
.profile-menu { position:fixed;top:72px;right:var(--workspace-gutter);z-index:65;width:min(310px,calc(100vw - 32px));max-height:calc(100dvh - 88px);overflow:auto;padding:8px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface);color:var(--ink);box-shadow:0 12px 38px var(--shadow-color); }
.profile-menu-identity { display:grid;gap:3px;padding:10px 10px 13px;margin-bottom:5px;border-bottom:1px solid var(--line);overflow-wrap:anywhere; }
.profile-menu-identity strong { font-size:0.875rem; }.profile-menu-identity span { font-size:0.75rem;color:var(--muted); }.profile-menu-identity small { font-size:0.6875rem;color:var(--muted); }
.profile-menu button { display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:0;border-radius:5px;background:transparent;color:var(--ink);text-align:left;font-size:0.75rem;line-height:1.5; }
.profile-menu button:hover,.profile-menu button:focus-visible { background:var(--primary-l);color:var(--primary); }
.profile-menu button svg { width:16px;height:16px;flex:none; }
.profile-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px; }
.profile-grid h2 { font-size:1.25rem; }.profile-details { margin:14px 0 18px; }.profile-details > div { display:grid;grid-template-columns:115px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:0.75rem; }.profile-details dt { color:var(--muted); }.profile-details dd { margin:0;overflow-wrap:anywhere; }
.profile-form-footer { display:flex;align-items:center;justify-content:space-between;gap:14px; }.profile-form-footer p,.profile-preferences p { color:var(--muted);font-size:0.75rem;line-height:1.65; }.profile-preferences .btn { margin-top:14px; }
.active-practice-button { display:inline-flex;align-items:center;gap:7px;min-height:34px;max-width:155px;padding:6px 10px;border:1px solid var(--accent-line);border-radius:6px;background:var(--primary-l);color:var(--primary);font-size:0.6875rem;font-weight:600;white-space:nowrap; }.active-practice-button svg { width:15px;height:15px;flex:none; }
.overview-toolbar { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid var(--line); }.overview-toolbar > p { color:var(--muted);font-size:0.75rem; }.overview-toolbar > div { display:flex;flex-wrap:wrap;gap:8px; }
.improvement-card h2 { font-size:1.1875rem; }.improvement-points { margin:14px 0;padding-left:18px;display:grid;gap:10px;font-size:0.8125rem;line-height:1.7; }.improvement-intro { margin:12px 0 16px;font-size:0.8125rem; }.quick-start > .link-line { width:auto;padding:8px 0;margin:0;border:0;font-size:0.75rem; }.improvement-topic-link { margin-top:5px; }
.lifecycle-dialog > p { color:var(--muted);font-size:0.8125rem;margin-top:14px; }.lifecycle-actions { display:flex;flex-wrap:wrap;gap:10px;margin-top:20px; }.lifecycle-actions .btn { font-size:0.75rem; }.lifecycle-dialog #lifeDialogStatus { color:var(--ink); }.cancel-practice-link { margin-top:14px;color:var(--muted);font-size:0.75rem; }
.history-toolbar { display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px; }.history-toolbar p { color:var(--muted);font-size:0.75rem; }.history-toolbar label { display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:0.75rem; }.history-toolbar input { width:16px;height:16px;margin:0;accent-color:var(--primary); }
.cancelled-transcript { display:grid;gap:14px;margin:20px 0; }.cancelled-transcript article { padding-bottom:14px;border-bottom:1px solid var(--line); }.cancelled-transcript strong { font-size:0.75rem; }.cancelled-transcript p { white-space:pre-wrap;overflow-wrap:anywhere;font-size:0.8125rem;margin-top:6px; }
@media(max-width:760px) { .profile-menu { top:68px; }.profile-grid { grid-template-columns:minmax(0,1fr); }.overview-toolbar { align-items:flex-start;flex-direction:column; }.active-practice-button { max-width:130px;padding-inline:8px; }.history-toolbar { align-items:flex-start;flex-direction:column;gap:10px; } }
@media(max-width:640px) { #workspaceBadge { display:none; }.top-actions { gap:8px; }.profile-form-footer { align-items:flex-start;flex-direction:column; }.profile-details > div { grid-template-columns:95px minmax(0,1fr); }.lifecycle-actions { flex-direction:column; }.active-practice-button { font-size:0.625rem;gap:5px; } }

/* Shared details keep the working pages calm and usable at narrower widths. */
.topbar { gap:16px; }
.breadcrumb { display:flex;align-items:center;gap:8px;min-width:0;line-height:1.5; }
.breadcrumb-root,.breadcrumb-slash { flex:none; }
.breadcrumb b { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.top-actions { flex:none; }
.main-content :is(.panel,.report-card,.activity-box,.filter-panel) { min-width:0;border-radius:12px; }
.main-content :is(h1,h2,h3,h4) { overflow-wrap:anywhere; }
.sidebar-nav .nav-item { transition:background-color .15s,color .15s,border-color .15s; }
.sidebar > .brand { margin-bottom:18px; }
@media(max-width:640px) {
 .breadcrumb-root,.breadcrumb-slash { display:none; }
 .breadcrumb { font-size:0.6875rem; }
 .topbar { gap:10px; }
 .top-actions .divider-vertical { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .sidebar-nav .nav-item,.btn,.pathway-card,.scenario-card { transition:none; }
}
