:root {
  --rf-shell-bg: #07100d;
  --rf-panel-bg: #102019;
  --rf-panel-line: rgba(255, 255, 255, 0.08);
  --rf-soft-line: rgba(255, 255, 255, 0.06);
  --rf-gold: rgba(200, 239, 69, 0.92);
  --rf-copy: #cbd5e1;
}

.rf-admin-logo-link {
  display: flex;
  align-items: center;
  width: min(220px, calc(100% - 1rem));
  min-height: 64px;
  margin-right: 0.5rem;
}

.rf-admin-logo {
  width: 100%;
  height: 56px;
  max-width: 224px;
  object-fit: contain;
  object-position: left center;
}

#nav-sidebar,
#nav-sidebar-inner,
.dark #nav-sidebar,
.dark #nav-sidebar-inner {
  background: #07100d !important;
}

#main,
.dark #main {
  background: linear-gradient(180deg, #0b1913 0%, #07100d 100%) !important;
}

#main > div:first-child,
.dark #main > div:first-child {
  background-color: #0b1913 !important;
  border-color: rgba(200, 239, 69, 0.1) !important;
}

#nav-sidebar-apps a:hover,
#nav-sidebar-apps summary:hover {
  background: rgba(200, 239, 69, 0.08) !important;
}

#nav-sidebar-apps a.bg-primary-600,
#nav-sidebar-apps a[class*="bg-primary"] {
  color: #07100d !important;
}

body {
  background: var(--rf-shell-bg);
}

[data-theme="dark"] body {
  background: var(--rf-shell-bg);
}

.fi-sidebar-header,
.fi-topbar,
.fi-card,
.fi-dropdown,
.fi-modal-content,
.fi-ta-table,
.fi-fieldset,
.fi-inlines-group,
.fi-filters,
.module,
#changelist-filter,
#toolbar,
#content-related,
#content-main > .object-tools,
#submit-row > div {
  backdrop-filter: none;
}

.fi-sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fi-topbar {
  background: #0b1913;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fi-sidebar {
  background: #08140f;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.fi-sidebar nav [data-open],
.fi-sidebar nav details[open] > summary,
.fi-sidebar nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.fi-sidebar nav details {
  margin-bottom: 0.35rem;
}

.fi-sidebar nav summary,
.fi-sidebar nav a {
  border-radius: 14px;
}

.fi-sidebar nav details > div,
.fi-sidebar nav details > ul,
.fi-sidebar nav ul ul {
  margin-top: 0.35rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.fi-main {
  background: transparent;
}

#content,
.fi-content,
.fi-main > div {
  width: min(100%, 1360px);
  margin-inline: auto;
}

.fi-card,
.module {
  border-radius: 18px;
}

.fi-card,
.module,
.fi-fieldset,
.fi-inlines-group,
#changelist-filter,
#toolbar,
#content-related,
#submit-row > div,
.results,
.paginator {
  border: 1px solid var(--rf-panel-line);
  background: var(--rf-panel-bg);
  box-shadow: 0 16px 36px -32px rgba(0, 0, 0, 0.55);
}

.fi-form-row,
.form-row,
.aligned .form-row {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
}

.fi-fieldset > div,
.module.aligned,
.inline-group .tabular,
.inline-related {
  gap: 1rem;
}

.fi-fieldset,
.fi-inlines-group {
  padding: 1rem;
}

#content-main > .object-tools,
ul.object-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

#content-main > .object-tools a,
ul.object-tools a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  text-decoration: none;
}

#content-main > .object-tools a:hover,
ul.object-tools a:hover {
  border-color: rgba(200, 239, 69, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.fi-fieldset > div > h2,
.module h2,
.inline-group h2 {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(200, 239, 69, 0.9);
}

.fi-label,
label,
.aligned label {
  font-weight: 600;
  color: #f8fafc;
}

.fi-input,
input,
select,
textarea {
  border-radius: 14px !important;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
  background: rgba(7, 16, 13, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(200, 239, 69, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(200, 239, 69, 0.12) !important;
}

.help,
.helptext,
.fi-help-text {
  color: #94a3b8 !important;
  line-height: 1.55;
  margin-top: 0.35rem;
}

.errorlist,
.errornote,
.errors,
.fi-form-errors {
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.18);
  background: rgba(127, 29, 29, 0.16);
  color: #fecaca !important;
}

.errorlist {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.9rem;
  list-style: none;
}

.fi-btn,
.button,
button,
input[type="submit"] {
  border-radius: 14px;
}

.fi-breadcrumbs {
  border-radius: 14px;
}

.submit-row,
#submit-row {
  margin-top: 1.1rem;
}

#submit-row > div,
.submit-row {
  border-radius: 18px;
  padding: 0.9rem;
}

.submit-row input,
.submit-row .button,
.submit-row a,
#submit-row input,
#submit-row .button,
#submit-row a {
  border-radius: 14px !important;
}

.breadcrumbs,
.fi-breadcrumbs {
  border: 1px solid var(--rf-soft-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--rf-copy);
}

.breadcrumbs a,
.fi-breadcrumbs a {
  color: #f8fafc;
}

#toolbar {
  margin-bottom: 1rem;
  border-radius: 18px;
  padding: 1rem;
}

#changelist-search input[type="search"],
#toolbar input[type="search"] {
  min-width: 18rem;
}

