/* Apple-inspired workspace: quiet surfaces, system typography and restrained color. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
  font-size: 15px;
  --blue: #007aff;
  --accent: #007aff;
  --soft: #eef5ff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --panel: #fff;
  color: var(--text);
  background: #f5f5f7;
}
body { background: #f5f5f7; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #007aff55; outline-offset: 3px;
}
.sidebar {
  width: 236px; padding: 30px 15px 20px; overflow-y: auto;
  background: #eeeef0d9; color: #3a3a3c; border-right: 1px solid #dedee3;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.brand { margin: 0 10px 38px; gap: 11px; color: #1d1d1f; font-size: 17px; letter-spacing: -.3px; }
.brand-icon {
  width: 39px; height: 39px; flex-shrink: 0; border-radius: 12px;
  background: #fff; color: #353539; font-size: 21px;
  border: 1px solid #e1e1e5; box-shadow: 0 2px 5px #00000004;
}
.brand small { color: #8e8e93; letter-spacing: .4px; margin-top: 5px; }
.nav-label { font-size: 11px; color: #86868b; font-weight: 600; letter-spacing: .2px; margin: 0 14px 10px; }
.sidebar .nav-item {
  padding: 10px 13px; min-height: 43px; margin: 0 0 4px; border-radius: 9px;
  color: #4a4a4f; font-size: 14px; font-weight: 450; border: 0; box-shadow: none;
  transition: background .15s ease;
}
.sidebar .nav-item:hover { background: #e3e3e8; color: #1d1d1f; }
.sidebar .nav-item:not(.active):hover { background: #e3e3e8; color: #1d1d1f; }
.sidebar .nav-item.active { background: #dce9fd; color: #0066cc; font-weight: 600; }
.nav-item span { font-size: 18px; }.nav-item .nav-text { font-size: 14px; }
.nav-item.active span { color: #007aff; }
.nav-item b { color: #76767c; background: #dedee4; border: 0; border-radius: 6px; padding: 1px 6px; font-size: 11px; }
.nav-item.active b { background: #c8ddfa; color: #0066cc; }
.side-note { color: #86868b; border-color: #dcdcE2; padding: 18px 12px; font-size: 12px; }
.privacy-icon { color: #34a66b; }.profile { margin: 20px 8px 0; color: #424247; font-size: 13px; }
.profile > span { background: #e0e0e5; color: #63636a; border-radius: 11px; }.profile small { color: #8e8e93; }
.workspace { margin-left: 236px; min-width: 0; }
.topbar {
  height: 72px; padding: 0 34px; gap: 18px; background: #fafafcd9;
  border-color: #e5e5ea; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.topbar > div:first-child { color: #86868b; }.topbar strong { color: #45454a; font-weight: 500; }
.topbar span { color: #c7c7cc; }.topbar time { font-size: 11px; color: #86868b; }
.topbar-role { gap: 13px; }.topbar-role label { color: #86868b; font-size: 12px; }
.topbar-role select { background: #eeeef2; color: #424247; padding: 7px 11px; border: 1px solid #e2e2e7; border-radius: 9px; font-size: 12px; }
main { padding: 38px 34px 24px; max-width: 1640px; }
h1 { color: #1d1d1f; font-size: 32px; line-height: 1.3; letter-spacing: -.8px; font-weight: 650; }
h2, h3 { color: #2c2c2e; letter-spacing: -.2px; }.subtitle { font-size: 14px; color: #86868b; line-height: 1.8; margin-top: 10px; }
.page-heading { margin-bottom: 8px; gap: 20px; }.eyebrow { color: #86868b; font-size: 10px; letter-spacing: 1px; font-weight: 500; }
.source-note { background: transparent; color: #86868b; font-size: 11px; padding: 0; margin: 24px 0; line-height: 1.8; }
.source-dot { background: #aaaab0; width: 5px; height: 5px; }
.button { color: #414146; border: 1px solid #ddddE3; background: #fff; border-radius: 9px; min-height: 38px; padding: 9px 15px; justify-content: center; text-decoration: none; box-shadow: 0 1px 2px #00000003; }
.button:hover { border-color: #c2c2c8; background: #fafafa; }
.button.primary-button, .primary-button { background: #007aff; border-color: #007aff; color: #fff; box-shadow: none; border-radius: 9px; }
.primary-button:hover { background: #006ce3; }.button:disabled { opacity: .45; }
.text-button, .detail-btn, .agenda-action, .upcoming-item .text-button { color: #007aff; }
.robot-card, .candidate-panel, .records-panel, .schedule-panel, .follow-panel, .executive-card, .stat, .job-panel, .service-status-overview article, .archive-summary-actions button {
  background: #fff; border: 1px solid #e9e9ed; border-radius: 16px; box-shadow: 0 2px 8px #00000003;
}
.robot-card { padding: 24px; }.section-top { gap: 18px; }.section-top p { color: #86868b; font-size: 12px; line-height: 1.8; }
.executive-metrics { gap: 17px; }.executive-card { padding: 23px; position: relative; min-height: 155px; }
.executive-card::before { display: none; }
.executive-card > .metric-title { color: #6e6e73; font-size: 13px; }.executive-card > b { font-size: 39px; color: #1d1d1f; font-weight: 600; letter-spacing: -1.3px; margin: 13px 0 8px; }
.executive-card:first-child > b, .executive-card.metric-invitation > b { color: #007aff; }
.executive-card > small { color: #86868b; font-size: 11px; }
.metric-icon { background: #f3f3f6; color: #8e8e93; border-radius: 9px; }
.metric-invitation .metric-icon { background: #eef5ff; color: #007aff; }.metric-complete .metric-icon { background: #eff8f2; color: #5a9c73; }
.metric-decision .metric-icon { background: #f5f2fb; color: #9383b2; }.metric-cancelled .metric-icon { background: #f3f3f6; color: #9b9ba0; }
.executive-card:hover, .stat:hover { background: #fff; border-color: #d8d8de; transform: none; box-shadow: 0 4px 14px #00000005; }
.stat.primary { background: #007aff; border-color: #007aff; }.stat.primary .stat-note { color: #ddecff; }.stat-icon { color: #86868b; }.primary .stat-icon { color: #ddecff; }
.stat-number { font-variant-numeric: tabular-nums; font-weight: 600; }.badge { border-radius: 6px; font-size: 11px; padding: 4px 8px; background: #f2f2f5; color: #86868b; }
.badge.blue { background: #eef5ff; color: #3479c7; }.badge.green { background: #edf7ef; color: #4d8d61; }.badge.amber { background: #faf4e9; color: #a18a5c; }.badge.red { background: #fbefef; color: #b47a7a; }
.tiny-label { color: #8e8e93; background: #f4f4f7; }.avatar { color: #74747a; background: #f1f1f5; border-radius: 10px; border: 0; }
.candidate small, .time-cell small { color: #8e8e93; }.agenda-date, .upcoming-date { background: #f5f5f8; color: #74747b; border-radius: 10px; border: 0; }
.agenda-row:hover { background: #fafafd; }.agenda-row > span > b { font-weight: 550; }.agenda-task-label { background: #f8f3e8; color: #9b8865; }
th { background: #fafafc; color: #8e8e93; font-weight: 500; border-bottom: 1px solid #efeff2; }
td { border-bottom-color: #efeff2; }.table-wrap, .candidate-table-wrap, .progress-table-wrap { overscroll-behavior-x: contain; scrollbar-width: thin; }
tbody tr:hover { background: #fafafd; }.pagination { border-color: #efeff2; color: #8e8e93; }.pagination button { background: #fff; border-color: #e5e5ea; border-radius: 7px; }
.search { background: #fff; border-color: #e2e2e7; border-radius: 9px; min-height: 40px; }.search input { font-size: 13px; }
.filters select, .filters > input, .candidate-toolbar select, .progress-filters select { border: 1px solid #e2e2e7; border-radius: 9px; min-height: 40px; }
.tabs { border-color: #e9e9ee; }.tabs button { min-height: 42px; color: #8e8e93; }.tabs button.selected { color: #007aff; border-color: #007aff; }
.date-cell { background: #fafafc; border-color: #e9e9ee; border-radius: 10px; }.date-cell.selected, .date-cell:hover { background: #eef5ff; border-color: #c8def8; }.date-cell .day-count strong { color: #007aff; }
dialog { background: #fff; color: #1d1d1f; border: 1px solid #e5e5ea; border-radius: 20px; box-shadow: 0 24px 90px #00000026; }
dialog::backdrop { background: #26262a42; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.detail-head, .jd-assistant-head { padding: 25px 28px; background: #fffffff5; border-color: #eaeaf0; }.detail-body { padding: 24px 28px; }
.detail-head .close { background: #f2f2f5; color: #8e8e93; flex-shrink: 0; }.detail-body p { color: #6e6e73; }.detail-facts > div { background: #f7f7f9; border-radius: 12px; }
.meeting-form input, .meeting-form textarea, .robot-card input, .robot-card textarea, .robot-card select, .service-section-content input, .service-section-content select {
  background: #fafafc; color: #3a3a3c; border: 1px solid #e2e2e7; border-radius: 9px;
}
.session-stages button { border-radius: 10px; }.session-stages button.active { background: #eef5ff; border-color: #c8ddfa; }
.service-heading { margin-bottom: 26px; }.service-heading .eyebrow { display: none; }.service-heading h1 { font-size: 32px; }
.service-status-overview { gap: 17px; margin: 26px 0; }.service-status-overview article { padding: 23px; }
.service-status-overview span { color: #86868b; font-size: 12px; }.service-status-overview b { color: #3a3a3c; font-size: 20px; font-weight: 550; margin: 10px 0; }.service-status-overview small { color: #8e8e93; font-size: 12px; }
.service-workspace { grid-template-columns: 185px minmax(0,1fr); gap: 24px; }.service-section-nav { top: 92px; gap: 6px; }
.service-section-button { padding: 14px; border-radius: 10px; color: #6e6e73; }.service-section-button b { font-size: 14px; font-weight: 500; }.service-section-button small { color: #8e8e93; font-size: 11px; }
.service-section-button[aria-pressed=true] { background: #e9e9ee; color: #1d1d1f; border: 1px solid #e0e0e6; box-shadow: none; }
.service-help, .robot-help { color: #86868b; background: #fafafc; border-color: #e9e9ee; border-radius: 10px; }
.service-grid #bailianForm, #jdAISettings, #workspaceMembers { display: none !important; }
.enterprise-members p { color: #86868b; font-size: 13px; line-height: 1.8; }
.agent-command, .agent-plan, .agent-run { border-color: #e9e9ee; border-radius: 14px; }.agent-command-state, .agent-command-kind { background: #f2f2f7; color: #86868b; }
.agent-evidence-note { background: #fafafc; border-color: #e9e9ee; border-radius: 12px; }.agent-conversation-empty { background: #fafafc; border-color: #e9e9ee; }
.agent-metrics { gap: 16px; }.agent-metrics .stat { background: #fff; }.migration-notice { background: #faf6ee; color: #94815d; border: 1px solid #ece4d7; border-radius: 10px; padding: 13px 18px; margin: 0 0 20px; font-size: 12px; }
.config-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }.config-intro .eyebrow { display: none; }
.config-intro h2 { font-size: 20px; margin: 0 0 7px; }.config-intro p { color: #86868b; font-size: 12px; line-height: 1.8; margin: 0; }
.config-version { color: #86868b; background: #eeeef2; border-radius: 7px; padding: 6px 10px; font-size: 10px; white-space: nowrap; }
.integrated-config-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.service-section-content .integrated-config-card { margin: 0 !important; padding: 25px; overflow: hidden; }
.config-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }.integration-index { display: grid; place-items: center; width: 29px; height: 29px; background: #f2f2f7; color: #86868b; border-radius: 8px; font-size: 11px; }
.integration-tag { font-size: 9px; letter-spacing: .5px; color: #8e8e93; }.integration-state { margin-left: auto; color: #8e8e93; font-size: 10px; white-space: nowrap; }
.integrated-config-card h3 { font-size: 16px; margin: 0 0 7px; font-weight: 600; }.integrated-config-card > p { font-size: 12px; color: #8e8e93; margin: 0 0 24px; }
.integrated-config-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }.service-section-content .integrated-config-fields label { margin: 0; gap: 7px; color: #636369; font-size: 12px; min-width: 0; }
.integrated-config-fields .wide { grid-column: 1/-1; }.integrated-config-fields input { min-width: 0; font-size: 13px !important; min-height: 42px !important; }.integrated-config-fields small { color: #8e8e93; font-size: 10px; line-height: 1.7; }
.config-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 21px 0; margin-top: 8px; }.config-actions > [data-config-dirty] { margin-left: auto; color: #8e8e93; font-size: 11px; }
.config-message { background: #faf6ee; color: #94815d; border: 1px solid #ece4d7; border-radius: 10px; padding: 13px 16px; font-size: 13px; line-height: 1.8; }.config-message.success { background: #f0f8f2; border-color: #dfece1; color: #548361; }
.config-receipt p { color: #6e6e73; font-size: 13px; line-height: 1.9; }
footer { color: #a0a0a5; font-size: 11px; line-height: 1.8; }
.authentication-required > :not(#workbenchLoginGate) { display: none !important; }
.workbench-login-gate, .login-gate { max-width: 540px; margin: 14vh auto; padding: 44px; background: #fff; border: 1px solid #e7e7eb; border-radius: 22px; box-shadow: 0 8px 35px #00000006; }
.workbench-login-gate h1 { font-size: 28px; margin: 0 0 15px; }.workbench-login-gate p { color: #86868b; margin: 0 0 25px; line-height: 1.8; }.workbench-login-gate a { display: inline-block; padding: 11px 18px; background: #007aff; color: #fff; border-radius: 10px; text-decoration: none; font-size: 13px; }
.mobile-views { scrollbar-width: none; }.mobile-views::-webkit-scrollbar { display: none; }.mobile-views button.active { background: #e9f1fd; color: #007aff; }
@media(min-width:801px) and (max-height:800px) {
  .sidebar { padding-top: 24px; padding-bottom: 16px; }.brand { margin-bottom: 25px; }
  .sidebar .nav-item { height: 40px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
  .side-note { padding-top: 13px; padding-bottom: 13px; }.profile { margin-top: 14px; }
}
@media(max-width:1180px) {
  .sidebar { width: 210px; padding: 26px 12px; }.workspace { margin-left: 210px; }.topbar { padding: 0 24px; }.topbar time { display: none; }main { padding: 32px 24px; }
  .content-grid { grid-template-columns: minmax(0,1fr); }.follow-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }.follow-panel > .section-top, .follow-panel .count-note { grid-column: 1/-1; }
  .integrated-config-grid { grid-template-columns: 1fr; }.service-workspace { grid-template-columns: 170px minmax(0,1fr); }
}
@media(max-width:900px) {
  .service-workspace { grid-template-columns: 1fr; }.service-section-nav { position: static; flex-direction: row; overflow: auto; }.service-section-button { min-width: 137px; }
}
@media(max-width:800px) {
  .sidebar { display: none; }.workspace { margin-left: 0; }.topbar { height: auto; min-height: 68px; padding: 14px 18px; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .topbar > div:first-child { font-size: 12px; }.topbar-role { flex-wrap: wrap; gap: 10px; }.topbar-role label { font-size: 11px; }.topbar span { margin: 0 7px; }.auto-sync-status { font-size: 10px; }
  .mobile-views { display: flex; position: sticky; top: 0; z-index: 5; gap: 6px; padding: 10px 16px; background: #fafafcf5; border-bottom: 1px solid #e5e5ea; overflow-x: auto; white-space: nowrap; backdrop-filter: blur(20px); }
  .mobile-views button { flex-shrink: 0; border-radius: 8px; min-height: 37px; padding: 8px 12px; font-size: 12px; }.mobile-views button.active { border-bottom-color: transparent; }
  main { padding: 28px 16px; overflow-x: clip; }h1, .service-heading h1 { font-size: 28px; }.page-heading { align-items: flex-start; }.header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .source-note { margin: 20px 0; font-size: 11px; }.executive-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.executive-card { padding: 18px; min-height: 144px; }.executive-card > b { font-size: 33px; }
  .executive-columns { grid-template-columns: 1fr; }.executive-columns > .robot-card { grid-column: auto; }.robot-card { padding: 20px; min-width: 0; }
  .candidate-toolbar, .filters, .progress-filters { gap: 9px; flex-wrap: wrap; }.filters .search, .candidate-toolbar .search, .progress-filters .search { flex-basis: 100%; }
  .filters select, .filters > input, .candidate-toolbar select, .progress-filters select { max-width: 100%; flex: 1; min-width: 120px; }
  .section-top { align-items: flex-start; flex-wrap: wrap; }.pagination { gap: 12px; flex-wrap: wrap; padding: 14px 16px; }.detail-head, .detail-body { padding: 22px; }
  .service-status-overview { grid-template-columns: 1fr; gap: 10px; }.service-status-overview article { padding: 18px; }.service-status-overview b { font-size: 18px; }
  .service-grid { grid-template-columns: 1fr; }.session-stages { display: flex; overflow-x: auto; gap: 8px; }.session-stages button { flex: 0 0 155px; }
  .follow-panel { display: block; }.result-distribution { overflow-x: auto; }.hr-period-toolbar > div { min-width: 0; }footer { flex-direction: column; gap: 8px; }
  .config-intro { align-items: flex-start; }.config-version { margin-top: 3px; }.config-actions > [data-config-dirty] { width: 100%; margin-left: 0; }
}
@media(max-width:600px) {
  .candidate-table, .progress-table, .records-panel table { display: block; min-width: 0 !important; width: 100%; white-space: normal; }
  .candidate-table thead, .progress-table thead, .records-panel table thead { display: none; }
  .candidate-table tbody, .progress-table tbody, .records-panel table tbody { display: block; padding: 0 16px 16px; }
  .candidate-table tr, .progress-table tr, .records-panel table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; background: #fff; padding: 20px 0; border-bottom: 1px solid #efeff2; }
  .candidate-table td, .progress-table td, .records-panel table td { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 !important; border: 0; max-width: none; min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
  .candidate-table td::before, .progress-table td::before, .records-panel table td::before { content: attr(data-title); color: #8e8e93; font-size: 11px; }
  .candidate-table td:first-child, .progress-table td:first-child, .records-panel table td:first-child { grid-column: 1/-1; }
  .candidate-table td:first-child::before, .progress-table td:first-child::before, .records-panel table td:first-child::before { display: none; }
  .candidate-table td:last-child, .progress-table td:last-child, .records-panel table td:last-child { grid-column: 1/-1; border-top: 1px solid #efeff2; padding-top: 12px !important; }
  .candidate-table td:last-child::before, .progress-table td:last-child::before, .records-panel table td:last-child::before { display: none; }
  .candidate-table td:not(:first-child):not(:last-child)::before, .progress-table td:not(:first-child):not(:last-child)::before, .records-panel table td:not(:first-child):not(:last-child)::before { display: block !important; content: attr(data-title) !important; }
  .candidate-table .candidate small { font-size: 12px; }.auto-sync-status { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
  .service-section-button { min-width: 115px; }.integrated-config-grid { gap: 14px; }.service-section-content .integrated-config-card { padding: 21px; }
  .integrated-config-fields { grid-template-columns: 1fr; }.integrated-config-fields .wide { grid-column: auto; }.integration-tag { font-size: 8px; }.config-intro h2 { font-size: 19px; }
  .config-actions .button { flex: 1; min-width: 95px; font-size: 12px; padding: 10px; }.config-actions > [data-config-dirty] { text-align: center; }.topbar-role select { max-width: 150px; }
  .workbench-login-gate, .login-gate { margin: 11vh 18px; padding: 30px 24px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
