:root {
  --ink: #17211b;
  --ink-soft: #516157;
  --paper: #f7f1e6;
  --paper-deep: #efe2ce;
  --line: rgba(23, 33, 27, 0.14);
  --admin-bg: #101713;
  --admin-panel: #19221d;
  --admin-panel-2: #202d26;
  --admin-line: rgba(255, 255, 255, 0.09);
  --sage: #7b9b73;
  --amber: #d79643;
  --brick: #a34535;
  --blue: #526e85;
  --white: #fffdf8;
  --shadow: 0 26px 70px rgba(19, 27, 22, 0.18);
  --admin-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

/* Admin pages aligned with the customer documentation style. */
.admin-body {
  background: #fff;
  color: #3f4148;
  min-height: 100vh;
}

.admin-body .admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-body .admin-sidebar {
  background: #f6f7f9;
  border-right: 1px solid #e1e4e8;
  box-shadow: none;
  color: #3f4148;
  gap: 28px;
  height: 100vh;
  padding: 18px 18px 24px;
  position: sticky;
  top: 0;
}

.admin-body .brand {
  align-items: center;
  gap: 9px;
  min-height: 34px;
}

.admin-body .brand-logo {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.admin-body .brand strong {
  color: #151922;
  display: block;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  white-space: nowrap;
}

.admin-body .side-nav {
  border-top: 1px solid #e1e4e8;
  display: grid;
  gap: 7px;
  padding-top: 18px;
}

.admin-body .nav-group-title {
  color: #343842;
  display: block;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
  padding: 0 2px 5px;
}

.admin-body .side-nav a {
  border: 0;
  border-radius: 0;
  color: #575d68;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  padding: 8px 2px 8px 14px;
  position: relative;
}

.admin-body .side-nav a:hover,
.admin-body .side-nav a.active {
  background: transparent;
  color: #12a77f;
}

.admin-body .side-nav a.active::before {
  color: #12a77f;
  content: "▫";
  font-size: 18px;
  margin-right: 4px;
  vertical-align: -1px;
}

.admin-body .sidebar-meta {
  background: transparent;
  border: 0;
  border-top: 1px solid #e1e4e8;
  border-radius: 0;
  color: #343842;
  margin-top: auto;
  padding: 18px 2px 0;
}

.admin-body .sidebar-meta span {
  color: #777d87;
  font-size: 12px;
  margin-bottom: 7px;
}

.admin-body .sidebar-meta strong {
  color: #343842;
  font-size: 14px;
}

.admin-body .admin-main {
  background: #fff;
  min-width: 0;
  padding: 0 0 80px;
}

.admin-body .admin-topbar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  height: 66px;
  margin: 0 0 22px;
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-body .kicker {
  color: #12a77f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.admin-body .admin-topbar h1,
.admin-body .section-title h2,
.admin-body .link-card h3 {
  color: #3d4049;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 850;
  letter-spacing: 0;
}

.admin-body .admin-topbar h1 {
  font-size: 24px;
  line-height: 1.25;
  margin: 2px 0 0;
}

.admin-body .metric-grid,
.admin-body .panel,
.admin-body .flash-stack {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  width: calc(100% - 68px);
}

.admin-body .metric-grid {
  gap: 12px;
  margin-bottom: 14px;
}

.admin-body .metric-card,
.admin-body .panel,
.admin-body .link-card {
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  box-shadow: none;
}

.admin-body .metric-card {
  padding: 17px 18px;
}

.admin-body .metric-card span {
  color: #686e78;
  font-size: 13px;
  font-weight: 700;
}

.admin-body .metric-card strong {
  color: #343842;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  font-weight: 850;
  margin-top: 8px;
}

.admin-body .panel {
  margin-bottom: 16px;
  padding: 18px;
}

.admin-body .section-title {
  border-bottom: 1px solid #eceef1;
  margin: -2px -2px 16px;
  padding: 0 0 15px;
}

.admin-body .section-title h2 {
  font-size: 22px;
  margin: 3px 0 0;
}

.admin-body .field span {
  color: #4b505a;
  font-size: 13px;
  font-weight: 750;
  opacity: 1;
}

.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #343842;
}

.admin-body .field input:focus,
.admin-body .field select:focus,
.admin-body .field textarea:focus {
  border-color: #12a77f;
  box-shadow: 0 0 0 3px rgba(18, 167, 127, 0.12);
}

.admin-body .button {
  border-radius: 8px;
  font-weight: 800;
}

.admin-body .button:hover {
  transform: none;
}

.admin-body .button.primary,
.admin-body .button.ink {
  background: #12a77f;
  border-color: #12a77f;
  color: #fff;
}

.admin-body .button.ghost {
  background: #fff;
  border-color: #dfe3e8;
  color: #3f454f;
}

.admin-body .button.danger {
  background: #fff;
  border-color: #f0c8c1;
  color: #b74332;
}

.admin-body .table-row {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  border-radius: 0;
  color: #3f454f;
  min-width: 980px;
  padding: 14px 10px;
}

.admin-body .table-head {
  background: #f8f8f9;
  border-bottom: 1px solid #e4e7eb;
  color: #737985;
  font-size: 12px;
  font-weight: 850;
}

.admin-body .table-row small,
.admin-body .link-card p,
.admin-body .link-meta {
  color: #747a85;
}

.admin-body .row-actions a,
.admin-body .row-actions button {
  color: #12a77f;
}

.admin-body .row-actions form {
  display: inline;
  margin: 0;
}

.admin-body .row-actions .action-delete {
  color: #b74332;
}

.confirm-dialog {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 80;
}

.confirm-dialog.open {
  display: flex;
}

.confirm-backdrop {
  background: rgba(21, 25, 34, 0.36);
  inset: 0;
  position: absolute;
}

.confirm-card {
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(21, 25, 34, 0.18);
  color: #343842;
  display: grid;
  gap: 16px;
  grid-template-columns: 40px minmax(0, 1fr);
  max-width: 460px;
  padding: 22px;
  position: relative;
  width: 100%;
}

.confirm-icon {
  align-items: center;
  background: #fff1ee;
  border-radius: 50%;
  color: #b74332;
  display: grid;
  font-size: 20px;
  font-weight: 950;
  height: 40px;
  place-items: center;
  width: 40px;
}

.confirm-copy h2 {
  color: #343842;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.3;
  margin: 0 0 8px;
}

.confirm-copy p {
  color: #4b505a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.confirm-copy small {
  color: #777d87;
  display: block;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
}

.confirm-actions {
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.admin-body .button.danger.solid,
.confirm-dialog .button.danger.solid {
  background: #b74332;
  border-color: #b74332;
  color: #fff;
}

.admin-body .status.published,
.admin-body .status.active {
  background: #e7f7f2;
  color: #0b8e6b;
}

.admin-body .status.draft {
  background: #fff5df;
  color: #a66f06;
}

.admin-body .status.archived,
.admin-body .status.disabled {
  background: #eef1f4;
  color: #68707a;
}

.admin-body .empty-state {
  border-color: #dfe3e8;
  color: #777d87;
}

.admin-body .link-list {
  gap: 12px;
}

.admin-body .link-card {
  background: #fff;
  gap: 15px;
  padding: 18px;
}

.admin-body .link-product {
  color: #12a77f;
}

.admin-body .link-card h3 {
  font-size: 22px;
}

.admin-body .share-url {
  background: #f8f8f9;
  border-color: #e2e5e9;
  border-radius: 8px;
}

.admin-body .share-url code {
  color: #3f454f;
}

.admin-body .icon-button {
  background: #12a77f;
  border-radius: 8px;
  color: #fff;
}

.admin-body .flash {
  border: 1px solid #dfe3e8;
}

.admin-body .flash.success {
  background: #edf9f5;
  color: #0c8062;
}

.admin-body .flash.error {
  background: #fff1ee;
  color: #ac3f2f;
}
/* Login page final override. Keep this at the very end of the file. */
body.login-body {
  background: #fff;
  color: #343842;
  min-height: 100vh;
}

body.login-body .login-wrap {
  align-items: stretch;
  background:
    linear-gradient(90deg, #f6f7f9 0 250px, transparent 250px),
    #fff;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100vh;
  padding: 0;
  place-items: stretch;
}

body.login-body .login-card {
  align-self: center;
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  box-shadow: none;
  color: #343842;
  justify-self: start;
  margin-left: clamp(48px, 7vw, 120px);
  max-width: 460px;
  padding: 34px;
  width: calc(100% - 96px);
}

body.login-body .login-card::before {
  color: #12a77f;
  content: "Release Management";
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin: 28px 0 8px;
}

body.login-body .login-brand {
  align-items: center;
  display: flex;
  gap: 9px;
}

body.login-body .login-brand .brand-logo {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

body.login-body .login-brand strong {
  color: #151922;
  display: block;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  white-space: nowrap;
}

body.login-body .login-card h1 {
  color: #343842;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 10px;
}

body.login-body .login-card p {
  color: #747a85;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 26px;
}

body.login-body .login-card .flash-stack.compact {
  margin: 0 0 18px;
}

body.login-body .login-card .flash {
  border: 1px solid #dfe3e8;
  color: #ac3f2f;
}

body.login-body .login-card .flash.success {
  background: #edf9f5;
  color: #0c8062;
}

body.login-body .login-card .flash.error {
  background: #fff1ee;
}

body.login-body .login-card .field span {
  color: #4b505a;
  font-size: 13px;
  font-weight: 750;
  opacity: 1;
}

body.login-body .login-card .field input {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #343842;
  font-size: 16px;
  min-height: 48px;
}

body.login-body .login-card .field input:focus {
  border-color: #12a77f;
  box-shadow: 0 0 0 3px rgba(18, 167, 127, 0.12);
}

body.login-body .login-actions {
  margin-top: 18px;
}

body.login-body .login-actions .button.primary {
  background: #12a77f;
  border-color: #12a77f;
  color: #fff;
  min-height: 46px;
  width: 100%;
}

/* Customer link list: dense desktop management surface. */
.admin-body .link-filter-panel {
  padding: 16px 18px;
}

.admin-body .link-filter-bar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 190px 190px minmax(260px, 1fr) auto auto auto;
}

.admin-body .link-table-panel {
  padding-bottom: 16px;
}

.admin-body .result-count {
  align-items: center;
  background: #f4f6f7;
  border: 1px solid #e2e6ea;
  border-radius: 999px;
  color: #59616b;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 12px;
}

.admin-body .link-table {
  display: grid;
  gap: 0;
  overflow-x: auto;
}

.admin-body .link-table-row {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #edf0f2;
  color: #3f454f;
  display: grid;
  gap: 14px;
  grid-template-columns: 1.15fr 1.28fr minmax(240px, 1.45fr) 0.72fr 0.52fr 0.9fr;
  min-width: 1120px;
  padding: 14px 10px;
}

.admin-body .link-table-head {
  background: #f8f8f9;
  border-bottom-color: #e4e7eb;
  border-radius: 6px 6px 0 0;
  color: #737985;
  font-size: 12px;
  font-weight: 850;
}

.admin-body .link-title-cell strong,
.admin-body .link-release-cell strong,
.admin-body .link-stat-cell strong {
  color: #343842;
  display: block;
  font-weight: 850;
  line-height: 1.35;
}

.admin-body .link-title-cell small,
.admin-body .link-release-cell small,
.admin-body .link-stat-cell small {
  color: #747a85;
  display: block;
  line-height: 1.45;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-body .link-title-cell em {
  color: #9aa1aa;
  display: block;
  font-size: 12px;
  font-style: normal;
  margin-top: 3px;
}

.admin-body .table-share-url {
  display: block;
  min-width: 0;
  padding: 8px 10px;
}

.admin-body .table-share-url code {
  display: block;
  font-size: 12px;
  max-width: 100%;
}

.admin-body .muted {
  color: #9aa1aa;
  font-size: 13px;
}

.admin-body .link-actions {
  gap: 12px;
}

.admin-body .link-actions a,
.admin-body .link-actions button {
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.admin-body .link-actions .action-delete {
  color: #bd4a38;
}

.admin-body .pagination-bar {
  align-items: center;
  color: #777d87;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding: 14px 2px 0;
}

.admin-body .pager-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-body .pager-actions strong {
  color: #343842;
  font-size: 13px;
  min-width: 54px;
  text-align: center;
}

.admin-body .button.disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Link table refinement: split project/customer and aligned flat actions. */
.admin-body .link-table-row {
  gap: 10px;
  grid-template-columns: 0.72fr 0.92fr 0.98fr minmax(168px, 1fr) 0.56fr 0.42fr 154px;
  min-width: 1080px;
}

.admin-body .link-customer-cell strong {
  color: #343842;
  display: block;
  font-weight: 850;
  line-height: 1.35;
}

.admin-body .link-customer-cell small {
  color: #747a85;
  display: block;
  line-height: 1.45;
  margin-top: 3px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-body .link-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: flex-start;
}

.admin-body .link-actions form {
  display: flex;
  margin: 0;
}

.admin-body .row-actions .flat-action {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe5e9;
  border-radius: 7px;
  color: #3f454f;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  height: 30px;
  justify-content: center;
  min-width: 44px;
  padding: 0 9px;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.admin-body .row-actions .flat-action:hover {
  background: #f6faf9;
  border-color: #b9ded4;
  color: #0b8e6b;
}

.admin-body .row-actions .flat-action.copy {
  color: #0b8e6b;
}

.admin-body .row-actions .flat-action.delete {
  border-color: #f0d3cd;
  color: #bd4a38;
}

.admin-body .row-actions .flat-action.delete:hover {
  background: #fff5f3;
  border-color: #e9b7ad;
  color: #a83b2c;
}

.admin-body .row-actions .flat-action.copying {
  opacity: 0.72;
}

.admin-body .row-actions .flat-action.copied {
  background: #e7f7f2;
  border-color: #b9ded4;
  color: #0b8e6b;
}

.admin-body .row-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.admin-body .row-actions form {
  display: flex;
  margin: 0;
}

.admin-body .release-table .table-row {
  grid-template-columns: 1.05fr 0.62fr 1.42fr 0.72fr 0.58fr 214px;
  min-width: 1040px;
}

body.login-body .login-actions .button.primary:hover {
  transform: none;
}

body.login-body .login-wrap::before {
  align-self: end;
  border-top: 1px solid #e1e4e8;
  color: #777d87;
  content: "内部管理";
  display: block;
  font-size: 14px;
  font-weight: 850;
  grid-column: 1;
  margin: 0 18px 24px;
  padding-top: 18px;
}

/* Login page final override. Keep this after legacy login styles. */
body.login-body {
  background: #fff;
  color: #343842;
  min-height: 100vh;
}

body.login-body .login-wrap {
  align-items: stretch;
  background:
    linear-gradient(90deg, #f6f7f9 0 250px, transparent 250px),
    #fff;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100vh;
  padding: 0;
  place-items: stretch;
}

body.login-body .login-card {
  align-self: center;
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  box-shadow: none;
  color: #343842;
  justify-self: start;
  margin-left: clamp(48px, 7vw, 120px);
  max-width: 460px;
  padding: 34px;
  width: calc(100% - 96px);
}

body.login-body .login-card::before {
  color: #12a77f;
  content: "Release Management";
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin: 28px 0 8px;
}

body.login-body .login-brand {
  align-items: center;
  display: flex;
  gap: 9px;
}

body.login-body .login-brand .brand-logo {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

body.login-body .login-brand strong {
  color: #151922;
  display: block;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  white-space: nowrap;
}

body.login-body .login-card h1 {
  color: #343842;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 10px;
}

body.login-body .login-card p {
  color: #747a85;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 26px;
}

body.login-body .login-card .flash-stack.compact {
  margin: 0 0 18px;
}

body.login-body .login-card .flash {
  border: 1px solid #dfe3e8;
  color: #ac3f2f;
}

body.login-body .login-card .flash.success {
  background: #edf9f5;
  color: #0c8062;
}

body.login-body .login-card .flash.error {
  background: #fff1ee;
}

body.login-body .login-card .field span {
  color: #4b505a;
  font-size: 13px;
  font-weight: 750;
  opacity: 1;
}

body.login-body .login-card .field input {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #343842;
  font-size: 16px;
  min-height: 48px;
}

body.login-body .login-card .field input:focus {
  border-color: #12a77f;
  box-shadow: 0 0 0 3px rgba(18, 167, 127, 0.12);
}

body.login-body .login-actions {
  margin-top: 18px;
}

body.login-body .login-actions .button.primary {
  background: #12a77f;
  border-color: #12a77f;
  color: #fff;
  min-height: 46px;
  width: 100%;
}

body.login-body .login-actions .button.primary:hover {
  transform: none;
}

body.login-body .login-wrap::before {
  align-self: end;
  border-top: 1px solid #e1e4e8;
  color: #777d87;
  content: "内部管理";
  display: block;
  font-size: 14px;
  font-weight: 850;
  grid-column: 1;
  margin: 0 18px 24px;
  padding-top: 18px;
}

/* Final login page and admin copy feedback polish. */
.login-body {
  background: #fff;
  color: #343842;
  min-height: 100vh;
}

.login-wrap {
  align-items: stretch;
  background:
    linear-gradient(90deg, #f6f7f9 0 250px, transparent 250px),
    #fff;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100vh;
  padding: 0;
  place-items: stretch;
}

.login-card {
  align-self: center;
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  box-shadow: none;
  color: #343842;
  justify-self: start;
  margin-left: clamp(48px, 7vw, 120px);
  max-width: 460px;
  padding: 34px;
  width: calc(100% - 96px);
}

.login-card::before {
  color: #12a77f;
  content: "Release Management";
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin: 28px 0 8px;
}

.login-brand {
  align-items: center;
  display: flex;
  gap: 9px;
}

.login-brand .brand-logo {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.login-brand strong {
  color: #151922;
  display: block;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  white-space: nowrap;
}

.login-card h1 {
  color: #343842;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 10px;
}

.login-card p {
  color: #747a85;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 26px;
}

.login-card .flash-stack.compact {
  margin: 0 0 18px;
}

.login-card .flash {
  border: 1px solid #dfe3e8;
  color: #ac3f2f;
}

.login-card .flash.success {
  background: #edf9f5;
  color: #0c8062;
}

.login-card .flash.error {
  background: #fff1ee;
}

.login-card .field span {
  color: #4b505a;
  font-size: 13px;
  font-weight: 750;
  opacity: 1;
}

.login-card .field input {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #343842;
  font-size: 16px;
  min-height: 48px;
}

.login-card .field input:focus {
  border-color: #12a77f;
  box-shadow: 0 0 0 3px rgba(18, 167, 127, 0.12);
}

.login-actions {
  margin-top: 18px;
}

.login-actions .button.primary {
  background: #12a77f;
  border-color: #12a77f;
  color: #fff;
  min-height: 46px;
  width: 100%;
}

.login-actions .button.primary:hover {
  transform: none;
}

.login-wrap::before {
  align-self: end;
  border-top: 1px solid #e1e4e8;
  color: #777d87;
  content: "内部管理";
  display: block;
  font-size: 14px;
  font-weight: 850;
  grid-column: 1;
  margin: 0 18px 24px;
  padding-top: 18px;
}

.admin-body [data-copy] {
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.admin-body [data-copy]:active {
  transform: translateY(1px);
}

.admin-body [data-copy].copying {
  opacity: 0.72;
  pointer-events: none;
}

.admin-body .row-actions button[data-copy].copied {
  background: #e7f7f2;
  border-radius: 999px;
  color: #0b8e6b;
  padding: 2px 8px;
}

.admin-body .icon-button.copied {
  background: #0b8e6b;
}

.copy-toast {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  box-shadow: 0 18px 54px rgba(21, 25, 34, 0.16);
  color: #343842;
  display: grid;
  gap: 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  max-width: 360px;
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: fixed;
  right: 24px;
  top: 82px;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  width: calc(100vw - 48px);
  z-index: 90;
}

.copy-toast.open {
  opacity: 1;
  transform: translateY(0);
}

.copy-toast-mark {
  align-items: center;
  background: #e7f7f2;
  border-radius: 50%;
  color: #0b8e6b;
  display: grid;
  font-size: 15px;
  font-weight: 950;
  height: 28px;
  place-items: center;
  width: 28px;
}

.copy-toast.warning .copy-toast-mark {
  background: #fff5df;
  color: #a66f06;
}

.copy-toast strong {
  color: #343842;
  display: block;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.copy-toast small {
  color: #747a85;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}

.admin-body [data-copy] {
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.admin-body [data-copy]:active {
  transform: translateY(1px);
}

.admin-body [data-copy].copying {
  opacity: 0.72;
  pointer-events: none;
}

.admin-body .row-actions button[data-copy].copied {
  background: #e7f7f2;
  border-radius: 999px;
  color: #0b8e6b;
  padding: 2px 8px;
}

.admin-body .icon-button.copied {
  background: #0b8e6b;
}

.copy-toast {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  box-shadow: 0 18px 54px rgba(21, 25, 34, 0.16);
  color: #343842;
  display: grid;
  gap: 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  max-width: 360px;
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: fixed;
  right: 24px;
  top: 82px;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  width: calc(100vw - 48px);
  z-index: 90;
}

.copy-toast.open {
  opacity: 1;
  transform: translateY(0);
}

.copy-toast-mark {
  align-items: center;
  background: #e7f7f2;
  border-radius: 50%;
  color: #0b8e6b;
  display: grid;
  font-size: 15px;
  font-weight: 950;
  height: 28px;
  place-items: center;
  width: 28px;
}

.copy-toast.warning .copy-toast-mark {
  background: #fff5df;
  color: #a66f06;
}

.copy-toast strong {
  color: #343842;
  display: block;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.copy-toast small {
  color: #747a85;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}

.admin-body .row-actions form {
  display: inline;
  margin: 0;
}

.admin-body .row-actions .action-delete {
  color: #b74332;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.kicker {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand-mark,
.public-logo span {
  align-items: center;
  background: var(--amber);
  border-radius: 50%;
  color: #161d17;
  display: grid;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  height: 42px;
  place-items: center;
  width: 42px;
}

.brand strong {
  display: block;
  font-size: 17px;
}

.brand small {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--amber);
  color: #182018;
}

.button.ink {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.button.danger {
  background: rgba(163, 69, 53, 0.12);
  border-color: rgba(163, 69, 53, 0.34);
  color: #ffd9d1;
}

.button.full {
  width: 100%;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.76;
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: inherit;
  min-height: 42px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

.field textarea {
  line-height: 1.7;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(215, 150, 67, 0.16);
}

.login-body,
.admin-body {
  background:
    radial-gradient(circle at top left, rgba(215, 150, 67, 0.16), transparent 34%),
    linear-gradient(135deg, #111a15, #0c1110 55%, #1b211b);
  color: var(--white);
  min-height: 100vh;
}

.login-wrap {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
}

.login-card {
  background: rgba(25, 34, 29, 0.92);
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  box-shadow: var(--admin-shadow);
  max-width: 420px;
  padding: 34px;
  width: 100%;
}

.login-card h1 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 40px;
  letter-spacing: 0;
  margin: 34px 0 8px;
}

.login-card p {
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 26px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  background: rgba(8, 13, 10, 0.68);
  border-right: 1px solid var(--admin-line);
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  padding: 12px 14px;
}

.side-nav a:hover,
.side-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.sidebar-meta {
  background: linear-gradient(135deg, rgba(215, 150, 67, 0.16), rgba(123, 155, 115, 0.12));
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  margin-top: auto;
  padding: 16px;
}

.sidebar-meta span {
  color: rgba(255, 255, 255, 0.55);
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.admin-main {
  padding: 26px;
}

.admin-topbar,
.section-title,
.form-actions,
.card-actions,
.link-meta,
.release-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.admin-topbar {
  margin-bottom: 22px;
}

.admin-topbar h1,
.section-title h2 {
  font-family: Georgia, "Songti SC", serif;
  letter-spacing: 0;
  margin: 4px 0 0;
}

.admin-topbar h1 {
  font-size: 34px;
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.flash-stack.compact {
  margin: 18px 0;
}

.flash {
  border-radius: 8px;
  padding: 12px 14px;
}

.flash.success {
  background: rgba(123, 155, 115, 0.18);
  color: #d7f0cf;
}

.flash.error {
  background: rgba(163, 69, 53, 0.18);
  color: #ffd9d1;
}

.metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.metric-card,
.panel {
  background: rgba(25, 34, 29, 0.88);
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.metric-card {
  padding: 18px;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.58);
  display: block;
  font-size: 13px;
}

.metric-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  margin-top: 10px;
}

.panel {
  margin-bottom: 16px;
  padding: 18px;
}

.filter-bar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 190px 150px minmax(220px, 1fr) auto auto auto;
}

.grow {
  min-width: 0;
}

.release-table {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
}

.table-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.25fr 0.72fr 1.8fr 0.8fr 0.68fr 1.18fr;
  min-width: 980px;
  padding: 13px 14px;
}

.table-head {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 900;
  padding-bottom: 4px;
  text-transform: uppercase;
}

.table-row small {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 3px;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.status.published,
.status.active {
  background: rgba(123, 155, 115, 0.18);
  color: #d9f1d1;
}

.status.draft {
  background: rgba(215, 150, 67, 0.18);
  color: #ffe3b7;
}

.status.archived,
.status.disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
}

.row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.row-actions a,
.row-actions button {
  background: none;
  border: 0;
  color: #f0c886;
  font-size: 13px;
  font-weight: 900;
  padding: 0;
}

.empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  padding: 30px;
  text-align: center;
}

.link-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.link-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--admin-panel-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.link-product {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.link-card h3 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  margin: 4px 0 8px;
}

.link-card p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.share-url {
  align-items: center;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
}

.share-url code {
  color: #f7deb8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  background: var(--amber);
  border: 0;
  border-radius: 8px;
  color: #17211b;
  font-weight: 900;
  min-height: 34px;
  padding: 0 12px;
}

.link-meta {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.58);
  flex-wrap: wrap;
}

.card-actions {
  justify-content: flex-start;
}

.card-actions form {
  margin: 0;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-actions {
  justify-content: flex-end;
}

.public-body {
  --client-ink: #111914;
  --client-green: #1e3b31;
  --client-mint: #dceee1;
  --client-surface: #f4f7f0;
  --client-sheet: #fffdf4;
  --client-line: rgba(17, 25, 20, 0.12);
  --client-coral: #ef694b;
  --client-gold: #d7ad45;
  --client-blue: #45758f;
  background:
    linear-gradient(120deg, rgba(17, 25, 20, 0.06) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 90% 8%, rgba(239, 105, 75, 0.22), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(69, 117, 143, 0.18), transparent 31%),
    linear-gradient(135deg, #eef5ef 0%, #f8f6ea 44%, #e4eee7 100%);
  color: var(--client-ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.public-body::before {
  background:
    repeating-linear-gradient(90deg, rgba(17, 25, 20, 0.04) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(17, 25, 20, 0.035) 0 1px, transparent 1px 72px);
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
  pointer-events: none;
  position: fixed;
}

.public-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(244, 247, 240, 0.78);
  border-bottom: 1px solid var(--client-line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.public-logo {
  align-items: center;
  display: flex;
  gap: 12px;
}

.public-logo span {
  background: var(--client-ink);
  border-radius: 12px;
  color: var(--client-mint);
  font-family: "Hiragino Mincho ProN", "Songti SC", serif;
  height: 40px;
  width: 40px;
}

.public-logo strong {
  font-family: "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 20px;
}

.public-header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.customer-badge,
.count-pill,
.version-chip,
.type-chip {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 11px;
}

.customer-badge {
  background: var(--client-sheet);
  border: 1px solid var(--client-line);
  box-shadow: 0 10px 30px rgba(17, 25, 20, 0.07);
}

.text-copy {
  background: transparent;
  border: 0;
  color: var(--client-green);
  font-weight: 900;
  padding: 9px 0;
}

.public-page.dossier-page {
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1360px;
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 62px) 88px;
  position: relative;
}

.dossier-rail {
  align-self: start;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 98px;
}

.rail-card {
  background:
    linear-gradient(145deg, rgba(239, 105, 75, 0.2), transparent 34%),
    linear-gradient(315deg, rgba(215, 173, 69, 0.16), transparent 38%),
    var(--client-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(17, 25, 20, 0.28);
  color: #f9f6e8;
  min-height: 500px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  position: relative;
}

.rail-card::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
}

.rail-label {
  color: var(--client-gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rail-card h1 {
  font-family: "Hiragino Mincho ProN", "Songti SC", "STSong", serif;
  font-size: clamp(44px, 6.2vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 22px 0 18px;
}

.rail-card p {
  color: rgba(249, 246, 232, 0.72);
  font-size: 17px;
  line-height: 1.85;
  margin: 0;
}

.rail-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 12px;
  grid-template-columns: 0.7fr 1.3fr;
  margin-top: 34px;
  padding-top: 20px;
}

.rail-meta span {
  color: rgba(249, 246, 232, 0.52);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.rail-meta strong {
  color: #fffaf0;
  display: block;
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.public-body .button.primary {
  background: var(--client-coral);
  border-color: var(--client-coral);
  color: #fffaf0;
}

.public-body .button.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: inherit;
}

.latest-card,
.filter-card,
.feed-panel {
  background: rgba(255, 253, 244, 0.76);
  border: 1px solid var(--client-line);
  box-shadow: 0 22px 70px rgba(17, 25, 20, 0.09);
}

.latest-card {
  border-radius: 22px;
  padding: 22px;
}

.latest-version {
  color: var(--client-green);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
  margin: 18px 0 14px;
  overflow-wrap: anywhere;
}

.latest-card h2 {
  font-family: "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0 0 10px;
}

.latest-card p {
  color: #65716b;
  margin: 0;
}

.filter-card {
  border-radius: 18px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.filter-card a {
  align-items: center;
  border-radius: 12px;
  color: #42534a;
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 13px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.filter-card a::after {
  color: inherit;
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.filter-card a.active,
.filter-card a:hover {
  background: var(--client-green);
  color: #f9f6e8;
  transform: translateX(2px);
}

.filter-card a.active::after,
.filter-card a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.timeline-stream {
  min-width: 0;
}

.feed-panel {
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
}

.timeline-stream .section-title {
  border-bottom: 1px solid var(--client-line);
  margin-bottom: 28px;
  padding-bottom: 20px;
}

.timeline-stream h2 {
  color: var(--client-ink);
  font-family: "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: 0;
}

.count-pill {
  background: var(--client-ink);
  color: var(--client-sheet);
}

.timeline-list {
  display: grid;
  gap: 22px;
  position: relative;
}

.timeline-list::before {
  background: linear-gradient(var(--client-coral), rgba(30, 59, 49, 0.12));
  content: "";
  height: calc(100% - 20px);
  left: 18px;
  position: absolute;
  top: 10px;
  width: 2px;
}

.timeline-item {
  display: grid;
  gap: 22px;
  grid-template-columns: 38px minmax(0, 1fr);
  position: relative;
}

.timeline-pin {
  background: var(--client-sheet);
  border: 7px solid var(--client-coral);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(239, 105, 75, 0.12);
  height: 38px;
  position: relative;
  width: 38px;
  z-index: 1;
}

.timeline-item.minor .timeline-pin {
  border-color: var(--client-blue);
  box-shadow: 0 0 0 8px rgba(69, 117, 143, 0.12);
}

.timeline-item.patch .timeline-pin {
  border-color: var(--client-gold);
  box-shadow: 0 0 0 8px rgba(215, 173, 69, 0.14);
}

.timeline-content {
  background:
    linear-gradient(90deg, rgba(30, 59, 49, 0.055), transparent 40%),
    rgba(255, 253, 244, 0.88);
  border: 1px solid var(--client-line);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 30px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.timeline-content:hover {
  border-color: rgba(30, 59, 49, 0.24);
  box-shadow: 0 18px 50px rgba(17, 25, 20, 0.1);
  transform: translateY(-2px);
}

.release-head {
  color: #65716b;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.version-chip {
  background: var(--client-ink);
  color: #fffaf0;
}

.type-chip {
  background: rgba(69, 117, 143, 0.12);
  color: var(--client-blue);
}

.timeline-content h3 {
  font-family: "Hiragino Mincho ProN", "Songti SC", "STSong", serif;
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: 0;
  line-height: 1.18;
  margin: 18px 0 12px;
}

.timeline-content p,
.timeline-content li {
  color: #4e5f55;
  font-size: 16px;
  line-height: 1.86;
}

.timeline-content p {
  margin: 0;
}

.timeline-content ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.timeline-content li {
  display: grid;
  gap: 10px;
  grid-template-columns: 12px minmax(0, 1fr);
}

.timeline-content li::before {
  background: var(--client-coral);
  border-radius: 50%;
  content: "";
  height: 6px;
  margin-top: 13px;
  width: 6px;
}

.timeline-content details {
  border-top: 1px solid var(--client-line);
  margin-top: 20px;
  padding-top: 16px;
}

.timeline-content summary {
  color: var(--client-green);
  cursor: pointer;
  font-weight: 900;
}

.timeline-content details p {
  margin-top: 12px;
}

.public-empty {
  color: #65716b;
}

.copied {
  filter: saturate(1.3);
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    height: auto;
    position: static;
  }

  .filter-bar,
  .metric-grid,
  .public-page.dossier-page {
    grid-template-columns: 1fr;
  }

  .dossier-rail {
    position: static;
  }

  .rail-card {
    min-height: auto;
  }

  .filter-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-main,
  .admin-sidebar,
  .public-header,
  .public-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-topbar,
  .section-title,
  .link-meta,
  .card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .share-url {
    grid-template-columns: 1fr;
  }

  .public-header {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .public-header-actions {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .public-page.dossier-page {
    gap: 18px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 22px;
    overflow-x: hidden;
    width: 100%;
  }

  .dossier-rail,
  .rail-card,
  .latest-card,
  .filter-card,
  .feed-panel {
    max-width: 100%;
    min-width: 0;
  }

  .rail-card,
  .latest-card,
  .filter-card,
  .feed-panel {
    width: calc(100vw - 28px);
  }

  .rail-card h1 {
    font-size: 40px;
  }

  .rail-meta,
  .filter-card {
    grid-template-columns: 1fr;
  }

  .latest-version {
    font-size: 40px;
  }

  .feed-panel {
    border-radius: 20px;
    padding: 16px;
  }

  .timeline-stream .section-title {
    align-items: flex-start;
    flex-direction: row;
  }

  .timeline-list::before {
    left: 13px;
  }

  .timeline-item {
    gap: 14px;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .timeline-pin {
    border-width: 5px;
    height: 28px;
    width: 28px;
  }

  .release-head {
    gap: 8px;
  }

  .timeline-content {
    border-radius: 18px;
  }
}

/* Customer page restored from the approved prototype direction. */
.public-body {
  --client-paper: #fbf6ea;
  --client-paper-deep: #eee2c8;
  --client-ink: #18202d;
  --client-muted: #69717c;
  --client-line: #dfd3ba;
  --client-leaf: #0c8f67;
  --client-blue: #2458d4;
  --client-coral: #df6a4f;
  --client-gold: #c58a26;
  --client-card: #fffdf7;
  --client-shadow: 0 28px 72px rgb(74 58 32 / 14%);
  background:
    linear-gradient(90deg, rgb(24 32 45 / 5%) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #fffaf0 0%, var(--client-paper) 42%, #f6efe0 100%);
  color: var(--client-ink);
  font-family: "Charter", "Georgia", "Songti SC", "PingFang SC", serif;
  min-width: 320px;
  overflow-x: hidden;
}

.public-body::before {
  background-image:
    radial-gradient(circle at 12% 18%, rgb(12 143 103 / 13%), transparent 28%),
    radial-gradient(circle at 86% 10%, rgb(197 138 38 / 18%), transparent 24%);
  content: "";
  inset: 0;
  mask-image: none;
  pointer-events: none;
  position: fixed;
}

.public-body .site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgb(251 246 234 / 78%);
  border-bottom: 1px solid rgb(223 211 186 / 78%);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - 1160px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.public-body .logo {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  white-space: nowrap;
}

.public-body .logo span {
  background: var(--client-ink);
  border-radius: 50%;
  color: #fffaf0;
  display: grid;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-weight: 900;
  height: 40px;
  place-items: center;
  width: 40px;
}

.public-body .logo strong {
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.public-body .customer-seal {
  align-items: center;
  background: rgb(255 253 247 / 76%);
  border: 1px solid #c9b98f;
  border-radius: 999px;
  color: #4f3f21;
  display: inline-flex;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  min-height: 36px;
  padding: 0 16px;
}

.public-body main {
  margin: 0 auto;
  position: relative;
  width: min(1160px, calc(100vw - 40px));
}

.public-body .hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.74fr);
  min-height: 500px;
  padding: 62px 0 46px;
}

.public-body .hero > * {
  min-width: 0;
}

.public-body .section-kicker {
  align-items: center;
  color: var(--client-leaf);
  display: inline-flex;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 900;
  gap: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.public-body .section-kicker::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 9px;
  width: 9px;
}

.public-body .hero h1 {
  font-size: 58px;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 18px 0 0;
  max-width: 760px;
}

.public-body .hero p {
  color: #5f6874;
  font-size: 18px;
  line-height: 1.85;
  margin: 20px 0 0;
  max-width: 650px;
}

.public-body .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.public-body .primary-link,
.public-body .outline-link {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.public-body .primary-link {
  background: var(--client-leaf);
  box-shadow: 0 16px 36px rgb(12 143 103 / 24%);
  color: #fffaf0;
}

.public-body .outline-link {
  background: rgb(255 253 247 / 70%);
  border: 1px solid #b9a87d;
  color: #4f3f21;
}

.public-body .primary-link:hover,
.public-body .outline-link:hover {
  transform: translateY(-2px);
}

.public-body .release-spotlight {
  animation: publicPageIn 520ms ease both;
  background:
    linear-gradient(135deg, rgb(255 253 247 / 94%), rgb(243 232 207 / 88%)),
    var(--client-card);
  border: 1px solid #d9c8a4;
  border-radius: 34px;
  box-shadow: var(--client-shadow);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.public-body .release-spotlight::after {
  border: 36px solid rgb(12 143 103 / 10%);
  border-radius: 50%;
  bottom: -86px;
  content: "";
  height: 210px;
  position: absolute;
  right: -72px;
  width: 210px;
}

@keyframes publicPageIn {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.public-body .spotlight-top,
.public-body .timeline-top,
.public-body .release-tags {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-body .spotlight-top,
.public-body .timeline-top {
  justify-content: space-between;
}

.public-body .spotlight-top {
  margin-bottom: 22px;
}

.public-body .version-badge,
.public-body .date-badge,
.public-body .type-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 900;
  min-height: 29px;
  padding: 0 11px;
}

.public-body .version-badge {
  background: #d4f2df;
  color: #083b2c;
}

.public-body .date-badge {
  background: #eee8dc;
  color: #445065;
}

.public-body .type-badge.major {
  background: #dce7ff;
  color: #173d98;
}

.public-body .type-badge.minor {
  background: #d7f1e4;
  color: #087256;
}

.public-body .type-badge.patch {
  background: #ffe1df;
  color: #ae3346;
}

.public-body .release-spotlight h2 {
  font-size: 29px;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
}

.public-body .release-spotlight p {
  color: var(--client-muted);
  line-height: 1.8;
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
}

.public-body .spotlight-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.public-body .spotlight-list li {
  color: #394354;
  display: flex;
  gap: 10px;
  line-height: 1.65;
}

.public-body .spotlight-list li::before {
  background: var(--client-leaf);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 7px;
  margin-top: 10px;
  width: 7px;
}

.public-body .overview {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 38px;
}

.public-body .stat-card {
  background: rgb(255 253 247 / 72%);
  border: 1px solid #d9c8a4;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgb(74 58 32 / 7%);
  padding: 20px;
}

.public-body .stat-card span,
.public-body .stat-card strong {
  display: block;
}

.public-body .stat-card span {
  color: var(--client-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.public-body .stat-card strong {
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 30px;
  line-height: 1;
  margin-top: 10px;
}

.public-body .content-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 220px minmax(0, 1fr);
  padding-bottom: 90px;
}

.public-body .release-index {
  position: sticky;
  top: 92px;
}

.public-body .index-card {
  background: rgb(255 253 247 / 74%);
  border: 1px solid #d9c8a4;
  border-radius: 24px;
  padding: 18px;
}

.public-body .filter-stack {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.public-body .filter-stack a {
  align-items: center;
  background: rgb(255 253 247 / 78%);
  border: 1px solid #dfd3ba;
  border-radius: 999px;
  color: #445065;
  display: flex;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-weight: 900;
  min-height: 43px;
  padding: 0 13px;
  text-align: left;
}

.public-body .filter-stack a.active {
  background: var(--client-leaf);
  border-color: var(--client-leaf);
  color: #fffaf0;
}

.public-body .section-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.public-body .section-heading h2 {
  font-size: 31px;
  letter-spacing: 0;
  margin: 8px 0 0;
}

.public-body .update-count {
  color: var(--client-muted);
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.public-body .client-timeline {
  display: grid;
  gap: 20px;
  position: relative;
}

.public-body .client-timeline::before {
  background: linear-gradient(var(--client-leaf), var(--client-gold));
  bottom: 26px;
  content: "";
  left: 18px;
  position: absolute;
  top: 26px;
  width: 2px;
}

.public-body .release-card {
  display: grid;
  gap: 20px;
  grid-template-columns: 92px minmax(0, 1fr);
  padding-left: 52px;
  position: relative;
}

.public-body .release-card::before {
  background: var(--client-leaf);
  border: 6px solid var(--client-paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #9abea8;
  content: "";
  height: 20px;
  left: 8px;
  position: absolute;
  top: 24px;
  width: 20px;
}

.public-body .release-month {
  color: #766348;
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 900;
  padding-top: 16px;
}

.public-body .release-body {
  background: var(--client-card);
  border: 1px solid #d9c8a4;
  border-radius: 28px;
  box-shadow: 0 12px 38px rgb(74 58 32 / 8%);
  padding: 24px;
}

.public-body .release-body h3 {
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 15px 0 0;
}

.public-body .release-body p {
  color: var(--client-muted);
  line-height: 1.82;
  margin: 12px 0 0;
}

.public-body .release-detail-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.public-body .detail-block {
  background: #f2eadb;
  border-radius: 20px;
  padding: 17px;
}

.public-body .detail-block h4 {
  font-family: "Avenir Next", "PingFang SC", sans-serif;
  font-size: 15px;
  margin: 0 0 10px;
}

.public-body .detail-block ul {
  color: #394354;
  display: grid;
  font-size: 14px;
  gap: 8px;
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
}

.public-body .detail-block p {
  font-size: 14px;
  line-height: 1.7;
}

.public-body .empty-state {
  background: rgb(255 253 247 / 74%);
  border: 1px dashed #c9b98f;
  border-radius: 26px;
  color: var(--client-muted);
  padding: 38px;
  text-align: center;
}

@media (max-width: 980px) {
  .public-body .hero,
  .public-body .content-layout {
    grid-template-columns: 1fr;
  }

  .public-body .release-index {
    position: static;
  }

  .public-body .filter-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .public-body .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 14px;
    width: 100vw;
  }

  .public-body main {
    overflow-x: hidden;
    width: calc(100vw - 28px);
  }

  .public-body .hero {
    min-height: auto;
    padding: 36px 0 28px;
  }

  .public-body .hero h1 {
    font-size: 34px;
    max-width: 340px;
    overflow-wrap: anywhere;
  }

  .public-body .hero p {
    font-size: 15px;
    max-width: 340px;
  }

  .public-body .release-spotlight,
  .public-body .overview,
  .public-body .content-layout,
  .public-body .timeline-column,
  .public-body .client-timeline {
    max-width: 100%;
    width: 100%;
  }

  .public-body .release-spotlight,
  .public-body .stat-card,
  .public-body .index-card,
  .public-body .release-body {
    max-width: calc(100vw - 28px);
    overflow-wrap: anywhere;
    width: 100%;
  }

  .public-body .release-spotlight h2,
  .public-body .release-body h3 {
    font-size: 24px;
  }

  .public-body .overview,
  .public-body .release-detail-grid,
  .public-body .filter-stack {
    grid-template-columns: 1fr;
  }

  .public-body .spotlight-top,
  .public-body .timeline-top,
  .public-body .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-body .release-card {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .public-body .release-month {
    padding-top: 0;
  }
}

/* Simple documentation-style customer changelog. */
.docs-body {
  background: #fff;
  color: #3f4148;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-width: 320px;
  overflow-x: hidden;
}

.docs-body::before {
  display: none;
}

.docs-topbar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  height: 66px;
  padding: 0 18px 0 12px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.docs-logo {
  align-items: center;
  display: flex;
  gap: 9px;
  min-width: 0;
}

.docs-logo img {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.docs-logo strong {
  color: #151922;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.docs-product-tabs {
  align-items: stretch;
  display: flex;
  height: 66px;
  min-width: 0;
}

.docs-product-tabs a,
.docs-product-tabs span {
  align-items: center;
  color: #4d515b;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  min-width: 0;
  padding: 0 23px;
  white-space: nowrap;
}

.docs-product-tabs a.active {
  border-bottom: 3px solid #22b890;
  color: #22b890;
  font-weight: 850;
}

.docs-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.docs-search {
  align-items: center;
  background: #f8f8f9;
  border: 1px solid #eceef1;
  border-radius: 11px;
  color: #7b808a;
  display: flex;
  gap: 8px;
  height: 40px;
  padding: 0 10px;
}

.docs-search input {
  background: transparent;
  border: 0;
  color: #343741;
  outline: 0;
  width: 74px;
}

.docs-search kbd {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #8a8f99;
  font-size: 11px;
  padding: 3px 6px;
}

.docs-copy {
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 10px;
  color: #4d515b;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  padding: 0 12px;
}

.docs-shell {
  display: grid;
  grid-template-columns: 250px minmax(600px, 1fr) 248px;
  min-height: calc(100vh - 66px);
}

.docs-sidebar {
  background: #f6f7f9;
  border-right: 1px solid #e1e4e8;
  color: #5c616b;
  height: calc(100vh - 66px);
  overflow: auto;
  padding: 16px 18px 36px;
  position: sticky;
  top: 66px;
}

.docs-sidebar section {
  border-bottom: 1px solid #e3e6ea;
  display: grid;
  gap: 4px;
  padding: 0 0 24px;
}

.docs-sidebar section + section {
  padding-top: 18px;
}

.docs-group-title {
  align-items: center;
  background: transparent;
  border: 0;
  color: #3f444d;
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  padding: 0 0 8px;
  text-align: left;
}

.docs-group-title::after {
  color: #9aa0aa;
  content: "⌄";
  font-size: 16px;
}

.docs-sidebar a,
.docs-customer {
  border-radius: 6px;
  color: #5f646f;
  display: block;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 2px;
}

.docs-sidebar a.active {
  color: #12a77f;
  font-weight: 850;
}

.docs-sidebar a.active::before {
  content: "▣ ";
}

.docs-customer {
  color: #343842;
  font-weight: 800;
}

.docs-content {
  margin: 0 auto;
  max-width: 760px;
  padding: 46px 36px 90px;
  width: 100%;
}

.docs-content h1 {
  color: #42444d;
  font-size: 34px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 46px;
}

.release-doc-list {
  display: grid;
}

.release-doc-section {
  border-top: 1px solid #dedfe3;
  padding: 25px 0 43px;
  scroll-margin-top: 86px;
}

.release-doc-section h2 {
  color: #3d4049;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 15px;
}

.release-doc-section ul {
  color: #4d515b;
  display: grid;
  font-size: 16px;
  gap: 10px;
  line-height: 1.75;
  margin: 0;
  padding-left: 22px;
}

.release-doc-section li {
  padding-left: 2px;
}

.docs-empty {
  border-top: 1px solid #dedfe3;
  color: #777d87;
  padding: 36px 0;
}

.docs-toc {
  border-left: 1px solid #e5e7eb;
  height: calc(100vh - 66px);
  overflow: hidden;
  padding: 52px 18px 36px;
  position: sticky;
  top: 66px;
}

.docs-toc strong {
  color: #3e424b;
  display: block;
  font-size: 14px;
  margin-bottom: 14px;
}

.docs-toc nav {
  display: grid;
  gap: 12px;
}

.docs-toc a {
  color: #606672;
  display: block;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-toc a:hover {
  color: #12a77f;
}

.release-doc-section.hidden,
.docs-toc a.hidden {
  display: none;
}

@media (max-width: 1180px) {
  .docs-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 820px) {
  .docs-topbar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 12px 14px;
    position: static;
  }

  .docs-product-tabs {
    height: 44px;
    overflow-x: auto;
  }

  .docs-product-tabs a,
  .docs-product-tabs span {
    padding: 0 18px 0 0;
  }

  .docs-actions {
    margin-top: 8px;
  }

  .docs-search {
    flex: 1;
  }

  .docs-search input {
    width: 100%;
  }

  .docs-shell {
    display: block;
  }

  .docs-sidebar {
    border-bottom: 1px solid #e1e4e8;
    border-right: 0;
    height: auto;
    padding: 12px 14px;
    position: static;
  }

  .docs-sidebar section:not(:first-child) {
    display: none;
  }

  .docs-sidebar section {
    border: 0;
    padding: 0;
  }

  .docs-sidebar a:not(.active),
  .docs-group-title {
    display: none;
  }

  .docs-sidebar a.active {
    padding: 6px 0;
  }

  .docs-content {
    box-sizing: border-box;
    max-width: none;
    min-width: 0;
    overflow: hidden;
    padding: 34px 16px 70px;
    width: 100vw;
  }

  .docs-content h1 {
    font-size: 30px;
    margin-bottom: 34px;
  }

  .release-doc-section {
    box-sizing: border-box;
    max-width: calc(100vw - 32px);
    width: calc(100vw - 32px);
  }

  .release-doc-section h2 {
    max-width: 100%;
  }

  .release-doc-section ul {
    box-sizing: border-box;
    padding-bottom: 34px;
    padding-right: 8px;
    width: 100%;
  }

  .release-doc-section h2 {
    font-size: 21px;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
  }

  .release-doc-section ul {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .release-doc-section li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
}

/* Final admin theme override: white documentation-style management UI. */
.admin-body {
  background: #fff;
  color: #3f4148;
  min-height: 100vh;
}

.admin-body .admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-body .admin-sidebar {
  background: #f6f7f9;
  border-right: 1px solid #e1e4e8;
  box-shadow: none;
  color: #3f4148;
  gap: 28px;
  height: 100vh;
  padding: 18px 18px 24px;
  position: sticky;
  top: 0;
}

.admin-body .brand {
  align-items: center;
  gap: 9px;
  min-height: 34px;
}

.admin-body .brand-logo {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.admin-body .brand strong {
  color: #151922;
  display: block;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  white-space: nowrap;
}

.admin-body .side-nav {
  border-top: 1px solid #e1e4e8;
  display: grid;
  gap: 7px;
  padding-top: 18px;
}

.admin-body .side-nav a {
  border: 0;
  border-radius: 0;
  color: #575d68;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  padding: 8px 2px;
  position: relative;
}

.admin-body .side-nav a:hover,
.admin-body .side-nav a.active {
  background: transparent;
  color: #12a77f;
}

.admin-body .side-nav a.active::before {
  color: #12a77f;
  content: "▫";
  font-size: 18px;
  margin-right: 4px;
  vertical-align: -1px;
}

.admin-body .sidebar-meta {
  background: transparent;
  border: 0;
  border-top: 1px solid #e1e4e8;
  border-radius: 0;
  color: #343842;
  margin-top: auto;
  padding: 18px 2px 0;
}

.admin-body .sidebar-meta span {
  color: #777d87;
  font-size: 12px;
  margin-bottom: 7px;
}

.admin-body .sidebar-meta strong {
  color: #343842;
  font-size: 14px;
}

.admin-body .admin-main {
  background: #fff;
  min-width: 0;
  padding: 0 0 80px;
}

.admin-body .admin-topbar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  height: 66px;
  margin: 0 0 22px;
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-body .kicker {
  color: #12a77f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.admin-body .admin-topbar h1,
.admin-body .section-title h2,
.admin-body .link-card h3 {
  color: #3d4049;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 850;
  letter-spacing: 0;
}

.admin-body .admin-topbar h1 {
  font-size: 24px;
  line-height: 1.25;
  margin: 2px 0 0;
}

.admin-body .metric-grid,
.admin-body .panel,
.admin-body .flash-stack {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  width: calc(100% - 68px);
}

.admin-body .metric-grid {
  gap: 12px;
  margin-bottom: 14px;
}

.admin-body .metric-card,
.admin-body .panel,
.admin-body .link-card {
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  box-shadow: none;
}

.admin-body .metric-card {
  padding: 17px 18px;
}

.admin-body .metric-card span {
  color: #686e78;
  font-size: 13px;
  font-weight: 700;
}

.admin-body .metric-card strong {
  color: #343842;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  font-weight: 850;
  margin-top: 8px;
}

.admin-body .panel {
  margin-bottom: 16px;
  padding: 18px;
}

.admin-body .section-title {
  border-bottom: 1px solid #eceef1;
  margin: -2px -2px 16px;
  padding: 0 0 15px;
}

.admin-body .section-title h2 {
  font-size: 22px;
  margin: 3px 0 0;
}

.admin-body .field span {
  color: #4b505a;
  font-size: 13px;
  font-weight: 750;
  opacity: 1;
}

.admin-body .field input,
.admin-body .field select,
.admin-body .field textarea {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #343842;
}

.admin-body .field input:focus,
.admin-body .field select:focus,
.admin-body .field textarea:focus {
  border-color: #12a77f;
  box-shadow: 0 0 0 3px rgba(18, 167, 127, 0.12);
}

.admin-body .button {
  border-radius: 8px;
  font-weight: 800;
}

.admin-body .button:hover {
  transform: none;
}

.admin-body .button.primary,
.admin-body .button.ink {
  background: #12a77f;
  border-color: #12a77f;
  color: #fff;
}

.admin-body .button.ghost {
  background: #fff;
  border-color: #dfe3e8;
  color: #3f454f;
}

.admin-body .button.danger {
  background: #fff;
  border-color: #f0c8c1;
  color: #b74332;
}

.admin-body .table-row {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  border-radius: 0;
  color: #3f454f;
  min-width: 980px;
  padding: 14px 10px;
}

.admin-body .table-head {
  background: #f8f8f9;
  border-bottom: 1px solid #e4e7eb;
  color: #737985;
  font-size: 12px;
  font-weight: 850;
}

.admin-body .table-row small,
.admin-body .link-card p,
.admin-body .link-meta {
  color: #747a85;
}

.admin-body .row-actions a,
.admin-body .row-actions button {
  color: #12a77f;
}

.admin-body .status.published,
.admin-body .status.active {
  background: #e7f7f2;
  color: #0b8e6b;
}

.admin-body .status.draft {
  background: #fff5df;
  color: #a66f06;
}

.admin-body .status.archived,
.admin-body .status.disabled {
  background: #eef1f4;
  color: #68707a;
}

.admin-body .empty-state {
  border-color: #dfe3e8;
  color: #777d87;
}

.admin-body .link-list {
  gap: 12px;
}

.admin-body .link-card {
  background: #fff;
  gap: 15px;
  padding: 18px;
}

.admin-body .link-product {
  color: #12a77f;
}

.admin-body .link-card h3 {
  font-size: 22px;
}

.admin-body .share-url {
  background: #f8f8f9;
  border-color: #e2e5e9;
  border-radius: 8px;
}

.admin-body .share-url code {
  color: #3f454f;
}

.admin-body .icon-button {
  background: #12a77f;
  border-radius: 8px;
  color: #fff;
}

.admin-body .flash {
  border: 1px solid #dfe3e8;
}

.admin-body .flash.success {
  background: #edf9f5;
  color: #0c8062;
}

.admin-body .flash.error {
  background: #fff1ee;
  color: #ac3f2f;
}

/* Actual final login override. */
body.login-body .login-card {
  background: #fff;
  border: 1px solid #e3e5e8;
  box-shadow: none;
  color: #343842;
}

body.login-body {
  background: #fff;
  color: #343842;
}

body.login-body .login-wrap {
  background:
    linear-gradient(90deg, #f6f7f9 0 250px, transparent 250px),
    #fff;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100vh;
  padding: 0;
  place-items: stretch;
}

body.login-body .login-brand .brand-logo {
  display: block;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

body.login-body .login-brand strong {
  color: #151922;
  font-size: 15px;
  font-weight: 950;
}

body.login-body .login-card::before {
  color: #12a77f;
  content: "Release Management";
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin: 28px 0 8px;
}

body.login-body .login-card h1 {
  color: #343842;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 10px;
}

body.login-body .login-card p {
  color: #747a85;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 26px;
}

body.login-body .login-card .field span {
  color: #4b505a;
  font-size: 13px;
  font-weight: 750;
  opacity: 1;
}

body.login-body .login-card .field input {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #343842;
  font-size: 16px;
  min-height: 48px;
}

body.login-body .login-card .field input:focus {
  border-color: #12a77f;
  box-shadow: 0 0 0 3px rgba(18, 167, 127, 0.12);
}

body.login-body .login-actions .button.primary {
  background: #12a77f;
  border-color: #12a77f;
  color: #fff;
  min-height: 46px;
  width: 100%;
}
