:root {
  color-scheme: dark;
  --bg: #f2f6f7;
  --sidebar: #102b3a;
  --panel: #ffffff;
  --panel-raised: #edf3f4;
  --line: #d5e1e3;
  --line-soft: #dce6e8;
  --text: #18343f;
  --muted: #526971;
  --faint: #607780;
  --mint: #146b69;
  --mint-deep: #e0f1eb;
  --blue: #356eae;
  --amber: #926023;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, label:focus-within { outline: 2px solid var(--mint); outline-offset: 3px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); }
.sidebar { min-height: 100vh; background: var(--sidebar); border-right: 1px solid var(--line-soft); padding: 24px 15px 16px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 9px 25px; color: var(--text); text-decoration: none; }
.brand-mark { width: 35px; height: 35px; border-radius: 11px; background: var(--mint); display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark svg { width: 25px; fill: none; stroke: #09221e; stroke-width: 2.4; stroke-linecap: round; }
.brand strong { display: block; font-size: 13px; letter-spacing: .13em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.nav-label { padding: 13px 10px 8px; color: #627c83; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { width: 100%; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; color: #526971; cursor: pointer; font-size: 14px; }
.nav-item:hover, .nav-item.active { color: var(--text); background: #e7f2ef; border-color: #90b7ac; }
.nav-item.active { box-shadow: inset 2px 0 var(--mint); }
.nav-icon { width: 19px; color: var(--mint); font-size: 19px; text-align: center; }
.nav-count, .nav-lock { margin-left: auto; color: #526971; font-size: 11px; }
.nav-lock { padding: 2px 6px; border: 1px solid #c4d5d9; border-radius: 20px; }
.session-label { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; }
.more-button { padding: 0 7px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 19px; }
.session-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.session-item { width: 100%; min-width: 0; display: flex; align-items: flex-start; gap: 9px; padding: 10px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #344f58; text-align: left; cursor: pointer; }
.session-item:hover { background: #edf3f4; }
.session-item.selected { border-color: #9ebfb3; background: #e6f2ed; }
.session-dot { width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: #607780; flex: 0 0 auto; }
.session-dot.on { background: var(--mint); box-shadow: 0 0 0 4px #e0f1eb; }
.session-copy { min-width: 0; flex: 1; }
.import-result { margin: 0 0 18px; padding: 16px 19px; border: 1px solid #9dbeb3; border-radius: 12px; background: #e6f2ed; color: #24493f; font-size: 13px; }
.import-result ul { margin: 8px 0; padding-left: 20px; color: #3d6659; }
.import-result small { color: #146b69; }
.video-workflow { max-width: 760px; margin: 0 auto 24px; padding: 24px; }
.video-workflow label { display: grid; gap: 8px; margin: 14px 0; color: var(--muted); }
.video-workflow select, .video-drop { padding: 14px; border: 1px dashed #8caea5; border-radius: 10px; background: #ffffff; color: #18343f; }
.video-drop input { display: block; margin-top: 12px; }
.video-name { color: var(--mint); }
.sync-state { margin-top: 18px; padding: 16px; border-radius: 10px; background: #e9f1f2; }
.sync-state p { color: var(--muted); line-height: 1.7; }
.role-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.role-toolbar button, .role-panel button { padding: 8px 12px; border: 1px solid #b4cbd0; border-radius: 8px; background: #edf3f4; color: #18343f; cursor: pointer; }
.role-toolbar button.selected { border-color: var(--mint); color: var(--mint); }
.role-panel { max-width: 760px; margin: 0 auto 24px; padding: 24px; }
.role-panel p, .role-panel li { color: var(--muted); line-height: 1.8; }
.role-panel li { padding: 6px 0; }
.role-panel label { display: grid; gap: 8px; margin: 14px 0; }
.role-panel textarea, .role-panel select { min-height: 42px; padding: 10px; border: 1px solid #b4cbd0; border-radius: 8px; background: #ffffff; color: #18343f; }
.role-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.warning-text { color: #8a501e !important; }
.admin-count { display: flex; justify-content: space-between; padding: 14px 0; }
.session-copy strong { display: block; overflow: hidden; color: #18343f; font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.session-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.upload-cta { margin: 20px 3px 15px; min-height: 57px; display: flex; align-items: center; gap: 10px; border: 1px dashed #91b0a6; border-radius: 10px; padding: 9px 11px; background: #e9f3ef; cursor: pointer; }
.upload-cta:hover { background: #dceee5; border-color: var(--mint); }
.plus { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--mint); background: #e0f1eb; font-size: 19px; }
.upload-cta strong, .upload-cta small { display: block; }
.upload-cta strong { font-size: 13px; font-weight: 600; }
.upload-cta small { color: var(--muted); font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 15px 6px 2px; border-top: 1px solid var(--line-soft); }
.sidebar-account-menu { margin-top: auto; }
.expert-directory { display: grid; gap: 16px; }
.expert-directory .panel { padding: 20px; }
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.expert-card { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.expert-card span:last-child { display: grid; gap: 4px; min-width: 0; }
.expert-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expert-avatar-small, .expert-avatar-large { display: block; flex: none; object-fit: cover; border-radius: 10px; background: #e8efef; }
.expert-avatar-small { width: 64px; height: 64px; }
.expert-avatar-large { width: min(240px, 100%); height: 240px; }
.expert-avatar-empty { display: grid; place-items: center; color: #627578; font-size: 12px; }
.expert-detail { display: flex; align-items: flex-start; gap: 24px; margin-top: 16px; }
.expert-detail h4 { margin-bottom: 4px; }
.expert-detail p { white-space: pre-wrap; }
.expert-detail-side { flex: 0 0 min(240px, 40%); }
.expert-detail-content { flex: 1; min-width: 0; }
.expert-detail-field { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.expert-detail-field h4 { margin: 0 0 5px; color: var(--mint); font-size: 14px; }
.expert-detail-field p { margin: 0; font-size: 15px; line-height: 1.7; }
.expert-service-fees { display: grid; gap: 9px; margin-top: 12px; }
.expert-service-fees div { display: flex; justify-content: space-between; gap: 8px; padding: 10px; border: 1px solid #9dbeb3; border-radius: 9px; }
.expert-service-fees span { color: var(--mint); }
.expert-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.expert-photo-row { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.expert-photo-add { width: 80px; height: 70px; display: grid !important; place-items: center; border: 1px dashed var(--mint); border-radius: 9px; color: var(--mint); cursor: pointer; font-size: 23px; }
.expert-photo-add span { font-size: 11px; }
.expert-editor form { display: grid; gap: 12px; margin: 14px 0; }
.expert-editor label { display: grid; gap: 5px; }
.expert-editor input, .expert-editor select, .expert-editor textarea { max-width: 650px; padding: 9px; border: 1px solid var(--line-soft); border-radius: 8px; background: transparent; color: inherit; font: inherit; }
.expert-editor .expert-publish { display: flex; align-items: center; }
.expert-editor .expert-publish input { width: auto; }
@media (max-width: 760px) { .expert-detail { display: block; } .expert-prices { grid-template-columns: 1fr; } .expert-detail-side { margin-bottom: 20px; } }
.sidebar-account-menu > summary { margin-top: 0; cursor: pointer; list-style: none; }
.sidebar-account-menu > summary::-webkit-details-marker { display: none; }
.sidebar-account-actions { display: grid; gap: 4px; padding: 8px 6px; }
.sidebar-account-actions button { min-height: 36px; padding: 0 9px; border: 1px solid var(--line-soft); border-radius: 8px; background: #edf3f4; color: #18343f; text-align: left; cursor: pointer; }
.sidebar-account-actions button:focus-visible, .sidebar-account-menu > summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.sidebar-account-actions button[aria-current="true"] { border-color: var(--mint); color: var(--mint); }
.upload-classification { margin-bottom: 18px; padding: 20px; }
.upload-classification form { display: grid; gap: 12px; }
.upload-classification fieldset { display: flex; flex-wrap: wrap; gap: 12px; border: 1px solid var(--line); border-radius: 8px; }
.upload-classification label { display: grid; gap: 5px; min-width: 160px; }
.upload-classification select { padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--text); }
.upload-classification-actions { display: flex; gap: 10px; }
.pending-training { margin-top: 16px; padding: 18px; }
.avatar, .top-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #e2f0ea; color: var(--mint); font-size: 11px; font-weight: 700; }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { font-size: 12px; font-weight: 600; }
.sidebar-footer small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.online-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--amber); }
.workspace { min-width: 0; }
.topbar { height: 61px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line-soft); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.breadcrumbs b { color: #607780; font-weight: 400; }
.breadcrumbs strong { color: #18343f; font-weight: 550; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.account-login-link { color: var(--mint); font-size: 12px; text-decoration: none; }
.account-login-link:hover { text-decoration: underline; }
.privacy-pill { display: flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #a5c6b8; border-radius: 30px; color: var(--mint); font-size: 11px; }
.privacy-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.help-button { width: 25px; height: 25px; border: 1px solid #a5b9bf; border-radius: 50%; background: transparent; color: #526971; cursor: pointer; }
.top-avatar { width: 29px; height: 29px; background: #e8eef2; color: #344f58; }
.content { max-width: 1440px; margin: 0 auto; padding: 22px 32px 18px; }
.notice { display: flex; align-items: center; gap: 11px; padding: 9px 13px; border: 1px solid #e0c497; border-radius: 9px; background: #fff5e5; color: #785422; }
.notice-icon { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid #986d30; border-radius: 50%; font-size: 12px; }
.notice p { display: flex; flex-wrap: wrap; gap: 4px 9px; margin: 0; font-size: 12px; line-height: 1.5; }
.notice p strong { color: #785422; }
.notice p span { color: #785422; }
.notice-close { margin-left: auto; border: 0; background: transparent; color: #785422; cursor: pointer; font-size: 19px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 23px 0 18px; }
.overline { display: flex; align-items: center; gap: 8px; color: #526971; font-size: 10px; letter-spacing: .16em; }
.live-line { width: 18px; height: 1px; background: var(--mint); }
h1 { margin: 7px 0 4px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.separator { margin: 0 6px; color: #4d666f; }
.quality-inline { color: var(--mint); }
.heading-actions { display: flex; gap: 8px; }
.primary-button, .secondary-button { min-height: 36px; display: inline-flex; align-items: center; gap: 9px; border-radius: 8px; padding: 0 12px; cursor: pointer; font-size: 13px; }
.primary-button { border: 1px solid #76eac2; background: var(--mint); color: #ffffff; font-weight: 650; }
.primary-button:hover { background: #0f5856; }
.secondary-button { border: 1px solid #a5bcc2; background: #ffffff; color: #344f58; }
.secondary-button:hover { border-color: #688b94; background: #eaf2f3; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.metric-card, .panel { border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(155deg, #ffffff, #ffffff); }
.metric-card { min-height: 112px; padding: 13px 15px 12px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #526971; font-size: 12px; }
.metric-icon { color: #146b69; font-size: 17px; }
.metric-card > strong { display: block; margin-top: 8px; font-size: 24px; font-weight: 650; letter-spacing: -.03em; }
.metric-card > strong small { margin-left: 5px; color: #526971; font-size: 12px; font-weight: 450; letter-spacing: 0; }
.metric-foot { display: block; margin-top: 1px; color: #607780; font-size: 11px; }
.chart-panel { margin-top: 12px; padding: 17px 18px 12px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.section-heading h2 { margin: 0; font-size: 15px; font-weight: 620; }
.section-heading p { margin: 3px 0 0; color: #526971; font-size: 12px; }
.chart-controls { display: flex; align-items: center; gap: 13px; }
.chart-legend { display: flex; align-items: center; gap: 6px; color: #526971; font-size: 11px; }
.chart-legend i { width: 12px; height: 3px; border-radius: 3px; background: var(--mint); }
.chart-legend .legend-rate { background: var(--blue); }
.range-button { padding: 4px 8px; border: 1px solid #b4cbd0; border-radius: 6px; background: #f8fbfb; color: #344f58; font-size: 11px; }
.chart-area-wrap { height: 171px; margin-top: 10px; }
.trend-chart { width: 100%; height: 100%; overflow: visible; }
.trend-chart text { fill: #526971; font-size: 10px; }
.chart-grid path { fill: none; stroke: #dce6e8; stroke-width: 1; }
.chart-area { fill: url(#mint-fill); opacity: .08; }
.chart-pace, .chart-rate { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.chart-pace { stroke: var(--mint); }
.chart-rate { stroke: var(--blue); stroke-dasharray: 5 5; opacity: .85; }
.chart-axis { display: flex; justify-content: space-between; padding: 0 2px; color: #526971; font-size: 10px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); gap: 12px; margin-top: 12px; }
.splits-panel, .insight-panel { min-width: 0; padding: 16px 17px 13px; }
.text-button { padding: 2px 0; border: 0; background: transparent; color: var(--mint); cursor: pointer; font-size: 12px; }
.text-button span { margin-left: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; margin-top: 12px; border-collapse: collapse; text-align: left; }
th { padding: 0 7px 8px; color: #526971; font-size: 11px; font-weight: 500; }
td { padding: 7px; border-top: 1px solid #dce6e8; color: #344f58; font-size: 12px; }
th:first-child, td:first-child { padding-left: 1px; }
.pace-value { color: #18343f; font-variant-numeric: tabular-nums; }
.split-bar { display: block; width: 100%; min-width: 42px; height: 5px; border-radius: 4px; background: #e3ecee; overflow: hidden; }
.split-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #146b69, var(--mint)); }
.ai-mark { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #9dbeb3; border-radius: 8px; background: #e6f2ed; color: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.insight-card { margin-top: 13px; padding: 12px; border: 1px solid #9dbeb3; border-radius: 9px; background: #edf6f2; }
.insight-kicker { color: #344f58; font-size: 12px; }
.insight-spark { color: var(--mint); }
.demo-chip { margin-left: 5px; padding: 2px 5px; border-radius: 4px; background: #e0f1eb; color: var(--mint); font-size: 10px; }
.insight-card p { margin: 8px 0 12px; color: #344f58; font-size: 12px; line-height: 1.7; }
.insight-meta { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid #c9dcda; color: #526971; font-size: 10px; }
.data-boundary { display: flex; align-items: flex-start; gap: 9px; margin-top: 11px; padding: 9px 10px; border: 1px solid #d5e1e3; border-radius: 8px; background: #edf3f4; }
.boundary-icon { color: #526971; font-size: 17px; }
.data-boundary p { margin: 0; }
.data-boundary strong, .data-boundary small { display: block; }
.data-boundary strong { color: #344f58; font-size: 11px; font-weight: 600; }
.data-boundary small { margin-top: 3px; color: #80969b; font-size: 11px; line-height: 1.55; }
.footer-note { padding: 13px 2px 0; color: #70858b; font-size: 11px; }
.toast { position: fixed; right: 22px; bottom: 20px; z-index: 5; max-width: min(420px, calc(100vw - 32px)); padding: 11px 14px; border: 1px solid #385a53; border-radius: 9px; background: #112b2a; color: #d1e7dd; box-shadow: 0 10px 30px #0005; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .18s ease; font-size: 13px; }
.toast.visible { opacity: 1; transform: translateY(0); }
.workspace-switch { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 3px; border: 1px solid #28464b; border-radius: 9px; background: #0b1b22; }
.workspace-switch button { min-height: 31px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: #96aaad; cursor: pointer; font-size: 12px; }
.workspace-switch button.selected { background: #18362f; color: var(--mint); }
.team-sidebar-note { margin: 20px 4px; padding: 10px; border: 1px solid #254542; border-radius: 9px; background: #0e2626; }
.team-sidebar-note p { margin: 0; color: #d4e5e0; font-size: 13px; }
.team-workspace { display: grid; gap: 14px; min-width: 0; }
.team-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.team-heading h1 { margin: 5px 0; }
.team-heading p:not(.overline) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.team-heading-actions { display: flex; align-items: center; gap: 10px; }
.team-columns { display: grid; grid-template-columns: minmax(225px, .28fr) minmax(0, 1fr); align-items: start; gap: 14px; }
.team-panel { min-width: 0; padding: 16px 14px; }
.team-panel h2, .team-panel h3 { margin: 0 0 10px; font-size: 14px; }
.team-panel h3 { margin-top: 19px; color: #a9bfbe; font-size: 12px; }
.team-panel > p, .team-empty p, .team-ownership > p { color: #8ba1a4; font-size: 12px; line-height: 1.65; }
.team-picker { display: grid; gap: 5px; }
.team-choice { padding: 9px 10px; border: 1px solid transparent; border-radius: 7px; background: #0d2027; color: #b9ceca; text-align: left; cursor: pointer; font-size: 12px; }
.team-choice.selected { border-color: #326052; background: #12312c; color: var(--mint); }
.team-members { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: #a8bcba; font-size: 11px; }
.team-create-form, .team-invite-form { display: grid; gap: 8px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #1b343b; }
.team-create-form label, .team-invite-form label, .team-comment-form label { color: #a8bfbb; font-size: 12px; }
.team-create-form input, .team-invite-form input, .team-comment-form textarea { width: 100%; min-height: 37px; padding: 8px 10px; border: 1px solid #29474c; border-radius: 7px; background: #0a1a21; color: #dce9e5; font: inherit; font-size: 12px; }
.team-create-form button, .team-invite-form button, .team-invite-card button, .team-comment-form button, .session-ownership-row button { min-height: 34px; padding: 0 10px; border: 1px solid #355a50; border-radius: 7px; background: #17362f; color: #b6f2dc; cursor: pointer; font-size: 12px; }
.team-invite-card { margin: 10px 0; padding: 10px; border: 1px solid #5a4d37; border-radius: 8px; background: #221f19; }
.team-invite-card p { margin: 0 0 8px; color: #dcc9a7; font-size: 12px; }
.team-invite-card button + button { margin-left: 7px; border-color: #3d4546; background: #182327; color: #bbc9c6; }
.team-content { display: grid; gap: 12px; min-width: 0; }
.team-section-heading { display: flex; align-items: center; justify-content: space-between; }
.team-section-heading h2 { margin: 0; font-size: 16px; }
.team-section-heading p { margin: 3px 0 0; color: #859b9e; font-size: 11px; }
.team-ownership { padding: 12px 14px; border: 1px solid #2a4546; border-radius: 9px; background: #0d2025; }
.team-ownership summary { color: #c8dad5; cursor: pointer; font-size: 12px; }
.team-ownership > p { margin: 7px 0; }
.session-ownership-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin: 9px 0 0; padding: 10px; border: 1px solid #263d43; border-radius: 7px; }
.session-ownership-row legend { padding: 0 5px; color: #c4d4d1; font-size: 11px; }
.session-ownership-row label { display: inline-flex; align-items: center; gap: 5px; color: #99adad; font-size: 10px; }
.session-ownership-row input { accent-color: var(--mint); }
.session-ownership-row button { min-height: 29px; margin-left: auto; }
.team-training-list { display: grid; gap: 10px; }
.team-training-card, .team-empty { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(155deg, #ffffff, #ffffff); }
.team-training-card > header { display: flex; justify-content: space-between; gap: 12px; }
.team-training-card h3 { margin: 0; color: #d8e7e2; font-size: 14px; }
.team-training-card header p, .team-training-card header > span { margin: 4px 0 0; color: #849b9e; font-size: 10px; }
.team-training-summary { margin: 12px 0; padding: 9px 0; border-top: 1px solid #d5e1e3; border-bottom: 1px solid #d5e1e3; color: #b8cbc7; font-size: 12px; font-variant-numeric: tabular-nums; }
.team-comments h4 { margin: 0 0 8px; color: #c8d8d5; font-size: 12px; }
.team-comments > p { color: #84999c; font-size: 11px; }
.team-comments blockquote { margin: 7px 0; padding: 9px 11px; border-left: 2px solid var(--mint); background: #0a1b21; }
.team-comments blockquote p { margin: 0 0 5px; color: #c5d7d1; font-size: 12px; }
.team-comments blockquote small { color: #81979a; font-size: 10px; }
.team-comment-form { display: grid; gap: 8px; margin-top: 10px; }
.team-comment-form textarea { min-height: 68px; resize: vertical; }
.team-comment-form button { justify-self: start; }
.team-empty { padding: 26px; text-align: center; }
.team-empty h2 { margin: 0; font-size: 15px; }
.team-security-note { margin: 0; padding: 9px 11px; border: 1px solid #52452f; border-radius: 8px; background: #fff5e5; color: #d3bd94; font-size: 11px; line-height: 1.6; }
.compare-layout { display: grid; grid-template-columns: minmax(230px, .28fr) minmax(0, 1fr); align-items: start; gap: 14px; }
.compare-layout-wide { grid-template-columns: minmax(0, 1fr); }
.compare-picker { position: sticky; top: 12px; min-width: 0; padding: 16px 14px; }
.compare-sidebar-picker { min-width: 0; margin-top: 17px; padding: 13px 3px 0; border-top: 1px solid var(--line-soft); }
.compare-sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.compare-sidebar-heading strong { font-size: 14px; }
.compare-sidebar-picker > p { margin: 3px 4px 0; color: var(--muted); font-size: 11px; }
.compare-selection-count { display: grid; place-items: center; min-width: 38px; height: 28px; padding: 0 7px; border: 1px solid #31524d; border-radius: 20px; color: var(--mint); font-size: 11px; font-variant-numeric: tabular-nums; }
.compare-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; max-height: min(64vh, 680px); margin-top: 12px; overflow-y: auto; overflow-x: hidden; }
.compare-sidebar-options { max-height: min(46vh, 540px); margin-top: 9px; }
.compare-option { display: flex; align-items: flex-start; min-width: 0; gap: 9px; padding: 10px 8px; border: 1px solid transparent; border-radius: 8px; background: #0c1c24; cursor: pointer; }
.compare-option:has(input:checked) { border-color: #9dbeb3; background: #102823; }
.compare-option input { margin: 3px 0 0; accent-color: var(--mint); }
.compare-option > span { min-width: 0; flex: 1; }
.compare-option strong, .compare-option small { display: block; }
.compare-option strong { overflow: hidden; color: #18343f; font-size: 12px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.compare-option small { margin-top: 4px; color: #82999d; font-size: 10px; line-height: 1.5; }
.compare-results { display: grid; gap: 12px; min-width: 0; }
.compare-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 3px 1px 4px; }
.compare-title h1 { margin: 6px 0 4px; }
.compare-title p { margin: 0; color: var(--muted); font-size: 12px; }
.compare-chart, .compare-matrix { min-width: 0; padding: 16px 17px 13px; }
.compare-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.compare-chart h3 { margin: 0; font-size: 14px; font-weight: 620; }
.compare-chart-head p { margin: 4px 0 0; color: #526971; font-size: 11px; }
.compare-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; }
.compare-legend span { display: inline-flex; align-items: center; gap: 5px; color: #a9babb; font-size: 10px; }
.compare-legend i { width: 9px; height: 3px; border-radius: 3px; }
.compare-chart svg { display: block; width: 100%; height: 175px; margin-top: 5px; overflow: visible; }
.compare-chart svg text { fill: #526971; font-size: 10px; }
.chart-grid-line { fill: none; stroke: #dce6e8; stroke-width: 1; }
.compare-chart-range { color: #789097; font-size: 10px; text-align: right; }
.compare-empty { margin: 18px 0 6px; color: #879da0; font-size: 12px; }
.compare-empty-state { display: grid; min-height: 240px; align-content: center; justify-items: center; padding: 28px; text-align: center; }
.compare-empty-state h2 { margin: 13px 0 3px; font-size: 17px; }
.compare-empty-state p { max-width: 400px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.compare-empty-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #9dbeb3; border-radius: 13px; background: #14302b; color: var(--mint); font-size: 25px; }
.compare-table { min-width: 610px; margin-top: 13px; }
.compare-table th, .compare-table td { padding: 9px 10px; vertical-align: middle; }
.compare-table thead th { min-width: 130px; border-bottom: 1px solid #c4d5d9; color: #c6d8d6; font-size: 11px; }
.compare-table thead th:first-child { min-width: 110px; }
.compare-table thead small { display: block; margin-top: 4px; color: #80969b; font-size: 9px; font-weight: 400; }
.compare-col-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; }
.compare-table tbody th { border-top: 1px solid #dce6e8; color: #bdcdcc; font-size: 11px; text-transform: none; }
.compare-table tbody th small { display: inline-block; margin-left: 4px; color: #758d92; font-size: 9px; font-weight: 400; }
.compare-table td { color: #d9e7e4; font-variant-numeric: tabular-nums; }
.compare-table .compare-group th { border-top: 1px solid #31504d; color: var(--mint); }
.compare-limitations { margin: 10px 0 0; color: #859b9e; font-size: 10px; line-height: 1.6; }
.compare-biomech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 13px; }
.compare-biomech-grid article { display: grid; gap: 5px; padding: 11px; border: 1px solid #223e42; border-radius: 8px; background: #ffffff; }
.compare-biomech-grid strong { color: #cbdcd9; font-size: 11px; }
.compare-biomech-grid span, .compare-biomech-grid small { color: #81999c; font-size: 10px; }
.compare-biomech-grid b { color: var(--mint); font-size: 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 1120px) { .app-shell { grid-template-columns: 220px minmax(0, 1fr); } .topbar { padding: 0 22px; } .content { padding-right: 22px; padding-left: 22px; } .metric-card { padding-right: 11px; padding-left: 11px; } .lower-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .app-shell { display: block; } .sidebar { min-height: auto; padding: 12px 14px 10px; border-right: 0; border-bottom: 1px solid var(--line-soft); } .brand { padding: 2px 4px 11px; } .nav-label, .session-list, .session-label, .sidebar-footer { display: none; } .nav-item { display: none; } .nav-item.active { display: inline-flex; width: auto; height: 36px; padding: 0 10px; } .upload-cta { position: absolute; top: 11px; right: 12px; min-height: 35px; margin: 0; padding: 4px 9px; border-style: solid; } .upload-cta .plus { width: 24px; height: 24px; } .upload-cta strong { font-size: 12px; } .upload-cta small { display: none; } .topbar { height: 49px; padding: 0 15px; } .top-actions { gap: 8px; } .content { padding: 13px 14px 18px; } .notice { align-items: flex-start; padding: 9px; } .notice p { display: block; font-size: 11px; } .notice p strong { margin-right: 5px; } .page-heading { align-items: flex-start; flex-direction: column; margin: 18px 0 13px; } .heading-actions { width: 100%; } .heading-actions button { justify-content: center; flex: 1; } .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .metric-card { min-height: 100px; padding: 11px; } .metric-card > strong { font-size: 22px; } .chart-panel { padding: 14px 11px 10px; } .section-heading { align-items: flex-start; } .chart-controls { gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .chart-legend { font-size: 10px; } .range-button { display: none; } .chart-area-wrap { height: 153px; } .lower-grid { gap: 9px; margin-top: 9px; } .splits-panel, .insight-panel { padding: 13px 11px 11px; } .splits-panel th, .splits-panel td { padding-right: 5px; padding-left: 5px; } .splits-panel th:first-child, .splits-panel td:first-child { padding-left: 0; } .footer-note { font-size: 11px; } .compare-layout { grid-template-columns: minmax(0, 1fr); } .compare-picker { position: static; padding: 12px; } .compare-options { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 230px; } .compare-title { align-items: flex-start; flex-direction: column; } .compare-title .primary-button { width: 100%; justify-content: center; } .compare-chart, .compare-matrix { padding: 13px 11px 11px; } .compare-chart-head { flex-direction: column; } .compare-legend { justify-content: flex-start; } .compare-chart svg { height: 145px; } .compare-biomech-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .team-columns { grid-template-columns: minmax(0, 1fr); } .team-heading { align-items: flex-start; flex-direction: column; } .team-heading-actions { width: 100%; justify-content: flex-end; } .team-training-card, .team-empty { padding: 12px; } .session-ownership-row { gap: 8px; } .session-ownership-row button { width: 100%; margin-left: 0; } }
.print-report { display: none; }
#print-report-root { display: none; }
@media print { :root { color-scheme: light; } body { background: #fff; color: #12252a; } .app-shell { display: none !important; } #print-report-root { display: block; } .print-report { display: block; max-width: 190mm; margin: 0 auto; color: #15272a; font: 11pt/1.55 Arial, sans-serif; } .print-report h1 { font-size: 24pt; } .print-report table { width: 100%; margin-bottom: 18px; border-collapse: collapse; } .print-report th, .print-report td { padding: 7px; border: 1px solid #c5d1d2; text-align: left; } .print-report footer { margin-top: 24px; color: #53686c; } }
.history-view { display: grid; gap: 13px; }
.history-view .page-heading { margin: 15px 0 2px; }
.history-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.history-metric { min-height: 107px; display: grid; align-content: start; gap: 6px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(155deg, #ffffff, #ffffff); color: #526971; font-size: 12px; }
.history-metric strong { color: var(--text); font-size: clamp(18px, 2vw, 24px); font-weight: 650; line-height: 1.25; }
.history-metric strong small { margin-left: 5px; color: #526971; font-size: 12px; font-weight: 450; }
.history-metric > small { color: #607780; font-size: 10px; }
.history-chart-panel, .history-recent-panel, .logfile-panel { min-width: 0; padding: 16px 18px; }
.history-metric-switch { display: flex; gap: 4px; padding: 3px; border: 1px solid #28464b; border-radius: 8px; background: #0a1a21; }
.history-metric-switch button { min-height: 29px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: #91a8aa; cursor: pointer; font-size: 11px; }
.history-metric-switch button.selected { background: #18362f; color: var(--mint); }
.weekly-bars { min-height: 210px; display: flex; align-items: end; gap: clamp(8px, 2vw, 22px); overflow-x: auto; padding: 15px 4px 2px; }
.weekly-column { min-width: 76px; flex: 1 0 76px; display: grid; grid-template-rows: auto 125px auto auto; align-items: end; justify-items: center; gap: 5px; color: #80969b; text-align: center; font-size: 10px; }
.weekly-column > strong { color: #d7e7e2; font-size: 11px; font-variant-numeric: tabular-nums; }
.weekly-bar { width: min(36px, 55%); height: 100%; display: flex; align-items: end; overflow: hidden; border-radius: 7px 7px 3px 3px; background: #132831; }
.weekly-bar i { width: 100%; min-height: 4px; border-radius: inherit; background: linear-gradient(180deg, #79ecc2, #347c6b); }
.weekly-column > span { color: #aabbbc; white-space: nowrap; }
.weekly-column > small { color: #607780; font-size: 9px; }
.history-recent-list { display: grid; margin-top: 10px; }
.history-recent-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 15px; padding: 11px 3px; border: 0; border-top: 1px solid #dce6e8; background: transparent; color: #c5d7d2; text-align: left; cursor: pointer; font-size: 12px; }
.history-recent-row > span:first-child { min-width: 0; }
.history-recent-row strong, .history-recent-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-recent-row small { margin-top: 3px; color: #80969b; font-size: 10px; }
.history-recent-row > span:last-child { color: var(--mint); }
.history-storage-note { margin: 0; color: #7c9297; font-size: 10px; line-height: 1.6; }
.history-empty { min-height: 280px; display: grid; align-content: center; justify-items: center; padding: 28px; text-align: center; }
.history-empty-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #9dbeb3; border-radius: 13px; background: #14302b; color: var(--mint); font-size: 24px; }
.history-empty h2 { margin: 13px 0 4px; font-size: 17px; }
.history-empty p { max-width: 530px; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.history-empty-inline { margin: 20px 0 5px; color: #81979b; font-size: 12px; }
.logfile-filters { display: grid; grid-template-columns: minmax(190px, 1.4fr) repeat(2, minmax(140px, .8fr)) auto; align-items: end; gap: 10px; padding-bottom: 15px; }
.logfile-filters label { display: grid; gap: 5px; color: #96acae; font-size: 11px; }
.logfile-filters input { min-width: 0; width: 100%; min-height: 37px; padding: 7px 9px; border: 1px solid #29474c; border-radius: 7px; background: #091a21; color: #dce9e5; font: inherit; font-size: 12px; color-scheme: dark; }
.logfile-filter-actions { display: flex; gap: 7px; }
.logfile-filter-actions button { min-height: 37px; }
.logfile-table { min-width: 850px; margin-top: 0; }
.logfile-table th, .logfile-table td { padding: 10px 8px; }
.logfile-table td strong, .logfile-device { display: block; }
.logfile-table td strong { color: #d5e4df; font-size: 12px; font-weight: 550; }
.logfile-row-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.logfile-delete { color: #e6a39a; }
.import-legacy-note { margin: 0 0 8px; color: #e6c68f; font-size: 11px; line-height: 1.5; }
.logfile-device { margin-top: 3px; color: #7e969a; font-size: 10px; }
.logfile-no-results { padding: 28px 8px !important; color: #879da0; text-align: center; }
.storage-warning { margin-bottom: 12px; padding: 10px 13px; border: 1px solid #795a34; border-radius: 8px; background: #2b2419; color: #f1cb91; font-size: 12px; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: radial-gradient(ellipse at 50% 4%, #17383a 0, #0a1a22 42%, #f2f6f7 78%); }
.login-card { width: min(100%, 440px); padding: 30px; border: 1px solid #d5e1e3; border-radius: 16px; background: linear-gradient(150deg, #ffffff, #ffffff); box-shadow: 0 24px 80px #0005; }
.login-brand { padding: 0 0 28px; text-decoration: none; }
.login-brand strong, .login-brand small { display: block; }
.login-brand small { color: var(--muted); font-size: 11px; }
.eyebrow { margin: 4px 0 9px; color: var(--mint); font-size: 11px; letter-spacing: .08em; }
.login-card h1 { margin: 0; font-size: 27px; }
.login-copy { margin: 9px 0 22px; color: #526971; font-size: 13px; }
.login-form { display: grid; gap: 9px; }
.login-form > label { color: #344f58; font-size: 12px; }
.login-form input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 0 12px; border: 1px solid #9eb5bb; border-radius: 8px; background: #ffffff; color: var(--text); }
.login-form input[type="checkbox"] { width: auto; min-height: 0; padding: 0; margin-right: 6px; accent-color: var(--mint); }
.login-code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 2px; }
.login-code-button, .login-wechat { min-height: 42px; border: 1px solid #a5c6b8; border-radius: 8px; background: #e6f2ed; color: var(--mint); cursor: pointer; padding: 0 12px; }
.login-code-button:disabled, .login-wechat:disabled { cursor: not-allowed; opacity: .55; }
.login-submit { min-height: 44px; margin-top: 5px; border: 1px solid var(--mint); border-radius: 8px; background: var(--mint); color: #ffffff; font-weight: 650; cursor: pointer; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #526971; font-size: 11px; }
.login-divider::before, .login-divider::after { height: 1px; flex: 1; background: #d5e1e3; content: ''; }
.login-wechat { width: 100%; min-height: 44px; }
.login-status { min-height: 36px; margin: 14px 0 0; color: #526971; font-size: 11px; line-height: 1.6; }
.login-terms { margin: 12px 0 0; color: #526971; font-size: 10px; line-height: 1.6; }
@media (max-width: 480px) { .login-card { padding: 23px 18px; } }
@media (max-width: 900px) { .history-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logfile-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .history-view { gap: 9px; } .history-view .page-heading { align-items: flex-start; } .history-view .page-heading .secondary-button { align-self: flex-end; white-space: nowrap; } .history-metrics { gap: 8px; } .history-metric { min-height: 93px; padding: 10px; } .history-metric strong { font-size: 18px; } .history-chart-panel, .history-recent-panel, .logfile-panel { padding: 13px 11px; } .history-chart-panel .section-heading { flex-direction: column; } .history-metric-switch { align-self: flex-start; } .weekly-bars { min-height: 184px; gap: 9px; } .weekly-column { min-width: 68px; flex-basis: 68px; grid-template-rows: auto 105px auto auto; } .history-recent-row { gap: 8px; grid-template-columns: minmax(0, 1fr) auto; } .history-recent-row > span:nth-child(2) { display: none; } .logfile-filters { grid-template-columns: minmax(0, 1fr); } .logfile-filter-actions button { flex: 1; } }

.account-nav-item { margin-top: 12px; flex: 0 0 auto; }
.top-account-button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 2px 3px 2px 11px; border: 1px solid #9eb5bb; border-radius: 20px; background: #edf3f4; color: var(--text); cursor: pointer; white-space: nowrap; font-size: 12px; }
.top-account-button .top-avatar { display: grid; place-items: center; border-radius: 50%; font-size: 12px; }
.account-center { max-width: 790px; margin: 16px auto 24px; padding: 24px; }
.account-id code { overflow-wrap: anywhere; color: var(--text); }
.account-center h1 { margin: 0 0 5px; }
.account-center h2 { margin: 0; font-size: 17px; }
.account-center p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.account-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.account-heading .secondary-button { flex: 0 0 auto; }
.account-state { margin-top: 16px !important; padding: 10px 12px; border-radius: 8px; background: #173332; }
.account-error { color: #ffc4af !important; background: #40292c; }
.account-success { color: var(--mint) !important; }
.account-form, .account-logout { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.account-form label { display: grid; gap: 6px; min-width: 0; color: #344f58; font-size: 13px; }
.account-form input, .account-form select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 11px; border: 1px solid #9eb5bb; border-radius: 8px; background: #ffffff; color: var(--text); }
.account-form button, .account-logout button { justify-self: start; }
.account-form button:disabled, .account-logout button:disabled { cursor: wait; opacity: .55; }
.account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-phone-actions { display: flex; }
@media (max-width: 760px) { .top-account-button { min-height: 40px; flex: 0 0 auto; } .top-actions .privacy-pill { display: none; } .account-center { margin-top: 10px; padding: 17px 14px; } .account-fields { grid-template-columns: minmax(0, 1fr); } .account-heading { align-items: flex-start; } .account-heading .secondary-button { min-height: 40px; } }
@media (max-width: 390px) { .top-account-button { padding-left: 7px; gap: 4px; } .breadcrumbs { gap: 5px; font-size: 12px; } .account-heading { flex-direction: column; } }

.purchase-dialog{width:min(620px,calc(100vw - 24px));max-height:90vh;border:1px solid #d9e2e7;border-radius:18px;padding:24px;color:#172f36;background:#f7fbfc;box-shadow:0 20px 80px #102b3540}.purchase-dialog::backdrop{background:#142d3670}.purchase-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}.purchase-dialog h2{margin:0 0 18px}.purchase-dialog button{cursor:pointer;border:1px solid #b9ccd2;border-radius:9px;background:#edf4f6;color:#153e48;padding:10px 14px;min-height:44px}.purchase-dialog button:disabled{opacity:.6;cursor:wait}.purchase-dialog fieldset{border:1px solid #d5e3e8;border-radius:10px;padding:14px}.purchase-dialog fieldset label{display:flex;gap:10px;margin:10px 0;align-items:center}.purchase-dialog textarea{width:100%;min-height:150px}.purchase-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.purchase-order{padding:12px 0;border-bottom:1px solid #dce8ed}.purchase-price{font-size:28px;font-weight:700}.purchase-order dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px}.purchase-order dd{margin:0;overflow-wrap:anywhere}.purchase-actions{display:flex;flex-wrap:wrap;gap:10px}.purchase-history-item{display:flex;width:100%;justify-content:space-between;gap:12px;text-align:left;margin:10px 0}.purchase-dialog img{display:block;width:240px;max-width:100%;height:auto;margin:16px auto}.purchase-dialog [data-purchase-status]{color:#9d3d2a;overflow-wrap:anywhere}@media(max-width:540px){.purchase-dialog{padding:16px}.purchase-history-item{flex-direction:column}.purchase-actions button{width:100%}}

.purchase-dialog video { display: block; width: 100%; max-height: 65vh; margin: 0.5rem 0; background: #111; }
.purchase-dialog [data-authorized-video-link] { display: block; margin-bottom: 0.75rem; }


.system-messages[hidden]{display:none!important}.system-messages-trigger{min-height:40px;padding:8px 16px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172b4d;cursor:pointer}.system-messages-trigger[aria-expanded="true"]{background:#eaf2ff}.system-messages-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.system-messages-heading h2{margin:0}.system-messages{margin-bottom:20px}.system-messages button:focus-visible,.system-messages-trigger:focus-visible{outline:3px solid #2563eb;outline-offset:3px}

.system-messages [hidden]{display:none!important}.system-messages [aria-label="消息类型"]{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.system-messages [aria-pressed="true"]{background:#24465c;color:white}
.system-messages{padding:20px}.system-messages .account-invitations{padding:16px;margin:16px 0}.system-messages button:not(.primary-button){min-height:36px;padding:7px 13px;border:1px solid #627383;border-radius:7px;background:#243746;color:#f3f7fa;cursor:pointer}.system-messages [aria-pressed="true"]{background:#416d87!important;border-color:#8fb8d0!important}.system-messages input{padding:8px;border:1px solid #8194a5;border-radius:6px;max-width:100%;margin:6px}.system-messages [data-order-messages] p{padding:10px 0;border-bottom:1px solid #354b5a}.system-messages [data-order-messages] button{margin-left:12px}@media(max-width:600px){.system-messages{padding:14px}.system-messages .account-invitations{padding:12px}.system-messages label{display:block}.system-messages input{display:block;width:100%;margin:8px 0;box-sizing:border-box}}

/* Expert profile and consultation forms. */
.service-terms{display:grid;grid-template-columns:minmax(6em,auto) minmax(0,1fr);gap:8px 16px;overflow-wrap:anywhere}.service-terms dd{margin:0}.service-description{white-space:pre-wrap}.expert-editor fieldset{min-width:0;display:grid;gap:12px;border:1px solid var(--line-soft);border-radius:8px;padding:12px}@media(max-width:600px){.service-terms{grid-template-columns:1fr}}
    margin: 2px;
    vertical-align: middle;
  }
}

/* Consultation draft and complete review: preserve long service text on mobile. */
.service-terms { display:grid; grid-template-columns: minmax(6em,auto) minmax(0,1fr); gap:8px 16px; overflow-wrap:anywhere; }
.service-terms dd { margin:0; }
.service-description { white-space:pre-wrap; }
.expert-editor fieldset { min-width:0; display:grid; gap:12px; border:1px solid var(--line-soft); border-radius:8px; padding:12px; }
@media(max-width:600px) { .service-terms { grid-template-columns:1fr; } }

.system-messages[hidden]{display:none!important}.system-messages-trigger{min-height:40px;padding:8px 16px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172b4d;cursor:pointer}.system-messages-trigger[aria-expanded="true"]{background:#eaf2ff}.system-messages-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.system-messages-heading h2{margin:0}.system-messages{margin-bottom:20px}.system-messages button:focus-visible,.system-messages-trigger:focus-visible{outline:3px solid #2563eb;outline-offset:3px}

.system-messages [hidden]{display:none!important}.system-messages [aria-label="消息类型"]{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.system-messages [aria-pressed="true"]{background:#24465c;color:white}
.system-messages{padding:20px}.system-messages .account-invitations{padding:16px;margin:16px 0}.system-messages button:not(.primary-button){min-height:36px;padding:7px 13px;border:1px solid #627383;border-radius:7px;background:#243746;color:#f3f7fa;cursor:pointer}.system-messages [aria-pressed="true"]{background:#416d87!important;border-color:#8fb8d0!important}.system-messages input{padding:8px;border:1px solid #8194a5;border-radius:6px;max-width:100%;margin:6px}.system-messages [data-order-messages] p{padding:10px 0;border-bottom:1px solid #354b5a}.system-messages [data-order-messages] button{margin-left:12px}@media(max-width:600px){.system-messages{padding:14px}.system-messages .account-invitations{padding:12px}.system-messages label{display:block}.system-messages input{display:block;width:100%;margin:8px 0;box-sizing:border-box}}
