/* 首页只展开关键数字、待办和常用入口，明细按需展开。 */
.app-shell > .main > .content .workbench-overview {
  display: grid; gap: 20px; width: 100%; max-width: 1360px; min-width: 0;
  margin: 0 auto; color: #344156;
}
.workbench-overview *, .workbench-overview *::before, .workbench-overview *::after { box-sizing: border-box; }
.workbench-overview svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-shell > .main > .content .workbench-overview .wb-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 0 4px; }
.app-shell > .main > .content .workbench-overview .wb-topline h1 { margin: 0; color: #25344b; font-size: 23px; font-weight: 600; line-height: 1.5; letter-spacing: .5px; }
.workbench-overview .wb-topline .btn { gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 4px; font-size: 13px; }
.workbench-overview .wb-topline .btn svg { width: 16px; height: 16px; }
.workbench-overview .wb-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.workbench-overview .wb-metrics:empty { display: none; }
.app-shell > .main > .content .workbench-overview .wb-metric { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; min-height: 112px; padding: 18px 22px; color: inherit; background: #fff; border: 1px solid #e7ebf1; border-radius: 6px; text-decoration: none; transition: border-color .15s, background .15s; }
.app-shell > .main > .content .workbench-overview a.wb-metric:hover { border-color: #b5cbed; background: #fcfdff; }
.workbench-overview .wb-metric-title { margin: 0; color: #6b788b; font-size: 13px; line-height: 1.5; }
.workbench-overview .wb-metric-number { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; min-width: 0; line-height: 1.2; }
.workbench-overview .wb-metric-number strong { color: #253b5c; font-size: 30px; font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.workbench-overview .wb-metric-number > span { margin: 0; color: #8994a5; font-size: 12px; }
.workbench-overview .wb-metric[data-tone="success"] .wb-metric-number strong { color: #258165; }
.workbench-overview .wb-metric[data-tone="warning"] .wb-metric-number strong { color: #ae792a; }
.workbench-overview .wb-main-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; gap: 20px; }
.workbench-overview .wb-main-grid.wb-main-single { grid-template-columns: minmax(0, 1fr); }
.workbench-overview .wb-panel { min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid #e7ebf1; border-radius: 6px; }
.app-shell > .main > .content .workbench-overview .wb-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; margin: 0 0 18px; }
.app-shell > .main > .content .workbench-overview .wb-panel-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: #33435a; font-size: 15px; font-weight: 600; line-height: 1.5; }
.app-shell > .main > .content .workbench-overview .wb-text-link { color: #657d9e; font-size: 12px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.workbench-overview .wb-text-link:hover { color: #1768d6; }
.workbench-overview .wb-text-link > span { margin-left: 4px; }
.workbench-overview .wb-task-list { min-height: 150px; }
.app-shell > .main > .content .workbench-overview .wb-task { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 47px; padding: 10px 0; color: inherit; text-decoration: none; border-bottom: 1px solid #eff2f6; }
.workbench-overview .wb-task:last-child { border-bottom: 0; }
.workbench-overview .wb-task > strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #40516a; font-size: 13px; font-weight: 400; }
.workbench-overview .wb-task:hover > strong { color: #1768d6; }
.workbench-overview .wb-task-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #72a4df; }
.workbench-overview .wb-task-dot[data-priority="urgent"] { background: #d87575; }
.workbench-overview .wb-task-type { flex: 0 0 auto; margin: 0; padding: 3px 6px; color: #7b899c; background: #f4f6f9; border-radius: 3px; font-size: 11px; }
.workbench-overview .wb-task-arrow { color: #a8b3c1; font-size: 18px; }
.workbench-overview .wb-empty { display: flex; min-height: 150px; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: #8c98a8; font-size: 13px; }
.workbench-overview .wb-empty-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #92a5bd; background: #f2f5f9; }
.workbench-overview .wb-empty-icon svg { width: 23px; height: 23px; stroke-width: 1.4; }
.workbench-overview .wb-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.workbench-overview .wb-shortcuts > a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 69px; padding: 12px; color: #4b5c74; background: #f8fafc; border: 1px solid transparent; border-radius: 4px; font-size: 13px; line-height: 1.5; text-decoration: none; }
.workbench-overview .wb-shortcuts > a:hover { color: #1768d6; background: #f1f6fd; border-color: #dce7f7; }
.workbench-overview .wb-shortcut-icon { display: flex; align-items: center; flex: 0 0 auto; color: #6a8ebc; }
.workbench-overview .wb-shortcuts > a > span { margin: 0; }
.workbench-overview .wb-shortcut-arrow { margin-left: auto !important; color: #a4b2c4; font-size: 17px; }
.workbench-overview .wb-year { margin: 0; padding: 2px 7px; color: #8a96a6; background: #f4f6f9; border-radius: 3px; font-size: 11px; font-weight: 400; }
.workbench-overview .wb-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-shell > .main > .content .workbench-overview .wb-amounts .wb-metric { min-height: 88px; gap: 11px; padding: 6px 26px; background: transparent; border: 0; border-radius: 0; }
.app-shell > .main > .content .workbench-overview .wb-amounts .wb-metric:first-child { padding-left: 0; }
.app-shell > .main > .content .workbench-overview .wb-amounts .wb-metric + .wb-metric { border-left: 1px solid #edf0f5; }
.workbench-overview .wb-amounts .wb-metric-number strong { font-size: 27px; }
.workbench-overview .wb-extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.workbench-overview .wb-disclosure { min-width: 0; background: #fff; border: 1px solid #e7ebf1; border-radius: 6px; }
.workbench-overview .wb-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 20px; color: #738197; cursor: pointer; list-style: none; font-size: 13px; }
.workbench-overview .wb-disclosure > summary::-webkit-details-marker { display: none; }
.workbench-overview .wb-disclosure > summary svg { width: 16px; height: 16px; color: #93a0b1; transition: transform .15s; }
.workbench-overview .wb-disclosure[open] > summary svg { transform: rotate(180deg); }
.workbench-overview .wb-disclosure > summary:hover { color: #276fc4; }
.workbench-overview .wb-extra-metrics { display: grid; gap: 0; padding: 0 20px 12px; }
.workbench-overview .wb-extra-metric { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: #778499; border-top: 1px solid #eff2f6; font-size: 13px; text-decoration: none; }
.workbench-overview .wb-extra-metric strong { color: #435570; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.workbench-overview .wb-extra-metric small { margin-left: 6px; color: #99a4b4; font-size: 11px; font-weight: 400; }
.workbench-overview .wb-extra-metric:hover { color: #1768d6; }
.workbench-overview .wb-guides { display: grid; gap: 16px; padding: 0 20px 18px; }
.app-shell > .main > .content .workbench-overview .wb-guide h3 { margin: 0 0 7px; color: #566880; font-size: 13px; font-weight: 500; }
.workbench-overview .wb-guide ol { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: #9ca8b7; font-size: 12px; }
.workbench-overview .wb-guide a { color: #76869b; text-decoration: none; line-height: 1.5; }
.workbench-overview .wb-guide a:hover { color: #1768d6; }
.workbench-overview a:focus-visible, .workbench-overview summary:focus-visible { outline: 2px solid #72a9ee; outline-offset: 3px; border-radius: 4px; }
@media (max-width: 1150px) {
  .app-shell > .main > .content .workbench-overview .wb-metric { padding: 16px; }
  .workbench-overview .wb-main-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
  .workbench-overview .wb-panel { padding: 18px; }
  .workbench-overview .wb-shortcuts { gap: 10px; }
  .workbench-overview .wb-shortcuts > a { gap: 7px; padding: 10px; }
  .workbench-overview .wb-shortcut-arrow { display: none; }
}
@media (max-width: 740px) {
  .app-shell > .main > .content .workbench-overview { gap: 16px; }
  .workbench-overview .wb-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .workbench-overview .wb-main-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .workbench-overview .wb-task-list, .workbench-overview .wb-empty { min-height: 110px; }
  .workbench-overview .wb-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .workbench-overview .wb-shortcuts > a { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 5px; font-size: 12px; }
  .workbench-overview .wb-extra-grid { gap: 12px; }
}
@media (max-width: 700px) {
  .app-shell:has(.workbench-overview) > .topbar { flex-direction: row; align-items: center; gap: 8px; padding: 0 14px; }
  .app-shell:has(.workbench-overview) > .topbar .brand { flex: 1 1 auto; width: auto; min-width: 0; padding: 0; }
  .app-shell:has(.workbench-overview) > .topbar .brand strong { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .app-shell:has(.workbench-overview) > .topbar .top-actions { flex: 0 0 auto; margin: 0; }
  .app-shell:has(.workbench-overview) > .topbar .topbar-account-trigger > span { display: none; }
}
@media (max-width: 420px) {
  .app-shell > .main > .content .workbench-overview .wb-topline h1 { font-size: 21px; }
  .workbench-overview .wb-topline .btn { padding: 0 10px; font-size: 12px; }
  .app-shell > .main > .content .workbench-overview .wb-metric { min-height: 98px; gap: 9px; padding: 14px; }
  .workbench-overview .wb-metric-title { font-size: 12px; }
  .workbench-overview .wb-metric-number strong { font-size: 27px; }
  .workbench-overview .wb-panel { padding: 16px; }
  .app-shell > .main > .content .workbench-overview .wb-panel-heading { margin-bottom: 14px; }
  .app-shell > .main > .content .workbench-overview .wb-amounts .wb-metric { min-height: 76px; padding: 4px 10px; }
  .workbench-overview .wb-amounts .wb-metric-number { gap: 4px; }
  .workbench-overview .wb-amounts .wb-metric-number strong { font-size: 19px; }
  .workbench-overview .wb-amounts .wb-metric-number > span { font-size: 10px; }
  .workbench-overview .wb-extra-grid { grid-template-columns: minmax(0, 1fr); }
}