#toolbar form,
#changelist-search form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

#changelist-filter {
  border-radius: 18px;
  padding: 0.9rem;
}

#changelist-filter h2,
#changelist-filter h3 {
  color: #f8fafc;
}

#changelist-filter li.selected a {
  color: #fff;
  font-weight: 700;
}

.results,
.results table,
.fi-ta-table table {
  border-radius: 18px;
  overflow: hidden;
}

.results thead th,
.fi-ta-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.results tbody tr:hover,
.fi-ta-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rf-page-shell {
  display: grid;
  gap: 1.25rem;
  max-width: 100%;
}

.rf-page-hero,
.rf-page-panel {
  border-radius: 1.65rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(16, 32, 25, 0.98), rgba(7, 16, 13, 0.99));
  box-shadow: 0 22px 56px rgba(2, 6, 23, 0.18);
}

.rf-page-hero {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background:
    linear-gradient(120deg, rgba(200, 239, 69, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(16, 32, 25, 0.98), rgba(7, 16, 13, 0.99));
}

.rf-page-panel {
  padding: 1.2rem;
}

.rf-page-kicker {
  margin: 0;
  color: rgba(200, 239, 69, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.rf-page-title {
  margin: 0.6rem 0 0;
  color: #f8fafc;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.rf-page-copy {
  max-width: 52rem;
  margin: 0.9rem 0 0;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.7;
}

.rf-page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin-top: 1.25rem;
}

.rf-stat-card {
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.rf-stat-label {
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rf-stat-value {
  margin-top: 0.45rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

.rf-stack {
  display: grid;
  gap: 0.8rem;
}

.rf-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
}

.rf-row-card strong {
  display: block;
  color: #fff;
  font-size: 0.94rem;
}

.rf-row-card span {
  color: rgba(226, 232, 240, 0.64);
  font-size: 0.82rem;
}

.rf-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(200, 239, 69, 0.14);
  color: #dffb73;
  font-size: 0.78rem;
  font-weight: 700;
}

.selector,
.selector-available,
.selector-chosen {
  border-radius: 18px;
  border: 1px solid var(--rf-panel-line);
  background: rgba(8, 11, 18, 0.92);
}

.related-widget-wrapper {
  gap: 0.5rem;
}

.file-upload {
  display: grid;
  gap: 0.55rem;
}

.file-upload a {
  color: #f8fafc;
}

.readonly,
.fi-readonly {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0.95rem;
  color: #e2e8f0;
}

.results table thead th,
.fi-ta-table table thead th {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(200, 239, 69, 0.9);
  border-bottom: 1px solid var(--rf-soft-line);
}

.results table tbody tr,
.fi-ta-table table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.results table tbody tr:hover,
.fi-ta-table table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.results table td,
.results table th,
.fi-ta-table table td,
.fi-ta-table table th {
  vertical-align: middle;
}

.paginator {
  border-radius: 16px;
  margin-top: 1rem;
  padding: 0.85rem 1rem !important;
}

.inline-group .tabular fieldset.module,
.inline-group .tabular.inline-related {
  border-radius: 18px;
  overflow: hidden;
}

.inline-group .tabular thead th {
  color: rgba(200, 239, 69, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}

.readonly,
.vTextField[readonly],
input[readonly],
textarea[readonly] {
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.file-upload,
.related-widget-wrapper,
.selector {
  width: 100%;
}

.rf-admin-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  text-decoration: none;
}

.rf-admin-bell-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.25rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(200, 239, 69, 0.98);
  color: #10141c;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Shared dark workspace treatment, including older bespoke admin pages. */
#content,
#content-main,
.fi-main,
.fi-content {
  color: #e7f1eb;
}

#content-main > div:not(.object-tools),
.rf-source-card,
.rf-card,
.workspace-card,
.dashboard-card {
  border-color: rgba(168, 199, 180, 0.16) !important;
}

.rf-source-card,
.rf-source-metric,
.rf-card,
.workspace-card,
.dashboard-card {
  background: #102019 !important;
  color: #e7f1eb !important;
}

.rf-source-card h1,
.rf-source-card h2,
.rf-source-card h3,
.rf-source-card strong,
.rf-source-card td,
.rf-source-metric strong,
.rf-card h1,
.rf-card h2,
.rf-card h3 {
  color: #f5faf7 !important;
}

.rf-source-table th,
.rf-workspace-table th {
  background: #0b1913 !important;
  color: #c8ef45 !important;
}

.rf-source-table td,
.rf-source-table th,
.rf-workspace-table td,
.rf-workspace-table th {
  border-color: rgba(168, 199, 180, 0.12) !important;
}

.rf-source-muted,
.rf-source-card p,
.rf-card p {
  color: #a8c7b4 !important;
}

.rf-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
  gap: 1.25rem;
}

.rf-workspace-form {
  display: grid;
  gap: 0.85rem;
}

.rf-workspace-form p {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.rf-workspace-note {
  align-self: start;
  padding: 1rem;
  border: 1px solid rgba(200, 239, 69, 0.18);
  border-radius: 8px;
  background: rgba(200, 239, 69, 0.06);
  color: #a8c7b4;
}

.rf-workspace-note strong {
  color: #f5faf7;
}

.rf-workspace-note p {
  margin: 0.55rem 0 0;
  line-height: 1.6;
}

.rf-primary-action,
.rf-secondary-action,
.rf-danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.rf-primary-action {
  border: 1px solid #c8ef45;
  background: #c8ef45;
  color: #07100d !important;
}

.rf-secondary-action {
  border: 1px solid rgba(168, 199, 180, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #f5faf7 !important;
}

.rf-danger-action {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca !important;
}

.rf-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.rf-workspace-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.rf-workspace-table th,
.rf-workspace-table td {
  padding: 0.85rem;
  text-align: left;
  vertical-align: middle;
}

.rf-workspace-table td {
  color: #e7f1eb;
}

.rf-workspace-table small {
  display: block;
  margin-top: 0.2rem;
  color: #8eae9d;
}

@media (max-width: 800px) {
  .rf-workspace-grid {
    grid-template-columns: 1fr;
  }

  .rf-page-hero,
  .rf-page-panel {
    border-radius: 8px;
  }
}

/* Compatibility layer for older custom workspaces that carried a light-only skin. */
#content [class*="-card"],
#content [class*="-panel"],
#content [class*="-stat"],
#content [class*="-release"],
#content [class*="-request"],
#content [class*="-row-list"],
#content [class*="-mini"],
#content [class*="-block"],
#content [class*="-store"],
#content [class*="-profile"] {
  border-color: rgba(168, 199, 180, 0.16) !important;
  background-color: #102019 !important;
  color: #e7f1eb !important;
  box-shadow: none !important;
}

#content [class*="-hero"],
#content [class*="-section"],
#content [class*="-head"],
#content [class*="-result"],
#content [class*="-match"],
#content [class*="-record"],
#content [class*="-option"],
#content [class*="-part"],
#content [class*="-empty"],
#content [class*="-note"],
#content [class*="-target"],
#content [class*="-package"],
#content [class*="-selection-list"] > *,
#content [class*="-lane"] article,
#content [class*="-signal-list"] li,
#content .mead-field li label {
  border-color: rgba(168, 199, 180, 0.16) !important;
  background-color: #0b1913 !important;
  color: #e7f1eb !important;
  box-shadow: none !important;
}

#content [class*="-card"] h1,
#content [class*="-card"] h2,
#content [class*="-card"] h3,
#content [class*="-card"] h4,
#content [class*="-panel"] h1,
#content [class*="-panel"] h2,
#content [class*="-panel"] h3,
#content [class*="-release"] strong,
#content [class*="-request"] h3,
#content table td,
#content table td strong {
  color: #f5faf7 !important;
}

#content table th {
  border-color: rgba(168, 199, 180, 0.14) !important;
  background-color: #0b1913 !important;
  color: #c8ef45 !important;
}

#content table td {
  border-color: rgba(168, 199, 180, 0.11) !important;
  background-color: transparent !important;
}

