    :root {
      --canvas: #edf1ec;
      --ink: #172331;
      --muted: #637282;
      --line: rgba(30, 52, 71, 0.12);
      --panel: rgba(252, 250, 244, 0.9);
      --panel-strong: rgba(255, 255, 255, 0.96);
      --sidebar: #102133;
      --sidebar-soft: rgba(255, 255, 255, 0.08);
      --accent: #0f7c84;
      --accent-deep: #0a5f7b;
      --accent-warm: #c58a39;
      --ok: #177245;
      --danger: #b03d2f;
      --warn: #9f691e;
      --shadow: 0 22px 60px rgba(18, 32, 46, 0.14);
      --radius-xl: 28px;
      --radius-lg: 20px;
      --radius-md: 14px;
      --dash-shell-bg: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(237,247,255,0.96) 38%, rgba(244,251,255,0.98) 100%), radial-gradient(circle at 12% -4%, rgba(116,218,255,0.26), transparent 32%), radial-gradient(circle at 88% -6%, rgba(132,236,221,0.18), transparent 26%), linear-gradient(120deg, rgba(92,162,210,0.04) 0%, rgba(92,162,210,0.0) 42%, rgba(47,115,160,0.07) 100%);
      --dash-card-bg: rgba(255,255,255,0.84);
      --dash-card-border: rgba(101,181,214,0.16);
      --dash-accent-border: rgba(96,177,212,0.18);
      --dash-ink: #1a6685;
      --dash-ink-deep: #1d526d;
      --dash-muted: #5d7f95;
      --dash-glow-blue: rgba(116,218,255,0.16);
      --dash-glow-teal: rgba(126,241,216,0.12);
      --dash-card-shadow: 0 18px 42px rgba(30,74,106,0.12);
      --dash-accent-gradient: linear-gradient(90deg, rgba(97,192,241,0.86) 0%, rgba(79,153,255,0.86) 42%, rgba(126,241,216,0.9) 100%);
      --dash-funnel-gradient: linear-gradient(90deg, rgba(103,206,255,0.96) 0%, rgba(94,153,255,0.88) 50%, rgba(126,241,216,0.9) 100%);
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      min-height: 100%;
    }

    body {
      margin: 0;
      color: var(--ink);
      font-family: "Bahnschrift", "PingFang SC", "Microsoft YaHei", sans-serif;
      background:
        radial-gradient(circle at 8% 8%, rgba(15, 124, 132, 0.18), transparent 30%),
        radial-gradient(circle at 95% 10%, rgba(197, 138, 57, 0.18), transparent 26%),
        radial-gradient(circle at 80% 95%, rgba(16, 33, 51, 0.16), transparent 32%),
        linear-gradient(160deg, #f8f6ef 0%, var(--canvas) 42%, #e5ece4 100%);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
      border: 0;
    }

    .hidden {
      display: none !important;
    }

    .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.08);
      font-size: 12px;
      letter-spacing: 0.04em;
    }

    .eyebrow {
      margin: 0 0 8px;
      font-size: 12px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.68);
    }

    .status-text {
      min-height: 22px;
      margin-top: 12px;
      color: var(--muted);
      font-size: 14px;
    }

    .status-text.ok {
      color: var(--ok);
    }

    .status-text.error {
      color: var(--danger);
    }

    .status-text.warn {
      color: var(--warn);
    }

    .auth-shell {
      min-height: 100vh;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(360px, 440px);
      gap: 24px;
      padding: 28px;
    }

    .auth-brand {
      position: relative;
      overflow: hidden;
      padding: 38px;
      color: #f9fbff;
      background:
        linear-gradient(155deg, rgba(16, 33, 51, 0.95) 0%, rgba(12, 95, 123, 0.94) 52%, rgba(17, 86, 90, 0.94) 100%);
    }

    .auth-brand::after {
      content: "";
      position: absolute;
      inset: auto -10% -35% auto;
      width: 340px;
      height: 340px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(197, 138, 57, 0.32) 0%, transparent 68%);
    }

    .brand-grid {
      position: relative;
      display: grid;
      gap: 18px;
      z-index: 1;
    }

    .brand-mark {
      width: 74px;
      height: 74px;
      border-radius: 24px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 26px;
      font-weight: 700;
      letter-spacing: 0.12em;
    }

    .auth-brand h1 {
      margin: 0;
      font-size: 46px;
      line-height: 1.04;
      max-width: 680px;
    }

    .auth-brand p {
      margin: 0;
      max-width: 640px;
      color: rgba(245, 249, 255, 0.76);
      line-height: 1.72;
      font-size: 16px;
    }

    .auth-highlights {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 14px;
    }

    .auth-highlight {
      padding: 18px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .auth-highlight strong {
      display: block;
      margin-bottom: 8px;
      font-size: 18px;
    }

    .auth-card {
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: rgba(253, 251, 245, 0.94);
    }

    .auth-card h2 {
      margin: 0 0 10px;
      font-size: 30px;
    }

    .auth-card .helper {
      margin: 0 0 20px;
      color: var(--muted);
      line-height: 1.7;
    }

    .field-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .field-grid.single {
      grid-template-columns: 1fr;
    }

    .field,
    .field-stack {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .field-help {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.6;
    }

    .selection-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px;
    }

    .selection-card {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(18, 32, 46, 0.08);
      background: rgba(255, 255, 255, 0.72);
    }

    .selection-card.selected {
      border-color: rgba(15, 124, 132, 0.28);
      background: rgba(240, 251, 250, 0.92);
    }

    .selection-card input {
      margin-top: 3px;
    }

    .selection-card-body {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    label {
      font-size: 13px;
      letter-spacing: 0.04em;
      color: var(--muted);
      text-transform: uppercase;
    }

    input,
    select,
    textarea {
      width: 100%;
      border-radius: 14px;
      border: 1px solid rgba(24, 36, 52, 0.12);
      background: var(--panel-strong);
      padding: 13px 14px;
      color: var(--ink);
      outline: none;
      transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
    }

    textarea {
      min-height: 130px;
      resize: vertical;
      line-height: 1.6;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: rgba(15, 124, 132, 0.52);
      box-shadow: 0 0 0 4px rgba(15, 124, 132, 0.12);
    }

    .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 20px;
    }

    .button-primary,
    .button-secondary,
    .button-ghost,
    .nav-button,
    .content-filter {
      border-radius: 14px;
      transition: transform 120ms ease, opacity 120ms ease, background 120ms ease, border-color 120ms ease;
    }

    .button-primary,
    .nav-button.active {
      color: #f8fcff;
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
      box-shadow: 0 14px 26px rgba(10, 95, 123, 0.24);
    }

    .button-primary {
      padding: 13px 16px;
      min-width: 148px;
    }

    .button-secondary {
      padding: 13px 16px;
      background: rgba(16, 33, 51, 0.08);
      color: var(--ink);
      border: 1px solid rgba(16, 33, 51, 0.08);
    }

    .button-ghost,
    .content-filter,
    .nav-button {
      padding: 11px 14px;
      background: transparent;
      color: inherit;
      border: 1px solid transparent;
    }

    .button-ghost {
      background: rgba(255, 255, 255, 0.08);
      color: #eff5fb;
    }

    .button-primary:hover,
    .button-secondary:hover,
    .button-ghost:hover,
    .nav-button:hover,
    .content-filter:hover {
      transform: translateY(-1px);
    }

    .admin-shell {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 290px minmax(0, 1fr);
      gap: 18px;
      padding: 18px;
    }

    .sidebar {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 22px 18px 18px;
      border-radius: var(--radius-xl);
      color: #eef6ff;
      background:
        linear-gradient(180deg, rgba(16, 33, 51, 0.98) 0%, rgba(13, 67, 87, 0.98) 100%);
      box-shadow: 0 28px 60px rgba(10, 22, 34, 0.24);
    }

    .sidebar-top {
      display: grid;
      gap: 22px;
    }

    .sidebar-logo {
      display: grid;
      gap: 10px;
    }

    .sidebar-logo strong {
      font-size: 24px;
    }

    .sidebar-logo p,
    .sidebar-foot-note {
      margin: 0;
      color: rgba(232, 241, 250, 0.68);
      line-height: 1.62;
      font-size: 14px;
    }

    .nav-list {
      display: grid;
      gap: 8px;
    }

    .nav-section-label {
      margin: 12px 2px 4px;
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(232, 241, 250, 0.46);
    }

    .nav-button {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      color: rgba(239, 245, 251, 0.82);
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav-button span:last-child {
      color: rgba(239, 245, 251, 0.56);
      font-size: 12px;
    }

    .sidebar-footer {
      display: grid;
      gap: 14px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .user-card {
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .user-card strong {
      display: block;
      margin-bottom: 6px;
    }

    .workspace {
      min-width: 0;
      display: grid;
      gap: 16px;
      align-content: start;
    }

    .workspace-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      align-items: start;
      padding: 18px 20px 16px;
      border-radius: var(--radius-xl);
      background: rgba(250, 248, 242, 0.94);
    }

    .workspace-head-main {
      display: grid;
      gap: 8px;
      min-width: 0;
    }

    .workspace-head-actions {
      display: grid;
      justify-items: end;
      gap: 10px;
      min-width: min(100%, 520px);
    }

    .workspace-head-controls {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    .workspace-head h1 {
      margin: 0;
      font-size: 30px;
      line-height: 1.08;
    }

    .workspace-head p {
      margin: 0;
      color: var(--muted);
      line-height: 1.58;
    }

    .workspace-inline-meta {
      margin-top: 0;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.68);
      font-size: 13px;
      line-height: 1.5;
    }

    .workspace-head .field {
      margin: 0;
    }

    .workspace-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 6px;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(15, 124, 132, 0.1);
      color: var(--accent-deep);
      font-size: 12px;
      border: 1px solid rgba(15, 124, 132, 0.12);
    }

    .flash {
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(15, 124, 132, 0.12);
      background: rgba(249, 252, 253, 0.94);
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .flash.ok {
      color: var(--ok);
      border-color: rgba(23, 114, 69, 0.18);
      background: rgba(245, 252, 248, 0.94);
    }

    .flash.error {
      color: var(--danger);
      border-color: rgba(176, 61, 47, 0.16);
      background: rgba(253, 247, 246, 0.94);
    }

    .view-section {
      display: none;
      gap: 18px;
      align-content: start;
    }

    .view-section.active {
      display: grid;
    }

    .metric-grid,
    .split-grid,
    .content-grid,
    .release-grid,
    .store-grid,
    .dashboard-grid {
      display: grid;
      gap: 18px;
    }

    .metric-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-grid {
      grid-template-columns: 1.25fr 0.75fr;
    }

    .split-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-grid {
      grid-template-columns: 1.1fr 0.9fr;
    }

    .content-grid {
      grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.4fr);
    }

    .release-grid {
      grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
    }

    .surface {
      padding: 22px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      background: rgba(252, 250, 244, 0.9);
      box-shadow: var(--shadow);
    }

    .surface h2,
    .surface h3,
    .surface h4 {
      margin: 0;
    }

    .surface-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 18px;
    }

    .surface-head p,
    .subtle,
    .data-note {
      margin: 6px 0 0;
      color: var(--muted);
      line-height: 1.64;
      font-size: 14px;
    }

    .metric-card {
      padding: 18px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.76);
      border: 1px solid rgba(18, 32, 46, 0.08);
    }

    .metric-card span {
      display: block;
      font-size: 13px;
      color: var(--muted);
      letter-spacing: 0.04em;
    }

    .metric-card strong {
      display: block;
      margin: 12px 0 10px;
      font-size: 32px;
      letter-spacing: -0.02em;
    }

    .metric-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.56;
      font-size: 14px;
    }

    .stat-bar {
      height: 8px;
      margin-top: 12px;
      border-radius: 999px;
      background: rgba(16, 33, 51, 0.08);
      overflow: hidden;
    }

    .stat-bar i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--accent) 0%, var(--accent-warm) 100%);
    }

    .quick-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .info-grid {
      display: grid;
      gap: 14px;
    }

    .info-card {
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(18, 32, 46, 0.08);
    }

    .info-card strong,
    .list-card strong {
      display: block;
      margin-bottom: 8px;
      font-size: 16px;
    }

    .list-stack,
    .content-list,
    .job-list,
    .artifact-list,
    .version-list {
      display: grid;
      gap: 12px;
    }

    .list-card,
    .content-item,
    .job-item {
      padding: 16px;
      border-radius: 16px;
      border: 1px solid rgba(18, 32, 46, 0.08);
      background: rgba(255, 255, 255, 0.72);
    }

    .content-item,
    .job-item {
      text-align: left;
      width: 100%;
    }

    .content-item.active,
    .job-item.active {
      border-color: rgba(15, 124, 132, 0.36);
      background: rgba(240, 251, 250, 0.92);
      box-shadow: 0 14px 26px rgba(15, 124, 132, 0.12);
    }

    .meta-row,
    .mini-row,
    .inline-meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }

    .meta-chip,
    .token {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(16, 33, 51, 0.06);
      color: var(--muted);
      font-size: 12px;
    }

    .token.state-ready,
    .token.state-published,
    .token.job-succeeded,
    .token.job-rolled_back {
      background: rgba(23, 114, 69, 0.12);
      color: var(--ok);
    }

    .token.state-pending_review,
    .token.job-running,
    .token.job-queued {
      background: rgba(197, 138, 57, 0.14);
      color: var(--warn);
    }

    .token.state-draft,
    .token.job-failed,
    .token.job-rollback_failed {
      background: rgba(176, 61, 47, 0.12);
      color: var(--danger);
    }

    .section-tabs {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 16px;
    }

    .queue-summary-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(16, 33, 51, 0.08);
    }

    .queue-summary-note {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.58;
    }

    .content-workbench-intro {
      display: grid;
      gap: 18px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 251, 250, 0.94) 100%),
        radial-gradient(circle at top left, rgba(15, 124, 132, 0.10), transparent 38%);
    }

    .page-asset-workbench-intro,
    .release-workbench-intro,
    .accounts-workbench-intro {
      display: grid;
      gap: 18px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 255, 0.94) 100%),
        radial-gradient(circle at top left, rgba(10, 95, 123, 0.10), transparent 38%);
    }

    .content-workbench-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px;
      align-items: start;
    }

    .page-asset-workbench-hero,
    .release-workbench-hero,
    .accounts-workbench-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px;
      align-items: start;
    }

    .content-workbench-kicker {
      display: inline-flex;
      margin-bottom: 10px;
      font-size: 12px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent-deep);
    }

    .page-asset-workbench-kicker,
    .release-workbench-kicker,
    .accounts-workbench-kicker {
      display: inline-flex;
      margin-bottom: 10px;
      font-size: 12px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent-deep);
    }

    .content-workbench-hero h2 {
      font-size: 30px;
      line-height: 1.14;
    }

    .page-asset-workbench-hero h2,
    .release-workbench-hero h2,
    .accounts-workbench-hero h2 {
      font-size: 30px;
      line-height: 1.14;
    }

    .content-workbench-hero p {
      margin: 10px 0 0;
      max-width: 780px;
      color: var(--muted);
      line-height: 1.72;
    }

    .page-asset-workbench-hero p,
    .release-workbench-hero p,
    .accounts-workbench-hero p {
      margin: 10px 0 0;
      max-width: 780px;
      color: var(--muted);
      line-height: 1.72;
    }

    .content-workbench-hero-actions,
    .content-workbench-summary-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .page-asset-workbench-summary-row,
    .release-workbench-summary-row,
    .accounts-workbench-summary-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .content-workbench-hero-actions {
      justify-content: flex-end;
    }

    .content-filter-grid--compact {
      grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
      align-items: center;
    }

    .content-form-section-title {
      margin: 20px 0 10px;
      font-size: 12px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--accent-deep);
    }

    .operation-flow {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 16px;
    }

    .operation-flow span {
      min-width: 0;
      padding: 12px 14px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.76);
      border: 1px solid rgba(16, 33, 51, 0.08);
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .operation-flow strong {
      display: block;
      margin-bottom: 4px;
      color: var(--ink);
      font-size: 14px;
    }

    .content-filter-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin: 0 0 16px;
    }

    .content-filter {
      border: 1px solid rgba(16, 33, 51, 0.08);
      background: rgba(255, 255, 255, 0.7);
      color: var(--muted);
    }

    .content-filter.active {
      background: rgba(15, 124, 132, 0.12);
      color: var(--accent-deep);
      border-color: rgba(15, 124, 132, 0.18);
    }

    .content-card-main {
      width: 100%;
      padding: 0;
      border: 0;
      background: transparent;
      color: inherit;
      text-align: left;
    }

    .content-card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid rgba(16, 33, 51, 0.08);
    }

    .content-card-actions button {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(15, 124, 132, 0.1);
      color: var(--accent-deep);
      font-size: 13px;
    }

    .content-card-actions button[data-content-release-slug] {
      background: rgba(197, 138, 57, 0.14);
      color: var(--warn);
    }

    .search-box {
      position: relative;
    }

    .search-box input {
      padding-left: 42px;
    }

    .search-box span {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
      font-size: 15px;
    }

    .editor-meta {
      margin-top: 14px;
      padding: 14px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.74);
      border: 1px dashed rgba(16, 33, 51, 0.12);
      color: var(--muted);
      line-height: 1.64;
      font-size: 14px;
    }

    .editor-meta strong {
      color: var(--ink);
    }

    .quick-pick-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 12px;
    }

    .quick-pick {
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid rgba(16, 33, 51, 0.12);
      background: rgba(255, 255, 255, 0.82);
      color: var(--ink);
      font-size: 13px;
      line-height: 1.4;
    }

    .quick-pick.is-active {
      border-color: rgba(15, 124, 132, 0.3);
      background: rgba(238, 249, 248, 0.96);
      color: var(--accent-deep);
    }

    .quick-pick.is-muted {
      color: var(--muted);
      background: rgba(255, 255, 255, 0.6);
    }

    .quick-pick-note {
      margin-top: 10px;
      color: var(--muted);
      line-height: 1.6;
      font-size: 13px;
    }

    .release-actions {
      display: grid;
      gap: 14px;
    }

    .release-action-card {
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.74);
      border: 1px solid rgba(16, 33, 51, 0.08);
    }

    .release-action-card h4 {
      margin-bottom: 6px;
    }

    .release-action-card p {
      margin: 0 0 12px;
      color: var(--muted);
      line-height: 1.62;
      font-size: 14px;
    }

    pre {
      margin: 0;
      padding: 16px;
      overflow: auto;
      white-space: pre-wrap;
      word-break: break-word;
      border-radius: 18px;
      background: #0f1f30;
      color: #f1f7ff;
      font-family: "Cascadia Code", "Consolas", monospace;
      font-size: 13px;
      line-height: 1.56;
      min-height: 220px;
    }

    .empty-state {
      padding: 24px;
      border-radius: 18px;
      border: 1px dashed rgba(16, 33, 51, 0.16);
      background: rgba(255, 255, 255, 0.52);
      color: var(--muted);
      line-height: 1.72;
      text-align: center;
    }

    .footer-links {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 18px;
    }

    .footer-links a {
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(16, 33, 51, 0.06);
      color: var(--muted);
    }

    .backend-legal-footer {
      position: static;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px 18px;
      width: 100%;
      color: rgba(23, 35, 49, 0.58);
      font-size: 13px;
      line-height: 1.8;
      text-align: center;
    }

    .backend-legal-footer a {
      color: inherit;
      text-decoration: none;
    }

    .backend-legal-footer a:hover {
      color: var(--accent-deep);
    }

    .auth-shell > .backend-legal-footer {
      grid-column: 1 / -1;
      align-self: end;
      padding: 0 8px;
    }

    .admin-legal-footer {
      margin: 0 auto;
      padding: 8px 6px 2px;
    }

    @media (max-width: 1180px) {
      .auth-shell,
      .admin-shell,
      .dashboard-grid,
      .store-grid,
      .content-grid,
      .release-grid,
      .split-grid,
      .metric-grid {
        grid-template-columns: 1fr;
      }

      .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .admin-shell {
        padding: 14px;
      }

      .sidebar {
        gap: 18px;
      }

      .admin-shell--dashboard-view .workspace {
        order: 1;
      }

      .admin-shell--dashboard-view .sidebar {
        order: 2;
      }

      .operation-flow-indicator {
        display: none;
      }
    }

    @media (max-width: 720px) {
      .auth-shell,
      .admin-shell {
        padding: 10px;
      }

      .auth-brand,
      .auth-card,
      .workspace-head,
      .surface {
        padding: 18px;
      }

      .field-grid,
      .metric-grid {
        grid-template-columns: 1fr;
      }

      .auth-brand h1,
      .workspace-head h1 {
        font-size: 30px;
      }

      .backend-legal-footer {
        flex-direction: column;
        gap: 2px;
        font-size: 12px;
      }
    }

    /* Operation flow indicator in sidebar */
    .operation-flow-indicator {
      margin: 0 10px 6px;
      padding: 10px;
      border-radius: 14px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .operation-flow-label {
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.34);
      margin-bottom: 6px;
    }

    .operation-flow-steps {
      display: flex;
      align-items: center;
      gap: 2px;
      flex-wrap: wrap;
    }

    .operation-step {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      padding: 4px 6px;
      border: 0;
      border-radius: 8px;
      background: transparent;
      cursor: pointer;
      transition: background 140ms;
    }

    .operation-step:hover {
      background: rgba(255,255,255,0.10);
    }

    .operation-step-icon {
      font-size: 8px;
      color: rgba(255,255,255,0.26);
      transition: color 140ms;
    }

    .operation-step:hover .operation-step-icon {
      color: rgba(126,241,216,0.72);
    }

    .operation-step-text {
      font-size: 10px;
      color: rgba(255,255,255,0.42);
      letter-spacing: 0.04em;
    }

    .operation-step:hover .operation-step-text {
      color: rgba(255,255,255,0.78);
    }

    .operation-step-arrow {
      font-size: 10px;
      color: rgba(255,255,255,0.16);
      padding: 0 2px;
    }

    /* Content editor topbar */
    .content-editor-topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      padding: 10px 14px;
      border-radius: var(--radius-md);
      background: rgba(255,255,255,0.7);
      border: 1px solid var(--line);
    }

    .content-editor-topbar-left,
    .content-editor-topbar-right {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .content-editor-topbar select,
    .content-editor-topbar input {
      margin: 0;
    }

    /* Collapsible sections */
    .content-collapse-section {
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .content-collapse-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 10px 14px;
      background: rgba(255,255,255,0.7);
      border: 0;
      border-radius: 0;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      cursor: pointer;
      transition: background 120ms;
    }

    .content-collapse-trigger:hover {
      background: rgba(255,255,255,0.9);
    }

    .collapse-arrow {
      display: inline-block;
      width: 14px;
      font-size: 11px;
      color: var(--accent);
    }

    .content-collapse-body {
      padding: 10px 14px 14px;
      background: rgba(255,255,255,0.34);
    }

    .content-collapse-body .field {
      margin: 0;
    }

    .content-collapse-body .field label {
      font-size: 12px;
      margin-bottom: 3px;
    }

/* Operations hub cards */
.operations-hub-intro { padding: 0; }
.operations-hub-hero { margin-bottom: 24px; }
.operations-hub-hero h2 { font-size: 22px; margin: 4px 0 6px; }
.operations-hub-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.operations-hub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.operations-hub-card { padding: 28px 24px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); transition: box-shadow 180ms, transform 180ms; }
.operations-hub-card:hover { box-shadow: 0 28px 72px rgba(18,32,46,0.18); transform: translateY(-2px); }
.operations-hub-card-icon { font-size: 32px; margin-bottom: 12px; }
.operations-hub-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--ink); }
.operations-hub-card p { font-size: 13px; color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
.operations-hub-card-links { display: flex; flex-wrap: wrap; gap: 8px; }
.operations-hub-card-links .button-primary, .operations-hub-card-links .button-secondary { font-size: 12px; padding: 6px 14px; }
@media (max-width: 900px) { .operations-hub-cards { grid-template-columns: 1fr; } }

/* workspace-head quick actions */
.workspace-head-sep { width: 1px; height: 28px; background: var(--line); margin: 0 4px; align-self: center; }
.workspace-quick-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.workspace-quick-btn { font-size: 12px !important; padding: 4px 12px !important; white-space: nowrap; }
/* workspace-head workflow breadcrumb */
.workspace-workflow-bar { display: flex; align-items: center; gap: 6px; padding: 6px 16px; margin-bottom: 14px; border-radius: 8px; background: rgba(255,255,255,0.64); border: 1px solid var(--line); flex-wrap: wrap; }
.workspace-workflow-label { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; margin-right: 6px; }
.workspace-workflow-step { border: 0; background: none; font-size: 12px; color: var(--accent-deep); cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: background 120ms, color 120ms; }
.workspace-workflow-step:hover { background: rgba(15,124,132,0.08); color: var(--accent); }
.workspace-workflow-sep { font-size: 11px; color: #c4d4de; }
@media (max-width: 800px) { .workspace-quick-actions { display: none; } .workspace-workflow-bar { overflow-x: auto; } }

/* ---- Content split editor (Markdown left + preview right) ---- */
.content-split-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  min-height: 420px;
}

.content-split-editor-left,
.content-split-editor-right {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.82);
}

