:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft Yahei",
    sans-serif;
  color: #172b3a;
  background: #f3f6f9;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid #d6e0e6;
  border-radius: 7px;
  background: white;
  color: #263d4e;
  padding: 9px 14px;
}
button:hover {
  background: #eef5f8;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.primary {
  background: #0e6d68;
  color: white;
  border-color: #0e6d68;
}
button.danger {
  color: #b13e3e;
}
a {
  color: #0b706c;
  text-decoration: none;
}
.shell {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #102d3b;
  color: #b8cad3;
  padding: 28px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  color: #8caeb8;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 8px;
}
.nav-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #7598a8;
  margin: 38px 12px 12px;
}
.sidebar a,
.sidebar button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  background: transparent;
  color: #b8cad3;
  text-align: left;
  margin: 3px 0;
  border-radius: 6px;
}
.sidebar a:hover,
.sidebar .active {
  color: white;
  background: #214654;
}
.sidebar .footer-note {
  position: absolute;
  bottom: 25px;
  left: 28px;
  font-size: 11px;
  color: #83a1b0;
  line-height: 1.8;
}
.workspace {
  min-width: 0;
}
header {
  height: 76px;
  padding: 0 36px;
  background: white;
  border-bottom: 1px solid #e4eaf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.crumb {
  color: #7b8b98;
  font-size: 12px;
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  border-radius: 50%;
  background: #e4f2ef;
  color: #116a61;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.account small {
  color: #748593;
}
.account button {
  font-size: 12px;
  padding: 6px 10px;
}
main {
  max-width: 1550px;
  padding: 30px 36px 60px;
  margin: auto;
}
.eyebrow {
  font-size: 11px;
  color: #0d7973;
  letter-spacing: 2px;
  font-weight: 600;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.5px;
  margin: 8px 0 9px;
  font-weight: 650;
}
p.subtitle {
  color: #71808c;
  margin: 0;
  line-height: 1.7;
}
.badge {
  display: inline-block;
  font-size: 11px;
  line-height: 1.6;
  padding: 3px 9px;
  border-radius: 5px;
  background: #e9f3f1;
  color: #197568;
  white-space: nowrap;
}
.badge.warn {
  color: #9a691a;
  background: #fff4da;
}
.badge.error {
  color: #b24b49;
  background: #fcebea;
}
.badge.muted {
  color: #697b89;
  background: #edf1f5;
}
.demo {
  background: #fff9e9;
  border: 1px solid #efe3bc;
  color: #8a6d2e;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 23px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 26px;
}
.stat {
  border: 1px solid #e1e8ed;
  border-radius: 10px;
  background: white;
  padding: 20px 22px;
}
.stat label {
  color: #73828f;
  font-size: 12px;
}
.stat strong {
  display: block;
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 12px 0 8px;
  font-variant-numeric: tabular-nums;
}
.stat small {
  color: #8997a2;
  font-size: 11px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 14px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #dce4eb;
  margin: 26px 0 20px;
}
.tabs button {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 12px 1px;
  color: #6d7c87;
}
.tabs .active {
  color: #0d7069;
  border-bottom: 2px solid #0d7069;
  font-weight: 600;
}
.panel {
  border: 1px solid #e0e7ed;
  border-radius: 10px;
  background: white;
  overflow: hidden;
  margin: 18px 0;
}
.panel-head {
  padding: 18px 22px;
  border-bottom: 1px solid #e8edf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 600;
}
.panel-body {
  padding: 20px 22px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: #7b8c98;
  background: #f8fafc;
  padding: 13px 20px;
  border-bottom: 1px solid #e8edf1;
}
td {
  font-size: 13px;
  padding: 17px 20px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
}
tr:last-child td {
  border: 0;
}
td small {
  display: block;
  color: #8b99a4;
  font-size: 11px;
  margin-top: 5px;
}
.name {
  font-weight: 550;
  color: #203e4c;
}
.link {
  border: 0;
  color: #087b73;
  background: transparent;
  padding: 0;
}
.empty {
  text-align: center;
  padding: 45px 25px;
  color: #8a9aa6;
  line-height: 1.9;
}
.pagination {
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  color: #74848f;
  font-size: 12px;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 20px 0;
  background: white;
  border: 1px solid #e0e7ed;
  border-radius: 10px;
  padding: 20px;
  gap: 12px;
}
.step {
  font-size: 12px;
  line-height: 1.8;
  color: #72838e;
}
.step b {
  display: block;
  color: #244957;
  font-weight: 550;
}
.step span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e6f3f0;
  color: #14786d;
  margin-right: 6px;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.description {
  color: #6e808e;
  font-size: 12px;
  line-height: 1.8;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  padding: 10px 0 10px 20px;
  border-left: 2px solid #dbeae7;
  font-size: 12px;
  line-height: 1.8;
}
.timeline time {
  display: block;
  color: #8b9aa5;
  font-size: 11px;
}
.timeline .desc {
  color: #71828e;
}
.thumb {
  display: block;
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #dce7eb;
  margin-top: 9px;
}
.budget-line {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #627b89;
  font-size: 12px;
  margin: 12px 0;
}
.budget-line b {
  color: #223f4d;
}
.login {
  max-width: 720px;
  margin: 9vh auto;
  padding: 40px;
  background: white;
  border: 1px solid #dfe8ed;
  border-radius: 16px;
  box-shadow: 0 15px 60px #163a4910;
}
.login h1 {
  margin: 14px 0;
}
.login-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}
.login-options button {
  text-align: left;
  padding: 20px;
}
.login-options strong {
  display: block;
  margin-bottom: 6px;
}
.login-options small {
  color: #82929e;
}
dialog {
  width: min(620px, 94vw);
  max-height: 90vh;
  border: 1px solid #dde7eb;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 20px 90px #102d3b30;
}
dialog::backdrop {
  background: #102d3b70;
}
dialog header {
  height: 65px;
  padding: 0 24px;
}
dialog form {
  padding: 20px 24px;
}
dialog label {
  display: block;
  font-size: 12px;
  color: #5d7685;
  margin-bottom: 16px;
}
input,
select,
textarea {
  border: 1px solid #d2dfe7;
  border-radius: 6px;
  padding: 9px 11px;
  background: white;
  color: #233f4e;
  width: 100%;
  margin-top: 7px;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
select[multiple] {
  height: 110px;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.form-note {
  padding: 10px 12px;
  color: #718692;
  font-size: 12px;
  background: #f4f8fa;
  border-radius: 5px;
  line-height: 1.7;
}
.error-note {
  color: #aa3939;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.7;
}
.loading {
  padding: 80px;
  text-align: center;
  color: #76909d;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #143b47;
  color: white;
  border-radius: 8px;
  padding: 12px 20px;
  display: none;
  z-index: 20;
  max-width: 80vw;
}
.filter {
  width: 150px;
  margin: 0;
  padding: 7px 10px;
}
.summary-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.summary-list span {
  background: #f2f7f9;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #5c7584;
}
.muted {
  color: #81929e;
}
.no-margin {
  margin: 0;
}
.integration-error {
  max-width: 420px;
  white-space: normal;
  color: #b24b49;
  font-size: 12px;
}
.note {
  white-space: normal;
  max-width: 300px;
}
.inline-entry {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  background: #0e6d68;
  color: white;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 5px 20px #153e4930;
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 170px 1fr;
  }
  .sidebar {
    padding: 24px 12px;
  }
  main {
    padding: 24px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  header {
    padding: 0 24px;
  }
  .stepper {
    grid-template-columns: 1fr 1fr;
  }
  .page-title {
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 15px 18px;
  }
  .sidebar .brand {
    font-size: 16px;
  }
  .brand small,
  .nav-label,
  .sidebar .footer-note,
  .sidebar .system-links {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
  }
  .sidebar nav button {
    width: auto;
    font-size: 12px;
    padding: 9px;
  }
  .sidebar a.return {
    display: none;
  }
  main {
    padding: 20px 14px;
  }
  header {
    height: 65px;
    padding: 0 16px;
  }
  .crumb {
    display: none;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 24px;
  }
  h1 {
    font-size: 23px;
  }
  .page-title {
    flex-direction: column;
  }
  .tabs {
    gap: 15px;
  }
  .login {
    margin: 25px 15px;
    padding: 25px;
  }
  .login-options {
    grid-template-columns: 1fr;
  }
  .stepper {
    display: none;
  }
}
/* MDM is the design authority. Shared shell and business controls use its tokens. */
:root{--el-color-primary:#1677ff;--el-border-radius-base:4px;color:#1f2329;background:#f0f2f5;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.shell.el-container{display:flex;min-height:100vh;height:auto;grid-template-columns:none}.sidebar.aside{padding:0;background:#001529;height:100vh;position:sticky;top:0;flex-shrink:0;border-radius:0}.sidebar .brand{height:48px;font-size:14px;letter-spacing:.5px;padding:0 16px}.sidebar .logo{width:28px;height:28px;background:#1677ff;border-radius:4px;display:inline-flex;align-items:center;justify-content:center}.sidebar .el-menu{border:0;flex:1}.sidebar .el-menu-item{height:48px}.sidebar .el-menu-item.is-active{background:#1677ff}.sidebar .el-menu-item button{margin:0;padding:0;color:inherit;font-size:14px;background:none}.sidebar .system-links{padding:12px 16px;border-top:1px solid #233342}.sidebar a{padding:8px 16px;font-size:13px}.sidebar .return{margin:0 0 16px}.main-wrap{min-width:0;display:flex;flex-direction:column}.header.el-header{height:48px!important;padding:0 16px;flex-shrink:0;border-bottom:1px solid #e5e6eb;background:#fff}.header-left{display:flex;gap:16px;align-items:center;color:#86909c;font-size:13px}.tags-bar{height:40px;background:white;border-bottom:1px solid #e5e6eb;display:flex;align-items:center;gap:4px;padding:0 16px}.tags-bar .tag{padding:5px 12px;border:1px solid #e5e6eb;border-radius:4px;background:#fff;font-size:13px}.tags-bar .tag.on{color:#1677ff;border-color:#91caff;background:#e6f4ff}.main.el-main{padding:16px;margin:0;max-width:none;width:100%;background:#f0f2f5;overflow:visible}.page-title{margin-bottom:16px}.page-title h1{font-size:18px;letter-spacing:0;margin:0 0 6px}.subtitle{font-size:13px}.el-alert{margin-bottom:16px}.stats{gap:16px;margin:16px 0}.stat,.panel,.stepper{border-radius:4px;border-color:#e5e6eb}.stat{padding:16px}.stat strong{font-size:26px}.panel{margin:16px 0}.panel-head,.panel-body{padding:16px}.el-button{border-radius:4px}.actions .el-button+.el-button{margin-left:0}.el-table .cell{word-break:normal}.el-table th.el-table__cell{background:#fafafa;font-weight:500}.el-table td.el-table__cell{padding:10px 0}.el-table .cell .el-button{padding:0;height:auto}.badge{border-radius:4px}.badge:not(.warn):not(.error):not(.muted){background:#e6f4ff;color:#1677ff}a,.link{color:#1677ff}button.primary{background:#1677ff;border-color:#1677ff}.eyebrow{color:#1677ff}.login{border-radius:4px}.stepper{padding:16px}.step span{background:#e6f4ff;color:#1677ff}dialog{border-radius:4px}dialog header{height:48px;padding:0 16px}dialog form{padding:16px}input,select,textarea{border-radius:4px;border-color:#dcdfe6}input:focus,select:focus,textarea:focus{outline-color:#1677ff}.pagination .el-button{font-size:12px}#toast{background:#303133;border-radius:4px}.system-links a:hover{background:#112a45}
@media(max-width:640px){.sidebar.aside{width:64px!important;flex-basis:64px;height:100vh;padding:0}.sidebar .brand{padding:0;justify-content:center}.sidebar .brand>span:not(.logo),.sidebar .system-links,.sidebar .return{display:none}.sidebar .el-menu-item{padding:0 5px!important;justify-content:center;height:auto;min-height:52px;white-space:normal}.sidebar .el-menu-item button{font-size:11px;white-space:normal;line-height:1.6}.header-left>span{display:none}.header.el-header{padding:0 8px}.account{gap:5px;font-size:11px}.account .el-button{padding:5px;font-size:11px}.main.el-main{padding:12px;min-width:0}.tags-bar{padding:0 8px;overflow-x:auto;flex-shrink:0}.tags-bar .tag{font-size:11px;padding:5px;white-space:nowrap}.stats{gap:8px}.stat{padding:10px}.stat strong{font-size:19px}.page-title{gap:8px}.table-scroll{overflow-x:auto}.el-table{min-width:560px}.panel{overflow:hidden}.shell.el-container{min-width:0}.main-wrap{overflow:hidden}}