#content table tr:hover td {
  background-color: #14271e !important;
}

#content [class*="muted"],
#content [class*="-copy"],
#content [class*="-sub"],
#content [class*="-meta"] {
  color: #a8c7b4 !important;
}

#content [class*="-hero"] h1,
#content [class*="-hero"] h2,
#content [class*="-hero"] h3,
#content [class*="-section"] h1,
#content [class*="-section"] h2,
#content [class*="-section"] h3,
#content [class*="-head"] h1,
#content [class*="-head"] h2,
#content [class*="-head"] h3,
#content [class*="-result"] strong,
#content [class*="-match"] strong,
#content [class*="-option"] strong,
#content [class*="-part"] strong,
#content [class*="-package"] strong {
  color: #f5faf7 !important;
}

#content [class*="btn"].secondary,
#content [class*="button"].secondary,
#content [class*="-btn"]:not([class*="primary"]):not([class*="danger"]):not([class*="warn"]) {
  border-color: rgba(168, 199, 180, 0.24) !important;
  background-color: #0b1913 !important;
  color: #e7f1eb !important;
}

#content [class*="-pill"] {
  border-color: rgba(168, 199, 180, 0.2) !important;
  background-color: #0b1913 !important;
  color: #ccdfd3 !important;
}

#content [class*="-confirm"] {
  border-color: rgba(245, 158, 11, 0.32) !important;
  background-color: rgba(120, 53, 15, 0.22) !important;
  color: #fde68a !important;
}