.content-split-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(16,33,51,0.04);
  border-bottom: 1px solid var(--line);
}

.content-split-editor-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content-split-editor-actions {
  display: flex;
  gap: 2px;
}

.content-md-insert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: background 120ms, color 120ms;
}

.content-md-insert-btn:hover {
  background: rgba(15,124,132,0.14);
  color: var(--accent-deep);
}

.content-md-insert-btn strong,
.content-md-insert-btn em {
  font-size: 13px;
  line-height: 1;
}

.content-md-insert-img {
  color: var(--accent-warm);
}

.content-md-insert-img:hover {
  background: rgba(197,138,57,0.14);
  color: var(--accent-warm);
}

.content-split-editor-left textarea {
  flex: 1;
  min-height: 360px;
  border: 0;
  border-radius: 0;
  padding: 12px;
  font-family: "Cascadia Code", "Fira Code", "Consolas", "Microsoft YaHei", monospace;
  font-size: 14px;
  line-height: 1.7;
  resize: none;
  background: rgba(255,255,255,0.92);
}

.content-split-editor-left textarea:focus {
  outline: none;
  background: #fff;
}

.content-body-preview {
  flex: 1;
  min-height: 360px;
  padding: 12px 16px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  background: rgba(252,250,244,0.68);
}

.content-body-preview h1,
.content-body-preview h2,
.content-body-preview h3,
.content-body-preview h4 {
  margin: 16px 0 8px;
  line-height: 1.3;
  color: var(--ink);
}

