/* 界面样式源码；构建产物位于 dist，不直接修改产物。 */
:root {
  --purple: #7040dc;
  --border: #e5e9f2;
  --ink: #1c2540;
  --muted: #727d94;
  --canvas: #f3f5fa;
}
.workspace {
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  line-height: 1.55;
}
.workspace main {
  margin-left: 264px;
  padding: 28px 36px 20px;
  max-width: 1860px;
  min-height: 100dvh;
}
.workspace header {
  margin-bottom: 24px;
  gap: 24px;
  align-items: center;
}
.workspace header > div:first-child {
  min-width: 0;
}
.workspace header .eyebrow {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #77839b;
}
.workspace .page-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.workspace h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.45;
}
.workspace h1:focus {
  outline: none;
}
.workspace .page-description {
  font-size: 14px;
  color: #77839b;
  margin: 7px 0 0;
}
.workspace .data-mode {
  font-size: 12px;
  letter-spacing: 0.2px;
  border: 1px solid #e5d5b5;
  border-radius: 6px;
  color: #94661e;
  background: #fff9ed;
  padding: 3px 8px;
  white-space: nowrap;
}
.workspace .data-mode.persistent {
  border-color: #d8d5ef;
  color: #675093;
  background: #eeeafb;
}
.workspace .header-right {
  gap: 8px;
}
.workspace #employee-label {
  background: #fff;
  color: #52617c;
  border: 1px solid var(--border);
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: normal;
  max-width: 300px;
}
.workspace .header-right button {
  background: transparent;
  border: 1px solid #dfe4ef;
  color: #5f6d86;
  padding: 9px 12px;
}
.workspace .notice {
  border: 1px solid #efe2c6;
  background: #fffaf0;
  color: #8c6a31;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.65;
}
.workspace .notice.persistent {
  background: #edf1f9;
  border-color: #e1e7f2;
  color: #61708b;
}
.workspace .stats {
  gap: 18px;
  margin-bottom: 24px;
}
.workspace .stat {
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 2px 5px #27385803;
}
.workspace .stat label {
  color: #728099;
  font-size: 14px;
}
.workspace .stat strong {
  font-size: 29px;
  font-weight: 700;
  color: #1d2a46;
  letter-spacing: -0.7px;
  margin: 10px 0 6px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.workspace .stat small {
  color: #8591a6;
  font-size: 13px;
  line-height: 1.7;
}
.workspace .stat.featured {
  background: #7040dc;
  border: 1px solid #7040dc;
  box-shadow: 0 8px 22px #7040dc22;
}
.workspace .stat.featured strong {
  color: #fff;
}
.workspace .stat.featured label,
.workspace .stat.featured small {
  color: #e0d6fa;
}
.workspace .training-stats .stat {
  background: #f3f5fa;
  box-shadow: none;
}
.workspace .training-stats .stat strong {
  font-size: 25px;
}
.workspace .panel {
  padding: 25px 26px;
  border-radius: 12px;
  box-shadow: 0 3px 10px #283c6503;
  margin-bottom: 24px;
}
.workspace h2 {
  color: #25334e;
  font-size: 19px;
  font-weight: 650;
}
.workspace h3 {
  font-weight: 650;
}
.workspace .section-head {
  margin-bottom: 22px;
  gap: 18px;
}
.workspace .section-head .muted {
  margin: 6px 0 0;
}
.workspace .muted {
  color: #7a879b;
  font-size: 14px;
  line-height: 1.8;
}
.workspace .note {
  background: #f4f6fa;
  color: #748299;
  border: 1px solid #edf0f5;
  font-size: 14px;
  border-radius: 9px;
}
.workspace .split {
  gap: 24px;
}
.workspace .primary {
  border: 1px solid #7040dc;
  box-shadow: 0 3px 7px #7040dc14;
  padding: 10px 17px;
  font-weight: 550;
  border-radius: 8px;
  transition:
    background-color 0.16s,
    box-shadow 0.16s;
}
.workspace .primary:hover {
  background: #5f30c8;
  box-shadow: 0 4px 11px #7040dc22;
}
.workspace .secondary {
  background: #fff;
  color: #5f6e89;
  border: 1px solid #dfe5ef;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition:
    background-color 0.16s,
    border-color 0.16s;
}
.workspace .secondary:hover {
  background: #f5f3fc;
  border-color: #c7b6ec;
  color: #6c40c8;
}
.workspace .actions {
  gap: 8px;
}
.workspace button:disabled {
  cursor: wait;
  box-shadow: none;
}
.workspace input,
.workspace select,
.workspace textarea {
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  padding: 11px 13px;
  min-height: 42px;
  font-size: 14px;
  color: #2c3954;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.workspace input::placeholder,
.workspace textarea::placeholder {
  color: #9aa4b7;
}
.workspace input:focus,
.workspace select:focus,
.workspace textarea:focus {
  border-color: #9f80df;
  box-shadow: 0 0 0 3px #7040dc0d;
}
.workspace input[type='checkbox'] {
  padding: 0;
  min-height: 0;
}
.workspace input[type='search'] {
  min-width: 240px;
}
.workspace .toolbar {
  padding: 14px;
  background: #f7f9fc;
  border: 1px solid #eaf0f7;
  border-radius: 9px;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}
.workspace .table-wrap {
  border: 1px solid #e8edf5;
  border-radius: 9px;
  scrollbar-width: thin;
  scrollbar-color: #c8d1e2 transparent;
}
.workspace table {
  font-size: 14px;
}
.workspace th {
  color: #78869c;
  font-size: 13px;
  padding: 13px 16px;
  background: #f6f8fb;
  font-weight: 550;
  border-bottom: 1px solid #e8edf5;
}
.workspace td {
  padding: 16px;
  color: #4d5b75;
  border-color: #edf1f7;
  line-height: 1.65;
  vertical-align: middle;
}
.workspace td strong {
  color: #2e3d5b;
  font-weight: 600;
}
.workspace td small {
  font-size: 13px;
  line-height: 1.7;
  color: #8b98ae;
  margin-top: 2px;
}
.workspace tbody tr:hover {
  background: #fafbfe;
}
.workspace td.empty {
  padding: 46px 20px;
  color: #93a0b5;
  background: #fcfdff;
}
.workspace td.money {
  color: #304362;
}
.workspace .tag {
  font-size: 12px;
  border-radius: 6px;
  padding: 4px 9px;
  border: 1px solid #e5dcf9;
  background: #f4effc;
  color: #7953ba;
  line-height: 1.7;
  display: inline-block;
}
.workspace .tag.green {
  border-color: #cfeade;
  background: #edf8f2;
  color: #37795f;
}
.workspace .tag.amber {
  border-color: #f1dfb7;
  background: #fff8eb;
  color: #a17524;
}
.workspace .tag.red {
  border-color: #f1d5df;
  background: #fff1f5;
  color: #b4637b;
}
.workspace .quick button {
  padding: 20px;
  background: #f7f8fc;
  border-color: #e5eaf4;
  color: #41516e;
  border-radius: 10px;
  transition:
    background-color 0.16s,
    border-color 0.16s;
}
.workspace .quick button:hover {
  background: #f0ecfb;
  border-color: #d7c9f0;
}
.workspace .quick small {
  color: #91a0b6;
  margin-top: 7px;
  font-size: 13px;
}
.workspace .business-row {
  grid-template-columns: 110px minmax(30px, 1fr) minmax(85px, auto);
  gap: 15px;
  color: #5a6a85;
}
.workspace .business-row strong {
  font-size: 14px;
  font-weight: 600;
  color: #405371;
  white-space: nowrap;
}
.workspace .track {
  height: 8px;
  background: #edf0f7;
}
.workspace .fill {
  background: #aa88ee;
}
.workspace .legend {
  font-size: 13px;
}
.workspace footer {
  color: #9ca8bb;
  font-size: 12px;
}
.workspace .club-tabs {
  gap: 8px;
  margin-bottom: 24px;
  border-color: #e8edf6;
}
.workspace .club-tabs .primary {
  background: #f0eafa;
  border-color: #e1d5f5;
  color: #7444c4;
  box-shadow: none;
}
.workspace .club-card {
  padding: 22px;
  border-color: #e3e9f2;
  background: #fcfdff;
  border-radius: 10px;
}
.workspace .club-card h3 {
  color: #2e405d;
}
.workspace .club-card-metrics {
  border-color: #e8edf5;
  font-size: 14px;
  color: #8795aa;
}
.workspace .club-card-metrics strong {
  color: #3b4e70;
  font-size: 20px;
}
.workspace .club-empty {
  background: #f7f8fc;
  border-color: #dbe2ef;
  padding: 42px 24px;
}
.workspace .club-empty h3 {
  color: #3c4d6b;
}
.workspace .club-empty p {
  color: #8190a8;
}
.workspace .oa-launchers button {
  background: #f7f5fc;
  border-color: #e8e1f5;
  transition:
    background-color 0.16s,
    border-color 0.16s;
}
.workspace .oa-launchers button:hover {
  background: #efe8fa;
  border-color: #cdb8ed;
}
.workspace dialog {
  padding: 28px;
  border: 1px solid #e8edf6;
  border-radius: 16px;
  box-shadow: 0 24px 100px #101c3a35;
}
.workspace dialog::backdrop {
  background: #101d3f70;
  backdrop-filter: blur(3px);
}
.workspace dialog .dialog-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f6;
  margin-bottom: 22px;
}
.workspace dialog .field {
  color: #5f6d85;
  margin-bottom: 18px;
}
.workspace dialog .icon {
  color: #8390a6;
  border-radius: 6px;
}
.workspace dialog .icon:hover {
  background: #f2f4f9;
}
.workspace #toast {
  background: #263554;
  border: 1px solid #405174;
  border-radius: 10px;
  box-shadow: 0 8px 32px #19294f22;
  max-width: calc(100% - 32px);
  text-align: center;
  line-height: 1.7;
}
.workspace .navigation-status {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 8;
  font-size: 13px;
  color: #6c40c8;
  background: #fff;
  border: 1px solid #e1d5f5;
  border-radius: 8px;
  box-shadow: 0 4px 16px #30204714;
  padding: 10px 15px;
  display: none;
}
.workspace.is-navigating .navigation-status {
  display: block;
}
.workspace .navigation-status::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid #dfd4f8;
  border-top-color: #7040dc;
  border-radius: 50%;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 8px;
  animation: workspace-spin 0.7s linear infinite;
}
.workspace.is-navigating #content {
  opacity: 0.7;
  transition: opacity 0.15s;
}
@keyframes workspace-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1550px) {
  .workspace main {
    padding: 34px 44px 24px;
  }
}
@media (max-width: 1200px) {
  .workspace main {
    padding: 24px;
  }
  .workspace header {
    align-items: flex-start;
  }
  .workspace .header-right {
    max-width: 330px;
  }
  .workspace .header-right #employee-label {
    width: 100%;
    max-width: none;
    text-align: right;
  }
  .workspace .stat {
    padding: 20px;
  }
}
@media (max-width: 900px) and (min-width: 701px) {
  .workspace main {
    margin-left: 230px;
  }
  .workspace header {
    flex-wrap: wrap;
  }
  .workspace .header-right {
    max-width: none;
    justify-content: flex-start;
  }
  .workspace .header-right #employee-label {
    width: auto;
    text-align: left;
  }
  .workspace .panel {
    padding: 22px;
  }
}
@media (max-width: 700px) {
  .workspace main {
    margin-left: 0;
    padding: 22px 16px;
  }
  .workspace header {
    gap: 16px;
    display: block;
    margin-bottom: 18px;
  }
  .workspace h1 {
    font-size: 25px;
  }
  .workspace .page-title-row {
    gap: 10px;
  }
  .workspace .header-right {
    margin-top: 16px;
    justify-content: flex-start;
    max-width: none;
    gap: 7px;
  }
  .workspace .header-right #employee-label {
    width: auto;
    max-width: 100%;
    text-align: left;
    font-size: 12px;
  }
  .workspace .header-right button {
    font-size: 13px;
    padding: 8px 10px;
  }
  .workspace .notice {
    font-size: 13px;
    padding: 11px 13px;
    margin-bottom: 18px;
  }
  .workspace .stats {
    gap: 10px;
  }
  .workspace .stat {
    padding: 17px 15px;
  }
  .workspace .stat strong {
    font-size: 23px;
    letter-spacing: -0.5px;
  }
  .workspace .stat small {
    font-size: 12px;
  }
  .workspace .panel {
    padding: 18px 15px;
    margin-bottom: 18px;
  }
  .workspace .section-head {
    gap: 12px;
    margin-bottom: 18px;
  }
  .workspace .section-head .actions {
    width: 100%;
  }
  .workspace .primary,
  .workspace .secondary {
    padding: 9px 12px;
    font-size: 14px;
  }
  .workspace .toolbar {
    padding: 10px;
    gap: 8px;
  }
  .workspace .toolbar input,
  .workspace .toolbar select {
    width: 100%;
    min-width: 0;
  }
  .workspace .table-wrap {
    margin: 0 -1px;
  }
  .workspace td,
  .workspace th {
    padding: 13px 12px;
  }
  .workspace dialog {
    padding: 22px 18px;
  }
  .workspace .business-row {
    grid-template-columns: 90px minmax(20px, 1fr) minmax(75px, auto);
    gap: 9px;
  }
  .workspace .business-row strong {
    font-size: 13px;
  }
  .workspace .oa-launchers {
    gap: 10px;
  }
  .workspace .oa-launchers button {
    padding: 17px 13px;
  }
  .workspace .navigation-status {
    right: 16px;
    bottom: 16px;
    max-width: calc(100vw - 32px);
  }
  .workspace #toast {
    bottom: 18px;
  }
  .workspace .page-description {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace * {
    transition: none !important;
    animation: none !important;
  }
}
.login-page {
  background: #141b30;
  color: #273653;
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}
.login-page .intro {
  padding: 9vh 7vw;
  background: #141b30;
}
.login-page .brand {
  font-size: 26px;
  letter-spacing: 1px;
}
.login-page .brand small {
  color: #8092b9;
  font-size: 12px;
  letter-spacing: 2px;
}
.login-page h1 {
  font-size: 45px;
  line-height: 1.4;
  letter-spacing: -1px;
  margin: 30px 0 20px;
}
.login-page .intro p {
  font-size: 16px;
  line-height: 1.9;
  color: #9fafcc;
  max-width: 350px;
}
.login-page .intro footer {
  color: #6b7e9f;
  font-size: 13px;
}
.login-page .side {
  background: #f3f5fa;
}
.login-page .box {
  padding: 40px;
  border-color: #e2e8f2;
  box-shadow: 0 14px 50px #26365c08;
  border-radius: 16px;
  width: min(440px, 100%);
}
.login-page h2 {
  font-size: 27px;
  letter-spacing: -0.5px;
  color: #273653;
}
.login-page .sub {
  font-size: 14px;
  line-height: 1.8;
  color: #8390a7;
  margin-bottom: 30px;
}
.login-page .field {
  color: #63728e;
  font-size: 14px;
  gap: 9px;
}
.login-page input {
  border-color: #dce3ee;
  border-radius: 8px;
  padding: 13px;
  color: #2e3c57;
  background: #fff;
}
.login-page input:focus {
  border-color: #a786e2;
  box-shadow: 0 0 0 3px #7040dc0b;
}
.login-page #submit {
  background: #7040dc;
  padding: 14px;
  box-shadow: 0 4px 12px #7040dc22;
}
.login-page #submit:hover {
  background: #6333cf;
}
.login-page .help {
  padding-top: 21px;
  border-top: 1px solid #edf0f6;
  color: #8b98ac;
  font-size: 13px;
  line-height: 1.8;
}
.login-page .password-control {
  position: relative;
  display: block;
}
.login-page .password-control input {
  padding-right: 52px;
}
.login-page #show-password {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: #76839b;
  border-radius: 5px;
  font-weight: 400;
}
.login-page #show-password svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.login-page #show-password svg[hidden] {
  display: none;
}
.login-page #show-password:hover {
  color: #7040dc;
  background: #ede8f8;
}
@media (max-width: 800px) {
  .login-page .intro {
    padding: 26px 24px;
    gap: 18px;
  }
  .login-page .brand {
    font-size: 22px;
  }
  .login-page h1 {
    font-size: 28px;
    margin: 0;
    line-height: 1.4;
  }
  .login-page .side {
    padding: 24px 18px;
  }
  .login-page .box {
    padding: 28px 24px;
  }
  .login-page h2 {
    font-size: 25px;
  }
}