#content [class*="-error"] {
  border-color: rgba(248, 113, 113, 0.3) !important;
  background-color: rgba(127, 29, 29, 0.2) !important;
  color: #fecaca !important;
}

#content [style*="background:#fff"],
#content [style*="background: #fff"],
#content [style*="background:#f8fafc"],
#content [style*="background: #f8fafc"] {
  border-color: rgba(168, 199, 180, 0.18) !important;
  background: #0b1913 !important;
  color: #e7f1eb !important;
}

.rf-directory-filters {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(10rem, 14rem) auto;
  gap: 0.75rem;
  align-items: center;
}

.rf-contributor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 0.85rem;
}

.rf-contributor-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(168, 199, 180, 0.16);
  border-radius: 8px;
  background: #102019;
  color: #f5faf7 !important;
  text-decoration: none;
}

.rf-contributor-card:hover {
  border-color: rgba(200, 239, 69, 0.45);
  background: #14271e;
}

.rf-contributor-card strong,
.rf-contributor-card small {
  display: block;
}

.rf-contributor-card small,
.rf-contributor-counts {
  color: #8eae9d;
}

.rf-contributor-avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #c8ef45;
  color: #07100d;
  font-weight: 850;
}

.rf-contributor-photo {
  object-fit: cover;
}

.rf-contributor-profile-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rf-contributor-profile-photo {
  display: grid;
  place-items: center;
  flex: 0 0 5rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 239, 69, 0.3);
}

.rf-contributor-counts {
  text-align: right;
  white-space: nowrap;
}

.rf-audio-preview {
  width: min(18rem, 42vw);
  height: 38px;
}

.rf-muted {
  color: #8eae9d;
}

@media (max-width: 800px) {
  .rf-directory-filters {
    grid-template-columns: 1fr;
  }

  .rf-contributor-card {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .rf-contributor-counts {
    grid-column: 2;
    text-align: left;
  }
}

fieldset .description,
.aligned p.help,
.form-row p.help,
.help,
.helptext,
.text-font-subtle,
.text-sm.text-font-subtle,
.fieldBox .help,
.inline-related .help {
  display: none !important;
}

.selector,
.selector .selector-available,
.selector .selector-chosen {
  border-radius: 16px;
}

#nav-sidebar-apps h2 {
  margin-bottom: 0.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

#nav-sidebar-apps ol {
  gap: 0.4rem;
}

#nav-sidebar-apps li a {
  border-radius: 14px;
  min-height: 42px;
  border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

#nav-sidebar-apps li a:hover {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(1px);
}

#nav-sidebar-apps li a.active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard #content-main .module table td a,
.dashboard #content-main .module table th a {
  color: #f8fafc;
}

.messagelist li {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.results tbody tr:hover,
.fi-ta-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rf-admin-hero {
  position: relative;
  overflow: hidden;
}

.rf-admin-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 48%, rgba(200, 239, 69, 0.12));
  pointer-events: none;
}

.rf-admin-hero > * {
  position: relative;
  z-index: 1;
}

.rf-admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.rf-admin-kpi {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.1rem;
}

.rf-admin-kpi-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.rf-admin-kpi-value {
  margin-top: 0.35rem;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
}

.rf-admin-panel {
  border-radius: 24px;
}

.rf-specs-layout {
  display: grid;
  gap: 1rem;
}

.rf-specs-section {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.96));
  padding: 1.1rem;
}

.rf-specs-section-note {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
}

.rf-specs-sticky-actions {
  position: sticky;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.92);
  padding: 0.9rem 1rem;
  box-shadow: 0 18px 30px -24px rgba(15, 23, 42, 0.8);
}

.rf-specs-sticky-actions p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.rf-code-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.98));
  overflow: hidden;
}

.rf-code-card pre {
  margin: 0;
  max-height: 320px;
}