.content-body-preview h2 { font-size: 20px; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.content-body-preview h3 { font-size: 16px; }
.content-body-preview p { margin: 8px 0; }
.content-body-preview ul,
.content-body-preview ol { margin: 8px 0; padding-left: 22px; }
.content-body-preview li { margin: 4px 0; }
.content-body-preview strong { color: var(--accent-deep); }
.content-body-preview a { color: var(--accent); text-decoration: underline; }
.content-body-preview blockquote {
  margin: 12px 0;
  padding: 8px 16px;
  border-left: 3px solid var(--accent-warm);
  background: rgba(197,138,57,0.08);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}
.content-body-preview img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 8px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.content-body-preview figure {
  margin: 16px 0;
  text-align: center;
}
.content-body-preview figure img {
  display: block;
  margin: 0 auto 6px;
}
.content-body-preview figcaption {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.content-body-preview code {
  background: rgba(16,33,51,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.content-body-preview pre {
  background: rgba(16,33,51,0.06);
  padding: 12px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 13px;
}
.content-body-preview pre code {
  background: none;
  padding: 0;
}

/* Image insert: when an image-only row is detected, treat as gallery item */
.content-body-preview .md-img-row {
  text-align: center;
  margin: 14px 0;
}

.content-body-preview .md-img-row img {
  display: inline-block;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.content-preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 360px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* content-collapse-nested for sub-sections inside "更多设置" */
.content-collapse-nested {
  /* handled inline */
}

/* Responsive: stack editor vertically on narrow screens */
@media (max-width: 900px) {
  .content-split-editor {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .content-split-editor-left textarea,
  .content-body-preview {
    min-height: 240px;
  }
}

/* ---- Markdown 编辑器弹框通用样式 ---- */
.md-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(16,33,51,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.md-modal-overlay.hidden {
  display: none;
}

.md-modal {
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  width: 520px;
  max-width: 94vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.md-modal-sm {
  width: 400px;
}

.md-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.md-modal-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms, color 120ms;
}

.md-modal-close:hover {
  background: rgba(16,33,51,0.08);
  color: var(--ink);
}

.md-modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
  background: rgba(16,33,51,0.02);
}

.md-modal-tab {
  padding: 10px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: color 120ms, border-color 120ms;
  margin-bottom: -1px;
}

.md-modal-tab.is-active {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
  font-weight: 600;
}

.md-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.md-modal-body.hidden {
  display: none;
}

.md-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ---- 上传区域 ---- */
.md-upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
  background: rgba(16,33,51,0.02);
}

.md-upload-zone:hover,
.md-upload-zone-dragover {
  border-color: var(--accent);
  background: rgba(15,124,132,0.06);
}

.md-upload-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.md-upload-hint {
  font-size: 13px;
  color: var(--ink);
  margin: 0 0 4px;
}

.md-upload-formats {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.md-upload-status {
  margin-top: 10px;
  font-size: 12px;
  min-height: 18px;
}

.md-dimension-hint {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(197,138,57,0.07);
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.md-dimension-hint strong {
  color: var(--accent-warm);
}

/* ---- 外部链接图片预览 ---- */
.md-image-url-preview {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16,33,51,0.02);
  text-align: center;
}

.md-image-url-preview.hidden {
  display: none;
}

.md-preview-label {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 6px;
}

/* ---- 封面图区域 ---- */
.cover-image-thumb {
  cursor: pointer;
  transition: border-color 150ms, box-shadow 150ms;
}

.cover-image-thumb:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,124,132,0.1);
}

/* ---- 图片排版增强 ---- */

/* 独立图片行: 居中 + 圆角阴影 */
.content-body-preview .md-img-row {
  text-align: center;
  margin: 14px 0;
}

.content-body-preview .md-img-row img {
  display: inline-block;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* figure + figcaption 图文组合 */
.content-body-preview .md-img-figure {
  margin: 20px 0;
  text-align: center;
}

.content-body-preview .md-img-figure .md-img-row {
  margin: 0;
}

.content-body-preview .md-img-figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.content-body-preview .md-img-figure figcaption {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  background: rgba(16,33,51,0.03);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-align: center;
}

/* 连续多图自动网格（≥2张） */
.content-body-preview .md-img-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.content-body-preview .md-img-gallery .md-img-row {
  margin: 0;
}

.content-body-preview .md-img-gallery .md-img-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* 段落内行内图片 */
.content-body-preview p img {
  display: block;
  margin: 10px auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

/* 段落内 figure（含标题的行内图） */
.content-body-preview p .md-img-figure {
  margin: 14px 0;
}
