:root {
  --el-color-primary: #087f8c;
  --el-color-primary-light-3: #52a5ad;
  --el-color-primary-light-5: #84bfc5;
  --el-color-primary-light-7: #b5d9dd;
  --el-color-primary-light-8: #cde5e8;
  --el-color-primary-light-9: #e6f2f4;
  --el-color-primary-dark-2: #066670;
  --el-border-radius-base: 4px;
  --ink: #252c35;
  --muted: #6c7480;
  --line: #e1e5e9;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f6f7f9; color: var(--ink); font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
button, input, textarea { font: inherit; }
[v-cloak] { display: none; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 0 28px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 32px; height: 32px; flex: none; }
.brand strong { font-size: 18px; white-space: nowrap; }
.version { color: var(--muted); font-size: 12px; margin-left: 4px; }
.admin-tools { display: flex; align-items: center; gap: 16px; min-width: 0; }
.admin-tools > span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.workspace { max-width: 1520px; margin: 0 auto; padding: 18px 28px 44px; }
.el-tabs__item { font-size: 14px; padding: 0 24px; }
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 12px 0 26px; padding: 22px 0; }
.stat-band > div { padding: 0 24px; border-right: 1px solid var(--line); }
.stat-band > div:last-child { border-right: 0; }
.stat-band span { display: block; color: var(--muted); font-size: 13px; }
.stat-band strong { display: block; font-size: 28px; line-height: 1.4; font-weight: 650; margin-top: 5px; }
.stat-green strong { color: #178649; }
.stat-red strong { color: #c54040; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar .el-input { width: 290px; }
.toolbar .el-select { width: 145px; }
.toolbar .el-button + .el-button { margin-left: 0; }
.toolbar > .el-button:last-child { margin-left: auto; }
.el-table { --el-table-header-bg-color: #eef1f4; --el-table-border-color: #e5e8ec; font-size: 13px; }
.el-table .cell { padding: 8px 12px; }
.el-table .el-button + .el-button { margin-left: 5px; }
.el-dropdown { margin-left: 5px; }
.muted { color: var(--muted); font-size: 12px; }
.domain { font-family: Consolas, monospace; word-break: break-all; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .el-form-item { min-width: 0; }
.form-grid .el-date-editor, .form-grid .el-select { width: 100%; }
.el-dialog { max-width: calc(100vw - 28px); border-radius: 6px; }
.el-dialog__body { overflow-wrap: anywhere; }
.settings-section { max-width: 850px; padding: 20px 0 26px; border-bottom: 1px solid var(--line); }
.settings-section h2 { font-size: 16px; margin: 0 0 16px; }
.settings-section .el-form { max-width: 440px; }
.release-panel { min-height: 320px; }
.release-panel .el-descriptions { max-width: 850px; margin: 16px 0; }
.release-actions { display: flex; gap: 10px; margin: 16px 0 8px; }
.key-row { display: flex; align-items: center; gap: 10px; }
code { font-family: Consolas, monospace; overflow-wrap: anywhere; }
.generated-code { padding: 24px 0; display: flex; align-items: center; gap: 16px; }
.generated-code code { flex: 1; min-width: 0; font-size: 16px; user-select: all; }
.auth-page { display: grid; place-items: center; min-height: 100vh; padding: 30px 16px; background: #f1f4f6; }
.auth-panel { width: min(430px, 100%); padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.install-panel { width: min(680px, 100%); }
.brand-icon { width: 40px; height: 40px; display: block; }
.auth-panel h1 { font-size: 22px; margin: 12px 0 22px; }
.auth-panel label { display: block; margin: 14px 0 0; color: #39404a; }
.auth-panel input { display: block; width: 100%; height: 40px; padding: 0 11px; margin-top: 6px; border: 1px solid #cdd3d9; border-radius: 4px; background: #fff; min-width: 0; }
.auth-panel input:focus { outline: 2px solid #cae4e6; border-color: #087f8c; }
.primary { width: 100%; border: 0; color: #fff; background: #087f8c; border-radius: 4px; min-height: 42px; margin-top: 22px; cursor: pointer; }
.primary:disabled { opacity: .5; cursor: not-allowed; }
.auth-links { display: flex; justify-content: center; gap: 10px; margin: 18px 0 0; font-size: 13px; }
.auth-links a { color: var(--el-color-primary); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.environment { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; padding-bottom: 8px; }
.good { color: #178649; }
.bad { color: #c54040; }
.notice, .error { padding: 10px 12px; border: 1px solid #e5cf95; background: #fff9eb; color: #75581c; margin-bottom: 14px; border-radius: 4px; overflow-wrap: anywhere; }
.error { border-color: #ecc4c4; background: #fff2f2; color: #a53232; }
@media (max-width: 720px) {
  .topbar { padding: 0 14px; height: 60px; gap: 10px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 16px; }
  .version { display: none; }
  .admin-tools { gap: 8px; }
  .admin-tools > span { max-width: 70px; }
  .workspace { padding: 12px 14px 30px; }
  .stat-band { padding: 16px 0; margin-bottom: 18px; }
  .stat-band > div { padding: 0 9px; }
  .stat-band strong { font-size: 23px; }
  .stat-band span { font-size: 12px; }
  .toolbar .el-input { width: 100%; }
  .toolbar .el-select { flex: 1; width: auto; min-width: 100px; }
  .toolbar > .el-button:last-child { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .auth-panel { padding: 24px; }
  .pagination { align-items: flex-start; flex-wrap: wrap; }
  .key-row, .generated-code { flex-wrap: wrap; }
}
