/* MYO PARTY visual identity. Colors are sampled from the supplied brand mark. */
:root {
  --brand-blue: #012b7f;
  --brand-deep: #082252;
  --brand-green: #05d82b;
  --brand-cream: #f8e8cf;
  --ink: #14284a;
  --muted: #697b94;
  --green: #012b7f;
  --light: #edf3ff;
  --line: #dfe6ef;
  --bg: #f4f6fa;
  --shadow: 0 3px 14px #0a286108;
}

body { background: var(--bg); font-family: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.top { height: 70px; padding: 0 30px; border-color: #e1e7ef; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--brand-blue); min-width: 0; }
.brand-mark { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: 8px; flex: none; }
.brand-name { display: flex; align-items: baseline; gap: 13px; }
.brand-name strong { font-size: 21px; font-weight: 750; white-space: nowrap; line-height: 1.15; }
.brand-name > span { color: #6e819e; font-size: 12px; font-weight: 500; white-space: nowrap; padding-left: 12px; border-left: 1px solid #dce5f1; }
.mode { background: #f0f3f8; border-color: #e5eaf3; padding: 4px; border-radius: 8px; }
.mode button { color: #6c7c96; padding: 8px 19px; transition: color .15s, background .15s; }
.mode button.active { color: var(--brand-blue); background: #fff; box-shadow: 0 2px 6px #142d5c15; font-weight: 700; }
.demo { color: #6b7d96; }
.local-dot { background: var(--brand-green); box-shadow: 0 0 0 3px #dff9e4; }
.shell { grid-template-columns: 224px minmax(0, 1fr); min-height: calc(100vh - 70px); }
.sidebar { background: #fff; color: #536987; border-right: 1px solid #e1e7ef; top: 70px; height: calc(100vh - 70px); padding: 30px 15px 20px; }
.workspace-label { color: #8190a5; font-size: 12px; font-weight: 600; padding-left: 13px; margin-bottom: 6px; }
.sidebar nav { gap: 5px; }
.nav { min-height: 47px; color: #536987; font-weight: 550; padding: 12px 13px; border-radius: 6px; }
.nav .ui-icon { color: #7087a7; }
.nav.active { background: var(--brand-blue); color: #fff; font-weight: 650; }
.nav.active .ui-icon { color: #fff; }
.nav:hover { background: #eaf0fb; color: var(--brand-blue); }
.nav.active:hover { background: #12398a; color: #fff; }
.nav.active::before { left: -15px; background: var(--brand-green); width: 4px; top: 8px; bottom: 8px; }
.sidebar .coachprofile { border-color: #e5ebf3; padding-top: 19px; }
.sidebar .coachprofile strong { color: #253f6b; }
.sidebar .coachprofile .muted { color: #7c8ba3; }
.sidebar .avatar, .avatar { background: #e9effc; color: #17448c; border-radius: 7px; }
.main { padding: 33px 36px 42px; }
.heading { margin-bottom: 27px; }
.heading h1 { color: #142c58; font-size: 29px; font-weight: 730; line-height: 1.35; }
.heading p { color: #6d7d95; font-size: 13px; margin-top: 5px; }
.primary, .secondary, .plain { min-height: 41px; border-radius: 7px; }
.primary { background: var(--brand-blue); color: #fff; box-shadow: 0 3px 8px #012b7f18; transition: background .16s, box-shadow .16s; }
.primary:hover { background: #17459b; box-shadow: 0 3px 12px #123b8f27; }
.secondary { background: #fff; border-color: #dbe3ee; color: #28456f; }
.secondary:hover { color: var(--brand-blue); border-color: #9cb4de; background: #f7f9ff; }
.plain { color: var(--brand-blue); }
.plain:hover { color: #174ba4; background: #edf3fc; }
.panel, .admin-summary, .profile-card { border-color: #dfe5ef; border-radius: 8px; box-shadow: var(--shadow); }
.panelhead { padding: 19px 22px; }
.panelhead h2, .admin-summary h2 { color: #22395d; font-size: 16px; font-weight: 700; }
.panelhead p { color: #7889a2; }
.stats { gap: 15px; margin-bottom: 23px; }
.stat, .stat:first-child { background: #fff; border: 1px solid #dfe5ef; min-height: 118px; border-radius: 8px; padding: 20px; box-shadow: var(--shadow); }
.stat strong { font-size: 34px; font-weight: 700; color: #17366e; margin-top: 6px; }
.stat .muted { color: #63748e; font-weight: 550; }
.stat-caption { color: #7b8ba2; }
.stat-icon { width: 39px; height: 39px; background: #e9effd; color: #2b55a0; border-radius: 7px; }
.stat:nth-child(2) .stat-icon { background: #deefea; color: #258565; }
.stat:nth-child(3) .stat-icon { background: var(--brand-cream); color: #97622e; }
.stat:nth-child(4) .stat-icon { background: #e0f5e5; color: #168c42; }
.stat:first-child { background: var(--brand-blue); border-color: var(--brand-blue); }
.stat:first-child .muted, .stat:first-child .stat-caption { color: #d5e3ff; }
.stat:first-child strong { color: white; }
.stat:first-child .stat-icon { background: #254d98; color: #8ef4a4; }
.stat[data-action]:hover { border-color: #8fa9d7; }
.tabs .active { color: var(--brand-blue); border-bottom-color: var(--brand-blue); }
.tabs button { color: #75849b; }
.date button:hover { border-color: #839ed0; color: var(--brand-blue); }
.row:hover { background: #f5f8ff !important; }
.row .time strong { color: #203e75; }
.row .action { color: var(--brand-blue); }
.row .arrow { color: #92a4be; }
.tag.done { color: #08703b; background: #dff5e5; }
.tag.pending { color: #92571d; background: #fff0d9; }
.tag.progress { color: #2858a5; background: #e8efff; }
.tag.review { color: #7d51a6; background: #f0ebf9; }
.tag.cancelled { color: #758296; background: #edf0f4; }
.admin-summary { padding: 22px; }
.admin-summary h2 { margin-bottom: 18px; }
.flow-row { color: #6d7f98; }
.flow-row strong { color: #254678; }
.flow-track { height: 9px; background: #edf1f7; }
.flow-track span { background: #3e70cb; }
.flow-row:nth-child(2) .flow-track span { background: #e9b469; }
.flow-row:nth-child(3) .flow-track span { background: #5b8ceb; }
.flow-row:nth-child(4) .flow-track span { background: #927bc8; }
.flow-row:nth-child(5) .flow-track span { background: #25c64d; }
.admin-quick button { border-color: #e0e7f1; color: #36537e; }
.admin-quick button .ui-icon { color: #587dbb; }
.admin-quick button:hover { background: #eef3ff; border-color: #b8c9e8; }
.admin-table th { background: #f5f7fb; color: #647997; }
.admin-table td { border-bottom-color: #e7ecf3; }
.admin-table tbody tr:hover { background: #f6f8fd; }
.admin-table .count { color: #244c8b; }
.admin-table .plain { color: var(--brand-blue); }
.table-foot { color: #7789a3; }
.searchbox .ui-icon { color: #7390b6; }
.searchbox:focus-within { border-color: #a2b9e1; box-shadow: 0 0 0 3px #edf3ff; }
.empty-state { color: #74849b; padding: 48px 20px; }
.empty-state .empty-icon { background: #e8effd; color: #527dbb; width: 58px; height: 58px; border-radius: 8px; }
.empty-state strong { color: #34527d; }
.profile-details { color: #697d99; }
.coach-session-bar { color: #6b7d98; }
.coach-login { background: #f2f5fa; }
.login-panel { width: min(100%, 440px); border-color: #e0e8f4; border-radius: 8px; padding: 34px 39px; box-shadow: 0 14px 42px #18396d10; border-top: 4px solid var(--brand-blue); }
.login-brand { display: block; width: 232px; max-width: 90%; height: auto; margin: 0 auto 30px; object-fit: contain; }
.login-panel h1 { font-size: 27px; color: #16376d; }
.login-panel .field input { min-height: 47px; }
.field > span { color: #536e90; font-weight: 550; }
input, select, textarea { border-color: #dce5f0; }
.formbody input:focus, .formbody select:focus, .formbody textarea:focus, .login-panel input:focus { border-color: #7f9ed6; outline: 2px solid #e6eeff; outline-offset: 0; }
.formbody .section h3 { color: #274b81; }
.formfoot { background: #f8f9fc; border-color: #e3eaf3; }
.steps { border-color: #dfe6f0; }
.step { color: #7487a2; }
.step.current { background: #edf3ff; color: var(--brand-blue); box-shadow: inset 0 -3px var(--brand-blue); }
.step i { background: #edf0f7; }
.step.current i, .step.complete i { background: var(--brand-blue); }
.choice.selected { background: #eaf1ff; color: var(--brand-blue); border-color: #7395d4; }
.choice:hover { border-color: #9ab2dd; }
.notice { background: #eff4ff; border-color: #3c71be; color: #365b99; }
.notice.warning { background: #fff4e4; border-color: #cf9950; color: #865829; }
.saved, .back { color: #5274a6; }
.modalshade { background: #08225265; }
.modal { box-shadow: 0 16px 65px #0c24552a; }
.toast { background: var(--brand-deep); color: #fff; }

/* Customer-facing surfaces carry the brand with more warmth and emphasis. */
.student-shell { max-width: 760px; padding-top: 36px; }
.student-top h1 { color: #193c79; font-size: 27px; }
.student-top .avatar { background: #e6eefc; color: #1b4590; }
.studentbar { border-bottom-color: #dce5f3; }
.studentbar button { color: #7486a2; }
.studentbar button.active { color: var(--brand-blue); border-bottom-color: var(--brand-blue); }
.studentcall { position: relative; overflow: hidden; background: var(--brand-blue); padding: 27px 26px; border-radius: 8px; min-height: 122px; border-left: 5px solid var(--brand-green); }
.studentcall h2 { color: #fff; font-size: 22px; }
.studentcall p { color: #d5e4ff; margin-top: 7px; }
.student-brand { width: 80px; height: 80px; background: #fff; padding: 5px; border-radius: 8px; object-fit: contain; flex: none; }
.studentcard .student-record-icon { background: #e9efff; color: #2855a2; }
.student-shell .panel { border-color: #e0e6f1; }
.student-shell .studentcard h3 { color: #25416e; }
.assessment-report { --ar-ink: #1d365f; --ar-ok: #087541; --ar-watch: #ad6e25; --ar-high: #b54b40; --ar-low: #4c77ac; color: var(--ar-ink); border-color: #dbe5f1; box-shadow: 0 6px 28px #12367312; }
.assessment-report .ar-cover { background: var(--brand-blue); border-bottom: 5px solid var(--brand-green); }
.ar-cover-top { margin-bottom: 25px; }
.report-brand { display: flex; align-items: center; gap: 9px; }
.report-brand img { display: block; width: 37px; height: 37px; object-fit: contain; padding: 3px; border-radius: 6px; background: white; }
.report-brand strong { font-size: 16px; font-weight: 700; color: white; }
.report-state { color: #e4edff; padding: 4px 9px; border: 1px solid #ffffff4a; font-size: 11px; border-radius: 5px; }
.ar-cover-top strong::before { display: none; }
.ar-cover h2 { color: #fff; }
.ar-cover .ar-name { color: white; }
.ar-profile-chip { background: #ffffff12; color: #e3eeff; }
.ar-meta { color: #d5e4ff; border-top-color: #ffffff3b; }
.assessment-report .ar-summary { background: #eef3ff; border-bottom-color: #dce5f7; }
.ar-summary h3 { color: #2e55a1; }
.ar-summary p { color: #243e6f; }
.ar-overview { border-color: #dce4f5; }
.ar-overview > div { border-color: #e1e8f5; }
.ar-title > i { color: #1d50a4; background: #e8effc; }
.ar-title h3 { color: #29497f; }
.ar-title p { color: #788aa7; }
.ar-title .ar-index { color: #99adcd; }
.ar-section { border-bottom-color: #e2e9f3; }
.ar-metric { background: #f5f8fd; border-color: #e0e8f5; }
.ar-metric.accent { background: #ecf4ff; border-color: #c2d6f5; }
.ar-metric .label, .ar-metric .unit { color: #637fa6; }
.ar-metric .label svg { color: #547bb6; }
.ar-metric .value { color: #1a437f; }
.ar-range-head h4, .ar-range-note strong, .ar-data-row strong { color: #284b82; }
.ar-range-head h4 svg { color: #6486b9; }
.ar-cohort, .ar-range-note, .ar-data-row span { color: #6d83a4; }
.ar-range { border-color: #e4eaf5; }
.ar-range-part.ok { background: #8fdba7; }
.ar-range-part.active::after { background: var(--brand-blue); }
.ar-range-labels { color: #7890b1; }
.ar-range-labels span.active { color: #214b8f; }
.ar-bar { background: #dce9fc; }
.ar-bar-fat, .ar-legend i { background: #2d67bb; }
.ar-bar-lean, .ar-legend span + span i { background: #b9d5f7; }
.ar-legend { color: #6c81a4; }
.ar-legend strong { color: #284d83; }
.ar-finding { border-color: #e2e8f3; }
.ar-finding > span { color: #6a81a3; }
.ar-finding strong { color: #2c4c7e; }
.ar-finding.flag { background: #fffaef; border-color: #f0dfb9; }
.ar-score { background: #eef4ff; border-color: #d9e5f9; }
.ar-score-value { color: var(--brand-blue); }
.ar-score-label, .ar-score-note { color: #5f79a2; }
.ar-scale-cell::before { background: #dce6f6; }
.ar-scale-cell.current::before { background: var(--brand-blue); }
.ar-scale-cell.current { color: var(--brand-blue); }
.ar-advice { background: #f7f9fc; }
.ar-advice-block { border-color: #dfe6f2; }
.ar-advice-block h4 { color: #2d5a9b; }
.ar-advice-block p { color: #3c557f; }
.ar-footer { color: #768bab; border-color: #e1e7f3; }

@media (max-width: 1000px) {
  .shell { grid-template-columns: 190px minmax(0, 1fr); }
  .main { padding: 29px 24px; }
  .stat, .stat:first-child { min-height: 108px; padding: 16px; }
  .nav.active::before { left: -15px; }
}
@media (max-width: 700px) {
  .top { height: 62px; padding: 0 12px; }
  .brand { gap: 6px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 5px; }
  .brand-name { display: block; }
  .brand-name strong { font-size: 16px; display: block; }
  .brand-name > span { display: block; padding: 0; border: 0; font-size: 9px; font-weight: 500; margin-top: 2px; }
  .mode button { padding: 7px 9px; font-size: 12px; }
  .shell { display: block; min-height: calc(100vh - 62px); }
  .sidebar { height: auto; padding: 7px 9px; border-right: 0; border-bottom: 1px solid #e2e8f2; }
  .nav { padding: 8px 9px; min-height: 39px; gap: 5px; }
  .nav.active::before { display: none; }
  .main { padding: 21px 13px 32px; }
  .heading h1 { font-size: 22px; }
  .heading { margin-bottom: 20px; }
  .heading p { font-size: 12px; }
  .primary, .secondary { padding: 8px 11px; min-height: 39px; }
  .stats { gap: 9px; margin-bottom: 18px; }
  .stat, .stat:first-child { min-height: 91px; padding: 13px; }
  .stat strong { font-size: 27px; }
  .stat-icon { width: 31px; height: 31px; }
  .panelhead { padding: 14px; }
  .student-shell { padding-top: 24px; }
  .student-top h1 { font-size: 23px; }
  .studentbar button.active { color: var(--brand-blue); }
  .studentbar { border-color: #dfe7f5; }
  .studentcall { padding: 20px 17px; min-height: 100px; }
  .studentcall h2 { font-size: 20px; }
  .studentcall p { font-size: 12px; }
  .student-brand { width: 60px; height: 60px; }
  .login-panel { padding: 29px 23px; }
  .login-brand { width: 202px; margin-bottom: 25px; }
  .report-brand img { width: 34px; height: 34px; }
  .report-brand strong { font-size: 15px; }
}
@media (max-width: 360px) {
  .brand-mark { width: 29px; height: 29px; }
  .brand-name strong { font-size: 15px; }
  .mode button { padding: 6px 7px; font-size: 11px; }
  .stat-icon { width: 27px; height: 27px; }
  .stat, .stat:first-child { padding: 11px; }
  .student-brand { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .primary, .mode button { transition: none; } }
.top [hidden]{display:none!important}.student-login .wechat-button{display:flex;width:100%;margin-top:24px;min-height:47px;background:#087c42;justify-content:center}.student-login .wechat-button>.ui-icon:last-child{margin-left:auto}.student-login .wechat-button>.ui-icon:first-child{margin-right:3px}.login-status{font-size:12px;color:var(--muted);margin:12px 0 0}.student-login .notice{margin-top:15px}.student-setup-profile{margin-top:16px}
